Zelda64Recomp/assets/scss/styles/components/Config.scss

102 lines
2.0 KiB
SCSS
Raw Normal View History

2024-01-07 01:04:28 +01:00
.config__icon-buttons {
display: flex;
2024-01-22 17:43:21 +01:00
position: absolute;
top: space(8);
right: space(0);
flex-direction: row;
align-items: center;
justify-content: flex-end;
width: auto;
.icon-button {
margin: 0 space(8);
}
2024-01-22 17:43:21 +01:00
}
2024-01-07 01:04:28 +01:00
.config__form {
2024-01-07 22:33:22 +01:00
@include border-top($color-border-soft);
2024-01-07 01:04:28 +01:00
display: flex;
flex: 1 1 100%;
2024-01-07 22:33:22 +01:00
flex-direction: column;
justify-content: space-between;
2024-01-07 01:04:28 +01:00
width: 100%;
height: 100%;
2024-01-07 22:33:22 +01:00
border-bottom-right-radius: $border-radius-modal;
border-bottom-left-radius: $border-radius-modal;
2024-01-07 01:04:28 +01:00
}
.config__wrapper {
flex: 1 1 100%;
2024-04-20 17:22:46 +02:00
width: auto;
height: auto;
padding: space(16);
border-radius: 0dp;
2024-04-22 00:43:03 +02:00
border-bottom-right-radius: $border-radius-modal;
border-bottom-left-radius: $border-radius-modal;
background-color: $color-bg-shadow;
text-align: left;
p {
@extend %body;
padding: space(16);
line-height: space(28);
white-space: pre-line;
2024-04-10 16:32:31 +02:00
b {
color: $color-primary;
}
i {
color: $color-warning;
font-style: normal;
}
}
}
.config__hz-wrapper {
display: flex;
flex: 1 1 100%;
flex-direction: row;
2024-04-20 17:22:46 +02:00
width: 100%;
height: 100%;
border-radius: 0dp;
text-align: left;
2024-01-07 22:33:22 +01:00
}
.config__header, .config__footer {
2024-01-07 22:33:22 +01:00
display: flex;
align-items: center;
justify-content: space-between;
2024-01-07 22:33:22 +01:00
width: 100%;
2024-01-08 01:23:05 +01:00
background-color: $color-bg-shadow;
}
.config__header {
@include border-bottom($color-border-soft);
padding: space(12) space(20);
}
.config__footer {
@include border-top($color-border-soft);
padding: space(20) space(20);
2024-01-07 22:33:22 +01:00
border-bottom-right-radius: $border-radius-modal;
border-bottom-left-radius: $border-radius-modal;
2024-01-07 22:33:22 +01:00
}
.config__header-left {
2024-01-22 17:43:21 +01:00
display: flex;
flex: 1 1 auto;
flex-direction: row;
2024-01-22 17:43:21 +01:00
> :not(:first-child) {
margin-left: space(8);
}
}
2024-01-07 22:33:22 +01:00
.config__row {
display: flex;
flex-direction: row;
2024-01-07 01:04:28 +01:00
}