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

52 lines
1 KiB
SCSS
Raw Normal View History

2016-06-17 17:37:29 +00:00
.preferences {
2016-06-21 03:04:41 +00: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 17:37:29 +00:00
display: none;
2016-06-21 03:04:41 +00:00
padding: #{16 / $base-font-size}rem #{26 / $base-font-size}rem;
2016-06-17 18:31:33 +00:00
&--selected {
display: flex;
2016-06-20 18:58:15 +00:00
flex-direction: column;
2016-06-17 18:31:33 +00:00
}
2016-06-17 17:37:29 +00:00
}
2016-06-17 18:31:33 +00:00
.preferences__exit-button {
2016-06-21 03:04:41 +00:00
@extend %icon;
padding-top: #{5 / $base-font-size}rem;
2016-06-17 17:37:29 +00:00
}
2016-06-20 16:45:15 +00:00
2016-06-20 19:23:42 +00:00
.preference__plus-button {
2016-06-20 18:58:15 +00:00
@extend %preferences-button;
}
2016-06-20 19:23:42 +00:00
.preference__minus-button {
2016-06-20 18:58:15 +00:00
@extend %preferences-button;
}
.preferences__heading {
display: flex;
2016-06-21 03:04:41 +00:00
flex-direction: row;
justify-content: space-between;
margin-bottom: #{20 / $base-font-size}rem;
2016-06-20 16:45:15 +00:00
}
2016-06-20 18:58:15 +00:00
.preference {
2016-06-21 03:04:41 +00:00
display: flex;
flex-wrap: wrap;
justify-content: space-between;
2016-06-20 18:58:15 +00:00
}
2016-06-20 19:23:42 +00:00
.preference__title {
2016-06-21 03:04:41 +00:00
width: 100%;
margin-bottom: #{10 / $base-font-size}rem;
2016-06-20 18:58:15 +00:00
}
.preference__value {
2016-06-21 03:04:41 +00: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 18:58:15 +00:00
}