Files
wpa-superstar-plugin/admin/css/wp-allstars-plugins.css

203 lines
3.6 KiB
CSS

/* Plugin List Container */
.wp-list-table-container {
margin-top: 20px;
position: relative;
min-height: 400px;
}
/* Plugin Cards */
.plugin-card {
float: left;
margin: 0 8px 16px;
width: calc(50% - 16px);
border: 1px solid #dcdcde;
box-sizing: border-box;
background-color: #fff;
box-shadow: 0 1px 1px rgba(0,0,0,.04);
padding: 0;
}
.plugin-card-top {
padding: 20px 20px 10px;
position: relative;
min-height: 135px;
}
.plugin-card .name,
.plugin-card .desc {
margin-right: 120px;
}
.plugin-card .name h3 {
font-size: 15px;
line-height: 1.3;
margin: 0 0 12px;
}
.plugin-card .desc {
color: #646970;
font-size: 13px;
line-height: 1.5;
margin: 0 0 10px;
}
.plugin-card .plugin-card-bottom {
clear: both;
padding: 12px 20px;
background-color: #f6f7f7;
border-top: 1px solid #dcdcde;
overflow: hidden;
}
.plugin-card .column-rating {
line-height: 23px;
}
.plugin-card .column-updated,
.plugin-card .column-downloaded {
text-align: right;
color: #646970;
font-size: 13px;
}
.plugin-card .plugin-icon {
position: absolute;
top: 20px;
right: 20px;
width: 100px;
height: 100px;
}
.plugin-card .action-links {
position: relative;
}
.plugin-action-buttons {
clear: right;
float: right;
margin-left: 2em;
margin-bottom: 1em;
text-align: right;
}
.plugin-action-buttons .button {
margin-right: 5px;
}
.plugin-card-bottom .star-rating {
display: inline-block;
vertical-align: middle;
}
/* Plugin Filters */
.wpa-plugin-filters {
margin: 20px 0;
padding: 12px 15px;
background: #fff;
border: 1px solid #c3c4c7;
border-radius: 4px;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.wpa-plugin-filters a {
margin: 0;
}
/* Loading Overlay */
.wpa-loading-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.8);
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
}
/* Theme Browser */
.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 rgba(0,0,0,.04);
box-sizing: border-box;
}
.theme-browser .theme .theme-screenshot {
display: block;
overflow: hidden;
position: relative;
background: #fff;
}
.theme-browser .theme .theme-screenshot img {
display: block;
width: 100%;
height: auto;
}
.theme-browser .theme .theme-name {
font-size: 15px;
font-weight: 600;
height: 48px;
margin: 0;
padding: 15px;
box-shadow: inset 0 1px 0 rgba(0,0,0,.1);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
background: #f6f7f7;
position: relative;
}
.theme-browser .theme .theme-actions {
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 0;
right: 0;
bottom: auto;
height: auto;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
background: rgba(255, 255, 255, 0.9);
padding: 20px 0;
opacity: 0;
transition: opacity .1s ease-in-out;
}
.theme-browser .theme:hover .theme-actions {
opacity: 1;
}
.theme-browser .theme .theme-actions .button {
margin: 0;
}
/* Responsive Adjustments */
@media screen and (max-width: 1100px) {
.plugin-card {
width: calc(100% - 16px);
}
.theme-browser .theme {
width: 47%;
}
}
@media screen and (max-width: 782px) {
.theme-browser .theme {
width: 100%;
margin-right: 0;
}
}