almost functional
This commit is contained in:
@@ -187,68 +187,274 @@ hr {
|
||||
#sidebar-wrapper {
|
||||
background: var(--ots-surface);
|
||||
border-right: 1px solid var(--ots-border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* OTS sidebar override marker */
|
||||
.ots-sidebar-wrapper {
|
||||
box-shadow: inset 0 0 0 1px rgba(79, 140, 255, 0.2);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
background: var(--ots-surface);
|
||||
}
|
||||
|
||||
.ots-sidebar .sidebar-list a,
|
||||
.ots-sidebar .sidebar-main a {
|
||||
/* Sidebar Header */
|
||||
.ots-sidebar-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: 12px;
|
||||
padding: 16px;
|
||||
border-bottom: 1px solid var(--ots-border);
|
||||
background: var(--ots-surface);
|
||||
}
|
||||
|
||||
.ots-brand-logo {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgba(79, 140, 255, 0.15);
|
||||
border: 1px solid rgba(79, 140, 255, 0.3);
|
||||
border-radius: 6px;
|
||||
font-size: 18px;
|
||||
color: var(--ots-primary);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.ots-brand-text {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.ots-brand-name {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: var(--ots-text);
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.ots-sidebar-close {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--ots-text-secondary);
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: color var(--ots-transition);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.ots-sidebar-close:hover {
|
||||
color: var(--ots-text);
|
||||
}
|
||||
|
||||
/* Sidebar Content */
|
||||
.ots-sidebar {
|
||||
flex: 1;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 12px 0;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.ots-sidebar li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Sidebar Main Item */
|
||||
.ots-sidebar li.sidebar-main > a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin: 0 8px;
|
||||
padding: 10px 12px;
|
||||
border-radius: 6px;
|
||||
color: var(--ots-text);
|
||||
text-decoration: none;
|
||||
transition: background var(--ots-transition), color var(--ots-transition);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.ots-sidebar li.sidebar-main > a:hover {
|
||||
background: rgba(79, 140, 255, 0.12);
|
||||
color: var(--ots-primary);
|
||||
}
|
||||
|
||||
.ots-sidebar li.sidebar-main > a.active {
|
||||
background: rgba(79, 140, 255, 0.2);
|
||||
color: var(--ots-primary);
|
||||
}
|
||||
|
||||
/* Sidebar Section (Collapsible) */
|
||||
.ots-sidebar li.sidebar-section > a.sidebar-section-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin: 0 8px;
|
||||
padding: 10px 12px;
|
||||
border-radius: 6px;
|
||||
color: var(--ots-text);
|
||||
text-decoration: none;
|
||||
transition: background var(--ots-transition), color var(--ots-transition);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
background: none;
|
||||
border: none;
|
||||
text-align: left;
|
||||
width: calc(100% - 16px);
|
||||
}
|
||||
|
||||
.ots-sidebar li.sidebar-section > a.sidebar-section-toggle:hover {
|
||||
background: rgba(79, 140, 255, 0.12);
|
||||
color: var(--ots-primary);
|
||||
}
|
||||
|
||||
.ots-sidebar li.sidebar-section > a.sidebar-section-toggle.active {
|
||||
background: rgba(79, 140, 255, 0.12);
|
||||
color: var(--ots-primary);
|
||||
}
|
||||
|
||||
.ots-section-toggle-icon {
|
||||
margin-left: auto;
|
||||
font-size: 12px;
|
||||
transition: transform var(--ots-transition);
|
||||
}
|
||||
|
||||
.ots-sidebar li.sidebar-section > a.sidebar-section-toggle.active .ots-section-toggle-icon {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
/* Sidebar Subsection */
|
||||
.ots-sidebar .sidebar-subsection {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 4px 0;
|
||||
display: none;
|
||||
background: rgba(79, 140, 255, 0.05);
|
||||
}
|
||||
|
||||
.ots-sidebar .sidebar-subsection.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ots-sidebar .sidebar-subsection li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Sidebar List Item */
|
||||
.ots-sidebar li.sidebar-list > a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin: 2px 12px 2px 28px;
|
||||
padding: 8px 12px;
|
||||
border-radius: 4px;
|
||||
color: var(--ots-text-secondary);
|
||||
text-decoration: none;
|
||||
transition: background var(--ots-transition), color var(--ots-transition);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.ots-sidebar li.sidebar-list > a:hover {
|
||||
background: rgba(79, 140, 255, 0.12);
|
||||
color: var(--ots-primary);
|
||||
}
|
||||
|
||||
.ots-sidebar li.sidebar-list > a.active {
|
||||
background: rgba(79, 140, 255, 0.15);
|
||||
color: var(--ots-primary);
|
||||
}
|
||||
|
||||
/* Navigation Icons and Text */
|
||||
.ots-nav-icon {
|
||||
width: 18px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
opacity: 0.85;
|
||||
font-size: 14px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.ots-nav-text {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* Xibo sidebar refinements (dark) */
|
||||
#sidebar-wrapper .sidebar-title a {
|
||||
color: var(--ots-text-faint);
|
||||
/* Sidebar Spacer */
|
||||
.sidebar-spacer {
|
||||
height: 12px;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
/* Sidebar Footer */
|
||||
.ots-sidebar-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 12px 16px;
|
||||
border-top: 1px solid var(--ots-border);
|
||||
background: var(--ots-surface);
|
||||
}
|
||||
|
||||
.ots-user-section {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.ots-user-role {
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.08em;
|
||||
color: var(--ots-text-secondary);
|
||||
text-transform: uppercase;
|
||||
padding: 12px 16px 6px;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
#sidebar-wrapper .sidebar-list a,
|
||||
#sidebar-wrapper .sidebar-main a {
|
||||
display: block;
|
||||
margin: 2px 8px;
|
||||
padding: 10px 12px;
|
||||
border-radius: var(--ots-radius-sm);
|
||||
.ots-user-name {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--ots-text);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.ots-user-profile-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 4px;
|
||||
color: var(--ots-text-secondary);
|
||||
text-decoration: none;
|
||||
transition: background var(--ots-transition), color var(--ots-transition);
|
||||
font-size: 16px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
#sidebar-wrapper .sidebar-list a:hover,
|
||||
#sidebar-wrapper .sidebar-main a:hover {
|
||||
.ots-user-profile-link:hover {
|
||||
background: rgba(79, 140, 255, 0.12);
|
||||
color: var(--ots-primary);
|
||||
}
|
||||
|
||||
#sidebar-wrapper .sidebar {
|
||||
padding: 14px 0;
|
||||
}
|
||||
|
||||
#sidebar-wrapper .sidebar-main a,
|
||||
#sidebar-wrapper .sidebar-list a {
|
||||
display: block;
|
||||
padding: 10px 18px;
|
||||
color: var(--ots-text);
|
||||
border-left: 3px solid transparent;
|
||||
}
|
||||
|
||||
#sidebar-wrapper .sidebar-main a:hover,
|
||||
#sidebar-wrapper .sidebar-list a:hover {
|
||||
background: rgba(79, 140, 255, 0.12);
|
||||
@@ -534,6 +740,22 @@ textarea:focus {
|
||||
|
||||
.modal-content {
|
||||
border-radius: var(--ots-radius-lg);
|
||||
background-color: var(--ots-surface-2) !important;
|
||||
}
|
||||
|
||||
.modal,
|
||||
.modal-header,
|
||||
.modal-body,
|
||||
.modal-footer {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.modal-backdrop,
|
||||
.modal-backdrop.show,
|
||||
.modal-backdrop.in {
|
||||
background-color: rgba(0, 0, 0, 0.3) !important;
|
||||
backdrop-filter: blur(4px) !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
|
||||
Reference in New Issue
Block a user