Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/0.9.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
marjinal1st committed May 2, 2014
2 parents b5bf4ab + 20ecac5 commit 7154369
Show file tree
Hide file tree
Showing 9 changed files with 502 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

#### [Current]
* [f4f2a29](../../commit/f4f2a29) - __(Ahmet Sezgin Duran)__ Update Medium Editor files

#### 0.9.0
* [26484b3](../../commit/26484b3) - __(Ahmet Sezgin Duran)__ Bump versions 0.9.0 and 1.8.5
* [e5c7084](../../commit/e5c7084) - __(Ahmet Sezgin Duran)__ Update Medium Editor files

#### 0.8.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This gem integrates [Medium Editor](https://github.com/daviferreira/medium-edito

## Version

The latest version of Medium Editor bundled by this gem is [1.8.5](https://github.com/daviferreira/medium-editor/releases)
The latest version of Medium Editor bundled by this gem is [1.8.6](https://github.com/daviferreira/medium-editor/releases)

## Installation

Expand Down
4 changes: 2 additions & 2 deletions lib/medium-editor-rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module MediumEditorRails
module Rails
VERSION = '0.9.0'
MEDIUM_EDITOR_VERSION = '1.8.5'
VERSION = '0.9.1'
MEDIUM_EDITOR_VERSION = '1.8.6'
end
end
174 changes: 173 additions & 1 deletion vendor/assets/stylesheets/medium-editor/medium-editor.css
Original file line number Diff line number Diff line change
@@ -1 +1,173 @@
.clearfix:after{display:block;visibility:hidden;clear:both;height:0;content:" ";font-size:0;}@-webkit-keyframes pop-upwards{0%{-webkit-transform:matrix(0.97, 0, 0, 1, 0, 12);transform:matrix(0.97, 0, 0, 1, 0, 12);opacity:0;}20%{-webkit-transform:matrix(0.99, 0, 0, 1, 0, 2);transform:matrix(0.99, 0, 0, 1, 0, 2);opacity:0.7;}40%{-webkit-transform:matrix(1, 0, 0, 1, 0, -1);transform:matrix(1, 0, 0, 1, 0, -1);opacity:1;}70%{-webkit-transform:matrix(1, 0, 0, 1, 0, 0);transform:matrix(1, 0, 0, 1, 0, 0);opacity:1;}100%{-webkit-transform:matrix(1, 0, 0, 1, 0, 0);transform:matrix(1, 0, 0, 1, 0, 0);opacity:1;}}@keyframes pop-upwards{0%{-webkit-transform:matrix(0.97, 0, 0, 1, 0, 12);-ms-transform:matrix(0.97, 0, 0, 1, 0, 12);transform:matrix(0.97, 0, 0, 1, 0, 12);opacity:0;}20%{-webkit-transform:matrix(0.99, 0, 0, 1, 0, 2);-ms-transform:matrix(0.99, 0, 0, 1, 0, 2);transform:matrix(0.99, 0, 0, 1, 0, 2);opacity:0.7;}40%{-webkit-transform:matrix(1, 0, 0, 1, 0, -1);-ms-transform:matrix(1, 0, 0, 1, 0, -1);transform:matrix(1, 0, 0, 1, 0, -1);opacity:1;}70%{-webkit-transform:matrix(1, 0, 0, 1, 0, 0);-ms-transform:matrix(1, 0, 0, 1, 0, 0);transform:matrix(1, 0, 0, 1, 0, 0);opacity:1;}100%{-webkit-transform:matrix(1, 0, 0, 1, 0, 0);-ms-transform:matrix(1, 0, 0, 1, 0, 0);transform:matrix(1, 0, 0, 1, 0, 0);opacity:1;}}.medium-toolbar-arrow-under:after,.medium-toolbar-arrow-over:before{position:absolute;left:50%;display:block;margin-left:-8px;width:0;height:0;border-style:solid;content:"";}.medium-toolbar-arrow-under:after{border-width:8px 8px 0 8px;}.medium-toolbar-arrow-over:before{top:-8px;border-width:0 8px 8px 8px;}.medium-editor-toolbar,.medium-editor-anchor-preview{position:absolute;top:0;left:0;z-index:2000;visibility:hidden;font-size:16px;font-family:HelveticaNeue,Helvetica,Arial,sans-serif;}.medium-editor-toolbar ul,.medium-editor-anchor-preview ul{margin:0;padding:0;}.medium-editor-toolbar li,.medium-editor-anchor-preview li{float:left;margin:0;padding:0;list-style:none;}.medium-editor-toolbar li button,.medium-editor-anchor-preview li button{display:block;margin:0;padding:15px;cursor:pointer;font-size:14px;line-height:1.33;text-decoration:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}.medium-editor-toolbar li .medium-editor-action-underline,.medium-editor-anchor-preview li .medium-editor-action-underline{text-decoration:underline;}.medium-editor-toolbar li .medium-editor-action-pre,.medium-editor-anchor-preview li .medium-editor-action-pre{padding:15px 0;font-weight:100;font-size:12px;font-family:'Menlo',monospace;}.medium-editor-anchor-preview i{display:inline-block;margin:5px 5px 5px 10px;text-decoration:underline;font-style:normal;cursor:pointer;}.medium-editor-toolbar-active,.medium-editor-anchor-preview-active{visibility:visible;-webkit-animation:pop-upwards 160ms forwards linear;-ms-animation:pop-upwards 160ms forwards linear;animation:pop-upwards 160ms forwards linear;-webkit-transition:top 0.075s ease-out,left 0.075s ease-out;transition:top 0.075s ease-out,left 0.075s ease-out;}.medium-editor-action-bold{font-weight:bolder;}.medium-editor-action-italic{font-style:italic;}.medium-editor-toolbar-form-anchor{display:none;}.medium-editor-toolbar-form-anchor input,.medium-editor-toolbar-form-anchor a{font-family:HelveticaNeue,Helvetica,Arial,sans-serif;}.medium-editor-toolbar-form-anchor input{margin:0;padding:6px;width:316px;border:none;font-size:14px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}.medium-editor-toolbar-form-anchor input:focus{outline:0;border:none;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;}.medium-editor-toolbar-form-anchor a{display:inline-block;margin:0 10px;text-decoration:none;font-weight:bolder;font-size:24px;}.medium-editor-placeholder{position:relative;}.medium-editor-placeholder:after{position:absolute;top:0;left:0;content:attr(data-placeholder);font-style:italic;}
.clearfix:after {
display: block;
visibility: hidden;
clear: both;
height: 0;
content: " ";
font-size: 0; }

@-webkit-keyframes pop-upwards {
0% {
-webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
transform: matrix(0.97, 0, 0, 1, 0, 12);
opacity: 0; }

20% {
-webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
transform: matrix(0.99, 0, 0, 1, 0, 2);
opacity: 0.7; }

40% {
-webkit-transform: matrix(1, 0, 0, 1, 0, -1);
transform: matrix(1, 0, 0, 1, 0, -1);
opacity: 1; }

70% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; }

100% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; } }

