2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .themes {
|
2013-11-13 22:04:05 +01:00
|
|
|
clear: both;
|
|
|
|
padding: 0 0 100px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.themes-php .wrap h2 {
|
2013-11-13 22:04:05 +01:00
|
|
|
float: left;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.themes-php .wrap h2 .button {
|
2013-11-13 22:04:05 +01:00
|
|
|
margin-left: 20px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.themes-php .theme-count {
|
2013-11-13 22:04:05 +01:00
|
|
|
color: #fff;
|
|
|
|
border-radius: 30px;
|
|
|
|
background: #777;
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 4px 10px;
|
|
|
|
font-weight: 600;
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 20px;
|
|
|
|
position: relative;
|
|
|
|
top: -3px;
|
|
|
|
}
|
|
|
|
/* Position admin messages */
|
2013-11-20 20:44:12 +01:00
|
|
|
.themes-php div.updated {
|
2013-11-13 22:04:05 +01:00
|
|
|
margin: 0 0 20px 0;
|
|
|
|
clear: both;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.themes-php div.updated a {
|
2013-11-13 22:04:05 +01:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Main theme element
|
|
|
|
* (has flexible margins)
|
|
|
|
*/
|
|
|
|
.theme {
|
|
|
|
cursor: pointer;
|
|
|
|
float: left;
|
|
|
|
margin: 0 5% 4% 0;
|
|
|
|
position: relative;
|
|
|
|
width: 30%;
|
|
|
|
|
|
|
|
border: 1px solid #dedede;
|
|
|
|
-webkit-box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
|
|
|
|
box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
.theme:nth-child(3n) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme:hover,
|
|
|
|
.theme:focus {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme .theme-name {
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 600;
|
|
|
|
margin: 0;
|
|
|
|
padding: 15px;
|
|
|
|
box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
.theme-name {
|
|
|
|
background: #fff;
|
|
|
|
background: rgba(255,255,255,0.65);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Activate and Customize buttons, shown on hover */
|
|
|
|
.theme .theme-actions {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.1s ease-in-out;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0px;
|
|
|
|
right: 0px;
|
|
|
|
height: 38px;
|
|
|
|
padding: 9px 10px 0 10px;
|
|
|
|
background: rgba(244, 244, 244, 0.7);
|
|
|
|
border-left: 1px solid rgba(0,0,0,0.05);
|
|
|
|
}
|
|
|
|
.theme:hover .theme-actions {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
.theme .theme-actions .button-primary {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
.theme .theme-actions .button-secondary {
|
|
|
|
float: none;
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
/* Delete theme crosses */
|
|
|
|
.theme .delete-theme {
|
|
|
|
display: none;
|
|
|
|
margin-left: -18px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
right: 0px;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
.theme .delete-theme:before {
|
|
|
|
background: #222;
|
|
|
|
border: 1px solid #dedede;
|
|
|
|
border-width: 0 0 1px 1px;
|
|
|
|
color: #fff;
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
padding: 4px;
|
|
|
|
content: '\f158';
|
|
|
|
display: inline-block;
|
|
|
|
font: normal 36px/1 'dashicons';
|
|
|
|
opacity: 1;
|
|
|
|
speak: none;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
.theme .delete-theme:hover:before {
|
|
|
|
background: #d54e21;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Theme Screenshot
|
|
|
|
*
|
|
|
|
* Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size
|
|
|
|
* It is also responsive.
|
|
|
|
*/
|
|
|
|
.theme .theme-screenshot {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
.theme .theme-screenshot:after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
padding-top: 66%; /* using a 3/2 aspect ratio */
|
|
|
|
}
|
|
|
|
.theme .theme-screenshot img {
|
|
|
|
height: auto;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
-webkit-transform: translateZ( 0 ); /* Prevents rendering bugs in Chrome */
|
|
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme:after {
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
content: '\f348';
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
font: normal 64px/1 'dashicons';
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
|
|
|
color: #000;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
padding-top: 24%;
|
|
|
|
text-shadow: 0 1px 20px rgba(255,255,255,0.9);
|
|
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
}
|
|
|
|
.theme:hover:after {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme:hover .theme-screenshot {
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
.theme:hover .theme-screenshot img {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Displays a theme update notice
|
|
|
|
* when an update is available
|
|
|
|
*/
|
|
|
|
.theme .theme-update {
|
|
|
|
background: #d54e21;
|
|
|
|
background: rgba(213, 78, 33, 0.95);
|
|
|
|
color: #fff;
|
|
|
|
display: block;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 400;
|
|
|
|
height: 48px;
|
|
|
|
line-height: 48px;
|
|
|
|
padding: 0 10px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
border-bottom: 1px solid rgba(0,0,0,0.25);
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.theme .theme-update:before {
|
|
|
|
content: '\f113';
|
|
|
|
display: inline-block;
|
|
|
|
font: normal 20px/1 'dashicons';
|
|
|
|
margin: 0 6px 0 0;
|
|
|
|
opacity: 0.8;
|
|
|
|
position: relative;
|
|
|
|
top: 5px;
|
|
|
|
speak: none;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The currently active theme
|
|
|
|
* is highlighted using the WP blue.
|
|
|
|
* @todo use MP6 highlight color
|
|
|
|
*/
|
|
|
|
.theme.active {
|
|
|
|
}
|
|
|
|
.theme.active .theme-screenshot {
|
|
|
|
}
|
|
|
|
.theme.active .theme-name {
|
|
|
|
background: #0074a2;
|
|
|
|
color: #fff;
|
|
|
|
box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
|
|
|
|
}
|
|
|
|
.theme.active .theme-actions {
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background: #2f2f2f;
|
|
|
|
height: 48px;
|
|
|
|
opacity: 1;
|
|
|
|
line-height: 48px;
|
|
|
|
padding: 0 10px;
|
2013-11-25 08:04:10 +01:00
|
|
|
z-index: 1;
|
2013-11-13 22:04:05 +01:00
|
|
|
}
|
|
|
|
.theme.active .theme-actions .button {
|
|
|
|
float: right;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
.theme.active .current-label {
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #ccc;
|
|
|
|
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 {
|
|
|
|
top: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme .theme-author {
|
|
|
|
background: #222;
|
|
|
|
color: #eee;
|
|
|
|
display: none;
|
|
|
|
font-size: 14px;
|
|
|
|
margin: 0 10px;
|
|
|
|
padding: 5px 10px;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 56px;
|
|
|
|
}
|
|
|
|
.theme.display-author .theme-author {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
*/
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .add-new-theme {
|
2013-11-13 22:04:05 +01:00
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .add-new-theme a {
|
2013-11-13 22:04:05 +01:00
|
|
|
color: #999;
|
|
|
|
text-decoration: none;
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
2013-11-22 08:22:11 +01:00
|
|
|
z-index: 1;
|
2013-11-13 22:04:05 +01:00
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .add-new-theme:after {
|
2013-11-13 22:04:05 +01:00
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
opacity: 1;
|
|
|
|
background: rgba(0, 0, 0, 0);
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
padding: 10% 0 0 0;
|
|
|
|
text-shadow: none;
|
|
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
border: 5px dashed rgba(0, 0, 0, 0.1);
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .add-new-theme span:after {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: rgba(153, 153, 153, 0.1);
|
|
|
|
border-radius: 50%;
|
|
|
|
display: inline-block;
|
|
|
|
content: '\f132';
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
font: normal 74px/115px 'dashicons';
|
|
|
|
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;
|
|
|
|
z-index:4;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .add-new-theme:hover .theme-screenshot {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: none;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .add-new-theme:hover span:after {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: #fff;
|
|
|
|
color: rgb(16, 116, 162);
|
|
|
|
box-shadow: 0 2px 1px rgba(0,0,0,0.3);
|
|
|
|
}
|
|
|
|
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .add-new-theme:hover:after {
|
2013-11-13 22:04:05 +01:00
|
|
|
border-color: transparent;
|
|
|
|
color: #fff;
|
|
|
|
background: rgb(16, 116, 162);
|
|
|
|
}
|
|
|
|
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .add-new-theme .theme-name {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: none;
|
|
|
|
text-align: center;
|
|
|
|
box-shadow: none;
|
|
|
|
font-weight: 400;
|
|
|
|
position: relative;
|
|
|
|
top: -70px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .add-new-theme:hover .theme-name {
|
2013-11-13 22:04:05 +01:00
|
|
|
color: #fff;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The search form
|
|
|
|
*/
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .theme-search {
|
2013-11-13 22:04:05 +01:00
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
top: 7px;
|
|
|
|
left: 10px;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 300;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Theme Overlay
|
|
|
|
* Shown when clicking a theme
|
|
|
|
*/
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-backdrop {
|
2013-11-13 22:04:05 +01:00
|
|
|
position: absolute;
|
|
|
|
left: -20px;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: rgba( 238, 238, 238, 0.9 );
|
|
|
|
/* background: rgba(0,0,0,0.7); */
|
|
|
|
z-index: 10;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
body.theme-overlay-open {
|
2013-11-13 22:04:05 +01:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-utility {
|
2013-11-13 22:04:05 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .back {
|
2013-11-13 22:04:05 +01:00
|
|
|
cursor: pointer;
|
|
|
|
height: 48px;
|
|
|
|
width: 50px;
|
|
|
|
text-align: center;
|
|
|
|
float: right;
|
|
|
|
border-left: 1px solid #eee;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .back:hover {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: #333;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .back:hover:before {
|
2013-11-13 22:04:05 +01:00
|
|
|
color: #fff;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .back:before {
|
2013-11-13 22:04:05 +01:00
|
|
|
font: normal 30px/48px 'dashicons' !important;
|
|
|
|
color: #bbb;
|
|
|
|
display: inline-block;
|
|
|
|
content: '\f335';
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
/* Left and right navigation */
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .right,
|
|
|
|
.theme-overlay .left {
|
2013-11-13 22:04:05 +01:00
|
|
|
cursor: pointer;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
cursor: pointer;
|
|
|
|
height: 48px;
|
|
|
|
width: 54px;
|
|
|
|
float: left;
|
|
|
|
text-align: center;
|
|
|
|
border-right: 1px solid #eee;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .right:hover,
|
|
|
|
.theme-overlay .left:hover {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: #333;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .right:hover:before,
|
|
|
|
.theme-overlay .left:hover:before {
|
2013-11-13 22:04:05 +01:00
|
|
|
color: #fff;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .left:before {
|
2013-11-13 22:04:05 +01:00
|
|
|
content: '\f341';
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .right:before {
|
2013-11-13 22:04:05 +01:00
|
|
|
content: '\f345';
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .right:before,
|
|
|
|
.theme-overlay .left:before {
|
2013-11-13 22:04:05 +01:00
|
|
|
font: normal 16px/54px 'dashicons' !important;
|
|
|
|
display: inline;
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .left:before {}
|
2013-11-13 22:04:05 +01:00
|
|
|
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-wrap {
|
2013-11-13 22:04:05 +01:00
|
|
|
clear: both;
|
|
|
|
position: fixed;
|
|
|
|
top: 120px;
|
|
|
|
left: 190px;
|
|
|
|
right: 40px;
|
|
|
|
bottom: 80px;
|
|
|
|
overflow: auto;
|
|
|
|
background: #fff;
|
|
|
|
padding: 88px 40px 110px 40px;
|
|
|
|
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;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-wrap:after {
|
2013-11-13 22:04:05 +01:00
|
|
|
content: ".";
|
|
|
|
display: block;
|
|
|
|
height: 0;
|
|
|
|
clear: both;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-actions {
|
2013-11-13 22:04:05 +01:00
|
|
|
position: fixed;
|
|
|
|
text-align: center;
|
|
|
|
bottom: 80px;
|
|
|
|
left: 190px;
|
|
|
|
right: 40px;
|
|
|
|
padding: 20px 25px;
|
|
|
|
background: rgba(243, 243, 243 ,0.9);
|
|
|
|
border-top: 1px solid rgba(0,0,0,0.1);
|
|
|
|
z-index: 30;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay.active .theme-actions {
|
2013-11-13 22:04:05 +01:00
|
|
|
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-actions a {
|
2013-11-13 22:04:05 +01:00
|
|
|
margin-right: 5px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 37px;
|
|
|
|
height: 37px;
|
|
|
|
padding: 0 20px 1px 20px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-actions .delete-theme {
|
2013-11-13 22:04:05 +01:00
|
|
|
border-radius: 2px;
|
|
|
|
color: #a00;
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 0 10px;
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
bottom: 20px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-actions .delete-theme:hover {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: #d54e21;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-actions .active-theme,
|
|
|
|
.theme-overlay.active .theme-actions .inactive-theme {
|
2013-11-13 22:04:05 +01:00
|
|
|
display: none;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-actions .inactive-theme,
|
|
|
|
.theme-overlay.active .theme-actions .active-theme {
|
2013-11-13 22:04:05 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Theme Screenshots gallery
|
|
|
|
*/
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-screenshots {
|
2013-11-13 22:04:05 +01:00
|
|
|
float: left;
|
|
|
|
margin: 0 30px 0 0;
|
|
|
|
width: 55%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
/* First screenshot, shown big */
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .screenshot {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: #000;
|
|
|
|
border: 1px solid #fff;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .screenshot:after {
|
2013-11-13 22:04:05 +01:00
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
padding-top: 66.66666%; /* using a 3/2 aspect ratio */
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .screenshot img {
|
2013-11-13 22:04:05 +01:00
|
|
|
cursor: pointer;
|
|
|
|
height: auto;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
/* Other screenshots, shown small and square */
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .screenshot.thumb {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: #ccc;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
float: none;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 10px 5px 0;
|
|
|
|
width: 140px;
|
|
|
|
height: 80px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .screenshot.thumb:after {
|
2013-11-13 22:04:05 +01:00
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
padding-top: 100%; /* using a 1/1 aspect ratio */
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .screenshot.thumb img {
|
2013-11-13 22:04:05 +01:00
|
|
|
cursor: pointer;
|
|
|
|
height: auto;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .screenshot.selected {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: transparent;
|
|
|
|
border: 2px solid #2ea2cc;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .screenshot.selected img {
|
2013-11-13 22:04:05 +01:00
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Theme heading information
|
|
|
|
*/
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-info {
|
2013-11-13 22:04:05 +01:00
|
|
|
width: 40%;
|
|
|
|
float: left;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .current-label {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: #333;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 11px;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 2px 8px;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin: 0 0 -10px;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-name {
|
2013-11-13 22:04:05 +01:00
|
|
|
color: #222;
|
|
|
|
font-size: 32px;
|
|
|
|
font-weight: 100;
|
|
|
|
margin: 10px 0 0;
|
|
|
|
line-height: 1.3;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-version {
|
2013-11-13 22:04:05 +01:00
|
|
|
color: #999;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 400;
|
|
|
|
float: none;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 10px;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-author {
|
2013-11-13 22:04:05 +01:00
|
|
|
color: #686868;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin: 15px 0 25px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-author a {
|
2013-11-13 22:04:05 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-description {
|
2013-11-13 22:04:05 +01:00
|
|
|
color: #555;
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.5;
|
|
|
|
margin: 30px 0 0 0;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-tags {
|
2013-11-13 22:04:05 +01:00
|
|
|
border-top: 3px solid #eee;
|
|
|
|
color: #888;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin: 30px 0 0 0;
|
|
|
|
padding-top: 20px;
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-tags span {
|
2013-11-13 22:04:05 +01:00
|
|
|
color: #444;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-actions {
|
2013-11-13 22:04:05 +01:00
|
|
|
}
|
|
|
|
/* Theme Updates info */
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-update-message {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: #fefaf7;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
border-left: 4px solid #d54e21;
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 5px 20px 10px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-update {
|
2013-11-13 22:04:05 +01:00
|
|
|
color: #222;
|
|
|
|
font-size: 18px;
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 40px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .parent-theme {
|
2013-11-13 22:04:05 +01:00
|
|
|
background: #f7fcfe;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
border-left: 4px solid #2ea2cc;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: normal;
|
|
|
|
margin-top: 30px;
|
|
|
|
padding: 10px 10px 10px 20px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .parent-theme strong {
|
2013-11-13 22:04:05 +01:00
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Theme Browser...
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.theme-categories {
|
|
|
|
background: #fbfbfb;
|
|
|
|
border: 1px solid #dedede;
|
|
|
|
box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
|
|
|
|
color: #999;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 13px;
|
|
|
|
margin: 20px 0 30px;
|
|
|
|
padding: 15px 20px;
|
|
|
|
}
|
|
|
|
.theme-categories a {
|
|
|
|
color: #999;
|
|
|
|
margin: 0 5px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.theme-categories a.current {
|
|
|
|
border-bottom: 2px solid #555;
|
|
|
|
color: #555;
|
|
|
|
font-weight: 800;
|
|
|
|
}
|
|
|
|
.theme-linear-grid {
|
|
|
|
border-bottom: 3px solid #ddd;
|
|
|
|
margin: 0 0 30px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.theme-linear-grid .theme-section {
|
|
|
|
margin: 0 0 20px;
|
|
|
|
}
|
|
|
|
.theme-linear-grid .themes {
|
|
|
|
position: relative;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.theme-linear-grid .theme {
|
|
|
|
float: none;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 2.4% 0 0;
|
|
|
|
}
|
|
|
|
.theme-linear-grid .show-more-themes {
|
|
|
|
background: rgba(0,0,0,0.8);
|
|
|
|
color: #eee;
|
|
|
|
display: none;
|
|
|
|
width: 80px;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Basic Responsive structure...
|
|
|
|
*
|
|
|
|
* Shuffles theme columns around based on screen width
|
|
|
|
*/
|
|
|
|
|
|
|
|
@media ( min-width: 1700px ) {
|
|
|
|
.theme {
|
|
|
|
width: 22.7%;
|
|
|
|
margin: 0 3% 3% 0;
|
|
|
|
}
|
|
|
|
.theme:nth-child(3n) {
|
|
|
|
margin-right: 3%;
|
|
|
|
}
|
|
|
|
.theme:nth-child(4n) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-wrap,
|
|
|
|
.theme-overlay .theme-actions {
|
2013-11-13 22:04:05 +01:00
|
|
|
right: 15%;
|
|
|
|
left: 22%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media ( max-width: 1200px ) {
|
|
|
|
.theme {
|
|
|
|
width: 47.5%;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
.theme:nth-child(even) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
.theme:nth-child(odd) {
|
|
|
|
margin-right: 5%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* Mini-sidebar in MP6 */
|
|
|
|
@media ( max-width: 900px ) {
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-wrap,
|
|
|
|
.theme-overlay .theme-actions {
|
2013-11-13 22:04:05 +01:00
|
|
|
left: 76px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media ( max-width: 780px ) {
|
|
|
|
.theme.active .theme-actions .button {
|
|
|
|
margin-top: 6px;
|
|
|
|
margin-right: -3px
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-wrap {
|
2013-11-13 22:04:05 +01:00
|
|
|
top: 45px;
|
|
|
|
right: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
left: 0px;
|
|
|
|
padding: 70px 20px 100px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-actions {
|
2013-11-13 22:04:05 +01:00
|
|
|
right: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
left: 0px;
|
|
|
|
text-align: left;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-screenshots {
|
2013-11-13 22:04:05 +01:00
|
|
|
width: 40%;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-info {
|
2013-11-13 22:04:05 +01:00
|
|
|
width: 50%;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-actions .delete-theme {
|
2013-11-13 22:04:05 +01:00
|
|
|
bottom: 10px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .theme-search {
|
2013-11-13 22:04:05 +01:00
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media ( max-width: 650px ) {
|
|
|
|
.theme {
|
|
|
|
width: 100%;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
.theme:hover .theme-actions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.theme:nth-child(2n),
|
|
|
|
.theme:nth-child(3n) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-update,
|
|
|
|
.theme-overlay .theme-description {
|
2013-11-13 22:04:05 +01:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay.active .theme-actions .active-theme .button:nth-child(3n) {
|
2013-11-13 22:04:05 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.theme.active .theme-actions .button {
|
|
|
|
margin-top: 6px;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-screenshots {
|
2013-11-13 22:04:05 +01:00
|
|
|
width: 100%;
|
|
|
|
float: none;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-info {
|
2013-11-13 22:04:05 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-author {
|
2013-11-13 22:04:05 +01:00
|
|
|
margin: 5px 0 15px 0;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .theme-version {
|
2013-11-13 22:04:05 +01:00
|
|
|
margin-left: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 18px;
|
|
|
|
left: 130px;
|
|
|
|
}
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-overlay .current-label {
|
2013-11-13 22:04:05 +01:00
|
|
|
margin-top: 10px;
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* Search form
|
|
|
|
*/
|
2013-11-20 20:44:12 +01:00
|
|
|
.theme-browser .theme-search {
|
2013-11-13 22:04:05 +01:00
|
|
|
float: none;
|
|
|
|
clear: both;
|
|
|
|
left: 0;
|
|
|
|
margin: 10px 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|