72 lines
1.5 KiB
SCSS
72 lines
1.5 KiB
SCSS
.preferences {
|
|
position: absolute;
|
|
top: #{66 / $base-font-size}rem;
|
|
right: #{40 / $base-font-size}rem;
|
|
width: #{300 / $base-font-size}rem;
|
|
background-color: $light-button-background-color;
|
|
display: none;
|
|
padding: #{16 / $base-font-size}rem #{26 / $base-font-size}rem;
|
|
&--selected {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.preferences__exit-button {
|
|
@extend %icon;
|
|
padding-top: #{5 / $base-font-size}rem;
|
|
}
|
|
|
|
.preference__plus-button {
|
|
@extend %preferences-button;
|
|
}
|
|
|
|
.preference__minus-button {
|
|
@extend %preferences-button;
|
|
}
|
|
|
|
.preferences__heading {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
margin-bottom: #{20 / $base-font-size}rem;
|
|
}
|
|
|
|
.preference {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding-bottom: #{40 / $base-font-size}rem;
|
|
border-bottom: 2px dashed $light-button-border-color;
|
|
}
|
|
|
|
.preference__title {
|
|
width: 100%;
|
|
margin-bottom: #{10 / $base-font-size}rem;
|
|
}
|
|
|
|
.preference__value {
|
|
border: 1px solid $light-button-border-color;
|
|
text-align: center;
|
|
width: #{48 / $base-font-size}rem;
|
|
height: #{48 / $base-font-size}rem;
|
|
margin: 0 #{20 / $base-font-size}rem;
|
|
background-color: $light-button-background-color;
|
|
}
|
|
|
|
.preference__label {
|
|
margin: 0;
|
|
line-height: #{20 / $base-font-size}rem;
|
|
color: $light-button-border-color;
|
|
&:hover {
|
|
color: $light-button-border-color;
|
|
}
|
|
}
|
|
|
|
.preference__option {
|
|
@extend %preference-option;
|
|
list-style-type: none;
|
|
padding-left: #{12 / $base-font-size}rem;
|
|
&--selected {
|
|
@extend %preference-option--selected;
|
|
}
|
|
}
|