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.
213 lines
17 KiB
CSS
213 lines
17 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 + .sidebar-link { margin-top: 6px; }
|
|
.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 { min-height: 0; padding: 0; overflow: hidden; }
|
|
.cloud-orders > .muted { margin: 0; padding: 26px 24px; }
|
|
.cloud-order { display: grid; grid-template-columns: minmax(280px, 1fr) auto; align-items: center; gap: 18px 24px; padding: 22px 24px; border-bottom: 1px solid var(--border, #e5edf2); }
|
|
.cloud-order-detail { min-width: 0; }
|
|
.cloud-order-detail > strong { display: block; color: #25384e; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
|
|
.cloud-order p { margin: 7px 0 0; line-height: 1.6; }
|
|
.cloud-order-message { color: #52677b; font-size: 12px; overflow-wrap: anywhere; }
|
|
.cloud-order-progress { font-size: 11px; overflow-wrap: anywhere; }
|
|
.cloud-order-progress.form-error { margin-top: 9px; }
|
|
.cloud-order-actions .state-pill.failed { background: #fff0f1; color: #bd4654; }
|
|
.cloud-order-actions .state-pill.warning { background: #fff4e5; color: #b98129; }
|
|
.cloud-order-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
|
|
.cloud-order-actions .row-button { min-height: 36px; padding: 8px 12px; border-color: #dce7ec; background: #fff; }
|
|
.cloud-order-actions a.row-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
|
|
.cloud-order-actions .row-button:not(:disabled):hover { border-color: #bcdadd; background: #edf8f8; }
|
|
.cloud-order:last-child { border: 0; }
|
|
.cloud-order code { overflow-wrap: anywhere; }
|
|
.invoice-balance-card { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 18px 22px; border: 1px solid #e0e9ef; border-radius: 13px; background: #fff; box-shadow: 0 10px 30px rgba(19,42,65,.027); color: #77899a; font-size: 12px; font-weight: 700; }
|
|
.invoice-balance-card strong { margin-right: auto; color: #1e354d; font-size: 23px; letter-spacing: -.4px; }
|
|
.cloud-invoice { position: relative; }
|
|
.cloud-invoice-list-row { grid-template-columns: minmax(240px, 1fr) auto minmax(105px, auto); grid-template-areas: "copy actions amount"; }
|
|
.cloud-invoice-list-copy { grid-area: copy; }
|
|
.cloud-invoice-list-copy > strong { font-size: 16px; }
|
|
.cloud-invoice-list-actions { grid-area: actions; }
|
|
.cloud-invoice-list-amount { grid-area: amount; min-width: 105px; text-align: right; }
|
|
.cloud-invoice-list-amount span { display: block; margin-bottom: 5px; color: #91a0af; font-size: 10px; font-weight: 700; }
|
|
.cloud-invoice-list-amount strong { display: block; color: #1e354d; font-size: 18px; line-height: 1.25; white-space: nowrap; }
|
|
.invoice-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 18px; }
|
|
.invoice-pagination[hidden] { display: none; }
|
|
.invoice-pagination > span { min-width: 145px; color: #75899b; font-size: 11px; font-weight: 700; text-align: center; }
|
|
.invoice-pagination[aria-busy="true"] > span { opacity: .65; }
|
|
.invoice-detail-workspace { width: 100%; margin: 0 auto 48px; }
|
|
.invoice-detail-heading { margin-bottom: 22px; }
|
|
.inventory-panel.invoice-detail-card,.inventory-panel.invoice-detail-section { min-height: 0; overflow: hidden; }
|
|
.invoice-detail-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 28px; border-bottom: 1px solid #edf1f5; }
|
|
.invoice-detail-hero > div:first-child { min-width: 0; }
|
|
.invoice-detail-kind { display: block; margin-bottom: 8px; color: #0f9eaa; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
|
|
.invoice-detail-hero > div:first-child > strong { display: block; color: #1c334b; font-size: 21px; line-height: 1.35; }
|
|
.invoice-detail-hero > div:first-child > small { display: block; margin-top: 7px; color: #8999a8; font-size: 11px; }
|
|
.invoice-detail-total { display: grid; justify-items: end; flex: none; }
|
|
.invoice-detail-total > span:first-child { margin-bottom: 4px; color: #91a0af; font-size: 10px; font-weight: 700; }
|
|
.invoice-detail-total > strong { margin-bottom: 9px; color: #172f47; font-size: 27px; line-height: 1.2; }
|
|
.invoice-detail-facts,.invoice-specification-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 0; margin: 0; padding: 8px 28px 18px; }
|
|
.invoice-detail-fact { min-width: 0; padding: 15px 14px 12px 0; border-bottom: 1px solid #edf1f5; }
|
|
.invoice-detail-fact dt { margin: 0 0 7px; color: #91a0af; font-size: 10px; font-weight: 700; }
|
|
.invoice-detail-fact dd { margin: 0; color: #2b4055; font-size: 13px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
|
|
.invoice-detail-section { margin-top: 18px; }
|
|
.invoice-detail-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px 18px; border-bottom: 1px solid #edf1f5; }
|
|
.invoice-detail-section-heading h2 { margin: 0; color: #22384e; font-size: 17px; }
|
|
.invoice-detail-section-heading p { margin: 6px 0 0; color: #8b9baa; font-size: 11px; line-height: 1.55; }
|
|
.invoice-payment-method-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 13px; padding: 24px 28px 8px; }
|
|
.invoice-payment-method-card { position: relative; display: grid; gap: 7px; min-height: 104px; padding: 18px 46px 18px 18px; border: 1px solid #dce6ec; border-radius: 11px; background: #fff; color: #2c4358; text-align: left; cursor: pointer; transition: border-color .15s,box-shadow .15s,background .15s; }
|
|
.invoice-payment-method-card:hover { border-color: #9dd4d7; }
|
|
.invoice-payment-method-card:focus-visible { outline: 3px solid rgba(18,166,176,.2); outline-offset: 2px; }
|
|
.invoice-payment-method-card[aria-pressed="true"] { border-color: #31adb5; background: #effafa; box-shadow: 0 0 0 2px rgba(20,166,175,.09); }
|
|
.invoice-payment-method-card strong { font-size: 14px; }
|
|
.invoice-payment-method-card small { color: #8597a7; font-size: 11px; line-height: 1.5; }
|
|
.invoice-payment-method-check { position: absolute; top: 16px; right: 16px; display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid #d4e1e7; border-radius: 50%; background: #fff; color: transparent; font-size: 13px; font-weight: 900; }
|
|
.invoice-payment-method-card[aria-pressed="true"] .invoice-payment-method-check { border-color: #24a5ad; background: #24a5ad; color: #fff; }
|
|
#invoice-payment-error { margin: 12px 28px 0; }
|
|
.invoice-payment-actions { display: flex; justify-content: flex-end; padding: 18px 28px 24px; }
|
|
.invoice-payment-actions .button { min-width: 128px; }
|
|
.invoice-payment-result { padding: 0 28px 24px; }
|
|
.invoice-payment-result:empty { display: none; }
|
|
.invoice-payment-result .cloud-payment-instructions { margin: 0; }
|
|
.invoice-fulfillment-content { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 22px 28px 25px; }
|
|
.invoice-fulfillment-detail { min-width: 0; }
|
|
.invoice-fulfillment-detail .cloud-order-progress { margin: 0; font-size: 12px; line-height: 1.6; }
|
|
.invoice-fulfillment-actions { align-self: center; }
|
|
.cloud-payment-instructions { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 9px 13px; margin-top: 2px; padding: 14px 16px; border-radius: 9px; background: #edf8f8; color: #3e596b; font-size: 11px; line-height: 1.6; }
|
|
.cloud-payment-instructions strong { color: #20394e; }
|
|
.cloud-payment-instructions code { max-width: 100%; padding: 5px 8px; border-radius: 5px; background: #fff; color: #25465b; font-size: 11px; }
|
|
.cloud-payment-instructions small { flex: 1 1 100%; color: #738798; }
|
|
.cloud-payment-instructions .cloud-payment-qr-note { color: #a16f24; }
|
|
.cloud-payment-instructions.cloud-payment-expired { background: #fff5e8; color: #8c6427; }
|
|
.cloud-payment-instructions .row-button,.cloud-payment-instructions .button { min-height: 34px; padding: 7px 11px; }
|
|
.cloud-payment-qr { display: flex; width: 212px; min-height: 212px; flex: 0 0 212px; align-items: center; justify-content: center; padding: 8px; border: 1px solid #d7e3e9; border-radius: 10px; background: #fff; }
|
|
.cloud-payment-qr-loading { color: #7b8f9f; font-size: 11px; font-weight: 700; }
|
|
.cloud-payment-qr-error { padding: 24px; text-align: center; }
|
|
.cloud-payment-qr img,.cloud-payment-qr canvas { display: block; max-width: 196px; height: auto; }
|
|
.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; }
|
|
.inventory-panel.vm-service-panel { min-height: 0; margin-top: 0; }
|
|
.vm-service-panel .panel-heading { align-items: center; }
|
|
.vm-service-panel .panel-heading > div { min-width: 0; }
|
|
.vm-service-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 0; margin: 0; padding: 5px 24px 13px; }
|
|
.vm-service-facts > div { min-width: 0; padding: 15px 12px 15px 0; border-bottom: 1px solid #edf1f5; }
|
|
.vm-service-facts dt { margin: 0 0 8px; color: #91a0af; font-size: 11px; font-weight: 700; }
|
|
.vm-service-facts dd { margin: 0; color: #273c52; font-size: 13px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
|
|
.service-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 6px; background: #f1f3f6; color: #758499; font-size: 11px; font-weight: 800; white-space: nowrap; }
|
|
.service-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
.service-pill.active { background: #e7f8ef; color: #20966a; }
|
|
.service-pill.warning { background: #fff4e5; color: #a87120; }
|
|
.service-pill.stopped { background: #fff0f1; color: #bd4654; }
|
|
.service-pill.unknown { background: #f1f3f6; color: #758499; }
|
|
.vm-traffic-progress { height: 8px; margin: 0 24px 16px; overflow: hidden; border-radius: 999px; background: #e7eef2; }
|
|
.vm-traffic-progress > span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1bb6b0, #0f9eaa); transition: width .25s ease; }
|
|
.vm-traffic-progress.is-exhausted > span { background: #d94350; }
|
|
.vm-traffic-daily { margin-top: 18px; overflow: hidden; }
|
|
.vm-traffic-daily-status { margin: 0 24px 4px; padding: 9px 12px; border-radius: 8px; background: #eaf7f7; color: #277b82; font-size: 11px; line-height: 1.5; }
|
|
.vm-traffic-daily-status.warning { background: #fff6e9; color: #946620; }
|
|
.vm-traffic-daily-plot { display: flex; align-items: center; justify-content: center; height: 300px; margin: 4px 20px 2px; overflow: hidden; }
|
|
.vm-traffic-daily-plot svg { display: block; width: 100%; height: 100%; font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif; }
|
|
.vm-traffic-daily-bar.download { fill: #17a685; }
|
|
.vm-traffic-daily-bar.upload { fill: #926ed0; }
|
|
.vm-traffic-daily-bar { transition: opacity .15s ease; }
|
|
.vm-traffic-daily-bar:hover { opacity: .72; }
|
|
.vm-traffic-daily-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding: 0 24px 21px; color: #728297; font-size: 10px; font-weight: 700; }
|
|
.vm-traffic-daily-legend span { display: inline-flex; align-items: center; gap: 7px; }
|
|
.vm-traffic-daily-legend i { width: 13px; height: 8px; border-radius: 2px; }
|
|
.vm-traffic-daily-legend i.download { background: #17a685; }
|
|
.vm-traffic-daily-legend i.upload { background: #926ed0; }
|
|
.ssh-key-choice-label { align-self: center; }
|
|
#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: 740px) {
|
|
.cloud-order { grid-template-columns: 1fr; gap: 13px; }
|
|
.cloud-invoice-list-row { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "copy amount" "actions actions"; }
|
|
.cloud-order-actions { justify-content: flex-start; }
|
|
.cloud-invoice-list-amount { align-self: start; }
|
|
.invoice-detail-hero { align-items: flex-start; }
|
|
.invoice-fulfillment-content { grid-template-columns: 1fr; }
|
|
.invoice-fulfillment-actions { justify-content: flex-start; }
|
|
.vm-service-panel .panel-heading { align-items: flex-start; }
|
|
.vm-traffic-daily-plot { height: 250px; margin-inline: 12px; }
|
|
}
|
|
|
|
@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; }
|
|
.cloud-order { padding: 19px 17px; }
|
|
.cloud-order-actions { width: 100%; }
|
|
.cloud-order-actions .row-button { flex: 1 1 145px; }
|
|
.invoice-balance-card { align-items: flex-start; flex-wrap: wrap; }
|
|
.invoice-balance-card strong { flex: 1 1 calc(100% - 130px); }
|
|
.invoice-pagination { justify-content: space-between; gap: 8px; }
|
|
.invoice-pagination > span { min-width: 0; flex: 1; }
|
|
.invoice-detail-hero { flex-direction: column; padding: 21px 18px; }
|
|
.invoice-detail-total { justify-items: start; }
|
|
.invoice-detail-total > strong { font-size: 22px; }
|
|
.invoice-detail-facts,.invoice-specification-grid { grid-template-columns: 1fr 1fr; padding: 5px 18px 15px; }
|
|
.invoice-detail-section-heading { padding: 19px 18px 16px; }
|
|
.invoice-payment-method-grid { grid-template-columns: 1fr; padding: 19px 18px 6px; }
|
|
#invoice-payment-error { margin-inline: 18px; }
|
|
.invoice-payment-actions { padding: 16px 18px 20px; }
|
|
.invoice-payment-actions .button { width: 100%; }
|
|
.invoice-payment-result { padding: 0 18px 20px; }
|
|
.invoice-payment-result .cloud-payment-qr { width: 100%; flex-basis: 100%; }
|
|
.invoice-fulfillment-content { padding: 19px 18px 21px; }
|
|
.vm-detail-tabs { width: 100%; }
|
|
.vm-detail-tab { flex: 1 0 auto; padding-inline: 12px; }
|
|
.vm-service-facts { grid-template-columns: 1fr 1fr; padding: 4px 17px 12px; }
|
|
.vm-service-facts > div { padding: 12px 8px 12px 0; }
|
|
.vm-traffic-progress { margin: 0 17px 14px; }
|
|
.vm-traffic-daily-status { margin-inline: 17px; }
|
|
.vm-traffic-daily-legend { padding-inline: 17px; }
|
|
}
|