Ticket #29158: 29158.i9.2.diff
| File 29158.i9.2.diff, 12.6 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 { … … 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: #f5f5f5; 213 color: #0073aa; 214 background: #f3f3f5; 215 border-left-color: #f3f3f5; 216 } 217 218 #customize-controls .control-section .accordion-section-title:focus { 212 219 border-left: 4px solid #0073aa; 213 220 } 214 221 … … 220 227 .js .control-section .accordion-section-title:hover, 221 228 .js .control-section.open .accordion-section-title, 222 229 .js .control-section .accordion-section-title:focus { 223 background: #f 5f5f5;230 background: #f3f3f5; 224 231 } 225 232 226 233 #customize-theme-controls .control-section:hover > .accordion-section-title:after, … … 227 234 #customize-theme-controls .control-section .accordion-section-title:hover:after, 228 235 #customize-theme-controls .control-section.open .accordion-section-title:after, 229 236 #customize-theme-controls .control-section .accordion-section-title:focus:after { 230 color: # 23282d;237 color: #0073aa; 231 238 } 232 239 233 240 #customize-theme-controls .control-section.open { … … 392 399 padding: 10px 10px 12px 14px; 393 400 margin: 0; 394 401 line-height: 21px; 395 color: #555 ;402 color: #555d66; 396 403 } 397 404 398 405 .accordion-sub-container.control-panel-content { … … 424 431 color: #444; 425 432 text-align: left; 426 433 cursor: pointer; 427 -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; 428 transition: color .1s ease-in-out, background .1s ease-in-out; 434 -webkit-transition: color .15s ease-in-out, 435 background .15s ease-in-out; 436 transition: color .1s ease-in-out, 437 background .15s ease-in-out; 429 438 -webkit-box-sizing: content-box; 430 439 -moz-box-sizing: content-box; 431 440 box-sizing: content-box; … … 445 454 -webkit-box-shadow: none; 446 455 box-shadow: none; 447 456 cursor: pointer; 448 -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; 449 transition: color .1s ease-in-out, background .1s ease-in-out; 457 -webkit-transition: color .15s ease-in-out, 458 background .15s ease-in-out; 459 transition: color .15s ease-in-out, 460 background .15s ease-in-out; 450 461 } 451 462 452 463 .customize-section-back { … … 467 478 468 479 #customize-controls .panel-meta.customize-info .accordion-section-title:hover { 469 480 background: #fff; 470 color: #555 ;481 color: #555d66; 471 482 border-left: none; 472 483 } 473 484 … … 475 486 .customize-controls-close:hover, 476 487 .customize-controls-preview-toggle:focus, 477 488 .customize-controls-preview-toggle:hover { 478 background: #ddd; 479 border-color: #ccc; 480 color: #000; 489 background: #fff; 490 color: #0073aa; 481 491 outline: none; 482 492 -webkit-box-shadow: none; 483 493 box-shadow: none; 484 494 } 485 495 496 497 .customize-controls-close:focus, 498 .customize-controls-preview-toggle:focus { 499 border-top: 4px solid #0073aa; 500 height: 41px; 501 } 502 486 503 .customize-panel-back:hover, 487 504 .customize-panel-back:focus, 488 505 .customize-section-back:hover, 489 506 .customize-section-back:focus { 490 color: # 23282d;491 background: #f 5f5f5;507 color: #0073aa; 508 background: #f3f3f5; 492 509 outline: none; 493 510 -webkit-box-shadow: none; 494 511 box-shadow: none; 495 512 } 496 513 514 .customize-panel-back:focus, 515 .customize-section-back:focus { 516 border-left: 4px solid #0073aa; 517 } 518 497 519 .customize-controls-close:before { 498 520 font: normal 22px/45px dashicons; 499 521 content: "\f335"; … … 502 524 left: 13px; 503 525 } 504 526 527 .customize-controls-close:focus:before { 528 top: -3px; 529 } 530 505 531 .customize-panel-back:before, 506 532 .customize-section-back:before { 507 533 font: normal 20px/72px dashicons; … … 510 536 left: 13px; 511 537 } 512 538 539 .customize-panel-back:focus:before, 540 .customize-section-back:focus:before { 541 left: 10px; 542 } 543 513 544 .wp-full-overlay-sidebar .wp-full-overlay-header { 514 545 background-color: #eee; 515 546 -webkit-transition: padding ease-in-out .18s; … … 801 832 } 802 833 803 834 .customize-control-color .dropdown .dropdown-content { 804 background-color: #555 ;835 background-color: #555d66; 805 836 border: 1px solid rgba(0, 0, 0, 0.15); 806 837 } 807 838 … … 884 915 display: none; 885 916 position: absolute; 886 917 width: 100%; 887 color: #555 ;918 color: #555d66; 888 919 white-space: nowrap; 889 920 text-overflow: ellipsis; 890 921 overflow: hidden; … … 933 964 .customize-control-header .uploaded .header-view .close { 934 965 font-size: 20px; 935 966 color: #fff; 936 background: #555 ;967 background: #555d66; 937 968 background: rgba(0, 0, 0, 0.5); 938 969 position: absolute; 939 970 top: 10px; … … 1079 1110 #customize-theme-controls .control-panel-themes > .accordion-section-title { 1080 1111 cursor: default; 1081 1112 background: #fff; 1082 color: #555 ;1113 color: #555d66; 1083 1114 border-top: 1px solid #ddd; 1084 1115 border-bottom: 1px solid #ddd; 1085 1116 border-left: none; … … 1337 1368 font-weight: 600; 1338 1369 color: #555d66; 1339 1370 text-shadow: none; 1371 transition: .15s color ease-in-out, 1372 .15s background-color ease-in-out, 1373 .15s border-color ease-in-out; 1340 1374 } 1341 1375 1342 1376 .control-panel-themes .theme-section { … … 1346 1380 1347 1381 .control-panel-themes .customize-themes-section-title:focus, 1348 1382 .control-panel-themes .customize-themes-section-title:hover { 1349 border-left-color: #0073aa;1350 1383 color: #0073aa; 1351 background: #f5f5f5; 1384 background: #f3f3f5; 1385 border-left-color: #f3f3f5; 1352 1386 } 1353 1387 1388 .control-panel-themes .customize-themes-section-title:focus { 1389 border-left-color: #0073aa; 1390 } 1391 1354 1392 .control-panel-themes .theme-section .customize-themes-section-title.selected:after { 1355 1393 content: "\f147"; 1356 1394 font: 16px/1 dashicons; … … 1404 1442 } 1405 1443 1406 1444 .control-panel-themes .filter-details { 1407 background: #f 5f5f5;1445 background: #f3f3f5; 1408 1446 margin: 0; 1409 1447 padding: 8px 15px; 1410 1448 border-top: none; … … 1413 1451 } 1414 1452 1415 1453 .control-panel-themes .customize-themes-section-title.selected.details-open { 1416 border-bottom-color: #f 5f5f5;1417 border-left-color: #f 5f5f5;1418 background: #f 5f5f5;1454 border-bottom-color: #f3f3f5; 1455 border-left-color: #f3f3f5; 1456 background: #f3f3f5; 1419 1457 } 1420 1458 1421 1459 .control-panel-themes .favorites-form.filter-details label { … … 2080 2118 background: #fff; 2081 2119 border-bottom: 1px solid #ddd; 2082 2120 border-left: 4px solid #fff; 2121 transition: .15s color ease-in-out, 2122 .15s background-color ease-in-out, 2123 .15s border-color ease-in-out; 2083 2124 cursor: pointer; 2084 2125 display: none; 2085 2126 } … … 2155 2196 background: #eee; 2156 2197 border: 0; 2157 2198 border-right: 1px solid #ddd; 2158 color: # 444;2199 color: #555d66; 2159 2200 cursor: pointer; 2160 2201 -webkit-transition: color .1s ease-in-out, background .1s ease-in-out; 2161 2202 transition: color .1s ease-in-out, background .1s ease-in-out; … … 2236 2277 padding: 9px 10px 12px 14px; 2237 2278 margin: 0; 2238 2279 line-height: 24px; 2239 color: #555 ;2280 color: #555d66; 2240 2281 display: block; 2241 2282 overflow: hidden; 2242 2283 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; 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
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
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