2019-08-12 19:34:23 +03:00
|
|
|
/**
|
2025-02-25 09:39:16 +02:00
|
|
|
* Copyright © 2016-2025 The Thingsboard Authors
|
2019-08-12 19:34:23 +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.
|
|
|
|
|
*/
|
|
|
|
|
:host {
|
2023-05-15 15:15:55 +03:00
|
|
|
min-width: 48px;
|
2020-04-14 11:38:30 +03:00
|
|
|
margin: 8px 0;
|
2023-04-21 18:00:56 +03:00
|
|
|
max-width: 100%;
|
2023-08-01 19:58:59 +03:00
|
|
|
&.no-margin {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
2023-04-21 18:00:56 +03:00
|
|
|
.mdc-button {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
}
|
2019-08-12 19:34:23 +03:00
|
|
|
section.tb-timewindow {
|
2023-05-15 15:15:55 +03:00
|
|
|
padding: 0 8px;
|
2023-08-08 18:54:07 +03:00
|
|
|
&.no-padding {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
pointer-events: all;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
place-content: center flex-start;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
width: 100%;
|
2019-09-03 19:31:16 +03:00
|
|
|
|
2023-08-08 18:54:07 +03:00
|
|
|
.tb-timewindow-label {
|
2019-08-12 19:34:23 +03:00
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
2021-03-17 19:41:52 +02:00
|
|
|
|
|
|
|
|
.timezone-abbr {
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
2019-08-12 19:34:23 +03:00
|
|
|
}
|
|
|
|
|
}
|
2023-04-21 18:00:56 +03:00
|
|
|
|
|
|
|
|
:host ::ng-deep {
|
|
|
|
|
.mdc-button {
|
|
|
|
|
.mat-icon {
|
|
|
|
|
min-width: 24px;
|
|
|
|
|
}
|
|
|
|
|
.mdc-button__label {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
2024-01-29 12:43:51 +02:00
|
|
|
white-space: nowrap;
|
2023-04-21 18:00:56 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|