changeset 9 | 177826044cd9 |
parent 7 | cf61fcea0001 |
child 16 | a86126ab1dd4 |
8:c7c34916027a | 9:177826044cd9 |
---|---|
19 #customize-controls .submit { |
19 #customize-controls .submit { |
20 text-align: center; |
20 text-align: center; |
21 } |
21 } |
22 |
22 |
23 #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked { |
23 #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked { |
24 background-color: rgba( 0, 0, 0, 0.7 ); |
24 background-color: rgba(0, 0, 0, 0.7); |
25 padding: 25px; |
25 padding: 25px; |
26 } |
26 } |
27 |
27 |
28 #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .customize-changeset-locked-message { |
28 #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .customize-changeset-locked-message { |
29 margin-left: auto; |
29 margin-left: auto; |
32 min-height: 64px; |
32 min-height: 64px; |
33 width: auto; |
33 width: auto; |
34 padding: 25px 25px 25px 109px; |
34 padding: 25px 25px 25px 109px; |
35 position: relative; |
35 position: relative; |
36 background: #fff; |
36 background: #fff; |
37 box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); |
37 box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); |
38 line-height: 1.5; |
38 line-height: 1.5; |
39 overflow-y: auto; |
39 overflow-y: auto; |
40 text-align: left; |
40 text-align: left; |
41 top: calc( 50% - 100px ); |
41 top: calc( 50% - 100px ); |
42 } |
42 } |
155 padding-right: 0; |
155 padding-right: 0; |
156 box-shadow: none; /* @todo Adjust box shadow based on the disable states of paired button. */ |
156 box-shadow: none; /* @todo Adjust box shadow based on the disable states of paired button. */ |
157 font-size: 14px; |
157 font-size: 14px; |
158 width: 30px; |
158 width: 30px; |
159 float: left; |
159 float: left; |
160 -webkit-transform: none; |
|
161 transform: none; |
160 transform: none; |
162 margin-top: 0; |
161 margin-top: 0; |
163 } |
162 } |
164 |
163 |
165 body:not(.ready) #publish-settings, |
164 body:not(.ready) #publish-settings, |
391 #customize-controls .customize-info.is-in-view, |
390 #customize-controls .customize-info.is-in-view, |
392 #customize-controls .customize-section-title.is-in-view { |
391 #customize-controls .customize-section-title.is-in-view { |
393 position: absolute; |
392 position: absolute; |
394 z-index: 9; |
393 z-index: 9; |
395 width: 100%; |
394 width: 100%; |
396 box-shadow: 0 1px 0 rgba(0, 0, 0, .1); |
395 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); |
397 } |
396 } |
398 |
397 |
399 #customize-controls .customize-section-title.is-in-view { |
398 #customize-controls .customize-section-title.is-in-view { |
400 margin-top: 0; |
399 margin-top: 0; |
401 } |
400 } |
429 display: none; |
428 display: none; |
430 } |
429 } |
431 |
430 |
432 #customize-controls .customize-info .preview-notice { |
431 #customize-controls .customize-info .preview-notice { |
433 font-size: 13px; |
432 font-size: 13px; |
434 line-height: 24px; |
433 line-height: 1.9; |
435 } |
434 } |
436 |
435 |
437 #customize-controls .customize-pane-child .customize-section-title h3, |
436 #customize-controls .customize-pane-child .customize-section-title h3, |
438 #customize-controls .customize-pane-child h3.customize-section-title, |
437 #customize-controls .customize-pane-child h3.customize-section-title, |
439 #customize-outer-theme-controls .customize-pane-child .customize-section-title h3, |
438 #customize-outer-theme-controls .customize-pane-child .customize-section-title h3, |
532 #customize-outer-theme-controls .accordion-section-title { |
531 #customize-outer-theme-controls .accordion-section-title { |
533 color: #555d66; |
532 color: #555d66; |
534 background-color: #fff; |
533 background-color: #fff; |
535 border-bottom: 1px solid #ddd; |
534 border-bottom: 1px solid #ddd; |
536 border-left: 4px solid #fff; |
535 border-left: 4px solid #fff; |
537 transition: .15s color ease-in-out, |
536 transition: |
538 .15s background-color ease-in-out, |
537 .15s color ease-in-out, |
539 .15s border-color ease-in-out; |
538 .15s background-color ease-in-out, |
539 .15s border-color ease-in-out; |
|
540 } |
540 } |
541 |
541 |
542 #customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title { |
542 #customize-controls #customize-theme-controls .customize-themes-panel .accordion-section-title { |
543 color: #555; |
543 color: #555; |
544 background-color: #fff; |
544 background-color: #fff; |
632 overflow: visible; |
632 overflow: visible; |
633 width: 100%; |
633 width: 100%; |
634 margin: 0; |
634 margin: 0; |
635 padding: 0; |
635 padding: 0; |
636 box-sizing: border-box; |
636 box-sizing: border-box; |
637 transition: 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1); |
637 transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */ |
638 transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1); |
|
639 transition: 0.18s transform cubic-bezier(0.645, 0.045, 0.355, 1), 0.18s -webkit-transform cubic-bezier(0.645, 0.045, 0.355, 1); /* easeInOutCubic */ |
|
640 } |
638 } |
641 |
639 |
642 #customize-theme-controls .customize-pane-child.skip-transition { |
640 #customize-theme-controls .customize-pane-child.skip-transition { |
643 transition: none; |
641 transition: none; |
644 } |
642 } |
648 position: relative; |
646 position: relative; |
649 visibility: visible; |
647 visibility: visible; |
650 height: auto; |
648 height: auto; |
651 max-height: none; |
649 max-height: none; |
652 overflow: auto; |
650 overflow: auto; |
653 -webkit-transform: none; |
|
654 transform: none; |
651 transform: none; |
655 } |
652 } |
656 |
653 |
657 #customize-theme-controls .customize-pane-child { |
654 #customize-theme-controls .customize-pane-child { |
658 position: absolute; |
655 position: absolute; |
660 left: 0; |
657 left: 0; |
661 visibility: hidden; |
658 visibility: hidden; |
662 height: 0; |
659 height: 0; |
663 max-height: none; |
660 max-height: none; |
664 overflow: hidden; |
661 overflow: hidden; |
665 -webkit-transform: translateX(100%); |
|
666 transform: translateX(100%); |
662 transform: translateX(100%); |
667 } |
663 } |
668 |
664 |
669 #customize-theme-controls .customize-pane-child.open, |
665 #customize-theme-controls .customize-pane-child.open, |
670 #customize-theme-controls .customize-pane-child.current-panel { |
666 #customize-theme-controls .customize-pane-child.current-panel { |
671 -webkit-transform: none; |
|
672 transform: none; |
667 transform: none; |
673 } |
668 } |
674 |
669 |
675 .section-open #customize-theme-controls .customize-pane-parent, |
670 .section-open #customize-theme-controls .customize-pane-parent, |
676 .in-sub-panel #customize-theme-controls .customize-pane-parent, |
671 .in-sub-panel #customize-theme-controls .customize-pane-parent, |
678 .in-sub-panel #customize-info, |
673 .in-sub-panel #customize-info, |
679 .in-sub-panel.section-open #customize-theme-controls .customize-pane-child.current-panel { |
674 .in-sub-panel.section-open #customize-theme-controls .customize-pane-child.current-panel { |
680 visibility: hidden; |
675 visibility: hidden; |
681 height: 0; |
676 height: 0; |
682 overflow: hidden; |
677 overflow: hidden; |
683 -webkit-transform: translateX(-100%); |
|
684 transform: translateX(-100%); |
678 transform: translateX(-100%); |
685 } |
679 } |
686 |
680 |
687 .section-open #customize-theme-controls .customize-pane-parent.busy, |
681 .section-open #customize-theme-controls .customize-pane-parent.busy, |
688 .in-sub-panel #customize-theme-controls .customize-pane-parent.busy, |
682 .in-sub-panel #customize-theme-controls .customize-pane-parent.busy, |
790 border-top: 4px solid #eee; |
784 border-top: 4px solid #eee; |
791 border-right: 1px solid #ddd; |
785 border-right: 1px solid #ddd; |
792 color: #444; |
786 color: #444; |
793 text-align: left; |
787 text-align: left; |
794 cursor: pointer; |
788 cursor: pointer; |
795 transition: color .15s ease-in-out, |
789 transition: |
796 border-color .15s ease-in-out, |
790 color .15s ease-in-out, |
797 background .15s ease-in-out; |
791 border-color .15s ease-in-out, |
792 background .15s ease-in-out; |
|
798 box-sizing: content-box; |
793 box-sizing: content-box; |
799 } |
794 } |
800 |
795 |
801 .customize-panel-back, |
796 .customize-panel-back, |
802 .customize-section-back { |
797 .customize-section-back { |
810 border: none; |
805 border: none; |
811 border-right: 1px solid #ddd; |
806 border-right: 1px solid #ddd; |
812 border-left: 4px solid #fff; |
807 border-left: 4px solid #fff; |
813 box-shadow: none; |
808 box-shadow: none; |
814 cursor: pointer; |
809 cursor: pointer; |
815 transition: color .15s ease-in-out, |
810 transition: |
816 border-color .15s ease-in-out, |
811 color .15s ease-in-out, |
817 background .15s ease-in-out; |
812 border-color .15s ease-in-out, |
813 background .15s ease-in-out; |
|
818 } |
814 } |
819 |
815 |
820 .customize-section-back { |
816 .customize-section-back { |
821 height: 74px; |
817 height: 74px; |
822 } |
818 } |
920 } |
916 } |
921 |
917 |
922 .customize-control select, |
918 .customize-control select, |
923 .customize-control input[type="radio"], |
919 .customize-control input[type="radio"], |
924 .customize-control input[type="checkbox"] { |
920 .customize-control input[type="checkbox"] { |
925 line-height: 28px; |
921 line-height: 2; |
926 } |
922 } |
927 |
923 |
928 .customize-control input[type="text"], |
924 .customize-control input[type="text"], |
929 .customize-control input[type="password"], |
925 .customize-control input[type="password"], |
930 .customize-control input[type="email"], |
926 .customize-control input[type="email"], |
931 .customize-control input[type="number"], |
927 .customize-control input[type="number"], |
932 .customize-control input[type="search"], |
928 .customize-control input[type="search"], |
933 .customize-control input[type="tel"], |
929 .customize-control input[type="tel"], |
934 .customize-control input[type="url"] { |
930 .customize-control input[type="url"] { |
935 width: 100%; |
931 width: 100%; |
936 line-height: 18px; |
932 line-height: 1.3; |
937 margin: 0; |
933 margin: 0; |
938 } |
934 } |
939 |
935 |
940 .customize-control-hidden { |
936 .customize-control-hidden { |
941 margin: 0; |
937 margin: 0; |
947 } |
943 } |
948 |
944 |
949 .customize-control select { |
945 .customize-control select { |
950 width: 100%; |
946 width: 100%; |
951 height: 28px; |
947 height: 28px; |
952 line-height: 28px; |
948 line-height: 2; |
953 } |
949 } |
954 |
950 |
955 .customize-control select[multiple] { |
951 .customize-control select[multiple] { |
956 height: auto; |
952 height: auto; |
957 } |
953 } |
958 |
954 |
959 .customize-control-title { |
955 .customize-control-title { |
960 display: block; |
956 display: block; |
961 font-size: 14px; |
957 font-size: 14px; |
962 line-height: 24px; |
958 line-height: 1.75; |
963 font-weight: 600; |
959 font-weight: 600; |
964 margin-bottom: 4px; |
960 margin-bottom: 4px; |
965 } |
961 } |
966 |
962 |
967 .customize-control-description { |
963 .customize-control-description { |
968 display: block; |
964 display: block; |
969 font-style: italic; |
965 font-style: italic; |
970 line-height: 18px; |
966 line-height: 1.4; |
971 margin-top: 0; |
967 margin-top: 0; |
972 margin-bottom: 5px; |
968 margin-bottom: 5px; |
973 } |
969 } |
974 |
970 |
975 .customize-section-description a.external-link:after { |
971 .customize-section-description a.external-link:after { |
986 .customize-control-upload div { |
982 .customize-control-upload div { |
987 line-height: 28px; |
983 line-height: 28px; |
988 } |
984 } |
989 |
985 |
990 .customize-control .customize-inside-control-row { |
986 .customize-control .customize-inside-control-row { |
991 line-height: 20px; |
987 line-height: 1.6; |
992 display: block; |
988 display: block; |
993 margin-left: 24px; |
989 margin-left: 24px; |
994 padding-top: 6px; |
990 padding-top: 6px; |
995 padding-bottom: 6px; |
991 padding-bottom: 6px; |
996 } |
992 } |
1006 padding: 5px 0 10px; |
1002 padding: 5px 0 10px; |
1007 } |
1003 } |
1008 |
1004 |
1009 .customize-control-radio .customize-control-title { |
1005 .customize-control-radio .customize-control-title { |
1010 margin-bottom: 0; |
1006 margin-bottom: 0; |
1011 line-height: 22px; |
1007 line-height: 1.6; |
1012 } |
1008 } |
1013 |
1009 |
1014 .customize-control-radio .customize-control-title + .customize-control-description { |
1010 .customize-control-radio .customize-control-title + .customize-control-description { |
1015 margin-top: 7px; |
1011 margin-top: 7px; |
1016 } |
1012 } |
1073 padding: 8px 15px; |
1069 padding: 8px 15px; |
1074 position: absolute; |
1070 position: absolute; |
1075 bottom: 0; |
1071 bottom: 0; |
1076 z-index: 10; |
1072 z-index: 10; |
1077 background: #eee; |
1073 background: #eee; |
1078 display: -webkit-box; |
|
1079 display: flex; |
1074 display: flex; |
1080 } |
1075 } |
1081 |
1076 |
1082 .customize-control-dropdown-pages .new-content-item { |
1077 .customize-control-dropdown-pages .new-content-item { |
1083 width: 100%; |
1078 width: 100%; |
1085 position: relative; |
1080 position: relative; |
1086 } |
1081 } |
1087 |
1082 |
1088 #available-menu-items .new-content-item .create-item-input, |
1083 #available-menu-items .new-content-item .create-item-input, |
1089 .customize-control-dropdown-pages .new-content-item .create-item-input { |
1084 .customize-control-dropdown-pages .new-content-item .create-item-input { |
1090 -webkit-box-flex: 10; |
|
1091 flex-grow: 10; |
1085 flex-grow: 10; |
1092 } |
1086 } |
1093 |
1087 |
1094 #available-menu-items .new-content-item .add-content, |
1088 #available-menu-items .new-content-item .add-content, |
1095 .customize-control-dropdown-pages .new-content-item .add-content { |
1089 .customize-control-dropdown-pages .new-content-item .add-content { |
1096 margin: 2px 0 2px 6px; |
1090 margin: 2px 0 2px 6px; |
1097 -webkit-box-flex: 10; |
|
1098 flex-grow: 1; |
1091 flex-grow: 1; |
1099 } |
1092 } |
1100 |
1093 |
1101 .customize-control-dropdown-pages .new-content-item .create-item-input.invalid { |
1094 .customize-control-dropdown-pages .new-content-item .create-item-input.invalid { |
1102 border: 1px solid #dc3232; |
1095 border: 1px solid #dc3232; |
1103 } |
1096 } |
1104 |
1097 |
1105 .customize-control-dropdown-pages .add-new-toggle { |
1098 .customize-control-dropdown-pages .add-new-toggle { |
1106 margin-left: 1px; |
1099 margin-left: 1px; |
1107 font-weight: 600; |
1100 font-weight: 600; |
1108 line-height: 28px; |
1101 line-height: 2.2; |
1109 } |
1102 } |
1110 |
1103 |
1111 #customize-preview iframe { |
1104 #customize-preview iframe { |
1112 width: 100%; |
1105 width: 100%; |
1113 height: 100%; |
1106 height: 100%; |
1213 #customize-controls .panel-meta > .customize-control-notifications-container .notice + .notice, |
1206 #customize-controls .panel-meta > .customize-control-notifications-container .notice + .notice, |
1214 #customize-controls .customize-section-title > .customize-control-notifications-container .notice + .notice { |
1207 #customize-controls .customize-section-title > .customize-control-notifications-container .notice + .notice { |
1215 margin-top: 1px; |
1208 margin-top: 1px; |
1216 } |
1209 } |
1217 |
1210 |
1218 @-webkit-keyframes customize-fade-in { |
|
1219 0% { opacity: 0; } |
|
1220 100% { opacity: 1; } |
|
1221 } |
|
1222 |
|
1223 @keyframes customize-fade-in { |
1211 @keyframes customize-fade-in { |
1224 0% { opacity: 0; } |
1212 0% { opacity: 0; } |
1225 100% { opacity: 1; } |
1213 100% { opacity: 1; } |
1226 } |
1214 } |
1227 |
1215 |
1230 margin: 0; |
1218 margin: 0; |
1231 border-left: 0; /* @todo Appropriate styles could be added for notice-error, notice-warning, notice-success, etc */ |
1219 border-left: 0; /* @todo Appropriate styles could be added for notice-error, notice-warning, notice-success, etc */ |
1232 } |
1220 } |
1233 |
1221 |
1234 #customize-controls .customize-control-notifications-container.has-overlay-notifications { |
1222 #customize-controls .customize-control-notifications-container.has-overlay-notifications { |
1235 -webkit-animation: customize-fade-in 0.5s; |
|
1236 animation: customize-fade-in 0.5s; |
1223 animation: customize-fade-in 0.5s; |
1237 z-index: 30; |
1224 z-index: 30; |
1238 } |
1225 } |
1239 |
1226 |
1240 /* Note: Styles for this are also defined in themes.css */ |
1227 /* Note: Styles for this are also defined in themes.css */ |
1390 .customize-control-header .current .container { |
1377 .customize-control-header .current .container { |
1391 overflow: hidden; |
1378 overflow: hidden; |
1392 } |
1379 } |
1393 |
1380 |
1394 .customize-control .attachment-media-view .placeholder, |
1381 .customize-control .attachment-media-view .placeholder, |
1382 .customize-control .attachment-media-view .button-add-media, |
|
1395 .customize-control-header .placeholder { |
1383 .customize-control-header .placeholder { |
1396 width: 100%; |
1384 width: 100%; |
1397 position: relative; |
1385 position: relative; |
1398 text-align: center; |
1386 text-align: center; |
1399 cursor: default; |
1387 cursor: default; |
1400 border: 1px dashed #b4b9be; |
1388 border: 1px dashed #b4b9be; |
1401 box-sizing: border-box; |
1389 box-sizing: border-box; |
1402 padding: 9px 0; |
1390 padding: 9px 0; |
1403 line-height: 20px; |
1391 line-height: 1.6; |
1392 } |
|
1393 |
|
1394 .customize-control .attachment-media-view .button-add-media { |
|
1395 cursor: pointer; |
|
1396 background-color: #edeff0; |
|
1397 color: #32373c; |
|
1398 } |
|
1399 |
|
1400 .customize-control .attachment-media-view .button-add-media:hover { |
|
1401 background-color: #fbfbfc; |
|
1402 } |
|
1403 |
|
1404 .customize-control .attachment-media-view .button-add-media:focus { |
|
1405 background-color: #fbfbfc; |
|
1406 border-style: solid; |
|
1407 border-color: #5b9dd9; |
|
1408 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); |
|
1409 /* Only visible in Windows High Contrast mode */ |
|
1410 outline: 2px solid transparent; |
|
1411 outline-offset: -2px; |
|
1404 } |
1412 } |
1405 |
1413 |
1406 .customize-control-header .inner { |
1414 .customize-control-header .inner { |
1407 display: none; |
1415 display: none; |
1408 position: absolute; |
1416 position: absolute; |
1442 .customize-control-header .header-view.selected .choice:focus { |
1450 .customize-control-header .header-view.selected .choice:focus { |
1443 outline: none; |
1451 outline: none; |
1444 } |
1452 } |
1445 |
1453 |
1446 .customize-control-header .header-view.selected:after { |
1454 .customize-control-header .header-view.selected:after { |
1447 content: ''; |
1455 content: ""; |
1448 position: absolute; |
1456 position: absolute; |
1449 height: auto; |
1457 height: auto; |
1450 top: 0; |
1458 top: 0; |
1451 left: 0; |
1459 left: 0; |
1452 bottom: 0; |
1460 bottom: 0; |
1504 margin-top: 4px; |
1512 margin-top: 4px; |
1505 } |
1513 } |
1506 |
1514 |
1507 .customize-control-header .placeholder:hover .dice, |
1515 .customize-control-header .placeholder:hover .dice, |
1508 .customize-control-header .header-view:hover > button.random .dice { |
1516 .customize-control-header .header-view:hover > button.random .dice { |
1509 -webkit-animation: dice-color-change 3s infinite; |
|
1510 animation: dice-color-change 3s infinite; |
1517 animation: dice-color-change 3s infinite; |
1511 } |
1518 } |
1512 |
1519 |
1513 .button-see-me { |
1520 .button-see-me { |
1514 -webkit-animation: bounce .7s 1; |
|
1515 animation: bounce .7s 1; |
1521 animation: bounce .7s 1; |
1516 -webkit-transform-origin: center bottom; |
|
1517 transform-origin: center bottom; |
1522 transform-origin: center bottom; |
1518 } |
|
1519 |
|
1520 @-webkit-keyframes bounce { |
|
1521 from, 20%, 53%, 80%, to { |
|
1522 -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
|
1523 -webkit-transform: translate3d(0,0,0); |
|
1524 } |
|
1525 |
|
1526 40%, 43% { |
|
1527 -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); |
|
1528 -webkit-transform: translate3d(0, -12px, 0); |
|
1529 } |
|
1530 |
|
1531 70% { |
|
1532 -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); |
|
1533 -webkit-transform: translate3d(0, -6px, 0); |
|
1534 } |
|
1535 |
|
1536 90% { |
|
1537 -webkit-transform: translate3d(0,-1px,0); |
|
1538 } |
|
1539 } |
1523 } |
1540 |
1524 |
1541 @keyframes bounce { |
1525 @keyframes bounce { |
1542 from, 20%, 53%, 80%, to { |
1526 from, 20%, 53%, 80%, to { |
1543 -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
|
1544 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
1527 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
1545 -webkit-transform: translate3d(0,0,0); |
|
1546 transform: translate3d(0,0,0); |
1528 transform: translate3d(0,0,0); |
1547 } |
1529 } |
1548 |
1530 |
1549 40%, 43% { |
1531 40%, 43% { |
1550 -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); |
|
1551 animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); |
1532 animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); |
1552 -webkit-transform: translate3d(0, -12px, 0); |
|
1553 transform: translate3d(0, -12px, 0); |
1533 transform: translate3d(0, -12px, 0); |
1554 } |
1534 } |
1555 |
1535 |
1556 70% { |
1536 70% { |
1557 -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); |
|
1558 animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); |
1537 animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060); |
1559 -webkit-transform: translate3d(0, -6px, 0); |
|
1560 transform: translate3d(0, -6px, 0); |
1538 transform: translate3d(0, -6px, 0); |
1561 } |
1539 } |
1562 |
1540 |
1563 90% { |
1541 90% { |
1564 -webkit-transform: translate3d(0,-1px,0); |
|
1565 transform: translate3d(0,-1px,0); |
1542 transform: translate3d(0,-1px,0); |
1566 } |
1543 } |
1567 } |
1544 } |
1568 |
1545 |
1569 .customize-control-header .choice { |
1546 .customize-control-header .choice { |
1574 |
1551 |
1575 .customize-control-header .choice:focus { |
1552 .customize-control-header .choice:focus { |
1576 outline: none; |
1553 outline: none; |
1577 box-shadow: |
1554 box-shadow: |
1578 0 0 0 1px #5b9dd9, |
1555 0 0 0 1px #5b9dd9, |
1579 0 0 3px 1px rgba(30, 140, 190, .8); |
1556 0 0 3px 1px rgba(30, 140, 190, 0.8); |
1580 } |
1557 } |
1581 |
1558 |
1582 .customize-control-header .uploaded div:last-child > .choice { |
1559 .customize-control-header .uploaded div:last-child > .choice { |
1583 margin-bottom: 0; |
1560 margin-bottom: 0; |
1584 } |
1561 } |
1666 } |
1643 } |
1667 |
1644 |
1668 .theme-browser .theme.active .theme-actions, |
1645 .theme-browser .theme.active .theme-actions, |
1669 .wp-customizer .theme-browser .theme .theme-actions { |
1646 .wp-customizer .theme-browser .theme .theme-actions { |
1670 padding: 10px 15px; |
1647 padding: 10px 15px; |
1671 box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); |
1648 box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); |
1672 } |
1649 } |
1673 |
1650 |
1674 @media screen and ( max-width: 640px ) { |
1651 @media screen and (max-width: 640px) { |
1675 .customize-section-description-container + #customize-control-custom_css:last-child { |
1652 .customize-section-description-container + #customize-control-custom_css:last-child { |
1676 margin-right: 0; |
1653 margin-right: 0; |
1677 } |
1654 } |
1678 |
1655 |
1679 .customize-section-description-container + #customize-control-custom_css:last-child textarea { |
1656 .customize-section-description-container + #customize-control-custom_css:last-child textarea { |
1817 float: right; |
1794 float: right; |
1818 margin: 3px 0 3px 25px; |
1795 margin: 3px 0 3px 25px; |
1819 } |
1796 } |
1820 |
1797 |
1821 .themes-filter-bar .feature-filter-toggle:before { |
1798 .themes-filter-bar .feature-filter-toggle:before { |
1822 content: "\f111"; |
1799 content: "\f111"; |
1823 margin: 0 5px 0 0; |
1800 margin: 0 5px 0 0; |
1824 font: normal 16px/1 dashicons; |
1801 font: normal 16px/1 dashicons; |
1825 vertical-align: text-bottom; |
1802 vertical-align: text-bottom; |
1826 -webkit-font-smoothing: antialiased; |
1803 -webkit-font-smoothing: antialiased; |
1827 -moz-osx-font-smoothing: grayscale; |
1804 -moz-osx-font-smoothing: grayscale; |
1828 } |
1805 } |
1829 |
1806 |
1830 .themes-filter-bar .feature-filter-toggle.open { |
1807 .themes-filter-bar .feature-filter-toggle.open { |
1831 background: #eee; |
1808 background: #eee; |
1832 border-color: #999; |
1809 border-color: #999; |
1833 box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 ); |
1810 box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); |
1834 -webkit-transform: translateY(1px); |
|
1835 transform: translateY(1px); |
1811 transform: translateY(1px); |
1836 } |
1812 } |
1837 |
1813 |
1838 .themes-filter-bar .feature-filter-toggle .filter-count-filters { |
1814 .themes-filter-bar .feature-filter-toggle .filter-count-filters { |
1839 display: none; |
1815 display: none; |
1858 min-width: 200px; |
1834 min-width: 200px; |
1859 max-width: 320px; |
1835 max-width: 320px; |
1860 } |
1836 } |
1861 |
1837 |
1862 /* Adds a delay before fading in to avoid it "jumping" */ |
1838 /* Adds a delay before fading in to avoid it "jumping" */ |
1863 @-webkit-keyframes themes-fade-in { |
|
1864 0% { |
|
1865 opacity: 0; |
|
1866 } |
|
1867 50% { |
|
1868 opacity: 0; |
|
1869 } |
|
1870 100% { |
|
1871 opacity: 1; |
|
1872 } |
|
1873 } |
|
1874 @keyframes themes-fade-in { |
1839 @keyframes themes-fade-in { |
1875 0% { |
1840 0% { |
1876 opacity: 0; |
1841 opacity: 0; |
1877 } |
1842 } |
1878 50% { |
1843 50% { |
1882 opacity: 1; |
1847 opacity: 1; |
1883 } |
1848 } |
1884 } |
1849 } |
1885 |
1850 |
1886 .control-panel-themes .customize-themes-full-container.animate { |
1851 .control-panel-themes .customize-themes-full-container.animate { |
1887 -webkit-animation: .6s themes-fade-in 1; |
|
1888 animation: .6s themes-fade-in 1; |
1852 animation: .6s themes-fade-in 1; |
1889 } |
1853 } |
1890 |
1854 |
1891 .in-themes-panel:not(.animating) .control-panel-themes .filter-themes-count { |
1855 .in-themes-panel:not(.animating) .control-panel-themes .filter-themes-count { |
1892 -webkit-animation: .6s themes-fade-in 1; |
|
1893 animation: .6s themes-fade-in 1; |
1856 animation: .6s themes-fade-in 1; |
1894 } |
1857 } |
1895 |
1858 |
1896 .control-panel-themes .filter-themes-count { |
1859 .control-panel-themes .filter-themes-count { |
1897 position: relative; |
1860 position: relative; |
1898 float: right; |
1861 float: right; |
1899 line-height: 34px; |
1862 line-height: 2.6; |
1900 } |
1863 } |
1901 |
1864 |
1902 .control-panel-themes .filter-themes-count .themes-displayed { |
1865 .control-panel-themes .filter-themes-count .themes-displayed { |
1903 font-weight: 600; |
1866 font-weight: 600; |
1904 color: #555d66; |
1867 color: #555d66; |
2123 margin: 0; |
2086 margin: 0; |
2124 padding: 0; |
2087 padding: 0; |
2125 } |
2088 } |
2126 |
2089 |
2127 .themes-filter-bar .wp-filter-search { |
2090 .themes-filter-bar .wp-filter-search { |
2128 line-height: 25px; |
2091 line-height: 1.8; |
2129 padding: 6px 10px 6px 30px; |
2092 padding: 6px 10px 6px 30px; |
2130 max-width: 100%; |
2093 max-width: 100%; |
2131 width: 40%; |
2094 width: 40%; |
2132 min-width: 300px; |
2095 min-width: 300px; |
2133 position: absolute; |
2096 position: absolute; |
2137 margin: 1px 0; |
2100 margin: 1px 0; |
2138 } |
2101 } |
2139 |
2102 |
2140 /* Unstick the filter bar on short windows/screens. This breakpoint is based on the |
2103 /* Unstick the filter bar on short windows/screens. This breakpoint is based on the |
2141 current length of .org feature filters assuming translations do not wrap lines. */ |
2104 current length of .org feature filters assuming translations do not wrap lines. */ |
2142 @media screen and (max-height:540px), screen and (max-width:1018px) { |
2105 @media screen and (max-height: 540px), screen and (max-width: 1018px) { |
2143 .customize-preview-header.themes-filter-bar { |
2106 .customize-preview-header.themes-filter-bar { |
2144 position: relative; |
2107 position: relative; |
2145 left: 0; |
2108 left: 0; |
2146 width: 100%; |
2109 width: 100%; |
2147 margin: 0 0 25px 0; |
2110 margin: 0 0 25px 0; |
2160 height: 100%; |
2123 height: 100%; |
2161 width: calc(100% - 300px); |
2124 width: calc(100% - 300px); |
2162 } |
2125 } |
2163 } |
2126 } |
2164 |
2127 |
2165 @media screen and (max-width:1018px) { |
2128 @media screen and (max-width: 1018px) { |
2166 .filter-drawer .filter-group { |
2129 .filter-drawer .filter-group { |
2167 width: calc( (100% - 50px) / 2); |
2130 width: calc( (100% - 50px) / 2); |
2168 } |
2131 } |
2169 } |
2132 } |
2170 |
2133 |
2171 @media screen and (max-width:900px) { |
2134 @media screen and (max-width: 900px) { |
2172 .customize-preview-header.themes-filter-bar { |
2135 .customize-preview-header.themes-filter-bar { |
2173 height: 86px; |
2136 height: 86px; |
2174 padding-top: 46px; |
2137 padding-top: 46px; |
2175 } |
2138 } |
2176 |
2139 |
2187 .control-panel-themes .filter-themes-count { |
2150 .control-panel-themes .filter-themes-count { |
2188 float: left; |
2151 float: left; |
2189 } |
2152 } |
2190 } |
2153 } |
2191 |
2154 |
2192 @media screen and (max-width:792px) { |
2155 @media screen and (max-width: 792px) { |
2193 .filter-drawer .filter-group { |
2156 .filter-drawer .filter-group { |
2194 width: calc( 100% - 25px); |
2157 width: calc( 100% - 25px); |
2195 } |
2158 } |
2196 } |
2159 } |
2197 |
2160 |
2198 .control-panel-themes .customize-themes-mobile-back { |
2161 .control-panel-themes .customize-themes-mobile-back { |
2199 display: none; |
2162 display: none; |
2200 } |
2163 } |
2201 |
2164 |
2202 /* Mobile - toggle between themes and filters */ |
2165 /* Mobile - toggle between themes and filters */ |
2203 @media screen and (max-width:600px) { |
2166 @media screen and (max-width: 600px) { |
2204 |
2167 |
2205 .filter-drawer { |
2168 .filter-drawer { |
2206 top: 132px; |
2169 top: 132px; |
2207 } |
2170 } |
2208 |
2171 |
2251 left: 0; |
2214 left: 0; |
2252 top: 0; |
2215 top: 0; |
2253 height: 46px; |
2216 height: 46px; |
2254 width: 26px; |
2217 width: 26px; |
2255 display: block; |
2218 display: block; |
2256 line-height: 46px; |
2219 line-height: 2.3; |
2257 padding: 0 8px 0 8px; |
2220 padding: 0 8px 0 8px; |
2258 border-right: 1px solid #ddd; |
2221 border-right: 1px solid #ddd; |
2259 } |
2222 } |
2260 |
2223 |
2261 .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:hover, |
2224 .wp-customizer .showing-themes .control-panel-themes .customize-themes-mobile-back:hover, |
2301 .wp-full-overlay.in-themes-panel.themes-panel-expanded #customize-controls .wp-full-overlay-sidebar-content { |
2264 .wp-full-overlay.in-themes-panel.themes-panel-expanded #customize-controls .wp-full-overlay-sidebar-content { |
2302 overflow: visible; |
2265 overflow: visible; |
2303 } |
2266 } |
2304 |
2267 |
2305 .wp-customizer .theme-overlay .theme-backdrop { |
2268 .wp-customizer .theme-overlay .theme-backdrop { |
2306 background: rgba( 238, 238, 238, 0.75 ); |
2269 background: rgba(238, 238, 238, 0.75); |
2307 position: fixed; |
2270 position: fixed; |
2308 z-index: 110; |
2271 z-index: 110; |
2309 } |
2272 } |
2310 |
2273 |
2311 .wp-customizer .theme-overlay .star-rating { |
2274 .wp-customizer .theme-overlay .star-rating { |
2379 background: transparent; |
2342 background: transparent; |
2380 color: #ccc; |
2343 color: #ccc; |
2381 } |
2344 } |
2382 |
2345 |
2383 /* Small Screens */ |
2346 /* Small Screens */ |
2384 @media (max-width:850px), (max-height:472px) { |
2347 @media (max-width: 850px), (max-height: 472px) { |
2385 .wp-customizer .theme-overlay .theme-wrap { |
2348 .wp-customizer .theme-overlay .theme-wrap { |
2386 left: 0; |
2349 left: 0; |
2387 right: 0; |
2350 right: 0; |
2388 top: 0; |
2351 top: 0; |
2389 bottom: 0; |
2352 bottom: 0; |
2401 background: #fff; |
2364 background: #fff; |
2402 margin: 50px auto 2em; |
2365 margin: 50px auto 2em; |
2403 padding: 1em 2em; |
2366 padding: 1em 2em; |
2404 max-width: 700px; |
2367 max-width: 700px; |
2405 min-width: 0; |
2368 min-width: 0; |
2406 box-shadow: 0 1px 3px rgba(0,0,0,0.13); |
2369 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13); |
2407 } |
2370 } |
2408 |
2371 |
2409 body.cheatin h1 { |
2372 body.cheatin h1 { |
2410 border-bottom: 1px solid #ddd; |
2373 border-bottom: 1px solid #ddd; |
2411 clear: both; |
2374 clear: both; |
2573 } |
2536 } |
2574 |
2537 |
2575 body.adding-widget .add-new-widget:before, |
2538 body.adding-widget .add-new-widget:before, |
2576 .adding-menu-items .add-new-menu-item:before, |
2539 .adding-menu-items .add-new-menu-item:before, |
2577 #accordion-section-add_menu .add-new-menu-item.open:before { |
2540 #accordion-section-add_menu .add-new-menu-item.open:before { |
2578 -webkit-transform: rotate(45deg); |
|
2579 transform: rotate(45deg); |
2541 transform: rotate(45deg); |
2580 } |
2542 } |
2581 |
2543 |
2582 #available-widgets, |
2544 #available-widgets, |
2583 #available-menu-items { |
2545 #available-menu-items { |
2648 position: absolute; |
2610 position: absolute; |
2649 top: 15px; /* 13 container padding +1 input margin +1 input border */ |
2611 top: 15px; /* 13 container padding +1 input margin +1 input border */ |
2650 left: 16px; |
2612 left: 16px; |
2651 width: 30px; |
2613 width: 30px; |
2652 height: 30px; |
2614 height: 30px; |
2653 line-height: 28px; |
2615 line-height: 2.1; |
2654 text-align: center; |
2616 text-align: center; |
2655 color: #72777c; |
2617 color: #72777c; |
2656 } |
2618 } |
2657 |
2619 |
2658 #available-widgets-filter .clear-results, |
2620 #available-widgets-filter .clear-results, |
2700 |
2662 |
2701 #available-widgets-filter .clear-results:focus, |
2663 #available-widgets-filter .clear-results:focus, |
2702 #available-menu-items-search .clear-results:focus { |
2664 #available-menu-items-search .clear-results:focus { |
2703 box-shadow: |
2665 box-shadow: |
2704 0 0 0 1px #5b9dd9, |
2666 0 0 0 1px #5b9dd9, |
2705 0 0 2px 1px rgba(30, 140, 190, .8); |
2667 0 0 2px 1px rgba(30, 140, 190, 0.8); |
2706 } |
2668 } |
2707 |
2669 |
2708 #available-menu-items-search .search-icon:after, |
2670 #available-menu-items-search .search-icon:after, |
2709 #available-widgets-filter .search-icon:after, |
2671 #available-widgets-filter .search-icon:after, |
2710 .themes-filter-bar .search-icon:after { |
2672 .themes-filter-bar .search-icon:after { |
2752 position: relative; |
2714 position: relative; |
2753 padding: 15px 15px 15px 60px; |
2715 padding: 15px 15px 15px 60px; |
2754 background: #fff; |
2716 background: #fff; |
2755 border-bottom: 1px solid #ddd; |
2717 border-bottom: 1px solid #ddd; |
2756 border-left: 4px solid #fff; |
2718 border-left: 4px solid #fff; |
2757 transition: .15s color ease-in-out, |
2719 transition: |
2758 .15s background-color ease-in-out, |
2720 .15s color ease-in-out, |
2759 .15s border-color ease-in-out; |
2721 .15s background-color ease-in-out, |
2722 .15s border-color ease-in-out; |
|
2760 cursor: pointer; |
2723 cursor: pointer; |
2761 display: none; |
2724 display: none; |
2762 } |
2725 } |
2763 |
2726 |
2764 #available-widgets .widget, |
2727 #available-widgets .widget, |
2798 margin-left: -32px; |
2761 margin-left: -32px; |
2799 } |
2762 } |
2800 |
2763 |
2801 .customize-control input[type="radio"] + label + br, |
2764 .customize-control input[type="radio"] + label + br, |
2802 .customize-control input[type="checkbox"] + label + br { |
2765 .customize-control input[type="checkbox"] + label + br { |
2803 line-height: 32px; /* For widgets checkboxes */ |
2766 line-height: 2.5; /* For widgets checkboxes */ |
2804 } |
2767 } |
2805 |
2768 |
2806 .customize-control .date-time-fields select { |
2769 .customize-control .date-time-fields select { |
2807 height: 39px; |
2770 height: 39px; |
2808 } |
2771 } |
2842 .wp-core-ui .themes-filter-bar .feature-filter-toggle { |
2805 .wp-core-ui .themes-filter-bar .feature-filter-toggle { |
2843 margin: 3px 0 3px 25px; |
2806 margin: 3px 0 3px 25px; |
2844 } |
2807 } |
2845 } |
2808 } |
2846 |
2809 |
2847 @media screen and ( max-width: 1200px ) { |
2810 @media screen and (max-width: 1200px) { |
2848 .outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, |
2811 .outer-section-open .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, |
2849 .adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, |
2812 .adding-menu-items .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main, |
2850 .adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main { |
2813 .adding-widget .wp-full-overlay.expanded.preview-mobile .wp-full-overlay-main { |
2851 left: 67%; |
2814 left: 67%; |
2852 } |
2815 } |
2853 } |
2816 } |
2854 |
2817 |
2855 @media screen and ( max-width: 640px ) { |
2818 @media screen and (max-width: 640px) { |
2856 |
2819 |
2857 /* when the sidebar is collapsed and switching to responsive view, |
2820 /* when the sidebar is collapsed and switching to responsive view, |
2858 bring it back see ticket #35220 */ |
2821 bring it back see ticket #35220 */ |
2859 .wp-full-overlay.collapsed #customize-controls { |
2822 .wp-full-overlay.collapsed #customize-controls { |
2860 margin-left: 0; |
2823 margin-left: 0; |
2867 .customize-controls-preview-toggle { |
2830 .customize-controls-preview-toggle { |
2868 display: block; |
2831 display: block; |
2869 position: absolute; |
2832 position: absolute; |
2870 top: 0; |
2833 top: 0; |
2871 left: 48px; |
2834 left: 48px; |
2872 line-height: 45px; |
2835 line-height: 3.2; |
2873 font-size: 14px; |
2836 font-size: 14px; |
2874 padding: 0 12px; |
2837 padding: 0 12px; |
2875 margin: 0; |
2838 margin: 0; |
2876 height: 45px; |
2839 height: 45px; |
2877 background: #eee; |
2840 background: #eee; |
2998 } |
2961 } |
2999 |
2962 |
3000 .theme-browser .theme.active .theme-actions, |
2963 .theme-browser .theme.active .theme-actions, |
3001 .wp-customizer .theme-browser .theme .theme-actions { |
2964 .wp-customizer .theme-browser .theme .theme-actions { |
3002 padding: 9px 15px; |
2965 padding: 9px 15px; |
3003 box-shadow: inset 0 1px 0 rgba(0,0,0,0.1); |
2966 box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); |
3004 } |
2967 } |
3005 } |
2968 } |
3006 |
2969 |
3007 @media screen and ( max-width: 600px ) { |
2970 @media screen and (max-width: 600px) { |
3008 .theme-browser .theme.active .theme-actions, |
2971 .theme-browser .theme.active .theme-actions, |
3009 .wp-customizer .theme-browser .theme .theme-actions { |
2972 .wp-customizer .theme-browser .theme .theme-actions { |
3010 padding: 8px 15px; |
2973 padding: 8px 15px; |
3011 box-shadow: none; |
2974 box-shadow: none; |
3012 } |
2975 } |