[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 @use 'sass:color'; 2 @use 'sass:string'; 3 @forward 'variables' show $scheme-name, $base-color, $body-background, $button-color, $custom-welcome-panel, $dashboard-accent-1, $dashboard-accent-2, $dashboard-icon-background, $form-checked, $highlight-color, $icon-color, $link, $link-focus, $low-contrast-theme, $menu-bubble-text, $menu-collapse-focus-icon, $menu-collapse-text, $menu-highlight-background, $menu-highlight-icon, $menu-highlight-text, $menu-submenu-text, $menu-submenu-focus-text, $menu-submenu-background, $notification-color, $text-color; 4 @use 'variables'; 5 @use 'mixins'; 6 7 /** 8 * This function name uses British English to maintain backward compatibility, as developers 9 * may use the function in their own admin CSS files. See #56811. 10 */ 11 @function url-friendly-colour( $color ) { 12 @return '%23' + string.slice( '#{ $color }', 2, -1 ); 13 } 14 15 body { 16 background: variables.$body-background; 17 } 18 19 20 /* Links */ 21 22 a { 23 color: variables.$link; 24 25 &:hover, 26 &:active, 27 &:focus { 28 color: variables.$link-focus; 29 } 30 } 31 32 #post-body .misc-pub-post-status:before, 33 #post-body #visibility:before, 34 .curtime #timestamp:before, 35 #post-body .misc-pub-revisions:before, 36 span.wp-media-buttons-icon:before { 37 color: currentColor; 38 } 39 40 .wp-core-ui .button-link { 41 color: variables.$link; 42 43 &:hover, 44 &:active, 45 &:focus { 46 color: variables.$link-focus; 47 } 48 } 49 50 .media-modal .delete-attachment, 51 .media-modal .trash-attachment, 52 .media-modal .untrash-attachment, 53 .wp-core-ui .button-link-delete { 54 color: #a00; 55 } 56 57 .media-modal .delete-attachment:hover, 58 .media-modal .trash-attachment:hover, 59 .media-modal .untrash-attachment:hover, 60 .media-modal .delete-attachment:focus, 61 .media-modal .trash-attachment:focus, 62 .media-modal .untrash-attachment:focus, 63 .wp-core-ui .button-link-delete:hover, 64 .wp-core-ui .button-link-delete:focus { 65 color: #dc3232; 66 } 67 68 /* Forms */ 69 70 input[type=checkbox]:checked::before { 71 content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27#{url-friendly-colour(variables.$form-checked)}%27%2F%3E%3C%2Fsvg%3E"); 72 } 73 74 input[type=radio]:checked::before { 75 background: variables.$form-checked; 76 } 77 78 .wp-core-ui input[type="reset"]:hover, 79 .wp-core-ui input[type="reset"]:active { 80 color: variables.$link-focus; 81 } 82 83 input[type="text"]:focus, 84 input[type="password"]:focus, 85 input[type="color"]:focus, 86 input[type="date"]:focus, 87 input[type="datetime"]:focus, 88 input[type="datetime-local"]:focus, 89 input[type="email"]:focus, 90 input[type="month"]:focus, 91 input[type="number"]:focus, 92 input[type="search"]:focus, 93 input[type="tel"]:focus, 94 input[type="text"]:focus, 95 input[type="time"]:focus, 96 input[type="url"]:focus, 97 input[type="week"]:focus, 98 input[type="checkbox"]:focus, 99 input[type="radio"]:focus, 100 select:focus, 101 textarea:focus { 102 border-color: variables.$highlight-color; 103 box-shadow: 0 0 0 1px variables.$highlight-color; 104 } 105 106 107 /* Core UI */ 108 109 .wp-core-ui { 110 111 .button { 112 border-color: #7e8993; 113 color: #32373c; 114 } 115 116 .button.hover, 117 .button:hover, 118 .button.focus, 119 .button:focus { 120 border-color: color.adjust(#7e8993, $lightness: -5%); 121 color: color.adjust(#32373c, $lightness: -5%); 122 } 123 124 .button.focus, 125 .button:focus { 126 border-color: #7e8993; 127 color: color.adjust(#32373c, $lightness: -5%); 128 box-shadow: 0 0 0 1px #32373c; 129 } 130 131 .button:active { 132 border-color: #7e8993; 133 color: color.adjust(#32373c, $lightness: -5%); 134 box-shadow: none; 135 } 136 137 .button.active, 138 .button.active:focus, 139 .button.active:hover { 140 border-color: variables.$button-color; 141 color: color.adjust(#32373c, $lightness: -5%); 142 box-shadow: inset 0 2px 5px -3px variables.$button-color; 143 } 144 145 .button.active:focus { 146 box-shadow: 0 0 0 1px #32373c; 147 } 148 149 @if ( variables.$low-contrast-theme != "true" ) { 150 .button, 151 .button-secondary { 152 color: variables.$highlight-color; 153 border-color: variables.$highlight-color; 154 } 155 156 .button.hover, 157 .button:hover, 158 .button-secondary:hover{ 159 border-color: color.adjust(variables.$highlight-color, $lightness: -10%); 160 color: color.adjust(variables.$highlight-color, $lightness: -10%); 161 } 162 163 .button.focus, 164 .button:focus, 165 .button-secondary:focus { 166 border-color: color.adjust(variables.$highlight-color, $lightness: 10%); 167 color: color.adjust(variables.$highlight-color, $lightness: -20%); 168 box-shadow: 0 0 0 1px color.adjust(variables.$highlight-color, $lightness: 10%); 169 } 170 171 .button-primary { 172 &:hover { 173 color: #fff; 174 } 175 } 176 } 177 178 .button-primary { 179 @include mixins.button( variables.$button-color ); 180 } 181 182 .button-group > .button.active { 183 border-color: variables.$button-color; 184 } 185 186 .wp-ui-primary { 187 color: variables.$text-color; 188 background-color: variables.$base-color; 189 } 190 .wp-ui-text-primary { 191 color: variables.$base-color; 192 } 193 194 .wp-ui-highlight { 195 color: variables.$menu-highlight-text; 196 background-color: variables.$menu-highlight-background; 197 } 198 .wp-ui-text-highlight { 199 color: variables.$menu-highlight-background; 200 } 201 202 .wp-ui-notification { 203 color: variables.$menu-bubble-text; 204 background-color: variables.$menu-bubble-background; 205 } 206 .wp-ui-text-notification { 207 color: variables.$menu-bubble-background; 208 } 209 210 .wp-ui-text-icon { 211 color: variables.$menu-icon; 212 } 213 } 214 215 216 /* List tables */ 217 @if variables.$low-contrast-theme == "true" { 218 .wrap .page-title-action:hover { 219 color: variables.$menu-text; 220 background-color: variables.$menu-background; 221 } 222 } @else { 223 .wrap .page-title-action, 224 .wrap .page-title-action:active { 225 border: 1px solid variables.$highlight-color; 226 color: variables.$highlight-color; 227 } 228 229 .wrap .page-title-action:hover { 230 color: color.adjust(variables.$highlight-color, $lightness: -10%); 231 border-color: color.adjust(variables.$highlight-color, $lightness: -10%); 232 } 233 234 .wrap .page-title-action:focus { 235 border-color: color.adjust(variables.$highlight-color, $lightness: 10%); 236 color: color.adjust(variables.$highlight-color, $lightness: -20%); 237 box-shadow: 0 0 0 1px color.adjust(variables.$highlight-color, $lightness: 10%); 238 } 239 } 240 241 .view-switch a.current:before { 242 color: variables.$menu-background; 243 } 244 245 .view-switch a:hover:before { 246 color: variables.$menu-bubble-background; 247 } 248 249 250 /* Admin Menu */ 251 252 #adminmenuback, 253 #adminmenuwrap, 254 #adminmenu { 255 background: variables.$menu-background; 256 } 257 258 #adminmenu a { 259 color: variables.$menu-text; 260 } 261 262 #adminmenu div.wp-menu-image:before { 263 color: variables.$menu-icon; 264 } 265 266 #adminmenu a:hover, 267 #adminmenu li.menu-top:hover, 268 #adminmenu li.opensub > a.menu-top, 269 #adminmenu li > a.menu-top:focus { 270 color: variables.$menu-highlight-text; 271 background-color: variables.$menu-highlight-background; 272 } 273 274 #adminmenu li.menu-top:hover div.wp-menu-image:before, 275 #adminmenu li.opensub > a.menu-top div.wp-menu-image:before { 276 color: variables.$menu-highlight-icon; 277 } 278 279 280 /* Active tabs use a bottom border color that matches the page background color. */ 281 282 .about-wrap .nav-tab-active, 283 .nav-tab-active, 284 .nav-tab-active:hover { 285 background-color: variables.$body-background; 286 border-bottom-color: variables.$body-background; 287 } 288 289 290 /* Admin Menu: submenu */ 291 292 #adminmenu .wp-submenu, 293 #adminmenu .wp-has-current-submenu .wp-submenu, 294 #adminmenu .wp-has-current-submenu.opensub .wp-submenu, 295 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu { 296 background: variables.$menu-submenu-background; 297 } 298 299 #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover:after, 300 #adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within:after { 301 border-right-color: variables.$menu-submenu-background; 302 } 303 304 #adminmenu .wp-submenu .wp-submenu-head { 305 color: variables.$menu-submenu-text; 306 } 307 308 #adminmenu .wp-submenu a, 309 #adminmenu .wp-has-current-submenu .wp-submenu a, 310 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu a, 311 #adminmenu .wp-has-current-submenu.opensub .wp-submenu a { 312 color: variables.$menu-submenu-text; 313 314 &:focus, &:hover { 315 color: variables.$menu-submenu-focus-text; 316 } 317 } 318 319 320 /* Admin Menu: current */ 321 322 #adminmenu .wp-submenu li.current a, 323 #adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a, 324 #adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a { 325 color: variables.$menu-submenu-current-text; 326 327 &:hover, &:focus { 328 color: variables.$menu-submenu-focus-text; 329 } 330 } 331 332 ul#adminmenu a.wp-has-current-submenu:after, 333 ul#adminmenu > li.current > a.current:after { 334 border-right-color: variables.$body-background; 335 } 336 337 #adminmenu li.current a.menu-top, 338 #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, 339 #adminmenu li.wp-has-current-submenu .wp-submenu .wp-submenu-head, 340 .folded #adminmenu li.current.menu-top { 341 color: variables.$menu-current-text; 342 background: variables.$menu-current-background; 343 } 344 345 #adminmenu li.wp-has-current-submenu div.wp-menu-image:before, 346 #adminmenu a.current:hover div.wp-menu-image:before, 347 #adminmenu li.current div.wp-menu-image:before, 348 #adminmenu li.wp-has-current-submenu a:focus div.wp-menu-image:before, 349 #adminmenu li.wp-has-current-submenu.opensub div.wp-menu-image:before, 350 #adminmenu li:hover div.wp-menu-image:before, 351 #adminmenu li a:focus div.wp-menu-image:before, 352 #adminmenu li.opensub div.wp-menu-image:before { 353 color: variables.$menu-current-icon; 354 } 355 356 357 /* Admin Menu: bubble */ 358 359 #adminmenu .menu-counter, 360 #adminmenu .awaiting-mod, 361 #adminmenu .update-plugins { 362 color: variables.$menu-bubble-text; 363 background: variables.$menu-bubble-background; 364 } 365 366 #adminmenu li.current a .awaiting-mod, 367 #adminmenu li a.wp-has-current-submenu .update-plugins, 368 #adminmenu li:hover a .awaiting-mod, 369 #adminmenu li.menu-top:hover > a .update-plugins { 370 color: variables.$menu-bubble-current-text; 371 background: variables.$menu-bubble-current-background; 372 } 373 374 375 /* Admin Menu: collapse button */ 376 377 #collapse-button { 378 color: variables.$menu-collapse-text; 379 } 380 381 #collapse-button:hover, 382 #collapse-button:focus { 383 color: variables.$menu-submenu-focus-text; 384 } 385 386 /* Admin Bar */ 387 388 #wpadminbar { 389 color: variables.$menu-text; 390 background: variables.$menu-background; 391 } 392 393 #wpadminbar .ab-item, 394 #wpadminbar a.ab-item, 395 #wpadminbar > #wp-toolbar span.ab-label, 396 #wpadminbar > #wp-toolbar span.noticon { 397 color: variables.$menu-text; 398 } 399 400 #wpadminbar .ab-icon, 401 #wpadminbar .ab-icon:before, 402 #wpadminbar .ab-item:before, 403 #wpadminbar .ab-item:after { 404 color: variables.$menu-icon; 405 } 406 407 #wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item, 408 #wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus, 409 #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, 410 #wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item, 411 #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { 412 color: variables.$menu-submenu-focus-text; 413 background: variables.$menu-submenu-background; 414 } 415 416 #wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label, 417 #wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label, 418 #wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label { 419 color: variables.$menu-submenu-focus-text; 420 } 421 422 #wpadminbar:not(.mobile) li:hover .ab-icon:before, 423 #wpadminbar:not(.mobile) li:hover .ab-item:before, 424 #wpadminbar:not(.mobile) li:hover .ab-item:after, 425 #wpadminbar:not(.mobile) li:hover #adminbarsearch:before { 426 color: variables.$menu-submenu-focus-text; 427 } 428 429 430 /* Admin Bar: submenu */ 431 432 #wpadminbar .menupop .ab-sub-wrapper { 433 background: variables.$menu-submenu-background; 434 } 435 436 #wpadminbar .quicklinks .menupop ul.ab-sub-secondary, 437 #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { 438 background: variables.$menu-submenu-background-alt; 439 } 440 441 #wpadminbar .ab-submenu .ab-item, 442 #wpadminbar .quicklinks .menupop ul li a, 443 #wpadminbar .quicklinks .menupop.hover ul li a, 444 #wpadminbar.nojs .quicklinks .menupop:hover ul li a { 445 color: variables.$menu-submenu-text; 446 } 447 448 #wpadminbar .quicklinks li .blavatar, 449 #wpadminbar .menupop .menupop > .ab-item:before { 450 color: variables.$menu-icon; 451 } 452 453 #wpadminbar .quicklinks .menupop ul li a:hover, 454 #wpadminbar .quicklinks .menupop ul li a:focus, 455 #wpadminbar .quicklinks .menupop ul li a:hover strong, 456 #wpadminbar .quicklinks .menupop ul li a:focus strong, 457 #wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a, 458 #wpadminbar .quicklinks .menupop.hover ul li a:hover, 459 #wpadminbar .quicklinks .menupop.hover ul li a:focus, 460 #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover, 461 #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, 462 #wpadminbar li:hover .ab-icon:before, 463 #wpadminbar li:hover .ab-item:before, 464 #wpadminbar li a:focus .ab-icon:before, 465 #wpadminbar li .ab-item:focus:before, 466 #wpadminbar li .ab-item:focus .ab-icon:before, 467 #wpadminbar li.hover .ab-icon:before, 468 #wpadminbar li.hover .ab-item:before, 469 #wpadminbar li:hover #adminbarsearch:before, 470 #wpadminbar li #adminbarsearch.adminbar-focused:before { 471 color: variables.$menu-submenu-focus-text; 472 } 473 474 #wpadminbar .quicklinks li a:hover .blavatar, 475 #wpadminbar .quicklinks li a:focus .blavatar, 476 #wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover > a .blavatar, 477 #wpadminbar .menupop .menupop > .ab-item:hover:before, 478 #wpadminbar.mobile .quicklinks .ab-icon:before, 479 #wpadminbar.mobile .quicklinks .ab-item:before { 480 color: variables.$menu-submenu-focus-text; 481 } 482 483 #wpadminbar.mobile .quicklinks .hover .ab-icon:before, 484 #wpadminbar.mobile .quicklinks .hover .ab-item:before { 485 color: variables.$menu-icon; 486 } 487 488 489 /* Admin Bar: search */ 490 491 #wpadminbar #adminbarsearch:before { 492 color: variables.$menu-icon; 493 } 494 495 #wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus { 496 color: variables.$menu-text; 497 background: variables.$adminbar-input-background; 498 } 499 500 /* Admin Bar: recovery mode */ 501 502 #wpadminbar #wp-admin-bar-recovery-mode { 503 color: variables.$adminbar-recovery-exit-text; 504 background-color: variables.$adminbar-recovery-exit-background; 505 } 506 507 #wpadminbar #wp-admin-bar-recovery-mode .ab-item, 508 #wpadminbar #wp-admin-bar-recovery-mode a.ab-item { 509 color: variables.$adminbar-recovery-exit-text; 510 } 511 512 #wpadminbar .ab-top-menu > #wp-admin-bar-recovery-mode.hover >.ab-item, 513 #wpadminbar.nojq .quicklinks .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus, 514 #wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode:hover > .ab-item, 515 #wpadminbar:not(.mobile) .ab-top-menu > #wp-admin-bar-recovery-mode > .ab-item:focus { 516 color: variables.$adminbar-recovery-exit-text; 517 background-color: variables.$adminbar-recovery-exit-background-alt; 518 } 519 520 /* Admin Bar: my account */ 521 522 #wpadminbar .quicklinks li#wp-admin-bar-my-account.with-avatar > a img { 523 border-color: variables.$adminbar-avatar-frame; 524 background-color: variables.$adminbar-avatar-frame; 525 } 526 527 #wpadminbar #wp-admin-bar-user-info .display-name { 528 color: variables.$menu-text; 529 } 530 531 #wpadminbar #wp-admin-bar-user-info a:hover .display-name { 532 color: variables.$menu-submenu-focus-text; 533 } 534 535 #wpadminbar #wp-admin-bar-user-info .username { 536 color: variables.$menu-submenu-text; 537 } 538 539 540 /* Pointers */ 541 542 .wp-pointer .wp-pointer-content h3 { 543 background-color: variables.$highlight-color; 544 border-color: color.adjust(variables.$highlight-color, $lightness: -5%); 545 } 546 547 .wp-pointer .wp-pointer-content h3:before { 548 color: variables.$highlight-color; 549 } 550 551 .wp-pointer.wp-pointer-top .wp-pointer-arrow, 552 .wp-pointer.wp-pointer-top .wp-pointer-arrow-inner, 553 .wp-pointer.wp-pointer-undefined .wp-pointer-arrow, 554 .wp-pointer.wp-pointer-undefined .wp-pointer-arrow-inner { 555 border-bottom-color: variables.$highlight-color; 556 } 557 558 559 /* Media */ 560 561 .media-item .bar, 562 .media-progress-bar div { 563 background-color: variables.$highlight-color; 564 } 565 566 .details.attachment { 567 box-shadow: 568 inset 0 0 0 3px #fff, 569 inset 0 0 0 7px variables.$highlight-color; 570 } 571 572 .attachment.details .check { 573 background-color: variables.$highlight-color; 574 box-shadow: 0 0 0 1px #fff, 0 0 0 2px variables.$highlight-color; 575 } 576 577 .media-selection .attachment.selection.details .thumbnail { 578 box-shadow: 0 0 0 1px #fff, 0 0 0 3px variables.$highlight-color; 579 } 580 581 582 /* Themes */ 583 584 .theme-browser .theme.active .theme-name, 585 .theme-browser .theme.add-new-theme a:hover:after, 586 .theme-browser .theme.add-new-theme a:focus:after { 587 background: variables.$highlight-color; 588 } 589 590 .theme-browser .theme.add-new-theme a:hover span:after, 591 .theme-browser .theme.add-new-theme a:focus span:after { 592 color: variables.$highlight-color; 593 } 594 595 .theme-section.current, 596 .theme-filter.current { 597 border-bottom-color: variables.$menu-background; 598 } 599 600 body.more-filters-opened .more-filters { 601 color: variables.$menu-text; 602 background-color: variables.$menu-background; 603 } 604 605 body.more-filters-opened .more-filters:before { 606 color: variables.$menu-text; 607 } 608 609 body.more-filters-opened .more-filters:hover, 610 body.more-filters-opened .more-filters:focus { 611 background-color: variables.$menu-highlight-background; 612 color: variables.$menu-highlight-text; 613 } 614 615 body.more-filters-opened .more-filters:hover:before, 616 body.more-filters-opened .more-filters:focus:before { 617 color: variables.$menu-highlight-text; 618 } 619 620 /* Widgets */ 621 622 .widgets-chooser li.widgets-chooser-selected { 623 background-color: variables.$menu-highlight-background; 624 color: variables.$menu-highlight-text; 625 } 626 627 .widgets-chooser li.widgets-chooser-selected:before, 628 .widgets-chooser li.widgets-chooser-selected:focus:before { 629 color: variables.$menu-highlight-text; 630 } 631 632 633 /* Nav Menus */ 634 635 .nav-menus-php .item-edit:focus:before { 636 box-shadow: 637 0 0 0 1px color.adjust(variables.$button-color, $lightness: 10%), 638 0 0 2px 1px variables.$button-color; 639 } 640 641 642 /* Responsive Component */ 643 644 div#wp-responsive-toggle a:before { 645 color: variables.$menu-icon; 646 } 647 648 .wp-responsive-open div#wp-responsive-toggle a { 649 // ToDo: make inset border 650 border-color: transparent; 651 background: variables.$menu-highlight-background; 652 } 653 654 .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { 655 background: variables.$menu-submenu-background; 656 } 657 658 .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before { 659 color: variables.$menu-icon; 660 } 661 662 /* TinyMCE */ 663 664 .mce-container.mce-menu .mce-menu-item:hover, 665 .mce-container.mce-menu .mce-menu-item.mce-selected, 666 .mce-container.mce-menu .mce-menu-item:focus, 667 .mce-container.mce-menu .mce-menu-item-normal.mce-active, 668 .mce-container.mce-menu .mce-menu-item-preview.mce-active { 669 background: variables.$highlight-color; 670 } 671 672 /* Customizer */ 673 .wp-core-ui { 674 #customize-controls .control-section:hover > .accordion-section-title, 675 #customize-controls .control-section .accordion-section-title:hover, 676 #customize-controls .control-section.open .accordion-section-title, 677 #customize-controls .control-section .accordion-section-title:focus { 678 color: variables.$link; 679 border-left-color: variables.$button-color; 680 } 681 682 .customize-controls-close:focus, 683 .customize-controls-close:hover, 684 .customize-controls-preview-toggle:focus, 685 .customize-controls-preview-toggle:hover { 686 color: variables.$link; 687 border-top-color: variables.$button-color; 688 } 689 690 .customize-panel-back:hover, 691 .customize-panel-back:focus, 692 .customize-section-back:hover, 693 .customize-section-back:focus { 694 color: variables.$link; 695 border-left-color: variables.$button-color; 696 } 697 698 .customize-screen-options-toggle:hover, 699 .customize-screen-options-toggle:active, 700 .customize-screen-options-toggle:focus, 701 .active-menu-screen-options .customize-screen-options-toggle, 702 #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, 703 #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, 704 #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { 705 color: variables.$link; 706 } 707 708 .customize-screen-options-toggle:focus:before, 709 #customize-controls .customize-info .customize-help-toggle:focus:before, 710 &.wp-customizer button:focus .toggle-indicator:before, 711 .menu-item-bar .item-delete:focus:before, 712 #available-menu-items .item-add:focus:before, 713 #customize-save-button-wrapper .save:focus, 714 #publish-settings:focus { 715 box-shadow: 716 0 0 0 1px color.adjust(variables.$button-color, $lightness: 10%), 717 0 0 2px 1px variables.$button-color; 718 } 719 720 #customize-controls .customize-info.open .customize-help-toggle, 721 #customize-controls .customize-info .customize-help-toggle:focus, 722 #customize-controls .customize-info .customize-help-toggle:hover { 723 color: variables.$link; 724 } 725 726 .control-panel-themes .customize-themes-section-title:focus, 727 .control-panel-themes .customize-themes-section-title:hover { 728 border-left-color: variables.$button-color; 729 color: variables.$link; 730 } 731 732 .control-panel-themes .theme-section .customize-themes-section-title.selected:after { 733 background: variables.$button-color; 734 } 735 736 .control-panel-themes .customize-themes-section-title.selected { 737 color: variables.$link; 738 } 739 740 #customize-theme-controls .control-section:hover > .accordion-section-title:after, 741 #customize-theme-controls .control-section .accordion-section-title:hover:after, 742 #customize-theme-controls .control-section.open .accordion-section-title:after, 743 #customize-theme-controls .control-section .accordion-section-title:focus:after, 744 #customize-outer-theme-controls .control-section:hover > .accordion-section-title:after, 745 #customize-outer-theme-controls .control-section .accordion-section-title:hover:after, 746 #customize-outer-theme-controls .control-section.open .accordion-section-title:after, 747 #customize-outer-theme-controls .control-section .accordion-section-title:focus:after { 748 color: variables.$link; 749 } 750 751 .customize-control .attachment-media-view .button-add-media:focus { 752 background-color: #fbfbfc; 753 border-color: variables.$button-color; 754 border-style: solid; 755 box-shadow: 0 0 0 1px variables.$button-color; 756 outline: 2px solid transparent; 757 } 758 759 .wp-full-overlay-footer .devices button:focus, 760 .wp-full-overlay-footer .devices button.active:hover { 761 border-bottom-color: variables.$button-color; 762 } 763 764 .wp-full-overlay-footer .devices button:hover:before, 765 .wp-full-overlay-footer .devices button:focus:before { 766 color: variables.$button-color; 767 } 768 769 .wp-full-overlay .collapse-sidebar:hover, 770 .wp-full-overlay .collapse-sidebar:focus { 771 color: variables.$button-color; 772 } 773 774 .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, 775 .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { 776 box-shadow: 777 0 0 0 1px color.adjust(variables.$button-color, $lightness: 10%), 778 0 0 2px 1px variables.$button-color; 779 } 780 781 &.wp-customizer .theme-overlay .theme-header .close:focus, 782 &.wp-customizer .theme-overlay .theme-header .close:hover, 783 &.wp-customizer .theme-overlay .theme-header .right:focus, 784 &.wp-customizer .theme-overlay .theme-header .right:hover, 785 &.wp-customizer .theme-overlay .theme-header .left:focus, 786 &.wp-customizer .theme-overlay .theme-header .left:hover { 787 border-bottom-color: variables.$button-color; 788 color: variables.$link; 789 } 790 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Tue Jan 21 08:20:01 2025 | Cross-referenced by PHPXref |