ds4/scss/components/actor/_core_value.scss

43 lines
678 B
SCSS
Raw Normal View History

2021-06-26 22:02:00 +02:00
/*
* SPDX-FileCopyrightText: 2021 Johannes Loher
*
* SPDX-License-Identifier: MIT
*/
2022-01-21 03:22:17 +01:00
@use "../../utils/colors";
@use "../../utils/mixins";
@use "../../utils/variables";
.ds4-core-value {
2023-07-10 22:23:13 +02:00
align-items: center;
display: flex;
2023-07-10 22:23:13 +02:00
&__label {
@include mixins.font-heading-upper;
flex: 1;
font-size: 2em;
text-align: center;
}
2023-07-10 22:23:13 +02:00
&__value {
align-items: center;
display: flex;
flex: 1.1;
font-size: 1.2em;
gap: 0.15em;
text-align: center;
}
2023-07-10 22:23:13 +02:00
&__value-input,
&__value-total {
flex: 1 1 4em;
}
2023-07-10 22:23:13 +02:00
&--trait {
.ds4-core-value__label {
-webkit-text-stroke: 1px colors.$c-black;
color: transparent;
}
2023-07-10 22:23:13 +02:00
}
}