2017-08-03 13:53:18 +03:00
|
|
|
@import '../../../@theme/styles/themes';
|
2017-09-13 18:50:33 +03:00
|
|
|
@import '~bootstrap/scss/mixins/breakpoints';
|
|
|
|
|
@import '~@nebular/theme/styles/global/bootstrap/breakpoints';
|
2017-07-06 19:10:31 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
@include nb-install-component() {
|
2017-07-06 19:10:31 +03:00
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
nb-card {
|
|
|
|
|
background-image: nb-theme(radial-gradient);
|
2017-07-07 19:54:49 +03:00
|
|
|
}
|
|
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
nb-tabset {
|
2017-07-07 19:54:49 +03:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100%;
|
2017-07-19 12:07:17 +03:00
|
|
|
|
|
|
|
|
/deep/ ul {
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
2017-07-07 19:54:49 +03:00
|
|
|
}
|
|
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
nb-tab.content-active {
|
2017-07-10 16:35:55 +03:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-13 16:00:49 +03:00
|
|
|
.slider-container {
|
2017-07-06 19:10:31 +03:00
|
|
|
display: flex;
|
2017-07-07 19:54:49 +03:00
|
|
|
flex: 1;
|
2017-07-06 19:10:31 +03:00
|
|
|
justify-content: center;
|
2017-07-07 19:54:49 +03:00
|
|
|
align-items: center;
|
2017-07-06 19:10:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ngx-temperature-dragger {
|
2017-07-13 16:00:49 +03:00
|
|
|
margin-top: -1.5rem;
|
2017-07-06 19:10:31 +03:00
|
|
|
width: 80%;
|
2017-09-13 18:50:33 +03:00
|
|
|
max-width: 300px;
|
2017-07-06 19:10:31 +03:00
|
|
|
}
|
2017-07-07 19:54:49 +03:00
|
|
|
|
2017-07-13 16:00:49 +03:00
|
|
|
.slider-value-container {
|
2017-07-07 19:54:49 +03:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.value {
|
|
|
|
|
position: relative;
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-fg-heading);
|
|
|
|
|
font-family: nb-theme(font-secondary);
|
2017-07-07 19:54:49 +03:00
|
|
|
font-size: 4rem;
|
2017-08-01 17:42:21 +03:00
|
|
|
font-weight: nb-theme(font-weight-bolder);
|
2017-07-07 19:54:49 +03:00
|
|
|
|
2017-07-13 16:00:49 +03:00
|
|
|
&.temperature::before {
|
2017-07-07 19:54:49 +03:00
|
|
|
position: absolute;
|
|
|
|
|
content: '°';
|
|
|
|
|
top: 0;
|
|
|
|
|
right: -1.25rem;
|
|
|
|
|
}
|
2017-07-13 16:00:49 +03:00
|
|
|
|
|
|
|
|
&.humidity::before {
|
|
|
|
|
position: absolute;
|
|
|
|
|
content: '%';
|
|
|
|
|
bottom: 0.5rem;
|
|
|
|
|
right: -2.5rem;
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-fg);
|
2017-07-13 16:00:49 +03:00
|
|
|
font-size: 2.5rem;
|
2017-08-01 17:42:21 +03:00
|
|
|
font-weight: nb-theme(font-weight-light);
|
2017-07-13 16:00:49 +03:00
|
|
|
}
|
2017-07-07 19:54:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.desc {
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-fg);
|
|
|
|
|
font-weight: nb-theme(font-weight-light);
|
2017-07-07 19:54:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.off {
|
|
|
|
|
.value {
|
2017-08-01 17:42:21 +03:00
|
|
|
color: nb-theme(color-fg);
|
2017-07-07 19:54:49 +03:00
|
|
|
letter-spacing: 0.25rem;
|
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.desc {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-11 11:50:43 +03:00
|
|
|
|
2017-07-13 11:49:38 +03:00
|
|
|
.btn-group {
|
|
|
|
|
padding: 1.25rem;
|
2017-09-13 18:50:33 +03:00
|
|
|
justify-content: center
|
2017-07-13 11:49:38 +03:00
|
|
|
}
|
|
|
|
|
|
2017-07-11 11:50:43 +03:00
|
|
|
.btn-icon {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
2017-08-01 17:42:21 +03:00
|
|
|
border-color: nb-theme(form-control-border-color);
|
2017-09-13 18:50:33 +03:00
|
|
|
width: 4.5rem;
|
2017-07-11 11:50:43 +03:00
|
|
|
height: 4.5rem;
|
2017-07-13 11:49:38 +03:00
|
|
|
padding: 0;
|
2017-07-20 19:55:07 +03:00
|
|
|
margin-bottom: 0;
|
2017-09-05 17:30:24 +03:00
|
|
|
color: nb-theme(color-fg);
|
2017-07-11 11:50:43 +03:00
|
|
|
|
|
|
|
|
&.active {
|
2017-08-01 17:42:21 +03:00
|
|
|
border-color: nb-theme(color-fg-highlight);
|
2017-09-05 17:30:24 +03:00
|
|
|
color: nb-theme(color-fg-highlight);
|
2017-07-11 11:50:43 +03:00
|
|
|
}
|
2017-07-13 11:49:38 +03:00
|
|
|
|
|
|
|
|
i {
|
|
|
|
|
font-size: 1.75rem;
|
2017-09-01 11:57:02 +03:00
|
|
|
line-height: 1;
|
2017-07-13 11:49:38 +03:00
|
|
|
}
|
2017-07-11 11:50:43 +03:00
|
|
|
}
|
2017-08-07 16:12:38 +03:00
|
|
|
|
|
|
|
|
@include nb-for-theme(cosmic) {
|
|
|
|
|
.btn-icon {
|
|
|
|
|
border-color: nb-theme(form-control-border-color);
|
|
|
|
|
|
|
|
|
|
&.active {
|
2017-08-09 20:05:04 +03:00
|
|
|
color: nb-theme(color-fg-heading);
|
2017-08-07 16:12:38 +03:00
|
|
|
border-color: nb-theme(color-fg-highlight);
|
|
|
|
|
box-shadow: 0 2px 12px 0 rgba(nb-theme(color-fg-highlight), 0.25);
|
|
|
|
|
background-color: rgba(nb-theme(color-fg-highlight), 0.25);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-09-13 18:50:33 +03:00
|
|
|
|
|
|
|
|
@include media-breakpoint-down(xs) {
|
|
|
|
|
.btn-icon {
|
|
|
|
|
width: 3.5rem;
|
|
|
|
|
height: 3.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
nb-tabset /deep/ ul {
|
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-06 19:10:31 +03:00
|
|
|
}
|