2017-07-11 17:17:51 +03:00
|
|
|
@import '../../../@theme/styles/variables';
|
|
|
|
|
|
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);
|
|
|
|
|
color: nb-theme(color-fg-highlight);
|
|
|
|
|
text-shadow: 0 0 12px rgba(nb-theme(color-fg-highlight), 0.4);
|
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-07-11 17:17:51 +03:00
|
|
|
|
|
|
|
|
.camera {
|
|
|
|
|
position: relative;
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-size: cover;
|
2017-07-20 18:13:11 +03:00
|
|
|
height: 50%;
|
2017-07-11 17:17:51 +03:00
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
color: white;
|
|
|
|
|
background: rgba(88, 73, 184, 0.5);
|
|
|
|
|
font-size: 1rem;
|
2017-07-24 19:10:59 +03:00
|
|
|
padding: 0.5rem 1rem;
|
2017-07-11 17:17:51 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.camera::before {
|
|
|
|
|
background-color: black;
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 100%;
|
2017-07-20 18:13:11 +03:00
|
|
|
height: 100%;
|
2017-07-12 19:33:43 +03:00
|
|
|
opacity: 0.2;
|
2017-07-12 16:20:30 +03:00
|
|
|
transition: 0.1s;
|
2017-07-11 17:17:51 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.camera:hover::before {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cameras.single-view {
|
|
|
|
|
.camera {
|
2017-07-20 18:13:11 +03:00
|
|
|
height: 100%;
|
2017-07-11 17:17:51 +03:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
|
|
&::before {
|
2017-07-20 18:13:11 +03:00
|
|
|
height: 100%;
|
2017-07-11 17:17:51 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-20 18:13:11 +03:00
|
|
|
|
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-07-20 18:13:11 +03:00
|
|
|
font-size: 2.5rem;
|
|
|
|
|
margin-right: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span {
|
2017-08-01 17:42:21 +03:00
|
|
|
font-family: nb-theme(font-family-secondary);
|
|
|
|
|
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-07-11 17:17:51 +03:00
|
|
|
}
|