medium-editor-rails 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/medium-editor-rails/version.rb +2 -2
- data/vendor/assets/stylesheets/medium-editor/medium-editor.css +173 -1
- data/vendor/assets/stylesheets/medium-editor/themes/bootstrap.css +71 -1
- data/vendor/assets/stylesheets/medium-editor/themes/default.css +72 -1
- data/vendor/assets/stylesheets/medium-editor/themes/flat.css +57 -1
- data/vendor/assets/stylesheets/medium-editor/themes/mani.css +61 -1
- data/vendor/assets/stylesheets/medium-editor/themes/roman.css +61 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c65f4ad98a2ed8ae901614dec057ed8c57bd66ff
|
4
|
+
data.tar.gz: 597cfde30623ba7de894052e50979f0b0282b77f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84f4c0356d2d42046aca535830cd49125261cbecb300a1fa2e262224043dc991c3c98ebb867396b8217b976de2a8ba9428dcfadc2002c14f6290eaf93a9c4532
|
7
|
+
data.tar.gz: 733fdbceb66f0f9876cb07505fdcda17c6b94289f1b743017ef75a358b58574e1825ed6ae5746e8aca95b7d49ed297d9860c78b4d8ab3b4291f49e7639fea5a8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
|
2
2
|
#### [Current]
|
3
|
+
* [f4f2a29](../../commit/f4f2a29) - __(Ahmet Sezgin Duran)__ Update Medium Editor files
|
4
|
+
|
5
|
+
#### 0.9.0
|
6
|
+
* [26484b3](../../commit/26484b3) - __(Ahmet Sezgin Duran)__ Bump versions 0.9.0 and 1.8.5
|
3
7
|
* [e5c7084](../../commit/e5c7084) - __(Ahmet Sezgin Duran)__ Update Medium Editor files
|
4
8
|
|
5
9
|
#### 0.8.0
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ This gem integrates [Medium Editor](https://github.com/daviferreira/medium-edito
|
|
7
7
|
|
8
8
|
## Version
|
9
9
|
|
10
|
-
The latest version of Medium Editor bundled by this gem is [1.8.
|
10
|
+
The latest version of Medium Editor bundled by this gem is [1.8.6](https://github.com/daviferreira/medium-editor/releases)
|
11
11
|
|
12
12
|
## Installation
|
13
13
|
|
@@ -1 +1,173 @@
|
|
1
|
-
.clearfix:after
|
1
|
+
.clearfix:after {
|
2
|
+
display: block;
|
3
|
+
visibility: hidden;
|
4
|
+
clear: both;
|
5
|
+
height: 0;
|
6
|
+
content: " ";
|
7
|
+
font-size: 0; }
|
8
|
+
|
9
|
+
@-webkit-keyframes pop-upwards {
|
10
|
+
0% {
|
11
|
+
-webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
|
12
|
+
transform: matrix(0.97, 0, 0, 1, 0, 12);
|
13
|
+
opacity: 0; }
|
14
|
+
|
15
|
+
20% {
|
16
|
+
-webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
|
17
|
+
transform: matrix(0.99, 0, 0, 1, 0, 2);
|
18
|
+
opacity: 0.7; }
|
19
|
+
|
20
|
+
40% {
|
21
|
+
-webkit-transform: matrix(1, 0, 0, 1, 0, -1);
|
22
|
+
transform: matrix(1, 0, 0, 1, 0, -1);
|
23
|
+
opacity: 1; }
|
24
|
+
|
25
|
+
70% {
|
26
|
+
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
|
27
|
+
transform: matrix(1, 0, 0, 1, 0, 0);
|
28
|
+
opacity: 1; }
|
29
|
+
|
30
|
+
100% {
|
31
|
+
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
|
32
|
+
transform: matrix(1, 0, 0, 1, 0, 0);
|
33
|
+
opacity: 1; } }
|
34
|
+
|
35
|
+
@keyframes pop-upwards {
|
36
|
+
0% {
|
37
|
+
-webkit-transform: matrix(0.97, 0, 0, 1, 0, 12);
|
38
|
+
-ms-transform: matrix(0.97, 0, 0, 1, 0, 12);
|
39
|
+
transform: matrix(0.97, 0, 0, 1, 0, 12);
|
40
|
+
opacity: 0; }
|
41
|
+
|
42
|
+
20% {
|
43
|
+
-webkit-transform: matrix(0.99, 0, 0, 1, 0, 2);
|
44
|
+
-ms-transform: matrix(0.99, 0, 0, 1, 0, 2);
|
45
|
+
transform: matrix(0.99, 0, 0, 1, 0, 2);
|
46
|
+
opacity: 0.7; }
|
47
|
+
|
48
|
+
40% {
|
49
|
+
-webkit-transform: matrix(1, 0, 0, 1, 0, -1);
|
50
|
+
-ms-transform: matrix(1, 0, 0, 1, 0, -1);
|
51
|
+
transform: matrix(1, 0, 0, 1, 0, -1);
|
52
|
+
opacity: 1; }
|
53
|
+
|
54
|
+
70% {
|
55
|
+
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
|
56
|
+
-ms-transform: matrix(1, 0, 0, 1, 0, 0);
|
57
|
+
transform: matrix(1, 0, 0, 1, 0, 0);
|
58
|
+
opacity: 1; }
|
59
|
+
|
60
|
+
100% {
|
61
|
+
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
|
62
|
+
-ms-transform: matrix(1, 0, 0, 1, 0, 0);
|
63
|
+
transform: matrix(1, 0, 0, 1, 0, 0);
|
64
|
+
opacity: 1; } }
|
65
|
+
|
66
|
+
.medium-toolbar-arrow-under:after, .medium-toolbar-arrow-over:before {
|
67
|
+
position: absolute;
|
68
|
+
left: 50%;
|
69
|
+
display: block;
|
70
|
+
margin-left: -8px;
|
71
|
+
width: 0;
|
72
|
+
height: 0;
|
73
|
+
border-style: solid;
|
74
|
+
content: ""; }
|
75
|
+
|
76
|
+
.medium-toolbar-arrow-under:after {
|
77
|
+
border-width: 8px 8px 0 8px; }
|
78
|
+
|
79
|
+
.medium-toolbar-arrow-over:before {
|
80
|
+
top: -8px;
|
81
|
+
border-width: 0 8px 8px 8px; }
|
82
|
+
|
83
|
+
.medium-editor-toolbar, .medium-editor-anchor-preview {
|
84
|
+
position: absolute;
|
85
|
+
top: 0;
|
86
|
+
left: 0;
|
87
|
+
z-index: 2000;
|
88
|
+
visibility: hidden;
|
89
|
+
font-size: 16px;
|
90
|
+
font-family: HelveticaNeue, Helvetica, Arial, sans-serif; }
|
91
|
+
.medium-editor-toolbar ul, .medium-editor-anchor-preview ul {
|
92
|
+
margin: 0;
|
93
|
+
padding: 0; }
|
94
|
+
.medium-editor-toolbar li, .medium-editor-anchor-preview li {
|
95
|
+
float: left;
|
96
|
+
margin: 0;
|
97
|
+
padding: 0;
|
98
|
+
list-style: none; }
|
99
|
+
.medium-editor-toolbar li button, .medium-editor-anchor-preview li button {
|
100
|
+
display: block;
|
101
|
+
margin: 0;
|
102
|
+
padding: 15px;
|
103
|
+
cursor: pointer;
|
104
|
+
font-size: 14px;
|
105
|
+
line-height: 1.33;
|
106
|
+
text-decoration: none;
|
107
|
+
-webkit-box-sizing: border-box;
|
108
|
+
-moz-box-sizing: border-box;
|
109
|
+
box-sizing: border-box; }
|
110
|
+
.medium-editor-toolbar li .medium-editor-action-underline, .medium-editor-anchor-preview li .medium-editor-action-underline {
|
111
|
+
text-decoration: underline; }
|
112
|
+
.medium-editor-toolbar li .medium-editor-action-pre, .medium-editor-anchor-preview li .medium-editor-action-pre {
|
113
|
+
padding: 15px 0;
|
114
|
+
font-weight: 100;
|
115
|
+
font-size: 12px;
|
116
|
+
font-family: 'Menlo', monospace; }
|
117
|
+
|
118
|
+
.medium-editor-anchor-preview i {
|
119
|
+
display: inline-block;
|
120
|
+
margin: 5px 5px 5px 10px;
|
121
|
+
text-decoration: underline;
|
122
|
+
font-style: normal;
|
123
|
+
cursor: pointer; }
|
124
|
+
|
125
|
+
.medium-editor-toolbar-active, .medium-editor-anchor-preview-active {
|
126
|
+
visibility: visible;
|
127
|
+
-webkit-animation: pop-upwards 160ms forwards linear;
|
128
|
+
-ms-animation: pop-upwards 160ms forwards linear;
|
129
|
+
animation: pop-upwards 160ms forwards linear;
|
130
|
+
-webkit-transition: top 0.075s ease-out, left 0.075s ease-out;
|
131
|
+
transition: top 0.075s ease-out, left 0.075s ease-out; }
|
132
|
+
|
133
|
+
.medium-editor-action-bold {
|
134
|
+
font-weight: bolder; }
|
135
|
+
|
136
|
+
.medium-editor-action-italic {
|
137
|
+
font-style: italic; }
|
138
|
+
|
139
|
+
.medium-editor-toolbar-form-anchor {
|
140
|
+
display: none; }
|
141
|
+
.medium-editor-toolbar-form-anchor input, .medium-editor-toolbar-form-anchor a {
|
142
|
+
font-family: HelveticaNeue, Helvetica, Arial, sans-serif; }
|
143
|
+
.medium-editor-toolbar-form-anchor input {
|
144
|
+
margin: 0;
|
145
|
+
padding: 6px;
|
146
|
+
width: 316px;
|
147
|
+
border: none;
|
148
|
+
font-size: 14px;
|
149
|
+
-webkit-box-sizing: border-box;
|
150
|
+
-moz-box-sizing: border-box;
|
151
|
+
box-sizing: border-box; }
|
152
|
+
.medium-editor-toolbar-form-anchor input:focus {
|
153
|
+
outline: 0;
|
154
|
+
border: none;
|
155
|
+
-webkit-box-shadow: none;
|
156
|
+
box-shadow: none;
|
157
|
+
-webkit-appearance: none;
|
158
|
+
-moz-appearance: none; }
|
159
|
+
.medium-editor-toolbar-form-anchor a {
|
160
|
+
display: inline-block;
|
161
|
+
margin: 0 10px;
|
162
|
+
text-decoration: none;
|
163
|
+
font-weight: bolder;
|
164
|
+
font-size: 24px; }
|
165
|
+
|
166
|
+
.medium-editor-placeholder {
|
167
|
+
position: relative; }
|
168
|
+
.medium-editor-placeholder:after {
|
169
|
+
position: absolute;
|
170
|
+
top: 0;
|
171
|
+
left: 0;
|
172
|
+
content: attr(data-placeholder);
|
173
|
+
font-style: italic; }
|
@@ -1 +1,71 @@
|
|
1
|
-
.
|
1
|
+
.medium-toolbar-arrow-under:after {
|
2
|
+
top: 60px;
|
3
|
+
border-color: #428bca transparent transparent transparent; }
|
4
|
+
|
5
|
+
.medium-toolbar-arrow-over:before {
|
6
|
+
border-color: transparent transparent #428bca transparent; }
|
7
|
+
|
8
|
+
.medium-editor-toolbar {
|
9
|
+
border: 1px solid #357ebd;
|
10
|
+
background-color: #428bca;
|
11
|
+
border-radius: 4px;
|
12
|
+
-webkit-transition: top 0.075s ease-out, left 0.075s ease-out;
|
13
|
+
transition: top 0.075s ease-out, left 0.075s ease-out; }
|
14
|
+
.medium-editor-toolbar li button {
|
15
|
+
min-width: 60px;
|
16
|
+
height: 60px;
|
17
|
+
border: none;
|
18
|
+
border-right: 1px solid #357ebd;
|
19
|
+
background-color: transparent;
|
20
|
+
color: #fff;
|
21
|
+
-webkit-box-sizing: border-box;
|
22
|
+
-moz-box-sizing: border-box;
|
23
|
+
box-sizing: border-box;
|
24
|
+
-webkit-transition: background-color 0.2s ease-in, color 0.2s ease-in;
|
25
|
+
transition: background-color 0.2s ease-in, color 0.2s ease-in; }
|
26
|
+
.medium-editor-toolbar li button:hover {
|
27
|
+
background-color: #3276b1;
|
28
|
+
color: #fff; }
|
29
|
+
.medium-editor-toolbar li .medium-editor-button-first {
|
30
|
+
border-top-left-radius: 4px;
|
31
|
+
border-bottom-left-radius: 4px; }
|
32
|
+
.medium-editor-toolbar li .medium-editor-button-last {
|
33
|
+
border-right: none;
|
34
|
+
border-top-right-radius: 4px;
|
35
|
+
border-bottom-right-radius: 4px; }
|
36
|
+
.medium-editor-toolbar li .medium-editor-button-active {
|
37
|
+
background-color: #3276b1;
|
38
|
+
color: #fff; }
|
39
|
+
|
40
|
+
.medium-editor-toolbar-form-anchor {
|
41
|
+
background: #428bca;
|
42
|
+
color: #fff;
|
43
|
+
border-radius: 4px; }
|
44
|
+
.medium-editor-toolbar-form-anchor input {
|
45
|
+
height: 60px;
|
46
|
+
background: #428bca;
|
47
|
+
color: #fff; }
|
48
|
+
.medium-editor-toolbar-form-anchor input::-webkit-input-placeholder {
|
49
|
+
color: #fff;
|
50
|
+
color: rgba(255, 255, 255, 0.8); }
|
51
|
+
.medium-editor-toolbar-form-anchor input:-moz-placeholder {
|
52
|
+
/* Firefox 18- */
|
53
|
+
color: #fff;
|
54
|
+
color: rgba(255, 255, 255, 0.8); }
|
55
|
+
.medium-editor-toolbar-form-anchor input::-moz-placeholder {
|
56
|
+
/* Firefox 19+ */
|
57
|
+
color: #fff;
|
58
|
+
color: rgba(255, 255, 255, 0.8); }
|
59
|
+
.medium-editor-toolbar-form-anchor input:-ms-input-placeholder {
|
60
|
+
color: #fff;
|
61
|
+
color: rgba(255, 255, 255, 0.8); }
|
62
|
+
.medium-editor-toolbar-form-anchor a {
|
63
|
+
color: #fff; }
|
64
|
+
|
65
|
+
.medium-editor-toolbar-anchor-preview {
|
66
|
+
background: #428bca;
|
67
|
+
color: #fff;
|
68
|
+
border-radius: 4px; }
|
69
|
+
|
70
|
+
.medium-editor-placeholder:after {
|
71
|
+
color: #357ebd; }
|
@@ -1 +1,72 @@
|
|
1
|
-
.
|
1
|
+
.medium-toolbar-arrow-under:after {
|
2
|
+
top: 50px;
|
3
|
+
border-color: #242424 transparent transparent transparent; }
|
4
|
+
|
5
|
+
.medium-toolbar-arrow-over:before {
|
6
|
+
top: -8px;
|
7
|
+
border-color: transparent transparent #242424 transparent; }
|
8
|
+
|
9
|
+
.medium-editor-toolbar {
|
10
|
+
border: 1px solid #000;
|
11
|
+
background-color: #242424;
|
12
|
+
background: -webkit-gradient(linear, left bottom, left top, from(#242424), to(rgba(36, 36, 36, 0.75)));
|
13
|
+
background: -webkit-linear-gradient(bottom, #242424, rgba(36, 36, 36, 0.75));
|
14
|
+
background: linear-gradient(bottom, #242424, rgba(36, 36, 36, 0.75));
|
15
|
+
border-radius: 5px;
|
16
|
+
-webkit-box-shadow: 0 0 3px #000;
|
17
|
+
box-shadow: 0 0 3px #000;
|
18
|
+
-webkit-transition: top 0.075s ease-out, left 0.075s ease-out;
|
19
|
+
transition: top 0.075s ease-out, left 0.075s ease-out; }
|
20
|
+
.medium-editor-toolbar li button {
|
21
|
+
min-width: 50px;
|
22
|
+
height: 50px;
|
23
|
+
border: 0;
|
24
|
+
border-right: 1px solid #000;
|
25
|
+
border-left: 1px solid #333;
|
26
|
+
border-left: 1px solid rgba(255, 255, 255, 0.1);
|
27
|
+
background-color: #242424;
|
28
|
+
color: #fff;
|
29
|
+
background: -webkit-gradient(linear, left bottom, left top, from(#242424), to(rgba(36, 36, 36, 0.89)));
|
30
|
+
background: -webkit-linear-gradient(bottom, #242424, rgba(36, 36, 36, 0.89));
|
31
|
+
background: linear-gradient(bottom, #242424, rgba(36, 36, 36, 0.89));
|
32
|
+
-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
|
33
|
+
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
|
34
|
+
-webkit-transition: background-color 0.2s ease-in;
|
35
|
+
transition: background-color 0.2s ease-in; }
|
36
|
+
.medium-editor-toolbar li button:hover {
|
37
|
+
background-color: #000;
|
38
|
+
color: yellow; }
|
39
|
+
.medium-editor-toolbar li .medium-editor-button-first {
|
40
|
+
border-top-left-radius: 5px;
|
41
|
+
border-bottom-left-radius: 5px; }
|
42
|
+
.medium-editor-toolbar li .medium-editor-button-last {
|
43
|
+
border-top-right-radius: 5px;
|
44
|
+
border-bottom-right-radius: 5px; }
|
45
|
+
.medium-editor-toolbar li .medium-editor-button-active {
|
46
|
+
background-color: #000;
|
47
|
+
color: #fff;
|
48
|
+
background: -webkit-gradient(linear, left bottom, left top, from(#242424), to(rgba(0, 0, 0, 0.89)));
|
49
|
+
background: -webkit-linear-gradient(bottom, #242424, rgba(0, 0, 0, 0.89));
|
50
|
+
background: linear-gradient(bottom, #242424, rgba(0, 0, 0, 0.89)); }
|
51
|
+
|
52
|
+
.medium-editor-toolbar-form-anchor {
|
53
|
+
background: #242424;
|
54
|
+
color: #999;
|
55
|
+
border-radius: 5px; }
|
56
|
+
.medium-editor-toolbar-form-anchor input {
|
57
|
+
height: 50px;
|
58
|
+
background: #242424;
|
59
|
+
color: #ccc;
|
60
|
+
-webkit-box-sizing: border-box;
|
61
|
+
-moz-box-sizing: border-box;
|
62
|
+
box-sizing: border-box; }
|
63
|
+
.medium-editor-toolbar-form-anchor a {
|
64
|
+
color: #fff; }
|
65
|
+
|
66
|
+
.medium-editor-toolbar-anchor-preview {
|
67
|
+
background: #242424;
|
68
|
+
color: #fff;
|
69
|
+
border-radius: 5px; }
|
70
|
+
|
71
|
+
.medium-editor-placeholder:after {
|
72
|
+
color: #b3b3b1; }
|
@@ -1 +1,57 @@
|
|
1
|
-
.
|
1
|
+
.medium-toolbar-arrow-under:after {
|
2
|
+
top: 60px;
|
3
|
+
border-color: #57ad68 transparent transparent transparent; }
|
4
|
+
|
5
|
+
.medium-toolbar-arrow-over:before {
|
6
|
+
top: -8px;
|
7
|
+
border-color: transparent transparent #57ad68 transparent; }
|
8
|
+
|
9
|
+
.medium-editor-toolbar {
|
10
|
+
background-color: #57ad68; }
|
11
|
+
.medium-editor-toolbar li {
|
12
|
+
padding: 0; }
|
13
|
+
.medium-editor-toolbar li button {
|
14
|
+
min-width: 60px;
|
15
|
+
height: 60px;
|
16
|
+
border: none;
|
17
|
+
border-right: 1px solid #9ccea5;
|
18
|
+
background-color: transparent;
|
19
|
+
color: #fff;
|
20
|
+
-webkit-transition: background-color 0.2s ease-in, color 0.2s ease-in;
|
21
|
+
transition: background-color 0.2s ease-in, color 0.2s ease-in; }
|
22
|
+
.medium-editor-toolbar li button:hover {
|
23
|
+
background-color: #346a3e;
|
24
|
+
color: #fff; }
|
25
|
+
.medium-editor-toolbar li .medium-editor-button-active {
|
26
|
+
background-color: #23482a;
|
27
|
+
color: #fff; }
|
28
|
+
.medium-editor-toolbar li .medium-editor-button-last {
|
29
|
+
border-right: none; }
|
30
|
+
|
31
|
+
.medium-editor-toolbar-form-anchor input {
|
32
|
+
height: 60px;
|
33
|
+
background: #57ad68;
|
34
|
+
color: #fff; }
|
35
|
+
.medium-editor-toolbar-form-anchor input::-webkit-input-placeholder {
|
36
|
+
color: #fff;
|
37
|
+
color: rgba(255, 255, 255, 0.8); }
|
38
|
+
.medium-editor-toolbar-form-anchor input:-moz-placeholder {
|
39
|
+
/* Firefox 18- */
|
40
|
+
color: #fff;
|
41
|
+
color: rgba(255, 255, 255, 0.8); }
|
42
|
+
.medium-editor-toolbar-form-anchor input::-moz-placeholder {
|
43
|
+
/* Firefox 19+ */
|
44
|
+
color: #fff;
|
45
|
+
color: rgba(255, 255, 255, 0.8); }
|
46
|
+
.medium-editor-toolbar-form-anchor input:-ms-input-placeholder {
|
47
|
+
color: #fff;
|
48
|
+
color: rgba(255, 255, 255, 0.8); }
|
49
|
+
.medium-editor-toolbar-form-anchor a {
|
50
|
+
color: #fff; }
|
51
|
+
|
52
|
+
.medium-editor-toolbar-anchor-preview {
|
53
|
+
background: #57ad68;
|
54
|
+
color: #fff; }
|
55
|
+
|
56
|
+
.medium-editor-placeholder:after {
|
57
|
+
color: #fff; }
|
@@ -1 +1,61 @@
|
|
1
|
-
.
|
1
|
+
.medium-toolbar-arrow-under:after, .medium-toolbar-arrow-over:before {
|
2
|
+
display: none; }
|
3
|
+
|
4
|
+
.medium-editor-toolbar {
|
5
|
+
border: 1px solid #cdd6e0;
|
6
|
+
background-color: #dee7f0;
|
7
|
+
background-color: rgba(222, 231, 240, 0.95);
|
8
|
+
background: -webkit-gradient(linear, left bottom, left top, from(#dee7f0), to(#ffffff));
|
9
|
+
background: -webkit-linear-gradient(bottom, #dee7f0, #ffffff);
|
10
|
+
background: linear-gradient(bottom, #dee7f0, #ffffff);
|
11
|
+
border-radius: 2px;
|
12
|
+
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
|
13
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }
|
14
|
+
.medium-editor-toolbar li button {
|
15
|
+
min-width: 50px;
|
16
|
+
height: 50px;
|
17
|
+
border: none;
|
18
|
+
border-right: 1px solid #cdd6e0;
|
19
|
+
background-color: transparent;
|
20
|
+
color: #40648a;
|
21
|
+
-webkit-transition: background-color 0.2s ease-in, color 0.2s ease-in;
|
22
|
+
transition: background-color 0.2s ease-in, color 0.2s ease-in; }
|
23
|
+
.medium-editor-toolbar li button:hover {
|
24
|
+
background-color: #5c90c7;
|
25
|
+
background-color: rgba(92, 144, 199, 0.45);
|
26
|
+
color: #fff; }
|
27
|
+
.medium-editor-toolbar li .medium-editor-button-first {
|
28
|
+
border-top-left-radius: 2px;
|
29
|
+
border-bottom-left-radius: 2px; }
|
30
|
+
.medium-editor-toolbar li .medium-editor-button-last {
|
31
|
+
border-top-right-radius: 2px;
|
32
|
+
border-bottom-right-radius: 2px; }
|
33
|
+
.medium-editor-toolbar li .medium-editor-button-active {
|
34
|
+
background-color: #5c90c7;
|
35
|
+
background-color: rgba(92, 144, 199, 0.45);
|
36
|
+
color: #000;
|
37
|
+
background: -webkit-gradient(linear, left bottom, left top, from(#dee7f0), to(rgba(0, 0, 0, 0.1)));
|
38
|
+
background: -webkit-linear-gradient(bottom, #dee7f0, rgba(0, 0, 0, 0.1));
|
39
|
+
background: linear-gradient(bottom, #dee7f0, rgba(0, 0, 0, 0.1)); }
|
40
|
+
|
41
|
+
.medium-editor-toolbar-form-anchor {
|
42
|
+
background: #dee7f0;
|
43
|
+
color: #999;
|
44
|
+
border-radius: 2px; }
|
45
|
+
.medium-editor-toolbar-form-anchor input {
|
46
|
+
height: 50px;
|
47
|
+
background: #dee7f0;
|
48
|
+
color: #40648a;
|
49
|
+
-webkit-box-sizing: border-box;
|
50
|
+
-moz-box-sizing: border-box;
|
51
|
+
box-sizing: border-box; }
|
52
|
+
.medium-editor-toolbar-form-anchor a {
|
53
|
+
color: #40648a; }
|
54
|
+
|
55
|
+
.medium-editor-toolbar-anchor-preview {
|
56
|
+
background: #dee7f0;
|
57
|
+
color: #40648a;
|
58
|
+
border-radius: 2px; }
|
59
|
+
|
60
|
+
.medium-editor-placeholder:after {
|
61
|
+
color: #cdd6e0; }
|
@@ -1 +1,61 @@
|
|
1
|
-
.
|
1
|
+
.medium-toolbar-arrow-under:after, .medium-toolbar-arrow-over:before {
|
2
|
+
display: none; }
|
3
|
+
|
4
|
+
.medium-editor-toolbar {
|
5
|
+
background-color: #fff;
|
6
|
+
background-color: rgba(255, 255, 255, 0.95);
|
7
|
+
border-radius: 5px;
|
8
|
+
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
|
9
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }
|
10
|
+
.medium-editor-toolbar li button {
|
11
|
+
min-width: 50px;
|
12
|
+
height: 50px;
|
13
|
+
border: none;
|
14
|
+
border-right: 1px solid #a8a8a8;
|
15
|
+
background-color: transparent;
|
16
|
+
color: #889aac;
|
17
|
+
-webkit-box-shadow: inset 0 0 3px #f8f8e6;
|
18
|
+
box-shadow: inset 0 0 3px #f8f8e6;
|
19
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(rgba(0, 0, 0, 0.1)));
|
20
|
+
background: -webkit-linear-gradient(top, #fff, rgba(0, 0, 0, 0.1));
|
21
|
+
background: linear-gradient(top, #fff, rgba(0, 0, 0, 0.1));
|
22
|
+
text-shadow: 1px 4px 6px #def, 0 0 0 #000, 1px 4px 6px #def;
|
23
|
+
-webkit-transition: background-color 0.2s ease-in;
|
24
|
+
transition: background-color 0.2s ease-in; }
|
25
|
+
.medium-editor-toolbar li button:hover {
|
26
|
+
background-color: #fff;
|
27
|
+
color: #000;
|
28
|
+
color: rgba(0, 0, 0, 0.8); }
|
29
|
+
.medium-editor-toolbar li .medium-editor-button-first {
|
30
|
+
border-top-left-radius: 5px;
|
31
|
+
border-bottom-left-radius: 5px; }
|
32
|
+
.medium-editor-toolbar li .medium-editor-button-last {
|
33
|
+
border-top-right-radius: 5px;
|
34
|
+
border-bottom-right-radius: 5px; }
|
35
|
+
.medium-editor-toolbar li .medium-editor-button-active {
|
36
|
+
background-color: #ccc;
|
37
|
+
color: #000;
|
38
|
+
color: rgba(0, 0, 0, 0.8);
|
39
|
+
background: -webkit-gradient(linear, left bottom, left top, from(#fff), to(rgba(0, 0, 0, 0.2)));
|
40
|
+
background: -webkit-linear-gradient(bottom, #fff, rgba(0, 0, 0, 0.2));
|
41
|
+
background: linear-gradient(bottom, #fff, rgba(0, 0, 0, 0.2)); }
|
42
|
+
|
43
|
+
.medium-editor-toolbar-form-anchor {
|
44
|
+
background: #fff;
|
45
|
+
color: #999;
|
46
|
+
border-radius: 5px; }
|
47
|
+
.medium-editor-toolbar-form-anchor input {
|
48
|
+
margin: 0;
|
49
|
+
height: 50px;
|
50
|
+
background: #fff;
|
51
|
+
color: #a8a8a8; }
|
52
|
+
.medium-editor-toolbar-form-anchor a {
|
53
|
+
color: #889aac; }
|
54
|
+
|
55
|
+
.medium-editor-toolbar-anchor-preview {
|
56
|
+
background: #fff;
|
57
|
+
color: #889aac;
|
58
|
+
border-radius: 5px; }
|
59
|
+
|
60
|
+
.medium-editor-placeholder:after {
|
61
|
+
color: #a8a8a8; }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: medium-editor-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ahmet Sezgin Duran
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Medium Editor integrated in Rails asset pipeline
|
14
14
|
email:
|