186 lines
4.0 KiB
CSS
186 lines
4.0 KiB
CSS
.dashboard-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.6fr) minmax(310px, .9fr);
|
|
gap: 14px;
|
|
margin-top: 18px;
|
|
padding-bottom: 25px;
|
|
}
|
|
.dashboard-panel {
|
|
border: 1px solid #dfe7ee;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
box-shadow: 0 5px 16px rgb(33 65 97 / 5%);
|
|
}
|
|
.dashboard-panel > header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 17px 20px;
|
|
border-bottom: 1px solid #edf1f5;
|
|
}
|
|
.dashboard-panel header span {
|
|
color: #7890a6;
|
|
font-size: 9px;
|
|
font-weight: 800;
|
|
letter-spacing: .09em;
|
|
}
|
|
.dashboard-panel h3 {
|
|
margin: 4px 0 0;
|
|
color: #263b50;
|
|
font-size: 14px;
|
|
}
|
|
.dashboard-panel--trend > header > b {
|
|
padding: 5px 9px;
|
|
border-radius: 13px;
|
|
color: #16855a;
|
|
background: #e8f8f1;
|
|
font-size: 10px;
|
|
}
|
|
.trend-chart {
|
|
display: flex;
|
|
height: 190px;
|
|
align-items: flex-end;
|
|
gap: 18px;
|
|
padding: 26px 28px 17px;
|
|
background: repeating-linear-gradient(to bottom, #fff 0, #fff 44px, #eef3f7 45px);
|
|
}
|
|
.trend-column {
|
|
display: flex;
|
|
height: 100%;
|
|
flex: 1;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
.trend-column i {
|
|
display: block;
|
|
width: min(36px, 72%);
|
|
min-height: 12px;
|
|
border-radius: 5px 5px 2px 2px;
|
|
background: linear-gradient(#49a0eb, #207bd1);
|
|
box-shadow: 0 4px 9px rgb(32 123 209 / 18%);
|
|
}
|
|
.trend-column__value, .trend-column small {
|
|
color: #7890a3;
|
|
font-size: 9px;
|
|
}
|
|
.dashboard-panel--trend footer {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 22px;
|
|
padding: 10px;
|
|
color: #708397;
|
|
font-size: 9px;
|
|
}
|
|
.dashboard-panel footer span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
.legend-dot {
|
|
display: inline-block;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
}
|
|
.legend-dot.is-success { background: #27b87c; }
|
|
.legend-dot.is-failed { background: #ed7777; }
|
|
.legend-dot.is-notebook { background: #318de0; }
|
|
.legend-dot.is-python { background: #72c9b0; }
|
|
.legend-dot.is-version { background: #f3b75c; }
|
|
.donut-layout {
|
|
display: flex;
|
|
min-height: 226px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 28px;
|
|
padding: 20px;
|
|
}
|
|
.donut-chart {
|
|
position: relative;
|
|
display: grid;
|
|
width: 128px;
|
|
height: 128px;
|
|
flex: 0 0 auto;
|
|
place-items: center;
|
|
border-radius: 50%;
|
|
background: conic-gradient(#318de0 0 67%, #72c9b0 67% 86%, #f3b75c 86% 100%);
|
|
}
|
|
.donut-chart::after {
|
|
position: absolute;
|
|
width: 78px;
|
|
height: 78px;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
content: "";
|
|
}
|
|
.donut-chart span {
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
.donut-chart b { color: #273d53; font-size: 20px; }
|
|
.donut-chart small { color: #8a9aaa; font-size: 8px; }
|
|
.donut-legend { display: flex; flex-direction: column; gap: 15px; }
|
|
.donut-legend > span {
|
|
display: grid;
|
|
grid-template-columns: 8px 1fr;
|
|
align-items: center;
|
|
column-gap: 7px;
|
|
}
|
|
.donut-legend b { color: #40566c; font-size: 10px; }
|
|
.donut-legend small { grid-column: 2; color: #8a9baa; font-size: 8px; }
|
|
.dashboard-panel--activity { grid-column: 1 / -1; }
|
|
.dashboard-panel--activity > header > button {
|
|
border: 0;
|
|
color: #257bcb;
|
|
background: transparent;
|
|
font-size: 10px;
|
|
}
|
|
.activity-table__head, .activity-row {
|
|
display: grid;
|
|
grid-template-columns: 2fr .7fr .55fr .5fr;
|
|
align-items: center;
|
|
gap: 15px;
|
|
padding: 11px 20px;
|
|
}
|
|
.activity-table__head {
|
|
color: #8595a5;
|
|
background: #f7f9fb;
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
}
|
|
.activity-row {
|
|
border-top: 1px solid #edf1f5;
|
|
color: #607488;
|
|
font-size: 10px;
|
|
}
|
|
.activity-row > span:first-child {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
color: #344c63;
|
|
}
|
|
.activity-icon {
|
|
display: grid;
|
|
width: 25px;
|
|
height: 25px;
|
|
place-items: center;
|
|
border-radius: 6px;
|
|
color: #277fcc;
|
|
background: #eaf4ff;
|
|
}
|
|
.activity-row b {
|
|
padding: 3px 7px;
|
|
border-radius: 10px;
|
|
color: #16855a;
|
|
background: #e9f8f2;
|
|
font-size: 9px;
|
|
}
|
|
@media (max-width: 1200px) {
|
|
.dashboard-grid { grid-template-columns: 1fr; }
|
|
.dashboard-panel--activity { grid-column: auto; }
|
|
}
|