2012-08-23 02:04:18 +02:00
body {
overflow : hidden ;
2015-03-28 22:03:27 +01:00
-webkit-text-size-adjust : 100 % ;
2012-08-23 02:04:18 +02:00
}
2016-09-02 00:02:30 +02:00
. customize-controls-close ,
. widget-control-actions a {
2012-08-23 02:04:18 +02:00
text-decoration : none ;
}
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
# customize-controls h3 {
font-size : 14px ;
}
2014-11-12 00:52:22 +01:00
# customize-controls img {
max-width : 100 % ;
}
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
# customize-controls . submit {
text-align : center ;
}
# customize-controls . description {
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
}
# customize-header-actions . button-primary {
float : right ;
2013-11-20 23:48:09 +01:00
margin-top : 9px ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
}
# customize-header-actions . spinner {
2015-04-04 17:42:28 +02:00
margin-top : 13px ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
margin-right : 4px ;
}
. saving # customize-header-actions . spinner {
2015-04-04 17:42:28 +02:00
visibility : visible ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
}
2014-08-12 03:18:15 +02:00
# customize-header-actions {
border-bottom : 1px solid # ddd ;
}
2014-06-26 22:17:15 +02:00
# customize-controls . wp-full-overlay-sidebar-content {
overflow-y : auto ;
overflow-x : hidden ;
}
2015-05-29 15:57:26 +02:00
# customize-controls . customize-info {
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
border : none ;
2015-05-29 15:57:26 +02:00
border-bottom : 1px solid # ddd ;
margin-bottom : 15px ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
}
2016-10-19 20:15:31 +02:00
# customize-controls . customize-info . section-meta {
margin-bottom : 15px ;
}
2016-10-21 08:37:30 +02:00
# customize-controls . customize-info . is-in-view ,
# customize-controls . customize-section-title . is-in-view {
position : absolute ;
z-index : 9 ;
width : 100 % ;
-webkit-box-shadow : 0 1px 0 rgba ( 0 , 0 , 0 , . 1 ) ;
box-shadow : 0 1px 0 rgba ( 0 , 0 , 0 , . 1 ) ;
}
# customize-controls . customize-section-title . is-in-view {
margin-top : 0 ;
}
# customize-controls . customize-info . is-in-view + . accordion-section {
margin-top : 15px ;
}
# customize-controls . customize-info . is-sticky ,
# customize-controls . customize-section-title . is-sticky {
position : fixed ;
top : 46px ;
}
2015-05-29 15:57:26 +02:00
# customize-controls . customize-info . accordion-section-title {
background : # fff ;
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
border-left : none ;
border-right : none ;
2015-05-29 15:57:26 +02:00
border-bottom : none ;
cursor : default ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
}
2015-05-29 15:57:26 +02:00
# customize-controls . customize-info . open . accordion-section-title : after ,
# customize-controls . customize-info . accordion-section-title : hover : after ,
# customize-controls . customize-info . accordion-section-title : focus : after {
2016-11-15 19:11:31 +01:00
color : # 32373c ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
}
2015-05-29 15:57:26 +02:00
# customize-controls . customize-info . accordion-section-title : after {
display : none ;
}
# customize-controls . customize-info . preview-notice {
2012-08-23 02:04:18 +02:00
font-size : 13px ;
line-height : 24px ;
}
2016-09-24 00:23:30 +02:00
# customize-controls . customize-pane-child . customize-section-title h3 ,
# customize-controls . customize-pane-child h3 . customize-section-title ,
2015-05-29 15:57:26 +02:00
# customize-controls . customize-info . panel-title {
2012-08-23 02:04:18 +02:00
font-size : 20px ;
font-weight : 200 ;
2015-11-04 19:53:26 +01:00
line-height : 26px ;
2012-08-23 02:04:18 +02:00
display : block ;
2015-05-29 15:57:26 +02:00
overflow : hidden ;
white-space : nowrap ;
text-overflow : ellipsis ;
2012-08-23 02:04:18 +02:00
}
2015-05-29 15:57:26 +02:00
# customize-controls . customize-section-title span . customize-action {
overflow : hidden ;
white-space : nowrap ;
text-overflow : ellipsis ;
2012-08-23 02:04:18 +02:00
}
2015-05-29 15:57:26 +02:00
# customize-controls . customize-info . customize-help-toggle {
position : absolute ;
top : 4px ;
right : 1px ;
padding : 20px 20px 10px 10px ;
width : 20px ;
height : 20px ;
cursor : pointer ;
-webkit-box-shadow : none ;
box-shadow : none ;
-webkit-appearance : none ;
background : transparent ;
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
2015-05-29 15:57:26 +02:00
border : none ;
}
# customize-controls . customize-info . customize-help-toggle : before {
position : absolute ;
top : 5px ;
2015-07-30 01:25:25 +02:00
left : 6px ;
2015-05-29 15:57:26 +02:00
}
# customize-controls . customize-info . open . customize-help-toggle ,
# customize-controls . customize-info . customize-help-toggle : focus ,
# customize-controls . customize-info . customize-help-toggle : hover {
color : # 0073aa ;
}
2015-10-17 01:48:25 +02:00
# customize-controls . customize-info . customize-panel-description ,
2016-10-19 20:15:31 +02:00
# customize-controls . customize-info . customize-section-description ,
2015-10-17 01:48:25 +02:00
# customize-controls . no-widget-areas-rendered-notice {
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
2015-05-29 15:57:26 +02:00
display : none ;
background : # fff ;
padding : 12px 15px ;
border-top : 1px solid # ddd ;
}
2016-10-19 20:15:31 +02:00
2015-10-17 01:48:25 +02:00
# customize-controls . customize-info . customize-panel-description . open + . no-widget-areas-rendered-notice {
border-top : none ;
}
2017-03-22 20:03:45 +01:00
. no-widget-areas-rendered-notice {
font-style : italic ;
}
. no-widget-areas-rendered-notice p : first-child {
margin-top : 0 ;
}
. no-widget-areas-rendered-notice p : last-child {
margin-bottom : 0 ;
}
2015-05-29 15:57:26 +02:00
2016-10-19 20:15:31 +02:00
# customize-controls . customize-info . customize-section-description {
margin-bottom : 15px ;
}
# customize-controls . customize-info . customize-panel-description p : first-child ,
# customize-controls . customize-info . customize-section-description p : first-child {
2015-05-29 15:57:26 +02:00
margin-top : 0 ;
}
2016-10-19 20:15:31 +02:00
# customize-controls . customize-info . customize-panel-description p : last-child ,
# customize-controls . customize-info . customize-section-description p : last-child {
2015-05-29 15:57:26 +02:00
margin-bottom : 0 ;
}
# customize-controls . current-panel . control-section > h3 . accordion-section-title {
padding-right : 30px ;
2012-08-23 02:04:18 +02:00
}
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
# customize-theme-controls . control-section {
border : none ;
}
# customize-theme-controls . accordion-section-title {
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
background-color : # fff ;
2016-11-15 19:11:31 +01:00
border-bottom : 1px solid # ddd ;
2016-09-14 18:15:29 +02:00
border-left : 4px solid # fff ;
2016-11-18 22:06:30 +01:00
-webkit-transition : . 15s color ease-in-out ,
. 15s background-color ease-in-out ,
. 15s border-color ease-in-out ;
2016-11-15 19:11:31 +01:00
transition : . 15s color ease-in-out ,
. 15s background-color ease-in-out ,
. 15s border-color ease-in-out ;
2015-05-29 15:57:26 +02:00
}
2016-11-07 22:47:30 +01:00
# customize-controls # customize-theme-controls . customize-themes-panel . accordion-section-title {
color : # 555 ;
background-color : # fff ;
border-left : 4px solid # fff ;
}
2015-05-29 15:57:26 +02:00
# customize-theme-controls . accordion-section-title : after {
content : "\f345" ;
2016-03-10 22:44:26 +01:00
color : # a0a5aa ;
2015-05-29 15:57:26 +02:00
}
2013-02-14 23:58:04 +01:00
# customize-theme-controls . accordion-section-content {
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
2015-05-29 15:57:26 +02:00
background : transparent ;
2012-08-23 02:04:18 +02:00
}
2015-05-29 15:57:26 +02:00
# customize-controls . control-section : hover > . accordion-section-title ,
# customize-controls . control-section . accordion-section-title : hover ,
# customize-controls . control-section . open . accordion-section-title ,
# customize-controls . control-section . accordion-section-title : focus {
2016-11-15 19:11:31 +01:00
color : # 0073aa ;
background : # f3f3f5 ;
border-left-color : # 0073aa ;
2016-09-14 18:15:29 +02:00
}
# accordion-section-themes + . control-section {
border-top : 1px solid # ddd ;
2012-08-23 02:04:18 +02:00
}
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
. js . control-section : hover . accordion-section-title ,
. js . control-section . accordion-section-title : hover ,
. js . control-section . open . accordion-section-title ,
. js . control-section . accordion-section-title : focus {
2016-11-15 19:11:31 +01:00
background : # f3f3f5 ;
2012-08-23 02:04:18 +02:00
}
2014-07-28 17:52:17 +02:00
# customize-theme-controls . control-section : hover > . accordion-section-title : after ,
# customize-theme-controls . control-section . accordion-section-title : hover : after ,
# customize-theme-controls . control-section . open . accordion-section-title : after ,
# customize-theme-controls . control-section . accordion-section-title : focus : after {
2016-11-15 19:11:31 +01:00
color : # 0073aa ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
}
# customize-theme-controls . control-section . open {
2015-05-29 15:57:26 +02:00
border-bottom : 1px solid # eee ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
}
# customize-theme-controls . control-section . open . accordion-section-title {
2015-05-29 15:57:26 +02:00
border-bottom-color : # eee ! important ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
}
# customize-theme-controls . control-section : last-of-type . open ,
2014-08-14 06:43:16 +02:00
# customize-theme-controls . control-section : last-of-type > . accordion-section-title {
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
border-bottom-color : # ddd ;
}
2016-09-14 18:15:29 +02:00
# customize-theme-controls . control-panel-content . control-section : nth-child ( 2 ) ,
# customize-theme-controls . control-panel-nav_menus . control-section : nth-child ( 3 ) {
border-top : 1px solid # ddd ;
}
2015-05-29 15:57:26 +02:00
# customize-theme-controls > ul {
margin : 0 ;
}
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
# customize-theme-controls . accordion-section-content {
2015-05-29 15:57:26 +02:00
position : absolute ;
top : 0 ;
2015-06-17 21:35:28 +02:00
left : 100 % ;
width : 100 % ;
margin : 0 ;
2015-11-04 19:53:26 +01:00
padding : 12px ;
2015-06-17 21:35:28 +02:00
-webkit-box-sizing : border-box ;
-moz-box-sizing : border-box ;
box-sizing : border-box ;
2012-08-23 02:04:18 +02:00
}
2016-09-24 00:23:30 +02:00
# customize-info ,
# customize-theme-controls . customize-pane-parent ,
# customize-theme-controls . customize-pane-child {
overflow : visible ;
width : 100 % ;
margin : 0 ;
padding : 0 ;
-webkit-box-sizing : border-box ;
-moz-box-sizing : border-box ;
box-sizing : border-box ;
-webkit-transition : 0 . 18s -webkit-transform cubic-bezier ( 0 . 645 , 0 . 045 , 0 . 355 , 1 ) ;
transition : 0 . 18s -webkit-transform cubic-bezier ( 0 . 645 , 0 . 045 , 0 . 355 , 1 ) ;
2016-10-23 20:16:42 +02:00
-webkit-transition : 0 . 18s transform cubic-bezier ( 0 . 645 , 0 . 045 , 0 . 355 , 1 ) ;
2016-09-24 00:23:30 +02:00
transition : 0 . 18s transform cubic-bezier ( 0 . 645 , 0 . 045 , 0 . 355 , 1 ) ;
2016-10-23 20:16:42 +02:00
-webkit-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 ) ;
2016-09-24 00:23:30 +02:00
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 */
}
2017-04-07 21:27:40 +02:00
# customize-theme-controls . customize-pane-child . skip-transition {
-webkit-transition : none ;
transition : none ;
}
2016-09-24 00:23:30 +02:00
# customize-info ,
# customize-theme-controls . customize-pane-parent {
position : relative ;
visibility : visible ;
height : auto ;
max-height : none ;
overflow : auto ;
-webkit-transform : none ;
-ms-transform : none ;
transform : none ;
}
# customize-theme-controls . customize-pane-child {
position : absolute ;
top : 0 ;
left : 0 ;
visibility : hidden ;
height : 0 ;
max-height : none ;
overflow : hidden ;
-webkit-transform : translateX ( 100 % ) ;
-ms-transform : translateX ( 100 % ) ;
transform : translateX ( 100 % ) ;
}
# customize-theme-controls . customize-pane-child . open ,
2016-11-04 18:18:26 +01:00
# customize-theme-controls . customize-pane-child . current-panel ,
# customize-theme-controls . customize-themes-panel . customize-pane-child . current-panel {
2016-09-24 00:23:30 +02:00
-webkit-transform : none ;
-ms-transform : none ;
transform : none ;
}
2016-11-04 18:18:26 +01:00
# customize-theme-controls . customize-themes-panel . customize-pane-child ,
2016-09-24 00:23:30 +02:00
. section-open # customize-theme-controls . customize-pane-parent ,
. in-sub-panel # customize-theme-controls . customize-pane-parent ,
. section-open # customize-info ,
. in-sub-panel # customize-info ,
2016-11-04 18:18:26 +01:00
. in-sub-panel . section-open # customize-theme-controls . customize-pane-child . current-panel ,
. in-themes-panel # customize-theme-controls . customize-pane-parent ,
. in-themes-panel # customize-info {
2016-09-24 00:23:30 +02:00
visibility : hidden ;
height : 0 ;
overflow : hidden ;
-webkit-transform : translateX ( -100 % ) ;
-ms-transform : translateX ( -100 % ) ;
transform : translateX ( -100 % ) ;
}
. section-open # customize-theme-controls . customize-pane-parent . busy ,
. in-sub-panel # customize-theme-controls . customize-pane-parent . busy ,
2016-11-04 18:18:26 +01:00
. in-themes-panel # customize-theme-controls . customize-pane-parent . busy ,
2016-09-24 00:23:30 +02:00
. section-open # customize-info . busy ,
. in-sub-panel # customize-info . busy ,
2016-11-04 18:18:26 +01:00
. in-themes-panel # customize-info . busy ,
2016-09-24 00:23:30 +02:00
. busy . section-open . in-sub-panel # customize-theme-controls . customize-pane-child . current-panel ,
# customize-theme-controls . customize-pane-child . open ,
# customize-theme-controls . customize-pane-child . current-panel ,
# customize-theme-controls . customize-pane-child . busy {
visibility : visible ;
height : auto ;
overflow : auto ;
}
2016-11-04 18:18:26 +01:00
. in-themes-panel # customize-theme-controls . customize-pane-parent ,
. in-themes-panel # customize-info {
-webkit-transform : translateX ( 100 % ) ;
-ms-transform : translateX ( 100 % ) ;
transform : translateX ( 100 % ) ;
}
2016-09-24 00:23:30 +02:00
# customize-theme-controls . customize-pane-child . accordion-section-content ,
# customize-theme-controls . customize-pane-child . accordion-sub-container {
display : block ;
overflow-x : hidden ;
}
# customize-theme-controls . customize-pane-child . accordion-section-content {
padding : 12px ;
}
2016-10-21 08:37:30 +02:00
# customize-theme-controls . customize-pane-child . menu li {
position : static ;
}
2015-05-29 15:57:26 +02:00
. customize-section-description-container {
margin-bottom : 15px ;
2014-08-12 03:18:15 +02:00
}
2015-05-29 15:57:26 +02:00
. customize-section-title {
2015-07-16 21:15:27 +02:00
margin : -12px -12px 0 -12px ;
2015-05-29 15:57:26 +02:00
border-bottom : 1px solid # ddd ;
background : # fff ;
}
2015-07-15 21:59:25 +02:00
div . customize-section-description {
margin-top : 22px ;
}
2016-10-19 20:15:31 +02:00
. customize-info div . customize-section-description {
margin-top : 0 ;
}
2015-07-15 21:59:25 +02:00
div . customize-section-description p : first-child {
margin-top : 0 ;
}
div . customize-section-description p : last-child {
margin-bottom : 0 ;
}
2015-05-29 15:57:26 +02:00
# customize-theme-controls . customize-themes-panel h3 . customize-section-title : first-child {
border-bottom : 1px solid # ddd ;
padding : 12px 12px 12px 12px ;
}
. ios # customize-theme-controls . customize-themes-panel h3 . customize-section-title : first-child {
padding : 12px 12px 13px 12px ;
}
. customize-section-title h3 ,
h3 . customize-section-title {
padding : 10px 10px 12px 14px ;
margin : 0 ;
line-height : 21px ;
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
2014-06-26 22:17:15 +02:00
}
. accordion-sub-container . control-panel-content {
display : none ;
position : absolute ;
top : 0 ;
2016-07-06 13:32:27 +02:00
width : 100 % ;
2015-05-29 15:57:26 +02:00
}
2016-09-24 00:23:30 +02:00
. accordion-sub-container . control-panel-content . busy {
2014-06-26 22:17:15 +02:00
display : block ;
}
. current-panel . accordion-sub-container . control-panel-content {
width : 100 % ;
}
2014-07-08 20:19:14 +02:00
. customize-controls-close {
display : block ;
position : absolute ;
top : 0 ;
left : 0 ;
width : 45px ;
2016-11-15 19:11:31 +01:00
height : 41px ;
2015-04-02 19:16:28 +02:00
padding : 0 2px 0 0 ;
2014-07-08 20:19:14 +02:00
background : # eee ;
2015-04-02 00:25:28 +02:00
border : none ;
2016-11-15 19:11:31 +01:00
border-top : 4px solid # eee ;
2014-07-08 20:19:14 +02:00
border-right : 1px solid # ddd ;
color : # 444 ;
2015-04-02 19:16:28 +02:00
text-align : left ;
2014-07-08 20:19:14 +02:00
cursor : pointer ;
2016-11-15 19:11:31 +01:00
-webkit-transition : color . 15s ease-in-out ,
2016-11-18 22:06:30 +01:00
border-color . 15s ease-in-out ,
background . 15s ease-in-out ;
transition : color . 15s ease-in-out ,
2016-11-15 19:11:31 +01:00
border-color . 15s ease-in-out ,
background . 15s ease-in-out ;
2015-04-02 19:16:28 +02:00
-webkit-box-sizing : content-box ;
-moz-box-sizing : content-box ;
box-sizing : content-box ;
2014-07-08 20:19:14 +02:00
}
2015-05-29 15:57:26 +02:00
. customize-panel-back ,
. customize-section-back {
display : block ;
float : left ;
width : 48px ;
2016-10-21 08:37:30 +02:00
height : 71px ;
2015-05-29 15:57:26 +02:00
padding : 0 24px 0 0 ;
margin : 0 ;
background : # fff ;
border : none ;
border-right : 1px solid # ddd ;
2016-11-15 19:11:31 +01:00
border-left : 4px solid # fff ;
2015-05-29 15:57:26 +02:00
-webkit-box-shadow : none ;
box-shadow : none ;
cursor : pointer ;
2016-11-15 19:11:31 +01:00
-webkit-transition : color . 15s ease-in-out ,
2016-11-18 22:06:30 +01:00
border-color . 15s ease-in-out ,
background . 15s ease-in-out ;
2016-11-15 19:11:31 +01:00
transition : color . 15s ease-in-out ,
border-color . 15s ease-in-out ,
background . 15s ease-in-out ;
2015-05-29 15:57:26 +02:00
}
. customize-section-back {
2016-10-21 08:37:30 +02:00
height : 74px ;
2015-05-29 15:57:26 +02:00
}
. ios . customize-panel-back {
2014-06-26 22:17:15 +02:00
display : none ;
}
2015-05-29 15:57:26 +02:00
. ios . expanded . in-sub-panel . customize-panel-back {
display : block ;
}
2016-10-25 06:36:39 +02:00
# customize-controls . panel-meta . customize-info . accordion-section-title {
2015-05-29 15:57:26 +02:00
margin-left : 48px ;
2016-10-25 06:36:39 +02:00
border-left : none ;
2015-05-29 15:57:26 +02:00
}
2016-10-25 06:36:39 +02:00
# customize-controls . panel-meta . customize-info . accordion-section-title : hover ,
# customize-controls . cannot-expand : hover . accordion-section-title {
2015-05-29 15:57:26 +02:00
background : # fff ;
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
2016-10-25 06:36:39 +02:00
border-left-color : # fff ;
2015-05-29 15:57:26 +02:00
}
2014-07-08 20:19:14 +02:00
. customize-controls-close : focus ,
. customize-controls-close : hover ,
2015-02-09 13:36:28 +01:00
. customize-controls-preview-toggle : focus ,
. customize-controls-preview-toggle : hover {
2016-11-15 19:11:31 +01:00
background : # fff ;
color : # 0073aa ;
border-top-color : # 0073aa ;
2014-06-26 22:17:15 +02:00
outline : none ;
2014-07-08 20:19:14 +02:00
-webkit-box-shadow : none ;
box-shadow : none ;
}
2016-11-15 19:11:31 +01:00
2015-05-29 15:57:26 +02:00
. customize-panel-back : hover ,
. customize-panel-back : focus ,
. customize-section-back : hover ,
. customize-section-back : focus {
2016-11-15 19:11:31 +01:00
color : # 0073aa ;
background : # f3f3f5 ;
border-left-color : # 0073aa ;
2015-05-29 15:57:26 +02:00
outline : none ;
-webkit-box-shadow : none ;
box-shadow : none ;
}
2014-07-08 20:19:14 +02:00
. customize-controls-close : before {
2015-04-02 19:16:28 +02:00
font : normal 22px / 45px dashicons ;
2014-07-08 20:19:14 +02:00
content : "\f335" ;
position : relative ;
2016-11-15 19:11:31 +01:00
top : -3px ;
2014-08-25 23:58:17 +02:00
left : 13px ;
2014-06-26 22:17:15 +02:00
}
2015-05-29 15:57:26 +02:00
. customize-panel-back : before ,
. customize-section-back : before {
2015-11-04 19:53:26 +01:00
font : normal 20px / 72px dashicons ;
2015-05-29 15:57:26 +02:00
content : "\f341" ;
position : relative ;
2016-11-15 19:11:31 +01:00
left : 9px ;
2015-05-29 15:57:26 +02:00
}
2014-06-26 22:17:15 +02:00
. wp-full-overlay-sidebar . wp-full-overlay-header {
2016-10-21 08:37:30 +02:00
background-color : # eee ;
2014-06-26 22:17:15 +02:00
-webkit-transition : padding ease-in-out . 18s ;
transition : padding ease-in-out . 18s ;
}
. in-sub-panel . wp-full-overlay-sidebar . wp-full-overlay-header {
padding-left : 62px ;
}
2014-06-30 17:55:17 +02:00
p . customize-section-description {
font-style : normal ;
2015-05-29 15:57:26 +02:00
margin-top : 22px ;
margin-bottom : 0 ;
2014-06-30 17:55:17 +02:00
}
2012-08-23 02:04:18 +02:00
. customize-control {
width : 100 % ;
float : left ;
clear : both ;
2015-05-29 15:57:26 +02:00
margin-bottom : 12px ;
2012-08-23 02:04:18 +02:00
}
. customize-control select ,
. customize-control input [ type = "radio" ] ,
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
. customize-control input [ type = "checkbox" ] {
2012-08-23 02:04:18 +02:00
line-height : 28px ;
}
2014-06-30 21:48:13 +02:00
. customize-control input [ type = "text" ] ,
. customize-control input [ type = "password" ] ,
. customize-control input [ type = "email" ] ,
. customize-control input [ type = "number" ] ,
. customize-control input [ type = "search" ] ,
. customize-control input [ type = "tel" ] ,
. customize-control input [ type = "url" ] {
Customize: Add setting validation model and control notifications to augment setting sanitization.
When a setting is invalid, not only will it be blocked from being saved but all other settings will be blocked as well. This ensures that Customizer saves aren't partial but are more transactional. User will be displayed the error in a notification so that they can fix and re-attempt saving.
PHP changes:
* Introduces `WP_Customize_Setting::validate()`, `WP_Customize_Setting::$validate_callback`, and the `customize_validate_{$setting_id}` filter.
* Introduces `WP_Customize_Manager::validate_setting_values()` to do validation (and sanitization) for the setting values supplied, returning a list of `WP_Error` instances for invalid settings.
* Attempting to save settings that are invalid will result in the save being blocked entirely, with the errors being sent in the `customize_save_response`. Modifies `WP_Customize_Manager::save()` to check all settings for validity issues prior to calling their `save` methods.
* Introduces `WP_Customize_Setting::json()` for parity with the other Customizer classes. This includes exporting of the `type`.
* Modifies `WP_Customize_Manager::post_value()` to apply `validate` after `sanitize`, and if validation fails, to return the `$default`.
* Introduces `customize_save_validation_before` action which fires right before the validation checks are made prior to saving.
JS changes:
* Introduces `wp.customize.Notification` in JS which to represent `WP_Error` instances returned from the server when setting validation fails.
* Introduces `wp.customize.Setting.prototype.notifications`.
* Introduces `wp.customize.Control.prototype.notifications`, which are synced with a control's settings' notifications.
* Introduces `wp.customize.Control.prototype.renderNotifications()` to re-render a control's notifications in its notification area. This is called automatically when the notifications collection changes.
* Introduces `wp.customize.settingConstructor`, allowing custom setting types to be used in the same way that custom controls, panels, and sections can be made.
* Injects a notification area into existing controls which is populated in response to the control's `notifications` collection changing. A custom control can customize the placement of the notification area by overriding the new `getNotificationsContainerElement` method.
* When a save fails due to setting invalidity, the invalidity errors will be added to the settings to then populate in the controls' notification areas, and the first such invalid control will be focused.
Props westonruter, celloexpressions, mrahmadawais.
See #35210.
See #30937.
Fixes #34893.
Built from https://develop.svn.wordpress.org/trunk@37476
git-svn-id: http://core.svn.wordpress.org/trunk@37444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-20 23:10:27 +02:00
width : 100 % ;
2012-08-23 02:04:18 +02:00
line-height : 18px ;
margin : 0 ;
}
2015-02-14 09:46:27 +01:00
. customize-control-hidden {
margin : 0 ;
}
2014-06-30 21:48:13 +02:00
. customize-control-textarea textarea {
width : 100 % ;
resize : vertical ;
}
2012-08-23 02:04:18 +02:00
. customize-control select {
2016-10-25 08:31:31 +02:00
width : 100 % ;
2012-08-23 02:04:18 +02:00
height : 28px ;
line-height : 28px ;
}
2014-04-05 15:12:15 +02:00
. customize-control select [ multiple ] {
height : auto ;
}
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
. customize-control-title {
display : block ;
font-size : 14px ;
line-height : 24px ;
font-weight : 600 ;
2016-05-12 22:23:54 +02:00
margin-bottom : 4px ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
}
2014-06-30 17:55:17 +02:00
. customize-control-description {
display : block ;
font-style : italic ;
line-height : 18px ;
2016-10-25 08:31:31 +02:00
margin-top : 0 ;
2014-06-30 17:55:17 +02:00
margin-bottom : 5px ;
}
2016-10-19 20:15:31 +02:00
. customize-section-description a . external-link : after {
font : 16px / 11px dashicons ;
content : "\f310" ;
top : 3px ;
position : relative ;
padding-left : 3px ;
display : inline-block ;
text-decoration : none ;
}
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
. customize-control-color . color-picker ,
. customize-control-upload div {
line-height : 28px ;
}
2015-11-16 05:44:26 +01:00
. customize-control-radio label ,
2015-11-11 10:37:27 +01:00
. customize-control-checkbox label ,
. customize-control-nav_menu_auto_add label {
line-height : 20px ;
display : block ;
margin-left : 24px ;
2015-11-16 05:44:26 +01:00
padding-top : 6px ;
padding-bottom : 6px ;
2015-11-11 10:37:27 +01:00
}
2015-11-16 05:44:26 +01:00
. customize-control-radio input ,
2015-11-11 10:37:27 +01:00
. customize-control-checkbox input ,
. customize-control-nav_menu_auto_add input {
margin-right : 4px ;
margin-left : -24px ;
2012-08-23 02:04:18 +02:00
}
. customize-control-radio {
padding : 5px 0 10px ;
}
. customize-control-radio . customize-control-title {
margin-bottom : 0 ;
line-height : 22px ;
}
2014-06-30 17:55:17 +02:00
. customize-control-radio . customize-control-title + . customize-control-description {
margin-top : 7px ;
}
2014-11-12 00:52:22 +01:00
. customize-control . attachment-thumb . type-icon {
float : left ;
2014-12-02 22:55:23 +01:00
margin : 10px ;
width : auto ;
2014-11-12 00:52:22 +01:00
}
. customize-control . attachment-title {
2016-06-17 20:37:28 +02:00
font-weight : 600 ;
2014-12-02 22:55:23 +01:00
margin : 0 ;
padding : 5px 10px ;
2014-11-12 00:52:22 +01:00
}
2014-12-04 02:59:22 +01:00
. customize-control . attachment-meta {
white-space : nowrap ;
overflow : hidden ;
text-overflow : ellipsis ;
margin : 0 ;
2015-03-07 12:06:29 +01:00
padding : 0 10px ;
2014-12-04 02:59:22 +01:00
}
. customize-control . attachment-meta-title {
padding-top : 7px ;
}
2017-05-15 20:51:41 +02:00
/* Remove descender space. */
2017-05-12 19:50:44 +02:00
. customize-control . thumbnail-image ,
. customize-control-header . current ,
. customize-control . wp-media-wrapper . wp-video {
2014-12-02 22:55:23 +01:00
line-height : 0 ;
2014-11-12 00:52:22 +01:00
}
2017-05-15 20:51:41 +02:00
/* Remove descender space. */
. customize-control-site_icon . favicon-preview . browser-preview {
vertical-align : top ;
}
2014-11-12 00:52:22 +01:00
. customize-control . thumbnail-image img {
cursor : pointer ;
}
2015-03-07 12:06:29 +01:00
# customize-controls . thumbnail-audio . thumbnail {
max-width : 64px ;
max-height : 64px ;
margin : 10px ;
float : left ;
}
2016-10-25 08:31:31 +02:00
# available-menu-items . accordion-section-content . new-content-item ,
. customize-control-dropdown-pages . new-content-item {
width : -webkit-calc ( 100 % - 30px ) ;
width : calc ( 100 % - 30px ) ;
padding : 8px 15px ;
position : absolute ;
bottom : 0 ;
z-index : 10 ;
background : # eee ;
display : -webkit-box ;
display : -moz-box ;
display : -ms-flexbox ;
display : -webkit-flex ;
display : flex ;
}
. customize-control-dropdown-pages . new-content-item {
width : 100 % ;
padding : 5px 0 5px 1px ;
position : relative ;
}
# available-menu-items . new-content-item . create-item-input ,
. customize-control-dropdown-pages . new-content-item . create-item-input {
-webkit-box-flex : 10 ;
-webkit-flex-grow : 10 ;
-moz-box-flex : 10 ;
-ms-flex-positive : 10 ;
-ms-flex : 10 ;
flex-grow : 10 ;
}
# available-menu-items . new-content-item . add-content ,
. customize-control-dropdown-pages . new-content-item . add-content {
margin : 2px 0 2px 6px ;
-webkit-box-flex : 10 ;
-webkit-flex-grow : 10 ;
-moz-box-flex : 10 ;
-ms-flex-positive : 10 ;
-ms-flex : 10 ;
flex-grow : 1 ;
}
. customize-control-dropdown-pages . new-content-item . create-item-input . invalid {
border : 1px solid # f00 ;
}
2016-11-10 03:56:30 +01:00
. customize-control-dropdown-pages . add-new-toggle {
margin-left : 1px ;
font-weight : 600 ;
line-height : 28px ;
}
2012-08-23 02:04:18 +02:00
# customize-preview iframe {
width : 100 % ;
height : 100 % ;
2016-02-16 02:57:26 +01:00
position : absolute ;
2012-08-23 02:04:18 +02:00
}
2016-03-23 01:53:28 +01:00
# customize-preview iframe + iframe {
visibility : hidden ;
}
2012-08-23 02:04:18 +02:00
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
. wp-full-overlay-sidebar {
2015-05-29 15:57:26 +02:00
background : # eee ;
2013-11-14 17:42:10 +01:00
border-right : 1px solid # ddd ;
2013-07-18 19:42:53 +02:00
}
Customize: Add setting validation model and control notifications to augment setting sanitization.
When a setting is invalid, not only will it be blocked from being saved but all other settings will be blocked as well. This ensures that Customizer saves aren't partial but are more transactional. User will be displayed the error in a notification so that they can fix and re-attempt saving.
PHP changes:
* Introduces `WP_Customize_Setting::validate()`, `WP_Customize_Setting::$validate_callback`, and the `customize_validate_{$setting_id}` filter.
* Introduces `WP_Customize_Manager::validate_setting_values()` to do validation (and sanitization) for the setting values supplied, returning a list of `WP_Error` instances for invalid settings.
* Attempting to save settings that are invalid will result in the save being blocked entirely, with the errors being sent in the `customize_save_response`. Modifies `WP_Customize_Manager::save()` to check all settings for validity issues prior to calling their `save` methods.
* Introduces `WP_Customize_Setting::json()` for parity with the other Customizer classes. This includes exporting of the `type`.
* Modifies `WP_Customize_Manager::post_value()` to apply `validate` after `sanitize`, and if validation fails, to return the `$default`.
* Introduces `customize_save_validation_before` action which fires right before the validation checks are made prior to saving.
JS changes:
* Introduces `wp.customize.Notification` in JS which to represent `WP_Error` instances returned from the server when setting validation fails.
* Introduces `wp.customize.Setting.prototype.notifications`.
* Introduces `wp.customize.Control.prototype.notifications`, which are synced with a control's settings' notifications.
* Introduces `wp.customize.Control.prototype.renderNotifications()` to re-render a control's notifications in its notification area. This is called automatically when the notifications collection changes.
* Introduces `wp.customize.settingConstructor`, allowing custom setting types to be used in the same way that custom controls, panels, and sections can be made.
* Injects a notification area into existing controls which is populated in response to the control's `notifications` collection changing. A custom control can customize the placement of the notification area by overriding the new `getNotificationsContainerElement` method.
* When a save fails due to setting invalidity, the invalidity errors will be added to the settings to then populate in the controls' notification areas, and the first such invalid control will be focused.
Props westonruter, celloexpressions, mrahmadawais.
See #35210.
See #30937.
Fixes #34893.
Built from https://develop.svn.wordpress.org/trunk@37476
git-svn-id: http://core.svn.wordpress.org/trunk@37444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-20 23:10:27 +02:00
/ * *
* Notifications
* /
# customize-controls . customize-control-notifications-container { /* Scoped to #customize-controls for specificity over notification styles in common.css. */
margin : 4px 0 8px 0 ;
padding : 0 ;
display : none ;
cursor : default ;
}
# customize-controls . customize-control-widget_form . has-error . widget . widget-top ,
. customize-control-nav_menu_item . has-error . menu-item-bar . menu-item-handle {
2016-05-27 07:15:28 +02:00
-webkit-box-shadow : inset 0 0 0 2px # dc3232 ;
Customize: Add setting validation model and control notifications to augment setting sanitization.
When a setting is invalid, not only will it be blocked from being saved but all other settings will be blocked as well. This ensures that Customizer saves aren't partial but are more transactional. User will be displayed the error in a notification so that they can fix and re-attempt saving.
PHP changes:
* Introduces `WP_Customize_Setting::validate()`, `WP_Customize_Setting::$validate_callback`, and the `customize_validate_{$setting_id}` filter.
* Introduces `WP_Customize_Manager::validate_setting_values()` to do validation (and sanitization) for the setting values supplied, returning a list of `WP_Error` instances for invalid settings.
* Attempting to save settings that are invalid will result in the save being blocked entirely, with the errors being sent in the `customize_save_response`. Modifies `WP_Customize_Manager::save()` to check all settings for validity issues prior to calling their `save` methods.
* Introduces `WP_Customize_Setting::json()` for parity with the other Customizer classes. This includes exporting of the `type`.
* Modifies `WP_Customize_Manager::post_value()` to apply `validate` after `sanitize`, and if validation fails, to return the `$default`.
* Introduces `customize_save_validation_before` action which fires right before the validation checks are made prior to saving.
JS changes:
* Introduces `wp.customize.Notification` in JS which to represent `WP_Error` instances returned from the server when setting validation fails.
* Introduces `wp.customize.Setting.prototype.notifications`.
* Introduces `wp.customize.Control.prototype.notifications`, which are synced with a control's settings' notifications.
* Introduces `wp.customize.Control.prototype.renderNotifications()` to re-render a control's notifications in its notification area. This is called automatically when the notifications collection changes.
* Introduces `wp.customize.settingConstructor`, allowing custom setting types to be used in the same way that custom controls, panels, and sections can be made.
* Injects a notification area into existing controls which is populated in response to the control's `notifications` collection changing. A custom control can customize the placement of the notification area by overriding the new `getNotificationsContainerElement` method.
* When a save fails due to setting invalidity, the invalidity errors will be added to the settings to then populate in the controls' notification areas, and the first such invalid control will be focused.
Props westonruter, celloexpressions, mrahmadawais.
See #35210.
See #30937.
Fixes #34893.
Built from https://develop.svn.wordpress.org/trunk@37476
git-svn-id: http://core.svn.wordpress.org/trunk@37444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-20 23:10:27 +02:00
box-shadow : inset 0 0 0 2px # dc3232 ;
2016-05-27 07:15:28 +02:00
-webkit-transition : . 15s box-shadow linear ;
Customize: Add setting validation model and control notifications to augment setting sanitization.
When a setting is invalid, not only will it be blocked from being saved but all other settings will be blocked as well. This ensures that Customizer saves aren't partial but are more transactional. User will be displayed the error in a notification so that they can fix and re-attempt saving.
PHP changes:
* Introduces `WP_Customize_Setting::validate()`, `WP_Customize_Setting::$validate_callback`, and the `customize_validate_{$setting_id}` filter.
* Introduces `WP_Customize_Manager::validate_setting_values()` to do validation (and sanitization) for the setting values supplied, returning a list of `WP_Error` instances for invalid settings.
* Attempting to save settings that are invalid will result in the save being blocked entirely, with the errors being sent in the `customize_save_response`. Modifies `WP_Customize_Manager::save()` to check all settings for validity issues prior to calling their `save` methods.
* Introduces `WP_Customize_Setting::json()` for parity with the other Customizer classes. This includes exporting of the `type`.
* Modifies `WP_Customize_Manager::post_value()` to apply `validate` after `sanitize`, and if validation fails, to return the `$default`.
* Introduces `customize_save_validation_before` action which fires right before the validation checks are made prior to saving.
JS changes:
* Introduces `wp.customize.Notification` in JS which to represent `WP_Error` instances returned from the server when setting validation fails.
* Introduces `wp.customize.Setting.prototype.notifications`.
* Introduces `wp.customize.Control.prototype.notifications`, which are synced with a control's settings' notifications.
* Introduces `wp.customize.Control.prototype.renderNotifications()` to re-render a control's notifications in its notification area. This is called automatically when the notifications collection changes.
* Introduces `wp.customize.settingConstructor`, allowing custom setting types to be used in the same way that custom controls, panels, and sections can be made.
* Injects a notification area into existing controls which is populated in response to the control's `notifications` collection changing. A custom control can customize the placement of the notification area by overriding the new `getNotificationsContainerElement` method.
* When a save fails due to setting invalidity, the invalidity errors will be added to the settings to then populate in the controls' notification areas, and the first such invalid control will be focused.
Props westonruter, celloexpressions, mrahmadawais.
See #35210.
See #30937.
Fixes #34893.
Built from https://develop.svn.wordpress.org/trunk@37476
git-svn-id: http://core.svn.wordpress.org/trunk@37444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-05-20 23:10:27 +02:00
transition : . 15s box-shadow linear ;
}
. customize-control-notifications-container li . notice {
list-style : none ;
margin : 0 0 6px 0 ;
padding : 4px 8px ;
}
. customize-control-notifications-container li . notice : last-child {
margin-bottom : 0 ;
}
# customize-controls . customize-control-nav_menu_item . customize-control-notifications-container {
margin-top : 0 ;
}
# customize-controls . customize-control-widget_form . customize-control-notifications-container {
margin-top : 8px ;
}
. customize-control-text . has-error input {
outline : 2px solid # dc3232 ;
}
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
/* Style for custom settings */
2012-08-23 02:04:18 +02:00
2015-10-20 22:15:26 +02:00
/ * *
2012-08-23 02:04:18 +02:00
* Dropdowns
* /
2015-10-20 22:15:26 +02:00
2013-02-14 23:58:04 +01:00
. accordion-section . dropdown {
2012-08-23 02:04:18 +02:00
float : left ;
display : block ;
position : relative ;
cursor : pointer ;
}
2013-02-14 23:58:04 +01:00
. accordion-section . dropdown-content {
2012-08-23 02:04:18 +02:00
overflow : hidden ;
float : left ;
min-width : 30px ;
height : 16px ;
line-height : 16px ;
margin-right : 16px ;
padding : 4px 5px ;
2015-05-29 15:57:26 +02:00
border : 2px solid # eee ;
2012-08-23 02:04:18 +02:00
-webkit-user-select : none ;
-moz-user-select : none ;
2014-02-13 09:30:17 +01:00
-ms-user-select : none ;
2012-08-23 02:04:18 +02:00
user-select : none ;
}
2016-03-10 22:44:26 +01:00
/* @todo maybe no more used? */
2012-08-23 02:04:18 +02:00
. customize-control . dropdown-arrow {
position : absolute ;
top : 0 ;
bottom : 0 ;
right : 0 ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
width : 20px ;
2015-05-29 15:57:26 +02:00
background : # eee ;
2012-08-23 02:04:18 +02:00
}
. customize-control . dropdown-arrow : after {
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
content : "\f140" ;
2015-09-05 21:57:25 +02:00
font : normal 20px / 1 dashicons ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
speak : none ;
display : block ;
padding : 0 ;
text-indent : 0 ;
text-align : center ;
position : relative ;
-webkit-font-smoothing : antialiased ;
-moz-osx-font-smoothing : grayscale ;
text-decoration : none ! important ;
2015-04-05 23:20:27 +02:00
color : # 32373c ;
2012-08-23 02:04:18 +02:00
}
. customize-control . dropdown-status {
2015-04-05 23:20:27 +02:00
color : # 32373c ;
2015-05-29 15:57:26 +02:00
background : # eee ;
2012-08-23 02:04:18 +02:00
display : none ;
max-width : 112px ;
}
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
/* Color Picker */
2012-09-27 19:08:32 +02:00
. customize-control-color . color-picker-hex {
2012-08-23 02:04:18 +02:00
display : none ;
}
2012-09-27 19:08:32 +02:00
. customize-control-color . open . color-picker-hex {
2012-08-23 02:04:18 +02:00
display : block ;
}
. customize-control-color . dropdown {
margin-right : 5px ;
margin-bottom : 5px ;
}
. customize-control-color . dropdown . dropdown-content {
2016-11-15 19:11:31 +01:00
background-color : # 555d66 ;
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
border : 1px solid rgba ( 0 , 0 , 0 , 0 . 15 ) ;
2012-08-23 02:04:18 +02:00
}
. customize-control-color . dropdown : hover . dropdown-content {
Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.
see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 01:27:10 +01:00
border-color : rgba ( 0 , 0 , 0 , 0 . 25 ) ;
}
2012-08-23 02:04:18 +02:00
/ * *
* iOS can ' t scroll iframes ,
* instead it expands the iframe size to match the size of the content
* /
2015-10-20 22:15:26 +02:00
2012-08-23 02:04:18 +02:00
. ios . wp-full-overlay {
position : relative ;
}
. ios # customize-controls . wp-full-overlay-sidebar-content {
-webkit-overflow-scrolling : touch ;
}
2015-10-20 22:15:26 +02:00
/* Media controls */
2014-03-11 05:13:16 +01:00
2017-05-12 19:50:44 +02:00
. customize-control . actions . button {
margin-top : 12px ;
2014-03-11 05:13:16 +01:00
}
2016-11-05 00:15:33 +01:00
. customize-control-header . actions ,
2014-12-02 22:55:23 +01:00
. customize-control-header . uploaded {
2014-03-11 05:13:16 +01:00
margin-bottom : 18px ;
}
2014-12-02 22:55:23 +01:00
. customize-control-header . uploaded button : not ( . random ) ,
. customize-control-header . default button : not ( . random ) {
2014-04-04 17:49:15 +02:00
width : 100 % ;
padding : 0 ;
margin : 0 ;
background : none ;
border : none ;
color : inherit ;
cursor : pointer ;
}
2014-12-02 22:55:23 +01:00
. customize-control-header button img {
2014-04-04 17:49:15 +02:00
display : block ;
}
2016-05-12 22:23:54 +02:00
. customize-control . attachment-media-view . remove-button ,
. customize-control . attachment-media-view . default-button ,
. customize-control . attachment-media-view . upload-button ,
2014-12-02 22:55:23 +01:00
. customize-control-header button . new ,
. customize-control-header button . remove {
2017-05-12 19:50:44 +02:00
width : auto ;
2014-04-12 20:40:14 +02:00
height : auto ;
2017-05-12 19:50:44 +02:00
white-space : normal ;
2014-04-12 20:40:14 +02:00
}
2016-05-12 22:23:54 +02:00
. customize-control . attachment-media-view . thumbnail ,
2014-12-02 22:55:23 +01:00
. customize-control-header . current . container {
2014-03-11 05:13:16 +01:00
overflow : hidden ;
2014-12-02 22:55:23 +01:00
}
2016-05-12 22:23:54 +02:00
. customize-control . attachment-media-view . placeholder ,
2014-12-02 22:55:23 +01:00
. customize-control-header . placeholder {
2014-03-11 05:13:16 +01:00
width : 100 % ;
position : relative ;
text-align : center ;
cursor : default ;
2016-02-23 18:27:26 +01:00
border : 1px dashed # b4b9be ;
-webkit-box-sizing : border-box ;
-moz-box-sizing : border-box ;
box-sizing : border-box ;
2016-05-12 22:23:54 +02:00
padding : 9px 0 ;
line-height : 20px ;
2014-03-11 05:13:16 +01:00
}
2014-12-02 22:55:23 +01:00
. customize-control-header . inner {
2014-03-11 05:13:16 +01:00
display : none ;
position : absolute ;
width : 100 % ;
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
2014-04-04 17:49:15 +02:00
white-space : nowrap ;
text-overflow : ellipsis ;
overflow : hidden ;
2014-03-11 05:13:16 +01:00
}
2014-12-02 22:55:23 +01:00
. customize-control-header . inner ,
. customize-control-header . inner . dashicons {
2014-04-04 17:49:15 +02:00
line-height : 20px ;
2016-02-23 18:27:26 +01:00
top : 8px ;
2014-04-04 17:49:15 +02:00
}
2014-12-02 22:55:23 +01:00
. customize-control-header . list . inner ,
. customize-control-header . list . inner . dashicons {
2014-04-04 17:49:15 +02:00
top : 9px ;
}
2014-03-11 05:13:16 +01:00
2014-12-02 22:55:23 +01:00
. customize-control-header . header-view {
2014-03-11 05:13:16 +01:00
position : relative ;
2014-04-04 17:49:15 +02:00
width : 100 % ;
2017-05-12 19:50:44 +02:00
margin-bottom : 12px ;
2014-03-11 05:13:16 +01:00
}
2014-12-02 22:55:23 +01:00
. customize-control-header . header-view : last-child {
2014-04-04 17:49:15 +02:00
margin-bottom : 0px ;
}
/* Convoluted, but 'outline' support isn't good enough yet */
2014-12-02 22:55:23 +01:00
. customize-control-header . header-view : after {
2014-04-04 17:49:15 +02:00
border : 0 ;
}
2016-10-23 21:57:32 +02:00
. customize-control-header . header-view . selected . choice : focus {
outline : none ;
}
2014-12-02 22:55:23 +01:00
. customize-control-header . header-view . selected : after {
2014-04-04 17:49:15 +02:00
content : '' ;
position : absolute ;
2014-04-12 20:40:14 +02:00
height : auto ;
2014-04-04 17:49:15 +02:00
top : 0 ; left : 0 ; bottom : 0 ; right : 0 ;
2015-04-05 23:20:27 +02:00
border : 4px solid # 00a0d2 ;
2014-04-05 03:29:14 +02:00
-webkit-border-radius : 2px ;
2014-04-04 17:49:15 +02:00
border-radius : 2px ;
}
2016-10-23 21:57:32 +02:00
2014-12-02 22:55:23 +01:00
. customize-control-header . header-view . button . selected {
2014-04-04 17:49:15 +02:00
border : 0 ;
}
/* Header control: overlay "close" button */
2014-12-02 22:55:23 +01:00
. customize-control-header . uploaded . header-view . close {
2015-05-06 12:54:27 +02:00
font-size : 20px ;
color : # fff ;
2016-11-15 19:11:31 +01:00
background : # 555d66 ;
2015-05-06 12:54:27 +02:00
background : rgba ( 0 , 0 , 0 , 0 . 5 ) ;
2014-03-11 05:13:16 +01:00
position : absolute ;
top : 10px ;
2016-10-23 21:57:32 +02:00
left : -999px ;
2014-03-11 05:13:16 +01:00
z-index : 1 ;
2015-05-06 12:54:27 +02:00
width : 26px ;
height : 26px ;
2014-03-11 05:13:16 +01:00
cursor : pointer ;
}
2015-05-06 12:54:27 +02:00
. customize-control-header . header-view : hover . close ,
. customize-control-header . header-view . close : focus {
2016-10-23 21:57:32 +02:00
left : auto ;
2015-05-06 12:54:27 +02:00
right : 10px ;
2014-03-11 05:13:16 +01:00
}
2016-10-23 21:57:32 +02:00
. customize-control-header . header-view . close : focus {
outline : 1px solid # 5b9dd9 ;
}
2014-03-11 05:13:16 +01:00
/* Header control: randomiz(s)er */
2014-12-02 22:55:23 +01:00
. customize-control-header . random . placeholder {
2014-03-11 05:13:16 +01:00
cursor : pointer ;
2014-03-27 20:17:15 +01:00
-webkit-border-radius : 2px ;
2014-03-11 05:13:16 +01:00
border-radius : 2px ;
height : 40px ;
}
2014-12-02 22:55:23 +01:00
. customize-control-header button . random {
2014-04-06 21:28:16 +02:00
width : 100 % ;
2014-04-12 20:40:14 +02:00
height : auto ;
min-height : 40px ;
white-space : normal ;
2014-04-06 21:28:16 +02:00
}
2014-12-02 22:55:23 +01:00
. customize-control-header button . random . dice {
2014-04-06 21:28:16 +02:00
margin-top : 4px ;
2014-03-11 05:13:16 +01:00
}
2014-12-02 22:55:23 +01:00
. customize-control-header . placeholder : hover . dice ,
. customize-control-header . header-view : hover > button . random . dice {
2014-03-11 05:13:16 +01:00
-webkit-animation : dice-color-change 3s infinite ;
animation : dice-color-change 3s infinite ;
}
@ -webkit-keyframes dice-color-change {
0 % { color : #d4b146 ; }
50 % { color : #ef54b0 ; }
75 % { color : #7190d3 ; }
100 % { color : #d4b146 ; }
}
@ keyframes dice-color-change {
0 % { color : #d4b146 ; }
50 % { color : #ef54b0 ; }
75 % { color : #7190d3 ; }
100 % { color : #d4b146 ; }
}
2014-12-02 22:55:23 +01:00
. customize-control-header . choice {
2014-03-11 05:13:16 +01:00
position : relative ;
display : block ;
margin-bottom : 9px ;
}
2016-10-23 21:57:32 +02:00
. customize-control-header . choice : focus {
outline : none ;
-webkit-box-shadow :
0 0 0 1px # 5b9dd9 ,
0 0 3px 1px rgba ( 30 , 140 , 190 , . 8 ) ;
box-shadow :
0 0 0 1px # 5b9dd9 ,
0 0 3px 1px rgba ( 30 , 140 , 190 , . 8 ) ;
}
2014-12-02 22:55:23 +01:00
. customize-control-header . uploaded div : last-child > . choice {
2014-03-11 05:13:16 +01:00
margin-bottom : 0 ;
}
2016-05-12 22:23:54 +02:00
. customize-control . attachment-media-view . thumbnail-image img ,
2014-12-02 22:55:23 +01:00
. customize-control-header img {
2016-07-04 23:45:28 +02:00
max-width : 100 % ;
2014-03-11 05:13:16 +01:00
}
2016-05-12 22:23:54 +02:00
. customize-control . attachment-media-view . remove-button ,
. customize-control . attachment-media-view . default-button ,
2014-12-02 22:55:23 +01:00
. customize-control-header . remove {
2017-05-12 19:50:44 +02:00
margin-right : 8px ;
2014-03-11 05:13:16 +01:00
}
Customize: Improve custom background properties UI.
Introduces new control for managing the background position. Adds control for setting the `background-size`.
Props cdog, celloexpressions, grapplerulrich, MikeHansenMe, FolioVision, afercia, helen, melchoyce, karmatosed, westonruter, Kelderic, sebastian.pisula.
Fixes #22058.
Built from https://develop.svn.wordpress.org/trunk@38948
git-svn-id: http://core.svn.wordpress.org/trunk@38891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-26 08:52:29 +02:00
/* Background position control */
. customize-control-background_position . background-position-control . button-group {
display : block ;
}
2016-10-19 20:15:31 +02:00
/ * *
* Custom CSS Section
*
2016-11-14 20:12:30 +01:00
* Modifications to the Section Container to make the textarea full-width and
* full-height , if the control is the only control in the section .
2016-10-19 20:15:31 +02:00
* /
2016-11-14 20:12:30 +01:00
# customize-controls . customize-section-description-container . section-meta . customize-info {
border-bottom : none ;
2016-10-19 20:15:31 +02:00
}
2016-11-14 20:12:30 +01:00
# sub-accordion-section-custom_css . customize-control-notifications-container {
margin-bottom : 15px ;
2016-10-19 20:15:31 +02:00
}
2016-11-14 20:12:30 +01:00
# customize-control-custom_css textarea {
display : block ;
font-family : Consolas , Monaco , monospace ;
font-size : 12px ;
padding : 6px 8px ;
height : 500px ;
2016-11-06 20:09:33 +01:00
-moz-tab-size : 4 ;
2016-11-08 16:25:32 +01:00
-o-tab-size : 4 ;
2016-11-06 20:09:33 +01:00
tab-size : 4 ;
}
2016-10-19 20:15:31 +02:00
2016-11-14 20:12:30 +01:00
. customize-section-description-container + # customize-control-custom_css : last-child textarea {
2016-10-19 20:15:31 +02:00
border-right : 0 ;
border-left : 0 ;
2016-11-14 20:12:30 +01:00
height : -webkit-calc ( 100vh - 185px ) ;
height : calc ( 100vh - 185px ) ;
resize : none ;
}
. customize-section-description-container + # customize-control-custom_css : last-child {
margin-left : -12px ;
width : 299px ;
2017-04-21 07:25:43 +02:00
width : -webkit-calc ( 100 % + 24px ) ;
width : calc ( 100 % + 24px ) ;
2016-11-14 20:12:30 +01:00
margin-bottom : -12px ;
}
@ media screen and ( max-width : 640px ) {
. customize-section-description-container + # customize-control-custom_css : last-child {
margin-right : 0 ;
}
. customize-section-description-container + # customize-control-custom_css : last-child textarea {
height : -webkit-calc ( 100vh - 140px ) ;
height : calc ( 100vh - 140px ) ;
}
2016-10-19 20:15:31 +02:00
}
2015-02-24 21:31:24 +01:00
/ * *
* Themes
* /
2015-10-20 22:15:26 +02:00
2015-02-24 21:31:24 +01:00
@ -webkit-keyframes customize-reload {
0 % { opacity : 0 ; }
100 % { opacity : 1 ; }
}
@ keyframes customize-reload {
0 % { opacity : 0 ; }
100 % { opacity : 1 ; }
}
/* #customize-container is reused from customize-loader.js, hence the naming. */
. wp-customizer . customize-loading # customize-container {
display : block ;
-webkit-animation : customize-reload . 75s ; /* Can't use `transition` because `display` changes here. */
animation : customize-reload . 75s ;
}
2016-11-04 18:18:26 +01:00
# customize-theme-controls . control-section-themes . accordion-section-title : hover , /* Not a focusable element. */
# customize-theme-controls . control-section-themes . accordion-section-title {
2015-04-02 00:51:27 +02:00
cursor : default ;
2016-09-14 18:15:29 +02:00
background : # fff ;
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
2016-09-14 18:15:29 +02:00
border-top : 1px solid # ddd ;
border-bottom : 1px solid # ddd ;
border-left : none ;
2016-11-04 18:18:26 +01:00
margin-top : 0 ;
2015-04-02 00:51:27 +02:00
}
2016-09-14 18:15:29 +02:00
# customize-theme-controls . control-section-themes . customize-themes-panel . accordion-section-title : first-child : hover , /* Not a focusable element. */
# customize-theme-controls . control-section-themes . customize-themes-panel . accordion-section-title : first-child {
border-top : 0 ;
2015-04-02 00:51:27 +02:00
}
2016-11-04 18:18:26 +01:00
# customize-theme-controls . control-section-themes > . accordion-section-title : hover , /* Not a focusable element. */
# customize-theme-controls . control-section-themes > . accordion-section-title {
margin : 0 0 15px ;
}
2016-11-07 22:47:30 +01:00
# customize-controls . customize-themes-panel . accordion-section-title : hover ,
2016-11-04 18:18:26 +01:00
# customize-controls . customize-themes-panel . accordion-section-title {
margin : 15px -8px ;
}
# customize-controls . control-section-themes . accordion-section-title ,
# customize-controls . customize-themes-panel . accordion-section-title {
padding-right : 100px ; /* Space for the button */
}
# customize-controls . control-section-themes . accordion-section-title span . customize-action ,
2015-05-29 15:57:26 +02:00
# customize-controls . customize-section-title span . customize-action {
font-size : 13px ;
2015-04-02 00:51:27 +02:00
display : block ;
font-weight : 400 ;
}
2016-11-04 18:18:26 +01:00
# customize-controls . control-section-themes . accordion-section-title . change-theme ,
# customize-controls . customize-themes-panel . accordion-section-title . customize-theme {
2015-04-02 00:51:27 +02:00
position : absolute ;
right : 10px ;
top : 50 % ;
margin-top : -14px ;
2016-06-17 20:37:28 +02:00
font-weight : 400 ;
2015-04-02 00:51:27 +02:00
}
2016-11-04 18:18:26 +01:00
# customize-controls . control-section-themes . accordion-section-title : before {
2016-10-19 05:20:29 +02:00
display : none ;
}
2016-11-04 18:18:26 +01:00
# customize-controls . customize-themes-panel {
padding : 0 8px ;
background : # f1f1f1 ;
2016-10-21 08:37:30 +02:00
-webkit-box-sizing : border-box ;
-moz-box-sizing : border-box ;
2016-10-19 05:20:29 +02:00
box-sizing : border-box ;
2015-05-29 15:57:26 +02:00
}
2015-04-02 00:51:27 +02:00
2016-11-04 18:18:26 +01:00
# customize-controls . customize-themes-panel . accordion-section-title : first-child {
margin-top : 0 ;
2015-02-24 21:31:24 +01:00
}
2016-11-04 18:18:26 +01:00
# customize-controls . customize-themes-panel . accordion-section-title : nth-child ( 2 ) {
font-size : 14px ;
font-weight : 600 ;
2016-10-19 05:20:29 +02:00
}
2016-11-04 18:18:26 +01:00
# customize-controls . customize-themes-panel > h2 {
padding : 15px 8px 0 8px ;
2016-10-19 05:20:29 +02:00
}
2016-11-04 18:18:26 +01:00
# customize-theme-controls . customize-themes-panel . accordion-section-content {
2015-02-24 21:31:24 +01:00
background : transparent ;
2016-11-04 18:18:26 +01:00
display : block ;
2016-10-19 05:20:29 +02:00
}
2016-11-04 18:18:26 +01:00
. customize-control . customize-control-theme {
margin-bottom : 8px ;
2015-02-24 21:31:24 +01:00
}
2015-05-29 15:57:26 +02:00
# customize-theme-controls . themes . accordion-section-content {
position : relative ;
left : 0 ;
padding : 0 ;
width : 100 % ;
}
2016-11-04 18:18:26 +01:00
. wp-customizer . theme-browser . themes {
padding-bottom : 8px ;
2016-10-19 05:20:29 +02:00
}
2016-11-04 18:18:26 +01:00
. wp-customizer . theme-browser . theme {
2016-10-19 05:20:29 +02:00
margin : 0 ;
2016-11-04 18:18:26 +01:00
width : 100 % ;
2015-02-24 21:31:24 +01:00
}
. wp-customizer . theme-browser . theme . theme-actions {
2016-11-04 18:18:26 +01:00
-ms-filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" ;
2015-02-24 21:31:24 +01:00
opacity : 1 ;
}
# customize-controls h3 . theme-name {
font-size : 15px ;
}
2015-03-25 23:58:27 +01:00
# customize-controls . theme-overlay . theme-name {
font-size : 32px ;
}
2015-02-24 21:31:24 +01:00
. wp-customizer # themes-filter {
2015-03-28 22:03:27 +01:00
font-size : 16px ;
font-weight : 300 ;
line-height : 1 . 5 ;
2015-02-24 21:31:24 +01:00
width : 100 % ;
}
2016-11-04 18:18:26 +01:00
. control-section-themes . accordion-section-title : after ,
. customize-themes-panel . accordion-section-title : after {
display : none ;
}
. customize-themes-panel . control-panel-content {
border-top : 1px solid # ddd ;
}
2015-02-24 21:31:24 +01:00
/* Details View */
. wp-customizer . theme-overlay {
display : none ;
}
. wp-customizer . modal-open . theme-overlay {
position : fixed ;
left : 0 ;
top : 0 ;
right : 0 ;
bottom : 0 ;
z-index : 109 ;
}
. wp-customizer . theme-overlay . theme-backdrop {
background : rgba ( 238 , 238 , 238 , 0 . 75 ) ;
position : fixed ;
z-index : 110 ;
}
. wp-customizer . theme-overlay . theme-wrap {
left : 90px ;
right : 90px ;
top : 45px ;
bottom : 45px ;
z-index : 120 ;
2016-11-04 18:18:26 +01:00
max-width : 1740px ; /* To ensure that theme screenshots are not displayed larger than 880px wide. */
2015-02-24 21:31:24 +01:00
}
. wp-customizer . theme-overlay . theme-actions {
2016-11-04 18:18:26 +01:00
text-align : right ; /* Because there's only one action, match the pattern of media modals and right-align the action. */
2016-10-19 05:20:29 +02:00
}
2016-11-04 18:18:26 +01:00
. ie8 . wp-customizer . theme-overlay . theme-header ,
. ie8 . wp-customizer . theme-overlay . theme-about ,
. ie8 . wp-customizer . theme-overlay . theme-actions {
position : static ;
2015-04-22 20:57:25 +02:00
}
2015-02-24 21:31:24 +01:00
/* Small Screens */
@ media ( max-width : 850px ) , ( max-height : 472px ) {
. wp-customizer . theme-overlay . theme-wrap {
left : 0 ;
right : 0 ;
top : 0 ;
bottom : 0 ;
2015-02-27 21:19:29 +01:00
}
2015-02-24 21:31:24 +01:00
}
2015-04-02 00:51:27 +02:00
/* Handle cheaters. */
2012-08-23 02:04:18 +02:00
body . cheatin {
2014-03-30 00:19:15 +01:00
font-size : medium ;
height : auto ;
background : # fff ;
margin : 50px auto 2em ;
padding : 1em 2em ;
max-width : 700px ;
2012-08-23 02:04:18 +02:00
min-width : 0 ;
2014-03-30 00:19:15 +01:00
-webkit-box-shadow : 0 1px 3px rgba ( 0 , 0 , 0 , 0 . 13 ) ;
box-shadow : 0 1px 3px rgba ( 0 , 0 , 0 , 0 . 13 ) ;
2012-08-23 02:04:18 +02:00
}
2015-09-04 05:40:25 +02:00
body . cheatin h1 {
2016-02-18 23:30:27 +01:00
border-bottom : 1px solid # ddd ;
2015-09-04 05:40:25 +02:00
clear : both ;
color : # 666 ;
2016-05-17 03:45:27 +02:00
font-size : 24px ;
2016-07-26 18:39:30 +02:00
font-family : -apple-system , BlinkMacSystemFont , "Segoe UI" , Roboto , Oxygen-Sans , Ubuntu , Cantarell , "Helvetica Neue" , sans-serif ;
2015-09-04 05:40:25 +02:00
margin : 30px 0 0 0 ;
padding : 0 ;
padding-bottom : 7px ;
}
2012-08-23 02:04:18 +02:00
body . cheatin p {
font-size : 14px ;
2014-03-30 00:19:15 +01:00
line-height : 1 . 5 ;
margin : 25px 0 20px ;
2012-08-23 02:04:18 +02:00
}
2015-02-09 13:36:28 +01:00
2015-10-20 22:15:26 +02:00
/ * *
* Widgets and Menus common styles
* /
2016-09-28 21:54:28 +02:00
/* higher specificity than .wp-core-ui .button */
2015-10-20 22:15:26 +02:00
# customize-theme-controls . add-new-widget ,
# customize-theme-controls . add-new-menu-item {
cursor : pointer ;
float : right ;
margin-left : 10px ;
-webkit-transition : all 0 . 2s ;
transition : all 0 . 2s ;
-webkit-user-select : none ;
-moz-user-select : none ;
-ms-user-select : none ;
user-select : none ;
outline : none ;
}
. reordering . add-new-widget ,
. reordering . add-new-menu-item {
opacity : 0 . 2 ;
pointer-events : none ;
cursor : not-allowed ; /* doesn't work in conjunction with pointer-events */
}
. add-new-widget : before ,
Customize: Allow users to more seamlessly create page-based nav menus during customization.
Introduces the ability to create stubs for the various post types to add to a given menu. This eliminates the need to leave the customizer to first create the post in the admin and then return to managing menus. Only the title of the newly-created post can be supplied; the post content will be blank and will need to be provided in the normal edit post screen outside the customizer, unless a plugin enables a post editing in the customizer experience. When a post is created and added to a nav menu in the customizer, the newly created post that is added to a menu is given the `auto-draft` status, and if the changes are not published, the `auto-draft` post will be automatically deleted within 7 days via `wp_delete_auto_drafts()`. However, if the customizer changes are saved, then these nav menu item `auto-draft` post stubs will be transitioned to `publish`.
Includes portions of code from the Customize Posts <https://github.com/xwp/wp-customize-posts> and Front-end Editor <https://github.com/iseulde/wp-front-end-editor> plugins.
For more information, see https://make.wordpress.org/core/2016/06/16/feature-proposal-content-authorship-in-menus-with-live-preview/
Props celloexpressions, westonruter, valendesigns, afercia, melchoyce, mapk, iseulde, mrahmadawais.
Fixes #34923.
Built from https://develop.svn.wordpress.org/trunk@38436
git-svn-id: http://core.svn.wordpress.org/trunk@38377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-30 00:59:28 +02:00
. add-new-menu-item : before ,
# available-menu-items . new-content-item . add-content : before {
2015-10-20 22:15:26 +02:00
content : "\f132" ;
display : inline-block ;
position : relative ;
left : -2px ;
top : -1px ;
font : normal 20px / 1 dashicons ;
vertical-align : middle ;
-webkit-transition : all 0 . 2s ;
transition : all 0 . 2s ;
-webkit-font-smoothing : antialiased ;
-moz-osx-font-smoothing : grayscale ;
}
/* Reordering */
. reorder-toggle {
float : right ;
padding : 5px 8px ;
text-decoration : none ;
cursor : pointer ;
outline : none ;
}
. reorder ,
. reordering . reorder-done {
display : block ;
padding : 5px 8px ;
}
. reorder-done ,
. reordering . reorder {
display : none ;
}
2016-01-13 23:36:26 +01:00
. widget-reorder-nav span ,
. menu-item-reorder-nav button {
position : relative ;
overflow : hidden ;
float : left ;
display : block ;
width : 33px ; /* was 42px for mobile */
height : 43px ;
color : # 82878c ;
text-indent : -9999px ;
cursor : pointer ;
outline : none ;
}
. menu-item-reorder-nav button {
width : 30px ;
height : 40px ;
background : transparent ;
border : none ;
-webkit-box-shadow : none ;
box-shadow : none ;
}
. widget-reorder-nav span : before ,
. menu-item-reorder-nav button : before {
display : inline-block ;
position : absolute ;
top : 0 ;
right : 0 ;
width : 100 % ;
height : 100 % ;
font : normal 20px / 43px dashicons ;
text-align : center ;
text-indent : 0 ;
-webkit-font-smoothing : antialiased ;
-moz-osx-font-smoothing : grayscale ;
}
. widget-reorder-nav span : hover ,
. widget-reorder-nav span : focus ,
. menu-item-reorder-nav button : hover ,
. menu-item-reorder-nav button : focus {
color : # 191e23 ;
background : # eee ;
}
. move-widget-down : before ,
. menus-move-down : before {
content : "\f347" ;
}
. move-widget-up : before ,
. menus-move-up : before {
content : "\f343" ;
}
# customize-theme-controls . first-widget . move-widget-up ,
# customize-theme-controls . last-widget . move-widget-down ,
. move-up-disabled . menus-move-up ,
. move-down-disabled . menus-move-down ,
. move-right-disabled . menus-move-right ,
. move-left-disabled . menus-move-left {
color : # d5d5d5 ;
background-color : # fff ;
cursor : default ;
pointer-events : none ;
}
/ * *
* New widget and Add-menu-items modes and panels
* /
. wp-full-overlay-main {
right : auto ; /* this overrides a right: 0; which causes the preview to resize, I'd rather have it go off screen at the normal size. */
width : 100 % ;
}
body . adding-widget . add-new-widget ,
body . adding-widget . add-new-widget : hover ,
. adding-menu-items . add-new-menu-item ,
. adding-menu-items . add-new-menu-item : hover ,
. add-menu-toggle . open ,
. add-menu-toggle . open : hover {
background : # eee ;
border-color : # 929793 ;
color : # 32373c ;
-webkit-box-shadow : inset 0 2px 5px -3px rgba ( 0 , 0 , 0 , 0 . 5 ) ;
box-shadow : inset 0 2px 5px -3px rgba ( 0 , 0 , 0 , 0 . 5 ) ;
}
body . adding-widget . add-new-widget : before ,
. adding-menu-items . add-new-menu-item : before ,
# accordion-section-add_menu . add-new-menu-item . open : before {
-webkit-transform : rotate ( 45deg ) ;
-ms-transform : rotate ( 45deg ) ;
transform : rotate ( 45deg ) ;
}
# available-widgets ,
# available-menu-items {
position : absolute ;
top : 0 ;
bottom : 0 ;
left : -301px ;
visibility : hidden ;
overflow-x : hidden ;
overflow-y : auto ;
width : 300px ;
margin : 0 ;
z-index : 4 ;
background : # eee ;
-webkit-transition : left . 18s ;
transition : left . 18s ;
border-right : 1px solid # ddd ;
}
# available-widgets . customize-section-title ,
# available-menu-items . customize-section-title {
display : none ;
}
# available-widgets-list {
top : 60px ;
position : absolute ;
overflow : auto ;
bottom : 0 ;
width : 100 % ;
2016-10-03 18:28:31 +02:00
border-top : 1px solid # ddd ;
}
. no-widgets-found # available-widgets-list {
border-top : none ;
2016-01-13 23:36:26 +01:00
}
# available-widgets-filter {
position : fixed ;
top : 0 ;
z-index : 1 ;
width : 300px ;
background : # eee ;
}
/* search field container */
# available-widgets-filter ,
# available-menu-items-search . accordion-section-title {
2016-10-03 18:28:31 +02:00
padding : 13px 15px ;
2016-01-13 23:36:26 +01:00
-webkit-box-sizing : border-box ;
-moz-box-sizing : border-box ;
box-sizing : border-box ;
}
# available-widgets-filter input ,
# available-menu-items-search input {
width : 100 % ;
2016-10-03 18:28:31 +02:00
height : 32px ;
margin : 1px 0 ;
padding : 6px 30px ;
}
# available-widgets-filter input :: -ms-clear ,
# available-menu-items-search input :: -ms-clear {
display : none ; /* remove the "x" in IE, which conflicts with the "x" icon on button.clear-results */
}
# available-menu-items-search . search-icon ,
# available-widgets-filter . search-icon {
display : block ;
position : absolute ;
top : 15px ; /* 13 container padding +1 input margin +1 input border */
left : 16px ;
width : 30px ;
height : 30px ;
line-height : 28px ;
text-align : center ;
color : # 72777c ;
}
# available-widgets-filter . clear-results ,
# available-menu-items-search . clear-results {
position : absolute ;
top : 15px ; /* 13 container padding +1 input margin +1 input border */
right : 16px ;
width : 30px ;
height : 30px ;
padding : 0 ;
border : 0 ;
cursor : pointer ;
background : none ;
color : # a00 ;
text-decoration : none ;
outline : 0 ;
}
# available-widgets-filter . clear-results ,
# available-menu-items-search . clear-results ,
# available-menu-items-search . loading . clear-results . is-visible {
display : none ;
}
# available-widgets-filter . clear-results . is-visible ,
# available-menu-items-search . clear-results . is-visible {
display : block ;
}
# available-widgets-filter . clear-results : before ,
# available-menu-items-search . clear-results : before {
content : "\f335" ;
font : normal 20px / 1 dashicons ;
vertical-align : middle ;
-webkit-font-smoothing : antialiased ;
-moz-osx-font-smoothing : grayscale ;
}
# available-widgets-filter . clear-results : hover ,
# available-widgets-filter . clear-results : focus ,
# available-menu-items-search . clear-results : hover ,
# available-menu-items-search . clear-results : focus {
color : # dc3232 ;
}
# available-widgets-filter . clear-results : focus ,
# available-menu-items-search . clear-results : focus {
-webkit-box-shadow :
0 0 0 1px # 5b9dd9 ,
0 0 2px 1px rgba ( 30 , 140 , 190 , . 8 ) ;
box-shadow :
0 0 0 1px # 5b9dd9 ,
0 0 2px 1px rgba ( 30 , 140 , 190 , . 8 ) ;
}
# available-menu-items-search . search-icon : after ,
# available-widgets-filter . search-icon : after {
content : "\f179" ;
font : normal 20px / 1 dashicons ;
vertical-align : middle ;
-webkit-font-smoothing : antialiased ;
-moz-osx-font-smoothing : grayscale ;
}
. no-widgets-found-message {
display : none ;
margin : 0 ;
padding : 0 15px ;
line-height : inherit ;
}
. no-widgets-found . no-widgets-found-message {
display : block ;
2016-01-13 23:36:26 +01:00
}
# available-widgets . widget-top ,
# available-widgets . widget-top : hover ,
# available-menu-items . item-top ,
# available-menu-items . item-top : hover {
border : none ;
background : transparent ;
-webkit-box-shadow : none ;
box-shadow : none ;
}
# available-widgets . widget-tpl ,
# available-menu-items . item-tpl {
position : relative ;
padding : 20px 15px 20px 60px ;
background : # fff ;
2016-10-03 18:28:31 +02:00
border-bottom : 1px solid # ddd ;
2016-09-14 18:15:29 +02:00
border-left : 4px solid # fff ;
2016-11-18 22:06:30 +01:00
-webkit-transition : . 15s color ease-in-out ,
. 15s background-color ease-in-out ,
. 15s border-color ease-in-out ;
2016-11-15 19:11:31 +01:00
transition : . 15s color ease-in-out ,
. 15s background-color ease-in-out ,
. 15s border-color ease-in-out ;
2016-01-13 23:36:26 +01:00
cursor : pointer ;
display : none ;
}
# available-widgets . widget ,
# available-menu-items . item {
position : static ;
}
2015-02-09 13:36:28 +01:00
/* Responsive */
. customize-controls-preview-toggle {
display : none ;
}
2015-11-16 05:44:26 +01:00
@ media only screen and ( max-width : 782px ) {
2015-03-27 22:53:27 +01:00
. wp-customizer . theme : not ( . active ) : hover . theme-actions ,
. wp-customizer . theme : not ( . active ) : focus . theme-actions {
display : block ;
}
2015-04-22 18:15:27 +02:00
. wp-customizer . theme-browser . theme . active . theme-name span {
display : inline ;
}
2015-11-16 05:44:26 +01:00
. customize-control-radio label ,
. customize-control-checkbox label ,
. customize-control-nav_menu_auto_add label {
margin-left : 32px ;
}
. customize-control-radio input ,
. customize-control-checkbox input ,
. customize-control-nav_menu_auto_add input {
margin-left : -32px ;
}
. customize-control input [ type = "radio" ] + label ,
. customize-control input [ type = "checkbox" ] + label {
line-height : 32px ;
}
2015-03-27 22:53:27 +01:00
}
2015-02-09 13:36:28 +01:00
@ media screen and ( max-width : 640px ) {
# customize-controls {
width : 100 % ;
}
. wp-full-overlay . expanded {
margin-left : 0 ;
}
2016-03-07 23:05:27 +01:00
/ * when the sidebar is collapsed and switching to responsive view ,
bring it back see ticket # 35220 * /
. wp-full-overlay . collapsed # customize-controls {
margin-left : 0 ;
}
2015-02-09 13:36:28 +01:00
. wp-full-overlay-sidebar . wp-full-overlay-sidebar-content {
bottom : 0 ;
}
. customize-controls-preview-toggle {
display : block ;
position : absolute ;
top : 0 ;
left : 48px ;
line-height : 45px ;
font-size : 14px ;
2016-04-17 17:41:27 +02:00
padding : 0 12px ;
2015-02-09 13:36:28 +01:00
margin : 0 ;
height : 45px ;
background : # eee ;
2016-04-17 17:41:27 +02:00
border : 0 ;
2015-02-09 13:36:28 +01:00
border-right : 1px solid # ddd ;
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
2015-02-09 13:36:28 +01:00
cursor : pointer ;
-webkit-transition : color . 1s ease-in-out , background . 1s ease-in-out ;
transition : color . 1s ease-in-out , background . 1s ease-in-out ;
}
# customize-footer-actions ,
# customize-preview ,
. customize-controls-preview-toggle . controls ,
. preview-only . wp-full-overlay-sidebar-content ,
. preview-only . customize-controls-preview-toggle . preview {
display : none ;
}
. customize-controls-preview-toggle . preview : before ,
. customize-controls-preview-toggle . controls : before {
font : normal 20px / 1 dashicons ;
content : "\f177" ;
position : relative ;
top : 4px ;
margin-right : 6px ;
}
. customize-controls-preview-toggle . controls : before {
2015-07-09 23:05:25 +02:00
content : "\f540" ;
2015-02-09 13:36:28 +01:00
}
. preview-only # customize-controls {
height : 45px ;
}
. preview-only # customize-preview ,
. preview-only . customize-controls-preview-toggle . controls {
display : block ;
}
# customize-preview {
top : 45px ;
bottom : 0 ;
height : auto ;
}
2015-03-27 23:17:30 +01:00
. wp-core-ui . wp-customizer . button {
padding : 6px 14px ;
line-height : normal ;
font-size : 14px ;
vertical-align : middle ;
height : auto ;
margin-bottom : 4px ;
}
# customize-header-actions . button-primary {
margin-top : 6px ;
}
2016-01-13 23:36:26 +01:00
body . adding-widget div # available-widgets ,
body . adding-menu-items div # available-menu-items {
top : 46px ;
left : 0 ;
z-index : 10 ;
width : 100 % ;
}
# available-widgets . customize-section-title ,
# available-menu-items . customize-section-title {
display : block ;
margin : 0 ;
}
# available-widgets . customize-section-back ,
# available-menu-items . customize-section-back {
height : 69px ;
}
# available-widgets . customize-section-title h3 ,
# available-menu-items . customize-section-title h3 {
font-size : 20px ;
font-weight : 200 ;
padding : 9px 10px 12px 14px ;
margin : 0 ;
line-height : 24px ;
2016-11-15 19:11:31 +01:00
color : # 555d66 ;
2016-01-13 23:36:26 +01:00
display : block ;
overflow : hidden ;
white-space : nowrap ;
text-overflow : ellipsis ;
}
# available-widgets . customize-section-title . customize-action ,
# available-menu-items . customize-section-title . customize-action {
font-size : 13px ;
display : block ;
font-weight : 400 ;
overflow : hidden ;
white-space : nowrap ;
text-overflow : ellipsis ;
}
# available-widgets-filter {
position : relative ;
width : 100 % ;
height : auto ;
}
# available-widgets-list {
2016-10-03 18:28:31 +02:00
top : 130px ;
}
# available-menu-items-search . clear-results ,
# available-menu-items-search . search-icon {
top : 85px ; /* 70 section title height + 13 container padding +1 input margin +1 input border */
2016-01-13 23:36:26 +01:00
}
2015-02-09 13:36:28 +01:00
}