Prefix the new Theme classes. Fixes #25966
Built from https://develop.svn.wordpress.org/trunk@26495 git-svn-id: http://core.svn.wordpress.org/trunk@26389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d4ec4ebef6
commit
f809af5bd0
|
@ -6342,7 +6342,7 @@ span.imgedit-scale-warn {
|
||||||
* Main theme element
|
* Main theme element
|
||||||
* (has flexible margins)
|
* (has flexible margins)
|
||||||
*/
|
*/
|
||||||
.theme {
|
.theme-browser .theme {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
float: right;
|
float: right;
|
||||||
margin: 0 0 96% 5%;
|
margin: 0 0 96% 5%;
|
||||||
|
@ -6356,16 +6356,16 @@ span.imgedit-scale-warn {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(3n) {
|
.theme-browser .theme:nth-child(3n) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover,
|
.theme-browser .theme:hover,
|
||||||
.theme:focus {
|
.theme-browser .theme:focus {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-name {
|
.theme-browser .theme .theme-name {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -6375,15 +6375,12 @@ span.imgedit-scale-warn {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
|
||||||
|
|
||||||
.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-browser .theme .theme-actions {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
-webkit-transition: opacity 0.1s ease-in-out;
|
-webkit-transition: opacity 0.1s ease-in-out;
|
||||||
transition: opacity 0.1s ease-in-out;
|
transition: opacity 0.1s ease-in-out;
|
||||||
|
@ -6396,15 +6393,15 @@ span.imgedit-scale-warn {
|
||||||
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-browser .theme:hover .theme-actions {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-actions .button-primary {
|
.theme-browser .theme .theme-actions .button-primary {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-actions .button-secondary {
|
.theme-browser .theme .theme-actions .button-secondary {
|
||||||
float: none;
|
float: none;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
@ -6415,7 +6412,7 @@ span.imgedit-scale-warn {
|
||||||
* 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
|
||||||
* It is also responsive.
|
* It is also responsive.
|
||||||
*/
|
*/
|
||||||
.theme .theme-screenshot {
|
.theme-browser .theme .theme-screenshot {
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -6423,13 +6420,13 @@ span.imgedit-scale-warn {
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-screenshot:after {
|
.theme-browser .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-browser .theme .theme-screenshot img {
|
||||||
height: auto;
|
height: auto;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -6440,7 +6437,7 @@ span.imgedit-scale-warn {
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:after {
|
.theme-browser .theme:after {
|
||||||
display: block;
|
display: block;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
content: '\f348';
|
content: '\f348';
|
||||||
|
@ -6459,15 +6456,15 @@ span.imgedit-scale-warn {
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover:after {
|
.theme-browser .theme:hover:after {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-screenshot {
|
.theme-browser .theme:hover .theme-screenshot {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-screenshot img {
|
.theme-browser .theme:hover .theme-screenshot img {
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6475,7 +6472,7 @@ span.imgedit-scale-warn {
|
||||||
* Displays a theme update notice
|
* Displays a theme update notice
|
||||||
* when an update is available.
|
* when an update is available.
|
||||||
*/
|
*/
|
||||||
.theme .theme-update {
|
.theme-browser .theme .theme-update {
|
||||||
background: #d54e21;
|
background: #d54e21;
|
||||||
background: rgba(213, 78, 33, 0.95);
|
background: rgba(213, 78, 33, 0.95);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -6493,7 +6490,7 @@ span.imgedit-scale-warn {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-update:before {
|
.theme-browser .theme .theme-update:before {
|
||||||
content: '\f113';
|
content: '\f113';
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font: normal 20px/1 'dashicons';
|
font: normal 20px/1 'dashicons';
|
||||||
|
@ -6509,20 +6506,14 @@ span.imgedit-scale-warn {
|
||||||
/**
|
/**
|
||||||
* The currently active theme
|
* The currently active theme
|
||||||
*/
|
*/
|
||||||
.theme.active {
|
.theme-browser .theme.active .theme-name {
|
||||||
}
|
|
||||||
|
|
||||||
.theme.active .theme-screenshot {
|
|
||||||
}
|
|
||||||
|
|
||||||
.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);
|
-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-browser .theme.active .theme-actions {
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
background: #2f2f2f;
|
background: #2f2f2f;
|
||||||
|
@ -6533,23 +6524,23 @@ span.imgedit-scale-warn {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-actions .button {
|
.theme-browser .theme.active .theme-actions .button {
|
||||||
float: left;
|
float: left;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .current-label {
|
.theme-browser .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 .theme-update {
|
.theme-browser .theme.active .theme-update {
|
||||||
top: 48px;
|
top: 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-author {
|
.theme-browser .theme .theme-author {
|
||||||
background: #222;
|
background: #222;
|
||||||
color: #eee;
|
color: #eee;
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -6560,11 +6551,11 @@ span.imgedit-scale-warn {
|
||||||
bottom: 56px;
|
bottom: 56px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.display-author .theme-author {
|
.theme-browser .theme.display-author .theme-author {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.display-author .theme-author a {
|
.theme-browser .theme.display-author .theme-author a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
@ -6572,12 +6563,12 @@ span.imgedit-scale-warn {
|
||||||
/**
|
/**
|
||||||
* Add new theme
|
* Add new theme
|
||||||
*/
|
*/
|
||||||
.theme-browser .add-new-theme {
|
.theme-browser .theme.add-new-theme {
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme a {
|
.theme-browser .theme.add-new-theme a {
|
||||||
color: #999;
|
color: #999;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -6585,7 +6576,7 @@ span.imgedit-scale-warn {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:after {
|
.theme-browser .theme.add-new-theme:after {
|
||||||
display: block;
|
display: block;
|
||||||
content: '';
|
content: '';
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -6605,7 +6596,7 @@ span.imgedit-scale-warn {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme span:after {
|
.theme-browser .theme.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%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -6627,22 +6618,22 @@ span.imgedit-scale-warn {
|
||||||
z-index:4;
|
z-index:4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover .theme-screenshot {
|
.theme-browser .theme.add-new-theme:hover .theme-screenshot {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover span:after {
|
.theme-browser .theme.add-new-theme:hover span:after {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: #0074a2;
|
color: #0074a2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover:after {
|
.theme-browser .theme.add-new-theme:hover:after {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #0074a2;
|
background: #0074a2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme .theme-name {
|
.theme-browser .theme.add-new-theme .theme-name {
|
||||||
background: none;
|
background: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
@ -6651,7 +6642,7 @@ span.imgedit-scale-warn {
|
||||||
top: -50px;
|
top: -50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover .theme-name {
|
.theme-browser .theme.add-new-theme:hover .theme-name {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
@ -6767,7 +6758,6 @@ body.theme-overlay-open {
|
||||||
content: '\f341';
|
content: '\f341';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.theme-overlay .theme-wrap {
|
.theme-overlay .theme-wrap {
|
||||||
clear: both;
|
clear: both;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -6803,9 +6793,6 @@ body.theme-overlay-open {
|
||||||
z-index: 30;
|
z-index: 30;
|
||||||
}
|
}
|
||||||
|
|
||||||
.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;
|
||||||
|
@ -6915,7 +6902,7 @@ body.theme-overlay-open {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* No screenshot placeholder */
|
/* No screenshot placeholder */
|
||||||
.theme .theme-screenshot.blank,
|
.theme-browser .theme .theme-screenshot.blank,
|
||||||
.theme-overlay .screenshot.blank {
|
.theme-overlay .screenshot.blank {
|
||||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
|
||||||
}
|
}
|
||||||
|
@ -6999,9 +6986,6 @@ body.theme-overlay-open {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions {
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Theme Updates info */
|
/* Theme Updates info */
|
||||||
.theme-overlay .theme-update-message {
|
.theme-overlay .theme-update-message {
|
||||||
background: #fefaf7;
|
background: #fefaf7;
|
||||||
|
@ -7040,16 +7024,16 @@ body.theme-overlay-open {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@media only screen and (min-width: 1700px) {
|
@media only screen and (min-width: 1700px) {
|
||||||
.theme {
|
.theme-browser .theme {
|
||||||
width: 22.7%;
|
width: 22.7%;
|
||||||
margin: 0 0 3% 3%;
|
margin: 0 0 3% 3%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(3n) {
|
.theme-browser .theme:nth-child(3n) {
|
||||||
margin-left: 3%;
|
margin-left: 3%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(4n) {
|
.theme-browser .theme:nth-child(4n) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7061,16 +7045,16 @@ body.theme-overlay-open {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1200px) {
|
@media only screen and (max-width: 1200px) {
|
||||||
.theme {
|
.theme-browser .theme {
|
||||||
width: 47.5%;
|
width: 47.5%;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(even) {
|
.theme-browser .theme:nth-child(even) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(odd) {
|
.theme-browser .theme:nth-child(odd) {
|
||||||
margin-left: 5%;
|
margin-left: 5%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7084,7 +7068,7 @@ body.theme-overlay-open {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 780px) {
|
@media only screen and (max-width: 780px) {
|
||||||
.theme.active .theme-actions .button {
|
.theme-browser .theme.active .theme-actions .button {
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
margin-left: -3px
|
margin-left: -3px
|
||||||
}
|
}
|
||||||
|
@ -7119,17 +7103,17 @@ body.theme-overlay-open {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 650px) {
|
@media only screen and (max-width: 650px) {
|
||||||
.theme {
|
.theme-browser .theme {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-actions {
|
.theme-browser .theme:hover .theme-actions {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(2n),
|
.theme-browser .theme:nth-child(2n),
|
||||||
.theme:nth-child(3n) {
|
.theme-browser .theme:nth-child(3n) {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -6342,7 +6342,7 @@ span.imgedit-scale-warn {
|
||||||
* Main theme element
|
* Main theme element
|
||||||
* (has flexible margins)
|
* (has flexible margins)
|
||||||
*/
|
*/
|
||||||
.theme {
|
.theme-browser .theme {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0 5% 4% 0;
|
margin: 0 5% 4% 0;
|
||||||
|
@ -6356,16 +6356,16 @@ span.imgedit-scale-warn {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(3n) {
|
.theme-browser .theme:nth-child(3n) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover,
|
.theme-browser .theme:hover,
|
||||||
.theme:focus {
|
.theme-browser .theme:focus {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-name {
|
.theme-browser .theme .theme-name {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -6375,15 +6375,12 @@ span.imgedit-scale-warn {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
|
||||||
|
|
||||||
.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-browser .theme .theme-actions {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
-webkit-transition: opacity 0.1s ease-in-out;
|
-webkit-transition: opacity 0.1s ease-in-out;
|
||||||
transition: opacity 0.1s ease-in-out;
|
transition: opacity 0.1s ease-in-out;
|
||||||
|
@ -6396,15 +6393,15 @@ span.imgedit-scale-warn {
|
||||||
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-browser .theme:hover .theme-actions {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-actions .button-primary {
|
.theme-browser .theme .theme-actions .button-primary {
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-actions .button-secondary {
|
.theme-browser .theme .theme-actions .button-secondary {
|
||||||
float: none;
|
float: none;
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
@ -6415,7 +6412,7 @@ span.imgedit-scale-warn {
|
||||||
* 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
|
||||||
* It is also responsive.
|
* It is also responsive.
|
||||||
*/
|
*/
|
||||||
.theme .theme-screenshot {
|
.theme-browser .theme .theme-screenshot {
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -6423,13 +6420,13 @@ span.imgedit-scale-warn {
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-screenshot:after {
|
.theme-browser .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-browser .theme .theme-screenshot img {
|
||||||
height: auto;
|
height: auto;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -6440,7 +6437,7 @@ span.imgedit-scale-warn {
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:after {
|
.theme-browser .theme:after {
|
||||||
display: block;
|
display: block;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
content: '\f348';
|
content: '\f348';
|
||||||
|
@ -6459,15 +6456,15 @@ span.imgedit-scale-warn {
|
||||||
transition: opacity 0.2s ease-in-out;
|
transition: opacity 0.2s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover:after {
|
.theme-browser .theme:hover:after {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-screenshot {
|
.theme-browser .theme:hover .theme-screenshot {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-screenshot img {
|
.theme-browser .theme:hover .theme-screenshot img {
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6475,7 +6472,7 @@ span.imgedit-scale-warn {
|
||||||
* Displays a theme update notice
|
* Displays a theme update notice
|
||||||
* when an update is available.
|
* when an update is available.
|
||||||
*/
|
*/
|
||||||
.theme .theme-update {
|
.theme-browser .theme .theme-update {
|
||||||
background: #d54e21;
|
background: #d54e21;
|
||||||
background: rgba(213, 78, 33, 0.95);
|
background: rgba(213, 78, 33, 0.95);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -6493,7 +6490,7 @@ span.imgedit-scale-warn {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-update:before {
|
.theme-browser .theme .theme-update:before {
|
||||||
content: '\f113';
|
content: '\f113';
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font: normal 20px/1 'dashicons';
|
font: normal 20px/1 'dashicons';
|
||||||
|
@ -6509,20 +6506,14 @@ span.imgedit-scale-warn {
|
||||||
/**
|
/**
|
||||||
* The currently active theme
|
* The currently active theme
|
||||||
*/
|
*/
|
||||||
.theme.active {
|
.theme-browser .theme.active .theme-name {
|
||||||
}
|
|
||||||
|
|
||||||
.theme.active .theme-screenshot {
|
|
||||||
}
|
|
||||||
|
|
||||||
.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);
|
-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-browser .theme.active .theme-actions {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background: #2f2f2f;
|
background: #2f2f2f;
|
||||||
|
@ -6533,23 +6524,23 @@ span.imgedit-scale-warn {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .theme-actions .button {
|
.theme-browser .theme.active .theme-actions .button {
|
||||||
float: right;
|
float: right;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.active .current-label {
|
.theme-browser .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 .theme-update {
|
.theme-browser .theme.active .theme-update {
|
||||||
top: 48px;
|
top: 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme .theme-author {
|
.theme-browser .theme .theme-author {
|
||||||
background: #222;
|
background: #222;
|
||||||
color: #eee;
|
color: #eee;
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -6560,11 +6551,11 @@ span.imgedit-scale-warn {
|
||||||
bottom: 56px;
|
bottom: 56px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.display-author .theme-author {
|
.theme-browser .theme.display-author .theme-author {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme.display-author .theme-author a {
|
.theme-browser .theme.display-author .theme-author a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
@ -6572,12 +6563,12 @@ span.imgedit-scale-warn {
|
||||||
/**
|
/**
|
||||||
* Add new theme
|
* Add new theme
|
||||||
*/
|
*/
|
||||||
.theme-browser .add-new-theme {
|
.theme-browser .theme.add-new-theme {
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme a {
|
.theme-browser .theme.add-new-theme a {
|
||||||
color: #999;
|
color: #999;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -6585,7 +6576,7 @@ span.imgedit-scale-warn {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:after {
|
.theme-browser .theme.add-new-theme:after {
|
||||||
display: block;
|
display: block;
|
||||||
content: '';
|
content: '';
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -6605,7 +6596,7 @@ span.imgedit-scale-warn {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme span:after {
|
.theme-browser .theme.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%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -6627,22 +6618,22 @@ span.imgedit-scale-warn {
|
||||||
z-index:4;
|
z-index:4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover .theme-screenshot {
|
.theme-browser .theme.add-new-theme:hover .theme-screenshot {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover span:after {
|
.theme-browser .theme.add-new-theme:hover span:after {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: #0074a2;
|
color: #0074a2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover:after {
|
.theme-browser .theme.add-new-theme:hover:after {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: #0074a2;
|
background: #0074a2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme .theme-name {
|
.theme-browser .theme.add-new-theme .theme-name {
|
||||||
background: none;
|
background: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
@ -6651,7 +6642,7 @@ span.imgedit-scale-warn {
|
||||||
top: -50px;
|
top: -50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-browser .add-new-theme:hover .theme-name {
|
.theme-browser .theme.add-new-theme:hover .theme-name {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
@ -6767,7 +6758,6 @@ body.theme-overlay-open {
|
||||||
content: '\f341';
|
content: '\f341';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.theme-overlay .theme-wrap {
|
.theme-overlay .theme-wrap {
|
||||||
clear: both;
|
clear: both;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -6803,9 +6793,6 @@ body.theme-overlay-open {
|
||||||
z-index: 30;
|
z-index: 30;
|
||||||
}
|
}
|
||||||
|
|
||||||
.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;
|
||||||
|
@ -6915,7 +6902,7 @@ body.theme-overlay-open {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* No screenshot placeholder */
|
/* No screenshot placeholder */
|
||||||
.theme .theme-screenshot.blank,
|
.theme-browser .theme .theme-screenshot.blank,
|
||||||
.theme-overlay .screenshot.blank {
|
.theme-overlay .screenshot.blank {
|
||||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAALElEQVQYGWO8d+/efwYkoKioiMRjYGBC4WHhUK6A8T8QIJt8//59ZC493AAAQssKpBK4F5AAAAAASUVORK5CYII=);
|
||||||
}
|
}
|
||||||
|
@ -6999,9 +6986,6 @@ body.theme-overlay-open {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-overlay .theme-actions {
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Theme Updates info */
|
/* Theme Updates info */
|
||||||
.theme-overlay .theme-update-message {
|
.theme-overlay .theme-update-message {
|
||||||
background: #fefaf7;
|
background: #fefaf7;
|
||||||
|
@ -7040,16 +7024,16 @@ body.theme-overlay-open {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@media only screen and (min-width: 1700px) {
|
@media only screen and (min-width: 1700px) {
|
||||||
.theme {
|
.theme-browser .theme {
|
||||||
width: 22.7%;
|
width: 22.7%;
|
||||||
margin: 0 3% 3% 0;
|
margin: 0 3% 3% 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(3n) {
|
.theme-browser .theme:nth-child(3n) {
|
||||||
margin-right: 3%;
|
margin-right: 3%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(4n) {
|
.theme-browser .theme:nth-child(4n) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7061,16 +7045,16 @@ body.theme-overlay-open {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 1200px) {
|
@media only screen and (max-width: 1200px) {
|
||||||
.theme {
|
.theme-browser .theme {
|
||||||
width: 47.5%;
|
width: 47.5%;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(even) {
|
.theme-browser .theme:nth-child(even) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(odd) {
|
.theme-browser .theme:nth-child(odd) {
|
||||||
margin-right: 5%;
|
margin-right: 5%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7084,7 +7068,7 @@ body.theme-overlay-open {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 780px) {
|
@media only screen and (max-width: 780px) {
|
||||||
.theme.active .theme-actions .button {
|
.theme-browser .theme.active .theme-actions .button {
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
margin-right: -3px
|
margin-right: -3px
|
||||||
}
|
}
|
||||||
|
@ -7119,17 +7103,17 @@ body.theme-overlay-open {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 650px) {
|
@media only screen and (max-width: 650px) {
|
||||||
.theme {
|
.theme-browser .theme {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:hover .theme-actions {
|
.theme-browser .theme:hover .theme-actions {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme:nth-child(2n),
|
.theme-browser .theme:nth-child(2n),
|
||||||
.theme:nth-child(3n) {
|
.theme-browser .theme:nth-child(3n) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue