quản lí robot
This commit is contained in:
@@ -18,6 +18,122 @@ textarea {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
/* Compact navigation: only one branch is open, with native button keyboard support. */
|
||||
.sidebar-nav {
|
||||
padding: 0 0.75rem;
|
||||
overscroll-behavior: contain;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.sidebar-menu,
|
||||
.sidebar-children {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
gap: 0.2rem;
|
||||
}
|
||||
|
||||
.sidebar-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.625rem;
|
||||
width: 100%;
|
||||
min-height: 2.25rem;
|
||||
padding: 0.4375rem 0.625rem;
|
||||
border-radius: 0.375rem;
|
||||
color: #475569;
|
||||
font-size: 0.9375rem;
|
||||
line-height: 1.25rem;
|
||||
text-align: left;
|
||||
transition: color 0.15s, background-color 0.15s;
|
||||
}
|
||||
|
||||
.sidebar-link:hover {
|
||||
background: #e2e8f0;
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
.sidebar-link:focus-visible {
|
||||
outline: 2px solid #3755c3;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.sidebar-link .material-symbols-outlined {
|
||||
flex-shrink: 0;
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
.sidebar-text {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sidebar-link[aria-current="page"] {
|
||||
background: #e2e8f0;
|
||||
color: #0f172a;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.sidebar-group-toggle[data-active="true"] {
|
||||
color: #0f172a;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.sidebar-link .sidebar-chevron {
|
||||
margin-left: auto;
|
||||
font-size: 1rem;
|
||||
transition: transform 0.15s;
|
||||
}
|
||||
|
||||
.sidebar-group-toggle[aria-expanded="true"] .sidebar-chevron {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.sidebar-children {
|
||||
margin: 0.25rem 0 0.375rem 1.375rem;
|
||||
padding-left: 0.375rem;
|
||||
border-left: 1px dashed #cbd5e1;
|
||||
gap: 0.125rem;
|
||||
}
|
||||
|
||||
.sidebar-children[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar-children .sidebar-link {
|
||||
min-height: 2.125rem;
|
||||
padding-top: 0.4375rem;
|
||||
padding-bottom: 0.4375rem;
|
||||
}
|
||||
|
||||
.sidebar-admin {
|
||||
margin-top: 0.5rem;
|
||||
padding-top: 0.5rem;
|
||||
border-top: 1px solid #e2e8f0;
|
||||
}
|
||||
|
||||
.dark .sidebar-link {
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
.dark .sidebar-link:hover,
|
||||
.dark .sidebar-link[aria-current="page"] {
|
||||
background: #1e293b;
|
||||
color: #f8fafc;
|
||||
}
|
||||
|
||||
.dark .sidebar-group-toggle[data-active="true"] {
|
||||
color: #f8fafc;
|
||||
}
|
||||
|
||||
.dark .sidebar-children,
|
||||
.dark .sidebar-admin {
|
||||
border-color: #334155;
|
||||
}
|
||||
|
||||
.table-wrap,
|
||||
.overflow-x-auto {
|
||||
overscroll-behavior-x: contain;
|
||||
|
||||
Reference in New Issue
Block a user