Themes: Prepare theme.css for a merge with wp-admin.css.
* Let the code breathe. * Add necessary vendor prefixes. * Remove .current-label:before since it was hidden. see #25966. Built from https://develop.svn.wordpress.org/trunk@26482 git-svn-id: http://core.svn.wordpress.org/trunk@26379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4d3fd06160
commit
9c46da21fc
|
@ -2,13 +2,16 @@
|
||||||
clear: both;
|
clear: both;
|
||||||
padding: 0 0 100px;
|
padding: 0 0 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.themes-php .wrap h2 {
|
.themes-php .wrap h2 {
|
||||||
float: right;
|
float: right;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.themes-php .wrap h2 .button {
|
.themes-php .wrap h2 .button {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.themes-php .theme-count {
|
.themes-php .theme-count {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
|
@ -21,11 +24,13 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -3px;
|
top: -3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Position admin messages */
|
/* Position admin messages */
|
||||||
.themes-php div.updated {
|
.themes-php div.updated {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.themes-php div.updated a {
|
.themes-php div.updated a {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
@ -40,13 +45,14 @@
|
||||||
margin: 0 0 96% 5%;
|
margin: 0 0 96% 5%;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
|
|
||||||
border: 1px solid #dedede;
|
border: 1px solid #dedede;
|
||||||
-webkit-box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
|
-webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
|
||||||
box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
|
box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(3n) {
|
.theme:nth-child(3n) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
@ -61,41 +67,46 @@
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
-webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
||||||
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-name {
|
.theme-name {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
background: rgba(255,255,255,0.65);
|
background: rgba(255,255,255,0.65);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Activate and Customize buttons, shown on hover */
|
/* Activate and Customize buttons, shown on hover */
|
||||||
.theme .theme-actions {
|
.theme .theme-actions {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
-webkit-transition: opacity 0.1s ease-in-out;
|
||||||
transition: opacity 0.1s ease-in-out;
|
transition: opacity 0.1s ease-in-out;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0px;
|
bottom: 0;
|
||||||
left: 0px;
|
left: 0;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
padding: 9px 10px 0 10px;
|
padding: 9px 10px 0 10px;
|
||||||
background: rgba(244, 244, 244, 0.7);
|
background: rgba(244, 244, 244, 0.7);
|
||||||
border-right: 1px solid rgba(0,0,0,0.05);
|
border-right: 1px solid rgba(0,0,0,0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-actions {
|
.theme:hover .theme-actions {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-actions .button-primary {
|
.theme .theme-actions .button-primary {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-actions .button-secondary {
|
.theme .theme-actions .button-secondary {
|
||||||
float: none;
|
float: none;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Theme Screenshot
|
* Theme Screenshot
|
||||||
*
|
*
|
||||||
* Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size
|
* Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size
|
||||||
|
@ -105,13 +116,16 @@
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-screenshot:after {
|
.theme .theme-screenshot:after {
|
||||||
content: '';
|
content: '';
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 66%; /* using a 3/2 aspect ratio */
|
padding-top: 66%; /* using a 3/2 aspect ratio */
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-screenshot img {
|
.theme .theme-screenshot img {
|
||||||
height: auto;
|
height: auto;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -119,6 +133,7 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
-webkit-transform: translateZ( 0 ); /* Prevents rendering bugs in Chrome */
|
-webkit-transform: translateZ( 0 ); /* Prevents rendering bugs in Chrome */
|
||||||
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,8 +152,10 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
padding-top: 24%;
|
padding-top: 24%;
|
||||||
text-shadow: 0 1px 20px rgba(255,255,255,0.9);
|
text-shadow: 0 1px 20px rgba(255,255,255,0.9);
|
||||||
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover:after {
|
.theme:hover:after {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
@ -146,12 +163,14 @@
|
||||||
.theme:hover .theme-screenshot {
|
.theme:hover .theme-screenshot {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-screenshot img {
|
.theme:hover .theme-screenshot img {
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
|
/**
|
||||||
* Displays a theme update notice
|
* Displays a theme update notice
|
||||||
* when an update is available
|
* when an update is available.
|
||||||
*/
|
*/
|
||||||
.theme .theme-update {
|
.theme .theme-update {
|
||||||
background: #d54e21;
|
background: #d54e21;
|
||||||
|
@ -170,6 +189,7 @@
|
||||||
border-bottom: 1px solid rgba(0,0,0,0.25);
|
border-bottom: 1px solid rgba(0,0,0,0.25);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-update:before {
|
.theme .theme-update:before {
|
||||||
content: '\f113';
|
content: '\f113';
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -183,20 +203,22 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* The currently active theme
|
* The currently active theme
|
||||||
* is highlighted using the WP blue.
|
|
||||||
* @todo use MP6 highlight color
|
|
||||||
*/
|
*/
|
||||||
.theme.active {
|
.theme.active {
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-screenshot {
|
.theme.active .theme-screenshot {
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-name {
|
.theme.active .theme-name {
|
||||||
background: #0074a2;
|
background: #0074a2;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
|
||||||
box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
|
box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-actions {
|
.theme.active .theme-actions {
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -207,28 +229,19 @@
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-actions .button {
|
.theme.active .theme-actions .button {
|
||||||
float: left;
|
float: left;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .current-label {
|
.theme.active .current-label {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
.theme.active .current-label:before {
|
|
||||||
color: #7ad03a;
|
|
||||||
content: '\f147';
|
|
||||||
display: inline-block;
|
|
||||||
display: none;
|
|
||||||
font: normal 24px/1 'dashicons';
|
|
||||||
margin: 0 0 0 4px;
|
|
||||||
position: relative;
|
|
||||||
top: 6px;
|
|
||||||
speak: none;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
}
|
|
||||||
.theme.active .theme-update {
|
.theme.active .theme-update {
|
||||||
top: 48px;
|
top: 48px;
|
||||||
}
|
}
|
||||||
|
@ -243,29 +256,24 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 56px;
|
bottom: 56px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.display-author .theme-author {
|
.theme.display-author .theme-author {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.display-author .theme-author a {
|
.theme.display-author .theme-author a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Experiment: allows to scroll through the whole theme
|
|
||||||
* If a theme includes the whole page, it could be a neat detail.
|
|
||||||
*/
|
|
||||||
.theme.active .theme-screenshot {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Add new theme
|
* Add new theme
|
||||||
*/
|
*/
|
||||||
.theme-browser .add-new-theme {
|
.theme-browser .add-new-theme {
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme a {
|
.theme-browser .add-new-theme a {
|
||||||
color: #999;
|
color: #999;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -273,6 +281,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:after {
|
.theme-browser .add-new-theme:after {
|
||||||
display: block;
|
display: block;
|
||||||
content: '';
|
content: '';
|
||||||
|
@ -285,10 +294,14 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
padding: 90% 0 0 0;
|
padding: 90% 0 0 0;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
transition: opacity 0.2s ease-in-out;
|
|
||||||
border: 5px dashed rgba(0, 0, 0, 0.1);
|
border: 5px dashed rgba(0, 0, 0, 0.1);
|
||||||
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
|
transition: opacity 0.2s ease-in-out;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme span:after {
|
.theme-browser .add-new-theme span:after {
|
||||||
background: rgba(153, 153, 153, 0.1);
|
background: rgba(153, 153, 153, 0.1);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
@ -310,9 +323,11 @@
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
z-index:4;
|
z-index:4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover .theme-screenshot {
|
.theme-browser .add-new-theme:hover .theme-screenshot {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover span:after {
|
.theme-browser .add-new-theme:hover span:after {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: #0074a2;
|
color: #0074a2;
|
||||||
|
@ -332,6 +347,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -50px;
|
top: -50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover .theme-name {
|
.theme-browser .add-new-theme:hover .theme-name {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
@ -349,7 +365,7 @@
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Theme Overlay
|
* Theme Overlay
|
||||||
* Shown when clicking a theme
|
* Shown when clicking a theme
|
||||||
*/
|
*/
|
||||||
|
@ -360,9 +376,9 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background: rgba( 238, 238, 238, 0.9 );
|
background: rgba( 238, 238, 238, 0.9 );
|
||||||
/* background: rgba(0,0,0,0.7); */
|
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.theme-overlay-open {
|
body.theme-overlay-open {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
@ -374,6 +390,7 @@ body.theme-overlay-open {
|
||||||
left: 0;
|
left: 0;
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .back {
|
.theme-overlay .back {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
|
@ -382,12 +399,15 @@ body.theme-overlay-open {
|
||||||
float: left;
|
float: left;
|
||||||
border-right: 1px solid #eee;
|
border-right: 1px solid #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .back:hover {
|
.theme-overlay .back:hover {
|
||||||
background: #333;
|
background: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .back:hover:before {
|
.theme-overlay .back:hover:before {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .back:before {
|
.theme-overlay .back:before {
|
||||||
font: normal 30px/48px 'dashicons' !important;
|
font: normal 30px/48px 'dashicons' !important;
|
||||||
color: #bbb;
|
color: #bbb;
|
||||||
|
@ -395,41 +415,46 @@ body.theme-overlay-open {
|
||||||
content: '\f335';
|
content: '\f335';
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Left and right navigation */
|
/* Left and right navigation */
|
||||||
.theme-overlay .right,
|
.theme-overlay .right,
|
||||||
.theme-overlay .left {
|
.theme-overlay .left {
|
||||||
cursor: pointer;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
width: 54px;
|
width: 54px;
|
||||||
float: right;
|
float: right;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-left: 1px solid #eee;
|
border-left: 1px solid #eee;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .right:hover,
|
.theme-overlay .right:hover,
|
||||||
.theme-overlay .left:hover {
|
.theme-overlay .left:hover {
|
||||||
background: #333;
|
background: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .right:hover:before,
|
.theme-overlay .right:hover:before,
|
||||||
.theme-overlay .left:hover:before {
|
.theme-overlay .left:hover:before {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .left:before {
|
.theme-overlay .left:before {
|
||||||
content: '\f341';
|
content: '\f341';
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .right:before {
|
.theme-overlay .right:before {
|
||||||
content: '\f345';
|
content: '\f345';
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .right:before,
|
.theme-overlay .right:before,
|
||||||
.theme-overlay .left:before {
|
.theme-overlay .left:before {
|
||||||
font: normal 16px/54px 'dashicons' !important;
|
font: normal 16px/54px 'dashicons' !important;
|
||||||
display: inline;
|
display: inline;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
.theme-overlay .left:before {}
|
|
||||||
|
|
||||||
.theme-overlay .theme-wrap {
|
.theme-overlay .theme-wrap {
|
||||||
clear: both;
|
clear: both;
|
||||||
|
@ -441,9 +466,11 @@ body.theme-overlay-open {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 88px 40px 110px 40px;
|
padding: 88px 40px 110px 40px;
|
||||||
|
-webkit-box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.1);
|
||||||
box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.1);
|
box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.1);
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-wrap:after {
|
.theme-overlay .theme-wrap:after {
|
||||||
content: ".";
|
content: ".";
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -463,9 +490,10 @@ body.theme-overlay-open {
|
||||||
border-top: 1px solid rgba(0,0,0,0.1);
|
border-top: 1px solid rgba(0,0,0,0.1);
|
||||||
z-index: 30;
|
z-index: 30;
|
||||||
}
|
}
|
||||||
.theme-overlay.active .theme-actions {
|
|
||||||
|
|
||||||
|
.theme-overlay.active .theme-actions {
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions a {
|
.theme-overlay .theme-actions a {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
@ -474,6 +502,7 @@ body.theme-overlay-open {
|
||||||
height: 37px;
|
height: 37px;
|
||||||
padding: 0 20px 1px 20px;
|
padding: 0 20px 1px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions .delete-theme {
|
.theme-overlay .theme-actions .delete-theme {
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: #a00;
|
color: #a00;
|
||||||
|
@ -484,6 +513,7 @@ body.theme-overlay-open {
|
||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions .delete-theme:hover {
|
.theme-overlay .theme-actions .delete-theme:hover {
|
||||||
background: #d54e21;
|
background: #d54e21;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -493,11 +523,13 @@ body.theme-overlay-open {
|
||||||
.theme-overlay.active .theme-actions .inactive-theme {
|
.theme-overlay.active .theme-actions .inactive-theme {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions .inactive-theme,
|
.theme-overlay .theme-actions .inactive-theme,
|
||||||
.theme-overlay.active .theme-actions .active-theme {
|
.theme-overlay.active .theme-actions .active-theme {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
|
/**
|
||||||
* Theme Screenshots gallery
|
* Theme Screenshots gallery
|
||||||
*/
|
*/
|
||||||
.theme-overlay .theme-screenshots {
|
.theme-overlay .theme-screenshots {
|
||||||
|
@ -506,21 +538,25 @@ body.theme-overlay-open {
|
||||||
width: 55%;
|
width: 55%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* First screenshot, shown big */
|
/* First screenshot, shown big */
|
||||||
.theme-overlay .screenshot {
|
.theme-overlay .screenshot {
|
||||||
border: 1px solid #fff;
|
border: 1px solid #fff;
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
||||||
box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot:after {
|
.theme-overlay .screenshot:after {
|
||||||
content: '';
|
content: '';
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 66.66666%; /* using a 3/2 aspect ratio */
|
padding-top: 66.66666%; /* using a 3/2 aspect ratio */
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot img {
|
.theme-overlay .screenshot img {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
@ -529,6 +565,7 @@ body.theme-overlay-open {
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Other screenshots, shown small and square */
|
/* Other screenshots, shown small and square */
|
||||||
.theme-overlay .screenshot.thumb {
|
.theme-overlay .screenshot.thumb {
|
||||||
background: #ccc;
|
background: #ccc;
|
||||||
|
@ -539,11 +576,13 @@ body.theme-overlay-open {
|
||||||
width: 140px;
|
width: 140px;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot.thumb:after {
|
.theme-overlay .screenshot.thumb:after {
|
||||||
content: '';
|
content: '';
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 100%; /* using a 1/1 aspect ratio */
|
padding-top: 100%; /* using a 1/1 aspect ratio */
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot.thumb img {
|
.theme-overlay .screenshot.thumb img {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
@ -553,10 +592,12 @@ body.theme-overlay-open {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot.selected {
|
.theme-overlay .screenshot.selected {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 2px solid #2ea2cc;
|
border: 2px solid #2ea2cc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot.selected img {
|
.theme-overlay .screenshot.selected img {
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
@ -567,13 +608,14 @@ body.theme-overlay-open {
|
||||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Theme heading information
|
* Theme heading information
|
||||||
*/
|
*/
|
||||||
.theme-overlay .theme-info {
|
.theme-overlay .theme-info {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .current-label {
|
.theme-overlay .current-label {
|
||||||
background: #333;
|
background: #333;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -583,8 +625,11 @@ body.theme-overlay-open {
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
margin: 0 0 -10px;
|
margin: 0 0 -10px;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-name {
|
.theme-overlay .theme-name {
|
||||||
color: #222;
|
color: #222;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
|
@ -592,6 +637,7 @@ body.theme-overlay-open {
|
||||||
margin: 10px 0 0;
|
margin: 10px 0 0;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-version {
|
.theme-overlay .theme-version {
|
||||||
color: #999;
|
color: #999;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -600,18 +646,23 @@ body.theme-overlay-open {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-author {
|
.theme-overlay .theme-author {
|
||||||
color: #686868;
|
color: #686868;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
margin: 15px 0 25px;
|
margin: 15px 0 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-author a {
|
.theme-overlay .theme-author a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-description {
|
.theme-overlay .theme-description {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
@ -619,6 +670,7 @@ body.theme-overlay-open {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin: 30px 0 0 0;
|
margin: 30px 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-tags {
|
.theme-overlay .theme-tags {
|
||||||
border-top: 3px solid #eee;
|
border-top: 3px solid #eee;
|
||||||
color: #888;
|
color: #888;
|
||||||
|
@ -628,13 +680,16 @@ body.theme-overlay-open {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-tags span {
|
.theme-overlay .theme-tags span {
|
||||||
color: #444;
|
color: #444;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions {
|
.theme-overlay .theme-actions {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Theme Updates info */
|
/* Theme Updates info */
|
||||||
.theme-overlay .theme-update-message {
|
.theme-overlay .theme-update-message {
|
||||||
background: #fefaf7;
|
background: #fefaf7;
|
||||||
|
@ -643,6 +698,7 @@ body.theme-overlay-open {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
padding: 5px 20px 10px;
|
padding: 5px 20px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-update {
|
.theme-overlay .theme-update {
|
||||||
color: #222;
|
color: #222;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
@ -650,6 +706,7 @@ body.theme-overlay-open {
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .parent-theme {
|
.theme-overlay .parent-theme {
|
||||||
background: #f7fcfe;
|
background: #f7fcfe;
|
||||||
border: 1px solid #eee;
|
border: 1px solid #eee;
|
||||||
|
@ -659,6 +716,7 @@ body.theme-overlay-open {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
padding: 10px 20px 10px 10px;
|
padding: 10px 20px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .parent-theme strong {
|
.theme-overlay .parent-theme strong {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
@ -669,120 +727,143 @@ body.theme-overlay-open {
|
||||||
* Shuffles theme columns around based on screen width
|
* Shuffles theme columns around based on screen width
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@media ( min-width: 1700px ) {
|
@media only screen and (min-width: 1700px) {
|
||||||
.theme {
|
.theme {
|
||||||
width: 22.7%;
|
width: 22.7%;
|
||||||
margin: 0 0 3% 3%;
|
margin: 0 0 3% 3%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(3n) {
|
.theme:nth-child(3n) {
|
||||||
margin-left: 3%;
|
margin-left: 3%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(4n) {
|
.theme:nth-child(4n) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-wrap,
|
.theme-overlay .theme-wrap,
|
||||||
.theme-overlay .theme-actions {
|
.theme-overlay .theme-actions {
|
||||||
left: 15%;
|
left: 15%;
|
||||||
right: 22%;
|
right: 22%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media ( max-width: 1200px ) {
|
|
||||||
|
@media only screen and (max-width: 1200px) {
|
||||||
.theme {
|
.theme {
|
||||||
width: 47.5%;
|
width: 47.5%;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(even) {
|
.theme:nth-child(even) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(odd) {
|
.theme:nth-child(odd) {
|
||||||
margin-left: 5%;
|
margin-left: 5%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Mini-sidebar in MP6 */
|
|
||||||
@media ( max-width: 900px ) {
|
/* Admin menu is folded */
|
||||||
|
@media only screen and (max-width: 900px) {
|
||||||
.theme-overlay .theme-wrap,
|
.theme-overlay .theme-wrap,
|
||||||
.theme-overlay .theme-actions {
|
.theme-overlay .theme-actions {
|
||||||
right: 76px;
|
right: 76px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media ( max-width: 780px ) {
|
|
||||||
|
@media only screen and (max-width: 780px) {
|
||||||
.theme.active .theme-actions .button {
|
.theme.active .theme-actions .button {
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
margin-left: -3px
|
margin-left: -3px
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-wrap {
|
.theme-overlay .theme-wrap {
|
||||||
top: 45px;
|
top: 45px;
|
||||||
left: 0px;
|
left: 0;
|
||||||
bottom: 0px;
|
bottom: 0;
|
||||||
right: 0px;
|
right: 0;
|
||||||
padding: 70px 20px 100px;
|
padding: 70px 20px 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions {
|
.theme-overlay .theme-actions {
|
||||||
left: 0px;
|
left: 0;
|
||||||
bottom: 0px;
|
bottom: 0;
|
||||||
right: 0px;
|
right: 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-screenshots {
|
.theme-overlay .theme-screenshots {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-info {
|
.theme-overlay .theme-info {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions .delete-theme {
|
.theme-overlay .theme-actions .delete-theme {
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media ( max-width: 650px ) {
|
|
||||||
|
@media only screen and (max-width: 650px) {
|
||||||
.theme {
|
.theme {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-actions {
|
.theme:hover .theme-actions {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(2n),
|
.theme:nth-child(2n),
|
||||||
.theme:nth-child(3n) {
|
.theme:nth-child(3n) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-update,
|
.theme-overlay .theme-update,
|
||||||
.theme-overlay .theme-description {
|
.theme-overlay .theme-description {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay.active .theme-actions .active-theme .button:nth-child(3n) {
|
.theme-overlay.active .theme-actions .active-theme .button:nth-child(3n) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-actions .button {
|
.theme.active .theme-actions .button {
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-screenshots {
|
.theme-overlay .theme-screenshots {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-info {
|
.theme-overlay .theme-info {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-author {
|
.theme-overlay .theme-author {
|
||||||
margin: 5px 0 15px 0;
|
margin: 5px 0 15px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-version {
|
.theme-overlay .theme-version {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 18px;
|
top: 18px;
|
||||||
right: 130px;
|
right: 130px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .current-label {
|
.theme-overlay .current-label {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
* Search form
|
|
||||||
*/
|
|
||||||
.themes-php .wrap h2 {
|
.themes-php .wrap h2 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.themes-php .theme-search {
|
.themes-php .theme-search {
|
||||||
float: none;
|
float: none;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2,13 +2,16 @@
|
||||||
clear: both;
|
clear: both;
|
||||||
padding: 0 0 100px;
|
padding: 0 0 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.themes-php .wrap h2 {
|
.themes-php .wrap h2 {
|
||||||
float: left;
|
float: left;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.themes-php .wrap h2 .button {
|
.themes-php .wrap h2 .button {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.themes-php .theme-count {
|
.themes-php .theme-count {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: 30px;
|
border-radius: 30px;
|
||||||
|
@ -21,11 +24,13 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -3px;
|
top: -3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Position admin messages */
|
/* Position admin messages */
|
||||||
.themes-php div.updated {
|
.themes-php div.updated {
|
||||||
margin: 0 0 20px 0;
|
margin: 0 0 20px 0;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.themes-php div.updated a {
|
.themes-php div.updated a {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
@ -40,13 +45,14 @@
|
||||||
margin: 0 5% 4% 0;
|
margin: 0 5% 4% 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
|
|
||||||
border: 1px solid #dedede;
|
border: 1px solid #dedede;
|
||||||
-webkit-box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
|
-webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
|
||||||
box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
|
box-shadow: 0 1px 1px -1px rgba(0,0,0,0.1);
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(3n) {
|
.theme:nth-child(3n) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
@ -61,41 +67,46 @@
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
-webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
||||||
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-name {
|
.theme-name {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
background: rgba(255,255,255,0.65);
|
background: rgba(255,255,255,0.65);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Activate and Customize buttons, shown on hover */
|
/* Activate and Customize buttons, shown on hover */
|
||||||
.theme .theme-actions {
|
.theme .theme-actions {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
-webkit-transition: opacity 0.1s ease-in-out;
|
||||||
transition: opacity 0.1s ease-in-out;
|
transition: opacity 0.1s ease-in-out;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0px;
|
bottom: 0;
|
||||||
right: 0px;
|
right: 0;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
padding: 9px 10px 0 10px;
|
padding: 9px 10px 0 10px;
|
||||||
background: rgba(244, 244, 244, 0.7);
|
background: rgba(244, 244, 244, 0.7);
|
||||||
border-left: 1px solid rgba(0,0,0,0.05);
|
border-left: 1px solid rgba(0,0,0,0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-actions {
|
.theme:hover .theme-actions {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-actions .button-primary {
|
.theme .theme-actions .button-primary {
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-actions .button-secondary {
|
.theme .theme-actions .button-secondary {
|
||||||
float: none;
|
float: none;
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Theme Screenshot
|
* Theme Screenshot
|
||||||
*
|
*
|
||||||
* Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size
|
* Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size
|
||||||
|
@ -105,13 +116,16 @@
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-screenshot:after {
|
.theme .theme-screenshot:after {
|
||||||
content: '';
|
content: '';
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 66%; /* using a 3/2 aspect ratio */
|
padding-top: 66%; /* using a 3/2 aspect ratio */
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-screenshot img {
|
.theme .theme-screenshot img {
|
||||||
height: auto;
|
height: auto;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -119,6 +133,7 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
-webkit-transform: translateZ( 0 ); /* Prevents rendering bugs in Chrome */
|
-webkit-transform: translateZ( 0 ); /* Prevents rendering bugs in Chrome */
|
||||||
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -137,8 +152,10 @@
|
||||||
right: 0;
|
right: 0;
|
||||||
padding-top: 24%;
|
padding-top: 24%;
|
||||||
text-shadow: 0 1px 20px rgba(255,255,255,0.9);
|
text-shadow: 0 1px 20px rgba(255,255,255,0.9);
|
||||||
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover:after {
|
.theme:hover:after {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
@ -146,12 +163,14 @@
|
||||||
.theme:hover .theme-screenshot {
|
.theme:hover .theme-screenshot {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-screenshot img {
|
.theme:hover .theme-screenshot img {
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
|
/**
|
||||||
* Displays a theme update notice
|
* Displays a theme update notice
|
||||||
* when an update is available
|
* when an update is available.
|
||||||
*/
|
*/
|
||||||
.theme .theme-update {
|
.theme .theme-update {
|
||||||
background: #d54e21;
|
background: #d54e21;
|
||||||
|
@ -170,6 +189,7 @@
|
||||||
border-bottom: 1px solid rgba(0,0,0,0.25);
|
border-bottom: 1px solid rgba(0,0,0,0.25);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-update:before {
|
.theme .theme-update:before {
|
||||||
content: '\f113';
|
content: '\f113';
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -183,20 +203,22 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* The currently active theme
|
* The currently active theme
|
||||||
* is highlighted using the WP blue.
|
|
||||||
* @todo use MP6 highlight color
|
|
||||||
*/
|
*/
|
||||||
.theme.active {
|
.theme.active {
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-screenshot {
|
.theme.active .theme-screenshot {
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-name {
|
.theme.active .theme-name {
|
||||||
background: #0074a2;
|
background: #0074a2;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
|
||||||
box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
|
box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-actions {
|
.theme.active .theme-actions {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -207,28 +229,19 @@
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-actions .button {
|
.theme.active .theme-actions .button {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .current-label {
|
.theme.active .current-label {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
.theme.active .current-label:before {
|
|
||||||
color: #7ad03a;
|
|
||||||
content: '\f147';
|
|
||||||
display: inline-block;
|
|
||||||
display: none;
|
|
||||||
font: normal 24px/1 'dashicons';
|
|
||||||
margin: 0 4px 0 0;
|
|
||||||
position: relative;
|
|
||||||
top: 6px;
|
|
||||||
speak: none;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
}
|
|
||||||
.theme.active .theme-update {
|
.theme.active .theme-update {
|
||||||
top: 48px;
|
top: 48px;
|
||||||
}
|
}
|
||||||
|
@ -243,29 +256,24 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 56px;
|
bottom: 56px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.display-author .theme-author {
|
.theme.display-author .theme-author {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.display-author .theme-author a {
|
.theme.display-author .theme-author a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Experiment: allows to scroll through the whole theme
|
|
||||||
* If a theme includes the whole page, it could be a neat detail.
|
|
||||||
*/
|
|
||||||
.theme.active .theme-screenshot {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Add new theme
|
* Add new theme
|
||||||
*/
|
*/
|
||||||
.theme-browser .add-new-theme {
|
.theme-browser .add-new-theme {
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme a {
|
.theme-browser .add-new-theme a {
|
||||||
color: #999;
|
color: #999;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -273,6 +281,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:after {
|
.theme-browser .add-new-theme:after {
|
||||||
display: block;
|
display: block;
|
||||||
content: '';
|
content: '';
|
||||||
|
@ -285,10 +294,14 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
padding: 10% 0 0 0;
|
padding: 10% 0 0 0;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
transition: opacity 0.2s ease-in-out;
|
|
||||||
border: 5px dashed rgba(0, 0, 0, 0.1);
|
border: 5px dashed rgba(0, 0, 0, 0.1);
|
||||||
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
|
transition: opacity 0.2s ease-in-out;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme span:after {
|
.theme-browser .add-new-theme span:after {
|
||||||
background: rgba(153, 153, 153, 0.1);
|
background: rgba(153, 153, 153, 0.1);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
@ -310,9 +323,11 @@
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
z-index:4;
|
z-index:4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover .theme-screenshot {
|
.theme-browser .add-new-theme:hover .theme-screenshot {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover span:after {
|
.theme-browser .add-new-theme:hover span:after {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: #0074a2;
|
color: #0074a2;
|
||||||
|
@ -332,6 +347,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -50px;
|
top: -50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover .theme-name {
|
.theme-browser .add-new-theme:hover .theme-name {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
@ -349,7 +365,7 @@
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Theme Overlay
|
* Theme Overlay
|
||||||
* Shown when clicking a theme
|
* Shown when clicking a theme
|
||||||
*/
|
*/
|
||||||
|
@ -360,9 +376,9 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background: rgba( 238, 238, 238, 0.9 );
|
background: rgba( 238, 238, 238, 0.9 );
|
||||||
/* background: rgba(0,0,0,0.7); */
|
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.theme-overlay-open {
|
body.theme-overlay-open {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
@ -374,6 +390,7 @@ body.theme-overlay-open {
|
||||||
right: 0;
|
right: 0;
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .back {
|
.theme-overlay .back {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
|
@ -382,12 +399,15 @@ body.theme-overlay-open {
|
||||||
float: right;
|
float: right;
|
||||||
border-left: 1px solid #eee;
|
border-left: 1px solid #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .back:hover {
|
.theme-overlay .back:hover {
|
||||||
background: #333;
|
background: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .back:hover:before {
|
.theme-overlay .back:hover:before {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .back:before {
|
.theme-overlay .back:before {
|
||||||
font: normal 30px/48px 'dashicons' !important;
|
font: normal 30px/48px 'dashicons' !important;
|
||||||
color: #bbb;
|
color: #bbb;
|
||||||
|
@ -395,41 +415,46 @@ body.theme-overlay-open {
|
||||||
content: '\f335';
|
content: '\f335';
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Left and right navigation */
|
/* Left and right navigation */
|
||||||
.theme-overlay .right,
|
.theme-overlay .right,
|
||||||
.theme-overlay .left {
|
.theme-overlay .left {
|
||||||
cursor: pointer;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
width: 54px;
|
width: 54px;
|
||||||
float: left;
|
float: left;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-right: 1px solid #eee;
|
border-right: 1px solid #eee;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .right:hover,
|
.theme-overlay .right:hover,
|
||||||
.theme-overlay .left:hover {
|
.theme-overlay .left:hover {
|
||||||
background: #333;
|
background: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .right:hover:before,
|
.theme-overlay .right:hover:before,
|
||||||
.theme-overlay .left:hover:before {
|
.theme-overlay .left:hover:before {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .left:before {
|
.theme-overlay .left:before {
|
||||||
content: '\f341';
|
content: '\f341';
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .right:before {
|
.theme-overlay .right:before {
|
||||||
content: '\f345';
|
content: '\f345';
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .right:before,
|
.theme-overlay .right:before,
|
||||||
.theme-overlay .left:before {
|
.theme-overlay .left:before {
|
||||||
font: normal 16px/54px 'dashicons' !important;
|
font: normal 16px/54px 'dashicons' !important;
|
||||||
display: inline;
|
display: inline;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
.theme-overlay .left:before {}
|
|
||||||
|
|
||||||
.theme-overlay .theme-wrap {
|
.theme-overlay .theme-wrap {
|
||||||
clear: both;
|
clear: both;
|
||||||
|
@ -441,9 +466,11 @@ body.theme-overlay-open {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 88px 40px 110px 40px;
|
padding: 88px 40px 110px 40px;
|
||||||
|
-webkit-box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.1);
|
||||||
box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.1);
|
box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0,0,0,0.1);
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-wrap:after {
|
.theme-overlay .theme-wrap:after {
|
||||||
content: ".";
|
content: ".";
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -463,9 +490,10 @@ body.theme-overlay-open {
|
||||||
border-top: 1px solid rgba(0,0,0,0.1);
|
border-top: 1px solid rgba(0,0,0,0.1);
|
||||||
z-index: 30;
|
z-index: 30;
|
||||||
}
|
}
|
||||||
.theme-overlay.active .theme-actions {
|
|
||||||
|
|
||||||
|
.theme-overlay.active .theme-actions {
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions a {
|
.theme-overlay .theme-actions a {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
@ -474,6 +502,7 @@ body.theme-overlay-open {
|
||||||
height: 37px;
|
height: 37px;
|
||||||
padding: 0 20px 1px 20px;
|
padding: 0 20px 1px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions .delete-theme {
|
.theme-overlay .theme-actions .delete-theme {
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: #a00;
|
color: #a00;
|
||||||
|
@ -484,6 +513,7 @@ body.theme-overlay-open {
|
||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions .delete-theme:hover {
|
.theme-overlay .theme-actions .delete-theme:hover {
|
||||||
background: #d54e21;
|
background: #d54e21;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -493,11 +523,13 @@ body.theme-overlay-open {
|
||||||
.theme-overlay.active .theme-actions .inactive-theme {
|
.theme-overlay.active .theme-actions .inactive-theme {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions .inactive-theme,
|
.theme-overlay .theme-actions .inactive-theme,
|
||||||
.theme-overlay.active .theme-actions .active-theme {
|
.theme-overlay.active .theme-actions .active-theme {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
|
/**
|
||||||
* Theme Screenshots gallery
|
* Theme Screenshots gallery
|
||||||
*/
|
*/
|
||||||
.theme-overlay .theme-screenshots {
|
.theme-overlay .theme-screenshots {
|
||||||
|
@ -506,21 +538,25 @@ body.theme-overlay-open {
|
||||||
width: 55%;
|
width: 55%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* First screenshot, shown big */
|
/* First screenshot, shown big */
|
||||||
.theme-overlay .screenshot {
|
.theme-overlay .screenshot {
|
||||||
border: 1px solid #fff;
|
border: 1px solid #fff;
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
||||||
box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot:after {
|
.theme-overlay .screenshot:after {
|
||||||
content: '';
|
content: '';
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 66.66666%; /* using a 3/2 aspect ratio */
|
padding-top: 66.66666%; /* using a 3/2 aspect ratio */
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot img {
|
.theme-overlay .screenshot img {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
@ -529,6 +565,7 @@ body.theme-overlay-open {
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Other screenshots, shown small and square */
|
/* Other screenshots, shown small and square */
|
||||||
.theme-overlay .screenshot.thumb {
|
.theme-overlay .screenshot.thumb {
|
||||||
background: #ccc;
|
background: #ccc;
|
||||||
|
@ -539,11 +576,13 @@ body.theme-overlay-open {
|
||||||
width: 140px;
|
width: 140px;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot.thumb:after {
|
.theme-overlay .screenshot.thumb:after {
|
||||||
content: '';
|
content: '';
|
||||||
display: block;
|
display: block;
|
||||||
padding-top: 100%; /* using a 1/1 aspect ratio */
|
padding-top: 100%; /* using a 1/1 aspect ratio */
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot.thumb img {
|
.theme-overlay .screenshot.thumb img {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
@ -553,10 +592,12 @@ body.theme-overlay-open {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot.selected {
|
.theme-overlay .screenshot.selected {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 2px solid #2ea2cc;
|
border: 2px solid #2ea2cc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .screenshot.selected img {
|
.theme-overlay .screenshot.selected img {
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
@ -567,13 +608,14 @@ body.theme-overlay-open {
|
||||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Theme heading information
|
* Theme heading information
|
||||||
*/
|
*/
|
||||||
.theme-overlay .theme-info {
|
.theme-overlay .theme-info {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .current-label {
|
.theme-overlay .current-label {
|
||||||
background: #333;
|
background: #333;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -583,8 +625,11 @@ body.theme-overlay-open {
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
margin: 0 0 -10px;
|
margin: 0 0 -10px;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-name {
|
.theme-overlay .theme-name {
|
||||||
color: #222;
|
color: #222;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
|
@ -592,6 +637,7 @@ body.theme-overlay-open {
|
||||||
margin: 10px 0 0;
|
margin: 10px 0 0;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-version {
|
.theme-overlay .theme-version {
|
||||||
color: #999;
|
color: #999;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -600,18 +646,23 @@ body.theme-overlay-open {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-author {
|
.theme-overlay .theme-author {
|
||||||
color: #686868;
|
color: #686868;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
margin: 15px 0 25px;
|
margin: 15px 0 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-author a {
|
.theme-overlay .theme-author a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-description {
|
.theme-overlay .theme-description {
|
||||||
color: #555;
|
color: #555;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
@ -619,6 +670,7 @@ body.theme-overlay-open {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin: 30px 0 0 0;
|
margin: 30px 0 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-tags {
|
.theme-overlay .theme-tags {
|
||||||
border-top: 3px solid #eee;
|
border-top: 3px solid #eee;
|
||||||
color: #888;
|
color: #888;
|
||||||
|
@ -628,13 +680,16 @@ body.theme-overlay-open {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-tags span {
|
.theme-overlay .theme-tags span {
|
||||||
color: #444;
|
color: #444;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions {
|
.theme-overlay .theme-actions {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Theme Updates info */
|
/* Theme Updates info */
|
||||||
.theme-overlay .theme-update-message {
|
.theme-overlay .theme-update-message {
|
||||||
background: #fefaf7;
|
background: #fefaf7;
|
||||||
|
@ -643,6 +698,7 @@ body.theme-overlay-open {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
padding: 5px 20px 10px;
|
padding: 5px 20px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-update {
|
.theme-overlay .theme-update {
|
||||||
color: #222;
|
color: #222;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
@ -650,6 +706,7 @@ body.theme-overlay-open {
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .parent-theme {
|
.theme-overlay .parent-theme {
|
||||||
background: #f7fcfe;
|
background: #f7fcfe;
|
||||||
border: 1px solid #eee;
|
border: 1px solid #eee;
|
||||||
|
@ -659,6 +716,7 @@ body.theme-overlay-open {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
padding: 10px 10px 10px 20px;
|
padding: 10px 10px 10px 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .parent-theme strong {
|
.theme-overlay .parent-theme strong {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
@ -669,120 +727,143 @@ body.theme-overlay-open {
|
||||||
* Shuffles theme columns around based on screen width
|
* Shuffles theme columns around based on screen width
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@media ( min-width: 1700px ) {
|
@media only screen and (min-width: 1700px) {
|
||||||
.theme {
|
.theme {
|
||||||
width: 22.7%;
|
width: 22.7%;
|
||||||
margin: 0 3% 3% 0;
|
margin: 0 3% 3% 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(3n) {
|
.theme:nth-child(3n) {
|
||||||
margin-right: 3%;
|
margin-right: 3%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(4n) {
|
.theme:nth-child(4n) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-wrap,
|
.theme-overlay .theme-wrap,
|
||||||
.theme-overlay .theme-actions {
|
.theme-overlay .theme-actions {
|
||||||
right: 15%;
|
right: 15%;
|
||||||
left: 22%;
|
left: 22%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media ( max-width: 1200px ) {
|
|
||||||
|
@media only screen and (max-width: 1200px) {
|
||||||
.theme {
|
.theme {
|
||||||
width: 47.5%;
|
width: 47.5%;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(even) {
|
.theme:nth-child(even) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(odd) {
|
.theme:nth-child(odd) {
|
||||||
margin-right: 5%;
|
margin-right: 5%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Mini-sidebar in MP6 */
|
|
||||||
@media ( max-width: 900px ) {
|
/* Admin menu is folded */
|
||||||
|
@media only screen and (max-width: 900px) {
|
||||||
.theme-overlay .theme-wrap,
|
.theme-overlay .theme-wrap,
|
||||||
.theme-overlay .theme-actions {
|
.theme-overlay .theme-actions {
|
||||||
left: 76px;
|
left: 76px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media ( max-width: 780px ) {
|
|
||||||
|
@media only screen and (max-width: 780px) {
|
||||||
.theme.active .theme-actions .button {
|
.theme.active .theme-actions .button {
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
margin-right: -3px
|
margin-right: -3px
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-wrap {
|
.theme-overlay .theme-wrap {
|
||||||
top: 45px;
|
top: 45px;
|
||||||
right: 0px;
|
right: 0;
|
||||||
bottom: 0px;
|
bottom: 0;
|
||||||
left: 0px;
|
left: 0;
|
||||||
padding: 70px 20px 100px;
|
padding: 70px 20px 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions {
|
.theme-overlay .theme-actions {
|
||||||
right: 0px;
|
right: 0;
|
||||||
bottom: 0px;
|
bottom: 0;
|
||||||
left: 0px;
|
left: 0;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-screenshots {
|
.theme-overlay .theme-screenshots {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-info {
|
.theme-overlay .theme-info {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions .delete-theme {
|
.theme-overlay .theme-actions .delete-theme {
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media ( max-width: 650px ) {
|
|
||||||
|
@media only screen and (max-width: 650px) {
|
||||||
.theme {
|
.theme {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-actions {
|
.theme:hover .theme-actions {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(2n),
|
.theme:nth-child(2n),
|
||||||
.theme:nth-child(3n) {
|
.theme:nth-child(3n) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-update,
|
.theme-overlay .theme-update,
|
||||||
.theme-overlay .theme-description {
|
.theme-overlay .theme-description {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay.active .theme-actions .active-theme .button:nth-child(3n) {
|
.theme-overlay.active .theme-actions .active-theme .button:nth-child(3n) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-actions .button {
|
.theme.active .theme-actions .button {
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-screenshots {
|
.theme-overlay .theme-screenshots {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-info {
|
.theme-overlay .theme-info {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-author {
|
.theme-overlay .theme-author {
|
||||||
margin: 5px 0 15px 0;
|
margin: 5px 0 15px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-version {
|
.theme-overlay .theme-version {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 18px;
|
top: 18px;
|
||||||
left: 130px;
|
left: 130px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .current-label {
|
.theme-overlay .current-label {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
* Search form
|
|
||||||
*/
|
|
||||||
.themes-php .wrap h2 {
|
.themes-php .wrap h2 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.themes-php .theme-search {
|
.themes-php .theme-search {
|
||||||
float: none;
|
float: none;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
Loading…
Reference in New Issue