2017-08-03 13:53:18 +03:00
|
|
|
@import '../../../@theme/styles/themes';
|
2017-09-11 19:37:55 +03:00
|
|
|
@import '~@nebular/theme/styles/global/bootstrap/breakpoints';
|
|
|
|
|
@import '~bootstrap/scss/mixins/breakpoints';
|
2017-07-11 17:17:51 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
@include nb-install-component() {
|
|
|
|
|
nb-card-header {
|
2017-07-20 18:13:11 +03:00
|
|
|
padding: 0;
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
2017-07-11 17:17:51 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
nb-card-body {
|
2017-07-20 18:13:11 +03:00
|
|
|
padding: 0;
|
2017-09-19 15:52:46 +03:00
|
|
|
position: relative;
|
2017-07-20 18:13:11 +03:00
|
|
|
}
|
|
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
nb-card-footer {
|
2017-07-20 18:13:11 +03:00
|
|
|
padding: 1rem 0;
|
|
|
|
|
border: none;
|
2017-07-11 17:17:51 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cameras-card-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
.cameras-card-title {
|
|
|
|
|
flex: 1;
|
|
|
|
|
padding: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cameras-filter {
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
a {
|
2017-09-12 13:38:17 +03:00
|
|
|
font-size: 2.5rem;
|
|
|
|
|
padding: 0 0.75rem;
|
2017-07-11 17:17:51 +03:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-fg);
|
2017-07-20 18:13:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a:first-child {
|
2018-05-11 17:25:02 +03:00
|
|
|
@include nb-ltr(border-left, 1px solid nb-theme(separator));
|
|
|
|
|
@include nb-rtl(border-right, 1px solid nb-theme(separator));
|
2017-07-20 18:13:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a:last-child {
|
2018-05-11 17:25:02 +03:00
|
|
|
@include nb-ltr(border-top-right-radius, nb-theme(card-border-radius));
|
|
|
|
|
@include nb-rtl(border-top-left-radius, nb-theme(card-border-radius));
|
2017-07-11 17:17:51 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a.active {
|
2017-08-01 17:42:21 +03:00
|
|
|
background-color: nb-theme(color-bg-active);
|
2017-08-07 16:12:38 +03:00
|
|
|
color: nb-theme(color-fg-heading);
|
2017-07-20 18:13:11 +03:00
|
|
|
border: none;
|
2017-07-11 17:17:51 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cameras {
|
2017-09-19 15:52:46 +03:00
|
|
|
position: absolute;
|
2017-07-11 17:17:51 +03:00
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
2017-09-19 15:52:46 +03:00
|
|
|
width: 100%;
|
2017-07-20 18:13:11 +03:00
|
|
|
height: 100%;
|
2017-08-07 16:12:38 +03:00
|
|
|
}
|
2017-07-11 17:17:51 +03:00
|
|
|
|
2017-08-07 16:12:38 +03:00
|
|
|
.cameras.single-view {
|
2017-07-11 17:17:51 +03:00
|
|
|
.camera {
|
2017-08-07 16:12:38 +03:00
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
2017-07-11 17:17:51 +03:00
|
|
|
|
2017-08-07 16:12:38 +03:00
|
|
|
&::before {
|
|
|
|
|
height: 100%;
|
2017-07-11 17:17:51 +03:00
|
|
|
}
|
|
|
|
|
}
|
2017-08-07 16:12:38 +03:00
|
|
|
}
|
2017-07-11 17:17:51 +03:00
|
|
|
|
2017-08-07 16:12:38 +03:00
|
|
|
.camera {
|
|
|
|
|
position: relative;
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
height: 50%;
|
2017-09-12 13:38:17 +03:00
|
|
|
padding: 0;
|
2017-08-07 16:12:38 +03:00
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
color: white;
|
|
|
|
|
background: rgba(0, 0, 0, 0.4);
|
2017-09-01 17:18:02 +03:00
|
|
|
font-family: nb-theme(font-secondary);
|
|
|
|
|
font-weight: nb-theme(font-weight-bolder);
|
|
|
|
|
font-size: 1.25rem;
|
2017-08-07 16:12:38 +03:00
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.1);
|
2017-07-11 17:17:51 +03:00
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 100%;
|
2017-07-20 18:13:11 +03:00
|
|
|
height: 100%;
|
2017-08-07 16:12:38 +03:00
|
|
|
opacity: 1;
|
2017-07-11 17:17:51 +03:00
|
|
|
}
|
|
|
|
|
|
2017-08-07 16:12:38 +03:00
|
|
|
&:hover::before {
|
2017-07-11 17:17:51 +03:00
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
nb-action {
|
2017-09-11 19:37:55 +03:00
|
|
|
padding: 0 0.5rem 0 0;
|
|
|
|
|
|
2017-07-20 18:13:11 +03:00
|
|
|
i {
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-fg);
|
2017-09-11 19:37:55 +03:00
|
|
|
font-size: 3rem;
|
|
|
|
|
margin-right: 0.5rem;
|
2018-06-21 15:16:53 +03:00
|
|
|
|
|
|
|
|
@include nb-for-theme(corporate) {
|
|
|
|
|
color: nb-theme(actions-fg);
|
|
|
|
|
}
|
2017-07-20 18:13:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span {
|
2017-09-01 17:18:02 +03:00
|
|
|
font-family: nb-theme(font-secondary);
|
2017-08-01 17:42:21 +03:00
|
|
|
font-weight: nb-theme(font-weight-bold);
|
|
|
|
|
color: nb-theme(color-fg-heading);
|
2017-07-20 18:13:11 +03:00
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-08-07 16:12:38 +03:00
|
|
|
|
|
|
|
|
@include nb-for-theme(cosmic) {
|
|
|
|
|
.cameras-filter a.active {
|
|
|
|
|
color: nb-theme(color-fg-highlight);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.camera {
|
|
|
|
|
span {
|
|
|
|
|
background: rgba(88, 73, 184, 0.5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-09-01 17:18:02 +03:00
|
|
|
|
|
|
|
|
nb-action span {
|
|
|
|
|
font-weight: nb-theme(font-weight-bolder);
|
|
|
|
|
}
|
2017-08-07 16:12:38 +03:00
|
|
|
}
|
2017-09-11 19:37:55 +03:00
|
|
|
|
2018-06-21 15:16:53 +03:00
|
|
|
@include nb-for-theme(corporate) {
|
|
|
|
|
.cameras-filter a {
|
|
|
|
|
&.active {
|
|
|
|
|
color: nb-theme(color-primary);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
|
@include nb-ltr(border-left, 1px solid nb-theme(border-color));
|
|
|
|
|
@include nb-rtl(border-right, 1px solid nb-theme(border-color));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-11 19:37:55 +03:00
|
|
|
@include media-breakpoint-down(lg) {
|
|
|
|
|
nb-action {
|
|
|
|
|
padding: 0;
|
|
|
|
|
i {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
span {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-11 17:17:51 +03:00
|
|
|
}
|