wp/wp-admin/css/customize-controls.css
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
    29 	margin-left: auto;
    29 	margin-left: auto;
    30 	margin-right: auto;
    30 	margin-right: auto;
    31 	max-width: 366px;
    31 	max-width: 366px;
    32 	min-height: 64px;
    32 	min-height: 64px;
    33 	width: auto;
    33 	width: auto;
    34 	padding: 25px 25px 25px 109px;
    34 	padding: 25px;
    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 }
       
    43 
       
    44 #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .customize-changeset-locked-message.has-avatar {
       
    45 	padding-left: 109px;
    42 }
    46 }
    43 
    47 
    44 #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .currently-editing {
    48 #customize-controls #customize-notifications-area .notice.notification-overlay.notification-changeset-locked .currently-editing {
    45 	margin-top: 0;
    49 	margin-top: 0;
    46 }
    50 }
   359 .date-time-fields .date-input.hour,
   363 .date-time-fields .date-input.hour,
   360 .date-time-fields .date-input.minute {
   364 .date-time-fields .date-input.minute {
   361 	width: 46px;
   365 	width: 46px;
   362 }
   366 }
   363 
   367 
       
   368 .customize-control-date_time select {
       
   369 	vertical-align: top;
       
   370 }
       
   371 
   364 .date-time-fields .date-input.year {
   372 .date-time-fields .date-input.year {
   365 	width: 65px;
   373 	width: 65px;
   366 }
   374 }
   367 
   375 
   368 .date-time-fields .date-input.meridian {
   376 .date-time-fields .date-input.meridian {
   391 	background: #fff;
   399 	background: #fff;
   392 	border-bottom: 1px solid #dcdcde;
   400 	border-bottom: 1px solid #dcdcde;
   393 	margin-bottom: 0;
   401 	margin-bottom: 0;
   394 }
   402 }
   395 
   403 
       
   404 #customize-control-site_icon .customize-control-description,
   396 #customize-control-changeset_scheduled_date .customize-control-description {
   405 #customize-control-changeset_scheduled_date .customize-control-description {
   397 	font-style: normal;
   406 	font-style: normal;
   398 }
   407 }
   399 
   408 
   400 #customize-controls .customize-info.is-in-view,
   409 #customize-controls .customize-info.is-in-view,
   424 	color: #50575e;
   433 	color: #50575e;
   425 	border-left: none;
   434 	border-left: none;
   426 	border-right: none;
   435 	border-right: none;
   427 	border-bottom: none;
   436 	border-bottom: none;
   428 	cursor: default;
   437 	cursor: default;
       
   438 	padding: 10px 10px 11px 14px;
   429 }
   439 }
   430 
   440 
   431 #customize-controls .customize-info.open .accordion-section-title:after,
   441 #customize-controls .customize-info.open .accordion-section-title:after,
   432 #customize-controls .customize-info .accordion-section-title:hover:after,
   442 #customize-controls .customize-info .accordion-section-title:hover:after,
   433 #customize-controls .customize-info .accordion-section-title:focus:after {
   443 #customize-controls .customize-info .accordion-section-title:focus:after {
   439 }
   449 }
   440 
   450 
   441 #customize-controls .customize-info .preview-notice {
   451 #customize-controls .customize-info .preview-notice {
   442 	font-size: 13px;
   452 	font-size: 13px;
   443 	line-height: 1.9;
   453 	line-height: 1.9;
       
   454 	margin: 0;
       
   455 	font-weight: 400;
       
   456 	color: #50575e;
   444 }
   457 }
   445 
   458 
   446 #customize-controls .customize-pane-child .customize-section-title h3,
   459 #customize-controls .customize-pane-child .customize-section-title h3,
   447 #customize-controls .customize-pane-child h3.customize-section-title,
   460 #customize-controls .customize-pane-child h3.customize-section-title,
   448 #customize-outer-theme-controls .customize-pane-child .customize-section-title h3,
   461 #customize-outer-theme-controls .customize-pane-child .customize-section-title h3,
   546 		.15s color ease-in-out,
   559 		.15s color ease-in-out,
   547 		.15s background-color ease-in-out,
   560 		.15s background-color ease-in-out,
   548 		.15s border-color ease-in-out;
   561 		.15s border-color ease-in-out;
   549 }
   562 }
   550 
   563 
       
   564 .accordion-section-title:has(button.accordion-trigger),
       
   565 #customize-controls .current-panel .control-section > h3.accordion-section-title:has(button.accordion-trigger) {
       
   566 	padding: 0;
       
   567 }
       
   568 
       
   569 .accordion-section-title button.accordion-trigger {
       
   570 	all: unset;
       
   571 	width: 100%;
       
   572 	padding: 10px 30px 11px 14px;
       
   573 	display: flex;
       
   574 	align-items: center;
       
   575 	box-sizing: border-box;
       
   576 }
       
   577 
       
   578 .accordion-section-title button.accordion-trigger:has(.menu-in-location) {
       
   579 	display: block;
       
   580 }
       
   581 
   551 @media (prefers-reduced-motion: reduce) {
   582 @media (prefers-reduced-motion: reduce) {
   552 	#customize-theme-controls .accordion-section-title,
   583 	#customize-theme-controls .accordion-section-title,
   553 	#customize-outer-theme-controls .accordion-section-title {
   584 	#customize-outer-theme-controls .accordion-section-title {
   554 		transition: none;
   585 		transition: none;
   555 	}
   586 	}
   563 
   594 
   564 #customize-theme-controls .accordion-section-title:after,
   595 #customize-theme-controls .accordion-section-title:after,
   565 #customize-outer-theme-controls .accordion-section-title:after {
   596 #customize-outer-theme-controls .accordion-section-title:after {
   566 	content: "\f345";
   597 	content: "\f345";
   567 	color: #a7aaad;
   598 	color: #a7aaad;
       
   599 	pointer-events: none;
   568 }
   600 }
   569 
   601 
   570 #customize-theme-controls .accordion-section-content,
   602 #customize-theme-controls .accordion-section-content,
   571 #customize-outer-theme-controls .accordion-section-content {
   603 #customize-outer-theme-controls .accordion-section-content {
   572 	color: #50575e;
   604 	color: #50575e;
   573 	background: transparent;
   605 	background: transparent;
   574 }
   606 }
   575 
   607 
   576 #customize-controls .control-section:hover > .accordion-section-title,
   608 #customize-controls .control-section:hover > .accordion-section-title,
   577 #customize-controls .control-section .accordion-section-title:hover,
   609 #customize-controls .control-section .accordion-section-title button:hover,
   578 #customize-controls .control-section.open .accordion-section-title,
   610 #customize-controls .control-section.open .accordion-section-title,
   579 #customize-controls .control-section .accordion-section-title:focus {
   611 #customize-controls .control-section .accordion-section-title button:focus {
   580 	color: #2271b1;
   612 	color: #2271b1;
   581 	background: #f6f7f7;
   613 	background: #f6f7f7;
   582 	border-left-color: #2271b1;
   614 	border-left-color: #2271b1;
   583 }
   615 }
   584 
   616 
   808 	border-top: 4px solid #f0f0f1;
   840 	border-top: 4px solid #f0f0f1;
   809 	border-right: 1px solid #dcdcde;
   841 	border-right: 1px solid #dcdcde;
   810 	color: #3c434a;
   842 	color: #3c434a;
   811 	text-align: left;
   843 	text-align: left;
   812 	cursor: pointer;
   844 	cursor: pointer;
   813 	transition:
       
   814 		color .15s ease-in-out,
       
   815 		border-color .15s ease-in-out,
       
   816 		background .15s ease-in-out;
       
   817 	box-sizing: content-box;
   845 	box-sizing: content-box;
       
   846 }
       
   847 
       
   848 @media (prefers-reduced-motion: no-preference) {
       
   849 	.customize-controls-close {
       
   850 		transition:
       
   851 			color .15s ease-in-out,
       
   852 			border-color .15s ease-in-out,
       
   853 			background .15s ease-in-out;	
       
   854 	}
   818 }
   855 }
   819 
   856 
   820 .customize-panel-back,
   857 .customize-panel-back,
   821 .customize-section-back {
   858 .customize-section-back {
   822 	display: block;
   859 	display: block;
  1064 .customize-control-header .current,
  1101 .customize-control-header .current,
  1065 .customize-control .wp-media-wrapper.wp-video {
  1102 .customize-control .wp-media-wrapper.wp-video {
  1066 	line-height: 0;
  1103 	line-height: 0;
  1067 }
  1104 }
  1068 
  1105 
  1069 /* Remove descender space. */
       
  1070 .customize-control-site_icon .favicon-preview .browser-preview {
       
  1071 	vertical-align: top;
       
  1072 }
       
  1073 
  1106 
  1074 .customize-control .thumbnail-image img {
  1107 .customize-control .thumbnail-image img {
  1075 	cursor: pointer;
  1108 	cursor: pointer;
  1076 }
  1109 }
  1077 
  1110 
  1705 	border-top: 1px solid #dcdcde;
  1738 	border-top: 1px solid #dcdcde;
  1706 	border-bottom: 1px solid #dcdcde;
  1739 	border-bottom: 1px solid #dcdcde;
  1707 	border-left: none;
  1740 	border-left: none;
  1708 	border-right: none;
  1741 	border-right: none;
  1709 	margin: 0 0 15px;
  1742 	margin: 0 0 15px;
  1710 	padding-right: 100px; /* Space for the button */
  1743 	padding: 12px 100px 15px 15px; /* Space for the button */
  1711 }
  1744 }
  1712 
  1745 
  1713 #customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */
  1746 #customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */
  1714 #customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child {
  1747 #customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child {
  1715 	border-top: 0;
  1748 	border-top: 0;
  2618 	border-right: 1px solid #dcdcde;
  2651 	border-right: 1px solid #dcdcde;
  2619 }
  2652 }
  2620 
  2653 
  2621 #available-widgets .customize-section-title,
  2654 #available-widgets .customize-section-title,
  2622 #available-menu-items .customize-section-title {
  2655 #available-menu-items .customize-section-title {
       
  2656 	border: 0;
       
  2657 	clip-path: inset(50%);
       
  2658 	height: 1px;
       
  2659 	margin: -1px;
       
  2660 	overflow: hidden;
       
  2661 	padding: 0;
       
  2662 	position: absolute;
       
  2663 	width: 1px;
       
  2664 	word-wrap: normal !important;
       
  2665 }
       
  2666 
       
  2667 #available-widgets .customize-section-title button,
       
  2668 #available-menu-items .customize-section-title button {
  2623 	display: none;
  2669 	display: none;
  2624 }
  2670 }
  2625 
  2671 
  2626 #available-widgets-list {
  2672 #available-widgets-list {
  2627 	top: 82px;
  2673 	top: 82px;
  2954 		width: 100%;
  3000 		width: 100%;
  2955 	}
  3001 	}
  2956 
  3002 
  2957 	#available-widgets .customize-section-title,
  3003 	#available-widgets .customize-section-title,
  2958 	#available-menu-items .customize-section-title {
  3004 	#available-menu-items .customize-section-title {
       
  3005 		border: 0;
       
  3006 		clip-path: none;
       
  3007 		height: inherit;
       
  3008 		margin: 0;
       
  3009 		overflow: hidden;
       
  3010 		padding: 0;
       
  3011 		width: auto;
       
  3012 		position: static;
       
  3013 	}
       
  3014 
       
  3015 	#available-widgets .customize-section-title button,
       
  3016 	#available-menu-items .customize-section-title button {
  2959 		display: block;
  3017 		display: block;
  2960 		margin: 0;
       
  2961 	}
  3018 	}
  2962 
  3019 
  2963 	#available-widgets .customize-section-back,
  3020 	#available-widgets .customize-section-back,
  2964 	#available-menu-items .customize-section-back {
  3021 	#available-menu-items .customize-section-back {
  2965 		height: 69px;
  3022 		height: 69px;