779 lines
14 KiB
CSS
779 lines
14 KiB
CSS
.databi-shell {
|
|
width: 100vw;
|
|
min-width: 1280px;
|
|
min-height: 720px;
|
|
padding: 0 24px 24px;
|
|
}
|
|
|
|
.databi-screen {
|
|
--analysis-row-height: 320px;
|
|
--business-metric-row-height: 88px;
|
|
display: grid;
|
|
grid-template-rows: 72px 128px var(--business-metric-row-height) var(--analysis-row-height);
|
|
gap: 16px;
|
|
min-height: 0;
|
|
}
|
|
|
|
.databi-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
height: 72px;
|
|
margin: 0 -24px;
|
|
padding: 0 24px;
|
|
border-bottom: 1px solid rgba(34, 121, 170, 0.46);
|
|
background: rgba(2, 15, 31, 0.72);
|
|
}
|
|
|
|
.brand-lockup {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.brand-emblem {
|
|
display: grid;
|
|
position: relative;
|
|
width: 40px;
|
|
height: 40px;
|
|
place-items: center;
|
|
border: 1px solid rgba(39, 228, 245, 0.7);
|
|
border-radius: 50%;
|
|
background: rgba(11, 45, 70, 0.82);
|
|
box-shadow: inset 0 0 12px rgba(39, 228, 245, 0.16);
|
|
}
|
|
|
|
.brand-emblem::before {
|
|
width: 19px;
|
|
height: 19px;
|
|
border: 2px solid #27e4f5;
|
|
border-radius: 50%;
|
|
background:
|
|
linear-gradient(90deg, transparent 45%, #27e4f5 45% 55%, transparent 55%),
|
|
linear-gradient(transparent 45%, #27e4f5 45% 55%, transparent 55%);
|
|
box-shadow: 0 0 12px rgba(39, 228, 245, 0.55);
|
|
content: "";
|
|
}
|
|
|
|
.brand-emblem::after {
|
|
position: absolute;
|
|
inset: 7px;
|
|
border: 1px solid rgba(39, 228, 245, 0.55);
|
|
border-radius: 50%;
|
|
content: "";
|
|
}
|
|
|
|
.brand-lockup h1 {
|
|
margin: 0;
|
|
font-size: 26px;
|
|
font-weight: 780;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.header-meta {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 2px;
|
|
color: #7fa1bf;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.header-controls {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.filter-control {
|
|
position: relative;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.filter-trigger {
|
|
display: grid;
|
|
min-width: 138px;
|
|
height: 44px;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 0 12px;
|
|
border: 1px solid rgba(64, 148, 197, 0.48);
|
|
border-radius: 8px;
|
|
background: rgba(7, 29, 48, 0.9);
|
|
color: #d8ebff;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
text-align: left;
|
|
}
|
|
|
|
.filter-control--timezone .filter-trigger {
|
|
width: 118px;
|
|
min-width: 118px;
|
|
}
|
|
|
|
.filter-control--app .filter-trigger {
|
|
width: 138px;
|
|
min-width: 138px;
|
|
}
|
|
|
|
.filter-control--country .filter-trigger {
|
|
width: 150px;
|
|
}
|
|
|
|
.filter-trigger:hover,
|
|
.filter-trigger[aria-expanded="true"] {
|
|
border-color: rgba(39, 228, 245, 0.78);
|
|
box-shadow: 0 0 0 3px rgba(39, 228, 245, 0.08);
|
|
}
|
|
|
|
.filter-trigger:disabled {
|
|
cursor: progress;
|
|
opacity: 0.68;
|
|
}
|
|
|
|
.filter-icon,
|
|
.filter-chevron {
|
|
color: #cbd9e9;
|
|
}
|
|
|
|
.filter-icon {
|
|
display: grid;
|
|
min-width: 20px;
|
|
place-items: center;
|
|
}
|
|
|
|
.control-glyph {
|
|
color: #27e4f5;
|
|
font-size: 10px;
|
|
font-weight: 820;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.filter-copy {
|
|
display: grid;
|
|
min-width: 0;
|
|
}
|
|
|
|
.filter-copy small {
|
|
overflow: hidden;
|
|
color: #7f9bb7;
|
|
font-size: 10px;
|
|
line-height: 1.1;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.filter-copy b {
|
|
overflow: hidden;
|
|
color: #e6f3ff;
|
|
font-size: 13px;
|
|
font-weight: 720;
|
|
line-height: 1.2;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.date-range-trigger {
|
|
display: grid;
|
|
width: 336px;
|
|
height: 44px;
|
|
grid-template-columns: 24px minmax(0, 1fr) 20px;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 0 12px;
|
|
border: 1px solid rgba(64, 148, 197, 0.48);
|
|
border-radius: 8px;
|
|
background: rgba(7, 29, 48, 0.9);
|
|
box-shadow: none;
|
|
color: #e6f3ff;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
text-align: left;
|
|
}
|
|
|
|
.date-range-trigger:hover,
|
|
.date-range-trigger[aria-expanded="true"] {
|
|
border-color: rgba(39, 228, 245, 0.78);
|
|
box-shadow: 0 0 0 3px rgba(39, 228, 245, 0.08);
|
|
}
|
|
|
|
.date-range-icon {
|
|
display: grid;
|
|
width: 24px;
|
|
height: 24px;
|
|
place-items: center;
|
|
color: #cbd9e9;
|
|
}
|
|
|
|
.date-range-icon svg {
|
|
width: 19px;
|
|
height: 19px;
|
|
}
|
|
|
|
.date-range-copy {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 3px;
|
|
}
|
|
|
|
.date-range-label {
|
|
overflow: hidden;
|
|
color: #7f9bb7;
|
|
font-size: 10px;
|
|
font-weight: 720;
|
|
line-height: 1.05;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.date-range-values {
|
|
display: grid;
|
|
min-width: 0;
|
|
grid-template-columns: minmax(0, auto) 16px minmax(0, auto);
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.date-range-values b {
|
|
overflow: hidden;
|
|
color: #eaf6ff;
|
|
font-size: 14px;
|
|
font-weight: 760;
|
|
line-height: 1.15;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.date-range-values i {
|
|
color: #a7bdd3;
|
|
font-size: 13px;
|
|
font-style: normal;
|
|
text-align: center;
|
|
}
|
|
|
|
.date-range-chevron {
|
|
color: #cbd9e9;
|
|
justify-self: end;
|
|
}
|
|
|
|
.filter-popover {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
right: 0;
|
|
z-index: 20;
|
|
display: grid;
|
|
width: 100%;
|
|
min-width: 168px;
|
|
gap: 4px;
|
|
padding: 8px;
|
|
border: 1px solid rgba(64, 148, 197, 0.52);
|
|
border-radius: 8px;
|
|
background: rgba(4, 21, 36, 0.98);
|
|
box-shadow: 0 18px 36px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.filter-popover button {
|
|
display: flex;
|
|
min-height: 34px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 0 10px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: #cfe3f7;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
text-align: left;
|
|
}
|
|
|
|
.filter-popover button:hover,
|
|
.filter-popover button.is-active {
|
|
background: rgba(39, 228, 245, 0.12);
|
|
color: #f3fbff;
|
|
}
|
|
|
|
.filter-popover--searchable {
|
|
width: 260px;
|
|
}
|
|
|
|
.filter-search {
|
|
display: grid;
|
|
gap: 5px;
|
|
padding: 2px 2px 8px;
|
|
}
|
|
|
|
.filter-search span {
|
|
color: #7f9bb7;
|
|
font-size: 10px;
|
|
font-weight: 720;
|
|
}
|
|
|
|
.filter-search input {
|
|
width: 100%;
|
|
height: 34px;
|
|
padding: 0 10px;
|
|
border: 1px solid rgba(64, 148, 197, 0.36);
|
|
border-radius: 7px;
|
|
outline: 0;
|
|
background: rgba(3, 18, 31, 0.9);
|
|
color: #e6f3ff;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.filter-search input:focus {
|
|
border-color: rgba(39, 228, 245, 0.72);
|
|
box-shadow: 0 0 0 3px rgba(39, 228, 245, 0.08);
|
|
}
|
|
|
|
.filter-options-scroll {
|
|
display: grid;
|
|
max-height: 250px;
|
|
gap: 4px;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.filter-options-scroll button span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.filter-options-scroll button small {
|
|
flex: 0 0 auto;
|
|
color: #7f9bb7;
|
|
font-size: 10px;
|
|
font-weight: 760;
|
|
}
|
|
|
|
.filter-empty {
|
|
display: block;
|
|
padding: 10px;
|
|
color: #8faac5;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.date-time-popover {
|
|
position: absolute;
|
|
top: calc(100% + 10px);
|
|
right: 0;
|
|
z-index: 30;
|
|
display: grid;
|
|
width: 680px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(39, 228, 245, 0.36);
|
|
border-radius: 10px;
|
|
background: rgba(4, 18, 31, 0.98);
|
|
box-shadow: 0 20px 46px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.date-time-shortcuts,
|
|
.date-time-fields,
|
|
.date-time-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.date-time-shortcuts {
|
|
gap: 8px;
|
|
padding: 10px 12px 0;
|
|
}
|
|
|
|
.date-time-shortcuts button,
|
|
.date-time-fields button,
|
|
.calendar-toolbar button,
|
|
.calendar-day,
|
|
.time-column button,
|
|
.date-time-footer button {
|
|
border: 0;
|
|
background: transparent;
|
|
color: #cfe3f7;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
}
|
|
|
|
.date-time-shortcuts button {
|
|
height: 28px;
|
|
padding: 0 12px;
|
|
border-radius: 7px;
|
|
color: #8faac5;
|
|
font-size: 12px;
|
|
font-weight: 720;
|
|
}
|
|
|
|
.date-time-shortcuts button:hover,
|
|
.date-time-shortcuts button.is-active {
|
|
background: rgba(39, 228, 245, 0.13);
|
|
color: #f2fbff;
|
|
}
|
|
|
|
.date-time-fields {
|
|
gap: 10px;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid rgba(111, 148, 183, 0.18);
|
|
}
|
|
|
|
.date-time-fields button {
|
|
display: grid;
|
|
min-width: 0;
|
|
flex: 1;
|
|
gap: 3px;
|
|
padding: 8px 12px;
|
|
border: 1px solid rgba(64, 148, 197, 0.3);
|
|
border-radius: 8px;
|
|
text-align: left;
|
|
}
|
|
|
|
.date-time-fields button.is-active {
|
|
border-color: rgba(39, 228, 245, 0.76);
|
|
background: rgba(39, 228, 245, 0.1);
|
|
}
|
|
|
|
.date-time-fields span {
|
|
color: #7f9bb7;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.date-time-fields b {
|
|
overflow: hidden;
|
|
color: #eaf6ff;
|
|
font-size: 13px;
|
|
font-weight: 760;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.date-time-picker {
|
|
display: grid;
|
|
grid-template-columns: 452px 1fr;
|
|
min-height: 348px;
|
|
}
|
|
|
|
.calendar-pane {
|
|
display: grid;
|
|
grid-template-rows: 42px 1fr;
|
|
border-right: 1px solid rgba(111, 148, 183, 0.2);
|
|
}
|
|
|
|
.calendar-toolbar {
|
|
display: grid;
|
|
grid-template-columns: 34px 34px 1fr 34px 34px;
|
|
align-items: center;
|
|
border-bottom: 1px solid rgba(111, 148, 183, 0.18);
|
|
}
|
|
|
|
.calendar-toolbar button {
|
|
height: 34px;
|
|
color: #9fb4c9;
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.calendar-toolbar button:hover {
|
|
color: #27e4f5;
|
|
}
|
|
|
|
.calendar-toolbar strong {
|
|
color: #eaf6ff;
|
|
font-size: 20px;
|
|
font-weight: 760;
|
|
text-align: center;
|
|
}
|
|
|
|
.calendar-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
grid-auto-rows: 40px;
|
|
align-content: start;
|
|
gap: 4px;
|
|
padding: 10px 18px 14px;
|
|
}
|
|
|
|
.calendar-weekday {
|
|
display: grid;
|
|
place-items: center;
|
|
color: #8faac5;
|
|
font-size: 16px;
|
|
font-weight: 720;
|
|
}
|
|
|
|
.calendar-day {
|
|
display: grid;
|
|
width: 36px;
|
|
height: 36px;
|
|
place-self: center;
|
|
place-items: center;
|
|
border-radius: 8px;
|
|
color: #d4e6f4;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.calendar-day:hover {
|
|
background: rgba(39, 228, 245, 0.1);
|
|
color: #f2fbff;
|
|
}
|
|
|
|
.calendar-day.is-muted {
|
|
color: rgba(178, 194, 207, 0.38);
|
|
}
|
|
|
|
.calendar-day.is-between {
|
|
background: rgba(39, 228, 245, 0.07);
|
|
}
|
|
|
|
.calendar-day.is-start,
|
|
.calendar-day.is-end {
|
|
background: rgba(39, 228, 245, 0.18);
|
|
color: #ffffff;
|
|
font-weight: 780;
|
|
}
|
|
|
|
.calendar-day.is-active {
|
|
border: 1px solid #2f7cff;
|
|
background: rgba(47, 124, 255, 0.15);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.time-pane {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.time-column {
|
|
display: grid;
|
|
grid-template-rows: 34px 1fr;
|
|
min-height: 0;
|
|
border-right: 1px solid rgba(111, 148, 183, 0.18);
|
|
}
|
|
|
|
.time-column:last-child {
|
|
border-right: 0;
|
|
}
|
|
|
|
.time-column > span {
|
|
display: grid;
|
|
place-items: center;
|
|
border-bottom: 1px solid rgba(111, 148, 183, 0.18);
|
|
color: #8faac5;
|
|
font-size: 12px;
|
|
font-weight: 720;
|
|
}
|
|
|
|
.time-column > div {
|
|
display: grid;
|
|
max-height: 306px;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.time-column button {
|
|
min-height: 34px;
|
|
color: #d4e6f4;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.time-column button:hover,
|
|
.time-column button.is-active {
|
|
background: rgba(39, 228, 245, 0.12);
|
|
color: #ffffff;
|
|
font-weight: 760;
|
|
}
|
|
|
|
.date-time-footer {
|
|
justify-content: space-between;
|
|
min-height: 54px;
|
|
padding: 10px 12px;
|
|
border-top: 1px solid rgba(111, 148, 183, 0.18);
|
|
}
|
|
|
|
.date-time-footer span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #8faac5;
|
|
font-size: 12px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.date-time-footer button {
|
|
flex: 0 0 auto;
|
|
height: 34px;
|
|
min-width: 66px;
|
|
padding: 0 18px;
|
|
border: 1px solid rgba(39, 228, 245, 0.52);
|
|
border-radius: 8px;
|
|
background: rgba(39, 228, 245, 0.12);
|
|
color: #f2fbff;
|
|
font-size: 13px;
|
|
font-weight: 760;
|
|
}
|
|
|
|
.date-time-footer button:hover {
|
|
border-color: #27e4f5;
|
|
background: rgba(39, 228, 245, 0.18);
|
|
}
|
|
|
|
.live-dot {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
color: #20e7d6;
|
|
font-size: 13px;
|
|
font-weight: 720;
|
|
}
|
|
|
|
.live-dot::before {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: #20e7d6;
|
|
box-shadow: 0 0 14px rgba(32, 231, 214, 0.72);
|
|
content: "";
|
|
}
|
|
|
|
.live-dot--warn {
|
|
color: #f7a33a;
|
|
}
|
|
|
|
.live-dot--warn::before {
|
|
background: #f7a33a;
|
|
box-shadow: 0 0 14px rgba(247, 163, 58, 0.72);
|
|
}
|
|
|
|
.metric-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.business-metric-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.business-metric-grid .metric-card {
|
|
height: var(--business-metric-row-height);
|
|
grid-column: span 1;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
align-items: stretch;
|
|
padding: 10px 14px;
|
|
}
|
|
|
|
.business-metric-grid .metric-content {
|
|
display: grid;
|
|
grid-template-columns: minmax(max-content, 1fr) max-content;
|
|
grid-template-rows: auto 1fr;
|
|
column-gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.business-metric-grid .metric-card.is-loading .metric-content {
|
|
grid-template-columns: minmax(0, 1fr) 96px;
|
|
grid-template-rows: 16px 28px;
|
|
}
|
|
|
|
.business-metric-grid .metric-card.is-loading .skeleton-label {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
width: 88px;
|
|
}
|
|
|
|
.business-metric-grid .metric-card.is-loading .skeleton-value {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
width: min(160px, 76%);
|
|
height: 24px;
|
|
}
|
|
|
|
.business-metric-grid .metric-card.is-loading .skeleton-caption {
|
|
grid-column: 2;
|
|
grid-row: 1 / 3;
|
|
align-self: center;
|
|
justify-self: end;
|
|
width: 86px;
|
|
}
|
|
|
|
.business-metric-grid .metric-label-row {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
gap: 4px;
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.business-metric-grid .metric-label-row > span {
|
|
flex: 0 0 auto;
|
|
overflow: visible;
|
|
text-overflow: clip;
|
|
}
|
|
|
|
.business-metric-grid .metric-content strong {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
margin-top: 3px;
|
|
font-size: clamp(17px, 0.92vw, 20px);
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.business-metric-grid .metric-delta {
|
|
grid-column: 2;
|
|
grid-row: 1 / 3;
|
|
display: grid;
|
|
gap: 3px;
|
|
align-self: center;
|
|
justify-self: end;
|
|
margin-top: 0;
|
|
padding-top: 0;
|
|
border-top: 0;
|
|
font-size: 11px;
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.business-metric-grid .metric-delta span {
|
|
color: #7f9bb7;
|
|
}
|
|
|
|
.databi-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.databi-grid--top {
|
|
height: var(--analysis-row-height);
|
|
min-height: 0;
|
|
}
|
|
|
|
.databi-grid--top > .databi-panel,
|
|
.databi-grid--middle > .databi-panel {
|
|
grid-column: span 4;
|
|
}
|
|
|
|
.databi-grid--top .databi-panel {
|
|
height: var(--analysis-row-height);
|
|
min-height: 0;
|
|
}
|
|
|
|
.databi-grid--middle .databi-panel {
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.databi-screen .databi-grid--top .databi-panel,
|
|
.databi-screen .databi-grid--middle .databi-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|