104 lines
2.3 KiB
CSS
104 lines
2.3 KiB
CSS
/* Styles for WordPress Activity Stats Plugin - Frontend Shortcodes */
|
|
|
|
/* Shortcode [statpress_summary] */
|
|
.statpress-shortcode-container table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 2em;
|
|
}
|
|
.statpress-shortcode-container th,
|
|
.statpress-shortcode-container td {
|
|
padding: 8px 12px;
|
|
border: 1px solid #ddd;
|
|
text-align: left;
|
|
}
|
|
.statpress-shortcode-container th {
|
|
background-color: #f4f4f4;
|
|
}
|
|
|
|
.statpress-activity-table td:nth-child(4),
|
|
.statpress-activity-table td:nth-child(5) {
|
|
text-align: right;
|
|
}
|
|
|
|
/* Styles for the nested details table */
|
|
.statpress-activity-details-row > .statpress-activity-details-cell {
|
|
padding: 0 !important;
|
|
border-top: none;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.statpress-nested-details-table {
|
|
width: 100%;
|
|
margin: 0;
|
|
background-color: #fdfdfd;
|
|
border: none !important;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.statpress-nested-details-table th,
|
|
.statpress-nested-details-table td {
|
|
border: none !important;
|
|
padding: 6px 12px;
|
|
text-align: center;
|
|
font-size: 0.9em;
|
|
width: 33.33%;
|
|
}
|
|
|
|
.statpress-nested-details-table th {
|
|
background-color: transparent;
|
|
font-weight: normal;
|
|
color: #777;
|
|
padding-top: 8px;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.statpress-nested-details-table td {
|
|
font-weight: bold;
|
|
padding-top: 0;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
/* Shortcode [statpress_activity] */
|
|
.statpress-single-activity-shortcode {
|
|
border: 1px solid #eee;
|
|
padding: 15px;
|
|
margin-bottom: 1.5em;
|
|
border-radius: 5px;
|
|
background: #f9f9f9;
|
|
}
|
|
.statpress-single-activity-shortcode h4 {
|
|
margin-top: 0;
|
|
}
|
|
.statpress-single-activity-shortcode p em {
|
|
color: #777;
|
|
font-size: 0.9em;
|
|
}
|
|
.statpress-single-columns-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 30px;
|
|
margin-bottom: 15px;
|
|
}
|
|
.statpress-single-col {
|
|
flex: 1;
|
|
min-width: 240px;
|
|
}
|
|
.statpress-single-summary-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
.statpress-single-summary-table th,
|
|
.statpress-single-summary-table td {
|
|
padding: 4px 0;
|
|
border: none;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
.statpress-single-summary-table th {
|
|
font-weight: bold;
|
|
padding-right: 1em;
|
|
white-space: nowrap;
|
|
width: 1%;
|
|
}
|