dante-editor-seo 0.0.13

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.
Files changed (105) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +40 -0
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +4 -0
  5. data/Gemfile +23 -0
  6. data/Gemfile.lock +140 -0
  7. data/Procfile +1 -0
  8. data/README.md +187 -0
  9. data/ROADMAP.md +10 -0
  10. data/TODO.md +30 -0
  11. data/app/assets/fonts/dante/dante.eot +0 -0
  12. data/app/assets/fonts/dante/dante.svg +14 -0
  13. data/app/assets/fonts/dante/dante.ttf +0 -0
  14. data/app/assets/fonts/dante/dante.woff +0 -0
  15. data/app/assets/fonts/dante/fontello.eot +0 -0
  16. data/app/assets/fonts/dante/fontello.svg +36 -0
  17. data/app/assets/fonts/dante/fontello.ttf +0 -0
  18. data/app/assets/fonts/dante/fontello.woff +0 -0
  19. data/app/assets/images/dante/media-loading-placeholder.png +0 -0
  20. data/app/assets/javascripts/dante/dante.js.coffee.erb +10 -0
  21. data/app/assets/javascripts/dante/editor.js.coffee +1250 -0
  22. data/app/assets/javascripts/dante/menu.js.coffee +216 -0
  23. data/app/assets/javascripts/dante/popover.js.coffee +75 -0
  24. data/app/assets/javascripts/dante/tooltip.js.coffee +82 -0
  25. data/app/assets/javascripts/dante/tooltip_widget.js.coffee +10 -0
  26. data/app/assets/javascripts/dante/tooltip_widgets/embed.js.coffee +60 -0
  27. data/app/assets/javascripts/dante/tooltip_widgets/extract.js.coffee +64 -0
  28. data/app/assets/javascripts/dante/tooltip_widgets/uploader.js.coffee +248 -0
  29. data/app/assets/javascripts/dante/utils.js.coffee +235 -0
  30. data/app/assets/javascripts/dante/view.js.coffee +101 -0
  31. data/app/assets/javascripts/dante.js +12 -0
  32. data/app/assets/stylesheets/dante/_animations.scss +54 -0
  33. data/app/assets/stylesheets/dante/_caption.scss +52 -0
  34. data/app/assets/stylesheets/dante/_debug.scss +11 -0
  35. data/app/assets/stylesheets/dante/_fonts.scss +17 -0
  36. data/app/assets/stylesheets/dante/_graf.scss +238 -0
  37. data/app/assets/stylesheets/dante/_icons.scss +57 -0
  38. data/app/assets/stylesheets/dante/_media.scss +39 -0
  39. data/app/assets/stylesheets/dante/_menu.scss +153 -0
  40. data/app/assets/stylesheets/dante/_needsorder.scss +209 -0
  41. data/app/assets/stylesheets/dante/_popover.scss +134 -0
  42. data/app/assets/stylesheets/dante/_post.scss +69 -0
  43. data/app/assets/stylesheets/dante/_scaffold.scss +20 -0
  44. data/app/assets/stylesheets/dante/_tooltip.scss +131 -0
  45. data/app/assets/stylesheets/dante/_utilities.scss +55 -0
  46. data/app/assets/stylesheets/dante/_variables.scss +46 -0
  47. data/app/assets/stylesheets/dante.scss +18 -0
  48. data/bower.json +44 -0
  49. data/config.rb +86 -0
  50. data/config.ru +42 -0
  51. data/dante-editor.gemspec +19 -0
  52. data/dist/css/dante-editor.css +1116 -0
  53. data/dist/fonts/dante/dante.eot +0 -0
  54. data/dist/fonts/dante/dante.svg +14 -0
  55. data/dist/fonts/dante/dante.ttf +0 -0
  56. data/dist/fonts/dante/dante.woff +0 -0
  57. data/dist/fonts/dante/fontello.eot +0 -0
  58. data/dist/fonts/dante/fontello.svg +36 -0
  59. data/dist/fonts/dante/fontello.ttf +0 -0
  60. data/dist/fonts/dante/fontello.woff +0 -0
  61. data/dist/images/dante/media-loading-placeholder.png +0 -0
  62. data/dist/js/dante-editor.js +2878 -0
  63. data/lib/dante-editor/rails.rb +4 -0
  64. data/lib/dante-editor/version.rb +5 -0
  65. data/lib/dante-editor.rb +5 -0
  66. data/license.md +22 -0
  67. data/rakefile +2 -0
  68. data/source/assets/images/dante-editor-logo.png +0 -0
  69. data/source/assets/images/github-logo.png +0 -0
  70. data/source/assets/javascripts/all.js +3 -0
  71. data/source/assets/javascripts/dante-editor.js +1 -0
  72. data/source/assets/javascripts/deps.js +4 -0
  73. data/source/assets/javascripts/examples/custom_toolbar.js.coffee +30 -0
  74. data/source/assets/javascripts/spec.js +2 -0
  75. data/source/assets/javascripts/specs/cleaner.js.coffee +8 -0
  76. data/source/assets/javascripts/specs/dante_view.js.coffee +74 -0
  77. data/source/assets/javascripts/specs/editor.js.coffee +78 -0
  78. data/source/assets/stylesheets/_layout.scss +51 -0
  79. data/source/assets/stylesheets/_scaffold.scss +8 -0
  80. data/source/assets/stylesheets/_tooltips.scss +216 -0
  81. data/source/assets/stylesheets/all.css.scss +5 -0
  82. data/source/assets/stylesheets/dante-editor.css.scss +1 -0
  83. data/source/assets/stylesheets/normalize.css +375 -0
  84. data/source/custom_toolbar.erb +29 -0
  85. data/source/embeds.html.erb +27 -0
  86. data/source/icons/dante.json +143 -0
  87. data/source/icons/embed.svg +13 -0
  88. data/source/icons/image.svg +13 -0
  89. data/source/icons/plus.svg +13 -0
  90. data/source/icons/video.svg +13 -0
  91. data/source/index.html.erb +18 -0
  92. data/source/layouts/layout.erb +26 -0
  93. data/source/layouts/spec.html.erb +22 -0
  94. data/source/lists.html.erb +18 -0
  95. data/source/partials/_content.erb +6 -0
  96. data/source/partials/_example_1.erb +45 -0
  97. data/source/partials/_example_2.erb +32 -0
  98. data/source/partials/_example_3.erb +4 -0
  99. data/source/partials/_lists.erb +13 -0
  100. data/source/partials/_readme.markdown +24 -0
  101. data/source/partials/test/_example_1.erb +39 -0
  102. data/source/tests/dante_view.html.erb +11 -0
  103. data/source/tests/index.html.erb +39 -0
  104. data/tmp/.gitkeep +0 -0
  105. metadata +151 -0
