dante-editor 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +22 -0
  3. data/.travis.yml +4 -0
  4. data/Gemfile +23 -0
  5. data/Gemfile.lock +146 -0
  6. data/Procfile +1 -0
  7. data/README.md +129 -0
  8. data/TODO.md +45 -0
  9. data/bower.json +10 -0
  10. data/config.rb +82 -0
  11. data/config.ru +31 -0
  12. data/dante-editor.gemspec +19 -0
  13. data/lib/dante-editor.rb +3 -0
  14. data/lib/dante-editor/version.rb +5 -0
  15. data/license.md +22 -0
  16. data/rakefile +2 -0
  17. data/source/assets/fonts/fontello.eot +0 -0
  18. data/source/assets/fonts/fontello.svg +36 -0
  19. data/source/assets/fonts/fontello.ttf +0 -0
  20. data/source/assets/fonts/fontello.woff +0 -0
  21. data/source/assets/images/background.png +0 -0
  22. data/source/assets/images/icon-logo.png +0 -0
  23. data/source/assets/images/icon.png +0 -0
  24. data/source/assets/images/media-loading-placeholder.png +0 -0
  25. data/source/assets/images/middleman.png +0 -0
  26. data/source/assets/javascripts/all.js +3 -0
  27. data/source/assets/javascripts/dante.js +7 -0
  28. data/source/assets/javascripts/dante/dante.js.coffee.erb +7 -0
  29. data/source/assets/javascripts/dante/editor.js.coffee +917 -0
  30. data/source/assets/javascripts/dante/menu.js.coffee +202 -0
  31. data/source/assets/javascripts/dante/tooltip.js.coffee +302 -0
  32. data/source/assets/javascripts/dante/utils.js.coffee +235 -0
  33. data/source/assets/javascripts/dante/view.js.coffee +56 -0
  34. data/source/assets/javascripts/deps.js +4 -0
  35. data/source/assets/javascripts/spec.js +2 -0
  36. data/source/assets/javascripts/specs/cleaner.js.coffee +8 -0
  37. data/source/assets/javascripts/specs/dante_view.js.coffee +74 -0
  38. data/source/assets/javascripts/specs/editor.js.coffee +57 -0
  39. data/source/assets/stylesheets/all.css.scss +4 -0
  40. data/source/assets/stylesheets/dante.css.scss +3 -0
  41. data/source/assets/stylesheets/dante/base.css.scss +57 -0
  42. data/source/assets/stylesheets/dante/editor.css.scss +662 -0
  43. data/source/assets/stylesheets/dante/fonts.css.scss +106 -0
  44. data/source/assets/stylesheets/normalize.css +375 -0
  45. data/source/embeds.html.erb +29 -0
  46. data/source/index.html.erb +28 -0
  47. data/source/layouts/layout.erb +21 -0
  48. data/source/layouts/spec.html.erb +24 -0
  49. data/source/partials/_example_1.erb +30 -0
  50. data/source/partials/_example_2.erb +33 -0
  51. data/source/partials/_example_3.erb +17 -0
  52. data/source/partials/_readme.markdown +78 -0
  53. data/source/partials/test/_example_1.erb +18 -0
  54. data/source/readme.html.erb +28 -0
  55. data/source/tests/dante_view.html.erb +11 -0
  56. data/source/tests/index.html.erb +32 -0
  57. data/tmp/.gitkeep +0 -0
  58. metadata +99 -0
