author | ymh <ymh.work@gmail.com> |
Mon, 14 Oct 2019 18:28:13 +0200 | |
changeset 9 | 177826044cd9 |
parent 7 | cf61fcea0001 |
child 16 | a86126ab1dd4 |
permissions | -rw-r--r-- |
5 | 1 |
/* ---------------------------------------------------------------------------- |
2 |
||
3 |
NOTE: If you edit this file, you should make sure that the CSS rules for |
|
4 |
buttons in the following files are updated. |
|
5 |
||
6 |
* jquery-ui-dialog.css |
|
7 |
* editor.css |
|
8 |
||
9 |
WordPress-style Buttons |
|
10 |
======================= |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
11 |
Create a button by adding the `.button` class to an element. For backward |
5 | 12 |
compatibility, we support several other classes (such as `.button-secondary`), |
13 |
but these will *not* work with the stackable classes described below. |
|
14 |
||
15 |
Button Styles |
|
16 |
------------- |
|
17 |
To display a primary button style, add the `.button-primary` class to a button. |
|
18 |
||
19 |
Button Sizes |
|
20 |
------------ |
|
21 |
Adjust a button's size by adding the `.button-large` or `.button-small` class. |
|
22 |
||
23 |
Button States |
|
24 |
------------- |
|
25 |
Lock the state of a button by adding the name of the pseudoclass as |
|
26 |
an actual class (e.g. `.hover` for `:hover`). |
|
27 |
||
28 |
||
29 |
TABLE OF CONTENTS: |
|
30 |
------------------ |
|
31 |
1.0 - Button Layouts |
|
32 |
2.0 - Default Button Style |
|
33 |
3.0 - Primary Button Style |
|
34 |
4.0 - Button Groups |
|
35 |
5.0 - Responsive Button Styles |
|
36 |
||
37 |
---------------------------------------------------------------------------- */ |
|
38 |
||
39 |
/* ---------------------------------------------------------------------------- |
|
40 |
1.0 - Button Layouts |
|
41 |
---------------------------------------------------------------------------- */ |
|
42 |
||
43 |
.wp-core-ui .button, |
|
44 |
.wp-core-ui .button-primary, |
|
45 |
.wp-core-ui .button-secondary { |
|
46 |
display: inline-block; |
|
47 |
text-decoration: none; |
|
48 |
font-size: 13px; |
|
49 |
line-height: 26px; |
|
50 |
height: 28px; |
|
51 |
margin: 0; |
|
52 |
padding: 0 10px 1px; |
|
53 |
cursor: pointer; |
|
54 |
border-width: 1px; |
|
55 |
border-style: solid; |
|
56 |
-webkit-appearance: none; |
|
57 |
border-radius: 3px; |
|
58 |
white-space: nowrap; |
|
59 |
box-sizing: border-box; |
|
60 |
} |
|
61 |
||
62 |
/* Remove the dotted border on :focus and the extra padding in Firefox */ |
|
63 |
.wp-core-ui button::-moz-focus-inner, |
|
64 |
.wp-core-ui input[type="reset"]::-moz-focus-inner, |
|
65 |
.wp-core-ui input[type="button"]::-moz-focus-inner, |
|
66 |
.wp-core-ui input[type="submit"]::-moz-focus-inner { |
|
67 |
border-width: 0; |
|
68 |
border-style: none; |
|
69 |
padding: 0; |
|
70 |
} |
|
71 |
||
72 |
.wp-core-ui .button.button-large, |
|
73 |
.wp-core-ui .button-group.button-large .button { |
|
74 |
height: 30px; |
|
9 | 75 |
line-height: 28px; |
76 |
padding: 0 12px 2px; |
|
5 | 77 |
} |
78 |
||
79 |
.wp-core-ui .button.button-small, |
|
80 |
.wp-core-ui .button-group.button-small .button { |
|
81 |
height: 24px; |
|
82 |
line-height: 22px; |
|
83 |
padding: 0 8px 1px; |
|
84 |
font-size: 11px; |
|
85 |
} |
|
86 |
||
87 |
.wp-core-ui .button.button-hero, |
|
88 |
.wp-core-ui .button-group.button-hero .button { |
|
89 |
font-size: 14px; |
|
90 |
height: 46px; |
|
91 |
line-height: 44px; |
|
92 |
padding: 0 36px; |
|
93 |
} |
|
94 |
||
9 | 95 |
/* Only visible in Windows High Contrast mode */ |
5 | 96 |
.wp-core-ui .button:active, |
97 |
.wp-core-ui .button:focus { |
|
9 | 98 |
outline: 2px solid transparent; |
99 |
/* Reset inherited offset from Gutenberg */ |
|
100 |
outline-offset: 0; |
|
5 | 101 |
} |
102 |
||
103 |
.wp-core-ui .button.hidden { |
|
104 |
display: none; |
|
105 |
} |
|
106 |
||
107 |
/* Style Reset buttons as simple text links */ |
|
108 |
||
109 |
.wp-core-ui input[type="reset"], |
|
110 |
.wp-core-ui input[type="reset"]:hover, |
|
111 |
.wp-core-ui input[type="reset"]:active, |
|
112 |
.wp-core-ui input[type="reset"]:focus { |
|
113 |
background: none; |
|
114 |
border: none; |
|
115 |
box-shadow: none; |
|
116 |
padding: 0 2px 1px; |
|
117 |
width: auto; |
|
118 |
} |
|
119 |
||
120 |
/* ---------------------------------------------------------------------------- |
|
121 |
2.0 - Default Button Style |
|
122 |
---------------------------------------------------------------------------- */ |
|
123 |
||
124 |
.wp-core-ui .button, |
|
125 |
.wp-core-ui .button-secondary { |
|
126 |
color: #555; |
|
127 |
border-color: #cccccc; |
|
128 |
background: #f7f7f7; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
129 |
box-shadow: 0 1px 0 #cccccc; |
9 | 130 |
vertical-align: top; |
5 | 131 |
} |
132 |
||
133 |
.wp-core-ui p .button { |
|
134 |
vertical-align: baseline; |
|
135 |
} |
|
136 |
||
137 |
.wp-core-ui .button.hover, |
|
138 |
.wp-core-ui .button:hover, |
|
139 |
.wp-core-ui .button-secondary:hover, |
|
140 |
.wp-core-ui .button.focus, |
|
141 |
.wp-core-ui .button:focus, |
|
142 |
.wp-core-ui .button-secondary:focus { |
|
143 |
background: #fafafa; |
|
144 |
border-color: #999; |
|
145 |
color: #23282d; |
|
146 |
} |
|
147 |
||
148 |
.wp-core-ui .button.focus, |
|
149 |
.wp-core-ui .button:focus, |
|
150 |
.wp-core-ui .button-secondary:focus { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
151 |
border-color: #5b9dd9; |
9 | 152 |
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); |
5 | 153 |
} |
154 |
||
155 |
.wp-core-ui .button.active, |
|
156 |
.wp-core-ui .button.active:hover, |
|
157 |
.wp-core-ui .button:active, |
|
158 |
.wp-core-ui .button-secondary:active { |
|
159 |
background: #eee; |
|
160 |
border-color: #999; |
|
9 | 161 |
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
162 |
transform: translateY(1px); |
5 | 163 |
} |
164 |
||
165 |
.wp-core-ui .button.active:focus { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
166 |
border-color: #5b9dd9; |
5 | 167 |
box-shadow: |
9 | 168 |
inset 0 2px 5px -3px rgba(0, 0, 0, 0.5), |
169 |
0 0 3px rgba(0, 115, 170, 0.8); |
|
5 | 170 |
} |
171 |
||
172 |
.wp-core-ui .button[disabled], |
|
173 |
.wp-core-ui .button:disabled, |
|
174 |
.wp-core-ui .button.disabled, |
|
175 |
.wp-core-ui .button-secondary[disabled], |
|
176 |
.wp-core-ui .button-secondary:disabled, |
|
177 |
.wp-core-ui .button-secondary.disabled, |
|
178 |
.wp-core-ui .button-disabled { |
|
179 |
color: #a0a5aa !important; |
|
180 |
border-color: #ddd !important; |
|
181 |
background: #f7f7f7 !important; |
|
182 |
box-shadow: none !important; |
|
183 |
text-shadow: 0 1px 0 #fff !important; |
|
184 |
cursor: default; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
185 |
transform: none !important; |
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 |
/* Buttons that look like links, for a cross of good semantics with the visual */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
189 |
.wp-core-ui .button-link { |
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 |
padding: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
192 |
box-shadow: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
193 |
border: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
194 |
border-radius: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
195 |
background: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
196 |
cursor: pointer; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
197 |
text-align: right; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
198 |
/* Mimics the default link style in common.css */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
199 |
color: #0073aa; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
200 |
text-decoration: underline; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
201 |
transition-property: border, background, color; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
202 |
transition-duration: .05s; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
203 |
transition-timing-function: ease-in-out; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
204 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
205 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
206 |
.wp-core-ui .button-link:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
207 |
.wp-core-ui .button-link:active { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
208 |
color: #00a0d2; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
209 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
210 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
211 |
.wp-core-ui .button-link:focus { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
212 |
color: #124964; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
213 |
box-shadow: |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
214 |
0 0 0 1px #5b9dd9, |
9 | 215 |
0 0 2px 1px rgba(30, 140, 190, 0.8); |
216 |
/* Only visible in Windows High Contrast mode */ |
|
217 |
outline: 1px solid transparent; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
218 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
219 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
220 |
.wp-core-ui .button-link-delete { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
221 |
color: #a00; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
222 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
223 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
224 |
.wp-core-ui .button-link-delete:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
225 |
.wp-core-ui .button-link-delete:focus { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
226 |
color: #dc3232; |
9 | 227 |
background: transparent; |
228 |
} |
|
229 |
||
230 |
.wp-core-ui .button-link-delete:disabled { |
|
231 |
/* overrides the default buttons disabled background */ |
|
232 |
background: transparent !important; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
233 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
234 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
235 |
.ie8 .wp-core-ui .button-link:focus { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
236 |
outline: #5b9dd9 solid 1px; |
5 | 237 |
} |
238 |
||
239 |
/* ---------------------------------------------------------------------------- |
|
240 |
3.0 - Primary Button Style |
|
241 |
---------------------------------------------------------------------------- */ |
|
242 |
||
243 |
.wp-core-ui .button-primary { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
244 |
background: #0085ba; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
245 |
border-color: #0073aa #006799 #006799; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
246 |
box-shadow: 0 1px 0 #006799; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
247 |
color: #fff; |
5 | 248 |
text-decoration: none; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
249 |
text-shadow: 0 -1px 1px #006799, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
250 |
-1px 0 1px #006799, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
251 |
0 1px 1px #006799, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
252 |
1px 0 1px #006799; |
5 | 253 |
} |
254 |
||
255 |
.wp-core-ui .button-primary.hover, |
|
256 |
.wp-core-ui .button-primary:hover, |
|
257 |
.wp-core-ui .button-primary.focus, |
|
258 |
.wp-core-ui .button-primary:focus { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
259 |
background: #008ec2; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
260 |
border-color: #006799; |
5 | 261 |
color: #fff; |
262 |
} |
|
263 |
||
264 |
.wp-core-ui .button-primary.focus, |
|
265 |
.wp-core-ui .button-primary:focus { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
266 |
box-shadow: 0 1px 0 #0073aa, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
267 |
0 0 2px 1px #33b3db; |
5 | 268 |
} |
269 |
||
270 |
.wp-core-ui .button-primary.active, |
|
271 |
.wp-core-ui .button-primary.active:hover, |
|
272 |
.wp-core-ui .button-primary.active:focus, |
|
273 |
.wp-core-ui .button-primary:active { |
|
274 |
background: #0073aa; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
275 |
border-color: #006799; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
276 |
box-shadow: inset 0 2px 0 #006799; |
5 | 277 |
} |
278 |
||
279 |
.wp-core-ui .button-primary[disabled], |
|
280 |
.wp-core-ui .button-primary:disabled, |
|
281 |
.wp-core-ui .button-primary-disabled, |
|
282 |
.wp-core-ui .button-primary.disabled { |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
283 |
color: #66c6e4 !important; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
284 |
background: #008ec2 !important; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
285 |
border-color: #007cb2 !important; |
5 | 286 |
box-shadow: none !important; |
9 | 287 |
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1) !important; |
5 | 288 |
cursor: default; |
289 |
} |
|
290 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
291 |
.wp-core-ui .button.button-primary.button-hero { |
9 | 292 |
box-shadow: 0 2px 0 #006799; |
293 |
} |
|
294 |
||
295 |
.wp-core-ui .button.button-primary.button-hero:focus { |
|
296 |
box-shadow: |
|
297 |
0 2px 0 #006799, |
|
298 |
0 1px 0 #0073aa, |
|
299 |
0 0 2px 1px #33b3db; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
300 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
301 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
302 |
.wp-core-ui .button.button-primary.button-hero.active, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
303 |
.wp-core-ui .button.button-primary.button-hero.active:hover, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
304 |
.wp-core-ui .button.button-primary.button-hero.active:focus, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
305 |
.wp-core-ui .button.button-primary.button-hero:active { |
9 | 306 |
box-shadow: inset 0 3px 0 #006799; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
307 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
308 |
|
5 | 309 |
/* ---------------------------------------------------------------------------- |
310 |
4.0 - Button Groups |
|
311 |
---------------------------------------------------------------------------- */ |
|
312 |
||
313 |
.wp-core-ui .button-group { |
|
314 |
position: relative; |
|
315 |
display: inline-block; |
|
316 |
white-space: nowrap; |
|
317 |
font-size: 0; |
|
318 |
vertical-align: middle; |
|
319 |
} |
|
320 |
||
321 |
.wp-core-ui .button-group > .button { |
|
322 |
display: inline-block; |
|
323 |
border-radius: 0; |
|
324 |
margin-left: -1px; |
|
325 |
z-index: 10; |
|
326 |
} |
|
327 |
||
328 |
.wp-core-ui .button-group > .button-primary { |
|
329 |
z-index: 100; |
|
330 |
} |
|
331 |
||
332 |
.wp-core-ui .button-group > .button:hover { |
|
333 |
z-index: 20; |
|
334 |
} |
|
335 |
||
336 |
.wp-core-ui .button-group > .button:first-child { |
|
337 |
border-radius: 0 3px 3px 0; |
|
338 |
} |
|
339 |
||
340 |
.wp-core-ui .button-group > .button:last-child { |
|
341 |
border-radius: 3px 0 0 3px; |
|
342 |
} |
|
343 |
||
344 |
.wp-core-ui .button-group > .button:focus { |
|
345 |
position: relative; |
|
346 |
z-index: 1; |
|
347 |
} |
|
348 |
||
349 |
/* ---------------------------------------------------------------------------- |
|
350 |
5.0 - Responsive Button Styles |
|
351 |
---------------------------------------------------------------------------- */ |
|
352 |
||
9 | 353 |
@media screen and (max-width: 782px) { |
5 | 354 |
|
355 |
.wp-core-ui .button, |
|
356 |
.wp-core-ui .button.button-large, |
|
357 |
.wp-core-ui .button.button-small, |
|
358 |
input#publish, |
|
359 |
input#save-post, |
|
360 |
a.preview { |
|
361 |
padding: 6px 14px; |
|
362 |
line-height: normal; |
|
363 |
font-size: 14px; |
|
364 |
vertical-align: middle; |
|
365 |
height: auto; |
|
366 |
margin-bottom: 4px; |
|
367 |
} |
|
368 |
||
369 |
#media-upload.wp-core-ui .button { |
|
370 |
padding: 0 10px 1px; |
|
371 |
height: 24px; |
|
372 |
line-height: 22px; |
|
373 |
font-size: 13px; |
|
374 |
} |
|
375 |
||
376 |
.media-frame.mode-grid .bulk-select .button { |
|
377 |
margin-bottom: 0; |
|
378 |
} |
|
379 |
||
380 |
/* Publish Metabox Options */ |
|
381 |
.wp-core-ui .save-post-status.button { |
|
382 |
position: relative; |
|
383 |
margin: 0 10px 0 14px; /* 14px right margin to match all other buttons */ |
|
384 |
} |
|
385 |
||
386 |
/* Reset responsive styles in Press This, Customizer */ |
|
387 |
||
388 |
.wp-core-ui.wp-customizer .button { |
|
389 |
padding: 0 10px 1px; |
|
390 |
font-size: 13px; |
|
391 |
line-height: 26px; |
|
392 |
height: 28px; |
|
393 |
margin: 0; |
|
394 |
vertical-align: inherit; |
|
395 |
} |
|
396 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
397 |
.media-modal-content .media-toolbar-primary .media-button { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
398 |
margin-top: 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
399 |
margin-right: 5px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
400 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
401 |
|
5 | 402 |
/* Reset responsive styles on Log in button on iframed login form */ |
403 |
||
404 |
.interim-login .button.button-large { |
|
405 |
height: 30px; |
|
406 |
line-height: 28px; |
|
407 |
padding: 0 12px 2px; |
|
408 |
} |
|
409 |
||
410 |
} |