2018-07-19 05:32:27 +09:00
|
|
|
.dashboard__counters {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: 0 -5px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
box-sizing: border-box;
|
|
|
|
flex: 0 0 33.333%;
|
|
|
|
padding: 0 5px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
& > div,
|
|
|
|
& > a {
|
|
|
|
padding: 20px;
|
2024-07-24 00:30:45 +09:00
|
|
|
background: var(--background-color);
|
2018-07-19 05:32:27 +09:00
|
|
|
border-radius: 4px;
|
2024-07-24 00:30:45 +09:00
|
|
|
border: 1px solid var(--background-border-color);
|
2019-09-03 01:11:34 +09:00
|
|
|
box-sizing: border-box;
|
|
|
|
height: 100%;
|
2018-07-19 05:32:27 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
& > a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2024-07-24 00:30:45 +09:00
|
|
|
background: $ui-base-color;
|
2018-07-19 05:32:27 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-02 23:38:48 +09:00
|
|
|
&__num,
|
|
|
|
&__text {
|
2018-07-19 05:32:27 +09:00
|
|
|
text-align: center;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 24px;
|
|
|
|
color: $primary-text-color;
|
|
|
|
margin-bottom: 20px;
|
2019-01-11 04:27:20 +09:00
|
|
|
line-height: 30px;
|
2018-07-19 05:32:27 +09:00
|
|
|
}
|
|
|
|
|
2019-01-02 23:38:48 +09:00
|
|
|
&__text {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
2018-07-19 05:32:27 +09:00
|
|
|
&__label {
|
|
|
|
font-size: 14px;
|
|
|
|
color: $darker-text-color;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-15 03:44:59 +09:00
|
|
|
.dashboard {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
|
|
|
|
grid-gap: 10px;
|
2018-07-19 05:32:27 +09:00
|
|
|
|
2023-05-07 22:04:59 +09:00
|
|
|
@media screen and (width <= 1350px) {
|
2021-10-21 13:24:34 +09:00
|
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
|
|
}
|
|
|
|
|
2021-10-15 03:44:59 +09:00
|
|
|
&__item {
|
|
|
|
&--span-double-column {
|
|
|
|
grid-column: span 2;
|
|
|
|
}
|
2018-07-19 05:32:27 +09:00
|
|
|
|
2021-10-15 03:44:59 +09:00
|
|
|
&--span-double-row {
|
|
|
|
grid-row: span 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
padding-top: 20px;
|
2018-07-19 05:32:27 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-15 03:44:59 +09:00
|
|
|
&__quick-access {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
border-radius: 4px;
|
2023-07-03 18:32:31 +09:00
|
|
|
background: $ui-button-background-color;
|
2021-10-15 03:44:59 +09:00
|
|
|
color: $primary-text-color;
|
|
|
|
transition: all 100ms ease-in;
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 0 16px;
|
|
|
|
line-height: 36px;
|
|
|
|
height: 36px;
|
2018-07-19 05:32:27 +09:00
|
|
|
text-decoration: none;
|
2021-10-15 03:44:59 +09:00
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2023-07-03 18:32:31 +09:00
|
|
|
background-color: $ui-button-focus-background-color;
|
2021-10-15 03:44:59 +09:00
|
|
|
transition: all 200ms ease-out;
|
|
|
|
}
|
|
|
|
|
2021-11-26 15:01:04 +09:00
|
|
|
&.positive {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
color: $valid-value-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.negative {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
color: $error-value-color;
|
|
|
|
}
|
|
|
|
|
2021-10-15 03:44:59 +09:00
|
|
|
span {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
2018-07-19 05:32:27 +09:00
|
|
|
}
|
|
|
|
}
|