@keyframes pop-upwards {
0% {
-webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
-ms-transform: matrix(0.97, 0, 0, 1, 0, 12);
transform: matrix(0.97, 0, 0, 1, 0, 12);
opacity: 0; }

20% {
-webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
-ms-transform: matrix(0.99, 0, 0, 1, 0, 2);
transform: matrix(0.99, 0, 0, 1, 0, 2);
opacity: 0.7; }

40% {
-webkit-transform: matrix(1, 0, 0, 1, 0, -1);
-ms-transform: matrix(1, 0, 0, 1, 0, -1);
transform: matrix(1, 0, 0, 1, 0, -1);
opacity: 1; }

70% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
-ms-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; }

100% {
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
-ms-transform: matrix(1, 0, 0, 1, 0, 0);
transform: matrix(1, 0, 0, 1, 0, 0);
opacity: 1; } }

.medium-toolbar-arrow-under:after, .medium-toolbar-arrow-over:before {
position: absolute;
left: 50%;
display: block;
margin-left: -8px;
width: 0;
height: 0;
border-style: solid;
content: ""; }

.medium-toolbar-arrow-under:after {
border-width: 8px 8px 0 8px; }

.medium-toolbar-arrow-over:before {
top: -8px;
border-width: 0 8px 8px 8px; }

