2014-02-19 16:43:14 -05:00
/ * ------------------------------------------------------------------------------
16 . 0 - Themes
------------------------------------------------------------------------------ * /
/ * ------------------------------------------------------------------------------
16 . 1 - Manage Themes
------------------------------------------------------------------------------ * /
2017-10-09 12:04:48 -04:00
body . js . theme-browser . search-loading {
display : none ;
}
2014-02-19 16:43:14 -05:00
. theme-browser . themes {
clear : both ;
}
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
. themes-php : not ( . network-admin ) . wrap h1 {
2014-02-19 16:43:14 -05:00
margin-bottom : 15px ;
}
2015-06-27 11:51:23 -04:00
. themes-php . wrap h1 . button {
2014-02-19 16:43:14 -05:00
margin-left : 20px ;
}
2014-07-17 23:40:16 -04:00
/* Search form */
2017-05-08 11:59:44 -04:00
. themes-php . search-form {
2017-05-05 15:02:45 -04:00
display : inline ;
}
2014-07-17 23:40:16 -04:00
. themes-php . wp-filter-search {
2014-02-19 16:43:14 -05:00
position : relative ;
2014-07-17 23:40:16 -04:00
top : -2px ;
left : 20px ;
margin : 0 ;
2014-12-05 19:13:23 -05:00
width : 280px ;
2019-10-07 09:20:03 -04:00
font-size : inherit ;
2014-03-27 23:16:15 -04:00
}
2014-02-19 16:43:14 -05:00
/* Position admin messages */
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
. theme . notice ,
. theme . notice . is-dismissible {
left : 0 ;
margin : 0 ;
position : absolute ;
right : 0 ;
top : 0 ;
2014-02-19 16:43:14 -05:00
}
/ * *
* Main theme element
* ( has flexible margins )
* /
. theme-browser . theme {
cursor : pointer ;
float : left ;
margin : 0 4 % 4 % 0 ;
position : relative ;
width : 30 . 6 % ;
2016-03-09 14:51:26 -05:00
border : 1px solid # ddd ;
2019-03-04 17:02:52 -05:00
box-shadow : 0 1px 1px -1px rgba ( 0 , 0 , 0 , 0 . 1 ) ;
2014-02-19 16:43:14 -05:00
box-sizing : border-box ;
}
. ie8 . theme-browser . theme {
width : 30 % ;
margin : 0 3 % 4 % 0 ;
}
. theme-browser . theme : nth-child ( 3n ) {
margin-right : 0 ;
}
. theme-browser . theme : hover ,
. theme-browser . theme : focus {
cursor : pointer ;
}
. theme-browser . theme . theme-name {
font-size : 15px ;
font-weight : 600 ;
2014-04-13 14:26:15 -04:00
height : 18px ;
2014-02-19 16:43:14 -05:00
margin : 0 ;
padding : 15px ;
2019-03-04 17:02:52 -05:00
box-shadow : inset 0 1px 0 rgba ( 0 , 0 , 0 , 0 . 1 ) ;
2014-02-19 16:43:14 -05:00
overflow : hidden ;
white-space : nowrap ;
text-overflow : ellipsis ;
background : # fff ;
2019-03-04 17:02:52 -05:00
background : rgba ( 255 , 255 , 255 , 0 . 65 ) ;
2014-02-19 16:43:14 -05:00
}
2014-03-27 23:16:15 -04:00
/* Activate and Customize buttons, shown on hover and focus */
2014-02-19 16:43:14 -05:00
. theme-browser . theme . theme-actions {
-ms-filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)" ;
opacity : 0 ;
transition : opacity 0 . 1s ease-in-out ;
2017-10-18 00:06:47 -04:00
height : auto ;
2014-02-19 16:43:14 -05:00
background : rgba ( 244 , 244 , 244 , 0 . 7 ) ;
2019-03-04 17:02:52 -05:00
border-left : 1px solid rgba ( 0 , 0 , 0 , 0 . 05 ) ;
2014-02-19 16:43:14 -05:00
}
2014-03-27 23:16:15 -04:00
. theme-browser . theme : hover . theme-actions ,
. theme-browser . theme . focus . theme-actions ,
. theme-browser . theme : focus . theme-actions {
2014-02-19 16:43:14 -05:00
-ms-filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" ;
opacity : 1 ;
}
. theme-browser . theme . theme-actions . button-primary {
2015-06-18 08:27:25 -04:00
margin-right : 3px ;
2014-02-19 16:43:14 -05:00
}
2016-09-28 15:54:28 -04:00
. theme-browser . theme . theme-actions . button {
2015-06-18 08:27:25 -04:00
float : none ;
margin-left : 3px ;
2014-02-19 16:43:14 -05:00
}
/ * *
* Theme Screenshot
*
* Has a fixed aspect ratio of 1 . 5 to 1 regardless of screenshot size
* It is also responsive .
* /
. theme-browser . theme . theme-screenshot {
display : block ;
overflow : hidden ;
position : relative ;
2016-02-18 16:11:27 -05:00
-webkit-backface-visibility : hidden ; /* Prevents flicker of the screenshot on hover. */
2014-02-19 16:43:14 -05:00
transition : opacity 0 . 2s ease-in-out ;
}
. theme-browser . theme . theme-screenshot : after {
2015-09-10 16:22:25 -04:00
content : "" ;
2014-02-19 16:43:14 -05:00
display : block ;
padding-top : 66 . 66666 % ; /* using a 3/2 aspect ratio */
}
. theme-browser . theme . theme-screenshot img {
height : auto ;
position : absolute ;
left : 0 ;
top : 0 ;
width : 100 % ;
transition : opacity 0 . 2s ease-in-out ;
}
2014-03-27 23:16:15 -04:00
. theme-browser . theme : hover . theme-screenshot ,
. theme-browser . theme : focus . theme-screenshot {
2014-02-19 16:43:14 -05:00
background : # fff ;
}
2014-03-27 23:16:15 -04:00
. theme-browser . rendered . theme : hover . theme-screenshot img ,
. theme-browser . rendered . theme : focus . theme-screenshot img {
2014-02-19 16:43:14 -05:00
opacity : 0 . 4 ;
}
. theme-browser . theme . more-details {
-ms-filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)" ;
opacity : 0 ;
position : absolute ;
2014-03-20 00:20:15 -04:00
top : 35 % ;
2016-04-16 09:59:26 -04:00
right : 20 % ;
left : 20 % ;
2015-02-11 17:18:26 -05:00
background : # 23282d ;
2019-03-04 17:02:52 -05:00
background : rgba ( 0 , 0 , 0 , 0 . 7 ) ;
2014-02-19 16:43:14 -05:00
color : # fff ;
font-size : 15px ;
2019-03-04 17:02:52 -05:00
text-shadow : 0 1px 0 rgba ( 0 , 0 , 0 , 0 . 6 ) ;
2014-02-19 16:43:14 -05:00
-webkit-font-smoothing : antialiased ;
font-weight : 600 ;
padding : 15px 12px ;
text-align : center ;
border-radius : 3px ;
transition : opacity 0 . 1s ease-in-out ;
}
2014-08-26 01:17:17 -04:00
2014-02-19 16:43:14 -05:00
. theme-browser . theme : focus {
2019-10-07 15:57:02 -04:00
border-color : # 5b9dd9 ;
box-shadow : 0 0 2px rgba ( 30 , 140 , 190 , 0 . 8 ) ;
2014-02-19 16:43:14 -05:00
}
2014-03-27 23:16:15 -04:00
2014-02-19 16:43:14 -05:00
. theme-browser . theme : focus . more-details {
opacity : 1 ;
}
2014-08-26 01:17:17 -04:00
2014-02-19 16:43:14 -05:00
/* Current theme needs to have its action always on view */
. theme-browser . theme . active : focus . theme-actions {
display : block ;
}
2014-03-27 23:16:15 -04:00
. theme-browser . rendered . theme : hover . more-details ,
. theme-browser . rendered . theme : focus . more-details {
2014-02-19 16:43:14 -05:00
-ms-filter : "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" ;
opacity : 1 ;
}
/ * *
* The currently active theme
* /
. theme-browser . theme . active . theme-name {
2016-02-16 11:09:29 -05:00
background : # 23282d ;
2014-02-19 16:43:14 -05:00
color : # fff ;
padding-right : 110px ;
font-weight : 300 ;
2019-03-04 17:02:52 -05:00
box-shadow : inset 0 1px 1px rgba ( 0 , 0 , 0 , 0 . 5 ) ;
2014-02-19 16:43:14 -05:00
}
2015-04-22 12:15:27 -04:00
. theme-browser . customize-control . theme . active . theme-name {
padding-right : 15px ;
}
2014-02-19 16:43:14 -05:00
. theme-browser . theme . active . theme-name span {
font-weight : 600 ;
}
. theme-browser . theme . active . theme-actions {
2019-03-04 17:02:52 -05:00
background : rgba ( 49 , 49 , 49 , 0 . 7 ) ;
2014-02-19 16:43:14 -05:00
border-left : none ;
opacity : 1 ;
}
2017-10-19 14:10:47 -04:00
. theme-id-container {
position : relative ;
}
. theme-browser . theme . active . theme-actions ,
. theme-browser . theme . theme-actions {
position : absolute ;
top : 50 % ;
transform : translateY ( -50 % ) ;
right : 0 ;
padding : 10px 15px ;
2019-03-04 17:02:52 -05:00
box-shadow : inset 0 1px 0 rgba ( 0 , 0 , 0 , 0 . 1 ) ;
2017-10-19 14:10:47 -04:00
}
2014-02-19 16:43:14 -05:00
. theme-browser . theme . active . theme-actions . button-primary {
margin-right : 0 ;
}
. theme-browser . theme . theme-author {
2015-02-11 17:18:26 -05:00
background : # 23282d ;
2014-02-19 16:43:14 -05:00
color : # eee ;
display : none ;
font-size : 14px ;
margin : 0 10px ;
padding : 5px 10px ;
position : absolute ;
bottom : 56px ;
}
. theme-browser . theme . display-author . theme-author {
display : block ;
}
. theme-browser . theme . display-author . theme-author a {
color : inherit ;
text-decoration : none ;
}
/ * *
* Add new theme
* /
. theme-browser . theme . add-new-theme {
border : none ;
box-shadow : none ;
}
. theme-browser . theme . add-new-theme a {
text-decoration : none ;
display : block ;
position : relative ;
z-index : 1 ;
}
2015-04-01 08:22:27 -04:00
. theme-browser . theme . add-new-theme a : after {
2014-02-19 16:43:14 -05:00
display : block ;
2015-09-10 16:22:25 -04:00
content : "" ;
2014-02-19 16:43:14 -05:00
background : transparent ;
background : rgba ( 0 , 0 , 0 , 0 ) ;
position : absolute ;
top : 0 ;
left : 0 ;
right : 0 ;
bottom : 0 ;
2015-04-01 08:22:27 -04:00
padding : 0 ;
2014-02-19 16:43:14 -05:00
text-shadow : none ;
border : 5px dashed # d5d2ca ;
border : 5px dashed rgba ( 0 , 0 , 0 , 0 . 1 ) ;
box-sizing : border-box ;
}
. theme-browser . theme . add-new-theme span : after {
background : # e5e5e5 ;
background : rgba ( 153 , 153 , 153 , 0 . 1 ) ;
border-radius : 50 % ;
display : inline-block ;
2015-09-10 16:22:25 -04:00
content : "\f132" ;
2014-02-19 16:43:14 -05:00
-webkit-font-smoothing : antialiased ;
2015-09-05 15:57:25 -04:00
font : normal 74px / 115px dashicons ;
2014-02-19 16:43:14 -05:00
width : 100px ;
height : 100px ;
vertical-align : middle ;
text-align : center ;
color : rgb ( 153 , 153 , 153 ) ;
position : absolute ;
top : 30 % ;
left : 50 % ;
margin-left : -50px ;
text-indent : -4px ;
padding : 0 ;
text-shadow : none ;
2019-01-17 02:41:52 -05:00
z-index : 4 ;
2014-02-19 16:43:14 -05:00
}
. rtl . theme-browser . theme . add-new-theme span : after {
text-indent : 4px ;
}
2015-04-01 08:22:27 -04:00
. theme-browser . theme . add-new-theme a : hover . theme-screenshot ,
. theme-browser . theme . add-new-theme a : focus . theme-screenshot {
2014-02-19 16:43:14 -05:00
background : none ;
}
2015-04-01 08:22:27 -04:00
. theme-browser . theme . add-new-theme a : hover span : after ,
. theme-browser . theme . add-new-theme a : focus span : after {
2014-02-19 16:43:14 -05:00
background : # fff ;
2015-02-11 17:18:26 -05:00
color : # 0073aa ;
2014-02-19 16:43:14 -05:00
}
2015-04-01 08:22:27 -04:00
. theme-browser . theme . add-new-theme a : hover : after ,
. theme-browser . theme . add-new-theme a : focus : after {
2014-02-19 16:43:14 -05:00
border-color : transparent ;
color : # fff ;
2015-02-11 17:18:26 -05:00
background : # 0073aa ;
2015-09-10 16:22:25 -04:00
content : "" ;
2014-02-19 16:43:14 -05:00
}
. theme-browser . theme . add-new-theme . theme-name {
background : none ;
text-align : center ;
box-shadow : none ;
font-weight : 400 ;
position : relative ;
top : 0 ;
2015-04-01 08:22:27 -04:00
margin-top : -18px ;
padding-top : 0 ;
padding-bottom : 48px ;
2014-02-19 16:43:14 -05:00
}
2015-04-01 08:22:27 -04:00
. theme-browser . theme . add-new-theme a : hover . theme-name ,
. theme-browser . theme . add-new-theme a : focus . theme-name {
2014-02-19 16:43:14 -05:00
color : # fff ;
z-index : 2 ;
}
/ * *
* Theme Overlay
* Shown when clicking a theme
* /
. theme-overlay . theme-backdrop {
position : absolute ;
left : -20px ;
right : 0 ;
top : 0 ;
bottom : 0 ;
background : # f1f1f1 ;
2019-03-04 17:02:52 -05:00
background : rgba ( 238 , 238 , 238 , 0 . 9 ) ;
2015-07-03 13:05:24 -04:00
z-index : 10000 ; /* Over WP Pointers. */
2014-02-19 16:43:14 -05:00
}
. theme-overlay . theme-header {
position : absolute ;
top : 0 ;
left : 0 ;
right : 0 ;
height : 48px ;
border-bottom : 1px solid # ddd ;
}
2015-04-14 14:04:28 -04:00
. theme-overlay . theme-header button {
padding : 0 ;
}
2014-02-19 16:43:14 -05:00
. theme-overlay . theme-header . close {
cursor : pointer ;
height : 48px ;
width : 50px ;
text-align : center ;
float : right ;
border : 0 ;
border-left : 1px solid # ddd ;
background-color : transparent ;
2014-08-02 18:02:19 -04:00
transition : color . 1s ease-in-out , background . 1s ease-in-out ;
2014-02-19 16:43:14 -05:00
}
. theme-overlay . theme-header . close : before {
2015-09-05 15:57:25 -04:00
font : normal 22px / 50px dashicons ! important ;
2016-01-25 19:04:26 -05:00
color : # 72777c ;
2014-02-19 16:43:14 -05:00
display : inline-block ;
2015-09-10 16:22:25 -04:00
content : "\f335" ;
2014-02-19 16:43:14 -05:00
font-weight : 300 ;
}
/* Left and right navigation */
. theme-overlay . theme-header . right ,
. theme-overlay . theme-header . left {
cursor : pointer ;
2016-01-25 19:04:26 -05:00
color : # 72777c ;
2014-02-19 16:43:14 -05:00
background-color : transparent ;
height : 48px ;
width : 54px ;
float : left ;
text-align : center ;
border : 0 ;
border-right : 1px solid # ddd ;
2014-08-02 18:02:19 -04:00
transition : color . 1s ease-in-out , background . 1s ease-in-out ;
2014-02-19 16:43:14 -05:00
}
2014-08-25 17:58:17 -04:00
. theme-overlay . theme-header . close : focus ,
2014-02-19 16:43:14 -05:00
. theme-overlay . theme-header . close : hover ,
2014-08-25 17:58:17 -04:00
. theme-overlay . theme-header . right : focus ,
2014-02-19 16:43:14 -05:00
. theme-overlay . theme-header . right : hover ,
2014-08-25 17:58:17 -04:00
. theme-overlay . theme-header . left : focus ,
2014-08-19 16:38:16 -04:00
. theme-overlay . theme-header . left : hover {
2014-08-25 17:58:17 -04:00
background : # ddd ;
border-color : # ccc ;
color : # 000 ;
}
. theme-overlay . theme-header . close : focus : before ,
. theme-overlay . theme-header . close : hover : before {
color : # 000 ;
2014-08-19 16:38:16 -04:00
}
2014-02-19 16:43:14 -05:00
. theme-overlay . theme-header . close : focus ,
. theme-overlay . theme-header . right : focus ,
. theme-overlay . theme-header . left : focus {
2018-02-03 08:19:32 -05:00
box-shadow : none ;
outline : none ;
2014-02-19 16:43:14 -05:00
}
. theme-overlay . theme-header . left . disabled ,
. theme-overlay . theme-header . right . disabled ,
. theme-overlay . theme-header . left . disabled : hover ,
. theme-overlay . theme-header . right . disabled : hover {
color : # ccc ;
background : inherit ;
cursor : inherit ;
}
. theme-overlay . theme-header . right : before ,
. theme-overlay . theme-header . left : before {
2015-09-05 15:57:25 -04:00
font : normal 20px / 50px dashicons ! important ;
2014-02-19 16:43:14 -05:00
display : inline ;
font-weight : 300 ;
}
2015-02-27 15:19:29 -05:00
. theme-overlay . theme-header . left : before {
content : "\f341" ;
2014-02-19 16:43:14 -05:00
}
2015-02-27 15:19:29 -05:00
. theme-overlay . theme-header . right : before {
content : "\f345" ;
2014-02-19 16:43:14 -05:00
}
. theme-overlay . theme-wrap {
clear : both ;
position : fixed ;
top : 9 % ;
left : 190px ;
right : 30px ;
bottom : 3 % ;
background : # fff ;
box-shadow : 0 1px 20px 5px rgba ( 0 , 0 , 0 , 0 . 1 ) ;
2015-07-03 13:05:24 -04:00
z-index : 10000 ; /* Over WP Pointers. */
2014-02-19 16:43:14 -05:00
box-sizing : border-box ;
2015-03-10 16:04:26 -04:00
-webkit-overflow-scrolling : touch ;
2014-02-19 16:43:14 -05:00
}
2016-04-14 08:20:29 -04:00
body . folded . theme-browser ~ . theme-overlay . theme-wrap {
2014-02-19 16:43:14 -05:00
left : 70px ;
}
. theme-overlay . theme-about {
position : absolute ;
top : 49px ;
bottom : 57px ;
left : 0 ;
right : 0 ;
overflow : auto ;
padding : 2 % 4 % ;
}
. theme-overlay . theme-actions {
position : absolute ;
text-align : center ;
bottom : 0 ;
left : 0 ;
right : 0 ;
padding : 10px 25px 5px ;
background : # f3f3f3 ;
z-index : 30 ;
box-sizing : border-box ;
border-top : 1px solid # eee ;
}
. ie8 . theme-overlay . theme-actions {
border : 1px solid # eee ;
}
. theme-overlay . theme-actions a {
margin-right : 5px ;
margin-bottom : 5px ;
}
2014-12-08 17:23:23 -05:00
/* Hide-if-customize for items we can't add classes to */
. customize-support . theme-overlay . theme-actions a [ href = "themes.php?page=custom-header" ] ,
. customize-support . theme-overlay . theme-actions a [ href = "themes.php?page=custom-background" ] {
display : none ;
}
2014-10-16 15:46:18 -04:00
. broken-themes a . delete-theme ,
2014-02-19 16:43:14 -05:00
. theme-overlay . theme-actions . delete-theme {
color : # a00 ;
text-decoration : none ;
border-color : transparent ;
box-shadow : none ;
background : transparent ;
}
2014-10-16 15:46:18 -04:00
. theme-overlay . theme-actions . delete-theme {
position : absolute ;
right : 10px ;
bottom : 5px ;
}
. broken-themes a . delete-theme : hover ,
. broken-themes a . delete-theme : focus ,
2014-02-19 16:43:14 -05:00
. theme-overlay . theme-actions . delete-theme : hover ,
. theme-overlay . theme-actions . delete-theme : focus {
background : # d54e21 ;
color : # fff ;
border-color : # d54e21 ;
}
. theme-overlay . theme-actions . active-theme ,
. theme-overlay . active . theme-actions . inactive-theme {
display : none ;
}
. theme-overlay . theme-actions . inactive-theme ,
. theme-overlay . active . theme-actions . active-theme {
display : block ;
}
/ * *
* Theme Screenshots gallery
* /
. theme-overlay . theme-screenshots {
float : left ;
margin : 0 30px 0 0 ;
width : 55 % ;
Customize: Introduce a new experience for discovering, installing, and previewing themes within the customizer.
Unify the theme-browsing and theme-customization experiences by introducing a comprehensive theme browser and installer directly accessible in the customizer. Replaces the customizer theme switcher with a full-screen panel for discovering/browsing and installing themes available on WordPress.org. Themes can now be installed and previewed directly in the customizer without entering the wp-admin context. Also includes an extensible framework for browsing and installing themes from other sources.
Also includes CSS auto-prefixing added via `grunt precommit:css`.
For details, see: https://make.wordpress.org/core/2016/10/03/feature-proposal-a-new-experience-for-discovering-installing-and-previewing-themes-in-the-customizer/
Previously [38813] but reverted in [39140].
Fixes #37661, #34843, #38666.
Props celloexpressions, folletto, westonruter, karmatosed, melchoyce, afercia.
Built from https://develop.svn.wordpress.org/trunk@41648
git-svn-id: http://core.svn.wordpress.org/trunk@41482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-29 16:13:50 -04:00
max-width : 1200px ; /* Recommended theme screenshot width, set here to avoid stretching */
2014-02-19 16:43:14 -05:00
text-align : center ;
}
/* First screenshot, shown big */
. theme-overlay . screenshot {
border : 1px solid # fff ;
box-sizing : border-box ;
overflow : hidden ;
position : relative ;
2019-03-04 17:02:52 -05:00
box-shadow : 0 0 0 1px rgba ( 0 , 0 , 0 , 0 . 2 ) ;
2014-02-19 16:43:14 -05:00
}
. theme-overlay . screenshot : after {
2015-09-10 16:22:25 -04:00
content : "" ;
2014-02-19 16:43:14 -05:00
display : block ;
padding-top : 75 % ; /* using a 4/3 aspect ratio */
}
. theme-overlay . screenshot img {
height : auto ;
position : absolute ;
left : 0 ;
top : 0 ;
width : 100 % ;
}
/* Handles old 300px screenshots */
. theme-overlay . small-screenshot . theme-screenshots {
position : absolute ;
width : 302px ;
}
. theme-overlay . small-screenshot . theme-info {
margin-left : 350px ;
width : auto ;
}
/* Other screenshots, shown small and square */
. theme-overlay . screenshot . thumb {
background : # ccc ;
border : 1px solid # eee ;
float : none ;
display : inline-block ;
margin : 10px 5px 0 ;
width : 140px ;
height : 80px ;
cursor : pointer ;
}
. theme-overlay . screenshot . thumb : after {
2015-09-10 16:22:25 -04:00
content : "" ;
2014-02-19 16:43:14 -05:00
display : block ;
padding-top : 100 % ; /* using a 1/1 aspect ratio */
}
. theme-overlay . screenshot . thumb img {
cursor : pointer ;
height : auto ;
position : absolute ;
left : 0 ;
top : 0 ;
width : 100 % ;
height : auto ;
}
. theme-overlay . screenshot . selected {
background : transparent ;
2015-02-11 17:18:26 -05:00
border : 2px solid # 00a0d2 ;
2014-02-19 16:43:14 -05:00
}
. theme-overlay . screenshot . selected img {
opacity : 0 . 8 ;
}
/* No screenshot placeholder */
. theme-browser . theme . theme-screenshot . blank ,
. theme-overlay . screenshot . blank {
background-image : url ( data : image / png ; base64 , iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d + / efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8 / / 59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII = ) ;
}
/ * *
* Theme heading information
* /
. theme-overlay . theme-info {
width : 40 % ;
float : left ;
}
. theme-overlay . current-label {
2015-02-11 17:18:26 -05:00
background : # 32373c ;
2014-02-19 16:43:14 -05:00
color : # fff ;
font-size : 11px ;
display : inline-block ;
padding : 2px 8px ;
border-radius : 2px ;
margin : 0 0 -10px ;
-webkit-user-select : none ;
-moz-user-select : none ;
-ms-user-select : none ;
user-select : none ;
}
. theme-overlay . theme-name {
2015-02-11 17:18:26 -05:00
color : # 23282d ;
2014-02-19 16:43:14 -05:00
font-size : 32px ;
font-weight : 100 ;
margin : 10px 0 0 ;
line-height : 1 . 3 ;
2016-06-26 10:27:25 -04:00
word-wrap : break-word ;
overflow-wrap : break-word ;
2014-02-19 16:43:14 -05:00
}
. theme-overlay . theme-version {
2016-02-19 13:44:27 -05:00
color : # 72777c ;
2014-02-19 16:43:14 -05:00
font-size : 13px ;
font-weight : 400 ;
float : none ;
display : inline-block ;
margin-left : 10px ;
}
. theme-overlay . theme-author {
2015-10-16 11:56:25 -04:00
margin : 15px 0 25px ;
2016-02-16 11:09:29 -05:00
color : # 72777c ;
2014-02-19 16:43:14 -05:00
font-size : 16px ;
font-weight : 400 ;
2015-10-16 11:56:25 -04:00
line-height : inherit ;
2014-02-19 16:43:14 -05:00
}
. theme-overlay . theme-author a {
text-decoration : none ;
}
. theme-overlay . theme-description {
color : # 555 ;
font-size : 15px ;
font-weight : 400 ;
line-height : 1 . 5 ;
margin : 30px 0 0 0 ;
}
. theme-overlay . theme-tags {
border-top : 3px solid # eee ;
2015-02-11 17:18:26 -05:00
color : # 82878c ;
2014-02-19 16:43:14 -05:00
font-size : 13px ;
font-weight : 400 ;
margin : 30px 0 0 0 ;
padding-top : 20px ;
}
. theme-overlay . theme-tags span {
color : # 444 ;
2016-06-17 14:37:28 -04:00
font-weight : 600 ;
2014-02-19 16:43:14 -05:00
margin-right : 5px ;
}
. theme-overlay . parent-theme {
background : # f7fcfe ;
border : 1px solid # eee ;
2015-02-11 17:18:26 -05:00
border-left : 4px solid # 00a0d2 ;
2014-02-19 16:43:14 -05:00
font-size : 14px ;
2016-06-17 14:37:28 -04:00
font-weight : 400 ;
2014-02-19 16:43:14 -05:00
margin-top : 30px ;
padding : 10px 10px 10px 20px ;
}
. theme-overlay . parent-theme strong {
2018-04-29 14:04:21 -04:00
font-weight : 600 ;
2014-02-19 16:43:14 -05:00
}
/ * *
* Single Theme Mode
* Displays detailed view inline when a user has no switch capabilities
* /
. single-theme . theme-overlay . theme-backdrop ,
. single-theme . theme-overlay . theme-header ,
. single-theme . theme {
display : none ;
}
. single-theme . theme-overlay . theme-wrap {
clear : both ;
min-height : 330px ;
position : relative ;
left : auto ;
right : auto ;
top : auto ;
bottom : auto ;
2015-07-07 13:14:25 -04:00
z-index : 10 ;
2014-02-19 16:43:14 -05:00
}
. single-theme . theme-overlay . theme-about {
padding : 30px 30px 70px ;
position : static ;
}
. single-theme . theme-overlay . theme-actions {
position : absolute ;
}
/ * *
* Basic Responsive structure . . .
*
* Shuffles theme columns around based on screen width
* /
@ media only screen and ( min-width : 2000px ) {
# wpwrap . theme-browser . theme {
width : 17 . 6 % ;
margin : 0 3 % 3 % 0 ;
}
# wpwrap . theme-browser . theme : nth-child ( 3n ) ,
# wpwrap . theme-browser . theme : nth-child ( 4n ) {
margin-right : 3 % ;
}
# wpwrap . theme-browser . theme : nth-child ( 5n ) {
margin-right : 0 ;
}
}
@ media only screen and ( min-width : 1680px ) {
. theme-overlay . theme-wrap {
width : 1450px ;
margin : 0 auto ;
}
}
/* Maximum screenshot width reaches 440px */
@ media only screen and ( min-width : 1640px ) {
. theme-browser . theme {
width : 22 . 7 % ;
margin : 0 3 % 3 % 0 ;
}
. theme-browser . theme . theme-screenshot : after {
padding-top : 75 % ; /* using a 4/3 aspect ratio */
}
. theme-browser . theme : nth-child ( 3n ) {
margin-right : 3 % ;
}
. theme-browser . theme : nth-child ( 4n ) {
margin-right : 0 ;
}
}
/* Maximum screenshot width reaches 440px */
@ media only screen and ( max-width : 1120px ) {
. theme-browser . theme {
width : 47 . 5 % ;
margin-right : 0 ;
}
. theme-browser . theme : nth-child ( even ) {
margin-right : 0 ;
}
. theme-browser . theme : nth-child ( odd ) {
margin-right : 5 % ;
}
}
/* Admin menu is folded */
2019-10-08 14:49:03 -04:00
@ media only screen and ( max-width : 960px ) {
2014-02-19 16:43:14 -05:00
. theme-overlay . theme-wrap {
left : 65px ;
}
}
@ media only screen and ( max-width : 780px ) {
body . folded . theme-overlay . theme-wrap ,
. theme-overlay . theme-wrap {
top : 0 ; /* The adminmenu isn't fixed on mobile, so this can use the full viewport height */
right : 0 ;
bottom : 0 ;
left : 0 ;
padding : 70px 20px 20px ;
border : none ;
2015-03-10 16:04:26 -04:00
z-index : 100000 ; /* should overlap #wpadminbar. */
2014-02-19 16:43:14 -05:00
position : fixed ;
}
. theme-browser . theme . active . theme-name span {
/* Hide the "Active: " label on smaller screens. */
display : none ;
}
. theme-overlay . theme-screenshots {
width : 40 % ;
}
. theme-overlay . theme-info {
width : 50 % ;
}
. single-theme . theme-wrap {
padding : 10px ;
}
. theme-browser . theme . theme-actions {
padding : 5px 10px 4px 10px ;
}
. theme-overlay . small-screenshot . theme-screenshots {
position : static ;
float : none ;
max-width : 302px ;
}
. theme-overlay . small-screenshot . theme-info {
margin-left : 0 ;
width : auto ;
}
. theme : not ( . active ) : hover . theme-actions ,
2014-03-27 23:16:15 -04:00
. theme : not ( . active ) : focus . theme-actions ,
. theme : hover . more-details ,
. theme : focus . more-details {
2014-02-19 16:43:14 -05:00
display : none ;
}
2014-03-27 23:16:15 -04:00
. theme-browser . rendered . theme : hover . theme-screenshot img ,
. theme-browser . rendered . theme : focus . theme-screenshot img {
2014-02-19 16:43:14 -05:00
opacity : 1 . 0 ;
}
}
@ media only screen and ( max-width : 480px ) {
. theme-browser . theme {
width : 100 % ;
margin-right : 0 ;
}
. theme-browser . theme : nth-child ( 2n ) ,
. theme-browser . theme : nth-child ( 3n ) {
margin-right : 0 ;
}
}
@ media only screen and ( max-width : 650px ) {
. theme-overlay . theme-description {
margin-left : 0 ;
}
. theme-overlay . theme-actions . delete-theme {
position : relative ;
right : auto ;
bottom : auto ;
}
. theme-overlay . theme-actions . inactive-theme {
display : inline ;
}
. theme-overlay . theme-screenshots {
width : 100 % ;
float : none ;
}
. theme-overlay . theme-info {
width : 100 % ;
}
. theme-overlay . theme-author {
margin : 5px 0 15px 0 ;
}
. theme-overlay . current-label {
margin-top : 10px ;
font-size : 13px ;
}
2014-07-17 23:40:16 -04:00
. themes-php . wp-filter-search {
2014-02-19 16:43:14 -05:00
float : none ;
clear : both ;
left : 0 ;
right : 0 ;
2016-12-06 18:12:41 -05:00
margin : -5px 0 20px 0 ;
2014-02-19 16:43:14 -05:00
width : 100 % ;
2014-12-05 19:13:23 -05:00
max-width : 280px ;
2014-02-19 16:43:14 -05:00
}
. theme-browser . theme . add-new-theme span : after {
2015-09-05 15:57:25 -04:00
font : normal 60px / 90px dashicons ;
2014-02-19 16:43:14 -05:00
width : 80px ;
height : 80px ;
top : 30 % ;
left : 50 % ;
text-indent : 0 ;
margin-left : -40px ;
}
. single-theme . theme-wrap {
margin : 0 -12px 0 -10px ;
padding : 10px ;
}
. single-theme . theme-overlay . theme-about {
padding : 10px ;
overflow : visible ;
}
. single-theme . current-label {
display : none ;
}
. single-theme . theme-overlay . theme-actions {
position : static ;
}
}
. broken-themes {
clear : both ;
}
. broken-themes table {
text-align : left ;
width : 50 % ;
border-spacing : 3px ;
padding : 3px ;
}
/ * ------------------------------------------------------------------------------
16 . 2 - Install Themes
------------------------------------------------------------------------------ * /
2014-04-07 19:04:15 -04:00
/* Already installed theme */
. theme-browser . theme . theme-installed {
2015-02-11 17:18:26 -05:00
background : # 0073aa ;
2014-04-07 19:04:15 -04:00
}
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
. theme-browser . theme . notice-success p : before {
color : # 79ba49 ;
2015-09-10 16:22:25 -04:00
content : "\f147" ;
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
display : inline-block ;
font : normal 20px / 1 'dashicons' ;
-webkit-font-smoothing : antialiased ;
-moz-osx-font-smoothing : grayscale ;
vertical-align : top ;
2014-04-07 19:04:15 -04:00
}
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
. theme-install . updated-message : before {
2018-02-03 08:19:32 -05:00
content : "" ;
2014-04-07 19:04:15 -04:00
}
2015-07-26 23:34:25 -04:00
. theme-install-php . wp-filter {
2016-10-14 17:33:28 -04:00
padding-left : 20px ;
2015-07-26 23:34:25 -04:00
}
2014-03-20 00:20:15 -04:00
. theme-install-php a . upload ,
. theme-install-php a . browse-themes {
cursor : pointer ;
}
2016-04-16 12:43:27 -04:00
. upload-view-toggle . browse ,
2016-07-31 14:11:29 -04:00
. plugin-install-tab-upload . upload-view-toggle . upload {
2014-03-20 00:20:15 -04:00
display : none ;
}
2016-04-16 12:43:27 -04:00
2016-07-31 14:11:29 -04:00
. plugin-install-tab-upload . upload-view-toggle . browse {
2014-03-20 00:20:15 -04:00
display : inline ;
}
2016-04-16 12:43:27 -04:00
2014-08-26 21:32:18 -04:00
. upload-theme ,
. upload-plugin {
2014-03-11 03:47:15 -04:00
box-sizing : border-box ;
display : none ;
2014-07-17 23:40:16 -04:00
margin : 0 ;
2016-06-17 16:47:28 -04:00
padding : 50px 0 ;
2014-03-11 03:47:15 -04:00
width : 100 % ;
2014-02-19 16:43:14 -05:00
overflow : hidden ;
2014-03-11 03:47:15 -04:00
position : relative ;
2014-03-20 00:20:15 -04:00
top : 10px ;
2014-02-19 16:43:14 -05:00
}
2016-04-16 12:43:27 -04:00
2016-07-31 14:11:29 -04:00
. upload-plugin-wrap {
display : none ;
}
2016-04-16 12:43:27 -04:00
. show-upload-view . upload-theme ,
. show-upload-view . upload-plugin ,
2016-07-31 14:11:29 -04:00
. show-upload-view . upload-plugin-wrap ,
. plugin-install-tab-upload . upload-plugin {
2014-03-11 03:47:15 -04:00
display : block ;
2014-02-19 16:43:14 -05:00
}
2016-04-16 12:43:27 -04:00
2014-08-26 21:32:18 -04:00
. upload-theme . wp-upload-form ,
. upload-plugin . wp-upload-form {
2014-03-11 03:47:15 -04:00
background : # fafafa ;
2019-09-23 11:10:59 -04:00
border : 1px solid # ccd0d4 ;
2014-03-11 03:47:15 -04:00
padding : 30px ;
margin : 30px auto ;
max-width : 380px ;
2014-02-19 16:43:14 -05:00
}
2014-08-26 21:32:18 -04:00
. upload-theme . install-help ,
. upload-plugin . install-help {
2016-02-19 13:44:27 -05:00
color : # 555d66 ; /* #f1f1f1 background */
2014-03-11 03:47:15 -04:00
font-size : 18px ;
font-style : normal ;
margin : 0 ;
2016-06-17 16:47:28 -04:00
padding : 0 ;
2014-03-11 03:47:15 -04:00
text-align : center ;
2014-02-19 16:43:14 -05:00
}
2014-03-27 23:16:15 -04:00
Customize: Introduce a new experience for discovering, installing, and previewing themes within the customizer.
Unify the theme-browsing and theme-customization experiences by introducing a comprehensive theme browser and installer directly accessible in the customizer. Replaces the customizer theme switcher with a full-screen panel for discovering/browsing and installing themes available on WordPress.org. Themes can now be installed and previewed directly in the customizer without entering the wp-admin context. Also includes an extensible framework for browsing and installing themes from other sources.
Also includes CSS auto-prefixing added via `grunt precommit:css`.
For details, see: https://make.wordpress.org/core/2016/10/03/feature-proposal-a-new-experience-for-discovering-installing-and-previewing-themes-in-the-customizer/
Previously [38813] but reverted in [39140].
Fixes #37661, #34843, #38666.
Props celloexpressions, folletto, westonruter, karmatosed, melchoyce, afercia.
Built from https://develop.svn.wordpress.org/trunk@41648
git-svn-id: http://core.svn.wordpress.org/trunk@41482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-29 16:13:50 -04:00
p . no-themes ,
p . no-themes-local {
2015-02-22 05:15:26 -05:00
clear : both ;
2015-02-23 10:49:27 -05:00
color : # 666 ;
2014-04-01 18:20:14 -04:00
font-size : 18px ;
font-style : normal ;
2014-03-20 00:20:15 -04:00
margin : 0 ;
2016-01-12 12:13:29 -05:00
padding : 100px 0 ;
2014-04-01 18:20:14 -04:00
text-align : center ;
display : none ;
}
2016-01-12 12:13:29 -05:00
2016-06-17 16:47:28 -04:00
. no-results p . no-themes {
2014-04-01 18:20:14 -04:00
display : block ;
2014-03-20 00:20:15 -04:00
}
2016-01-12 12:13:29 -05:00
2014-03-11 03:47:15 -04:00
. theme-install-php . add-new-theme {
display : none ! important ;
2014-02-19 16:43:14 -05:00
}
2014-03-20 00:20:15 -04:00
@ media only screen and ( max-width : 1120px ) {
. upload-theme . wp-upload-form {
margin : 20px 0 ;
max-width : 100 % ;
}
. upload-theme . install-help {
font-size : 15px ;
padding : 20px 0 0 ;
text-align : left ;
}
2014-04-01 18:20:14 -04:00
}
2015-10-10 02:51:24 -04:00
. theme-details . theme-rating {
2019-04-13 00:32:51 -04:00
line-height : 1 . 9 ;
2015-10-10 02:51:24 -04:00
}
2015-07-03 16:54:24 -04:00
. theme-details . star-rating {
2015-10-10 02:51:24 -04:00
display : inline ;
2014-02-19 16:43:14 -05:00
}
2015-07-03 16:54:24 -04:00
2015-10-10 02:51:24 -04:00
. theme-details . num-ratings ,
. theme-details . no-rating {
font-size : 11px ;
2016-02-19 13:44:27 -05:00
color : # 72777c ;
2015-10-10 02:51:24 -04:00
}
. theme-details . no-rating {
2014-10-18 15:43:18 -04:00
display : block ;
2019-04-13 00:32:51 -04:00
line-height : 1 . 9 ;
2014-03-11 03:47:15 -04:00
}
2014-02-19 16:43:14 -05:00
/ * ------------------------------------------------------------------------------
16 . 3 - Custom Header Screen
------------------------------------------------------------------------------ * /
. appearance_page_custom-header # headimg {
2016-03-09 14:51:26 -05:00
border : 1px solid # ddd ;
2014-02-19 16:43:14 -05:00
overflow : hidden ;
width : 100 % ;
}
. appearance_page_custom-header # upload-form p label {
font-size : 12px ;
}
. appearance_page_custom-header . available-headers . default-header {
float : left ;
margin : 0 20px 20px 0 ;
}
. appearance_page_custom-header . random-header {
clear : both ;
margin : 0 20px 20px 0 ;
vertical-align : middle ;
}
. appearance_page_custom-header . available-headers label input ,
. appearance_page_custom-header . random-header label input {
margin-right : 10px ;
}
. appearance_page_custom-header . available-headers label img {
vertical-align : middle ;
}
/ * ------------------------------------------------------------------------------
16 . 4 - Custom Background Screen
------------------------------------------------------------------------------ * /
div # custom-background-image {
min-height : 100px ;
2016-03-09 14:51:26 -05:00
border : 1px solid # ddd ;
2014-02-19 16:43:14 -05:00
}
div # custom-background-image img {
max-width : 400px ;
max-height : 300px ;
}
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 02:52:29 -04:00
. background-position-control input [ type = "radio" ] : checked ~ . button {
background : # eee ;
border-color : # 999 ;
2019-03-04 17:02:52 -05:00
box-shadow : inset 0 2px 5px -3px rgba ( 0 , 0 , 0 , 0 . 5 ) ;
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 02:52:29 -04:00
z-index : 1 ;
}
. background-position-control input [ type = "radio" ] : focus ~ . button {
border-color : # 5b9dd9 ;
2019-03-04 17:02:52 -05:00
box-shadow : inset 0 2px 5px -3px rgba ( 0 , 0 , 0 , 0 . 5 ) , 0 0 3px rgba ( 0 , 115 , 170 , 0 . 8 ) ;
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 02:52:29 -04:00
color : # 23282d ;
}
. background-position-control . background-position-center-icon ,
. background-position-control . background-position-center-icon : before {
display : inline-block ;
line-height : 1 ;
text-align : center ;
2018-02-11 07:55:30 -05:00
transition : background-color . 1s ease-in ;
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 02:52:29 -04:00
}
. background-position-control . background-position-center-icon {
height : 20px ;
margin-top : 13px ;
vertical-align : top ;
width : 20px ;
}
. background-position-control . background-position-center-icon : before {
background-color : # 555 ;
border-radius : 50 % ;
content : "" ;
height : 12px ;
width : 12px ;
}
. background-position-control . button : hover . background-position-center-icon : before ,
. background-position-control input [ type = "radio" ] : focus ~ . button . background-position-center-icon : before {
background-color : # 23282d ;
}
. background-position-control . button-group {
display : block ;
}
. background-position-control . button-group . button {
border-radius : 0 ;
box-shadow : none ;
/* Following properties are overridden by buttons responsive styles (see: wp-includes/css/buttons.css). */
height : 40px ! important ;
2019-04-13 00:32:51 -04:00
line-height : 2 . 9 ! important ;
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 02:52:29 -04:00
margin : 0 -1px 0 0 ! important ;
padding : 0 10px 1px ! important ;
position : relative ;
}
. background-position-control . button-group . button : active ,
. background-position-control . button-group . button : hover ,
. background-position-control . button-group . button : focus {
z-index : 1 ;
}
. background-position-control . button-group : last-child . button {
box-shadow : 0 1px 0 # ccc ;
}
. background-position-control . button-group > label {
margin : 0 ! important ;
}
. background-position-control . button-group : first-child > label : first-child . button {
border-radius : 3px 0 0 ;
}
. background-position-control . button-group : first-child > label : first-child . dashicons {
transform : rotate ( 45deg ) ;
}
. background-position-control . button-group : first-child > label : last-child . button {
border-radius : 0 3px 0 0 ;
}
. background-position-control . button-group : first-child > label : last-child . dashicons {
transform : rotate ( -45deg ) ;
}
. background-position-control . button-group : last-child > label : first-child . button {
border-radius : 0 0 0 3px ;
}
. background-position-control . button-group : last-child > label : first-child . dashicons {
transform : rotate ( -45deg ) ;
}
. background-position-control . button-group : last-child > label : last-child . button {
border-radius : 0 0 3px 0 ;
}
. background-position-control . button-group : last-child > label : last-child . dashicons {
transform : rotate ( 45deg ) ;
}
. background-position-control . button-group . dashicons {
margin-top : 9px ;
}
. background-position-control . button-group + . button-group {
margin-top : -1px ;
}
2014-02-19 16:43:14 -05:00
/ * ------------------------------------------------------------------------------
23 . 0 - Full Overlay w / Sidebar
------------------------------------------------------------------------------ * /
body . full-overlay-active {
overflow : hidden ;
2016-09-04 17:51:31 -04:00
/* Hide all the content, the Customizer overlay is then made visible to be the only available content. */
visibility : hidden ;
2014-02-19 16:43:14 -05:00
}
. wp-full-overlay {
background : transparent ;
z-index : 500000 ;
position : fixed ;
overflow : visible ;
top : 0 ;
bottom : 0 ;
left : 0 ;
right : 0 ;
height : 100 % ;
min-width : 0 ;
}
. wp-full-overlay-sidebar {
box-sizing : border-box ;
position : fixed ;
2017-04-21 01:25:43 -04:00
min-width : 300px ;
max-width : 600px ;
width : 18 % ;
2014-02-19 16:43:14 -05:00
height : 100 % ;
top : 0 ;
bottom : 0 ;
left : 0 ;
padding : 0 ;
margin : 0 ;
z-index : 10 ;
2014-04-03 19:53:15 -04:00
background : # eee ;
2014-02-19 16:43:14 -05:00
border-right : none ;
}
. wp-full-overlay . collapsed . wp-full-overlay-sidebar {
overflow : visible ;
}
. wp-full-overlay . collapsed ,
. wp-full-overlay . expanded . wp-full-overlay-sidebar {
margin-left : 0 ! important ;
}
. wp-full-overlay . expanded {
margin-left : 300px ;
}
. wp-full-overlay . collapsed . wp-full-overlay-sidebar {
margin-left : -300px ;
}
2017-04-21 01:25:43 -04:00
@ media screen and ( min-width : 1667px ) {
. wp-full-overlay . expanded {
margin-left : 18 % ;
}
. wp-full-overlay . collapsed . wp-full-overlay-sidebar {
margin-left : -18 % ;
}
}
@ media screen and ( min-width : 3333px ) {
. wp-full-overlay . expanded {
margin-left : 600px ;
}
. wp-full-overlay . collapsed . wp-full-overlay-sidebar {
margin-left : -600px ;
}
}
2014-02-19 16:43:14 -05:00
. wp-full-overlay-sidebar : after {
2015-09-10 16:22:25 -04:00
content : "" ;
2014-02-19 16:43:14 -05:00
display : block ;
position : absolute ;
top : 0 ;
bottom : 0 ;
right : 0 ;
width : 3px ;
z-index : 1000 ;
}
. wp-full-overlay-main {
position : absolute ;
left : 0 ;
right : 0 ;
top : 0 ;
bottom : 0 ;
height : 100 % ;
}
. wp-full-overlay-sidebar . wp-full-overlay-header {
position : absolute ;
left : 0 ;
right : 0 ;
height : 45px ;
padding : 0 15px ;
2019-04-13 00:32:51 -04:00
line-height : 3 . 2 ;
2014-02-19 16:43:14 -05:00
z-index : 10 ;
margin : 0 ;
border-top : none ;
box-shadow : none ;
}
. wp-full-overlay-sidebar . wp-full-overlay-header a . back {
margin-top : 9px ;
}
. wp-full-overlay-sidebar . wp-full-overlay-footer {
bottom : 0 ;
border-bottom : none ;
border-top : none ;
box-shadow : none ;
}
. wp-full-overlay-sidebar . wp-full-overlay-sidebar-content {
position : absolute ;
top : 45px ;
bottom : 45px ;
left : 0 ;
right : 0 ;
overflow : auto ;
}
2014-07-08 14:19:14 -04:00
/* Close & Navigation Links */
. theme-install-overlay . wp-full-overlay-sidebar . wp-full-overlay-header {
padding : 0 ;
}
. theme-install-overlay . close-full-overlay ,
. theme-install-overlay . previous-theme ,
. theme-install-overlay . next-theme {
display : block ;
position : relative ;
float : left ;
width : 45px ;
height : 45px ;
background : # eee ;
border-right : 1px solid # ddd ;
color : # 444 ;
cursor : pointer ;
2014-02-19 16:43:14 -05:00
text-decoration : none ;
2014-08-02 18:02:19 -04:00
transition : color . 1s ease-in-out , background . 1s ease-in-out ;
2014-07-08 14:19:14 -04:00
}
. theme-install-overlay . close-full-overlay : hover ,
. theme-install-overlay . close-full-overlay : focus ,
. theme-install-overlay . previous-theme : hover ,
. theme-install-overlay . previous-theme : focus ,
. theme-install-overlay . next-theme : hover ,
. theme-install-overlay . next-theme : focus {
2014-08-25 17:58:17 -04:00
background : # ddd ;
border-color : # ccc ;
color : # 000 ;
2014-07-08 14:19:14 -04:00
outline : none ;
box-shadow : none ;
}
. theme-install-overlay . close-full-overlay : before {
2014-08-19 16:38:16 -04:00
font : normal 22px / 1 dashicons ;
2014-07-08 14:19:14 -04:00
content : "\f335" ;
position : relative ;
2014-08-19 16:38:16 -04:00
top : 7px ;
2014-08-25 17:58:17 -04:00
left : 13px ;
2014-07-08 14:19:14 -04:00
}
. theme-install-overlay . previous-theme : before {
font : normal 20px / 1 dashicons ;
2014-08-19 16:38:16 -04:00
content : "\f341" ;
2014-07-08 14:19:14 -04:00
position : relative ;
top : 6px ;
left : 14px ;
}
. theme-install-overlay . next-theme : before {
font : normal 20px / 1 dashicons ;
2014-08-19 16:38:16 -04:00
content : "\f345" ;
2014-07-08 14:19:14 -04:00
position : relative ;
top : 6px ;
left : 13px ;
}
. theme-install-overlay . previous-theme . disabled ,
. theme-install-overlay . next-theme . disabled ,
. theme-install-overlay . previous-theme . disabled : hover ,
. theme-install-overlay . previous-theme . disabled : focus ,
. theme-install-overlay . next-theme . disabled : hover ,
. theme-install-overlay . next-theme . disabled : focus {
2015-04-05 17:20:27 -04:00
color : # b4b9be ;
2014-07-08 14:19:14 -04:00
background : # eee ;
cursor : default ;
2014-08-25 17:58:17 -04:00
pointer-events : none ;
2014-07-08 14:19:14 -04:00
}
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
. theme-install-overlay . close-full-overlay ,
. theme-install-overlay . previous-theme ,
. theme-install-overlay . next-theme {
border-left : 0 ;
border-top : 0 ;
border-bottom : 0 ;
}
. theme-install-overlay . close-full-overlay : before ,
. theme-install-overlay . previous-theme : before ,
. theme-install-overlay . next-theme : before {
top : 2px ;
left : 0 ;
}
2014-02-19 16:43:14 -05:00
/* Collapse Button */
2015-07-10 17:22:26 -04:00
. wp-core-ui . wp-full-overlay . collapse-sidebar {
position : fixed ;
2016-05-01 16:29:27 -04:00
bottom : 0 ;
left : 0 ;
padding : 9px 0 9px 10px ;
height : 45px ;
2015-07-10 17:22:26 -04:00
color : # 656a6f ;
outline : 0 ;
line-height : 1 ;
background-color : transparent ! important ;
border : none ! important ;
box-shadow : none ! important ;
border-radius : 0 ! important ;
}
. wp-core-ui . wp-full-overlay . collapse-sidebar : hover ,
. wp-core-ui . wp-full-overlay . collapse-sidebar : focus {
color : # 0073aa ;
}
. wp-full-overlay . collapse-sidebar-arrow ,
. wp-full-overlay . collapse-sidebar-label {
display : inline-block ;
vertical-align : middle ;
2019-04-13 00:32:51 -04:00
line-height : 1 . 6 ;
2015-07-10 17:22:26 -04:00
}
. wp-full-overlay . collapse-sidebar-arrow {
width : 20px ;
height : 20px ;
margin : 0 2px ; /* avoid the focus box-shadow to be cut-off */
2014-02-19 16:43:14 -05:00
border-radius : 50 % ;
2015-07-10 17:22:26 -04:00
overflow : hidden ;
2014-02-19 16:43:14 -05:00
}
2015-07-10 17:22:26 -04:00
. wp-full-overlay . collapse-sidebar : hover . collapse-sidebar-arrow ,
. wp-full-overlay . collapse-sidebar : focus . collapse-sidebar-arrow {
2018-02-03 08:19:32 -05:00
box-shadow :
0 0 0 1px # 5b9dd9 ,
2019-03-04 17:02:52 -05:00
0 0 2px 1px rgba ( 30 , 140 , 190 , 0 . 8 ) ;
2014-02-19 16:43:14 -05:00
}
2015-07-10 17:22:26 -04:00
. wp-full-overlay . collapse-sidebar-label {
margin-left : 3px ;
2014-02-19 16:43:14 -05:00
}
2015-07-10 17:22:26 -04:00
. wp-full-overlay . collapsed . collapse-sidebar-label {
display : none ;
2014-02-19 16:43:14 -05:00
}
. wp-full-overlay . collapse-sidebar-arrow : before {
2015-07-10 17:22:26 -04:00
display : block ;
2014-02-19 16:43:14 -05:00
content : "\f148" ;
background : # eee ;
2015-09-05 15:57:25 -04:00
font : normal 20px / 1 dashicons ;
2014-02-19 16:43:14 -05:00
speak : none ;
padding : 0 ;
-webkit-font-smoothing : antialiased ;
-moz-osx-font-smoothing : grayscale ;
}
2016-05-01 16:29:27 -04:00
. wp-core-ui . wp-full-overlay . collapsed . collapse-sidebar {
padding : 9px 10px ;
}
2015-02-27 08:41:30 -05:00
/* rtl:ignore */
2014-02-19 16:43:14 -05:00
. wp-full-overlay . collapsed . collapse-sidebar-arrow : before ,
. rtl . wp-full-overlay . collapse-sidebar-arrow : before {
2018-02-03 08:19:32 -05:00
transform : rotate ( 180 . 001deg ) ; /* Firefox: promoting to its own layer to trigger anti-aliasing */
2014-02-19 16:43:14 -05:00
}
. rtl . wp-full-overlay . collapsed . collapse-sidebar-arrow : before {
transform : none ;
}
/* Animations */
. wp-full-overlay ,
. wp-full-overlay-sidebar ,
. wp-full-overlay . collapse-sidebar ,
. wp-full-overlay-main {
transition-property : left , right , top , bottom , width , margin ;
transition-duration : 0 . 2s ;
}
2016-03-05 17:07:25 -05:00
/* Device/preview size toggles */
. wp-full-overlay {
background : # 191e23 ;
}
. wp-full-overlay-main {
background-color : # f1f1f1 ;
}
. expanded . wp-full-overlay-footer {
position : fixed ;
bottom : 0 ;
left : 0 ;
2017-04-21 01:25:43 -04:00
min-width : 299px ;
max-width : 599px ;
width : 18 % ;
2017-06-11 20:17:44 -04:00
width : calc ( 18 % - 1px ) ;
2016-03-05 17:07:25 -05:00
height : 45px ;
border-top : 1px solid # ddd ;
2016-05-01 16:29:27 -04:00
background : # eee ;
2016-03-05 17:07:25 -05:00
}
2017-04-21 01:16:45 -04:00
. wp-full-overlay-footer . devices-wrapper {
2016-03-05 17:07:25 -05:00
float : right ;
2017-04-21 01:16:45 -04:00
}
. wp-full-overlay-footer . devices {
position : relative ;
2016-11-13 14:00:35 -05:00
background : # eee ;
box-shadow : -20px 0 10px -5px # eee ;
2016-03-05 17:07:25 -05:00
}
. wp-full-overlay-footer . devices button {
cursor : pointer ;
background : transparent ;
border : none ;
height : 45px ;
padding : 0 3px ;
margin : 0 0 0 -4px ;
box-shadow : none ;
border-top : 1px solid transparent ;
border-bottom : 4px solid transparent ;
2019-01-17 02:41:52 -05:00
transition :
. 15s color ease-in-out ,
. 15s background-color ease-in-out ,
. 15s border-color ease-in-out ;
2016-03-05 17:07:25 -05:00
}
. wp-full-overlay-footer . devices button : focus {
box-shadow : none ;
outline : none ;
}
. wp-full-overlay-footer . devices button : before {
display : inline-block ;
-webkit-font-smoothing : antialiased ;
font : normal 20px / 30px "dashicons" ;
vertical-align : top ;
margin : 3px 0 ;
padding : 4px 8px ;
color : # 656a6f ;
}
. wp-full-overlay-footer . devices button . active {
border-bottom-color : # 191e23 ;
}
. wp-full-overlay-footer . devices button : hover ,
. wp-full-overlay-footer . devices button : focus {
background-color : # fff ;
}
2016-11-15 13:11:31 -05:00
. wp-full-overlay-footer . devices button : focus ,
. wp-full-overlay-footer . devices button . active : hover {
2016-03-05 17:07:25 -05:00
border-bottom-color : # 0073aa ;
}
2016-11-15 13:11:31 -05:00
. wp-full-overlay-footer . devices button . active : before {
color : # 191e23 ;
}
2016-03-05 17:07:25 -05:00
. wp-full-overlay-footer . devices button : hover : before ,
. wp-full-overlay-footer . devices button : focus : before {
2016-11-15 13:11:31 -05:00
color : # 0073aa ;
2016-03-05 17:07:25 -05:00
}
. wp-full-overlay-footer . devices . preview-desktop : before {
content : "\f472" ;
}
. wp-full-overlay-footer . devices . preview-tablet : before {
content : "\f471" ;
}
. wp-full-overlay-footer . devices . preview-mobile : before {
content : "\f470" ;
}
2019-01-17 02:41:52 -05:00
@ media screen and ( max-width : 1024px ) {
2016-03-05 17:07:25 -05:00
. wp-full-overlay-footer . devices {
display : none ;
}
}
. collapsed . wp-full-overlay-footer . devices button : before {
display : none ;
}
. preview-mobile . wp-full-overlay-main {
margin : auto 0 auto -160px ;
width : 320px ;
height : 480px ;
max-height : 100 % ;
max-width : 100 % ;
left : 50 % ;
}
. preview-tablet . wp-full-overlay-main {
2016-04-19 16:50:29 -04:00
margin : auto 0 auto -360px ;
width : 720px ; /* Size is loosely based on a typical "tablet" device size. Intentionally ambiguous - this does not represent any particular device precisely. */
height : 1080px ;
2016-03-05 17:07:25 -05:00
max-height : 100 % ;
max-width : 100 % ;
left : 50 % ;
}
2014-02-19 16:43:14 -05:00
/ * ------------------------------------------------------------------------------
24 . 0 - Customize Loader
------------------------------------------------------------------------------ * /
. no-customize-support . hide-if-no-customize ,
. customize-support . hide-if-customize ,
. no-customize-support . wp-core-ui . hide-if-no-customize ,
. no-customize-support . wp-core-ui . hide-if-no-customize ,
. customize-support . wp-core-ui . hide-if-customize ,
. customize-support . wp-core-ui . hide-if-customize {
display : none ;
}
Customize: Introduce a new experience for discovering, installing, and previewing themes within the customizer.
Unify the theme-browsing and theme-customization experiences by introducing a comprehensive theme browser and installer directly accessible in the customizer. Replaces the customizer theme switcher with a full-screen panel for discovering/browsing and installing themes available on WordPress.org. Themes can now be installed and previewed directly in the customizer without entering the wp-admin context. Also includes an extensible framework for browsing and installing themes from other sources.
Also includes CSS auto-prefixing added via `grunt precommit:css`.
For details, see: https://make.wordpress.org/core/2016/10/03/feature-proposal-a-new-experience-for-discovering-installing-and-previewing-themes-in-the-customizer/
Previously [38813] but reverted in [39140].
Fixes #37661, #34843, #38666.
Props celloexpressions, folletto, westonruter, karmatosed, melchoyce, afercia.
Built from https://develop.svn.wordpress.org/trunk@41648
git-svn-id: http://core.svn.wordpress.org/trunk@41482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-29 16:13:50 -04:00
# customize-container ,
2017-10-01 23:37:46 -04:00
# customize-controls . notice . notification-overlay {
Customize: Introduce a new experience for discovering, installing, and previewing themes within the customizer.
Unify the theme-browsing and theme-customization experiences by introducing a comprehensive theme browser and installer directly accessible in the customizer. Replaces the customizer theme switcher with a full-screen panel for discovering/browsing and installing themes available on WordPress.org. Themes can now be installed and previewed directly in the customizer without entering the wp-admin context. Also includes an extensible framework for browsing and installing themes from other sources.
Also includes CSS auto-prefixing added via `grunt precommit:css`.
For details, see: https://make.wordpress.org/core/2016/10/03/feature-proposal-a-new-experience-for-discovering-installing-and-previewing-themes-in-the-customizer/
Previously [38813] but reverted in [39140].
Fixes #37661, #34843, #38666.
Props celloexpressions, folletto, westonruter, karmatosed, melchoyce, afercia.
Built from https://develop.svn.wordpress.org/trunk@41648
git-svn-id: http://core.svn.wordpress.org/trunk@41482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-29 16:13:50 -04:00
background : # eee ;
2014-02-19 16:43:14 -05:00
z-index : 500000 ;
position : fixed ;
overflow : visible ;
top : 0 ;
bottom : 0 ;
left : 0 ;
right : 0 ;
height : 100 % ;
}
2017-10-01 23:37:46 -04:00
# customize-container {
display : none ;
}
2014-02-19 16:43:14 -05:00
2016-09-04 17:51:31 -04:00
/* Make the Customizer and Theme installer overlays the only available content. */
# customize-container ,
. theme-install-overlay {
visibility : visible ;
2014-02-19 16:43:14 -05:00
}
. customize-loading # customize-container iframe {
opacity : 0 ;
}
# customize-container iframe ,
2014-04-07 23:57:15 -04:00
. theme-install-overlay iframe {
2014-02-19 16:43:14 -05:00
height : 100 % ;
width : 100 % ;
z-index : 20 ;
transition : opacity 0 . 3s ;
}
# customize-controls {
margin-top : 0 ;
}
2014-04-07 23:57:15 -04:00
. theme-install-overlay {
2014-02-19 16:43:14 -05:00
display : none ;
}
2014-04-07 23:57:15 -04:00
. theme-install-overlay . single-theme {
2014-02-19 16:43:14 -05:00
display : block ;
}
. install-theme-info {
display : none ;
2014-04-03 19:53:15 -04:00
padding : 10px 20px 60px ;
2014-02-19 16:43:14 -05:00
}
. single-theme . install-theme-info {
padding-top : 15px ;
}
2014-04-07 23:57:15 -04:00
. theme-install-overlay . install-theme-info {
2014-02-19 16:43:14 -05:00
display : block ;
}
. install-theme-info . theme-install {
float : right ;
margin-top : 18px ;
}
. install-theme-info . theme-name {
font-size : 16px ;
2019-04-13 00:32:51 -04:00
line-height : 1 . 5 ;
2014-02-19 16:43:14 -05:00
margin-bottom : 0 ;
margin-top : 0 ;
}
. install-theme-info . theme-screenshot {
2015-10-10 02:51:24 -04:00
margin : 15px 0 ;
2014-02-19 16:43:14 -05:00
width : 258px ;
border : 1px solid # ccc ;
}
. install-theme-info . theme-details {
overflow : hidden ;
}
. theme-details . theme-version {
margin : 15px 0 ;
}
. theme-details . theme-description {
float : left ;
2016-01-25 19:04:26 -05:00
color : # 72777c ;
2019-04-13 00:32:51 -04:00
line-height : 1 . 6 ;
2014-04-01 18:20:14 -04:00
max-width : 100 % ;
2014-02-19 16:43:14 -05:00
}
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
. theme-install-overlay . wp-full-overlay-header . button {
2014-02-19 16:43:14 -05:00
float : right ;
2014-07-08 14:19:14 -04:00
margin : 8px 10px 0 0 ;
2014-02-19 16:43:14 -05:00
/* For when .theme-install is a span rather than a.button-primary (already installed theme) */
2019-04-13 00:32:51 -04:00
line-height : 2 ;
2014-02-19 16:43:14 -05:00
}
2014-04-07 23:57:15 -04:00
. theme-install-overlay . wp-full-overlay-sidebar {
2014-07-08 14:19:14 -04:00
background : # eee ;
border-right : 1px solid # ddd ;
}
. theme-install-overlay . wp-full-overlay-sidebar-content {
background : # fff ;
border-top : 1px solid # ddd ;
border-bottom : 1px solid # ddd ;
2014-02-19 16:43:14 -05:00
}
2014-04-07 23:57:15 -04:00
. theme-install-overlay . wp-full-overlay-main {
2016-03-05 17:07:25 -05:00
position : absolute ;
2015-10-20 01:36:25 -04:00
z-index : 0 ;
2016-02-12 13:35:25 -05:00
background-color : # f1f1f1 ;
2015-10-20 01:36:25 -04:00
}
2016-02-12 13:35:25 -05:00
. customize-loading # customize-container {
background-color : # f1f1f1 ;
}
# customize-preview . wp-full-overlay-main : before ,
. customize-loading # customize-container : before ,
2017-10-01 23:37:46 -04:00
# customize-controls . notice . notification-overlay . notification-loading : before ,
2015-10-20 01:36:25 -04:00
. theme-install-overlay . wp-full-overlay-main : before {
2016-02-12 13:35:25 -05:00
content : "" ;
2015-10-20 01:36:25 -04:00
display : block ;
width : 20px ;
height : 20px ;
position : absolute ;
left : 50 % ;
top : 50 % ;
z-index : -1 ;
margin : -10px 0 0 -10px ;
transform : translateZ ( 0 ) ;
2016-02-12 13:35:25 -05:00
background : transparent url ( . . / images / spinner . gif ) no-repeat center center ;
2014-02-19 16:43:14 -05:00
background-size : 20px 20px ;
}
2016-02-12 13:35:25 -05:00
# customize-preview . wp-full-overlay-main . iframe-ready : before ,
2015-10-20 01:36:25 -04:00
. theme-install-overlay . iframe-ready . wp-full-overlay-main : before {
background-image : none ;
}
2014-02-19 16:43:14 -05:00
/ * = Media Queries
-------------------------------------------------------------- * /
/ * *
* HiDPI Displays
* /
@ media print ,
( -webkit-min-device-pixel-ratio : 1 . 25 ) ,
( min-resolution : 120dpi ) {
. wp-full-overlay . collapse-sidebar-arrow {
2014-02-26 12:23:13 -05:00
background-image : url ( . . / images / arrows-2x . png ) ;
2014-02-19 16:43:14 -05:00
background-size : 15px 123px ;
}
2016-02-12 13:35:25 -05:00
# customize-preview . wp-full-overlay-main : before ,
. customize-loading # customize-container : before ,
2017-10-01 23:37:46 -04:00
# customize-controls . notice . notification-overlay . notification-loading : before ,
2015-10-20 01:36:25 -04:00
. theme-install-overlay . wp-full-overlay-main : before {
2014-02-26 12:23:13 -05:00
background-image : url ( . . / images / spinner-2x . gif ) ;
2014-02-19 16:43:14 -05:00
}
}
2019-01-17 02:41:52 -05:00
@ media screen and ( max-width : 782px ) {
2014-02-19 16:43:14 -05:00
. available-theme . action-links . delete-theme {
float : none ;
margin : 0 ;
padding : 0 ;
clear : both ;
}
. available-theme . action-links . delete-theme a {
padding : 0 ;
}
2014-10-16 15:46:18 -04:00
. broken-themes table {
width : 100 % ;
}
2014-10-18 15:43:18 -04:00
. theme-install-overlay . wp-full-overlay-header . theme-install {
margin-top : 6px ;
line-height : normal ;
}
2017-10-19 14:10:47 -04:00
. theme-browser . theme . theme-actions . button {
margin-bottom : 0 ;
}
. theme-browser . theme . active . theme-actions ,
. theme-browser . theme . theme-actions {
padding-top : 8px ;
padding-bottom : 8px ;
}
2014-02-19 16:43:14 -05:00
}
Update/Install: Shiny Updates v2.
Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.
Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.
Built from https://develop.svn.wordpress.org/trunk@37714
git-svn-id: http://core.svn.wordpress.org/trunk@37680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-15 12:37:29 -04:00
@ media aural {
. theme . notice : before ,
. theme-info . updating-message : before ,
. theme-info . updated-message : before ,
. theme-install . updating-message : before {
speak : none ;
}
}