2019-10-17 18:23:53 +03:00
|
|
|
/**
|
2022-01-17 14:07:46 +02:00
|
|
|
* Copyright © 2016-2022 The Thingsboard Authors
|
2019-10-17 18:23:53 +03:00
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
|
*
|
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
*
|
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
|
* limitations under the License.
|
|
|
|
|
*/
|
2020-04-21 11:53:26 +03:00
|
|
|
@import '../../../../../scss/constants';
|
|
|
|
|
|
2019-10-17 18:23:53 +03:00
|
|
|
:host {
|
|
|
|
|
.tb-datakey-config {
|
2020-04-21 11:53:26 +03:00
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
|
|
.settings{
|
|
|
|
|
&> :first-child{
|
|
|
|
|
padding-top: 12px;
|
|
|
|
|
}
|
|
|
|
|
&> :nth-child(n){
|
|
|
|
|
padding-right: 12px;
|
|
|
|
|
padding-left: 12px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-14 17:49:37 +03:00
|
|
|
|
|
|
|
|
.fields-group {
|
|
|
|
|
padding: 0 16px 8px;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
border: 1px groove rgba(0, 0, 0, .25);
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
|
|
legend {
|
|
|
|
|
color: rgba(0, 0, 0, .7);
|
|
|
|
|
width: fit-content;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
legend + * {
|
|
|
|
|
display: block;
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.fields-group-slider {
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
|
|
legend {
|
|
|
|
|
margin-left: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .tb-settings {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
padding: 0 16px 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-10-17 18:23:53 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:host ::ng-deep {
|
|
|
|
|
.tb-datakey-config {
|
|
|
|
|
.mat-tab-body.mat-tab-body-active {
|
|
|
|
|
.mat-tab-body-content > div {
|
2020-04-21 11:53:26 +03:00
|
|
|
height: calc(65vh - 50px);
|
|
|
|
|
overflow: initial;
|
|
|
|
|
@media #{$mat-xs} {
|
|
|
|
|
height: 500px;
|
|
|
|
|
}
|
2019-10-17 18:23:53 +03:00
|
|
|
}
|
|
|
|
|
}
|
2022-09-14 17:49:37 +03:00
|
|
|
.mat-expansion-panel {
|
|
|
|
|
&.tb-settings {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
|
|
|
|
|
.mat-content {
|
|
|
|
|
overflow: visible;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-expansion-panel-header {
|
|
|
|
|
padding: 0;
|
|
|
|
|
color: rgba(0, 0, 0, 0.87);
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-expansion-indicator {
|
|
|
|
|
padding: 2px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-10-05 11:11:27 +03:00
|
|
|
&.comparison {
|
|
|
|
|
.mat-expansion-panel-header {
|
|
|
|
|
height: 140px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-09-14 17:49:37 +03:00
|
|
|
.mat-expansion-panel-header-description {
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> .mat-expansion-panel-content {
|
|
|
|
|
> .mat-expansion-panel-body {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-expansion-panel-content {
|
|
|
|
|
font: inherit;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-slide {
|
|
|
|
|
margin: 8px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-slide-toggle-content {
|
|
|
|
|
white-space: normal;
|
|
|
|
|
}
|
2019-10-17 18:23:53 +03:00
|
|
|
}
|
|
|
|
|
}
|