author | ymh <ymh.work@gmail.com> |
Mon, 08 Sep 2025 19:44:41 +0200 | |
changeset 23 | 417f20492bf7 |
parent 22 | 8c2e4d02f4ef |
permissions | -rw-r--r-- |
5 | 1 |
/* Additional default styles for the editor */ |
2 |
||
3 |
html { |
|
4 |
cursor: text; |
|
5 |
} |
|
6 |
||
7 |
html.ios { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
8 |
width: 100px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
9 |
min-width: 100%; |
5 | 10 |
} |
11 |
||
12 |
body { |
|
13 |
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; |
|
14 |
font-size: 16px; |
|
15 |
line-height: 1.5; |
|
16 |
color: #333; |
|
17 |
margin: 9px 10px; |
|
18 |
max-width: 100%; |
|
19 |
-webkit-font-smoothing: antialiased !important; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
20 |
overflow-wrap: break-word; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
21 |
word-wrap: break-word; /* Old syntax */ |
5 | 22 |
} |
23 |
||
24 |
body.rtl { |
|
25 |
font-family: Tahoma, "Times New Roman", "Bitstream Charter", Times, serif; |
|
26 |
} |
|
27 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
28 |
body.locale-he-il, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
29 |
body.locale-vi { |
5 | 30 |
font-family: Arial, "Times New Roman", "Bitstream Charter", Times, serif; |
31 |
} |
|
32 |
||
33 |
body.wp-autoresize { |
|
34 |
overflow: visible !important; |
|
35 |
/* The padding ensures margins of the children are contained in the body. */ |
|
36 |
padding-top: 1px !important; |
|
37 |
padding-bottom: 1px !important; |
|
38 |
padding-left: 0 !important; |
|
39 |
padding-right: 0 !important; |
|
40 |
} |
|
41 |
||
42 |
/* When font-weight is different than the default browser style, |
|
43 |
Chrome and Safari replace <strong> and <b> with spans with inline styles on pasting?! */ |
|
44 |
body.webkit strong, |
|
45 |
body.webkit b { |
|
46 |
font-weight: bold !important; |
|
47 |
} |
|
48 |
||
49 |
pre { |
|
50 |
font-family: Consolas, Monaco, monospace; |
|
51 |
} |
|
52 |
||
53 |
td, |
|
54 |
th { |
|
55 |
font-family: inherit; |
|
56 |
font-size: inherit; |
|
57 |
} |
|
58 |
||
59 |
/* For emoji replacement images */ |
|
60 |
img.emoji { |
|
61 |
display: inline !important; |
|
62 |
border: none !important; |
|
63 |
height: 1em !important; |
|
64 |
width: 1em !important; |
|
65 |
margin: 0 .07em !important; |
|
66 |
vertical-align: -0.1em !important; |
|
67 |
background: none !important; |
|
68 |
padding: 0 !important; |
|
69 |
-webkit-box-shadow: none !important; |
|
70 |
box-shadow: none !important; |
|
71 |
} |
|
72 |
||
73 |
.mceIEcenter { |
|
74 |
text-align: center; |
|
75 |
} |
|
76 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
77 |
img { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
78 |
height: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
79 |
max-width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
80 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
81 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
82 |
.wp-caption { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
83 |
margin: 0; /* browser reset */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
84 |
max-width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
85 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
86 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
87 |
/* iOS does not obey max-width if width is set. */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
88 |
.ios .wp-caption { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
89 |
width: auto !important; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
90 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
91 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
92 |
dl.wp-caption dt.wp-caption-dt img { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
93 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
94 |
margin-bottom: -1ex; |
5 | 95 |
} |
96 |
||
97 |
div.mceTemp { |
|
98 |
-ms-user-select: element; |
|
99 |
} |
|
100 |
||
101 |
dl.wp-caption, |
|
102 |
dl.wp-caption * { |
|
103 |
-webkit-user-drag: none; |
|
104 |
} |
|
105 |
||
106 |
.wp-caption-dd { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
107 |
font-size: 14px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
108 |
padding-top: 0.5em; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
109 |
margin: 0; /* browser reset */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
110 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
111 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
112 |
.aligncenter { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
113 |
display: block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
114 |
margin-left: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
115 |
margin-right: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
116 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
117 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
118 |
.alignleft { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
119 |
float: left; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
120 |
margin: 0.5em 1em 0.5em 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
121 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
122 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
123 |
.alignright { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
124 |
float: right; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
125 |
margin: 0.5em 0 0.5em 1em; |
5 | 126 |
} |
127 |
||
128 |
/* Remove blue highlighting of selected images in WebKit */ |
|
129 |
img[data-mce-selected]::selection { |
|
130 |
background-color: transparent; |
|
131 |
} |
|
132 |
||
133 |
/* Styles for the WordPress plugins */ |
|
134 |
.mce-content-body img[data-mce-placeholder] { |
|
135 |
border-radius: 0; |
|
136 |
padding: 0; |
|
137 |
} |
|
138 |
||
139 |
.mce-content-body img[data-wp-more] { |
|
140 |
border: 0; |
|
141 |
-webkit-box-shadow: none; |
|
142 |
box-shadow: none; |
|
143 |
width: 96%; |
|
144 |
height: 16px; |
|
145 |
display: block; |
|
146 |
margin: 15px auto 0; |
|
147 |
outline: 0; |
|
148 |
cursor: default; |
|
149 |
} |
|
150 |
||
151 |
.mce-content-body img[data-mce-placeholder][data-mce-selected] { |
|
152 |
outline: 1px dotted #888; |
|
153 |
} |
|
154 |
||
155 |
.mce-content-body img[data-wp-more="more"] { |
|
156 |
background: transparent url( images/more.png ) repeat-y scroll center center; |
|
157 |
} |
|
158 |
||
159 |
.mce-content-body img[data-wp-more="nextpage"] { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
160 |
background: transparent url( images/pagebreak.png ) repeat-y scroll center center; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
161 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
162 |
|
22
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
16
diff
changeset
|
163 |
.mce-object-style { |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
16
diff
changeset
|
164 |
background-image: url( images/style.svg ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
16
diff
changeset
|
165 |
} |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
16
diff
changeset
|
166 |
|
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
16
diff
changeset
|
167 |
.mce-object-script { |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
16
diff
changeset
|
168 |
background-image: url( images/script.svg ); |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
16
diff
changeset
|
169 |
} |
8c2e4d02f4ef
Update WordPress to latest version (6.7)
ymh <ymh.work@gmail.com>
parents:
16
diff
changeset
|
170 |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
171 |
/* Styles for formatting the boundaries of anchors and code elements */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
172 |
.mce-content-body a[data-mce-selected] { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
173 |
padding: 0 2px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
174 |
margin: 0 -2px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
175 |
border-radius: 2px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
176 |
box-shadow: 0 0 0 1px #bfe6ff; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
177 |
background: #bfe6ff; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
178 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
179 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
180 |
.mce-content-body .wp-caption-dt a[data-mce-selected] { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
181 |
outline: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
182 |
padding: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
183 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
184 |
box-shadow: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
185 |
background: transparent; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
186 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
187 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
188 |
.mce-content-body code { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
189 |
padding: 2px 4px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
190 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
191 |
border-radius: 2px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
192 |
color: #222; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
193 |
background: #f2f4f5; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
194 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
195 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
196 |
.mce-content-body code[data-mce-selected] { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
197 |
background: #e9ebec; |
5 | 198 |
} |
199 |
||
200 |
/* Gallery, audio, video placeholders */ |
|
201 |
.mce-content-body img.wp-media { |
|
202 |
border: 1px solid #aaa; |
|
203 |
background-color: #f2f2f2; |
|
204 |
background-repeat: no-repeat; |
|
205 |
background-position: center center; |
|
206 |
width: 99%; |
|
207 |
height: 250px; |
|
208 |
outline: 0; |
|
209 |
cursor: pointer; |
|
210 |
} |
|
211 |
||
212 |
.mce-content-body img.wp-media:hover { |
|
213 |
background-color: #ededed; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
214 |
border-color: #72777c; |
5 | 215 |
} |
216 |
||
217 |
.mce-content-body img.wp-media.wp-media-selected { |
|
218 |
background-color: #d8d8d8; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
219 |
border-color: #72777c; |
5 | 220 |
} |
221 |
||
222 |
.mce-content-body img.wp-media.wp-gallery { |
|
223 |
background-image: url(images/gallery.png); |
|
224 |
} |
|
225 |
||
226 |
/* Image resize handles */ |
|
227 |
.mce-content-body div.mce-resizehandle { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
228 |
border-color: #72777c; |
5 | 229 |
width: 7px; |
230 |
height: 7px; |
|
231 |
} |
|
232 |
||
233 |
.mce-content-body img[data-mce-selected] { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
234 |
outline: 1px solid #72777c; |
5 | 235 |
} |
236 |
||
237 |
.mce-content-body img[data-mce-resize="false"] { |
|
238 |
outline: 0; |
|
239 |
} |
|
240 |
||
241 |
audio, |
|
242 |
video, |
|
243 |
embed { |
|
244 |
display: -moz-inline-stack; |
|
245 |
display: inline-block; |
|
246 |
} |
|
247 |
||
248 |
audio { |
|
249 |
visibility: hidden; |
|
250 |
} |
|
251 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
252 |
/* Fix for proprietary Mozilla display attribute, see #38757 */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
253 |
[_moz_abspos] { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
254 |
outline: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
255 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
256 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
257 |
a[data-wplink-url-error], |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
258 |
a[data-wplink-url-error]:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
259 |
a[data-wplink-url-error]:focus { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
260 |
outline: 2px dotted #dc3232; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
261 |
position: relative; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
262 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
263 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
264 |
a[data-wplink-url-error]:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
265 |
content: ""; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
266 |
display: block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
267 |
position: absolute; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
268 |
top: -2px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
269 |
right: -2px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
270 |
bottom: -2px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
271 |
left: -2px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
272 |
outline: 2px dotted #fff; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
273 |
z-index: -1; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
274 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
275 |
|
5 | 276 |
/** |
277 |
* WP Views |
|
278 |
*/ |
|
279 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
280 |
.wpview { |
5 | 281 |
width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */ |
282 |
position: relative; |
|
283 |
clear: both; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
284 |
margin-bottom: 16px; |
5 | 285 |
border: 1px solid transparent; |
286 |
} |
|
287 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
288 |
.mce-shim { |
5 | 289 |
position: absolute; |
290 |
top: 0; |
|
291 |
right: 0; |
|
292 |
bottom: 0; |
|
293 |
left: 0; |
|
294 |
} |
|
295 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
296 |
.wpview[data-mce-selected="2"] .mce-shim { |
5 | 297 |
display: none; |
298 |
} |
|
299 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
300 |
.wpview .loading-placeholder { |
5 | 301 |
border: 1px dashed #ccc; |
302 |
padding: 10px; |
|
303 |
} |
|
304 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
305 |
.wpview[data-mce-selected] .loading-placeholder { |
5 | 306 |
border-color: transparent; |
307 |
} |
|
308 |
||
309 |
/* A little "loading" animation, not showing in IE < 10 */ |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
310 |
.wpview .wpview-loading { |
5 | 311 |
width: 60px; |
312 |
height: 5px; |
|
313 |
overflow: hidden; |
|
314 |
background-color: transparent; |
|
315 |
margin: 10px auto 0; |
|
316 |
} |
|
317 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
318 |
.wpview .wpview-loading ins { |
5 | 319 |
background-color: #333; |
320 |
margin: 0 0 0 -60px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
321 |
width: 36px; |
5 | 322 |
height: 5px; |
323 |
display: block; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
324 |
-webkit-animation: wpview-loading 1.3s infinite 1s steps(36); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
325 |
animation: wpview-loading 1.3s infinite 1s steps(36); |
5 | 326 |
} |
327 |
||
328 |
@-webkit-keyframes wpview-loading { |
|
329 |
0% { |
|
330 |
margin-left: -60px; |
|
331 |
} |
|
332 |
100% { |
|
333 |
margin-left: 60px; |
|
334 |
} |
|
335 |
} |
|
336 |
||
337 |
@keyframes wpview-loading { |
|
338 |
0% { |
|
339 |
margin-left: -60px; |
|
340 |
} |
|
341 |
100% { |
|
342 |
margin-left: 60px; |
|
343 |
} |
|
344 |
} |
|
345 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
346 |
.wpview .wpview-content > iframe { |
5 | 347 |
max-width: 100%; |
348 |
background: transparent; |
|
349 |
} |
|
350 |
||
351 |
.wpview-error { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
352 |
border: 1px solid #ddd; |
5 | 353 |
padding: 1em 0; |
354 |
margin: 0; |
|
355 |
word-wrap: break-word; |
|
356 |
} |
|
357 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
358 |
.wpview[data-mce-selected] .wpview-error { |
5 | 359 |
border-color: transparent; |
360 |
} |
|
361 |
||
362 |
.wpview-error .dashicons, |
|
363 |
.loading-placeholder .dashicons { |
|
364 |
display: block; |
|
365 |
margin: 0 auto; |
|
366 |
width: 32px; |
|
367 |
height: 32px; |
|
368 |
font-size: 32px; |
|
369 |
} |
|
370 |
||
371 |
.wpview-error p { |
|
372 |
margin: 0; |
|
373 |
text-align: center; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
374 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
5 | 375 |
} |
376 |
||
377 |
.wpview-type-gallery:after { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
378 |
content: ""; |
5 | 379 |
display: table; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
380 |
clear: both; |
5 | 381 |
} |
382 |
||
383 |
.gallery img[data-mce-selected]:focus { |
|
384 |
outline: none; |
|
385 |
} |
|
386 |
||
387 |
.gallery a { |
|
388 |
cursor: default; |
|
389 |
} |
|
390 |
||
391 |
.gallery { |
|
392 |
margin: auto -6px; |
|
393 |
padding: 6px 0; |
|
394 |
line-height: 1; |
|
395 |
overflow-x: hidden; |
|
396 |
} |
|
397 |
||
398 |
.ie7 .gallery, |
|
399 |
.ie8 .gallery { |
|
400 |
margin: auto; |
|
401 |
} |
|
402 |
||
403 |
.gallery .gallery-item { |
|
404 |
float: left; |
|
405 |
margin: 0; |
|
406 |
text-align: center; |
|
407 |
padding: 6px; |
|
408 |
-webkit-box-sizing: border-box; |
|
409 |
-moz-box-sizing: border-box; |
|
410 |
box-sizing: border-box; |
|
411 |
} |
|
412 |
||
413 |
.ie7 .gallery .gallery-item, |
|
414 |
.ie8 .gallery .gallery-item { |
|
415 |
padding: 6px 0; |
|
416 |
} |
|
417 |
||
418 |
.gallery .gallery-caption, |
|
419 |
.gallery .gallery-icon { |
|
420 |
margin: 0; |
|
421 |
} |
|
422 |
||
423 |
.gallery .gallery-caption { |
|
424 |
font-size: 13px; |
|
425 |
margin: 4px 0; |
|
426 |
} |
|
427 |
||
428 |
.gallery-columns-1 .gallery-item { |
|
429 |
width: 100%; |
|
430 |
} |
|
431 |
||
432 |
.gallery-columns-2 .gallery-item { |
|
433 |
width: 50%; |
|
434 |
} |
|
435 |
||
436 |
.gallery-columns-3 .gallery-item { |
|
437 |
width: 33.333%; |
|
438 |
} |
|
439 |
||
440 |
.ie8 .gallery-columns-3 .gallery-item, |
|
441 |
.ie7 .gallery-columns-3 .gallery-item { |
|
442 |
width: 33%; |
|
443 |
} |
|
444 |
||
445 |
.gallery-columns-4 .gallery-item { |
|
446 |
width: 25%; |
|
447 |
} |
|
448 |
||
449 |
.gallery-columns-5 .gallery-item { |
|
450 |
width: 20%; |
|
451 |
} |
|
452 |
||
453 |
.gallery-columns-6 .gallery-item { |
|
454 |
width: 16.665%; |
|
455 |
} |
|
456 |
||
457 |
.gallery-columns-7 .gallery-item { |
|
458 |
width: 14.285%; |
|
459 |
} |
|
460 |
||
461 |
.gallery-columns-8 .gallery-item { |
|
462 |
width: 12.5%; |
|
463 |
} |
|
464 |
||
465 |
.gallery-columns-9 .gallery-item { |
|
466 |
width: 11.111%; |
|
467 |
} |
|
468 |
||
469 |
.gallery img { |
|
470 |
max-width: 100%; |
|
471 |
height: auto; |
|
472 |
border: none; |
|
473 |
padding: 0; |
|
474 |
} |
|
475 |
||
476 |
img.wp-oembed { |
|
477 |
border: 1px dashed #888; |
|
478 |
background: #f7f5f2 url(images/embedded.png) no-repeat scroll center center; |
|
479 |
width: 300px; |
|
480 |
height: 250px; |
|
481 |
outline: 0; |
|
482 |
} |
|
483 |
||
484 |
/* rtl */ |
|
485 |
.rtl .gallery .gallery-item { |
|
486 |
float: right; |
|
487 |
} |
|
488 |
||
489 |
@media print, |
|
490 |
(-o-min-device-pixel-ratio: 5/4), |
|
491 |
(-webkit-min-device-pixel-ratio: 1.25), |
|
492 |
(min-resolution: 120dpi) { |
|
493 |
||
494 |
.mce-content-body img.mce-wp-more { |
|
495 |
background-image: url( images/more-2x.png ); |
|
496 |
background-size: 1900px 20px; |
|
497 |
} |
|
498 |
||
499 |
.mce-content-body img.mce-wp-nextpage { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
500 |
background-image: url( images/pagebreak-2x.png ); |
5 | 501 |
background-size: 1900px 20px; |
502 |
} |
|
503 |
} |