ngx-admin/src/app/admin/dashboard/rooms/rooms.component.scss

63 lines
1.2 KiB
SCSS
Raw Normal View History

2017-08-03 13:53:18 +03:00
@import '../../../@theme/styles/themes';
@import 'bootstrap/scss/mixins/breakpoints';
@import '@nebular/theme/styles/global/breakpoints';
2017-07-06 19:10:31 +03:00
@include nb-install-component() {
2017-07-06 19:10:31 +03:00
ngx-room-selector {
2017-08-06 15:51:07 +03:00
width: 70%;
border-right: nb-theme(divider-width) nb-theme(divider-style) nb-theme(divider-color);
background-size: 75px;
}
ngx-player {
2017-08-06 15:51:07 +03:00
width: 30%;
}
nb-card {
display: flex;
flex-direction: row;
2017-07-06 19:10:31 +03:00
}
2017-08-06 15:51:07 +03:00
ngx-room-selector {
display: flex;
flex-direction: column;
flex: 1;
::ng-deep .room-selector {
display: flex;
align-items: center;
justify-items: center;
flex: 1;
margin: 0 auto;
width: 90%;
max-width: 650px;
padding-bottom: 1rem;
}
}
@include media-breakpoint-down(md) {
2017-08-06 15:51:07 +03:00
&.expanded ngx-room-selector {
display: none;
}
ngx-room-selector, ngx-player {
width: 100%;
border: none;
2017-08-06 15:51:07 +03:00
}
nb-card {
flex-direction: column;
justify-content: space-between;
.collapse {
display: inline-block;
position: absolute;
top: 0.7rem;
left: 50%;
transform: translateX(-50%);
font-size: 2rem;
2017-08-06 15:51:07 +03:00
}
}
}
2017-07-06 19:10:31 +03:00
}