IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
1 | | |
2 | 1 | @import 'variables'; |
3 | 2 | @import 'mixins'; |
4 | 3 | |
| 4 | /** |
| 5 | * Table of Contents |
| 6 | * |
| 7 | * 0.0 Base |
| 8 | * 1.0 Links |
| 9 | * 2.0 Forms |
| 10 | * 3.0 Core UI |
| 11 | * 4.0 List tables |
| 12 | * 5.0 Admin Menu |
| 13 | * 5.1 Submenu |
| 14 | * 5.2 Current |
| 15 | * 5.3 Bubble |
| 16 | * 5.4 Collapse button |
| 17 | * 6.0 Admin Bar |
| 18 | * 6.1 Submenu |
| 19 | * 6.2 Search |
| 20 | * 6.3 My Account |
| 21 | * 7.0 Pointers |
| 22 | * 8.0 Media Uploader |
| 23 | * 9.0 Themes |
| 24 | * 10.0 jQuery UI Slider |
| 25 | * 11.0 Thickbox: Plugin information |
| 26 | * 12.0 Responsive Component |
| 27 | * 13.0 Miscellaneous |
| 28 | */ |
5 | 29 | |
| 30 | /** |
| 31 | * 0.0 Base |
| 32 | */ |
| 33 | |
6 | 34 | html { |
7 | 35 | background: $body-background; |
8 | 36 | } |
9 | 37 | |
| 38 | /** |
| 39 | * 1.0 Links |
| 40 | */ |
10 | 41 | |
11 | | /* Links */ |
12 | | |
13 | 42 | a { |
14 | 43 | color: $link; |
15 | 44 | |
… |
… |
|
29 | 58 | color: $link-focus; |
30 | 59 | } |
31 | 60 | |
| 61 | /** |
| 62 | * 2.0 Forms |
| 63 | */ |
32 | 64 | |
33 | | /* Forms */ |
34 | | |
35 | | input[type=checkbox]:checked:before { |
36 | | color: $form-checked; |
| 65 | input[type="checkbox"]:checked:before { |
| 66 | color: $form-checked; |
37 | 67 | } |
38 | 68 | |
39 | | input[type=radio]:checked:before { |
40 | | background: $form-checked; |
| 69 | input[type="radio"]:checked:before { |
| 70 | background: $form-checked; |
41 | 71 | } |
42 | 72 | |
43 | | .wp-core-ui input[type="reset"]:hover, |
44 | | .wp-core-ui input[type="reset"]:active { |
45 | | color: $link-focus; |
46 | | } |
| 73 | .wp-core-ui input[type="reset"] { |
| 74 | &:hover, |
| 75 | &:active { |
| 76 | color: $link-focus; |
| 77 | } |
| 78 | } |
47 | 79 | |
| 80 | /** |
| 81 | * 3.0 Core UI |
| 82 | */ |
48 | 83 | |
49 | | /* Core UI */ |
50 | | |
51 | 84 | .wp-core-ui { |
52 | 85 | .button-primary { |
53 | | @include button( $button-color ); |
| 86 | @include button($button-color); |
54 | 87 | } |
55 | 88 | |
56 | 89 | .wp-ui-primary { |
57 | | color: $text-color; |
58 | 90 | background-color: $base-color; |
| 91 | color: $text-color; |
59 | 92 | } |
| 93 | |
60 | 94 | .wp-ui-text-primary { |
61 | 95 | color: $base-color; |
62 | 96 | } |
63 | 97 | |
64 | 98 | .wp-ui-highlight { |
65 | | color: $menu-highlight-text; |
66 | 99 | background-color: $menu-highlight-background; |
| 100 | color: $menu-highlight-text; |
67 | 101 | } |
| 102 | |
68 | 103 | .wp-ui-text-highlight { |
69 | 104 | color: $menu-highlight-background; |
70 | 105 | } |
71 | 106 | |
72 | 107 | .wp-ui-notification { |
73 | | color: $menu-bubble-text; |
74 | 108 | background-color: $menu-bubble-background; |
| 109 | color: $menu-bubble-text; |
75 | 110 | } |
| 111 | |
76 | 112 | .wp-ui-text-notification { |
77 | 113 | color: $menu-bubble-background; |
78 | 114 | } |
… |
… |
|
82 | 118 | } |
83 | 119 | } |
84 | 120 | |
| 121 | /** |
| 122 | * 4.0 List tables |
| 123 | */ |
85 | 124 | |
86 | | /* List tables */ |
87 | | |
88 | 125 | .wrap .add-new-h2:hover, |
89 | 126 | #add-new-comment a:hover, |
90 | 127 | .tablenav .tablenav-pages a:hover, |
91 | 128 | .tablenav .tablenav-pages a:focus { |
92 | | color: $menu-text; |
93 | 129 | background-color: $menu-background; |
| 130 | color: $menu-text; |
94 | 131 | } |
95 | 132 | |
96 | 133 | .view-switch a.current:before { |
… |
… |
|
104 | 141 | .post-com-count:hover:after { |
105 | 142 | border-top-color: $menu-background; |
106 | 143 | } |
| 144 | |
107 | 145 | .post-com-count:hover span { |
108 | | color: $menu-text; |
109 | 146 | background-color: $menu-background; |
| 147 | color: $menu-text; |
110 | 148 | } |
111 | 149 | |
112 | 150 | strong .post-com-count:after { |
113 | 151 | border-top-color: $menu-bubble-background; |
114 | 152 | } |
| 153 | |
115 | 154 | strong .post-com-count span { |
116 | 155 | background-color: $menu-bubble-background; |
117 | 156 | } |
118 | 157 | |
| 158 | /** |
| 159 | * 5.0 Admin Menu |
| 160 | */ |
119 | 161 | |
120 | | /* Admin Menu */ |
121 | | |
122 | 162 | #adminmenuback, |
123 | 163 | #adminmenuwrap, |
124 | 164 | #adminmenu { |
125 | 165 | background: $menu-background; |
126 | 166 | } |
127 | 167 | |
128 | | #adminmenu a { |
129 | | color: $menu-text; |
130 | | } |
| 168 | #adminmenu { |
| 169 | a { |
| 170 | color: $menu-text; |
| 171 | } |
131 | 172 | |
132 | | #adminmenu div.wp-menu-image:before { |
133 | | color: $menu-icon; |
134 | | } |
| 173 | .wp-menu-image:before { |
| 174 | color: $menu-icon; |
| 175 | } |
135 | 176 | |
136 | | #adminmenu a:hover, |
137 | | #adminmenu li.menu-top:hover, |
138 | | #adminmenu li.opensub > a.menu-top, |
139 | | #adminmenu li > a.menu-top:focus { |
140 | | color: $menu-highlight-text; |
141 | | background-color: $menu-highlight-background; |
142 | | } |
| 177 | a:hover, |
| 178 | li.menu-top:hover, |
| 179 | li.opensub > a.menu-top, |
| 180 | li > a.menu-top:focus { |
| 181 | background-color: $menu-highlight-background; |
| 182 | color: $menu-highlight-text; |
| 183 | } |
143 | 184 | |
144 | | #adminmenu li.menu-top:hover div.wp-menu-image:before, |
145 | | #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { |
146 | | color: $menu-highlight-icon; |
147 | | } |
| 185 | li.menu-top:hover .wp-menu-image:before, |
| 186 | li.opensub > a.menu-top div.wp-menu-image:before { |
| 187 | color: $menu-highlight-icon; |
| 188 | } |
| 189 | } |
148 | 190 | |
149 | | |
150 | 191 | /* Active tabs use a bottom border color that matches the page background color. */ |
151 | 192 | |
152 | 193 | .about-wrap h2 .nav-tab-active, |
… |
… |
|
155 | 196 | border-bottom-color: $body-background; |
156 | 197 | } |
157 | 198 | |
| 199 | /** |
| 200 | * 5.1 Admin Menu: submenu |
| 201 | */ |
158 | 202 | |
159 | | /* Admin Menu: submenu */ |
160 | | |
161 | 203 | #adminmenu .wp-submenu, |
162 | 204 | #adminmenu .wp-has-current-submenu .wp-submenu, |
163 | 205 | #adminmenu .wp-has-current-submenu.opensub .wp-submenu, |
… |
… |
|
181 | 223 | #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { |
182 | 224 | color: $menu-submenu-text; |
183 | 225 | |
184 | | &:focus, &:hover { |
| 226 | &:focus, |
| 227 | &:hover { |
185 | 228 | color: $menu-submenu-focus-text; |
186 | 229 | } |
187 | 230 | } |
188 | 231 | |
| 232 | /** |
| 233 | * 5.2 Admin Menu: current |
| 234 | */ |
189 | 235 | |
190 | | /* Admin Menu: current */ |
191 | | |
192 | 236 | #adminmenu .wp-submenu li.current a, |
193 | 237 | #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, |
194 | 238 | #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { |
195 | 239 | color: $menu-submenu-current-text; |
196 | 240 | |
197 | | &:hover, &:focus { |
| 241 | &:hover, |
| 242 | &:focus { |
198 | 243 | color: $menu-submenu-focus-text; |
199 | 244 | } |
200 | 245 | } |
201 | 246 | |
202 | 247 | ul#adminmenu a.wp-has-current-submenu:after, |
203 | 248 | ul#adminmenu > li.current > a.current:after { |
204 | | border-right-color: $body-background; |
| 249 | border-right-color: $body-background; |
205 | 250 | } |
206 | 251 | |
207 | 252 | #adminmenu li.current a.menu-top, |
… |
… |
|
216 | 261 | color: $menu-current-icon; |
217 | 262 | } |
218 | 263 | |
| 264 | /** |
| 265 | * 5.3 Admin Menu: bubble |
| 266 | */ |
219 | 267 | |
220 | | /* Admin Menu: bubble */ |
221 | | |
222 | 268 | #adminmenu .awaiting-mod, |
223 | 269 | #adminmenu .update-plugins { |
224 | | color: $menu-bubble-text; |
225 | 270 | background: $menu-bubble-background; |
| 271 | color: $menu-bubble-text; |
226 | 272 | } |
227 | 273 | |
228 | 274 | #adminmenu li.current a .awaiting-mod, |
229 | 275 | #adminmenu li a.wp-has-current-submenu .update-plugins, |
230 | 276 | #adminmenu li:hover a .awaiting-mod, |
231 | 277 | #adminmenu li.menu-top:hover > a .update-plugins { |
232 | | color: $menu-bubble-current-text; |
233 | 278 | background: $menu-bubble-current-background; |
| 279 | color: $menu-bubble-current-text; |
234 | 280 | } |
235 | 281 | |
| 282 | /** |
| 283 | * 5.4 Admin Menu: collapse button |
| 284 | */ |
236 | 285 | |
237 | | /* Admin Menu: collapse button */ |
238 | | |
239 | 286 | #collapse-menu { |
240 | | color: $menu-collapse-text; |
| 287 | color: $menu-collapse-text; |
241 | 288 | } |
242 | 289 | |
243 | 290 | #collapse-menu:hover { |
244 | | color: $menu-collapse-focus-text; |
| 291 | color: $menu-collapse-focus-text; |
245 | 292 | } |
246 | 293 | |
247 | 294 | #collapse-button div:after { |
248 | | color: $menu-collapse-icon; |
| 295 | color: $menu-collapse-icon; |
249 | 296 | } |
250 | 297 | |
251 | 298 | #collapse-menu:hover #collapse-button div:after { |
252 | | color: $menu-collapse-focus-icon; |
| 299 | color: $menu-collapse-focus-icon; |
253 | 300 | } |
254 | 301 | |
| 302 | /** |
| 303 | * 6.0 Admin Bar |
| 304 | */ |
255 | 305 | |
256 | | /* Admin Bar */ |
257 | | |
258 | 306 | #wpadminbar { |
259 | | color: $menu-text; |
260 | 307 | background: $menu-background; |
| 308 | color: $menu-text; |
261 | 309 | } |
262 | 310 | |
263 | 311 | #wpadminbar .ab-item, |
… |
… |
|
280 | 328 | #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, |
281 | 329 | #wpadminbar-nojs .ab-top-menu > li.menupop:hover > .ab-item, |
282 | 330 | #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { |
283 | | color: $menu-submenu-focus-text; |
284 | 331 | background: $menu-submenu-background; |
| 332 | color: $menu-submenu-focus-text; |
285 | 333 | } |
286 | 334 | |
287 | 335 | #wpadminbar > #wp-toolbar li:hover span.ab-label, |
… |
… |
|
297 | 345 | color: $menu-highlight-icon; |
298 | 346 | } |
299 | 347 | |
| 348 | /** |
| 349 | * 6.1 Admin Bar: submenu |
| 350 | */ |
300 | 351 | |
301 | | /* Admin Bar: submenu */ |
302 | | |
303 | 352 | #wpadminbar .menupop .ab-sub-wrapper { |
304 | 353 | background: $menu-submenu-background; |
305 | 354 | } |
… |
… |
|
346 | 395 | color: $menu-submenu-focus-text; |
347 | 396 | } |
348 | 397 | |
| 398 | /** |
| 399 | * 6.2 Admin Bar: search |
| 400 | */ |
349 | 401 | |
350 | | /* Admin Bar: search */ |
351 | | |
352 | 402 | #wpadminbar #adminbarsearch:before { |
353 | 403 | color: $menu-icon; |
354 | 404 | } |
355 | 405 | |
356 | 406 | #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { |
357 | | color: $menu-text; |
358 | 407 | background: $adminbar-input-background; |
| 408 | color: $menu-text; |
359 | 409 | } |
360 | 410 | |
361 | | #wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder { color: $menu-text; opacity: .7; } |
362 | | #wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder { color: $menu-text; opacity: .7; } |
363 | | #wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder { color: $menu-text; opacity: .7; } |
364 | | #wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder { color: $menu-text; opacity: .7; } |
| 411 | #wpadminbar #adminbarsearch .adminbar-input { |
| 412 | &::-webkit-input-placeholder, |
| 413 | &:-moz-placeholder, |
| 414 | &::-moz-placeholder, |
| 415 | &:-ms-input-placeholder { |
| 416 | color: $menu-text; |
| 417 | opacity: 0.7; |
| 418 | } |
| 419 | } |
365 | 420 | |
| 421 | /** |
| 422 | * 6.3 Admin Bar: my account |
| 423 | */ |
366 | 424 | |
367 | | /* Admin Bar: my account */ |
368 | | |
369 | 425 | #wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { |
370 | | border-color: $adminbar-avatar-frame; |
371 | 426 | background-color: $adminbar-avatar-frame; |
| 427 | border-color: $adminbar-avatar-frame; |
372 | 428 | } |
373 | 429 | |
374 | 430 | #wpadminbar #wp-admin-bar-user-info .display-name { |
… |
… |
|
383 | 439 | color: $menu-submenu-text; |
384 | 440 | } |
385 | 441 | |
| 442 | /** |
| 443 | * 7.0 Pointers |
| 444 | */ |
386 | 445 | |
387 | | /* Pointers */ |
388 | | |
389 | 446 | .wp-pointer .wp-pointer-content h3 { |
390 | 447 | background-color: $highlight-color; |
391 | 448 | } |
… |
… |
|
399 | 456 | border-bottom-color: $highlight-color; |
400 | 457 | } |
401 | 458 | |
| 459 | /** |
| 460 | * 8.0 Media Uploader |
| 461 | */ |
402 | 462 | |
403 | | /* Media Uploader */ |
404 | | |
405 | 463 | .media-item .bar, |
406 | 464 | .media-progress-bar div { |
407 | 465 | background-color: $highlight-color; |
… |
… |
|
416 | 474 | box-shadow: 0 0 0 1px #fff, 0 0 0 2px $highlight-color; |
417 | 475 | } |
418 | 476 | |
| 477 | /** |
| 478 | * 9.0 Themes |
| 479 | */ |
419 | 480 | |
420 | | /* Themes */ |
421 | | |
422 | 481 | .theme-browser .theme.active .theme-name, |
423 | 482 | .theme-browser .theme.add-new-theme:hover:after { |
424 | 483 | background: $highlight-color; |
… |
… |
|
434 | 493 | background: $highlight-color; |
435 | 494 | } |
436 | 495 | |
437 | | /* jQuery UI Slider */ |
| 496 | /** |
| 497 | * 10.0 jQuery UI Slider |
| 498 | */ |
438 | 499 | |
439 | 500 | .wp-slider .ui-slider-handle, |
440 | 501 | .wp-slider .ui-slider-handle.ui-state-hover, |
441 | 502 | .wp-slider .ui-slider-handle.focus { |
442 | 503 | background: $button-color; |
443 | | border-color: darken( $button-color, 10% ); |
444 | | -webkit-box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15); |
445 | | box-shadow: inset 0 1px 0 lighten( $button-color, 15% ), 0 1px 0 rgba(0,0,0,.15); |
| 504 | border-color: darken($button-color, 10%); |
| 505 | -webkit-box-shadow: inset 0 1px 0 lighten($button-color, 15%), 0 1px 0 rgba(0, 0, 0, 0.15); |
| 506 | box-shadow: inset 0 1px 0 lighten($button-color, 15%), 0 1px 0 rgba(0, 0, 0, 0.15); |
446 | 507 | } |
447 | 508 | |
448 | | /* Thickbox: Plugin information */ |
| 509 | /** |
| 510 | * 11.0 Thickbox: Plugin information |
| 511 | */ |
449 | 512 | |
450 | 513 | #sidemenu a.current { |
451 | 514 | background: $body-background; |
… |
… |
|
456 | 519 | background: $button-color; |
457 | 520 | } |
458 | 521 | |
459 | | /* Responsive Component */ |
| 522 | /** |
| 523 | * 12.0 Responsive Component |
| 524 | */ |
460 | 525 | |
461 | | div#wp-responsive-toggle a:before { |
| 526 | #wp-responsive-toggle a:before { |
462 | 527 | color: $menu-icon; |
463 | 528 | } |
464 | 529 | |
465 | | .wp-responsive-open div#wp-responsive-toggle a { |
| 530 | .wp-responsive-open #wp-responsive-toggle a { |
466 | 531 | // ToDo: make inset border |
467 | | border-color: transparent; |
468 | 532 | background: $menu-highlight-background; |
| 533 | border-color: transparent; |
469 | 534 | } |
470 | 535 | |
471 | | .star-rating .star { |
472 | | color: $highlight-color; |
473 | | } |
474 | | |
475 | 536 | .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { |
476 | 537 | background: $menu-submenu-background; |
| 538 | } |
| 539 | |
| 540 | /** |
| 541 | * 13.0 Miscellaneous |
| 542 | */ |
| 543 | .star-rating .star { |
| 544 | color: $highlight-color; |
477 | 545 | } |