p5.js-web-editor/client/styles/components/_preferences.scss

52 lines
1 KiB
SCSS
Raw Normal View History

2016-06-17 19:37:29 +02:00
.preferences {
2016-06-21 05:04:41 +02:00
position: absolute;
top: #{66 / $base-font-size}rem;
right: #{40 / $base-font-size}rem;
width: #{276 / $base-font-size}rem;
background-color: $light-button-background-color;
2016-06-17 19:37:29 +02:00
display: none;
2016-06-21 05:04:41 +02:00
padding: #{16 / $base-font-size}rem #{26 / $base-font-size}rem;
2016-06-17 20:31:33 +02:00
&--selected {
display: flex;
2016-06-20 20:58:15 +02:00
flex-direction: column;
2016-06-17 20:31:33 +02:00
}
2016-06-17 19:37:29 +02:00
}
2016-06-17 20:31:33 +02:00
.preferences__exit-button {
2016-06-21 05:04:41 +02:00
@extend %icon;
padding-top: #{5 / $base-font-size}rem;
2016-06-17 19:37:29 +02:00
}
2016-06-20 18:45:15 +02:00
2016-06-20 21:23:42 +02:00
.preference__plus-button {
2016-06-20 20:58:15 +02:00
@extend %preferences-button;
}
2016-06-20 21:23:42 +02:00
.preference__minus-button {
2016-06-20 20:58:15 +02:00
@extend %preferences-button;
}
.preferences__heading {
display: flex;
2016-06-21 05:04:41 +02:00
flex-direction: row;
justify-content: space-between;
margin-bottom: #{20 / $base-font-size}rem;
2016-06-20 18:45:15 +02:00
}
2016-06-20 20:58:15 +02:00
.preference {
2016-06-21 05:04:41 +02:00
display: flex;
flex-wrap: wrap;
justify-content: space-between;
2016-06-20 20:58:15 +02:00
}
2016-06-20 21:23:42 +02:00
.preference__title {
2016-06-21 05:04:41 +02:00
width: 100%;
margin-bottom: #{10 / $base-font-size}rem;
2016-06-20 20:58:15 +02:00
}
.preference__value {
2016-06-21 05:04:41 +02:00
border: 1px solid $light-button-border-color;
text-align: center;
line-height: #{48 / $base-font-size}rem;
width: #{48 / $base-font-size}rem;
2016-06-20 20:58:15 +02:00
}