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.
virt/web/public/cloud/client.css

45 lines
2.4 KiB
CSS

/* Client-only 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;
}
.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; }
.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 { display: inline-grid; width: 18px; flex: 0 0 18px; place-items: center; color: #6f899e; font-size: 15px; }
.cloud-sidebar-nav .sidebar-link:hover .nav-icon,
.cloud-sidebar-nav .sidebar-link.active .nav-icon { color: #57d4d3; }
.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) {
.cloud-sidebar-nav { display: none; }
.admin-menu-options { min-width: 190px; }
}
@media (max-width: 520px) {
.topbar-right { gap: 6px; }
.topbar-user > span:last-child { display: none; }
#logout-button { padding-inline: 9px; }
}