2021-06-26 22:02:00 +02:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
* SPDX-FileCopyrightText: 2021 Gesina Schwalbe
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
2023-07-10 22:10:48 +02:00
|
|
|
@use './colors';
|
2021-02-24 12:55:30 +01:00
|
|
|
|
2020-12-31 01:33:59 +01:00
|
|
|
@mixin centered-content {
|
2023-07-10 22:10:48 +02:00
|
|
|
display: grid;
|
|
|
|
place-items: center;
|
2020-12-31 01:33:59 +01:00
|
|
|
}
|
2021-01-06 15:25:55 +01:00
|
|
|
|
|
|
|
@mixin mark-invalid-or-disabled-input {
|
2023-07-10 22:10:48 +02:00
|
|
|
input:invalid {
|
|
|
|
background-color: colors.$c-invalid-input;
|
|
|
|
}
|
|
|
|
input:disabled {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2021-01-06 15:25:55 +01:00
|
|
|
}
|
2021-04-20 22:53:25 +02:00
|
|
|
|
|
|
|
@mixin foundry-highlight-text-shadow {
|
2023-07-10 22:10:48 +02:00
|
|
|
text-shadow: 0 0 10px var(--color-shadow-primary);
|
2022-01-21 03:22:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin font-heading-upper {
|
2023-07-10 22:10:48 +02:00
|
|
|
font-family: var(--ds4-font-heading);
|
|
|
|
text-transform: uppercase;
|
2021-04-20 22:53:25 +02:00
|
|
|
}
|