2017-07-06 19:10:31 +03:00
|
|
|
@import '../../../@theme/styles/variables';
|
|
|
|
|
|
|
|
|
|
@include nga-install-component() {
|
|
|
|
|
|
2017-07-07 19:54:49 +03:00
|
|
|
nga-card {
|
2017-07-11 18:59:08 +03:00
|
|
|
background-image: nga-theme(radial-gradient);
|
2017-07-07 19:54:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
nga-tabset {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-06 19:10:31 +03:00
|
|
|
nga-tab.content-active {
|
2017-07-10 16:35:55 +03:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.temperature-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-10 19:57:04 +03:00
|
|
|
margin-top: -3.5rem;
|
2017-07-06 19:10:31 +03:00
|
|
|
width: 80%;
|
|
|
|
|
}
|
2017-07-07 19:54:49 +03:00
|
|
|
|
|
|
|
|
.temperature {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.value {
|
|
|
|
|
position: relative;
|
|
|
|
|
color: nga-theme(color-fg-heading);
|
|
|
|
|
font-family: nga-theme(font-secondary);
|
|
|
|
|
font-size: 4rem;
|
|
|
|
|
font-weight: nga-theme(font-weight-bolder);
|
|
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
|
position: absolute;
|
|
|
|
|
content: '°';
|
|
|
|
|
top: 0;
|
|
|
|
|
right: -1.25rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.desc {
|
|
|
|
|
color: nga-theme(color-fg);
|
|
|
|
|
font-weight: nga-theme(font-weight-light);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.off {
|
|
|
|
|
.value {
|
|
|
|
|
color: nga-theme(color-fg);
|
|
|
|
|
letter-spacing: 0.25rem;
|
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.desc {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-11 11:50:43 +03:00
|
|
|
|
|
|
|
|
.btn-icon {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
border-color: nga-theme(form-control-border-color);
|
|
|
|
|
width: 4.5rem;
|
|
|
|
|
height: 4.5rem;
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
|
border-color: nga-theme(color-fg-highlight);
|
|
|
|
|
box-shadow: 0 2px 12px 0 rgba(nga-theme(color-fg-highlight), 0.25);
|
|
|
|
|
background-color: rgba(nga-theme(color-fg-highlight), 0.25);
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-07-06 19:10:31 +03:00
|
|
|
}
|