v1.0.0
This commit is contained in:
commit
6708bbb67f
43 changed files with 8342 additions and 0 deletions
254
assets/css/media-audit-admin.css
Normal file
254
assets/css/media-audit-admin.css
Normal file
|
|
@ -0,0 +1,254 @@
|
|||
/* -----------------------------------------------------------------------
|
||||
Media Audit — Admin styles
|
||||
----------------------------------------------------------------------- */
|
||||
|
||||
/* Stats strip */
|
||||
.mra-stats {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
margin: 12px 0 20px;
|
||||
}
|
||||
|
||||
.mra-stat-box {
|
||||
background: #fff;
|
||||
border: 1px solid #dcdcde;
|
||||
border-radius: 4px;
|
||||
padding: 12px 20px;
|
||||
text-align: center;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
.mra-stat-box strong {
|
||||
display: block;
|
||||
font-size: 26px;
|
||||
line-height: 1.2;
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
.mra-stat-box span {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
color: #50575e;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.mra-stat-box small {
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
color: #787c82;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* Thumbnail */
|
||||
.mra-thumb {
|
||||
display: block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
object-fit: cover;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/* Usage list inside table cell */
|
||||
.mra-usage-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.mra-usage-list li {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
/* Filters row */
|
||||
.mra-filters select,
|
||||
.mra-filters input[type="checkbox"] {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
/* External status badges */
|
||||
.mra-badge {
|
||||
display: inline-block;
|
||||
padding: 2px 8px;
|
||||
border-radius: 3px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 1.6;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mra-badge-pending {
|
||||
background: #e8e8e8;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
.mra-badge-queued {
|
||||
background: #cce5ff;
|
||||
color: #004085;
|
||||
}
|
||||
|
||||
.mra-badge-scanned {
|
||||
background: #d4edda;
|
||||
color: #155724;
|
||||
}
|
||||
|
||||
.mra-badge-matches {
|
||||
background: #f8d7da;
|
||||
color: #721c24;
|
||||
}
|
||||
|
||||
.mra-badge-error {
|
||||
background: #fff3cd;
|
||||
color: #856404;
|
||||
}
|
||||
|
||||
.mra-badge-match-count {
|
||||
background: #721c24;
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
padding: 1px 6px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
/* Modal overlay */
|
||||
.mra-modal-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.55);
|
||||
z-index: 100000;
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.mra-modal-overlay.is-open {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/* Modal box */
|
||||
.mra-modal {
|
||||
background: #fff;
|
||||
border-radius: 4px;
|
||||
max-width: 720px;
|
||||
width: 90%;
|
||||
max-height: 80vh;
|
||||
overflow: auto;
|
||||
box-shadow: 0 6px 32px rgba(0, 0, 0, 0.28);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.mra-modal-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 14px 20px;
|
||||
border-bottom: 1px solid #dcdcde;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: #fff;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.mra-modal-header h3 {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mra-modal-close {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-size: 22px;
|
||||
line-height: 1;
|
||||
color: #50575e;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.mra-modal-close:hover {
|
||||
color: #1d2327;
|
||||
}
|
||||
|
||||
.mra-modal-body {
|
||||
padding: 16px 20px;
|
||||
}
|
||||
|
||||
.mra-modal-body .widefat {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Usages table inside modal */
|
||||
.mra-usages-table th {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Section headings inside modal (usage + external results) */
|
||||
.mra-section-heading {
|
||||
margin: 16px 0 8px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: #1d2327;
|
||||
border-bottom: 1px solid #dcdcde;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.mra-section-heading:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* Provider result row */
|
||||
.mra-provider-result {
|
||||
margin: 8px 0 6px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.mra-provider-result small {
|
||||
color: #787c82;
|
||||
}
|
||||
|
||||
/* Domains table inside modal */
|
||||
.mra-domains-table {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.mra-domains-table th {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Pricing reference table (settings page) */
|
||||
.mra-pricing-table {
|
||||
margin-top: 8px;
|
||||
border-collapse: collapse;
|
||||
font-size: 12px;
|
||||
color: #50575e;
|
||||
}
|
||||
|
||||
.mra-pricing-table th,
|
||||
.mra-pricing-table td {
|
||||
padding: 3px 16px 3px 0;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.mra-pricing-table thead th {
|
||||
font-weight: 600;
|
||||
border-bottom: 1px solid #dcdcde;
|
||||
}
|
||||
|
||||
/* Consensus block */
|
||||
.mra-consensus {
|
||||
background: #f0f8e8;
|
||||
border: 1px solid #c3e6a0;
|
||||
border-radius: 3px;
|
||||
padding: 10px 14px;
|
||||
margin-top: 10px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.mra-consensus strong {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
Loading…
Reference in a new issue