Ticket #29158: 29158.i9.3.diff
File 29158.i9.3.diff, 13.8 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/colors/_admin.scss
475 475 color: $menu-highlight-text; 476 476 } 477 477 478 /* Customize */479 480 #customize-theme-controls .widget-area-select .selected {481 background-color: $menu-highlight-background;482 color: $menu-highlight-text;483 }484 485 #customize-footer-actions .devices button:focus {486 border-bottom-color: $highlight-color;487 }488 489 #customize-controls .control-section:hover > .accordion-section-title,490 #customize-controls .control-section .accordion-section-title:hover,491 #customize-controls .control-section.open .accordion-section-title,492 #customize-controls .control-section .accordion-section-title:focus,493 #available-widgets .widget-tpl:hover,494 #available-widgets .widget-tpl.selected {495 border-left-color: $highlight-color;496 }497 498 478 /* Responsive Component */ 499 479 500 480 div#wp-responsive-toggle a:before { -
src/wp-admin/css/customize-controls.css
21 21 } 22 22 23 23 #customize-controls .description { 24 color: #555 ;24 color: #555d66; 25 25 } 26 26 27 27 #customize-header-actions .button-primary { … … 82 82 83 83 #customize-controls .customize-info .accordion-section-title { 84 84 background: #fff; 85 color: #555 ;85 color: #555d66; 86 86 border-left: none; 87 87 border-right: none; 88 88 border-bottom: none; … … 92 92 #customize-controls .customize-info.open .accordion-section-title:after, 93 93 #customize-controls .customize-info .accordion-section-title:hover:after, 94 94 #customize-controls .customize-info .accordion-section-title:focus:after { 95 color: #3 33;95 color: #32373c; 96 96 } 97 97 98 98 #customize-controls .customize-info .accordion-section-title:after { … … 134 134 box-shadow: none; 135 135 -webkit-appearance: none; 136 136 background: transparent; 137 color: #555 ;137 color: #555d66; 138 138 border: none; 139 139 } 140 140 … … 153 153 #customize-controls .customize-info .customize-panel-description, 154 154 #customize-controls .customize-info .customize-section-description, 155 155 #customize-controls .no-widget-areas-rendered-notice { 156 color: #555 ;156 color: #555d66; 157 157 display: none; 158 158 background: #fff; 159 159 padding: 12px 15px; … … 187 187 } 188 188 189 189 #customize-theme-controls .accordion-section-title { 190 color: #555 ;190 color: #555d66; 191 191 background-color: #fff; 192 border-bottom: 1px solid # eee;192 border-bottom: 1px solid #ddd; 193 193 border-left: 4px solid #fff; 194 transition: .15s color ease-in-out, 195 .15s background-color ease-in-out, 196 .15s border-color ease-in-out; 194 197 } 195 198 196 199 #customize-theme-controls .accordion-section-title:after { … … 199 202 } 200 203 201 204 #customize-theme-controls .accordion-section-content { 202 color: #555 ;205 color: #555d66; 203 206 background: transparent; 204 207 } 205 208 … … 207 210 #customize-controls .control-section .accordion-section-title:hover, 208 211 #customize-controls .control-section.open .accordion-section-title, 209 212 #customize-controls .control-section .accordion-section-title:focus { 210 color: # 191e23;211 background: #f 5f5f5;212 border-left : 4px solid#0073aa;213 color: #0073aa; 214 background: #f3f3f5; 215 border-left-color: #0073aa; 213 216 } 214 217 215 218 #accordion-section-themes + .control-section { … … 220 223 .js .control-section .accordion-section-title:hover, 221 224 .js .control-section.open .accordion-section-title, 222 225 .js .control-section .accordion-section-title:focus { 223 background: #f 5f5f5;226 background: #f3f3f5; 224 227 } 225 228 226 229 #customize-theme-controls .control-section:hover > .accordion-section-title:after, … … 227 230 #customize-theme-controls .control-section .accordion-section-title:hover:after, 228 231 #customize-theme-controls .control-section.open .accordion-section-title:after, 229 232 #customize-theme-controls .control-section .accordion-section-title:focus:after { 230 color: # 23282d;233 color: #0073aa; 231 234 } 232 235 233 236 #customize-theme-controls .control-section.open { … … 394 397 padding: 10px 10px 12px 14px; 395 398 margin: 0; 396 399 line-height: 21px; 397 color: #555 ;400 color: #555d66; 398 401 } 399 402 400 403 .accordion-sub-container.control-panel-content { … … 418 421 top: 0; 419 422 left: 0; 420 423 width: 45px; 421 height: 4 5px;424 height: 41px; 422 425 padding: 0 2px 0 0; 423 426 background: #eee; 424 427 border: none; 428 border-top: 4px solid #eee; 425 429 border-right: 1px solid #ddd; 426 430 color: #444; 427 431 text-align: left; 428 432 cursor: pointer; 429 -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; 430 transition: color .1s ease-in-out, background .1s ease-in-out; 433 -webkit-transition: color .15s ease-in-out, 434 border-color .15s ease-in-out, 435 background .15s ease-in-out; 436 transition: color .1s ease-in-out, 437 border-color .15s ease-in-out, 438 background .15s ease-in-out; 431 439 -webkit-box-sizing: content-box; 432 440 -moz-box-sizing: content-box; 433 441 box-sizing: content-box; … … 444 452 background: #fff; 445 453 border: none; 446 454 border-right: 1px solid #ddd; 455 border-left: 4px solid #fff; 447 456 -webkit-box-shadow: none; 448 457 box-shadow: none; 449 458 cursor: pointer; 450 -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; 451 transition: color .1s ease-in-out, background .1s ease-in-out; 459 -webkit-transition: color .15s ease-in-out, 460 border-color .15s ease-in-out, 461 background .15s ease-in-out; 462 transition: color .15s ease-in-out, 463 border-color .15s ease-in-out, 464 background .15s ease-in-out; 452 465 } 453 466 454 467 .customize-section-back { … … 471 484 #customize-controls .panel-meta.customize-info .accordion-section-title:hover, 472 485 #customize-controls .cannot-expand:hover .accordion-section-title { 473 486 background: #fff; 474 color: #555 ;487 color: #555d66; 475 488 border-left-color: #fff; 476 489 } 477 490 … … 479 492 .customize-controls-close:hover, 480 493 .customize-controls-preview-toggle:focus, 481 494 .customize-controls-preview-toggle:hover { 482 background: # ddd;483 border-color: #ccc;484 color: #000;495 background: #fff; 496 color: #0073aa; 497 border-top-color: #0073aa; 485 498 outline: none; 486 499 -webkit-box-shadow: none; 487 500 box-shadow: none; 488 501 } 489 502 503 490 504 .customize-panel-back:hover, 491 505 .customize-panel-back:focus, 492 506 .customize-section-back:hover, 493 507 .customize-section-back:focus { 494 color: #23282d; 495 background: #f5f5f5; 508 color: #0073aa; 509 background: #f3f3f5; 510 border-left-color: #0073aa; 496 511 outline: none; 497 512 -webkit-box-shadow: none; 498 513 box-shadow: none; … … 502 517 font: normal 22px/45px dashicons; 503 518 content: "\f335"; 504 519 position: relative; 505 top: 1px;520 top: -3px; 506 521 left: 13px; 507 522 } 508 523 524 .customize-controls-close:focus:before { 525 top: -3px; 526 } 527 509 528 .customize-panel-back:before, 510 529 .customize-section-back:before { 511 530 font: normal 20px/72px dashicons; 512 531 content: "\f341"; 513 532 position: relative; 514 left: 13px;533 left: 9px; 515 534 } 516 535 536 .customize-panel-back:focus:before, 537 .customize-section-back:focus:before { 538 left: 10px; 539 } 540 517 541 .wp-full-overlay-sidebar .wp-full-overlay-header { 518 542 background-color: #eee; 519 543 -webkit-transition: padding ease-in-out .18s; … … 854 878 } 855 879 856 880 .customize-control-color .dropdown .dropdown-content { 857 background-color: #555 ;881 background-color: #555d66; 858 882 border: 1px solid rgba(0, 0, 0, 0.15); 859 883 } 860 884 … … 937 961 display: none; 938 962 position: absolute; 939 963 width: 100%; 940 color: #555 ;964 color: #555d66; 941 965 white-space: nowrap; 942 966 text-overflow: ellipsis; 943 967 overflow: hidden; … … 992 1016 .customize-control-header .uploaded .header-view .close { 993 1017 font-size: 20px; 994 1018 color: #fff; 995 background: #555 ;1019 background: #555d66; 996 1020 background: rgba(0, 0, 0, 0.5); 997 1021 position: absolute; 998 1022 top: 10px; … … 1153 1177 #customize-theme-controls .control-panel-themes > .accordion-section-title { 1154 1178 cursor: default; 1155 1179 background: #fff; 1156 color: #555 ;1180 color: #555d66; 1157 1181 border-top: 1px solid #ddd; 1158 1182 border-bottom: 1px solid #ddd; 1159 1183 border-left: none; … … 1411 1435 font-weight: 600; 1412 1436 color: #555d66; 1413 1437 text-shadow: none; 1438 transition: .15s color ease-in-out, 1439 .15s background-color ease-in-out, 1440 .15s border-color ease-in-out; 1414 1441 } 1415 1442 1416 1443 .control-panel-themes .theme-section { … … 1420 1447 1421 1448 .control-panel-themes .customize-themes-section-title:focus, 1422 1449 .control-panel-themes .customize-themes-section-title:hover { 1450 color: #0073aa; 1451 background: #f3f3f5; 1423 1452 border-left-color: #0073aa; 1424 color: #0073aa;1425 background: #f5f5f5;1426 1453 } 1427 1454 1428 1455 .control-panel-themes .theme-section .customize-themes-section-title.selected:after { … … 1478 1505 } 1479 1506 1480 1507 .control-panel-themes .filter-details { 1481 background: #f 5f5f5;1508 background: #f3f3f5; 1482 1509 margin: 0; 1483 1510 padding: 8px 15px; 1484 1511 border-top: none; … … 1486 1513 display: none; 1487 1514 } 1488 1515 1489 .control-panel-themes .customize-themes-section-title. selected.details-open {1490 border-bottom-color: #f 5f5f5;1491 border-left-color: #f 5f5f5;1492 background: #f 5f5f5;1516 .control-panel-themes .customize-themes-section-title.details-open { 1517 border-bottom-color: #f3f3f5; 1518 border-left-color: #f3f3f5; 1519 background: #f3f3f5; 1493 1520 } 1494 1521 1495 1522 .control-panel-themes .favorites-form.filter-details label { … … 2154 2181 background: #fff; 2155 2182 border-bottom: 1px solid #ddd; 2156 2183 border-left: 4px solid #fff; 2184 transition: .15s color ease-in-out, 2185 .15s background-color ease-in-out, 2186 .15s border-color ease-in-out; 2157 2187 cursor: pointer; 2158 2188 display: none; 2159 2189 } … … 2229 2259 background: #eee; 2230 2260 border: 0; 2231 2261 border-right: 1px solid #ddd; 2232 color: # 444;2262 color: #555d66; 2233 2263 cursor: pointer; 2234 2264 -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; 2235 2265 transition: color .1s ease-in-out, background .1s ease-in-out; … … 2310 2340 padding: 9px 10px 12px 14px; 2311 2341 margin: 0; 2312 2342 line-height: 24px; 2313 color: #555 ;2343 color: #555d66; 2314 2344 display: block; 2315 2345 overflow: hidden; 2316 2346 white-space: nowrap; -
src/wp-admin/css/customize-widgets.css
229 229 230 230 #available-widgets .widget-tpl:hover, 231 231 #available-widgets .widget-tpl.selected { 232 background: #f 5f5f5;232 background: #f3f3f5; 233 233 border-bottom-color: #ccc; 234 color: #0073aa; 234 235 border-left: 4px solid #0073aa; 235 236 } 236 237 -
src/wp-admin/css/themes.css
1508 1508 box-shadow: none; 1509 1509 border-top: 1px solid transparent; 1510 1510 border-bottom: 4px solid transparent; 1511 -webkit-transition: background .1s ease-in-out; 1512 transition: background .1s ease-in-out; 1511 transition: .15s color ease-in-out, 1512 .15s background-color ease-in-out, 1513 .15s border-color ease-in-out; 1513 1514 } 1514 1515 1515 1516 .wp-full-overlay-footer .devices button:focus { … … 1537 1538 background-color: #fff; 1538 1539 } 1539 1540 1540 .wp-full-overlay-footer .devices button:focus {1541 background-color: #fff; 1541 .wp-full-overlay-footer .devices button:focus, 1542 .wp-full-overlay-footer .devices button.active:hover { 1542 1543 border-bottom-color: #0073aa; 1543 1544 } 1544 1545 1545 .wp-full-overlay-footer .devices button.active:before, 1546 .wp-full-overlay-footer .devices button.active:before { 1547 color: #191e23; 1548 } 1549 1546 1550 .wp-full-overlay-footer .devices button:hover:before, 1547 1551 .wp-full-overlay-footer .devices button:focus:before { 1548 color: # 191e23;1552 color: #0073aa; 1549 1553 } 1550 1554 1551 1555 .wp-full-overlay-footer .devices .preview-desktop:before { -
src/wp-admin/js/customize-controls.js
984 984 content = section.contentContainer, 985 985 overlay = section.headContainer.closest( '.wp-full-overlay' ), 986 986 backBtn = content.find( '.customize-section-back' ), 987 focusTarget = content.find( ':focusable' ).first(), 987 988 sectionTitle = section.headContainer.find( '.accordion-section-title' ).first(), 988 989 expand; 989 990 … … 997 998 sectionTitle.attr( 'tabindex', '-1' ); 998 999 backBtn.attr( 'tabindex', '0' ); 999 1000 1000 backBtn.focus(); 1001 // Note that we can't always use :focusable due to a jQuery UI issue. See: https://github.com/jquery/jquery-ui/pull/1583 1002 if ( ! focusTarget.length ) { 1003 focusTarget = content.find( 'input, select, textarea, button, object, a[href], [tabindex]' ).filter( ':visible' ).first(); 1004 if ( ! focusTarget.length ) { 1005 focusTarget = backBtn; // Fall back to focusing the back button. 1006 } 1007 } 1008 focusTarget.focus(); 1001 1009 content.css( 'top', '' ); 1002 1010 container.scrollTop( 0 ); 1003 1011 … … 1958 1966 overlay = accordionSection.closest( '.wp-full-overlay' ), 1959 1967 container = accordionSection.closest( '.wp-full-overlay-sidebar-content' ), 1960 1968 topPanel = panel.headContainer.find( '.accordion-section-title' ), 1961 backBtn = accordionSection.find( '.customize-panel-back' ); 1969 backBtn = accordionSection.find( '.customize-panel-back' ), 1970 focusTarget = accordionSection.find( ':focusable' ).first(); 1962 1971 1963 1972 if ( expanded && ! accordionSection.hasClass( 'current-panel' ) ) { 1964 1973 // Collapse any sibling sections/panels … … 1977 1986 topPanel.attr( 'tabindex', '-1' ); 1978 1987 backBtn.attr( 'tabindex', '0' ); 1979 1988 1980 backBtn.focus(); 1989 // Note that we can't always use :focusable due to a jQuery UI issue. See: https://github.com/jquery/jquery-ui/pull/1583 1990 if ( ! focusTarget.length ) { 1991 focusTarget = accordionSection.find( 'input, select, textarea, button, object, a[href], [tabindex]' ).filter( ':visible' ).first(); 1992 if ( ! focusTarget.length ) { 1993 focusTarget = backBtn; // Fall back to focusing the back button. 1994 } 1995 } 1996 focusTarget.focus(); 1981 1997 accordionSection.css( 'top', '' ); 1982 1998 container.scrollTop( 0 ); 1983 1999