add parent pages
This commit is contained in:
+356
-3
@@ -5,6 +5,12 @@
|
||||
--mgmt-text: #1f2937;
|
||||
--mgmt-muted: #64748b;
|
||||
--mgmt-bg: #f5f7fb;
|
||||
--mgmt-surface: #ffffff;
|
||||
--mgmt-menu-bg: #14532d;
|
||||
--mgmt-menu-text: rgba(255, 255, 255, 0.95);
|
||||
--mgmt-thead-bg: #ecfdf3;
|
||||
--mgmt-thead-border: rgba(34, 160, 71, 0.25);
|
||||
--mgmt-sticky-top: 57px;
|
||||
|
||||
font-family:
|
||||
Heebo,
|
||||
@@ -23,6 +29,7 @@ html,
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#root {
|
||||
@@ -46,7 +53,9 @@ body {
|
||||
}
|
||||
|
||||
.management-app .navbar {
|
||||
background-color: #14532d !important;
|
||||
background-color: var(--mgmt-menu-bg) !important;
|
||||
color: var(--mgmt-menu-text) !important;
|
||||
z-index: 1045;
|
||||
}
|
||||
|
||||
.management-app .navbar .navbar-brand,
|
||||
@@ -56,11 +65,278 @@ body {
|
||||
|
||||
.management-main {
|
||||
background: transparent;
|
||||
padding: 24px;
|
||||
min-height: calc(100svh - var(--mgmt-sticky-top));
|
||||
}
|
||||
|
||||
.management-app .nav-link.active {
|
||||
background-color: rgba(34, 160, 71, 0.12);
|
||||
color: var(--mgmt-primary) !important;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.management-app .nav-link {
|
||||
color: var(--mgmt-menu-text);
|
||||
}
|
||||
|
||||
.management-app .nav-label-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
padding: 0.18rem 0.55rem;
|
||||
border-radius: 9999px;
|
||||
border: 1px solid var(--mgmt-primary);
|
||||
background-color: var(--mgmt-primary);
|
||||
color: #fff !important;
|
||||
line-height: 1.1;
|
||||
font-weight: 500;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.management-app .nav-link.active .nav-label-chip,
|
||||
.management-app .nav-link:hover .nav-label-chip {
|
||||
background-color: var(--mgmt-primary-hover);
|
||||
border-color: var(--mgmt-primary-hover);
|
||||
}
|
||||
|
||||
.main-layout-app .custom-navbar {
|
||||
background: var(--mgmt-menu-bg) !important;
|
||||
color: var(--mgmt-menu-text) !important;
|
||||
}
|
||||
|
||||
.main-layout-app .custom-navbar .container-fluid {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.main-layout-app .custom-navbar .navbar-brand,
|
||||
.main-layout-app .custom-navbar .navbar-text,
|
||||
.main-layout-app .custom-navbar .nav-link {
|
||||
color: var(--mgmt-menu-text) !important;
|
||||
}
|
||||
|
||||
.main-layout-logo {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
object-fit: cover;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
border: 2px solid rgba(255, 255, 255, 0.75);
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.main-layout-app .main-layout-menu > .nav,
|
||||
.main-layout-app .main-layout-menu > ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.main-layout-app .nav-label-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.15rem 0.45rem;
|
||||
border-radius: 9999px;
|
||||
color: var(--mgmt-menu-text);
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.main-layout-app .nav-link.active .nav-label-chip,
|
||||
.main-layout-app .nav-link:hover .nav-label-chip {
|
||||
background: rgba(255, 255, 255, 0.16);
|
||||
}
|
||||
|
||||
.main-layout-app .parent-navbar-menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
width: 100%;
|
||||
overflow-x: visible;
|
||||
overflow-y: auto;
|
||||
max-width: 100%;
|
||||
max-height: calc(100svh - 96px);
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.main-layout-app .parent-navbar-link {
|
||||
width: 100%;
|
||||
min-height: 44px;
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 0.6rem;
|
||||
padding: 0.7rem 0.85rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: 4px;
|
||||
color: var(--mgmt-menu-text) !important;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.1;
|
||||
text-align: left;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.main-layout-app .parent-navbar-link i {
|
||||
font-size: 1rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.main-layout-app .parent-navbar-link.active,
|
||||
.main-layout-app .parent-navbar-link:hover {
|
||||
background: rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.main-layout-app .main-layout-menu,
|
||||
.main-layout-app .main-layout-menu > .nav,
|
||||
.main-layout-app .main-layout-menu > ul {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.main-layout-app .main-layout-menu ul ul {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.main-layout-app .parent-navbar-menu {
|
||||
width: auto;
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
overflow-x: auto;
|
||||
overflow-y: visible;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.main-layout-app .parent-navbar-link {
|
||||
width: auto;
|
||||
min-width: 96px;
|
||||
min-height: 72px;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 0.25rem;
|
||||
padding: 0.45rem 0.6rem;
|
||||
border-top: 0;
|
||||
border-left: 1px solid rgba(0, 0, 0, 0.18);
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 0;
|
||||
font-size: 0.78rem;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
position: relative;
|
||||
flex: 1 1 auto;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.mgmt-sidebar {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: var(--mgmt-sticky-top);
|
||||
width: 260px;
|
||||
height: calc(100vh - var(--mgmt-sticky-top));
|
||||
background-color: var(--mgmt-menu-bg);
|
||||
color: var(--mgmt-menu-text);
|
||||
border-right: 1px solid rgba(2, 6, 23, 0.08);
|
||||
box-shadow: 0 2px 12px rgba(2, 6, 23, 0.12);
|
||||
transform: translateX(-100%);
|
||||
transition: transform 160ms ease-in-out;
|
||||
z-index: 1044;
|
||||
}
|
||||
|
||||
.management-app.mgmt-sidebar-open .mgmt-sidebar,
|
||||
.mgmt-sidebar:hover {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.mgmt-sidebar-content {
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.mgmt-sidebar-toggle {
|
||||
position: fixed;
|
||||
left: 10px;
|
||||
top: calc(var(--mgmt-sticky-top) + 12px);
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 0;
|
||||
border-radius: 9999px;
|
||||
background-color: var(--mgmt-primary);
|
||||
color: #fff;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
|
||||
z-index: 1060;
|
||||
}
|
||||
|
||||
.mgmt-sidebar-toggle:hover {
|
||||
background-color: var(--mgmt-primary-hover);
|
||||
}
|
||||
|
||||
.management-app.mgmt-sidebar-open .mgmt-sidebar-toggle i {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.mgmt-sidebar-backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
border: 0;
|
||||
z-index: 1043;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.mgmt-sidebar-backdrop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.management-app table:not(.no-mgmt-style) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.management-app table:not(.no-mgmt-style) thead th,
|
||||
.management-app table:not(.no-mgmt-style) thead td {
|
||||
background-color: var(--mgmt-thead-bg) !important;
|
||||
color: var(--mgmt-text);
|
||||
border-bottom: 1px solid var(--mgmt-thead-border);
|
||||
}
|
||||
|
||||
.management-app .table-responsive {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.management-app .card {
|
||||
border: 1px solid rgba(2, 6, 23, 0.06);
|
||||
border-radius: 0.75rem;
|
||||
box-shadow: 0 1px 2px rgba(2, 6, 23, 0.04);
|
||||
}
|
||||
|
||||
.footer-back {
|
||||
color: var(--mgmt-muted);
|
||||
}
|
||||
|
||||
.ci-academic-filter__year {
|
||||
min-width: 180px;
|
||||
}
|
||||
|
||||
.ci-academic-filter__semester {
|
||||
min-width: 140px;
|
||||
}
|
||||
|
||||
.ci-checklist {
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.ci-static-modal {
|
||||
background: rgba(15, 23, 42, 0.35);
|
||||
}
|
||||
|
||||
.login-page,
|
||||
@@ -72,6 +348,83 @@ body {
|
||||
background: linear-gradient(135deg, #14532d 0%, #166534 45%, #15803d 100%);
|
||||
}
|
||||
|
||||
.parent-calendar-dot {
|
||||
display: inline-block;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
border-radius: 3px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.parent-calendar-dot-general {
|
||||
background: #3788d8;
|
||||
}
|
||||
|
||||
.parent-calendar-dot-no-school {
|
||||
background: #ffc107;
|
||||
}
|
||||
|
||||
.parent-calendar-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, minmax(84px, 1fr));
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.parent-calendar-cell {
|
||||
min-height: 82px;
|
||||
padding: 0.45rem;
|
||||
border: 1px solid #dee2e6;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.parent-calendar-head {
|
||||
min-height: auto;
|
||||
background: #f8f9fa;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.parent-calendar-event {
|
||||
display: block;
|
||||
margin-top: 0.35rem;
|
||||
padding: 0.25rem;
|
||||
border-radius: 4px;
|
||||
background: #3788d8;
|
||||
color: #fff;
|
||||
font-size: 0.8rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.parent-calendar-event-warning {
|
||||
background: #ffc107;
|
||||
color: #1f2937;
|
||||
}
|
||||
|
||||
.parent-circle {
|
||||
width: 148px;
|
||||
height: 148px;
|
||||
border-radius: 50%;
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.25rem;
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.12);
|
||||
}
|
||||
|
||||
.parent-circle strong {
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.parent-circle small {
|
||||
max-width: 118px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
/* Preserve docs styling from App.css */
|
||||
.docs-root {
|
||||
min-height: 100vh;
|
||||
|
||||
Reference in New Issue
Block a user