@@ -0,0 +1,11 @@
1
+ @if $debugger {
2
+ .debug {
3
+ .section-inner {
4
+ .is-selected{
5
+ outline-color: rgb(85, 182, 179);
6
+ outline-width: thin;
7
+ outline-style: dotted;
8
+ }
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,17 @@
1
+ @mixin dante-font-face($font-family, $file-name, $font-weight: normal, $font-style: normal) {
2
+ @font-face {
3
+ font-family: '#{$font-family}';
4
+ src: font-url('dante/#{$file-name}.eot');
5
+ src: font-url('dante/#{$file-name}.eot?#iefix') format('embedded-opentype'),
6
+ font-url('dante/#{$file-name}.woff') format('woff'),
7
+ font-url('dante/#{$file-name}.ttf') format('truetype'),
8
+ font-url('dante/#{$file-name}.svg#{$file-name}') format('svg');
9
+ font-weight: $font-weight;
10
+ font-style: $font-style;
11
+ }
12
+ }
13
+
14
+ @include dante-font-face(dante, fontello);
15
+ @include dante-font-face(dante-tooltip, dante);
16
+
17
+ @import url(http://fonts.googleapis.com/css?family=Merriweather:400,700,400italic,700italic|Open+Sans:400,300,800);
@@ -0,0 +1,238 @@
1
+ .graf--h2,
2
+ .graf--h3,
3
+ .graf--h4,
4
+ .graf--h5,
5
+ .graf--h6,
6
+ .graf--h7,
7
+ .postList,
8
+ .graf--figure,
9
+ .graf--blockquote,
10
+ .graf--pullquote,
11
+ .graf--p,
12
+ .graf--pre {
13
+ margin: 0;
14
+ //position:relative;
15
+ }
16
+
17
+ .postList {
18
+ margin-bottom: 30px;
19
+ }
20
+
21
+ .graf--p,
22
+ .graf--blockquote,
23
+ .graf--pullquote {
24
+ margin-bottom: 30px;
25
+ }
26
+
27
+ .graf--p.spinner{
28
+ position:relative;
29
+ }
30
+
31
+ .graf--h2 {
32
+ font-family: $font-family-sans;
33
+ font-size: 60px;
34
+ font-style: normal;
35
+ font-weight: 700;
36
+ letter-spacing: -0.04em;
37
+ line-height: 1;
38
+ margin-bottom: 8px;
39
+ margin-left: -3px;
40
+ margin-top: 40px;
41
+ padding-top: 0;
42
+ }
43
+ .graf--h3 {
44
+ font-family: $font-family-sans;
45
+ letter-spacing: -0.02em;
46
+ font-weight: 700;
47
+ font-style: normal;
48
+ font-size: 36px;
49
+ margin-left: -1.8px;
50
+ line-height: 1.2;
51
+ margin-top: 40px;
52
+ margin-bottom: 4px;
53
+ }
54
+ .graf--h4 {
55
+ font-family: $font-family-sans;
56
+ letter-spacing: -0.02em;
57
+ font-weight: 300;
58
+ font-style: normal;
59
+ font-size: 30px;
60
+ margin-left: -1.5px;
61
+ line-height: 1.2;
62
+ color: rgba(0,0,0,0.44);
63
+ margin-top: 40px;
64
+ margin-bottom: 2px;
65
+ }
66
+
67
+ .section--first .graf--h2.graf--first,
68
+ .section--first .graf--h3.graf--first,
69
+ .section--first .graf--h4.graf--first {
70
+ margin-top: 0;
71
+ padding-top: 0;
72
+ }
73
+
74
+ .graf--h2 + .graf--h2 {
75
+ margin-top: -8px;
76
+ }
77
+
78
+ .graf--h2 + .graf--h3,
79
+ .graf--h2 + .graf--h4 {
80
+ margin-top: -6px;
81
+ }
82
+
83
+ .graf--h3 + .graf--h2,
84
+ .graf--h4 + .graf--h2 {
85
+ margin-top: 2px;
86
+ }
87
+
88
+ .graf--h3 + .graf--h4,
89
+ .graf--h4 + .graf--h3 {
90
+ margin-top: -2px;
91
+ }
92
+
93
+ .graf--h2 + .postList,
94
+ .graf--h3 + .postList,
95
+ .graf--h4 + .postList {
96
+ margin-top: 10px;
97
+ }
98
+
99
+ .graf--h2 + .graf--p.graf--empty,
100
+ .graf--h3 + .graf--p.graf--empty,
101
+ .graf--h4 + .graf--p.graf--empty {
102
+ margin-bottom: -7px;
103
+ margin-top: -7px;
104
+ }
105
+
106
+ .graf--h2 + .graf--p.graf--empty + .graf--h2,
107
+ .graf--h3 + .graf--p.graf--empty + .graf--h2,
108
+ .graf--h4 + .graf--p.graf--empty + .graf--h2 {
109
+ margin-top: -5px;
110
+ }
111
+
112
+ .graf--h2 + .graf--p.graf--empty + .graf--h3,
113
+ .graf--h3 + .graf--p.graf--empty + .graf--h3,
114
+ .graf--h4 + .graf--p.graf--empty + .graf--h3,
115
+ .graf--h2 + .graf--p.graf--empty + .graf--h4,
116
+ .graf--h3 + .graf--p.graf--empty + .graf--h4,
117
+ .graf--h4 + .graf--p.graf--empty + .graf--h4 {
118
+ margin-top: -8px;
119
+ }
120
+
121
+
122
+ .graf--blockquote {
123
+ font-family: $font-family-serif;
124
+ border-left: 3px solid rgba(0, 0, 0, 0.8);
125
+ font-style: italic;
126
+ font-weight: 400;
127
+ letter-spacing: 0.01rem;
128
+ margin-left: -23px;
129
+ padding-bottom: 3px;
130
+ padding-left: 20px;
131
+ }
132
+ .graf--blockquote + .graf--blockquote {
133
+ margin-top: -30px;
134
+ padding-top: 30px;
135
+ }
136
+
137
+ .graf--pullquote {
138
+ line-height: 1.4;
139
+ text-align: center;
140
+ font-size: 32px;
141
+ margin: 48px -160px;
142
+ border: none;
143
+ padding: 0;
144
+ font-family: $font-family-serif;
145
+ letter-spacing: 0.01rem;
146
+ font-weight: 400;
147
+ font-style: italic;
148
+ -webkit-transition: margin 100ms;
149
+ transition: margin 100ms;
150
+ }
151
+
152
+ .graf--pre {
153
+ background: none repeat scroll 0 0 rgba(0, 0, 0, 0.05);
154
+ font-family: $font-family-mono;
155
+ font-size: 16px;
156
+ margin-bottom: 20px;
157
+ padding: 20px;
158
+ white-space: pre-wrap;
159
+ }
160
+ .graf--pre + .graf--pre {
161
+ margin-top: -20px;
162
+ }
163
+
164
+ .graf--figure {
165
+ & {
166
+ box-sizing: border-box;
167
+ clear: both;
168
+ margin-bottom: 30px;
169
+ outline: medium none;
170
+ position: relative;
171
+ }
172
+ &.is-mediaFocused .graf-image,
173
+ &.is-mediaFocused iframe {
174
+ box-shadow: 0 0 0 3px #57ad68;
175
+ }
176
+ }
177
+
178
+ .graf--mixtapeEmbed {
179
+ a {
180
+ text-decoration: none;
181
+ }
182
+ }
183
+
184
+ .graf--h4 + .graf--figure,
185
+ .graf--h3 + .graf--figure,
186
+ .graf--h2 + .graf--figure {
187
+ margin-top: 15px;
188
+ }
189
+
190
+ .graf--first {
191
+ margin-top: 0;
192
+ padding-top: 0;
193
+ }
194
+
195
+ /*.graf--empty {
196
+ margin-bottom: -7px;
197
+ margin-top: -7px;
198
+ }*/
199
+
200
+ p[data-align="center"],
201
+ .graf--h2[data-align="center"],
202
+ .graf--h3[data-align="center"],
203
+ .graf--h4[data-align="center"],
204
+ .graf--blockquote[data-align="center"] {
205
+ text-align: center;
206
+ }
207
+
208
+ .markup--anchor,
209
+ .graf--sectionCaption {
210
+ cursor: text;
211
+ }
212
+ .markup--anchor {
213
+ text-decoration: underline;
214
+ color: inherit;
215
+ }
216
+
217
+ @media (max-width: 500px) {
218
+
219
+ .graf--h2 {
220
+ font-size: 36px;
221
+ line-height: 1.1;
222
+ padding-top: 12px;
223
+ margin-bottom: 6px;
224
+ }
225
+ .graf--h3 {
226
+ font-size: 26px;
227
+ line-height: 1.2;
228
+ margin-top: 18px;
229
+ margin-bottom: 4px;
230
+ }
231
+ .graf--h4 {
232
+ font-size: 24px;
233
+ line-height: 1.2;
234
+ margin-top: 18px;
235
+ margin-bottom: 2px;
236
+ }
237
+
238
+ }
@@ -0,0 +1,57 @@
1
+ .dante-icon {
2
+ &:before {
3
+ display: inline-block;
4
+ font-family: "dante";
5
+ font-style: normal;
6
+ font-variant: normal;
7
+ font-weight: normal;
8
+ line-height: 1em;
9
+ text-align: center;
10
+ text-decoration: inherit;
11
+ text-transform: none;
12
+ }
13
+ }
14
+
15
+ .icon-h2:before { content: "H1"; }
16
+ .icon-h3:before { content: "H2"; }
17
+ .icon-h4:before { content: "H3"; }
18
+ .icon-p:before { content: "P"; }
19
+ .icon-code:before { content: ""; }
20
+ .icon-insertorderedlist:before { content: ""; }
21
+ .icon-insertunorderedlist:before { content: ""; }
22
+ .icon-inserthorizontalrule:before { content: ""; }
23
+ .icon-indent:before { content: ""; }
24
+ .icon-outdent:before { content: ""; }
25
+ .icon-bold:before { content: ""; }
26
+ .icon-italic:before { content: ""; }
27
+ .icon-underline:before { content: ""; }
28
+ .icon-createlink:before { content: ""; }
29
+ .icon-blockquote:before { content: ""; }
30
+
31
+ .icon-h2:before,
32
+ .icon-h3:before,
33
+ .icon-h4:before {
34
+ font-weight: bold;
35
+ }
36
+
37
+
38
+ .tooltip-icon {
39
+ &:before {
40
+ font-family: 'dante-tooltip';
41
+ speak: none;
42
+ font-style: normal;
43
+ font-weight: normal;
44
+ font-variant: normal;
45
+ text-transform: none;
46
+ line-height: 1;
47
+
48
+ // Better Font Rendering
49
+ -webkit-font-smoothing: antialiased;
50
+ -moz-osx-font-smoothing: grayscale;
51
+ }
52
+ }
53
+
54
+ .icon-video:before { content: "\e600"; }
55
+ .icon-image:before { content: "\e601"; }
56
+ .icon-plus:before { content: "\e602"; }
57
+ .icon-embed:before { content: "\e603"; }
@@ -0,0 +1,39 @@
1
+ .aspectRatioPlaceholder {
2
+ margin: 0 auto;
3
+ position: relative;
4
+ width: 100%;
5
+ }
6
+
7
+ .graf-image:before,
8
+ .iframeContainer:before {
9
+ .is-postEditMode & {
10
+ bottom: 0;
11
+ content: "";
12
+ left: 0;
13
+ position: absolute;
14
+ right: 0;
15
+ top: 0;
16
+ z-index: 500;
17
+ }
18
+ }
19
+
20
+ .graf-image,
21
+ .graf-imageAnchor {
22
+ .aspectRatioPlaceholder.is-locked & {
23
+ height: 100%;
24
+ left: 0;
25
+ position: absolute;
26
+ top: 0;
27
+ width: 100%;
28
+ }
29
+ }
30
+
31
+ .graf-image,
32
+ .graf-imageAnchor,
33
+ .iframeContainer > iframe,
34
+ .iframeContainer {
35
+ box-sizing: border-box;
36
+ display: block;
37
+ margin: auto;
38
+ max-width: 100%;
39
+ }
@@ -0,0 +1,153 @@
1
+ .dante-menu {
2
+
3
+ // MENU
4
+ position: absolute;
5
+ visibility: hidden;
6
+ z-index: 1000;
7
+ -webkit-transition: none;
8
+ transition: none;
9
+ display: none;
10
+ top: 0;
11
+ left: 0;
12
+ display:block;
13
+ white-space: nowrap;
14
+
15
+ height: $menu-height;
16
+ background: $menu-background;
17
+ border: $menu-border;
18
+ border-radius: $menu-border-radius;
19
+ box-shadow: $menu-shadow;
20
+
21
+
22
+ // CARET
23
+ &:after,
24
+ &:before {
25
+ content: "";
26
+ height: 0;
27
+ width: 0;
28
+ position: absolute;
29
+ left: 50%;
30
+ pointer-events: none;
31
+ border: $menu-caret-size solid transparent;
32
+ margin-left: -($menu-caret-size/2);
33
+ }
34
+ &:after {
35
+ border-top-color: $menu-tone;
36
+ bottom: -(($menu-caret-size*2)-1);
37
+ }
38
+ &:before {
39
+ border-top-color: $menu-border-color;
40
+ bottom: -($menu-caret-size*2);
41
+ }
42
+
43
+ }
44
+
45
+ .dante-menu--active {
46
+ display: inline-block;
47
+ visibility: visible;
48
+ -webkit-animation: pop-upwards 180ms forwards linear;
49
+ animation: pop-upwards 180ms forwards linear;
50
+ }
51
+
52
+ .dante-menu--linkmode {
53
+ .dante-menu-buttons {
54
+ visibility: hidden;
55
+ }
56
+ .dante-menu-linkinput {
57
+ display: block;
58
+ }
59
+ .dante-menu-input {
60
+ -webkit-animation: pop-upwards 180ms forwards linear;
61
+ animation: pop-upwards 180ms forwards linear;
62
+ }
63
+ }
64
+
65
+ // BUTONS
66
+ .dante-menu-buttons {
67
+ list-style: none;
68
+ margin: 0;
69
+ padding: 0;
70
+ line-height: 0;
71
+ }
72
+ .dante-menu-button {
73
+ & {
74
+ min-width: 20px;
75
+ display: inline-block;
76
+ padding-left: 10px;
77
+ padding-right: 10px;
78
+ overflow: hidden;
79
+ text-align: center;
80
+ color: $menu-color;
81
+ cursor: pointer;
82
+ font-size: 16px;
83
+ line-height: $menu-button-height;
84
+ height: $menu-button-height;
85
+ -webkit-user-select: none;
86
+ -moz-user-select: none;
87
+ -ms-user-select: none;
88
+ user-select: none;
89
+ }
90
+ &:hover{
91
+ // nada
92
+ }
93
+ &.active{
94
+ color: $menu-color-active;
95
+ }
96
+
97
+ &:first-child {
98
+ border-top-left-radius: $menu-border-radius;
99
+ border-bottom-left-radius: $menu-border-radius;
100
+ padding-left: 18px;
101
+ }
102
+ &:last-child {
103
+ border-top-right-radius: $menu-border-radius;
104
+ border-bottom-right-radius: $menu-border-radius;
105
+ padding-right: 18px;
106
+ }
107
+ }
108
+
109
+ // LINK
110
+ .dante-menu-linkinput {
111
+ & {
112
+ display: none;
113
+ position: absolute;
114
+ top: 0;
115
+ left: 0;
116
+ right: 0;
117
+ bottom: 0;
118
+ }
119
+ .dante-menu-button {
120
+ position: absolute;
121
+ top: 0;
122
+ right: 0;
123
+ }
124
+ }
125
+
126
+ .dante-menu-input {
127
+ //height: $menu-height - 2;
128
+ //line-height: 20px;
129
+ position: absolute;
130
+ top: 0;
131
+ left: 0;
132
+ background: rgba(0,0,0,0);
133
+ width: 100%;
134
+ padding: 13px 40px 13px 10px;
135
+ color: $menu-color;
136
+ border: none;
137
+ outline: none;
138
+ font-size: 16px;
139
+ box-sizing: border-box;
140
+ border-radius: $menu-border-radius;
141
+ appearance: none;
142
+ text-align: left;
143
+ font-family: $font-family-serif;
144
+ letter-spacing: 0.01rem;
145
+ font-weight: 400;
146
+ font-style: normal;
147
+ text-rendering: optimizeLegibility;
148
+ -webkit-font-smoothing: antialiased;
149
+ -moz-osx-font-smoothing: grayscale;
150
+ -moz-font-feature-settings: "liga" on;
151
+ }
152
+
153
+
@@ -0,0 +1,209 @@
1
+
2
+ .editable .markup--anchor,
3
+ .editable .graf--sectionCaption {
4
+ cursor: text;
5
+ }
6
+
7
+ /*
8
+ .markup--anchor {
9
+ background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 50%);
10
+ //background-position: 0 24px;
11
+ background-position: 0 19px;
12
+ background-repeat: repeat-x;
13
+ background-size: 2px 2px;
14
+ text-decoration: none;
15
+ color: rgba(0, 0, 0, 1);
16
+ //border-bottom: 1px solid rgba(0,0,0,.4);
17
+ }
18
+
19
+ h4 .markup--anchor {
20
+ background-position: 0 34px;
21
+ }
22
+ */
23
+
24
+
25
+ // .aspectRatioPlaceholder {
26
+ // margin: 0 auto;
27
+ // position: relative;
28
+ // width: 100%;
29
+ // }
30
+
31
+ // .is-postEditMode .graf-image:before,
32
+ // .is-postEditMode .iframeContainer:before {
33
+ // bottom: 0;
34
+ // content: "";
35
+ // left: 0;
36
+ // position: absolute;
37
+ // right: 0;
38
+ // top: 0;
39
+ // z-index: 500;
40
+ // }
41
+
42
+ // .graf--figure.is-mediaFocused .graf-image,
43
+ // .graf--figure.is-mediaFocused iframe {
44
+ // box-shadow: 0 0 0 3px #57ad68;
45
+ // }
46
+
47
+ // .aspectRatioPlaceholder.is-locked .graf-image,
48
+ // .aspectRatioPlaceholder.is-locked .graf-imageAnchor {
49
+ // height: 100%;
50
+ // left: 0;
51
+ // position: absolute;
52
+ // top: 0;
53
+ // width: 100%;
54
+ // }
55
+
56
+ // .graf-image,
57
+ // .graf-imageAnchor,
58
+ // .iframeContainer > iframe,
59
+ // .iframeContainer {
60
+ // box-sizing: border-box;
61
+ // display: block;
62
+ // margin: auto;
63
+ // max-width: 100%;
64
+ // }
65
+
66
+ .is-postEditMode iframe {
67
+ border: 3px solid rgba(255, 255, 255, 0);
68
+ }
69
+
70
+ .graf--mixtapeEmbed {
71
+ border-color: rgba(0, 0, 0, 0.15);
72
+ border-radius: 5px;
73
+ border-style: solid;
74
+ border-width: 1px;
75
+ box-sizing: border-box;
76
+ color: rgba(0, 0, 0, 0.6);
77
+ font-family: $font-family-sans;
78
+ font-size: 12px;
79
+ font-style: normal;
80
+ font-weight: 300;
81
+ letter-spacing: -0.02em;
82
+ margin-bottom: 40px;
83
+ margin-top: 40px;
84
+ max-height: 310px;
85
+ max-width: 700px;
86
+ overflow: hidden;
87
+ padding: 30px;
88
+ position: relative;
89
+ }
90
+
91
+ .mixtapeImage {
92
+ background-position: center center;
93
+ background-repeat: no-repeat;
94
+ background-size: cover;
95
+ float: right;
96
+ height: 310px;
97
+ margin: -30px -30px 0 25px;
98
+ width: 310px;
99
+ }
100
+
101
+ .mixtapeImage--empty {
102
+ height: 0;
103
+ width: 0;
104
+ }
105
+
106
+ .graf--mixtapeEmbed {
107
+ color: rgba(0, 0, 0, 0.6);
108
+ font-family: $font-family-sans;
109
+ font-size: 12px;
110
+ font-style: normal;
111
+ font-weight: 300;
112
+ letter-spacing: -0.02em;
113
+ }
114
+
115
+ .markup--mixtapeEmbed-strong {
116
+ color: #000;
117
+ display: block;
118
+ font-family: $font-family-sans;
119
+ font-size: 30px;
120
+ font-style: normal;
121
+ font-weight: 300;
122
+ letter-spacing: -0.02em;
123
+ line-height: 1.2;
124
+ margin-bottom: 0px;
125
+ }
126
+
127
+ .markup--mixtapeEmbed-em {
128
+ display: block;
129
+ font-size: 16px;
130
+ font-style: normal;
131
+ margin-bottom: 10px;
132
+ max-height: 120px;
133
+ overflow: hidden;
134
+ }
135
+
136
+ /*CAPTION*/
137
+
138
+
139
+ // .imageCaption:before {
140
+ // border-top: 1px solid rgba(0, 0, 0, 0.15);
141
+ // content: "";
142
+ // display: block;
143
+ // margin-bottom: 10px;
144
+ // margin-left: 75%;
145
+ // width: 25%;
146
+ // }
147
+
148
+ // .imageCaption {
149
+ // color: rgba(0, 0, 0, 0.6);
150
+ // font-family: $font-family-serif;
151
+ // font-size: 14px;
152
+ // font-style: italic;
153
+ // font-weight: 400;
154
+ // left: -172px;
155
+ // letter-spacing: 0.01rem;
156
+ // line-height: 1.4;
157
+ // margin-top: 0;
158
+ // outline: 0 none;
159
+ // position: absolute;
160
+ // text-align: right;
161
+ // top: 0;
162
+ // width: 150px;
163
+ // z-index: 300;
164
+ // }
165
+
166
+ // .graf--figure.is-mediaFocused .imageCaption,
167
+ // .graf--figure.is-defaultValue.is-selected .imageCaption,
168
+ // section.is-mediaFocused .graf--sectionCaption,
169
+ // .graf--sectionCaption.is-defaultValue.is-selected {
170
+ // display: block;
171
+ // }
172
+
173
+ // figure.is-defaultValue .imageCaption,
174
+ // .graf--sectionCaption.is-defaultValue {
175
+ // display: none;
176
+ // }
177
+
178
+ .editor a {
179
+ a {
180
+ color: inherit;
181
+ text-decoration: none;
182
+ }
183
+ }
184
+
185
+ .defaultValue {
186
+ color: rgba(0,0,0,0.3);
187
+ }
188
+
189
+ section:first-child > .section-divider,
190
+ section.is-backgrounded + section > .section-divider {
191
+ display: none;
192
+ }
193
+ // .postArticle .layoutSingleColumn,
194
+ // .postFooter--loggedOut .layoutSingleColumn {
195
+ // width: 700px;
196
+ // }
197
+
198
+ // .layoutSingleColumn {
199
+ // margin: 0 auto;
200
+ // width: 640px;
201
+ // }
202
+
203
+ .defaultValue--prompt {
204
+ font-family: $font-family-sans;
205
+ font-size: 18px;
206
+ font-style: normal;
207
+ font-weight: 400;
208
+ letter-spacing: -0.02em;
209
+ }