2 position: relative; |
2 position: relative; |
3 margin-top: 30px; |
3 margin-top: 30px; |
4 } |
4 } |
5 |
5 |
6 #customize-theme-controls #accordion-section-menu_locations > .accordion-section-title { |
6 #customize-theme-controls #accordion-section-menu_locations > .accordion-section-title { |
7 border-bottom-color: #ddd; |
7 border-bottom-color: #dcdcde; |
8 margin-top: 15px; |
8 margin-top: 15px; |
9 } |
9 } |
10 |
10 |
11 #customize-theme-controls .customize-section-title-nav_menus-heading, |
11 #customize-theme-controls .customize-section-title-nav_menus-heading, |
12 #customize-theme-controls .customize-section-title-menu_locations-heading, |
12 #customize-theme-controls .customize-section-title-menu_locations-heading, |
27 } |
27 } |
28 |
28 |
29 #customize-controls .theme-location-set, |
29 #customize-controls .theme-location-set, |
30 #customize-controls .control-section .accordion-section-title:focus .menu-in-location, |
30 #customize-controls .control-section .accordion-section-title:focus .menu-in-location, |
31 #customize-controls .control-section .accordion-section-title:hover .menu-in-location { |
31 #customize-controls .control-section .accordion-section-title:hover .menu-in-location { |
32 color: #555; |
32 color: #50575e; |
33 } |
33 } |
34 |
34 |
35 /* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */ |
35 /* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */ |
36 .customize-control-nav_menu_location .edit-menu, |
36 .customize-control-nav_menu_location .edit-menu, |
37 .customize-control-nav_menu_location .create-menu { |
37 .customize-control-nav_menu_location .create-menu { |
81 .wp-customizer .menu-item-handle:hover { |
82 .wp-customizer .menu-item-handle:hover { |
82 z-index: 8; |
83 z-index: 8; |
83 } |
84 } |
84 |
85 |
85 .customize-control-nav_menu_item.has-notifications .menu-item-handle { |
86 .customize-control-nav_menu_item.has-notifications .menu-item-handle { |
86 border-left: 4px solid #00a0d2; |
87 border-left: 4px solid #72aee6; |
87 } |
88 } |
88 |
89 |
89 .wp-customizer .menu-item-settings { |
90 .wp-customizer .menu-item-settings { |
90 max-width: 100%; |
91 max-width: 100%; |
91 overflow: hidden; |
92 overflow: hidden; |
92 z-index: 8; |
93 z-index: 8; |
93 padding: 10px; |
94 padding: 10px; |
94 background: #eee; |
95 background: #f0f0f1; |
95 border: 1px solid #999; |
96 border: 1px solid #8c8f94; |
96 border-top: none; |
97 border-top: none; |
97 } |
98 } |
98 |
99 |
99 .wp-customizer .menu-item-settings .description-thin { |
100 .wp-customizer .menu-item-settings .description-thin { |
100 width: 100%; |
101 width: 100%; |
262 .customize-screen-options-toggle:focus, |
263 .customize-screen-options-toggle:focus, |
263 .active-menu-screen-options .customize-screen-options-toggle, |
264 .active-menu-screen-options .customize-screen-options-toggle, |
264 #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, |
265 #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:hover, |
265 #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, |
266 #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:active, |
266 #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { |
267 #customize-controls .customize-info.open.active-menu-screen-options .customize-help-toggle:focus { |
267 color: #0073aa; |
268 color: #2271b1; |
268 } |
269 } |
269 |
270 |
270 .customize-screen-options-toggle:focus, |
271 .customize-screen-options-toggle:focus, |
271 #customize-controls .customize-info .customize-help-toggle:focus { |
272 #customize-controls .customize-info .customize-help-toggle:focus { |
272 /* Only visible in Windows High Contrast mode */ |
273 /* Only visible in Windows High Contrast mode */ |
320 .wp-customizer .menu-item .item-edit .toggle-indicator:before, |
321 .wp-customizer .menu-item .item-edit .toggle-indicator:before, |
321 #available-menu-items .accordion-section-title .toggle-indicator:before { |
322 #available-menu-items .accordion-section-title .toggle-indicator:before { |
322 content: "\f140"; |
323 content: "\f140"; |
323 display: block; |
324 display: block; |
324 padding: 1px 2px 1px 0px; |
325 padding: 1px 2px 1px 0px; |
325 speak: none; |
326 speak: never; |
326 border-radius: 50%; |
327 border-radius: 50%; |
327 color: #72777c; |
328 color: #787c82; |
328 font: normal 20px/1 dashicons; |
329 font: normal 20px/1 dashicons; |
329 -webkit-font-smoothing: antialiased; |
330 -webkit-font-smoothing: antialiased; |
330 -moz-osx-font-smoothing: grayscale; |
331 -moz-osx-font-smoothing: grayscale; |
331 text-decoration: none !important; |
332 text-decoration: none !important; |
332 } |
333 } |
509 border-right: none; |
510 border-right: none; |
510 background: #fff; |
511 background: #fff; |
511 transition: background-color 0.15s; |
512 transition: background-color 0.15s; |
512 /* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */ |
513 /* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */ |
513 -webkit-user-select: auto; |
514 -webkit-user-select: auto; |
514 -moz-user-select: auto; |
|
515 -ms-user-select: auto; |
|
516 user-select: auto; |
515 user-select: auto; |
517 } |
516 } |
518 |
517 |
519 #available-menu-items .open .accordion-section-title, |
518 #available-menu-items .open .accordion-section-title, |
520 #available-menu-items #available-menu-items-search .accordion-section-title { |
519 #available-menu-items #available-menu-items-search .accordion-section-title { |
521 background: #eee; |
520 background: #f0f0f1; |
522 } |
521 } |
523 |
522 |
524 /* rework the arrow indicator implementation for NVDA bug see #32715 */ |
523 /* rework the arrow indicator implementation for NVDA bug see #32715 */ |
525 #available-menu-items .accordion-section-title:after { |
524 #available-menu-items .accordion-section-title:after { |
526 content: none !important; |
525 content: none !important; |
527 } |
526 } |
528 |
527 |
529 #available-menu-items .accordion-section-title:hover .toggle-indicator:before, |
528 #available-menu-items .accordion-section-title:hover .toggle-indicator:before, |
530 #available-menu-items .button-link:hover .toggle-indicator:before, |
529 #available-menu-items .button-link:hover .toggle-indicator:before, |
531 #available-menu-items .button-link:focus .toggle-indicator:before { |
530 #available-menu-items .button-link:focus .toggle-indicator:before { |
532 color: #23282d; |
531 color: #1d2327; |
533 } |
532 } |
534 |
533 |
535 #available-menu-items .open .accordion-section-title .toggle-indicator:before { |
534 #available-menu-items .open .accordion-section-title .toggle-indicator:before { |
536 content: "\f142"; |
535 content: "\f142"; |
537 color: #23282d; |
536 color: #1d2327; |
538 } |
537 } |
539 |
538 |
540 #available-menu-items .available-menu-items-list { |
539 #available-menu-items .available-menu-items-list { |
541 overflow-y: auto; |
540 overflow-y: auto; |
542 max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */ |
541 max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */ |
603 .edit-menu-item-url.invalid, |
602 .edit-menu-item-url.invalid, |
604 .menu-name-field.invalid, |
603 .menu-name-field.invalid, |
605 .menu-name-field.invalid:focus, |
604 .menu-name-field.invalid:focus, |
606 #available-menu-items .new-content-item .create-item-input.invalid, |
605 #available-menu-items .new-content-item .create-item-input.invalid, |
607 #available-menu-items .new-content-item .create-item-input.invalid:focus { |
606 #available-menu-items .new-content-item .create-item-input.invalid:focus { |
608 border: 1px solid #dc3232; |
607 border: 1px solid #d63638; |
609 } |
608 } |
610 |
609 |
611 #available-menu-items .menu-item-handle .item-type { |
610 #available-menu-items .menu-item-handle .item-type { |
612 padding-right: 0; |
611 padding-right: 0; |
613 } |
612 } |
664 |
663 |
665 #available-menu-items .menu-item-handle.item-added .item-type, |
664 #available-menu-items .menu-item-handle.item-added .item-type, |
666 #available-menu-items .menu-item-handle.item-added .item-title, |
665 #available-menu-items .menu-item-handle.item-added .item-title, |
667 #available-menu-items .menu-item-handle.item-added:hover .item-add, |
666 #available-menu-items .menu-item-handle.item-added:hover .item-add, |
668 #available-menu-items .menu-item-handle.item-added .item-add:focus { |
667 #available-menu-items .menu-item-handle.item-added .item-add:focus { |
669 color: #82878c; |
668 color: #8c8f94; |
670 } |
669 } |
671 |
670 |
672 #available-menu-items .menu-item-handle.item-added .item-add:before { |
671 #available-menu-items .menu-item-handle.item-added .item-add:before { |
673 content: "\f147"; |
672 content: "\f147"; |
674 } |
673 } |
759 .added-menu-item .menu-item-handle.loading { |
758 .added-menu-item .menu-item-handle.loading { |
760 padding: 10px 15px 10px 8px; |
759 padding: 10px 15px 10px 8px; |
761 cursor: default; |
760 cursor: default; |
762 opacity: .5; |
761 opacity: .5; |
763 background: #fff; |
762 background: #fff; |
764 color: #727773; |
763 color: #787c82; |
765 } |
764 } |
766 |
765 |
767 .added-menu-item .menu-item-handle { |
766 .added-menu-item .menu-item-handle { |
768 transition-property: opacity, background, color; |
767 transition-property: opacity, background, color; |
769 transition-duration: 1.25s; |
768 transition-duration: 1.25s; |
771 } |
770 } |
772 |
771 |
773 /* Add/delete Menus */ |
772 /* Add/delete Menus */ |
774 |
773 |
775 #customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title { |
774 #customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title { |
776 border-bottom-color: #ddd; |
775 border-bottom-color: #dcdcde; |
777 } |
776 } |
778 |
777 |
779 /* @todo update selector */ |
778 /* @todo update selector */ |
780 #accordion-section-add_menu { |
779 #accordion-section-add_menu { |
781 margin: 15px 12px; |
780 margin: 15px 12px; |
825 } |
824 } |
826 |
825 |
827 .menu-item-handle:hover { |
826 .menu-item-handle:hover { |
828 position: relative; |
827 position: relative; |
829 z-index: 10; |
828 z-index: 10; |
830 color: #0073aa; |
829 color: #2271b1; |
831 } |
830 } |
832 |
831 |
833 .menu-item-handle:hover .item-type, |
832 .menu-item-handle:hover .item-type, |
834 .menu-item-handle:hover .item-edit, |
833 .menu-item-handle:hover .item-edit, |
835 #available-menu-items .menu-item-handle:hover .item-add { |
834 #available-menu-items .menu-item-handle:hover .item-add { |
836 color: #0073aa; |
835 color: #2271b1; |
837 } |
836 } |
838 |
837 |
839 .menu-item-edit-active .menu-item-handle { |
838 .menu-item-edit-active .menu-item-handle { |
840 border-color: #999; |
839 border-color: #8c8f94; |
841 border-bottom: none; |
840 border-bottom: none; |
842 } |
841 } |
843 |
842 |
844 .customize-control-nav_menu_item { |
843 .customize-control-nav_menu_item { |
845 margin-bottom: 0; |
844 margin-bottom: 0; |
864 .wp-customizer button:focus .toggle-indicator:before, |
863 .wp-customizer button:focus .toggle-indicator:before, |
865 .menu-delete:focus, |
864 .menu-delete:focus, |
866 .menu-item-bar .item-delete:focus:before, |
865 .menu-item-bar .item-delete:focus:before, |
867 #available-menu-items .item-add:focus:before { |
866 #available-menu-items .item-add:focus:before { |
868 box-shadow: |
867 box-shadow: |
869 0 0 0 1px #5b9dd9, |
868 0 0 0 1px #4f94d4, |
870 0 0 2px 1px rgba(30, 140, 190, 0.8); |
869 0 0 2px 1px rgba(79, 148, 212, 0.8); |
871 } |
870 } |
872 |
871 |
873 |
872 |
874 @media screen and (max-width: 782px) { |
873 @media screen and (max-width: 782px) { |
875 #available-menu-items #available-menu-items-search .accordion-section-content { |
874 #available-menu-items #available-menu-items-search .accordion-section-content { |