dante-editor 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/app/assets/javascripts/dante/editor.js.coffee +1 -1
- data/app/assets/stylesheets/dante/_fonts.scss +1 -1
- data/config.rb +3 -0
- data/dist/css/dante-editor.css +1 -154
- data/dist/js/dante-editor.js +2 -2
- data/lib/dante-editor/version.rb +1 -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: 036b0962f6c62dfbb8adfaa70226e82e00704d72
|
4
|
+
data.tar.gz: 4627b7d2aeed8182c06623ecf06201b7bb4e0fee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2523312b683c0522a5700112f0b76511ecfdcd1c5008fb15fe246239b84077dd9719b1e435d949f73f1afd6d0472f5f5a492072b7161cbba602e24be2d450a56
|
7
|
+
data.tar.gz: 5673e8fc5e58d7686e09f5400ae137b08beaa3328ecbbb88a28c2cb45168819dca89e8a0dec707a61ce06677827c1dede5619e9aed31ce19f15905b7ae1e1b39
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
##Motivation:
|
8
8
|
|
9
9
|
So far I have tried all the Medium.com wysiwyg clones out there, these are really great, and each have their pros and cons. [But none of them has all the features that the real medium editor provides.](http://howtox.com/medium-editor-clones-in-js/)
|
10
|
-
so I wonder, How complicated could be write my own Medium wysiwyg clone?
|
10
|
+
so I wonder, How complicated could it be to write my own Medium wysiwyg clone?
|
11
11
|
|
12
12
|
## Demo:
|
13
13
|
|
@@ -122,7 +122,7 @@ see TODO list below.**
|
|
122
122
|
Some dependencies are required in order to Dante editor works properly:
|
123
123
|
|
124
124
|
+ Jquery
|
125
|
-
+ [Underscore](https://github.com/
|
125
|
+
+ [Underscore](https://github.com/jashkenas/underscore)
|
126
126
|
+ [Sanitize.js](https://github.com/gbirke/sanitize.js)
|
127
127
|
|
128
128
|
|
@@ -162,8 +162,8 @@ tests are located in source/tests and /source/assets/spec folder and accessible
|
|
162
162
|
|
163
163
|
## MAINTAINERS:
|
164
164
|
|
165
|
-
+ [Miguel Michelson](
|
166
|
-
+ [Cristian Ferrari](
|
165
|
+
+ [Miguel Michelson](https://github.com/michelson)
|
166
|
+
+ [Cristian Ferrari](https://github.com/cristianferrarig)
|
167
167
|
|
168
168
|
### CONTRIBUTORS
|
169
169
|
|
@@ -143,7 +143,7 @@ class Dante.Editor extends Dante.View
|
|
143
143
|
<div class='section-content'>
|
144
144
|
<div class='section-inner layoutSingleColumn'>
|
145
145
|
#{if @disable_title then '' else @renderTitle()}
|
146
|
-
<p class='graf graf--p'>#{@body_placeholder}
|
146
|
+
<p class='graf graf--p'>#{@body_placeholder}</p>
|
147
147
|
</div>
|
148
148
|
</div>
|
149
149
|
|
@@ -14,4 +14,4 @@
|
|
14
14
|
@include dante-font-face(dante, fontello);
|
15
15
|
@include dante-font-face(dante-tooltip, dante);
|
16
16
|
|
17
|
-
@import url(
|
17
|
+
@import url('//fonts.googleapis.com/css?family=Merriweather:400,700,400italic,700italic|Open+Sans:400,300,800');
|
data/config.rb
CHANGED
data/dist/css/dante-editor.css
CHANGED
@@ -1,17 +1,15 @@
|
|
1
1
|
@charset "UTF-8";
|
2
|
-
@import url(
|
2
|
+
@import url("//fonts.googleapis.com/css?family=Merriweather:400,700,400italic,700italic|Open+Sans:400,300,800");
|
3
3
|
@keyframes spinner {
|
4
4
|
to {
|
5
5
|
transform: rotate(360deg); } }
|
6
6
|
@-webkit-keyframes spinner {
|
7
7
|
to {
|
8
8
|
-webkit-transform: rotate(360deg); } }
|
9
|
-
/* line 32, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_utilities.scss */
|
10
9
|
.spinner {
|
11
10
|
min-width: 24px;
|
12
11
|
min-height: 24px; }
|
13
12
|
|
14
|
-
/* line 37, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_utilities.scss */
|
15
13
|
.spinner:before {
|
16
14
|
content: 'Loading…';
|
17
15
|
position: absolute;
|
@@ -22,7 +20,6 @@
|
|
22
20
|
margin-top: -10px;
|
23
21
|
margin-left: -10px; }
|
24
22
|
|
25
|
-
/* line 48, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_utilities.scss */
|
26
23
|
.spinner:not(:required):before {
|
27
24
|
content: '';
|
28
25
|
border-radius: 50%;
|
@@ -31,7 +28,6 @@
|
|
31
28
|
animation: spinner .6s linear infinite;
|
32
29
|
-webkit-animation: spinner .6s linear infinite; }
|
33
30
|
|
34
|
-
/* line 3, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_scaffold.scss */
|
35
31
|
.notesSource {
|
36
32
|
padding: 0;
|
37
33
|
margin: 0;
|
@@ -41,13 +37,11 @@
|
|
41
37
|
-webkit-font-smoothing: antialiased;
|
42
38
|
-moz-osx-font-smoothing: grayscale;
|
43
39
|
-moz-font-feature-settings: liga on; }
|
44
|
-
/* line 14, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_scaffold.scss */
|
45
40
|
.notesSource *,
|
46
41
|
.notesSource *:before,
|
47
42
|
.notesSource *:after {
|
48
43
|
box-sizing: border-box; }
|
49
44
|
|
50
|
-
/* line 22, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_scaffold.scss */
|
51
45
|
.dante-paste {
|
52
46
|
display: none; }
|
53
47
|
|
@@ -105,54 +99,43 @@
|
|
105
99
|
-webkit-transform: matrix(1, 0, 0, 1, 0, 0);
|
106
100
|
transform: matrix(1, 0, 0, 1, 0, 0);
|
107
101
|
opacity: 1; } }
|
108
|
-
/* line 1, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
109
102
|
.postArticle {
|
110
103
|
position: relative;
|
111
104
|
-webkit-transform: translateZ(0);
|
112
105
|
transform: translateZ(0); }
|
113
|
-
/* line 6, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
114
106
|
.postArticle .layoutSingleColumn {
|
115
107
|
width: 700px;
|
116
108
|
margin-left: auto;
|
117
109
|
margin-right: auto; }
|
118
110
|
@media (max-width: 800px) {
|
119
|
-
/* line 5, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
120
111
|
.postArticle .layoutSingleColumn {
|
121
112
|
width: 640px; } }
|
122
113
|
@media (max-width: 680px) {
|
123
|
-
/* line 5, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
124
114
|
.postArticle .layoutSingleColumn {
|
125
115
|
width: auto;
|
126
116
|
margin-left: 20px;
|
127
117
|
margin-right: 20px; } }
|
128
118
|
|
129
|
-
/* line 22, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
130
119
|
.postWrapper,
|
131
120
|
.postWrapper-inner {
|
132
121
|
position: relative;
|
133
122
|
*zoom: 1; }
|
134
|
-
/* line 2, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_utilities.scss */
|
135
123
|
.postWrapper:before, .postWrapper:after,
|
136
124
|
.postWrapper-inner:before,
|
137
125
|
.postWrapper-inner:after {
|
138
126
|
content: " ";
|
139
127
|
display: table; }
|
140
|
-
/* line 6, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_utilities.scss */
|
141
128
|
.postWrapper:after,
|
142
129
|
.postWrapper-inner:after {
|
143
130
|
clear: both; }
|
144
131
|
|
145
|
-
/* line 28, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
146
132
|
.postWrapper {
|
147
133
|
overflow: hidden; }
|
148
|
-
/* line 31, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
149
134
|
.is-postEditMode .postWrapper {
|
150
135
|
display: none; }
|
151
|
-
/* line 32, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
152
136
|
.is-postEditModeInitialized .postWrapper {
|
153
137
|
display: block; }
|
154
138
|
|
155
|
-
/* line 35, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
156
139
|
.postContent {
|
157
140
|
font-family: "freight-text-pro", "Merriweather", Georgia, Cambria, "Times New Roman", Times, serif;
|
158
141
|
letter-spacing: 0.01rem;
|
@@ -161,44 +144,34 @@
|
|
161
144
|
font-size: 19px;
|
162
145
|
line-height: 1.69; }
|
163
146
|
|
164
|
-
/* line 47, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
165
147
|
.postField, .postField:focus {
|
166
148
|
outline: 0;
|
167
149
|
word-break: break-word;
|
168
150
|
word-wrap: break-word; }
|
169
151
|
|
170
|
-
/* line 54, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
171
152
|
.postField--body {
|
172
153
|
*zoom: 1;
|
173
154
|
margin-bottom: 30px; }
|
174
|
-
/* line 2, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_utilities.scss */
|
175
155
|
.postField--body:before, .postField--body:after {
|
176
156
|
content: " ";
|
177
157
|
display: table; }
|
178
|
-
/* line 6, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_utilities.scss */
|
179
158
|
.postField--body:after {
|
180
159
|
clear: both; }
|
181
160
|
|
182
|
-
/* line 59, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
183
161
|
.section--last {
|
184
162
|
padding-bottom: 5px; }
|
185
163
|
|
186
|
-
/* line 63, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
187
164
|
.section-content {
|
188
165
|
*zoom: 1; }
|
189
|
-
/* line 2, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_utilities.scss */
|
190
166
|
.section-content:before, .section-content:after {
|
191
167
|
content: " ";
|
192
168
|
display: table; }
|
193
|
-
/* line 6, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_utilities.scss */
|
194
169
|
.section-content:after {
|
195
170
|
clear: both; }
|
196
171
|
|
197
|
-
/* line 67, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_post.scss */
|
198
172
|
.section-inner {
|
199
173
|
position: relative; }
|
200
174
|
|
201
|
-
/* line 2, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
202
175
|
.dante-icon:before {
|
203
176
|
display: inline-block;
|
204
177
|
font-family: "dante";
|
@@ -210,73 +183,56 @@
|
|
210
183
|
text-decoration: inherit;
|
211
184
|
text-transform: none; }
|
212
185
|
|
213
|
-
/* line 15, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
214
186
|
.icon-h2:before {
|
215
187
|
content: "H1"; }
|
216
188
|
|
217
|
-
/* line 16, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
218
189
|
.icon-h3:before {
|
219
190
|
content: "H2"; }
|
220
191
|
|
221
|
-
/* line 17, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
222
192
|
.icon-h4:before {
|
223
193
|
content: "H3"; }
|
224
194
|
|
225
|
-
/* line 18, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
226
195
|
.icon-p:before {
|
227
196
|
content: "P"; }
|
228
197
|
|
229
|
-
/* line 19, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
230
198
|
.icon-code:before {
|
231
199
|
content: ""; }
|
232
200
|
|
233
|
-
/* line 20, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
234
201
|
.icon-insertorderedlist:before {
|
235
202
|
content: ""; }
|
236
203
|
|
237
|
-
/* line 21, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
238
204
|
.icon-insertunorderedlist:before {
|
239
205
|
content: ""; }
|
240
206
|
|
241
|
-
/* line 22, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
242
207
|
.icon-inserthorizontalrule:before {
|
243
208
|
content: ""; }
|
244
209
|
|
245
|
-
/* line 23, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
246
210
|
.icon-indent:before {
|
247
211
|
content: ""; }
|
248
212
|
|
249
|
-
/* line 24, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
250
213
|
.icon-outdent:before {
|
251
214
|
content: ""; }
|
252
215
|
|
253
|
-
/* line 25, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
254
216
|
.icon-bold:before {
|
255
217
|
content: ""; }
|
256
218
|
|
257
|
-
/* line 26, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
258
219
|
.icon-italic:before {
|
259
220
|
content: ""; }
|
260
221
|
|
261
|
-
/* line 27, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
262
222
|
.icon-underline:before {
|
263
223
|
content: ""; }
|
264
224
|
|
265
|
-
/* line 28, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
266
225
|
.icon-createlink:before {
|
267
226
|
content: ""; }
|
268
227
|
|
269
|
-
/* line 29, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
270
228
|
.icon-blockquote:before {
|
271
229
|
content: ""; }
|
272
230
|
|
273
|
-
/* line 31, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
274
231
|
.icon-h2:before,
|
275
232
|
.icon-h3:before,
|
276
233
|
.icon-h4:before {
|
277
234
|
font-weight: bold; }
|
278
235
|
|
279
|
-
/* line 39, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
280
236
|
.tooltip-icon:before {
|
281
237
|
font-family: 'dante-tooltip';
|
282
238
|
speak: none;
|
@@ -288,23 +244,18 @@
|
|
288
244
|
-webkit-font-smoothing: antialiased;
|
289
245
|
-moz-osx-font-smoothing: grayscale; }
|
290
246
|
|
291
|
-
/* line 54, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
292
247
|
.icon-video:before {
|
293
248
|
content: "\e600"; }
|
294
249
|
|
295
|
-
/* line 55, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
296
250
|
.icon-image:before {
|
297
251
|
content: "\e601"; }
|
298
252
|
|
299
|
-
/* line 56, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
300
253
|
.icon-plus:before {
|
301
254
|
content: "\e602"; }
|
302
255
|
|
303
|
-
/* line 57, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_icons.scss */
|
304
256
|
.icon-embed:before {
|
305
257
|
content: "\e603"; }
|
306
258
|
|
307
|
-
/* line 1, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
308
259
|
.dante-menu {
|
309
260
|
position: absolute;
|
310
261
|
visibility: hidden;
|
@@ -321,7 +272,6 @@
|
|
321
272
|
border: 1px solid #262626;
|
322
273
|
border-radius: 5px;
|
323
274
|
box-shadow: 1px 2px 3px -2px #222; }
|
324
|
-
/* line 23, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
325
275
|
.dante-menu:after, .dante-menu:before {
|
326
276
|
content: "";
|
327
277
|
height: 0;
|
@@ -331,41 +281,33 @@
|
|
331
281
|
pointer-events: none;
|
332
282
|
border: 8px solid transparent;
|
333
283
|
margin-left: -4px; }
|
334
|
-
/* line 34, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
335
284
|
.dante-menu:after {
|
336
285
|
border-top-color: #333;
|
337
286
|
bottom: -15px; }
|
338
|
-
/* line 38, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
339
287
|
.dante-menu:before {
|
340
288
|
border-top-color: #262626;
|
341
289
|
bottom: -16px; }
|
342
290
|
|
343
|
-
/* line 45, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
344
291
|
.dante-menu--active {
|
345
292
|
display: inline-block;
|
346
293
|
visibility: visible;
|
347
294
|
-webkit-animation: pop-upwards 180ms forwards linear;
|
348
295
|
animation: pop-upwards 180ms forwards linear; }
|
349
296
|
|
350
|
-
/* line 53, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
351
297
|
.dante-menu--linkmode .dante-menu-buttons {
|
352
298
|
visibility: hidden; }
|
353
|
-
/* line 56, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
354
299
|
.dante-menu--linkmode .dante-menu-linkinput {
|
355
300
|
display: block; }
|
356
|
-
/* line 59, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
357
301
|
.dante-menu--linkmode .dante-menu-input {
|
358
302
|
-webkit-animation: pop-upwards 180ms forwards linear;
|
359
303
|
animation: pop-upwards 180ms forwards linear; }
|
360
304
|
|
361
|
-
/* line 66, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
362
305
|
.dante-menu-buttons {
|
363
306
|
list-style: none;
|
364
307
|
margin: 0;
|
365
308
|
padding: 0;
|
366
309
|
line-height: 0; }
|
367
310
|
|
368
|
-
/* line 73, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
369
311
|
.dante-menu-button {
|
370
312
|
min-width: 20px;
|
371
313
|
display: inline-block;
|
@@ -382,21 +324,17 @@
|
|
382
324
|
-moz-user-select: none;
|
383
325
|
-ms-user-select: none;
|
384
326
|
user-select: none; }
|
385
|
-
/* line 93, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
386
327
|
.dante-menu-button.active {
|
387
328
|
color: #5BD974; }
|
388
|
-
/* line 97, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
389
329
|
.dante-menu-button:first-child {
|
390
330
|
border-top-left-radius: 5px;
|
391
331
|
border-bottom-left-radius: 5px;
|
392
332
|
padding-left: 18px; }
|
393
|
-
/* line 102, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
394
333
|
.dante-menu-button:last-child {
|
395
334
|
border-top-right-radius: 5px;
|
396
335
|
border-bottom-right-radius: 5px;
|
397
336
|
padding-right: 18px; }
|
398
337
|
|
399
|
-
/* line 111, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
400
338
|
.dante-menu-linkinput {
|
401
339
|
display: none;
|
402
340
|
position: absolute;
|
@@ -404,13 +342,11 @@
|
|
404
342
|
left: 0;
|
405
343
|
right: 0;
|
406
344
|
bottom: 0; }
|
407
|
-
/* line 119, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
408
345
|
.dante-menu-linkinput .dante-menu-button {
|
409
346
|
position: absolute;
|
410
347
|
top: 0;
|
411
348
|
right: 0; }
|
412
349
|
|
413
|
-
/* line 126, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_menu.scss */
|
414
350
|
.dante-menu-input {
|
415
351
|
position: absolute;
|
416
352
|
top: 0;
|
@@ -435,7 +371,6 @@
|
|
435
371
|
-moz-osx-font-smoothing: grayscale;
|
436
372
|
-moz-font-feature-settings: "liga" on; }
|
437
373
|
|
438
|
-
/* line 1, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
439
374
|
.inlineTooltip {
|
440
375
|
position: absolute;
|
441
376
|
z-index: 900;
|
@@ -447,25 +382,20 @@
|
|
447
382
|
font-size: 0;
|
448
383
|
opacity: 0;
|
449
384
|
pointer-events: none; }
|
450
|
-
/* line 16, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
451
385
|
.inlineTooltip.is-active {
|
452
386
|
opacity: 1;
|
453
387
|
pointer-events: auto; }
|
454
|
-
/* line 20, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
455
388
|
.inlineTooltip.is-scaled {
|
456
389
|
width: 178px;
|
457
390
|
-webkit-transition-delay: 0;
|
458
391
|
transition-delay: 0; }
|
459
392
|
|
460
|
-
/* line 29, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
461
393
|
.inlineTooltip-menu {
|
462
394
|
display: inline-block;
|
463
395
|
padding-left: 22px; }
|
464
|
-
/* line 33, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
465
396
|
.inlineTooltip-menu button {
|
466
397
|
margin-right: 9px; }
|
467
398
|
|
468
|
-
/* line 42, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
469
399
|
.inlineTooltip-button {
|
470
400
|
display: inline-block;
|
471
401
|
position: relative;
|
@@ -497,44 +427,36 @@
|
|
497
427
|
border: 1px solid;
|
498
428
|
border-color: rgba(0, 0, 0, 0.44);
|
499
429
|
color: rgba(0, 0, 0, 0.44); }
|
500
|
-
/* line 75, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
501
430
|
.inlineTooltip-button:hover {
|
502
431
|
border-color: rgba(0, 0, 0, 0.9);
|
503
432
|
color: rgba(0, 0, 0, 0.9); }
|
504
|
-
/* line 82, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
505
433
|
.inlineTooltip-button.scale {
|
506
434
|
-webkit-transform: scale(0);
|
507
435
|
-ms-transform: scale(0);
|
508
436
|
transform: scale(0);
|
509
437
|
-webkit-transition: -webkit-transform 100ms, 100ms border-color, 100ms color;
|
510
438
|
transition: transform 100ms, 100ms border-color, 100ms color; }
|
511
|
-
/* line 89, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
512
439
|
.is-scaled .inlineTooltip-button.scale {
|
513
440
|
-webkit-transform: scale(1);
|
514
441
|
-ms-transform: scale(1);
|
515
442
|
transform: scale(1);
|
516
443
|
-webkit-transition: -webkit-transform 250ms, 100ms border-color, 100ms color;
|
517
444
|
transition: transform 250ms, 100ms border-color, 100ms color; }
|
518
|
-
/* line 96, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
519
445
|
.inlineTooltip-button.scale:nth-child(2) {
|
520
446
|
-webkit-transition-delay: 30ms;
|
521
447
|
transition-delay: 30ms; }
|
522
|
-
/* line 100, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
523
448
|
.inlineTooltip-button.scale:nth-child(3) {
|
524
449
|
-webkit-transition-delay: 60ms;
|
525
450
|
transition-delay: 60ms; }
|
526
|
-
/* line 104, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
527
451
|
.inlineTooltip-button.scale:nth-child(4) {
|
528
452
|
-webkit-transition-delay: 90ms;
|
529
453
|
transition-delay: 90ms; }
|
530
|
-
/* line 112, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
531
454
|
.inlineTooltip-button.control {
|
532
455
|
-webkit-transition: -webkit-transform 100ms, 100ms border-color, 100ms color;
|
533
456
|
transition: transform 100ms, 100ms border-color, 100ms color;
|
534
457
|
-webkit-transform: rotate(0);
|
535
458
|
-ms-transform: rotate(0);
|
536
459
|
transform: rotate(0); }
|
537
|
-
/* line 119, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_tooltip.scss */
|
538
460
|
.is-scaled .inlineTooltip-button.control {
|
539
461
|
-webkit-transition: -webkit-transform 250ms, 100ms border-color, 100ms color;
|
540
462
|
transition: transform 250ms, 100ms border-color, 100ms color;
|
@@ -544,7 +466,6 @@
|
|
544
466
|
border-color: rgba(0, 0, 0, 0.9);
|
545
467
|
color: rgba(0, 0, 0, 0.9); }
|
546
468
|
|
547
|
-
/* line 1, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
548
469
|
.popover {
|
549
470
|
overflow: hidden;
|
550
471
|
position: absolute;
|
@@ -560,26 +481,21 @@
|
|
560
481
|
font-weight: 400;
|
561
482
|
font-style: normal;
|
562
483
|
line-height: 1.4; }
|
563
|
-
/* line 17, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
564
484
|
.popover.is-active {
|
565
485
|
opacity: 1; }
|
566
486
|
|
567
|
-
/* line 22, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
568
487
|
.popover-inner {
|
569
488
|
position: relative;
|
570
489
|
max-width: 280px;
|
571
490
|
border-radius: 4px;
|
572
491
|
padding: 8px; }
|
573
|
-
/* line 27, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
574
492
|
.popover-inner a {
|
575
493
|
color: inherit;
|
576
494
|
text-decoration: none; }
|
577
495
|
|
578
|
-
/* line 33, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
579
496
|
.popover--tooltip {
|
580
497
|
pointer-events: none; }
|
581
498
|
|
582
|
-
/* line 37, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
583
499
|
.popover--linkTooltip {
|
584
500
|
pointer-events: auto;
|
585
501
|
z-index: 300;
|
@@ -598,87 +514,72 @@
|
|
598
514
|
transition:opacity 0 ease;
|
599
515
|
}
|
600
516
|
*/
|
601
|
-
/* line 58, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
602
517
|
.popover-inner {
|
603
518
|
background-color: rgba(0, 0, 0, 0.8);
|
604
519
|
color: #fff; }
|
605
520
|
|
606
|
-
/* line 62, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
607
521
|
.popover-arrow {
|
608
522
|
position: absolute; }
|
609
523
|
|
610
|
-
/* line 65, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
611
524
|
.popover-arrow:after {
|
612
525
|
background-color: rgba(0, 0, 0, 0.8); }
|
613
526
|
|
614
|
-
/* line 69, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
615
527
|
.popover--top .popover-arrow,
|
616
528
|
.popover--bottom .popover-arrow {
|
617
529
|
left: 50%;
|
618
530
|
margin-left: -7px; }
|
619
531
|
|
620
|
-
/* line 75, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
621
532
|
.popover--left .popover-arrow,
|
622
533
|
.popover--right .popover-arrow {
|
623
534
|
top: 50%;
|
624
535
|
margin-top: -7px; }
|
625
536
|
|
626
|
-
/* line 81, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
627
537
|
.popover--top .popover-arrow {
|
628
538
|
bottom: 1px;
|
629
539
|
clip: rect(0 18px 18px 4px); }
|
630
540
|
|
631
|
-
/* line 86, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
632
541
|
.popover--right .popover-arrow {
|
633
542
|
left: 1px;
|
634
543
|
clip: rect(-4px 14px 18px 0); }
|
635
544
|
|
636
|
-
/* line 91, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
637
545
|
.popover--bottom .popover-arrow {
|
638
546
|
top: 1px;
|
639
547
|
clip: rect(0 18px 14px -1px); }
|
640
548
|
|
641
|
-
/* line 96, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
642
549
|
.popover--left .popover-arrow {
|
643
550
|
right: 1px;
|
644
551
|
clip: rect(-4px 14px 18px 0); }
|
645
552
|
|
646
|
-
/* line 101, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
647
553
|
.popover-arrow:after {
|
648
554
|
content: '';
|
649
555
|
display: block;
|
650
556
|
width: 14px;
|
651
557
|
height: 14px; }
|
652
558
|
|
653
|
-
/* line 108, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
654
559
|
.popover--top .popover-arrow:after {
|
655
560
|
-webkit-transform: rotate(45deg) translate(-5px, -5px);
|
656
561
|
-ms-transform: rotate(45deg) translate(-5px, -5px);
|
657
562
|
transform: rotate(45deg) translate(-5px, -5px);
|
658
563
|
box-shadow: 1px 1px 1px -1px rgba(0, 0, 0, 0.8); }
|
659
564
|
|
660
|
-
/* line 115, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
661
565
|
.popover--right .popover-arrow:after {
|
662
566
|
-webkit-transform: rotate(45deg) translate(6px, -6px);
|
663
567
|
-ms-transform: rotate(45deg) translate(6px, -6px);
|
664
568
|
transform: rotate(45deg) translate(6px, -6px);
|
665
569
|
box-shadow: -1px 1px 1px -1px rgba(0, 0, 0, 0.8); }
|
666
570
|
|
667
|
-
/* line 122, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
668
571
|
.popover--bottom .popover-arrow:after {
|
669
572
|
-webkit-transform: rotate(45deg) translate(6px, 6px);
|
670
573
|
-ms-transform: rotate(45deg) translate(6px, 6px);
|
671
574
|
transform: rotate(45deg) translate(6px, 6px);
|
672
575
|
box-shadow: -1px -1px 1px -1px rgba(0, 0, 0, 0.44); }
|
673
576
|
|
674
|
-
/* line 129, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_popover.scss */
|
675
577
|
.popover--left .popover-arrow:after {
|
676
578
|
-webkit-transform: rotate(45deg) translate(-6px, 6px);
|
677
579
|
-ms-transform: rotate(45deg) translate(-6px, 6px);
|
678
580
|
transform: rotate(45deg) translate(-6px, 6px);
|
679
581
|
box-shadow: 1px -1px 1px -1px rgba(0, 0, 0, 0.8); }
|
680
582
|
|
681
|
-
/* line 1, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
682
583
|
.graf--h2,
|
683
584
|
.graf--h3,
|
684
585
|
.graf--h4,
|
@@ -693,21 +594,17 @@
|
|
693
594
|
.graf--pre {
|
694
595
|
margin: 0; }
|
695
596
|
|
696
|
-
/* line 17, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
697
597
|
.postList {
|
698
598
|
margin-bottom: 30px; }
|
699
599
|
|
700
|
-
/* line 21, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
701
600
|
.graf--p,
|
702
601
|
.graf--blockquote,
|
703
602
|
.graf--pullquote {
|
704
603
|
margin-bottom: 30px; }
|
705
604
|
|
706
|
-
/* line 27, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
707
605
|
.graf--p.spinner {
|
708
606
|
position: relative; }
|
709
607
|
|
710
|
-
/* line 31, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
711
608
|
.graf--h2 {
|
712
609
|
font-family: "jaf-bernino-sans", "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
|
713
610
|
font-size: 60px;
|
@@ -720,7 +617,6 @@
|
|
720
617
|
margin-top: 40px;
|
721
618
|
padding-top: 0; }
|
722
619
|
|
723
|
-
/* line 43, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
724
620
|
.graf--h3 {
|
725
621
|
font-family: "jaf-bernino-sans", "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
|
726
622
|
letter-spacing: -0.02em;
|
@@ -732,7 +628,6 @@
|
|
732
628
|
margin-top: 40px;
|
733
629
|
margin-bottom: 4px; }
|
734
630
|
|
735
|
-
/* line 54, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
736
631
|
.graf--h4 {
|
737
632
|
font-family: "jaf-bernino-sans", "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
|
738
633
|
letter-spacing: -0.02em;
|
@@ -745,52 +640,43 @@
|
|
745
640
|
margin-top: 40px;
|
746
641
|
margin-bottom: 2px; }
|
747
642
|
|
748
|
-
/* line 67, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
749
643
|
.section--first .graf--h2.graf--first,
|
750
644
|
.section--first .graf--h3.graf--first,
|
751
645
|
.section--first .graf--h4.graf--first {
|
752
646
|
margin-top: 0;
|
753
647
|
padding-top: 0; }
|
754
648
|
|
755
|
-
/* line 74, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
756
649
|
.graf--h2 + .graf--h2 {
|
757
650
|
margin-top: -8px; }
|
758
651
|
|
759
|
-
/* line 78, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
760
652
|
.graf--h2 + .graf--h3,
|
761
653
|
.graf--h2 + .graf--h4 {
|
762
654
|
margin-top: -6px; }
|
763
655
|
|
764
|
-
/* line 83, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
765
656
|
.graf--h3 + .graf--h2,
|
766
657
|
.graf--h4 + .graf--h2 {
|
767
658
|
margin-top: 2px; }
|
768
659
|
|
769
|
-
/* line 88, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
770
660
|
.graf--h3 + .graf--h4,
|
771
661
|
.graf--h4 + .graf--h3 {
|
772
662
|
margin-top: -2px; }
|
773
663
|
|
774
|
-
/* line 93, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
775
664
|
.graf--h2 + .postList,
|
776
665
|
.graf--h3 + .postList,
|
777
666
|
.graf--h4 + .postList {
|
778
667
|
margin-top: 10px; }
|
779
668
|
|
780
|
-
/* line 99, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
781
669
|
.graf--h2 + .graf--p.graf--empty,
|
782
670
|
.graf--h3 + .graf--p.graf--empty,
|
783
671
|
.graf--h4 + .graf--p.graf--empty {
|
784
672
|
margin-bottom: -7px;
|
785
673
|
margin-top: -7px; }
|
786
674
|
|
787
|
-
/* line 106, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
788
675
|
.graf--h2 + .graf--p.graf--empty + .graf--h2,
|
789
676
|
.graf--h3 + .graf--p.graf--empty + .graf--h2,
|
790
677
|
.graf--h4 + .graf--p.graf--empty + .graf--h2 {
|
791
678
|
margin-top: -5px; }
|
792
679
|
|
793
|
-
/* line 112, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
794
680
|
.graf--h2 + .graf--p.graf--empty + .graf--h3,
|
795
681
|
.graf--h3 + .graf--p.graf--empty + .graf--h3,
|
796
682
|
.graf--h4 + .graf--p.graf--empty + .graf--h3,
|
@@ -799,7 +685,6 @@
|
|
799
685
|
.graf--h4 + .graf--p.graf--empty + .graf--h4 {
|
800
686
|
margin-top: -8px; }
|
801
687
|
|
802
|
-
/* line 122, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
803
688
|
.graf--blockquote {
|
804
689
|
font-family: "freight-text-pro", "Merriweather", Georgia, Cambria, "Times New Roman", Times, serif;
|
805
690
|
border-left: 3px solid rgba(0, 0, 0, 0.8);
|
@@ -810,12 +695,10 @@
|
|
810
695
|
padding-bottom: 3px;
|
811
696
|
padding-left: 20px; }
|
812
697
|
|
813
|
-
/* line 132, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
814
698
|
.graf--blockquote + .graf--blockquote {
|
815
699
|
margin-top: -30px;
|
816
700
|
padding-top: 30px; }
|
817
701
|
|
818
|
-
/* line 137, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
819
702
|
.graf--pullquote {
|
820
703
|
line-height: 1.4;
|
821
704
|
text-align: center;
|
@@ -830,7 +713,6 @@
|
|
830
713
|
-webkit-transition: margin 100ms;
|
831
714
|
transition: margin 100ms; }
|
832
715
|
|
833
|
-
/* line 152, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
834
716
|
.graf--pre {
|
835
717
|
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.05);
|
836
718
|
font-family: Menlo, Monaco, Consolas, "Courier New", "Courier", monospace;
|
@@ -839,32 +721,26 @@
|
|
839
721
|
padding: 20px;
|
840
722
|
white-space: pre-wrap; }
|
841
723
|
|
842
|
-
/* line 160, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
843
724
|
.graf--pre + .graf--pre {
|
844
725
|
margin-top: -20px; }
|
845
726
|
|
846
|
-
/* line 165, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
847
727
|
.graf--figure {
|
848
728
|
box-sizing: border-box;
|
849
729
|
clear: both;
|
850
730
|
margin-bottom: 30px;
|
851
731
|
outline: medium none;
|
852
732
|
position: relative; }
|
853
|
-
/* line 172, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
854
733
|
.graf--figure.is-mediaFocused .graf-image, .graf--figure.is-mediaFocused iframe {
|
855
734
|
box-shadow: 0 0 0 3px #57ad68; }
|
856
735
|
|
857
|
-
/* line 179, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
858
736
|
.graf--mixtapeEmbed a {
|
859
737
|
text-decoration: none; }
|
860
738
|
|
861
|
-
/* line 184, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
862
739
|
.graf--h4 + .graf--figure,
|
863
740
|
.graf--h3 + .graf--figure,
|
864
741
|
.graf--h2 + .graf--figure {
|
865
742
|
margin-top: 15px; }
|
866
743
|
|
867
|
-
/* line 190, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
868
744
|
.graf--first {
|
869
745
|
margin-top: 0;
|
870
746
|
padding-top: 0; }
|
@@ -873,7 +749,6 @@
|
|
873
749
|
margin-bottom: -7px;
|
874
750
|
margin-top: -7px;
|
875
751
|
}*/
|
876
|
-
/* line 200, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
877
752
|
p[data-align="center"],
|
878
753
|
.graf--h2[data-align="center"],
|
879
754
|
.graf--h3[data-align="center"],
|
@@ -881,44 +756,37 @@ p[data-align="center"],
|
|
881
756
|
.graf--blockquote[data-align="center"] {
|
882
757
|
text-align: center; }
|
883
758
|
|
884
|
-
/* line 208, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
885
759
|
.markup--anchor,
|
886
760
|
.graf--sectionCaption {
|
887
761
|
cursor: text; }
|
888
762
|
|
889
|
-
/* line 212, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
890
763
|
.markup--anchor {
|
891
764
|
text-decoration: underline;
|
892
765
|
color: inherit; }
|
893
766
|
|
894
767
|
@media (max-width: 500px) {
|
895
|
-
/* line 219, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
896
768
|
.graf--h2 {
|
897
769
|
font-size: 36px;
|
898
770
|
line-height: 1.1;
|
899
771
|
padding-top: 12px;
|
900
772
|
margin-bottom: 6px; }
|
901
773
|
|
902
|
-
/* line 225, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
903
774
|
.graf--h3 {
|
904
775
|
font-size: 26px;
|
905
776
|
line-height: 1.2;
|
906
777
|
margin-top: 18px;
|
907
778
|
margin-bottom: 4px; }
|
908
779
|
|
909
|
-
/* line 231, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_graf.scss */
|
910
780
|
.graf--h4 {
|
911
781
|
font-size: 24px;
|
912
782
|
line-height: 1.2;
|
913
783
|
margin-top: 18px;
|
914
784
|
margin-bottom: 2px; } }
|
915
|
-
/* line 1, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_media.scss */
|
916
785
|
.aspectRatioPlaceholder {
|
917
786
|
margin: 0 auto;
|
918
787
|
position: relative;
|
919
788
|
width: 100%; }
|
920
789
|
|
921
|
-
/* line 9, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_media.scss */
|
922
790
|
.is-postEditMode .graf-image:before, .is-postEditMode
|
923
791
|
.iframeContainer:before {
|
924
792
|
bottom: 0;
|
@@ -929,7 +797,6 @@ p[data-align="center"],
|
|
929
797
|
top: 0;
|
930
798
|
z-index: 500; }
|
931
799
|
|
932
|
-
/* line 22, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_media.scss */
|
933
800
|
.aspectRatioPlaceholder.is-locked .graf-image, .aspectRatioPlaceholder.is-locked
|
934
801
|
.graf-imageAnchor {
|
935
802
|
height: 100%;
|
@@ -938,7 +805,6 @@ p[data-align="center"],
|
|
938
805
|
top: 0;
|
939
806
|
width: 100%; }
|
940
807
|
|
941
|
-
/* line 31, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_media.scss */
|
942
808
|
.graf-image,
|
943
809
|
.graf-imageAnchor,
|
944
810
|
.iframeContainer > iframe,
|
@@ -948,7 +814,6 @@ p[data-align="center"],
|
|
948
814
|
margin: auto;
|
949
815
|
max-width: 100%; }
|
950
816
|
|
951
|
-
/* line 2, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_caption.scss */
|
952
817
|
.imageCaption {
|
953
818
|
position: absolute;
|
954
819
|
left: -172px;
|
@@ -965,7 +830,6 @@ p[data-align="center"],
|
|
965
830
|
color: rgba(0, 0, 0, 0.6);
|
966
831
|
outline: 0;
|
967
832
|
z-index: 300; }
|
968
|
-
/* line 19, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_caption.scss */
|
969
833
|
.imageCaption:before {
|
970
834
|
width: 25%;
|
971
835
|
margin-left: 75%;
|
@@ -975,7 +839,6 @@ p[data-align="center"],
|
|
975
839
|
margin-bottom: 10px; }
|
976
840
|
|
977
841
|
@media (max-width: 1200px) {
|
978
|
-
/* line 29, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_caption.scss */
|
979
842
|
.imageCaption,
|
980
843
|
.postField--outsetCenterImage > .imageCaption {
|
981
844
|
position: relative;
|
@@ -984,22 +847,18 @@ p[data-align="center"],
|
|
984
847
|
left: 0;
|
985
848
|
margin-top: 10px; }
|
986
849
|
|
987
|
-
/* line 37, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_caption.scss */
|
988
850
|
.imageCaption:before {
|
989
851
|
display: none; } }
|
990
|
-
/* line 42, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_caption.scss */
|
991
852
|
figure.is-defaultValue .imageCaption,
|
992
853
|
.graf--sectionCaption.is-defaultValue {
|
993
854
|
display: none; }
|
994
855
|
|
995
|
-
/* line 47, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_caption.scss */
|
996
856
|
.graf--figure.is-mediaFocused .imageCaption,
|
997
857
|
.graf--figure.is-defaultValue.is-selected .imageCaption,
|
998
858
|
section.is-mediaFocused .graf--sectionCaption,
|
999
859
|
.graf--sectionCaption.is-defaultValue.is-selected {
|
1000
860
|
display: block; }
|
1001
861
|
|
1002
|
-
/* line 2, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1003
862
|
.editable .markup--anchor,
|
1004
863
|
.editable .graf--sectionCaption {
|
1005
864
|
cursor: text; }
|
@@ -1020,11 +879,9 @@ h4 .markup--anchor {
|
|
1020
879
|
background-position: 0 34px;
|
1021
880
|
}
|
1022
881
|
*/
|
1023
|
-
/* line 66, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1024
882
|
.is-postEditMode iframe {
|
1025
883
|
border: 3px solid rgba(255, 255, 255, 0); }
|
1026
884
|
|
1027
|
-
/* line 70, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1028
885
|
.graf--mixtapeEmbed {
|
1029
886
|
border-color: rgba(0, 0, 0, 0.15);
|
1030
887
|
border-radius: 5px;
|
@@ -1045,7 +902,6 @@ h4 .markup--anchor {
|
|
1045
902
|
padding: 30px;
|
1046
903
|
position: relative; }
|
1047
904
|
|
1048
|
-
/* line 91, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1049
905
|
.mixtapeImage {
|
1050
906
|
background-position: center center;
|
1051
907
|
background-repeat: no-repeat;
|
@@ -1055,12 +911,10 @@ h4 .markup--anchor {
|
|
1055
911
|
margin: -30px -30px 0 25px;
|
1056
912
|
width: 310px; }
|
1057
913
|
|
1058
|
-
/* line 101, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1059
914
|
.mixtapeImage--empty {
|
1060
915
|
height: 0;
|
1061
916
|
width: 0; }
|
1062
917
|
|
1063
|
-
/* line 106, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1064
918
|
.graf--mixtapeEmbed {
|
1065
919
|
color: rgba(0, 0, 0, 0.6);
|
1066
920
|
font-family: "jaf-bernino-sans", "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
|
@@ -1069,7 +923,6 @@ h4 .markup--anchor {
|
|
1069
923
|
font-weight: 300;
|
1070
924
|
letter-spacing: -0.02em; }
|
1071
925
|
|
1072
|
-
/* line 115, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1073
926
|
.markup--mixtapeEmbed-strong {
|
1074
927
|
color: #000;
|
1075
928
|
display: block;
|
@@ -1081,7 +934,6 @@ h4 .markup--anchor {
|
|
1081
934
|
line-height: 1.2;
|
1082
935
|
margin-bottom: 0px; }
|
1083
936
|
|
1084
|
-
/* line 127, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1085
937
|
.markup--mixtapeEmbed-em {
|
1086
938
|
display: block;
|
1087
939
|
font-size: 16px;
|
@@ -1091,21 +943,17 @@ h4 .markup--anchor {
|
|
1091
943
|
overflow: hidden; }
|
1092
944
|
|
1093
945
|
/*CAPTION*/
|
1094
|
-
/* line 179, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1095
946
|
.editor a a {
|
1096
947
|
color: inherit;
|
1097
948
|
text-decoration: none; }
|
1098
949
|
|
1099
|
-
/* line 185, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1100
950
|
.defaultValue {
|
1101
951
|
color: rgba(0, 0, 0, 0.3); }
|
1102
952
|
|
1103
|
-
/* line 189, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1104
953
|
section:first-child > .section-divider,
|
1105
954
|
section.is-backgrounded + section > .section-divider {
|
1106
955
|
display: none; }
|
1107
956
|
|
1108
|
-
/* line 203, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_needsorder.scss */
|
1109
957
|
.defaultValue--prompt {
|
1110
958
|
font-family: "jaf-bernino-sans", "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
|
1111
959
|
font-size: 18px;
|
@@ -1113,7 +961,6 @@ section.is-backgrounded + section > .section-divider {
|
|
1113
961
|
font-weight: 400;
|
1114
962
|
letter-spacing: -0.02em; }
|
1115
963
|
|
1116
|
-
/* line 4, /Users/michelson/Documents/rubyonrails/medium-editor/app/assets/stylesheets/dante/_debug.scss */
|
1117
964
|
.debug .section-inner .is-selected {
|
1118
965
|
outline-color: #55b6b3;
|
1119
966
|
outline-width: thin;
|
data/dist/js/dante-editor.js
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
defaults: {
|
9
9
|
image_placeholder: '../images/dante/media-loading-placeholder.png'
|
10
10
|
},
|
11
|
-
version: "0.0.
|
11
|
+
version: "0.0.15"
|
12
12
|
};
|
13
13
|
|
14
14
|
}).call(this);
|
@@ -612,7 +612,7 @@
|
|
612
612
|
};
|
613
613
|
|
614
614
|
Editor.prototype.template = function() {
|
615
|
-
return "<section class='section--first section--last'> <div class='section-divider layoutSingleColumn'> <hr class='section-divider'> </div> <div class='section-content'> <div class='section-inner layoutSingleColumn'> " + (this.disable_title ? '' : this.renderTitle()) + " <p class='graf graf--p'>" + this.body_placeholder + "
|
615
|
+
return "<section class='section--first section--last'> <div class='section-divider layoutSingleColumn'> <hr class='section-divider'> </div> <div class='section-content'> <div class='section-inner layoutSingleColumn'> " + (this.disable_title ? '' : this.renderTitle()) + " <p class='graf graf--p'>" + this.body_placeholder + "</p> </div> </div> </section>";
|
616
616
|
};
|
617
617
|
|
618
618
|
Editor.prototype.baseParagraphTmpl = function() {
|
data/lib/dante-editor/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dante-editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Michelson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-06-06 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: dante-editor yet another Medium editor clone.
|
15
15
|
email:
|