Add new pages for managing tags, tasks, transitions, users, user groups, and their respective JavaScript functionalities
- Implemented tag management page with filtering, data table, and AJAX functionality. - Created task management page with task listing, filtering, and AJAX data loading. - Developed transition management page with a data table for transitions. - Added user management page with comprehensive user details, filtering options, and AJAX support. - Introduced user group management page with filtering and data table for user groups. - Enhanced JavaScript for data tables, including state saving, filtering, and AJAX data fetching for all new pages.
This commit is contained in:
@@ -29,40 +29,32 @@
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
/* Ensure the page title/description remain visible when the sidebar is collapsed */
|
||||
html.ots-sidebar-collapsed .page-header,
|
||||
body.ots-sidebar-collapsed .page-header,
|
||||
.ots-sidebar.collapsed ~ .ots-main .page-header,
|
||||
.ots-main .page-header {
|
||||
/* Page header - always visible and properly positioned */
|
||||
.ots-main .page-header,
|
||||
.ots-main .page-header h1,
|
||||
.ots-main .page-header p.text-muted {
|
||||
display: block !important;
|
||||
visibility: visible !important;
|
||||
}
|
||||
|
||||
.ots-main .page-header {
|
||||
position: relative !important;
|
||||
z-index: 100 !important;
|
||||
height: auto !important;
|
||||
padding-top: 16px !important;
|
||||
padding-bottom: 16px !important;
|
||||
margin-top: 8px !important;
|
||||
margin-bottom: 12px !important;
|
||||
}
|
||||
|
||||
html.ots-sidebar-collapsed .page-header h1,
|
||||
body.ots-sidebar-collapsed .page-header h1,
|
||||
.ots-sidebar.collapsed ~ .ots-main .page-header h1,
|
||||
.ots-main .page-header h1 {
|
||||
color: var(--color-text-primary) !important;
|
||||
}
|
||||
|
||||
html.ots-sidebar-collapsed .page-header p.text-muted,
|
||||
body.ots-sidebar-collapsed .page-header p.text-muted,
|
||||
.ots-sidebar.collapsed ~ .ots-main .page-header p.text-muted,
|
||||
.ots-main .page-header p.text-muted {
|
||||
color: var(--color-text-tertiary) !important;
|
||||
}
|
||||
|
||||
/* Ensure page header is not obscured by panels when sidebar is collapsed */
|
||||
.ots-main .page-header {
|
||||
position: relative !important;
|
||||
z-index: 2500 !important;
|
||||
margin-top: 8px !important;
|
||||
margin-bottom: 12px !important;
|
||||
}
|
||||
|
||||
/* Prevent immediate container clipping near the top */
|
||||
.ots-content,
|
||||
.ots-main,
|
||||
@@ -70,37 +62,6 @@ body.ots-sidebar-collapsed .page-header p.text-muted,
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
/* Fixed-position fallback: keep the page header visible and readable when sidebar is collapsed */
|
||||
@media (min-width: 992px) {
|
||||
html.ots-sidebar-collapsed .page-header,
|
||||
body.ots-sidebar-collapsed .page-header,
|
||||
.ots-sidebar.collapsed ~ .ots-main .page-header {
|
||||
position: fixed !important;
|
||||
top: 16px !important;
|
||||
left: calc(var(--ots-sidebar-width,64px) + 24px) !important;
|
||||
/* fallback positions in case the CSS variable isn't set early */
|
||||
left: 80px !important;
|
||||
left: 260px !important;
|
||||
right: 24px !important;
|
||||
z-index: 3200 !important;
|
||||
background: transparent !important;
|
||||
padding-top: 8px !important;
|
||||
padding-bottom: 8px !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/* If sidebar is collapsed, prefer a smaller left offset */
|
||||
html.ots-sidebar-collapsed .page-header,
|
||||
body.ots-sidebar-collapsed .page-header {
|
||||
left: 80px !important;
|
||||
}
|
||||
|
||||
html.ots-sidebar-collapsed .page-header .ots-filter-header,
|
||||
body.ots-sidebar-collapsed .page-header .ots-filter-header {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
background-color: var(--color-background);
|
||||
@@ -120,10 +81,10 @@ body {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 260px;
|
||||
width: var(--ots-sidebar-width);
|
||||
height: 100vh;
|
||||
background-color: #08132a;
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.06);
|
||||
border-right: none;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -135,7 +96,6 @@ body {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 260px;
|
||||
}
|
||||
|
||||
.ots-content {
|
||||
@@ -189,7 +149,7 @@ body {
|
||||
.brand-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: 16px;
|
||||
color: var(--color-text-primary);
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
@@ -216,7 +176,7 @@ body {
|
||||
.sidebar-nav {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 72px 0 120px;
|
||||
padding: 64px 0 60px;
|
||||
}
|
||||
|
||||
/* Extra top padding when sidebar is collapsed or expanded so items clear header */
|
||||
@@ -238,7 +198,7 @@ body {
|
||||
.ots-sidebar li.sidebar-main > a,
|
||||
.ots-sidebar li.sidebar-title > a {
|
||||
display: grid;
|
||||
grid-template-columns: 20px 1fr;
|
||||
grid-template-columns: 24px 1fr;
|
||||
align-items: center;
|
||||
column-gap: 12px;
|
||||
padding: 6px 10px;
|
||||
@@ -271,6 +231,16 @@ body {
|
||||
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
|
||||
}
|
||||
|
||||
/* Collapsed state - ensure active items remain visually distinct */
|
||||
.ots-sidebar.collapsed li.sidebar-list.active > a,
|
||||
.ots-sidebar.collapsed li.sidebar-list > a.active,
|
||||
.ots-sidebar.collapsed li.sidebar-main.active > a,
|
||||
.ots-sidebar.collapsed li.sidebar-main > a.active {
|
||||
background-color: rgba(255, 255, 255, 0.12);
|
||||
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.ots-sidebar .ots-nav-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
@@ -432,18 +402,19 @@ body {
|
||||
============================================================================ */
|
||||
|
||||
.ots-topbar {
|
||||
background-color: var(--color-surface-elevated);
|
||||
border-bottom: 2px solid var(--color-border);
|
||||
padding: 8px 24px;
|
||||
background-color: transparent;
|
||||
border-bottom: none;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 8px;
|
||||
height: 64px;
|
||||
gap: 4px;
|
||||
height: 56px;
|
||||
z-index: 1100;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
width: auto;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* Topbar nav container - override .navbar-nav defaults */
|
||||
@@ -452,10 +423,11 @@ body {
|
||||
border: 0 !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
gap: 6px;
|
||||
gap: 2px;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.ots-topbar .nav-item {
|
||||
@@ -521,7 +493,7 @@ body {
|
||||
/* Ensure content is offset below the sticky topbar when horizontal nav present */
|
||||
nav.navbar + #content-wrapper,
|
||||
nav.navbar + #content-wrapper .page-content {
|
||||
padding-top: 64px;
|
||||
padding-top: 56px;
|
||||
}
|
||||
|
||||
/* Right-side controls: notification bell + account menu */
|
||||
@@ -537,61 +509,239 @@ nav.navbar + #content-wrapper .page-content {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header-side .user,
|
||||
.header-side .user-notif,
|
||||
.header-side .user-actions {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin: 0;
|
||||
}
|
||||
/* ============================================================================
|
||||
TOPBAR STRIP (sidebar mode) - Clean, Modern Single-Line Menu Bar
|
||||
============================================================================ */
|
||||
|
||||
.header-side .user-actions {
|
||||
float: right;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.header-side .user-actions > * {
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
/* The topbar strip is the bar at the top of the content area in sidebar mode.
|
||||
Layout: [Logo (collapsed only)] ---- [notifications] [user] [hamburger] */
|
||||
.ots-topbar-strip {
|
||||
position: sticky !important;
|
||||
top: 0 !important;
|
||||
z-index: 1100 !important;
|
||||
background-color: var(--color-surface-elevated) !important;
|
||||
border-bottom: 1px solid var(--color-border) !important;
|
||||
height: 56px !important;
|
||||
min-height: 56px !important;
|
||||
max-height: 56px !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
overflow: visible !important;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
|
||||
}
|
||||
|
||||
.header-side .user-actions li,
|
||||
.header-side .user-actions .nav-item,
|
||||
.header-side .user-actions .dropdown,
|
||||
.header-side .user-actions .item,
|
||||
.header-side .user-actions .nav-link {
|
||||
display: inline-flex !important;
|
||||
align-items: center;
|
||||
width: auto !important;
|
||||
/* When sidebar is expanded, make the topbar background subtler */
|
||||
body:not(.ots-sidebar-collapsed) .ots-topbar-strip {
|
||||
background-color: var(--color-background) !important;
|
||||
box-shadow: none !important;
|
||||
border-bottom-color: var(--color-border) !important;
|
||||
}
|
||||
|
||||
.header-side .user-actions img.nav-avatar {
|
||||
display: block;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.header-side .user-actions .dropdown-menu {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
/* Ensure header area does not clip absolutely positioned dropdowns */
|
||||
.row.header.header-side,
|
||||
.row.header.header-side .col-sm-12,
|
||||
.row.header.header-side .user-actions {
|
||||
/* Inner flex container */
|
||||
.ots-topbar-inner {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: space-between !important;
|
||||
height: 56px !important;
|
||||
padding: 0 16px !important;
|
||||
margin: 0 !important;
|
||||
gap: 12px !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
/* Ensure user dropdown renders above other content */
|
||||
.header-side .user-actions .dropdown-menu,
|
||||
.ots-user-menu {
|
||||
/* Left side: logo (only visible when sidebar collapsed) */
|
||||
.ots-topbar-left {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 12px !important;
|
||||
flex-shrink: 0 !important;
|
||||
min-width: 0 !important;
|
||||
}
|
||||
|
||||
.ots-topbar-strip .xibo-logo-container {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 10px !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.ots-topbar-strip .xibo-logo {
|
||||
width: 28px !important;
|
||||
height: 28px !important;
|
||||
object-fit: contain !important;
|
||||
}
|
||||
|
||||
.ots-topbar-strip .xibo-logo-text {
|
||||
display: inline-flex !important;
|
||||
flex-direction: column !important;
|
||||
line-height: 1 !important;
|
||||
}
|
||||
|
||||
.ots-topbar-strip .brand-line-top {
|
||||
font-weight: 700 !important;
|
||||
font-size: 15px !important;
|
||||
color: var(--color-text-primary) !important;
|
||||
letter-spacing: 0.02em !important;
|
||||
}
|
||||
|
||||
.ots-topbar-strip .brand-line-bottom {
|
||||
font-weight: 600 !important;
|
||||
font-size: 11px !important;
|
||||
color: var(--color-text-secondary) !important;
|
||||
margin-top: -1px !important;
|
||||
}
|
||||
|
||||
/* Right side: actions cluster */
|
||||
.ots-topbar-right {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 4px !important;
|
||||
flex-shrink: 0 !important;
|
||||
margin-left: auto !important;
|
||||
}
|
||||
|
||||
/* Each action item (notification bell, user avatar) */
|
||||
.ots-topbar-action {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
position: static !important;
|
||||
}
|
||||
|
||||
.ots-topbar-action .nav-item,
|
||||
.ots-topbar-action .dropdown,
|
||||
.ots-topbar-action > div {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
position: static !important;
|
||||
}
|
||||
|
||||
/* Notification & user menu links */
|
||||
.ots-topbar-action .nav-link {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
width: 36px !important;
|
||||
height: 36px !important;
|
||||
padding: 0 !important;
|
||||
border-radius: 8px !important;
|
||||
color: var(--color-text-secondary) !important;
|
||||
transition: all 150ms ease !important;
|
||||
border: none !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.ots-topbar-action .nav-link:hover {
|
||||
background-color: rgba(59, 130, 246, 0.08) !important;
|
||||
color: var(--color-primary) !important;
|
||||
}
|
||||
|
||||
/* Bell icon */
|
||||
.ots-topbar-action .ots-topbar-icon {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
width: 18px !important;
|
||||
height: 18px !important;
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
/* Avatar in topbar */
|
||||
.ots-topbar-action img.nav-avatar {
|
||||
display: block !important;
|
||||
width: 32px !important;
|
||||
height: 32px !important;
|
||||
border-radius: 50% !important;
|
||||
object-fit: cover !important;
|
||||
border: 2px solid transparent !important;
|
||||
transition: border-color 150ms ease !important;
|
||||
}
|
||||
|
||||
.ots-topbar-action .nav-link:hover img.nav-avatar {
|
||||
border-color: var(--color-primary) !important;
|
||||
}
|
||||
|
||||
/* Dropdown menus from the topbar */
|
||||
.ots-topbar-action .dropdown-menu,
|
||||
.ots-topbar-strip .dropdown-menu {
|
||||
position: absolute !important;
|
||||
top: 100% !important;
|
||||
right: 0 !important;
|
||||
left: auto !important;
|
||||
margin-top: 0 !important;
|
||||
min-width: 200px !important;
|
||||
background-color: var(--color-surface-elevated) !important;
|
||||
border: 1px solid var(--color-border) !important;
|
||||
border-radius: 10px !important;
|
||||
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25) !important;
|
||||
padding: 6px 0 !important;
|
||||
z-index: 3000 !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.ots-topbar-strip .dropdown-item,
|
||||
.ots-topbar-strip .dropdown-menu a {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 8px !important;
|
||||
padding: 8px 14px !important;
|
||||
margin: 1px 6px !important;
|
||||
border-radius: 6px !important;
|
||||
color: var(--color-text-secondary) !important;
|
||||
font-size: 13px !important;
|
||||
font-weight: 500 !important;
|
||||
transition: all 150ms ease !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.ots-topbar-strip .dropdown-item:hover,
|
||||
.ots-topbar-strip .dropdown-menu a:hover {
|
||||
background-color: rgba(59, 130, 246, 0.08) !important;
|
||||
color: var(--color-primary) !important;
|
||||
}
|
||||
|
||||
.ots-topbar-strip .dropdown-header {
|
||||
padding: 8px 14px 4px !important;
|
||||
font-size: 12px !important;
|
||||
font-weight: 600 !important;
|
||||
color: var(--color-text-tertiary) !important;
|
||||
text-transform: uppercase !important;
|
||||
letter-spacing: 0.04em !important;
|
||||
}
|
||||
|
||||
.ots-topbar-strip .dropdown-divider {
|
||||
margin: 4px 0 !important;
|
||||
border-top-color: var(--color-border) !important;
|
||||
}
|
||||
|
||||
/* Hamburger button */
|
||||
.ots-topbar-hamburger {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
width: 36px !important;
|
||||
height: 36px !important;
|
||||
padding: 0 !important;
|
||||
border: none !important;
|
||||
background: transparent !important;
|
||||
color: var(--color-text-secondary) !important;
|
||||
border-radius: 8px !important;
|
||||
cursor: pointer !important;
|
||||
transition: all 150ms ease !important;
|
||||
font-size: 16px !important;
|
||||
flex-shrink: 0 !important;
|
||||
}
|
||||
|
||||
.ots-topbar-hamburger:hover {
|
||||
background-color: rgba(59, 130, 246, 0.08) !important;
|
||||
color: var(--color-primary) !important;
|
||||
}
|
||||
|
||||
/* Ensure no clipping */
|
||||
.ots-topbar-strip,
|
||||
.ots-topbar-strip .col-sm-12,
|
||||
.ots-topbar-strip .ots-topbar-right,
|
||||
.ots-topbar-strip .ots-topbar-action {
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
/* When JS decides to open to the left (avoid viewport overflow) */
|
||||
@@ -600,66 +750,54 @@ nav.navbar + #content-wrapper .page-content {
|
||||
right: 0 !important;
|
||||
}
|
||||
|
||||
/* When JS wants explicit left-aligned menu (menu's left edge aligned to trigger's left) */
|
||||
/* When JS wants explicit left-aligned menu */
|
||||
.dropdown-menu-left-align {
|
||||
left: 0 !important;
|
||||
right: auto !important;
|
||||
}
|
||||
|
||||
/* Force header row into a flex container so right-side controls align horizontally */
|
||||
.row.header.header-side {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
/* Topbar strip responsive */
|
||||
@media (max-width: 768px) {
|
||||
.ots-topbar-strip {
|
||||
height: 48px !important;
|
||||
min-height: 48px !important;
|
||||
max-height: 48px !important;
|
||||
}
|
||||
|
||||
.row.header.header-side .col-sm-12 {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: flex-start !important;
|
||||
gap: 12px;
|
||||
}
|
||||
.ots-topbar-inner {
|
||||
height: 48px !important;
|
||||
padding: 0 12px !important;
|
||||
gap: 8px !important;
|
||||
}
|
||||
|
||||
/* Ensure notification and user li elements render inline in header */
|
||||
.header-side li.dropdown.nav-item.item,
|
||||
.header-side .dropdown.nav-item.item,
|
||||
.header-side .user-actions > li,
|
||||
.header-side .user-actions > .dropdown,
|
||||
.header-side .user-actions > .nav-item {
|
||||
display: inline-flex !important;
|
||||
float: none !important;
|
||||
vertical-align: middle !important;
|
||||
margin: 0 8px !important;
|
||||
}
|
||||
.ots-topbar-strip .brand-line-top {
|
||||
font-size: 13px !important;
|
||||
}
|
||||
|
||||
.header-side .nav-link {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
padding: 4px !important;
|
||||
}
|
||||
.ots-topbar-strip .brand-line-bottom {
|
||||
font-size: 10px !important;
|
||||
}
|
||||
|
||||
.header-side .ots-topbar-icon,
|
||||
.header-side .nav-avatar,
|
||||
.header-side img.nav-avatar {
|
||||
display: inline-block !important;
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
.ots-topbar-strip .xibo-logo {
|
||||
width: 24px !important;
|
||||
height: 24px !important;
|
||||
}
|
||||
|
||||
/* Push user actions to the right and maintain flex layout */
|
||||
.row.header.header-side .meta {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
.ots-topbar-action .nav-link,
|
||||
.ots-topbar-hamburger {
|
||||
width: 32px !important;
|
||||
height: 32px !important;
|
||||
}
|
||||
|
||||
.row.header.header-side .user-actions {
|
||||
margin-left: auto;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 12px !important;
|
||||
flex-shrink: 0;
|
||||
.ots-topbar-action img.nav-avatar {
|
||||
width: 28px !important;
|
||||
height: 28px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Ensure sidebar items are visible and above header when sidebar is collapsed */
|
||||
.ots-sidebar.collapsed {
|
||||
z-index: 20;
|
||||
z-index: 1200;
|
||||
}
|
||||
|
||||
.ots-sidebar.collapsed .ots-nav-icon {
|
||||
@@ -676,7 +814,7 @@ nav.navbar + #content-wrapper .page-content {
|
||||
|
||||
.ots-topbar .nav-item.open .nav-link,
|
||||
.ots-topbar .nav-item.active .nav-link {
|
||||
background-color: rgba(59, 130, 246, 0.12);
|
||||
background-color: rgba(59, 130, 246, 0.1);
|
||||
color: var(--color-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
@@ -684,14 +822,14 @@ nav.navbar + #content-wrapper .page-content {
|
||||
.ots-topbar .dropdown-toggle::after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
margin-left: 6px;
|
||||
margin-left: 4px;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 4px solid transparent;
|
||||
border-right: 4px solid transparent;
|
||||
border-top: 4px solid currentColor;
|
||||
opacity: 0.6;
|
||||
transition: transform var(--transition-fast);
|
||||
border-left: 3.5px solid transparent;
|
||||
border-right: 3.5px solid transparent;
|
||||
border-top: 3.5px solid currentColor;
|
||||
opacity: 0.5;
|
||||
transition: transform 150ms ease;
|
||||
}
|
||||
|
||||
.ots-topbar .nav-item.open .dropdown-toggle::after {
|
||||
@@ -699,14 +837,14 @@ nav.navbar + #content-wrapper .page-content {
|
||||
}
|
||||
|
||||
.ots-topbar .dropdown-menu {
|
||||
border-radius: 8px;
|
||||
border-radius: 10px;
|
||||
padding: 6px 0;
|
||||
margin-top: 4px;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
|
||||
border: 1px solid var(--color-border);
|
||||
background-color: var(--color-surface);
|
||||
background-color: var(--color-surface-elevated);
|
||||
min-width: 180px;
|
||||
z-index: 1100;
|
||||
z-index: 3000;
|
||||
}
|
||||
|
||||
.ots-topbar .dropdown-item,
|
||||
@@ -714,18 +852,18 @@ nav.navbar + #content-wrapper .page-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
border-radius: 4px;
|
||||
padding: 8px 14px;
|
||||
border-radius: 6px;
|
||||
padding: 8px 12px;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 14px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
margin: 2px 6px;
|
||||
transition: all var(--transition-fast);
|
||||
margin: 1px 6px;
|
||||
transition: all 150ms ease;
|
||||
}
|
||||
|
||||
.ots-topbar .dropdown-item:hover,
|
||||
.ots-topbar .dropdown-menu a:hover {
|
||||
background-color: rgba(59, 130, 246, 0.1);
|
||||
background-color: rgba(59, 130, 246, 0.08);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
@@ -1042,20 +1180,16 @@ nav.navbar + #content-wrapper .page-content {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
/* When the sidebar is collapsed, hide the page header and meta area to
|
||||
provide a compact layout consistent with the collapsed navigation state. */
|
||||
.ots-sidebar.collapsed ~ .ots-main .page .meta,
|
||||
.ots-sidebar.collapsed ~ .ots-main .page-header,
|
||||
.ots-sidebar.collapsed ~ .ots-main .header-side,
|
||||
.ots-sidebar.collapsed + .ots-main .page .meta,
|
||||
.ots-sidebar.collapsed + .ots-main .page-header,
|
||||
.ots-sidebar-collapsed .ots-main .page .meta,
|
||||
.ots-sidebar-collapsed .ots-main .page-header,
|
||||
body.ots-sidebar-collapsed .page .meta,
|
||||
body.ots-sidebar-collapsed .page-header {
|
||||
display: none !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
/* Page header should always be visible - ensure this is displayed even when sidebar is collapsed */
|
||||
body.ots-sidebar-collapsed .ots-main .page-header,
|
||||
body.ots-sidebar-collapsed .page-header,
|
||||
.page-header {
|
||||
display: block !important;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
margin-bottom: 16px !important;
|
||||
padding-top: 16px !important;
|
||||
padding-bottom: 16px !important;
|
||||
}
|
||||
|
||||
.page-header h1 {
|
||||
@@ -1446,6 +1580,7 @@ body .panel .panel-heading,
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.ots-displays-body {
|
||||
@@ -1453,6 +1588,7 @@ body .panel .panel-heading,
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.ots-displays-body .XiboGrid {
|
||||
@@ -1460,6 +1596,7 @@ body .panel .panel-heading,
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.ots-displays-title {
|
||||
@@ -3121,6 +3258,12 @@ hr {
|
||||
padding-top: 24px;
|
||||
}
|
||||
|
||||
/* Override Bootstrap col padding inside page-content */
|
||||
.page-content > .row > .col-sm-12 {
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
/* =============================================================================
|
||||
NAVBAR / TOPBAR
|
||||
============================================================================= */
|
||||
@@ -3128,8 +3271,15 @@ hr {
|
||||
.navbar,
|
||||
.navbar-default {
|
||||
background: var(--ots-surface-2);
|
||||
border: 1px solid var(--ots-border);
|
||||
box-shadow: var(--ots-shadow-sm);
|
||||
border: none;
|
||||
border-bottom: 1px solid var(--ots-border);
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||||
height: 56px;
|
||||
min-height: 56px;
|
||||
padding: 0 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.navbar-brand,
|
||||
@@ -3160,7 +3310,7 @@ hr {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
gap: 6px;
|
||||
gap: 2px;
|
||||
height: auto;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -3168,25 +3318,27 @@ hr {
|
||||
.ots-topbar .nav-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 12px;
|
||||
border-radius: 10px;
|
||||
gap: 6px;
|
||||
padding: 6px 10px;
|
||||
border-radius: 6px;
|
||||
color: var(--ots-text);
|
||||
font-weight: 600;
|
||||
transition: background var(--ots-transition), color var(--ots-transition);
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
transition: background 150ms ease, color 150ms ease;
|
||||
}
|
||||
|
||||
.ots-topbar .nav-link:hover,
|
||||
.ots-topbar .nav-item.open .nav-link,
|
||||
.ots-topbar .nav-item.active .nav-link {
|
||||
background: rgba(79, 140, 255, 0.18);
|
||||
background: rgba(79, 140, 255, 0.12);
|
||||
color: var(--ots-primary);
|
||||
}
|
||||
|
||||
.ots-topbar .dropdown-menu {
|
||||
border-radius: 12px;
|
||||
padding: 8px;
|
||||
box-shadow: var(--ots-shadow-md);
|
||||
border-radius: 10px;
|
||||
padding: 6px 0;
|
||||
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
|
||||
border: 1px solid var(--ots-border);
|
||||
}
|
||||
|
||||
.ots-topbar .dropdown-item,
|
||||
@@ -3194,8 +3346,10 @@ hr {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
border-radius: 8px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 6px;
|
||||
padding: 8px 12px;
|
||||
margin: 1px 6px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.ots-topbar-icon {
|
||||
|
||||
Reference in New Issue
Block a user