Initial commit
This commit is contained in:
184
assets/css/admin.css
Normal file
184
assets/css/admin.css
Normal file
@@ -0,0 +1,184 @@
|
||||
/**
|
||||
* Door Status Voting - Admin Styles
|
||||
*/
|
||||
|
||||
.dsv-admin-wrap {
|
||||
max-width: 1200px;
|
||||
}
|
||||
|
||||
.dsv-admin-wrap h1 {
|
||||
font-size: 28px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
/* Grid Layout */
|
||||
.dsv-admin-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.dsv-admin-card {
|
||||
background: white;
|
||||
border: 1px solid #ccd0d4;
|
||||
border-radius: 8px;
|
||||
padding: 20px 25px;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
|
||||
}
|
||||
|
||||
.dsv-admin-card h2 {
|
||||
margin: 0 0 15px 0;
|
||||
padding: 0 0 10px 0;
|
||||
border-bottom: 1px solid #eee;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.dsv-admin-card-full {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
/* Shortcode Display */
|
||||
.dsv-shortcode {
|
||||
display: block;
|
||||
background: #f0f0f1;
|
||||
padding: 12px 15px;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
margin: 10px 0;
|
||||
user-select: all;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dsv-shortcode:hover {
|
||||
background: #e5e5e5;
|
||||
}
|
||||
|
||||
/* Form Elements */
|
||||
#dsv-settings-form textarea {
|
||||
width: 100%;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
#dsv-settings-form .button {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.dsv-save-status {
|
||||
margin-left: 10px;
|
||||
color: #00a32a;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* Table Styles */
|
||||
.dsv-admin-card table {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.dsv-admin-card table th,
|
||||
.dsv-admin-card table td {
|
||||
padding: 12px 10px;
|
||||
}
|
||||
|
||||
/* Badges */
|
||||
.dsv-badge {
|
||||
display: inline-block;
|
||||
padding: 4px 10px;
|
||||
border-radius: 12px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.dsv-badge-open {
|
||||
background: #4CAF50;
|
||||
}
|
||||
|
||||
.dsv-badge-closed {
|
||||
background: #f44336;
|
||||
}
|
||||
|
||||
.dsv-badge-tied {
|
||||
background: #FF9800;
|
||||
}
|
||||
|
||||
.dsv-meta-empty {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/* Meta-Status Buttons */
|
||||
.dsv-meta-buttons {
|
||||
margin-top: 5px;
|
||||
display: flex;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.dsv-meta-set-btn {
|
||||
min-width: 28px;
|
||||
padding: 2px 5px !important;
|
||||
font-size: 12px !important;
|
||||
line-height: 1.4 !important;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
.dsv-meta-set-btn.active {
|
||||
box-shadow: inset 0 0 0 2px #2271b1;
|
||||
background: #f0f6fc;
|
||||
}
|
||||
|
||||
/* Abweichung hervorheben */
|
||||
.dsv-mismatch {
|
||||
background: #fff3cd !important;
|
||||
}
|
||||
|
||||
.dsv-mismatch td {
|
||||
border-left-color: #FF9800;
|
||||
}
|
||||
|
||||
.dsv-mismatch td:first-child {
|
||||
border-left: 3px solid #FF9800;
|
||||
}
|
||||
|
||||
/* Disabled Label */
|
||||
.dsv-disabled-label {
|
||||
color: #d63638;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/* Action Buttons */
|
||||
.dsv-actions-cell {
|
||||
min-width: 280px;
|
||||
}
|
||||
|
||||
.dsv-action-buttons {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.dsv-action-buttons .button {
|
||||
font-size: 11px;
|
||||
padding: 2px 8px;
|
||||
height: auto;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.dsv-reset-type-btn {
|
||||
min-width: 85px;
|
||||
}
|
||||
|
||||
/* No Data */
|
||||
.dsv-no-data {
|
||||
color: #666;
|
||||
font-style: italic;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
background: #f9f9f9;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 782px) {
|
||||
.dsv-admin-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user