2017-08-03 13:53:18 +03:00
|
|
|
@import '../../../@theme/styles/themes';
|
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-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 {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
|
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 {
|
2017-08-01 17:42:21 +03:00
|
|
|
border-left: 1px solid nb-theme(separator);
|
2017-07-20 18:13:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a:last-child {
|
2017-08-01 17:42:21 +03:00
|
|
|
border-top-right-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 {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
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%;
|
|
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
transition: 0.2s;
|
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-07-20 18:13:11 +03:00
|
|
|
i {
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-fg);
|
2017-09-05 17:30:24 +03:00
|
|
|
font-size: 2rem;
|
2017-07-20 18:13:11 +03:00
|
|
|
margin-right: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
text-shadow: 0 0 12px rgba(nb-theme(color-fg-highlight), 0.4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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-07-11 17:17:51 +03:00
|
|
|
}
|