ds4/scss/components/actor/_actor_properties.scss

43 lines
836 B
SCSS
Raw Normal View History

2021-07-11 05:04:05 +02:00
/*
* SPDX-FileCopyrightText: 2021 Johannes Loher
* SPDX-FileCopyrightText: 2021 Oliver Rümpelein
* SPDX-FileCopyrightText: 2021 Gesina Schwalbe
*
* SPDX-License-Identifier: MIT
*/
2022-01-21 03:22:17 +01:00
@use "../../utils/mixins";
@use "../../utils/variables";
2021-07-11 05:04:05 +02:00
2021-07-12 00:12:59 +02:00
.ds4-actor-properties {
2021-07-11 05:04:05 +02:00
@include mixins.mark-invalid-or-disabled-input;
column-gap: 0.25em;
display: grid;
grid-template-columns: repeat(4, 1fr);
2021-07-11 05:04:05 +02:00
&__property {
text-align: center;
width: 100%;
&--wide {
grid-column: 1 / -1;
}
2021-07-11 05:04:05 +02:00
}
&__property-label {
font-size: 0.9em;
font-weight: bold;
white-space: nowrap;
}
2021-07-12 00:12:59 +02:00
&__property-select {
width: 100%;
2022-01-21 03:22:17 +01:00
height: var(--form-field-height);
2021-07-12 00:12:59 +02:00
}
2021-07-11 05:04:05 +02:00
&__property-multi-input {
display: flex;
gap: 0.125em;
}
}