Files
att-consent/admin/css/admin.css
Steve Hanlon 6bf9f553de Initial commit: ATT Consent plugin v1.0.0
Google Consent Mode v2 cookie consent plugin with session attribution
preservation, custom script management, and gtag.js/GTM support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 05:45:42 +00:00

128 lines
2.2 KiB
CSS

/* ATT Consent Admin Styles */
.att-cc-admin-wrap .nav-tab-wrapper {
margin-bottom: 20px;
}
.att-cc-tab-content {
background: #fff;
border: 1px solid #ccd0d4;
border-top: none;
padding: 20px;
}
/* Scripts table */
#att-cc-scripts-table .column-name { width: 25%; }
#att-cc-scripts-table .column-category { width: 15%; }
#att-cc-scripts-table .column-placement { width: 12%; }
#att-cc-scripts-table .column-priority { width: 10%; }
#att-cc-scripts-table .column-status { width: 12%; }
#att-cc-scripts-table .column-actions { width: 20%; }
.att-cc-badge {
display: inline-block;
padding: 2px 8px;
border-radius: 3px;
font-size: 12px;
font-weight: 600;
color: #fff;
}
.att-cc-badge--functional { background: #2196F3; }
.att-cc-badge--analytics { background: #FF9800; }
.att-cc-badge--marketing { background: #9C27B0; }
.att-cc-status {
display: inline-block;
padding: 2px 8px;
border-radius: 3px;
font-size: 12px;
}
.att-cc-status--active {
background: #e7f5e7;
color: #2e7d32;
}
.att-cc-status--inactive {
background: #f5e7e7;
color: #c62828;
}
/* Admin modal */
.att-cc-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 100100;
display: flex;
align-items: center;
justify-content: center;
}
.att-cc-modal__overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
}
.att-cc-modal__content {
position: relative;
background: #fff;
border-radius: 4px;
padding: 24px;
max-width: 700px;
width: 90%;
max-height: 85vh;
overflow-y: auto;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.att-cc-modal__content h2 {
margin-top: 0;
}
.att-cc-modal__actions {
padding-top: 16px;
border-top: 1px solid #ddd;
display: flex;
gap: 8px;
}
/* Code textarea */
textarea.code {
font-family: Consolas, Monaco, 'Courier New', monospace;
font-size: 13px;
tab-size: 4;
}
/* Color picker spacing */
.att-cc-admin-wrap .wp-picker-container {
display: inline-block;
}
/* Feedback messages */
.att-cc-feedback {
padding: 8px 12px;
margin: 10px 0;
border-radius: 3px;
display: none;
}
.att-cc-feedback--success {
background: #e7f5e7;
border: 1px solid #2e7d32;
color: #2e7d32;
}
.att-cc-feedback--error {
background: #f5e7e7;
border: 1px solid #c62828;
color: #c62828;
}