You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
4.1 KiB
CSS
70 lines
4.1 KiB
CSS
/* Shared user-shell and cloud-workspace additions. The admin layout never
|
|
loads this stylesheet. */
|
|
.cloud-sidebar-nav {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #2b4558 transparent;
|
|
}
|
|
.panel-sidebar-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
|
|
.sidebar a.sidebar-brand { min-width: 0; max-width: 100%; overflow: hidden; text-decoration: none; }
|
|
.sidebar-brand > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.sidebar-brand small { overflow: hidden; text-overflow: ellipsis; }
|
|
.panel-nav-toggle { display: none; min-height: 36px; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #294255; border-radius: 8px; background: #172c3e; color: #b9ccd8; font-size: 11px; font-weight: 700; }
|
|
.cloud-sidebar-nav .sidebar-section-label:not(:first-child) { margin-top: 25px; }
|
|
.cloud-sidebar-nav .sidebar-link { width: 100%; text-decoration: none; }
|
|
.cloud-sidebar-nav .sidebar-link:hover { background: #1a3445; color: #d0eeee; }
|
|
.cloud-sidebar-nav .sidebar-link:focus-visible { outline: 2px solid #57d4d3; outline-offset: -2px; }
|
|
.cloud-sidebar-nav .nav-icon,
|
|
.panel-sidebar-bottom .nav-icon { display: inline-grid; width: 20px; flex: 0 0 20px; place-items: center; color: #6f899e; font-size: 19px; }
|
|
.cloud-sidebar-nav .sidebar-link:hover .nav-icon,
|
|
.cloud-sidebar-nav .sidebar-link.active .nav-icon,
|
|
.panel-sidebar-bottom .sidebar-link:hover .nav-icon { color: #57d4d3; }
|
|
.panel-sidebar-bottom { display: grid; gap: 4px; }
|
|
.panel-sidebar-bottom .sidebar-link { width: 100%; text-decoration: none; }
|
|
.panel-sidebar-bottom .sidebar-link:hover { background: #1a3445; color: #d0eeee; }
|
|
.panel-admin-link { margin-bottom: 2px; }
|
|
.panel-logout-link:hover { color: #ffc1c8 !important; background: rgba(208, 66, 80, .1) !important; }
|
|
.panel-topbar-logout { text-decoration: none; }
|
|
.admin-menu-options { max-height: min(70vh, 520px); overflow-y: auto; }
|
|
.admin-menu-options a { min-height: 34px; display: flex; align-items: center; padding: 7px 10px; border-radius: 7px; color: #536b7e; font-size: 12px; font-weight: 700; text-decoration: none; }
|
|
.admin-menu-options a:hover { background: #edf6f6; color: #117f88; }
|
|
.admin-menu-label { padding: 8px 10px 3px; color: #8ba0af; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
|
|
.cloud-orders { padding: 24px; }
|
|
.cloud-order { border-bottom: 1px solid var(--border, #e5edf2); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
|
|
.cloud-order p { margin: 8px 0 0; }
|
|
.cloud-order:last-child { border: 0; }
|
|
.cloud-order code { overflow-wrap: anywhere; }
|
|
.cloud-plan-summary { display: flex; flex-wrap: wrap; gap: 12px; }
|
|
.cloud-page-progress { margin: 16px 0; }
|
|
.vm-detail-secret { max-width: 100%; overflow-wrap: anywhere; }
|
|
.ssh-key-choice-label { align-self: center; }
|
|
#vm-plan-summary { display: block; padding: 16px; }
|
|
#cloud-page-error { margin-bottom: 20px; }
|
|
|
|
@media (max-width: 960px) {
|
|
.panel-sidebar { height: auto; min-height: 65px; padding: 12px 24px; }
|
|
.panel-sidebar-header { width: 100%; align-items: center; }
|
|
.panel-sidebar .sidebar-brand { flex: 1 1 auto; }
|
|
.panel-nav-toggle { display: inline-flex; flex: none; }
|
|
.panel-sidebar .panel-sidebar-nav,
|
|
.panel-sidebar .panel-sidebar-bottom { display: none; }
|
|
.panel-sidebar.is-open { max-height: 100vh; overflow-y: auto; }
|
|
.panel-sidebar.is-open .panel-sidebar-nav { display: block; width: 100%; padding: 9px 0 4px; }
|
|
.panel-sidebar.is-open .panel-sidebar-nav .sidebar-section-label { display: block; margin: 13px 14px 7px; }
|
|
.panel-sidebar.is-open .panel-sidebar-nav .sidebar-link,
|
|
.panel-sidebar.is-open .panel-sidebar-bottom .sidebar-link { display: flex; }
|
|
.panel-sidebar.is-open .panel-sidebar-bottom { display: grid; width: 100%; margin-top: 3px; }
|
|
.panel-sidebar.is-open .sidebar-caption { display: block; }
|
|
.admin-menu-options { min-width: 190px; }
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.topbar-right { gap: 6px; }
|
|
.topbar-user > span:last-child,
|
|
.topbar-user #current-username { display: none; }
|
|
#logout-button,
|
|
.panel-topbar-logout { padding-inline: 9px; }
|
|
}
|