.medium-editor-toolbar, .medium-editor-anchor-preview {
position: absolute;
top: 0;
left: 0;
z-index: 2000;
visibility: hidden;
font-size: 16px;
font-family: HelveticaNeue, Helvetica, Arial, sans-serif; }
.medium-editor-toolbar ul, .medium-editor-anchor-preview ul {
margin: 0;
padding: 0; }
.medium-editor-toolbar li, .medium-editor-anchor-preview li {
float: left;
margin: 0;
padding: 0;
list-style: none; }
.medium-editor-toolbar li button, .medium-editor-anchor-preview li button {
display: block;
margin: 0;
padding: 15px;
cursor: pointer;
font-size: 14px;
line-height: 1.33;
text-decoration: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
.medium-editor-toolbar li .medium-editor-action-underline, .medium-editor-anchor-preview li .medium-editor-action-underline {
text-decoration: underline; }
.medium-editor-toolbar li .medium-editor-action-pre, .medium-editor-anchor-preview li .medium-editor-action-pre {
padding: 15px 0;
font-weight: 100;
font-size: 12px;
font-family: 'Menlo', monospace; }

.medium-editor-anchor-preview i {
display: inline-block;
margin: 5px 5px 5px 10px;
text-decoration: underline;
font-style: normal;
cursor: pointer; }

.medium-editor-toolbar-active, .medium-editor-anchor-preview-active {
visibility: visible;
-webkit-animation: pop-upwards 160ms forwards linear;
-ms-animation: pop-upwards 160ms forwards linear;
animation: pop-upwards 160ms forwards linear;
-webkit-transition: top 0.075s ease-out, left 0.075s ease-out;
transition: top 0.075s ease-out, left 0.075s ease-out; }

.medium-editor-action-bold {
font-weight: bolder; }

.medium-editor-action-italic {
font-style: italic; }

.medium-editor-toolbar-form-anchor {
display: none; }
.medium-editor-toolbar-form-anchor input, .medium-editor-toolbar-form-anchor a {
font-family: HelveticaNeue, Helvetica, Arial, sans-serif; }
.medium-editor-toolbar-form-anchor input {
margin: 0;
padding: 6px;
width: 316px;
border: none;
font-size: 14px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box; }
.medium-editor-toolbar-form-anchor input:focus {
outline: 0;
border: none;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-appearance: none;
-moz-appearance: none; }
.medium-editor-toolbar-form-anchor a {
display: inline-block;
margin: 0 10px;
text-decoration: none;
font-weight: bolder;
font-size: 24px; }

.medium-editor-placeholder {
position: relative; }
.medium-editor-placeholder:after {
position: absolute;
top: 0;
left: 0;
content: attr(data-placeholder);
font-style: italic; }
72 changes: 71 additions & 1 deletion vendor/assets/stylesheets/medium-editor/themes/bootstrap.css
Original file line number Diff line number Diff line change
@@ -1 +1,71 @@
.clearfix:after{display:block;visibility:hidden;clear:both;height:0;content:" ";font-size:0;}@-webkit-keyframes pop-upwards{0%{-webkit-transform:matrix(0.97, 0, 0, 1, 0, 12);transform:matrix(0.97, 0, 0, 1, 0, 12);opacity:0;}20%{-webkit-transform:matrix(0.99, 0, 0, 1, 0, 2);transform:matrix(0.99, 0, 0, 1, 0, 2);opacity:0.7;}40%{-webkit-transform:matrix(1, 0, 0, 1, 0, -1);transform:matrix(1, 0, 0, 1, 0, -1);opacity:1;}70%{-webkit-transform:matrix(1, 0, 0, 1, 0, 0);transform:matrix(1, 0, 0, 1, 0, 0);opacity:1;}100%{-webkit-transform:matrix(1, 0, 0, 1, 0, 0);transform:matrix(1, 0, 0, 1, 0, 0);opacity:1;}}@keyframes pop-upwards{0%{-webkit-transform:matrix(0.97, 0, 0, 1, 0, 12);-ms-transform:matrix(0.97, 0, 0, 1, 0, 12);transform:matrix(0.97, 0, 0, 1, 0, 12);opacity:0;}20%{-webkit-transform:matrix(0.99, 0, 0, 1, 0, 2);-ms-transform:matrix(0.99, 0, 0, 1, 0, 2);transform:matrix(0.99, 0, 0, 1, 0, 2);opacity:0.7;}40%{-webkit-transform:matrix(1, 0, 0, 1, 0, -1);-ms-transform:matrix(1, 0, 0, 1, 0, -1);transform:matrix(1, 0, 0, 1, 0, -1);opacity:1;}70%{-webkit-transform:matrix(1, 0, 0, 1, 0, 0);-ms-transform:matrix(1, 0, 0, 1, 0, 0);transform:matrix(1, 0, 0, 1, 0, 0);opacity:1;}100%{-webkit-transform:matrix(1, 0, 0, 1, 0, 0);-ms-transform:matrix(1, 0, 0, 1, 0, 0);transform:matrix(1, 0, 0, 1, 0, 0);opacity:1;}}.medium-toolbar-arrow-under:after{top:60px;border-color:#428bca transparent transparent transparent;}.medium-toolbar-arrow-over:before{border-color:transparent transparent #428bca transparent;}.medium-editor-toolbar{border:1px solid #357ebd;background-color:#428bca;border-radius:4px;-webkit-transition:top 0.075s ease-out,left 0.075s ease-out;transition:top 0.075s ease-out,left 0.075s ease-out;}.medium-editor-toolbar li button{min-width:60px;height:60px;border:none;border-right:1px solid #357ebd;background-color:transparent;color:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background-color 0.2s ease-in,color 0.2s ease-in;transition:background-color 0.2s ease-in,color 0.2s ease-in;}.medium-editor-toolbar li button:hover{background-color:#3276b1;color:#fff;}.medium-editor-toolbar li .medium-editor-button-first{border-top-left-radius:4px;border-bottom-left-radius:4px;}.medium-editor-toolbar li .medium-editor-button-last{border-right:none;border-top-right-radius:4px;border-bottom-right-radius:4px;}.medium-editor-toolbar li .medium-editor-button-active{background-color:#3276b1;color:#fff;}.medium-editor-toolbar-form-anchor{background:#428bca;color:#fff;border-radius:4px;}.medium-editor-toolbar-form-anchor input{height:60px;background:#428bca;color:#fff;}.medium-editor-toolbar-form-anchor input::-webkit-input-placeholder{color:#fff;color:rgba(255, 255, 255, 0.8);}.medium-editor-toolbar-form-anchor input:-moz-placeholder{color:#fff;color:rgba(255, 255, 255, 0.8);}.medium-editor-toolbar-form-anchor input::-moz-placeholder{color:#fff;color:rgba(255, 255, 255, 0.8);}.medium-editor-toolbar-form-anchor input:-ms-input-placeholder{color:#fff;color:rgba(255, 255, 255, 0.8);}.medium-editor-toolbar-form-anchor a{color:#fff;}.medium-editor-toolbar-anchor-preview{background:#428bca;color:#fff;border-radius:4px;}.medium-editor-placeholder:after{color:#357ebd;}
.medium-toolbar-arrow-under:after {
top: 60px;
border-color: #428bca transparent transparent transparent; }

.medium-toolbar-arrow-over:before {
border-color: transparent transparent #428bca transparent; }

.medium-editor-toolbar {
border: 1px solid #357ebd;
background-color: #428bca;
border-radius: 4px;
-webkit-transition: top 0.075s ease-out, left 0.075s ease-out;
transition: top 0.075s ease-out, left 0.075s ease-out; }
.medium-editor-toolbar li button {
min-width: 60px;
height: 60px;
border: none;
border-right: 1px solid #357ebd;
background-color: transparent;
color: #fff;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-transition: background-color 0.2s ease-in, color 0.2s ease-in;
transition: background-color 0.2s ease-in, color 0.2s ease-in; }
.medium-editor-toolbar li button:hover {
background-color: #3276b1;
color: #fff; }
.medium-editor-toolbar li .medium-editor-button-first {
border-top-left-radius: 4px;
border-bottom-left-radius: 4px; }
.medium-editor-toolbar li .medium-editor-button-last {
border-right: none;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px; }
.medium-editor-toolbar li .medium-editor-button-active {
background-color: #3276b1;
color: #fff; }

.medium-editor-toolbar-form-anchor {
background: #428bca;
color: #fff;
border-radius: 4px; }
.medium-editor-toolbar-form-anchor input {
height: 60px;
background: #428bca;
color: #fff; }
.medium-editor-toolbar-form-anchor input::-webkit-input-placeholder {
color: #fff;
color: rgba(255, 255, 255, 0.8); }
.medium-editor-toolbar-form-anchor input:-moz-placeholder {
/* Firefox 18- */
color: #fff;
color: rgba(255, 255, 255, 0.8); }
.medium-editor-toolbar-form-anchor input::-moz-placeholder {
/* Firefox 19+ */
color: #fff;
color: rgba(255, 255, 255, 0.8); }
.medium-editor-toolbar-form-anchor input:-ms-input-placeholder {
color: #fff;
color: rgba(255, 255, 255, 0.8); }
.medium-editor-toolbar-form-anchor a {
color: #fff; }

.medium-editor-toolbar-anchor-preview {
background: #428bca;
color: #fff;
border-radius: 4px; }

.medium-editor-placeholder:after {
color: #357ebd; }
Loading

0 comments on commit 7154369

Please sign in to comment.