Update from Git Manager GUI
This commit is contained in:
46
assets/css/admin.css
Normal file
46
assets/css/admin.css
Normal file
@@ -0,0 +1,46 @@
|
||||
/* ===== WP Multi Wiki – Admin CSS ======================================== */
|
||||
.wmw-admin-wrap { max-width: 1200px; }
|
||||
.wmw-admin-wrap h1 .dashicons { vertical-align: middle; margin-right: .3rem; color: #0073aa; }
|
||||
|
||||
/* ── Wiki Cards Grid (Overview) ─────────────────────────────────────────── */
|
||||
.wmw-wiki-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
||||
gap: 1.25rem;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
.wmw-wiki-card {
|
||||
background: #fff;
|
||||
border: 1px solid #dcdcde;
|
||||
border-radius: 6px;
|
||||
padding: 1.25rem;
|
||||
box-shadow: 0 1px 4px rgba(0,0,0,.05);
|
||||
}
|
||||
.wmw-wiki-card-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
|
||||
.wmw-wiki-card-header .dashicons { font-size: 2rem; width: 2rem; height: 2rem; }
|
||||
.wmw-wiki-card-header .wmw-wiki-icon-img { width: 36px; height: 36px; object-fit: contain; }
|
||||
.wmw-wiki-card-header h3 { margin: 0; font-size: 1rem; }
|
||||
.wmw-wiki-card-meta { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: #646970; margin-bottom: .75rem; }
|
||||
.wmw-version-badge { background: #0073aa; color: #fff; padding: .1rem .45rem; border-radius: 20px; font-size: .75rem; }
|
||||
.wmw-wiki-card-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
|
||||
|
||||
/* ── Empty State ─────────────────────────────────────────────────────────── */
|
||||
.wmw-empty-state {
|
||||
text-align: center;
|
||||
padding: 3rem 2rem;
|
||||
background: #f9f9f9;
|
||||
border: 2px dashed #dcdcde;
|
||||
border-radius: 8px;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
.wmw-empty-state .dashicons { font-size: 4rem; width: 4rem; height: 4rem; color: #b0b5bd; }
|
||||
.wmw-empty-state h2 { margin: .75rem 0 .5rem; color: #646970; }
|
||||
.wmw-empty-state p { color: #8c8f94; margin-bottom: 1.25rem; }
|
||||
|
||||
/* ── Stats Bar ───────────────────────────────────────────────────────────── */
|
||||
.wmw-stats-bar { background: #fff; border: 1px solid #dcdcde; border-radius: 6px; padding: 1.25rem; margin-top: 1.5rem; }
|
||||
.wmw-stats-bar h2 { margin: 0 0 1rem; font-size: 1rem; }
|
||||
.wmw-stats-grid { display: flex; gap: 2rem; flex-wrap: wrap; }
|
||||
.wmw-stat { display: flex; flex-direction: column; align-items: center; min-width: 80px; }
|
||||
.wmw-stat-number { font-size: 2rem; font-weight: 700; color: #0073aa; line-height: 1; }
|
||||
.wmw-stat-label { font-size: .8rem; color: #646970; margin-top: .25rem; }
|
||||
Reference in New Issue
Block a user