Zelda64Recomp/assets/scss/styles/pages/config/debug.scss

179 lines
3.9 KiB
SCSS
Raw Normal View History

.config-debug {
display: block;
position: relative;
width: 100%;
max-height: 100%;
padding: space(8);
}
.config-debug__scroll {
display: block;
position: relative;
width: 100%;
max-height: 100%;
overflow-y: auto;
}
.config-debug-option {
@include set-color($color-text-dim);
@include trans-colors-svg;
2024-03-02 21:22:30 +01:00
@include border-bottom($color-border-soft);
display: block;
position: relative;
2024-03-02 21:22:30 +01:00
flex-direction: column;
width: 100%;
height: auto;
2024-03-02 21:22:30 +01:00
padding: space(12) space(4);
background-color: rgba(0, 0, 0, 0);
&:focus:not(:disabled, [disabled]),
&:focus-visible:not(:disabled, [disabled]),
&:hover:not(:disabled, [disabled]) {
@include set-color($color-text);
background-color: $color-bg-overlay;
}
&:disabled, &[disabled] {
opacity: 0.5;
}
.icon-button {
2024-03-02 21:22:30 +01:00
margin-left: space(8);
}
}
2024-03-02 21:22:30 +01:00
.config-debug__option-split {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.config-debug-option__label {
@extend %label-md;
2024-03-02 21:22:30 +01:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
padding: space(4) space(16) space(12);
width: auto;
height: auto;
white-space: nowrap;
}
.config-debug__option-controls {
2024-03-02 21:22:30 +01:00
display: block;
position: relative;
2024-03-02 21:22:30 +01:00
flex: 1 1 auto;
height: auto;
width: auto;
2024-03-03 21:57:19 +01:00
max-width: space(800);
2024-03-02 21:22:30 +01:00
padding: 0 space(12);
}
.config-debug__option-trigger {
flex: 1 1 auto;
}
.config-debug__select-wrapper {
display: flex;
position: relative;
flex-direction: row;
align-items: center;
justify-content: flex-start;
flex: 1 1 100%;
width: auto;
2024-03-03 21:57:19 +01:00
max-width: space(800);
height: auto;
2024-03-02 21:22:30 +01:00
padding: space(4);
.config-debug__select-label {
@extend %label-sm;
padding-right: space(16);
flex: auto;
2024-03-03 21:57:19 +01:00
width: space(196);
> div {
display: inline;
width: auto;
height: auto;
}
}
2024-04-05 18:25:30 +02:00
input {
@extend %body;
@extend %nav-all;
display: block;
position: relative;
box-sizing: border-box;
padding: 0;
flex: 1 1 100%;
width: auto;
height: space(20);
margin: auto 0;
}
select {
@extend %body;
2024-03-02 00:42:05 +01:00
@extend %nav-all;
@include trans-colors-border;
@include border($color-white-a50);
display: block;
position: relative;
box-sizing: border-box;
padding: 0;
flex: 1 1 100%;
width: auto;
2024-03-03 21:57:19 +01:00
height: space(48);
border-radius: $border-radius-md;
background-color: $color-white-a5;
2024-03-02 21:22:30 +01:00
cursor: pointer;
2024-04-05 18:25:30 +02:00
align-items: center;
justify-content: flex-start;
padding: space(14);
&:hover, &:focus {
2024-03-02 21:22:30 +01:00
@include border($color-white-a80);
background-color: $color-white-a20;
}
selectvalue {
display: inline;
margin: auto 0;
height: auto;
}
selectbox {
@include border($color-white-a80);
background-color: $color-background-3;
padding: space(4) 0;
margin-top: space(2);
border-radius: $border-radius-md;
option {
2024-03-02 00:42:05 +01:00
@extend %nav-all;
@include trans-colors;
padding: space(8) space(12);
background-color: $color-transparent;
color: $color-text-dim;
font-weight: 400;
2024-03-02 21:22:30 +01:00
&:hover, &:focus {
background-color: $color-white-a20;
}
&:hover:not(:checked) {
cursor: pointer;
}
&:checked {
color: $color-white;
2024-03-02 21:22:30 +01:00
background-color: $color-white-a5;
}
}
}
}
}