@@ -0,0 +1,3 @@
1
+ @import "dante/fonts";
2
+ @import "dante/base";
3
+ @import "dante/editor";
@@ -0,0 +1,57 @@
1
+ @charset "utf-8";
2
+
3
+ $serif: 'freight-text-pro', 'Merriweather',Georgia,Cambria,"Times New Roman",Times,serif;
4
+ $sans: 'jaf-bernino-sans', 'Open Sans' ,"Lucida Grande","Lucida Sans Unicode","Lucida Sans", Geneva, Verdana, sans-serif;
5
+
6
+
7
+ body {
8
+ //background: #d4d4d4 image-url("background.png");
9
+ font-family: $serif;
10
+ color: rgba(0,0,0,0.8);
11
+ text-rendering: optimizeLegibility;
12
+ -webkit-font-smoothing: antialiased;
13
+ -moz-osx-font-smoothing: grayscale;
14
+ }
15
+
16
+
17
+ #welcome{
18
+
19
+ }
20
+
21
+ header{
22
+ width: 100%;
23
+ border-top: 3px solid #1abf89;
24
+ margin-bottom: 40px;
25
+
26
+ img{
27
+ display: block;
28
+ float: left;
29
+ margin: -34px 7px 11px 25px;
30
+ position: absolute;
31
+ left: 0;
32
+ top: 28px;
33
+ }
34
+ h1 {
35
+ font-family: $sans;
36
+ font-size: 30px;
37
+ font-style: normal;
38
+ font-weight: 300;
39
+ letter-spacing: -0.04em;
40
+ line-height: 1;
41
+ margin-bottom: 8px;
42
+ margin-right: 91px;
43
+ margin-top: 25px;
44
+ padding-top: 0;
45
+ text-align: right;
46
+ }
47
+ }
48
+
49
+
50
+ #editor{
51
+ margin: 0 auto;
52
+ //width: 70%;
53
+ width: 700px;
54
+ }
55
+
56
+
57
+
@@ -0,0 +1,662 @@
1
+ $serif: 'freight-text-pro', 'Merriweather',Georgia,Cambria,"Times New Roman",Times,serif;
2
+ $sans: 'jaf-bernino-sans', 'Open Sans' ,"Lucida Grande","Lucida Sans Unicode","Lucida Sans", Geneva, Verdana, sans-serif;
3
+
4
+
5
+ .postField--body:before, .postField--body:after {
6
+ content: " ";
7
+ display: table;
8
+ }
9
+ .postField--body:after {
10
+ clear: both;
11
+ }
12
+
13
+ .postField, .postField:focus {
14
+ outline: 0 none;
15
+ word-wrap: break-word;
16
+ }
17
+ .postField--body {
18
+ margin-bottom: 30px;
19
+ }
20
+ .postContent, .notesSource {
21
+ font-family: $serif;
22
+ font-style: normal;
23
+ font-weight: 400;
24
+ letter-spacing: 0.01rem;
25
+ //line-height: 1.5; //used for medium fonts
26
+ //font-size: 22px; // used for medium fonts
27
+ font-size: 19px;
28
+ line-height: 1.79;
29
+ }
30
+
31
+ /*MENU*/
32
+ .dante-menu {
33
+ background: linear-gradient(to bottom, #222, #333) repeat scroll 0 0 #333;
34
+ border: 1px solid #333;
35
+ border-radius: 3px;
36
+ box-shadow: 1px 2px 3px -2px #222;
37
+ display: none;
38
+ height: 36px;
39
+ opacity: 0.9;
40
+ position: absolute;
41
+ white-space: nowrap;
42
+ z-index: 1000;
43
+ display:block;
44
+
45
+ -webkit-transition: opacity 0.2s ease-in-out;
46
+ -moz-transition: opacity 0.2s ease-in-out;
47
+ transition: opacity 0.2s ease-in-out;
48
+
49
+ &:after {
50
+
51
+ border-left: 6px solid transparent;
52
+ border-right: 9px solid transparent;
53
+ border-top: 7px solid #333;
54
+ border-color: #333 rgba(51, 51, 51, 0) rgba(51, 51, 51, 0);
55
+ content: " ";
56
+ height: 0;
57
+ left: 50%;
58
+ margin-left: -6px;
59
+ position: absolute;
60
+ top: 99%;
61
+ width: 0;
62
+ pointer-events: none;
63
+
64
+ }
65
+ }
66
+
67
+ .dante-menu, .dante-input {
68
+ color: #331;
69
+ font: 400 1.16em/1.45 Palatino,Optima,Georgia,serif;
70
+ }
71
+
72
+ .dante-input{
73
+ background: none repeat scroll 0 0 #333;
74
+ border: medium none;
75
+ color: #fff;
76
+ display: none;
77
+ font-family: arial,sans-serif;
78
+ height: 36px;
79
+ left: 0;
80
+ line-height: 20px;
81
+ position: absolute;
82
+ text-align: center;
83
+ top: 0;
84
+ width: 100%;
85
+ }
86
+
87
+ .dante-menu, .dante-input {
88
+ font-size: 14px;
89
+ line-height: 1;
90
+ }
91
+
92
+ .dante-menu [class^="icon-"]:before, .dante-menu [class*=" icon-"]:before {
93
+ display: inline-block;
94
+ font-family: "dante";
95
+ font-style: normal;
96
+ font-variant: normal;
97
+ font-weight: normal;
98
+ line-height: 1em;
99
+ margin-left: 0.2em;
100
+ margin-right: 0.2em;
101
+ text-align: center;
102
+ text-decoration: inherit;
103
+ text-transform: none;
104
+ width: 1em;
105
+ }
106
+
107
+ .dante-icon:first-of-type {
108
+ border-bottom-left-radius: 3px;
109
+ border-top-left-radius: 3px;
110
+ }
111
+
112
+ .dante-icon{
113
+ font:normal 900 16px/40px Georgia serif;
114
+ min-width:20px;display:inline-block;
115
+ padding:0 10px;
116
+ height:36px;
117
+ overflow:hidden;color:#fff;
118
+ text-align:center;
119
+ cursor:pointer;
120
+ -moz-user-select:none;
121
+ -webkit-user-select:none;
122
+ -ms-user-select:none;user-select:none;
123
+ }
124
+ .dante-icon:first-of-type{
125
+ border-top-left-radius:3px;
126
+ border-bottom-left-radius:3px;
127
+ }
128
+ .dante-icon:last-of-type{
129
+ border-top-right-radius:3px;
130
+ border-bottom-right-radius:3px;
131
+ }
132
+ .dante-icon:hover{
133
+ background:#000;
134
+ }
135
+ .dante-icon.active{
136
+ color:#1abf89;background:#000;
137
+ box-shadow:inset 2px 2px 4px #000;
138
+ }
139
+ .pen-input{position:absolute;
140
+ width:100%;left:0;
141
+ top:0;height:36px;
142
+ line-height:20px;
143
+ background:#333;
144
+ color:#fff;
145
+ border:none;
146
+ text-align:center;
147
+ display:none;
148
+ font-family:arial, sans-serif;
149
+ }
150
+ .pen-input:focus{
151
+ outline:none;
152
+ }
153
+
154
+ .dante-menu [class^="icon-"], .dante-menu [class*=" icon-"] {
155
+ background: none repeat scroll 0 0 transparent;
156
+ }
157
+
158
+ .dante-icon {
159
+ -moz-user-select: none;
160
+ color: #fff;
161
+ cursor: pointer;
162
+ display: inline-block;
163
+ font: 900 16px/40px Georgia serif;
164
+ height: 36px;
165
+ min-width: 20px;
166
+ overflow: hidden;
167
+ padding: 0 10px;
168
+ text-align: center;
169
+
170
+ &.icon-h2:before {
171
+ content: "H2";
172
+ }
173
+ &.icon-h3:before {
174
+ content: "H3";
175
+ }
176
+ &.icon-p:before {
177
+ content: "P";
178
+ }
179
+ &.icon-code:before {
180
+ content: "";
181
+ }
182
+ &.icon-insertorderedlist:before {
183
+ content: "";
184
+ }
185
+ &.icon-insertunorderedlist:before {
186
+ content: "";
187
+ }
188
+ &.icon-inserthorizontalrule:before {
189
+ content: "";
190
+ }
191
+ &.icon-indent:before {
192
+ content: "";
193
+ }
194
+ &.icon-outdent:before {
195
+ content: "";
196
+ }
197
+ &.icon-bold:before {
198
+ content: "";
199
+ }
200
+ &.icon-italic:before {
201
+ content: "";
202
+ }
203
+ &.icon-underline:before {
204
+ content: "";
205
+ }
206
+ &.icon-createlink:before {
207
+ content: "";
208
+ }
209
+
210
+ &.icon-blockquote:before {
211
+ content: "";
212
+ }
213
+ }
214
+
215
+ /*TOOLTIP*/
216
+ .inlineTooltip2.is-active {
217
+ opacity: 1;
218
+ pointer-events: auto;
219
+ width:auto !important;
220
+ }
221
+
222
+ .notesSource .inlineTooltip2 {
223
+ height: 40px;
224
+ margin-left: -58px;
225
+ margin-top: 5px;
226
+ //opacity: 0;
227
+ overflow: hidden;
228
+ padding: 0;
229
+ //pointer-events: none;
230
+ position: absolute;
231
+ width: 40px;
232
+ z-index: 900;
233
+ }
234
+
235
+ .button--small.button--circle {
236
+ height: 32px;
237
+ padding: 0;
238
+ width: 32px;
239
+ }
240
+ .button--inlineTooltipControl {
241
+ transform: rotate(0deg);
242
+ transition: transform 0.1s ease 0s;
243
+ }
244
+ .button--small, .button--small.button--link, .button--small.button--chromeless {
245
+ font-size: 12px;
246
+ }
247
+
248
+ .button--small {
249
+ height: 32px;
250
+ line-height: 31px;
251
+ padding: 0 14px;
252
+ }
253
+
254
+ .button--neutral {
255
+ border-color: rgba(0, 0, 0, 0.44);
256
+ color: rgba(0, 0, 0, 0.44);
257
+ }
258
+
259
+ .button--circle {
260
+ padding: 0;
261
+ text-align: center;
262
+ width: 38px;
263
+ }
264
+
265
+ .button {
266
+ -moz-osx-font-smoothing: grayscale;
267
+ -moz-user-select: none;
268
+ background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
269
+ border: 1px solid rgba(0, 0, 0, 0.15);
270
+ border-radius: 999em;
271
+ box-sizing: border-box;
272
+ color: rgba(0, 0, 0, 0.44);
273
+ cursor: pointer;
274
+ display: inline-block;
275
+ font-family: $sans;
276
+ font-size: 14px;
277
+ font-style: normal;
278
+ font-weight: 400;
279
+ height: 38px;
280
+ letter-spacing: -0.02em;
281
+ line-height: 31px;
282
+ outline: 0 none;
283
+ padding: 0 16px;
284
+ position: relative;
285
+ text-align: center;
286
+ text-decoration: none;
287
+ text-rendering: optimizelegibility;
288
+ transition: background-color 0.1s ease 0s, border-color 0.1s ease 0s, color 0.1s ease 0s;
289
+ vertical-align: bottom;
290
+ white-space: nowrap;
291
+ }
292
+
293
+ button, html input[type="button"], input[type="reset"], input[type="submit"] {
294
+ cursor: pointer;
295
+ }
296
+
297
+ .button-scalableGroup .icon.icon--addMediaPlus:before, .button-scalableGroup .icon.icon--addMediaImage:before, .button-scalableGroup .icon.icon--addMediaVideo:before, .button-scalableGroup .icon.icon--addMediaEmbed:before, .button-scalableGroup .icon.icon--addMediaPart:before {
298
+ font-size: 39px;
299
+ top: 13px;
300
+ }
301
+
302
+ .button--neutral > .icon:before {
303
+ color: rgba(0, 0, 0, 0.44);
304
+ }
305
+
306
+ .button .icon.is-pulledRight:before, .button--circle .icon:before, .button--expandable .icon:before {
307
+ margin-right: 0;
308
+ }
309
+
310
+ .button .icon:before {
311
+ color: rgba(0, 0, 0, 0.3);
312
+ font-size: 20px;
313
+ line-height: 0;
314
+ margin-right: 8px;
315
+ position: relative;
316
+ top: 1px;
317
+ }
318
+
319
+ .icon--addMediaPlus:before {
320
+ content: "";
321
+ }
322
+ .button--small .icon {
323
+ font-size: 18px;
324
+ }
325
+ .button .icon {
326
+ line-height: 100%;
327
+ }
328
+
329
+ .icon {
330
+ -moz-osx-font-smoothing: grayscale;
331
+ font-family: "medium-icons";
332
+ font-style: normal;
333
+ font-weight: normal;
334
+ text-decoration: none;
335
+ text-rendering: optimizelegibility;
336
+ text-transform: none;
337
+ }
338
+
339
+ .inlineTooltip2.is-scaled > .button--inlineTooltipControl {
340
+ -webkit-transition: -webkit-transform .25s;
341
+ transition: transform .25s;
342
+ -webkit-transform: rotate(45deg);
343
+ -ms-transform: rotate(45deg);
344
+ transform: rotate(45deg);
345
+ }
346
+
347
+ .inlineTooltip2-menu {
348
+ display: inline-block;
349
+ padding-left: 22px;
350
+ }
351
+
352
+ .inlineTooltip2-menu .button {
353
+ margin-right: 9px;
354
+ }
355
+
356
+ .button-scalableGroup.is-scaled .button--scale {
357
+ -webkit-transform: scale(1);
358
+ -ms-transform: scale(1);
359
+ transform: scale(1);
360
+ -webkit-transition-duration: 200ms;
361
+ transition-duration: 200ms;
362
+ }
363
+
364
+ .button--scale {
365
+ -webkit-transform: scale(0);
366
+ -ms-transform: scale(0);
367
+ transform: scale(0);
368
+ -webkit-transition-property: -webkit-transform;
369
+ transition-property: transform;
370
+ -webkit-transition-duration: 100ms;
371
+ transition-duration: 100ms;
372
+ }
373
+
374
+ .u-transitionSeries:nth-child(2) {
375
+ -webkit-transition-delay: 30ms;
376
+ transition-delay: 30ms;
377
+ }
378
+
379
+ .graf--p, .graf--blockquote, .graf--pullquote {
380
+ margin-bottom: 30px;
381
+ }
382
+
383
+
384
+ //DEBUG AWARE CSS
385
+ .debug {
386
+ .section-inner {
387
+ .is-selected{
388
+ outline-color: rgb(85, 182, 179);
389
+ outline-width: thin;
390
+ outline-style: dotted;
391
+ }
392
+ }
393
+ }
394
+
395
+
396
+ // elements styles
397
+ .graf--h2 {
398
+ font-family: $sans;
399
+ font-size: 60px;
400
+ font-style: normal;
401
+ font-weight: 700;
402
+ letter-spacing: -0.04em;
403
+ line-height: 1;
404
+ margin-bottom: 8px;
405
+ margin-left: -3px;
406
+ margin-top: 40px;
407
+ padding-top: 0;
408
+ }
409
+
410
+ .graf--h4 {
411
+ color: rgba(0, 0, 0, 0.44);
412
+ font-family: $sans;
413
+ font-size: 30px;
414
+ font-style: normal;
415
+ font-weight: 300;
416
+ letter-spacing: -0.02em;
417
+ line-height: 1.2;
418
+ margin-bottom: 2px;
419
+ margin-left: -1.5px;
420
+ margin-top: 40px;
421
+ }
422
+
423
+ .graf--pre + .graf--pre {
424
+ margin-top: -20px;
425
+ }
426
+
427
+ .graf--pre {
428
+ background: none repeat scroll 0 0 rgba(0, 0, 0, 0.05);
429
+ font-family: Monaco,"Courier New","Courier",monospace;
430
+ font-size: 16px;
431
+ margin-bottom: 20px;
432
+ padding: 20px;
433
+ white-space: pre-wrap;
434
+ }
435
+
436
+ .graf--blockquote + .graf--blockquote {
437
+ margin-top: -30px;
438
+ padding-top: 30px;
439
+ }
440
+
441
+ .graf--blockquote {
442
+ border-left: 3px solid rgba(0, 0, 0, 0.8);
443
+ font-family: $serif;
444
+ font-style: italic;
445
+ font-weight: 400;
446
+ letter-spacing: 0.01rem;
447
+ margin-left: -23px;
448
+ padding-bottom: 3px;
449
+ padding-left: 20px;
450
+ }
451
+
452
+ .graf--p, .graf--blockquote, .graf--pullquote {
453
+ margin-bottom: 30px;
454
+ }
455
+
456
+ .markup--anchor, .graf--sectionCaption {
457
+ cursor: text;
458
+ }
459
+
460
+ .markup--anchor {
461
+ background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 50%);
462
+ background-position: 0 24px;
463
+ background-repeat: repeat-x;
464
+ background-size: 2px 2px;
465
+ text-decoration: none;
466
+ color: rgba(0, 0, 0, 1);
467
+ }
468
+
469
+ .graf--pre {
470
+ background: none repeat scroll 0 0 rgba(0, 0, 0, 0.05);
471
+ font-family: Monaco,"Courier New","Courier",monospace;
472
+ font-size: 16px;
473
+ margin-bottom: 20px;
474
+ padding: 20px;
475
+ white-space: pre-wrap;
476
+ }
477
+
478
+ .graf--figure {
479
+ box-sizing: border-box;
480
+ clear: both;
481
+ margin-bottom: 30px;
482
+ outline: medium none;
483
+ position: relative;
484
+ }
485
+
486
+ .aspectRatioPlaceholder {
487
+ margin: 0 auto;
488
+ position: relative;
489
+ width: 100%;
490
+ }
491
+
492
+ .is-postEditMode .graf-image:before, .is-postEditMode .iframeContainer:before {
493
+ bottom: 0;
494
+ content: "";
495
+ left: 0;
496
+ position: absolute;
497
+ right: 0;
498
+ top: 0;
499
+ z-index: 500;
500
+ }
501
+
502
+ .graf--figure.is-mediaFocused .graf-image, .graf--figure.is-mediaFocused iframe {
503
+ box-shadow: 0 0 0 3px #57ad68;
504
+ }
505
+
506
+ .aspectRatioPlaceholder.is-locked .graf-image, .aspectRatioPlaceholder.is-locked .graf-imageAnchor {
507
+ height: 100%;
508
+ left: 0;
509
+ position: absolute;
510
+ top: 0;
511
+ width: 100%;
512
+ }
513
+
514
+ .graf-image, .graf-imageAnchor, .iframeContainer > iframe, .iframeContainer {
515
+ box-sizing: border-box;
516
+ display: block;
517
+ margin: auto;
518
+ max-width: 100%;
519
+ }
520
+
521
+ .is-postEditMode iframe {
522
+ border: 3px solid rgba(255, 255, 255, 0);
523
+ }
524
+
525
+ .graf--mixtapeEmbed {
526
+ border-color: rgba(0, 0, 0, 0.15);
527
+ border-radius: 5px;
528
+ border-style: solid;
529
+ border-width: 1px;
530
+ box-sizing: border-box;
531
+ color: rgba(0, 0, 0, 0.6);
532
+ font-family: $sans;
533
+ font-size: 12px;
534
+ font-style: normal;
535
+ font-weight: 300;
536
+ letter-spacing: -0.02em;
537
+ margin-bottom: 40px;
538
+ margin-top: 40px;
539
+ max-height: 310px;
540
+ max-width: 700px;
541
+ overflow: hidden;
542
+ padding: 30px;
543
+ position: relative;
544
+ }
545
+
546
+ .mixtapeImage {
547
+ background-position: center center;
548
+ background-repeat: no-repeat;
549
+ background-size: cover;
550
+ float: right;
551
+ height: 310px;
552
+ margin: -30px -30px 0 25px;
553
+ width: 310px;
554
+ }
555
+
556
+ .mixtapeImage--empty {
557
+ height: 0;
558
+ width: 0;
559
+ }
560
+
561
+ .graf--mixtapeEmbed {
562
+ color: rgba(0, 0, 0, 0.6);
563
+ font-family: $sans;
564
+ font-size: 12px;
565
+ font-style: normal;
566
+ font-weight: 300;
567
+ letter-spacing: -0.02em;
568
+ }
569
+
570
+ .markup--mixtapeEmbed-strong {
571
+ color: #000;
572
+ display: block;
573
+ font-family: $sans;
574
+ font-size: 30px;
575
+ font-style: normal;
576
+ font-weight: 300;
577
+ letter-spacing: -0.02em;
578
+ line-height: 1.2;
579
+ margin-bottom: 0px;
580
+ }
581
+
582
+ .markup--mixtapeEmbed-em {
583
+ display: block;
584
+ font-size: 16px;
585
+ font-style: normal;
586
+ margin-bottom: 10px;
587
+ max-height: 120px;
588
+ overflow: hidden;
589
+ }
590
+
591
+ /*CAPTION*/
592
+
593
+ .imageCaption:before {
594
+ border-top: 1px solid rgba(0, 0, 0, 0.15);
595
+ content: "";
596
+ display: block;
597
+ margin-bottom: 10px;
598
+ margin-left: 75%;
599
+ width: 25%;
600
+ }
601
+
602
+ .imageCaption {
603
+ color: rgba(0, 0, 0, 0.6);
604
+ font-family: $serif;
605
+ font-size: 14px;
606
+ font-style: italic;
607
+ font-weight: 400;
608
+ left: -172px;
609
+ letter-spacing: 0.01rem;
610
+ line-height: 1.4;
611
+ margin-top: 0;
612
+ outline: 0 none;
613
+ position: absolute;
614
+ text-align: right;
615
+ top: 0;
616
+ width: 150px;
617
+ z-index: 300;
618
+ }
619
+
620
+ .graf--figure.is-mediaFocused .imageCaption, .graf--figure.is-defaultValue.is-selected .imageCaption, section.is-mediaFocused .graf--sectionCaption, .graf--sectionCaption.is-defaultValue.is-selected {
621
+ display: block;
622
+ }
623
+
624
+ figure.is-defaultValue .imageCaption, .graf--sectionCaption.is-defaultValue {
625
+ display: none;
626
+ }
627
+
628
+ .section-content:before, .section-content:after{
629
+ content: " ";
630
+ display: table;
631
+ }
632
+
633
+ .editor a {
634
+ a {
635
+ color: inherit;
636
+ text-decoration: none;
637
+ }
638
+ }
639
+
640
+ .defaultValue {
641
+ color: rgba(0,0,0,0.3);
642
+ }
643
+
644
+ section:first-child > .section-divider, section.is-backgrounded + section > .section-divider {
645
+ display: none;
646
+ }
647
+ .postArticle .layoutSingleColumn, .postFooter--loggedOut .layoutSingleColumn {
648
+ width: 700px;
649
+ }
650
+
651
+ .layoutSingleColumn {
652
+ margin: 0 auto;
653
+ width: 640px;
654
+ }
655
+
656
+ .defaultValue--prompt {
657
+ font-family: $sans;
658
+ font-size: 18px;
659
+ font-style: normal;
660
+ font-weight: 400;
661
+ letter-spacing: -0.02em;
662
+ }