Ticket #29158: 29158.i9.diff
File 29158.i9.diff, 8.6 KB (added by , 9 years ago) |
---|
-
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 { … … 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 194 } 195 195 … … 199 199 } 200 200 201 201 #customize-theme-controls .accordion-section-content { 202 color: #555 ;202 color: #555d66; 203 203 background: transparent; 204 204 } 205 205 … … 207 207 #customize-controls .control-section .accordion-section-title:hover, 208 208 #customize-controls .control-section.open .accordion-section-title, 209 209 #customize-controls .control-section .accordion-section-title:focus { 210 color: # 191e23;210 color: #0073aa; 211 211 background: #f5f5f5; 212 border-left-color: #f5f5f5; 213 } 214 215 #customize-controls .control-section .accordion-section-title:focus { 212 216 border-left: 4px solid #0073aa; 213 217 } 214 218 … … 227 231 #customize-theme-controls .control-section .accordion-section-title:hover:after, 228 232 #customize-theme-controls .control-section.open .accordion-section-title:after, 229 233 #customize-theme-controls .control-section .accordion-section-title:focus:after { 230 color: # 23282d;234 color: #0073aa; 231 235 } 232 236 233 237 #customize-theme-controls .control-section.open { … … 392 396 padding: 10px 10px 12px 14px; 393 397 margin: 0; 394 398 line-height: 21px; 395 color: #555 ;399 color: #555d66; 396 400 } 397 401 398 402 .accordion-sub-container.control-panel-content { … … 467 471 468 472 #customize-controls .panel-meta.customize-info .accordion-section-title:hover { 469 473 background: #fff; 470 color: #555 ;474 color: #555d66; 471 475 border-left: none; 472 476 } 473 477 … … 475 479 .customize-controls-close:hover, 476 480 .customize-controls-preview-toggle:focus, 477 481 .customize-controls-preview-toggle:hover { 478 background: #ddd; 479 border-color: #ccc; 480 color: #000; 482 background: #fff; 483 color: #0073aa; 481 484 outline: none; 482 485 -webkit-box-shadow: none; 483 486 box-shadow: none; 484 487 } 485 488 489 490 .customize-controls-close:focus, 491 .customize-controls-preview-toggle:focus { 492 border-top: 4px solid #0073aa; 493 height: 41px; 494 } 495 486 496 .customize-panel-back:hover, 487 497 .customize-panel-back:focus, 488 498 .customize-section-back:hover, 489 499 .customize-section-back:focus { 490 color: # 23282d;500 color: #0073aa; 491 501 background: #f5f5f5; 492 502 outline: none; 493 503 -webkit-box-shadow: none; … … 494 504 box-shadow: none; 495 505 } 496 506 507 .customize-panel-back:focus, 508 .customize-section-back:focus { 509 border-left: 4px solid #0073aa; 510 } 511 497 512 .customize-controls-close:before { 498 513 font: normal 22px/45px dashicons; 499 514 content: "\f335"; … … 502 517 left: 13px; 503 518 } 504 519 520 .customize-controls-close:focus:before { 521 top: -3px; 522 } 523 505 524 .customize-panel-back:before, 506 525 .customize-section-back:before { 507 526 font: normal 20px/72px dashicons; … … 510 529 left: 13px; 511 530 } 512 531 532 .customize-panel-back:focus:before, 533 .customize-section-back:focus:before { 534 left: 10px; 535 } 536 513 537 .wp-full-overlay-sidebar .wp-full-overlay-header { 514 538 background-color: #eee; 515 539 -webkit-transition: padding ease-in-out .18s; … … 801 825 } 802 826 803 827 .customize-control-color .dropdown .dropdown-content { 804 background-color: #555 ;828 background-color: #555d66; 805 829 border: 1px solid rgba(0, 0, 0, 0.15); 806 830 } 807 831 … … 884 908 display: none; 885 909 position: absolute; 886 910 width: 100%; 887 color: #555 ;911 color: #555d66; 888 912 white-space: nowrap; 889 913 text-overflow: ellipsis; 890 914 overflow: hidden; … … 933 957 .customize-control-header .uploaded .header-view .close { 934 958 font-size: 20px; 935 959 color: #fff; 936 background: #555 ;960 background: #555d66; 937 961 background: rgba(0, 0, 0, 0.5); 938 962 position: absolute; 939 963 top: 10px; … … 1079 1103 #customize-theme-controls .control-panel-themes > .accordion-section-title { 1080 1104 cursor: default; 1081 1105 background: #fff; 1082 color: #555 ;1106 color: #555d66; 1083 1107 border-top: 1px solid #ddd; 1084 1108 border-bottom: 1px solid #ddd; 1085 1109 border-left: none; … … 1346 1370 1347 1371 .control-panel-themes .customize-themes-section-title:focus, 1348 1372 .control-panel-themes .customize-themes-section-title:hover { 1349 border-left-color: #0073aa;1350 1373 color: #0073aa; 1351 1374 background: #f5f5f5; 1375 border-left-color: #f5f5f5; 1352 1376 } 1353 1377 1378 .control-panel-themes .customize-themes-section-title:focus { 1379 border-left-color: #0073aa; 1380 } 1381 1354 1382 .control-panel-themes .theme-section .customize-themes-section-title.selected:after { 1355 1383 content: "\f147"; 1356 1384 font: 16px/1 dashicons; … … 2155 2183 background: #eee; 2156 2184 border: 0; 2157 2185 border-right: 1px solid #ddd; 2158 color: # 444;2186 color: #555d66; 2159 2187 cursor: pointer; 2160 2188 -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; 2161 2189 transition: color .1s ease-in-out, background .1s ease-in-out; … … 2236 2264 padding: 9px 10px 12px 14px; 2237 2265 margin: 0; 2238 2266 line-height: 24px; 2239 color: #555 ;2267 color: #555d66; 2240 2268 display: block; 2241 2269 overflow: hidden; 2242 2270 white-space: nowrap; -
src/wp-admin/css/customize-widgets.css
231 231 #available-widgets .widget-tpl.selected { 232 232 background: #f5f5f5; 233 233 border-bottom-color: #ccc; 234 color: #0073aa; 235 } 236 237 #available-widgets .widget-tpl.selected { /* Used for focus */ 234 238 border-left: 4px solid #0073aa; 235 239 } 236 240 -
src/wp-admin/css/themes.css
1538 1538 } 1539 1539 1540 1540 .wp-full-overlay-footer .devices button:focus { 1541 background-color: #fff;1542 1541 border-bottom-color: #0073aa; 1543 1542 } 1544 1543 1545 .wp-full-overlay-footer .devices button.active:before, 1544 .wp-full-overlay-footer .devices button.active:before { 1545 color: #191e23; 1546 } 1547 1546 1548 .wp-full-overlay-footer .devices button:hover:before, 1547 1549 .wp-full-overlay-footer .devices button:focus:before { 1548 color: # 191e23;1550 color: #0073aa; 1549 1551 } 1550 1552 1551 1553 .wp-full-overlay-footer .devices .preview-desktop:before { -
src/wp-admin/js/customize-controls.js
980 980 content = section.contentContainer, 981 981 overlay = section.headContainer.closest( '.wp-full-overlay' ), 982 982 backBtn = content.find( '.customize-section-back' ), 983 focusTarget = content.find( ':focusable' ).first() || backBtn, 983 984 sectionTitle = section.headContainer.find( '.accordion-section-title' ).first(), 984 985 expand; 985 986 … … 993 994 sectionTitle.attr( 'tabindex', '-1' ); 994 995 backBtn.attr( 'tabindex', '0' ); 995 996 996 backBtn.focus();997 focusTarget.focus(); 997 998 content.css( 'top', '' ); 998 999 container.scrollTop( 0 ); 999 1000 … … 1969 1970 overlay = accordionSection.closest( '.wp-full-overlay' ), 1970 1971 container = accordionSection.closest( '.wp-full-overlay-sidebar-content' ), 1971 1972 topPanel = panel.headContainer.find( '.accordion-section-title' ), 1972 backBtn = accordionSection.find( '.customize-panel-back' ); 1973 backBtn = accordionSection.find( '.customize-panel-back' ), 1974 focusTarget = accordionSection.find( ':focusable' ).first() || backBtn; 1973 1975 1974 1976 if ( expanded && ! accordionSection.hasClass( 'current-panel' ) ) { 1975 1977 // Collapse any sibling sections/panels … … 1988 1990 topPanel.attr( 'tabindex', '-1' ); 1989 1991 backBtn.attr( 'tabindex', '0' ); 1990 1992 1991 backBtn.focus();1993 focusTarget.focus(); 1992 1994 accordionSection.css( 'top', '' ); 1993 1995 container.scrollTop( 0 ); 1994 1996