rdio-scanner/client/imports/app/radio/radio.component.scss
2019-09-03 09:04:01 -04:00

71 lines
1 KiB
SCSS

:host {
bottom: 0;
display: flex;
flex-direction: column;
left: 0;
position: fixed;
right: 0;
top: 0;
>* {
user-select: none;
}
}
.mat-sidenav {
width: 100%;
}
.mat-sidenav-content {
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
}
.radio-bezel {
box-sizing: border-box;
height: inherit;
max-width: 640px;
padding: 24px;
}
.radio-control,
.radio-display,
.radio-led {
flex: 100%;
max-width: 100%;
}
.radio-display,
.radio-led {
margin-bottom: 24px;
}
@media (orientation: landscape) and (max-width: 640px) {
.radio-bezel {
flex-direction: row;
flex-wrap: wrap;
}
.radio-control {
flex: calc(50% - 24px);
max-width: calc(50% - 24px);
margin-left: 24px;
}
.radio-display {
flex: 50%;
max-width: 50%;
}
.radio-display,
.radio-led {
margin: 0;
}
.radio-led {
flex: 100%;
max-width: 100%;
}
}