Files
frontend/src/components/Header/styles.scss
2020-11-07 20:00:16 -03:00

99 lines
2.0 KiB
SCSS

@import '../../assets/scss/variables';
.header {
max-width: 400px;
width: 100%;
margin: 0 auto;
display: flex;
justify-content: space-between;
flex-direction: column;
&-col-left,
&-col-right {
flex: 1 1 auto;
}
&-col-center {
flex: 0 0 auto;
border-width: 3px;
border-style: solid;
border-color: darken($gray, 20%) lighten($gray, 20%) lighten($gray, 20%)
darken($gray, 20%);
}
.settings {
display: flex;
justify-content: center;
border-width: 3px;
border-style: solid;
border-color: lighten($gray, 20%) darken($gray, 20%) darken($gray, 20%)
lighten($gray, 20%);
padding-bottom: 5px;
.form-control {
display: flex;
flex-direction: column;
&:last-child {
align-items: flex-end;
justify-content: flex-end;
}
label {
font-size: 75%;
text-transform: uppercase;
padding: 5px;
}
}
input {
width: 40px;
height: 30px;
line-height: 30px;
text-align: center;
background: $gray-light;
margin: 0 2px;
border-color: darken($gray, 20%) lighten($gray, 20%) lighten($gray, 20%)
darken($gray, 20%);
font-size: 120%;
}
.button {
cursor: pointer;
margin: 0 2px;
height: 38px;
border-color: lighten($gray, 20%) darken($gray, 20%) darken($gray, 20%)
lighten($gray, 20%);
}
}
&-actions {
display: flex;
justify-content: space-between;
flex-direction: row;
border-width: 3px;
border-style: solid;
border-color: lighten($gray, 20%) darken($gray, 20%) darken($gray, 20%)
lighten($gray, 20%);
.led-panel {
font-family: 'Space Mono', monospace;
background: $gray-dark;
color: $red;
text-shadow: 0 0 2px rgba($red, 1);
line-height: 30px;
letter-spacing: 0.05em;
text-align: center;
width: 30px;
}
.reset {
width: 24px;
line-height: 24px;
text-align: center;
cursor: pointer;
margin: 3px;
}
}
}