/*------------------------------------------------------------------------------
------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
------------------------------------------------------------------------------*/
body.js .theme-browser.search-loading {
.themes-php:not(.network-admin) .wrap h1 {
.themes-php .wrap h1 .button {
.themes-php .search-form {
.themes-php .wp-filter-search {
/* Position admin messages */
.theme .notice.is-dismissible {
border: 1px solid #dcdcde;
box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1);
.theme-browser .theme:nth-child(3n) {
.theme-browser .theme:hover,
.theme-browser .theme:focus {
.theme-browser .theme .theme-name {
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
background: rgba(255, 255, 255, 0.65);
/* Activate and Customize buttons, shown on hover and focus */
.theme-browser .theme .theme-actions {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
transition: opacity 0.1s ease-in-out;
background: rgba(246, 247, 247, 0.7);
border-left: 1px solid rgba(0, 0, 0, 0.05);
.theme-browser .theme:hover .theme-actions,
.theme-browser .theme.focus .theme-actions,
.theme-browser .theme:focus .theme-actions {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
.theme-browser .theme .theme-actions .button-primary {
.theme-browser .theme .theme-actions .button {
* Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size
.theme-browser .theme .theme-screenshot {
-webkit-backface-visibility: hidden; /* Prevents flicker of the screenshot on hover. */
transition: opacity 0.2s ease-in-out;
.theme-browser .theme .theme-screenshot:after {
padding-top: 66.66666%; /* using a 3/2 aspect ratio */
.theme-browser .theme .theme-screenshot img {
transition: opacity 0.2s ease-in-out;
.theme-browser .theme:hover .theme-screenshot,
.theme-browser .theme:focus .theme-screenshot {
.theme-browser.rendered .theme:hover .theme-screenshot img,
.theme-browser.rendered .theme:focus .theme-screenshot img {
.theme-browser .theme .more-details {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
background: rgba(0, 0, 0, 0.7);
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
-webkit-font-smoothing: antialiased;
transition: opacity 0.1s ease-in-out;
.theme-browser .theme:focus {
box-shadow: 0 0 2px rgba(79, 148, 212, 0.8);
.theme-browser .theme:focus .more-details {
/* Current theme needs to have its action always on view */
.theme-browser .theme.active:focus .theme-actions {
.theme-browser.rendered .theme:hover .more-details,
.theme-browser.rendered .theme:focus .more-details {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
* The currently active theme
.theme-browser .theme.active .theme-name {
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5);
.theme-browser .customize-control .theme.active .theme-name {
.theme-browser .theme.active .theme-name span {
.theme-browser .theme.active .theme-actions {
background: rgba(44, 51, 56, 0.7);
.theme-browser .theme.active .theme-actions,
.theme-browser .theme .theme-actions {
transform: translateY(-50%);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
.theme-browser .theme.active .theme-actions .button-primary {
.theme-browser .theme .theme-author {
.theme-browser .theme.display-author .theme-author {
.theme-browser .theme.display-author .theme-author a {
.theme-browser .theme.add-new-theme {
.theme-browser .theme.add-new-theme a {
.theme-browser .theme.add-new-theme a:after {
background: rgba(0, 0, 0, 0);
border: 5px dashed #dcdcde;
border: 5px dashed rgba(0, 0, 0, 0.1);
.theme-browser .theme.add-new-theme span:after {
background: rgba(140, 143, 148, 0.1);
-webkit-font-smoothing: antialiased;
font: normal 74px/115px dashicons;
.rtl .theme-browser .theme.add-new-theme span:after {
.theme-browser .theme.add-new-theme a:hover .theme-screenshot,
.theme-browser .theme.add-new-theme a:focus .theme-screenshot {
.theme-browser .theme.add-new-theme a:hover span:after,
.theme-browser .theme.add-new-theme a:focus span:after {
.theme-browser .theme.add-new-theme a:hover:after,
.theme-browser .theme.add-new-theme a:focus:after {
border-color: transparent;
.theme-browser .theme.add-new-theme .theme-name {
.theme-browser .theme.add-new-theme a:hover .theme-name,
.theme-browser .theme.add-new-theme a:focus .theme-name {
* Shown when clicking a theme
.theme-overlay .theme-backdrop {
background: rgba(240, 240, 241, 0.9);
z-index: 10000; /* Over WP Pointers. */
.theme-overlay .theme-header {
border-bottom: 1px solid #dcdcde;
.theme-overlay .theme-header button {
.theme-overlay .theme-header .close {
border-left: 1px solid #dcdcde;
background-color: transparent;
transition: color .1s ease-in-out, background .1s ease-in-out;
.theme-overlay .theme-header .close:before {
font: normal 22px/50px dashicons !important;
/* Left and right navigation */
.theme-overlay .theme-header .right,
.theme-overlay .theme-header .left {
background-color: transparent;
border-right: 1px solid #dcdcde;
transition: color .1s ease-in-out, background .1s ease-in-out;
.theme-overlay .theme-header .close:focus,
.theme-overlay .theme-header .close:hover,
.theme-overlay .theme-header .right:focus,
.theme-overlay .theme-header .right:hover,
.theme-overlay .theme-header .left:focus,
.theme-overlay .theme-header .left:hover {
.theme-overlay .theme-header .close:focus:before,
.theme-overlay .theme-header .close:hover:before {
.theme-overlay .theme-header .close:focus,
.theme-overlay .theme-header .right:focus,
.theme-overlay .theme-header .left:focus {
.theme-overlay .theme-header .left.disabled,
.theme-overlay .theme-header .right.disabled,
.theme-overlay .theme-header .left.disabled:hover,
.theme-overlay .theme-header .right.disabled:hover {
.theme-overlay .theme-header .right:before,
.theme-overlay .theme-header .left:before {
font: normal 20px/50px dashicons !important;
.theme-overlay .theme-header .left:before {
.theme-overlay .theme-header .right:before {
.theme-overlay .theme-wrap {
box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.1);
z-index: 10000; /* Over WP Pointers. */
-webkit-overflow-scrolling: touch;
body.folded .theme-browser ~ .theme-overlay .theme-wrap {
.theme-overlay .theme-about {
.theme-overlay .theme-actions {
border-top: 1px solid #f0f0f1;