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

102 lines
2.0 KiB
SCSS
Raw Normal View History

2024-01-07 00:04:28 +00:00
.config__icon-buttons {
display: flex;
2024-01-22 16:43:21 +00: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 16:43:21 +00:00
}
2024-01-07 00:04:28 +00:00
.config__form {
2024-01-07 21:33:22 +00:00
@include border-top($color-border-soft);
2024-01-07 00:04:28 +00:00
display: flex;
flex: 1 1 100%;
2024-01-07 21:33:22 +00:00
flex-direction: column;
justify-content: space-between;
2024-01-07 00:04:28 +00:00
width: 100%;
height: 100%;
2024-01-07 21:33:22 +00:00
border-bottom-right-radius: $border-radius-modal;
border-bottom-left-radius: $border-radius-modal;
2024-01-07 00:04:28 +00:00
}
.config__wrapper {
flex: 1 1 100%;
2024-04-20 15:22:46 +00:00
width: auto;
height: auto;
padding: space(16);
border-radius: 0dp;
2024-04-21 22:43:03 +00: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 14:32:31 +00: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 15:22:46 +00:00
width: 100%;
height: 100%;
border-radius: 0dp;
text-align: left;
2024-01-07 21:33:22 +00:00
}
.config__header, .config__footer {
2024-01-07 21:33:22 +00:00
display: flex;
align-items: center;
justify-content: space-between;
2024-01-07 21:33:22 +00:00
width: 100%;
2024-01-08 00:23:05 +00: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 21:33:22 +00:00
border-bottom-right-radius: $border-radius-modal;
border-bottom-left-radius: $border-radius-modal;
2024-01-07 21:33:22 +00:00
}
.config__header-left {
2024-01-22 16:43:21 +00:00
display: flex;
flex: 1 1 auto;
flex-direction: row;
2024-01-22 16:43:21 +00:00
> :not(:first-child) {
margin-left: space(8);
}
}
2024-01-07 21:33:22 +00:00
.config__row {
display: flex;
flex-direction: row;
2024-01-07 00:04:28 +00:00
}