style(admin): compact admin shell
This commit is contained in:
@@ -415,7 +415,7 @@ textarea:focus-visible {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--space-4);
|
gap: var(--space-4);
|
||||||
padding: var(--space-2) var(--space-5);
|
padding: 8px 20px;
|
||||||
background-color: var(--bg-primary);
|
background-color: var(--bg-primary);
|
||||||
border-bottom: 1px solid var(--border-color);
|
border-bottom: 1px solid var(--border-color);
|
||||||
z-index: var(--z-dropdown);
|
z-index: var(--z-dropdown);
|
||||||
@@ -437,7 +437,7 @@ textarea:focus-visible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.admin-topbar-title .mud-typography--h6 {
|
.admin-topbar-title .mud-typography--h6 {
|
||||||
font-size: 1rem;
|
font-size: 0.95rem;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
font-weight: var(--font-weight-semibold);
|
font-weight: var(--font-weight-semibold);
|
||||||
}
|
}
|
||||||
@@ -450,7 +450,7 @@ textarea:focus-visible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.admin-drawer {
|
.admin-drawer {
|
||||||
width: 240px;
|
width: 224px;
|
||||||
background-color: var(--bg-primary);
|
background-color: var(--bg-primary);
|
||||||
border-right: 1px solid var(--border-color);
|
border-right: 1px solid var(--border-color);
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -461,7 +461,7 @@ textarea:focus-visible {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--space-3);
|
gap: var(--space-3);
|
||||||
padding: var(--space-4) var(--space-3);
|
padding: 12px;
|
||||||
border-bottom: 1px solid var(--border-color-light);
|
border-bottom: 1px solid var(--border-color-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -480,26 +480,26 @@ textarea:focus-visible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.admin-nav {
|
.admin-nav {
|
||||||
padding: var(--space-2) 0;
|
padding: 6px 0;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-nav .mud-nav-link,
|
.admin-nav .mud-nav-link,
|
||||||
.admin-nav .mud-nav-group-header {
|
.admin-nav .mud-nav-group-header {
|
||||||
margin: 2px var(--space-2) !important;
|
margin: 1px 8px !important;
|
||||||
border-radius: var(--radius-md) !important;
|
border-radius: 6px !important;
|
||||||
transition: all var(--transition-base) !important;
|
transition: all var(--transition-base) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-nav .mud-nav-link {
|
.admin-nav .mud-nav-link {
|
||||||
min-height: 40px;
|
min-height: 36px;
|
||||||
font-size: 0.92rem;
|
font-size: 0.85rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-nav .mud-nav-group-header {
|
.admin-nav .mud-nav-group-header {
|
||||||
min-height: 40px;
|
min-height: 36px;
|
||||||
font-size: 0.92rem;
|
font-size: 0.85rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-nav .mud-nav-link:hover {
|
.admin-nav .mud-nav-link:hover {
|
||||||
@@ -543,7 +543,7 @@ textarea:focus-visible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.admin-content {
|
.admin-content {
|
||||||
padding: var(--space-6);
|
padding: 20px;
|
||||||
max-width: 1400px;
|
max-width: 1400px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -557,9 +557,9 @@ textarea:focus-visible {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--space-6);
|
gap: 20px;
|
||||||
margin-bottom: var(--space-6);
|
margin-bottom: 20px;
|
||||||
padding-bottom: var(--space-4);
|
padding-bottom: 12px;
|
||||||
border-bottom: 1px solid var(--border-color);
|
border-bottom: 1px solid var(--border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -581,15 +581,15 @@ textarea:focus-visible {
|
|||||||
display: block;
|
display: block;
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
font-weight: var(--font-weight-semibold);
|
font-weight: var(--font-weight-semibold);
|
||||||
margin-bottom: var(--space-2);
|
margin-bottom: 4px;
|
||||||
font-size: var(--font-size-2xl);
|
font-size: 1.75rem;
|
||||||
line-height: var(--line-height-tight);
|
line-height: var(--line-height-tight);
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-page-subtitle {
|
.admin-page-subtitle {
|
||||||
display: block;
|
display: block;
|
||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
font-size: 0.95rem;
|
font-size: 0.9rem;
|
||||||
line-height: var(--line-height-normal);
|
line-height: var(--line-height-normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -604,7 +604,7 @@ textarea:focus-visible {
|
|||||||
|
|
||||||
/* Metric Card - Enterprise Grade */
|
/* Metric Card - Enterprise Grade */
|
||||||
.admin-metric-card {
|
.admin-metric-card {
|
||||||
padding: var(--space-4);
|
padding: 12px;
|
||||||
border-radius: var(--radius-md);
|
border-radius: var(--radius-md);
|
||||||
background-color: var(--bg-primary);
|
background-color: var(--bg-primary);
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
@@ -613,7 +613,7 @@ textarea:focus-visible {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
min-height: 140px;
|
min-height: 128px;
|
||||||
box-shadow: var(--shadow-xs);
|
box-shadow: var(--shadow-xs);
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -692,11 +692,11 @@ textarea:focus-visible {
|
|||||||
|
|
||||||
/* Surfaces & Containers */
|
/* Surfaces & Containers */
|
||||||
.admin-surface {
|
.admin-surface {
|
||||||
padding: var(--space-4) !important;
|
padding: 12px !important;
|
||||||
border-radius: var(--radius-md) !important;
|
border-radius: var(--radius-md) !important;
|
||||||
background-color: var(--bg-primary) !important;
|
background-color: var(--bg-primary) !important;
|
||||||
border: 1px solid var(--border-color) !important;
|
border: 1px solid var(--border-color) !important;
|
||||||
margin-bottom: var(--space-4) !important;
|
margin-bottom: 12px !important;
|
||||||
box-shadow: var(--shadow-xs);
|
box-shadow: var(--shadow-xs);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -704,9 +704,9 @@ textarea:focus-visible {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
gap: var(--space-4);
|
gap: 12px;
|
||||||
margin-bottom: var(--space-4);
|
margin-bottom: 12px;
|
||||||
padding-bottom: var(--space-3);
|
padding-bottom: 8px;
|
||||||
border-bottom: 1px solid var(--border-color-light);
|
border-bottom: 1px solid var(--border-color-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -715,14 +715,14 @@ textarea:focus-visible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.admin-section-header h6 {
|
.admin-section-header h6 {
|
||||||
font-size: 1rem;
|
font-size: 0.95rem;
|
||||||
font-weight: var(--font-weight-semibold);
|
font-weight: var(--font-weight-semibold);
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
margin-bottom: var(--space-1);
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-section-header p {
|
.admin-section-header p {
|
||||||
font-size: 0.875rem;
|
font-size: 0.8rem;
|
||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
@@ -731,7 +731,7 @@ textarea:focus-visible {
|
|||||||
.admin-table {
|
.admin-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
font-size: 0.875rem;
|
font-size: 0.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-table thead {
|
.admin-table thead {
|
||||||
@@ -740,11 +740,11 @@ textarea:focus-visible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.admin-table thead th {
|
.admin-table thead th {
|
||||||
padding: var(--space-2) var(--space-3);
|
padding: 6px 10px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: var(--font-weight-semibold);
|
font-weight: var(--font-weight-semibold);
|
||||||
color: var(--text-secondary);
|
color: var(--text-secondary);
|
||||||
font-size: var(--font-size-xs);
|
font-size: 0.7rem;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.5px;
|
||||||
}
|
}
|
||||||
@@ -763,7 +763,7 @@ textarea:focus-visible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.admin-table tbody td {
|
.admin-table tbody td {
|
||||||
padding: var(--space-2) var(--space-3);
|
padding: 6px 10px;
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user