1 YˆØî „h.¸æÀê?÷Y/*------------------------------------------------------------------------------ 16.0 - Themes ------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------ 16.1 - Manage Themes ------------------------------------------------------------------------------*/ .themes-php { overflow-y: scroll; } body.js .theme-browser.search-loading { display: none; } .theme-browser .themes { clear: both; } .themes-php .wrap h1 .button { margin-left: 20px; } /* Search form */ .themes-php .search-form { display: inline-flex; align-items: center; position: relative; top: 0; gap: .5rem; width: 100%; justify-content: end; } .themes-php .wp-filter-search { position: relative; margin: 0; width: 280px; } /* Position admin messages */ .theme .notice, .theme .notice.is-dismissible { left: 0; margin: 0; position: absolute; right: 0; top: 0; } /** * Main theme element * (has flexible margins) */ .theme-browser .theme { cursor: pointer; float: left; margin: 0 4% 4% 0; position: relative; width: 30.6%; border: 1px solid #dcdcde; box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.1); box-sizing: border-box; } .theme-browser .theme:nth-child(3n) { margin-right: 0; } .theme-browser .theme:hover, .theme-browser .theme.focus { cursor: pointer; } .theme-browser .theme .theme-name { font-size: 15px; font-weight: 600; height: 18px; margin: 0; padding: 15px; box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: #fff; 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)"; opacity: 0; transition: opacity 0.1s ease-in-out; height: auto; 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 { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; opacity: 1; } .theme-browser .theme .theme-actions .button-primary { margin-right: 3px; } .theme-browser .theme .theme-actions .button { float: none; margin-left: 3px; } /** * Theme Screenshot * * Has a fixed aspect ratio of 1.5 to 1 regardless of screenshot size * It is also responsive. */ .theme-browser .theme .theme-screenshot { display: block; overflow: hidden; position: relative; -webkit-backface-visibility: hidden; /* Prevents flicker of the screenshot on hover. */ transition: opacity 0.2s ease-in-out; } .theme-browser .theme .theme-screenshot:after { content: ""; display: block; padding-top: 66.66666%; /* using a 3/2 aspect ratio */ } .theme-browser .theme .theme-screenshot img { height: auto; position: absolute; left: 0; top: 0; width: 100%; transition: opacity 0.2s ease-in-out; } .theme-browser .theme:hover .theme-screenshot, .theme-browser .theme.focus .theme-screenshot { background: #fff; } .theme-browser.rendered .theme:hover .theme-screenshot img, .theme-browser.rendered .theme.focus .theme-screenshot img { opacity: 0.4; } .theme-browser .theme .more-details { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; opacity: 0; position: absolute; top: 35%; right: 20%; left: 20%; width: 60%; background: #1d2327; background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 15px; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); -webkit-font-smoothing: antialiased; font-weight: 600; padding: 15px 12px; text-align: center; border-radius: 3px; border: none; transition: opacity 0.1s ease-in-out; cursor: pointer; } .theme-browser .theme .more-details:focus { box-shadow: 0 0 0 2px #2271b1; } .theme-browser .theme.focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; } .theme-browser .theme.focus .more-details { opacity: 1; } /* Current