2017-07-11 17:17:51 +03:00
|
|
|
@import '../../../@theme/styles/variables';
|
|
|
|
|
|
|
|
|
|
@include nga-install-component() {
|
2017-07-20 18:13:11 +03:00
|
|
|
nga-card-header {
|
|
|
|
|
padding: 0;
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
2017-07-11 17:17:51 +03:00
|
|
|
|
2017-07-20 18:13:11 +03:00
|
|
|
nga-card-body {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
nga-card-footer {
|
|
|
|
|
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;
|
|
|
|
|
line-height: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cameras-filter {
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
line-height: 2rem;
|
|
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
color: nga-theme(color-fg);
|
2017-07-20 18:13:11 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a:first-child {
|
|
|
|
|
border-left: 1px solid nga-theme(separator);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a:last-child {
|
|
|
|
|
border-top-right-radius: nga-theme(card-border-radius);
|
2017-07-11 17:17:51 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a.active {
|
2017-07-20 18:13:11 +03:00
|
|
|
background-color: nga-theme(color-bg-active);
|
|
|
|
|
color: nga-theme(color-fg-highlight);
|
|
|
|
|
text-shadow: 0 0 12px rgba(nga-theme(color-fg-highlight), 0.4);
|
|
|
|
|
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;
|
|
|
|
|
line-height: 2.5rem;
|
|
|
|
|
padding-left: 1rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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
|
|
|
|
|
|
|
|
nga-action {
|
|
|
|
|
i {
|
|
|
|
|
color: nga-theme(color-fg);
|
|
|
|
|
font-size: 2.5rem;
|
|
|
|
|
margin-right: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
font-family: nga-theme(font-family-secondary);
|
|
|
|
|
font-weight: nga-theme(font-weight-bold);
|
|
|
|
|
color: nga-theme(color-fg-heading);
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-11 17:17:51 +03:00
|
|
|
}
|