2023-01-15 13:14:48 +02:00
|
|
|
/**
|
2023-02-10 16:17:12 +02:00
|
|
|
* Copyright © 2016-2023 The Thingsboard Authors
|
2023-01-15 13:14:48 +02: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 {
|
|
|
|
|
.tb-alarm-comments {
|
|
|
|
|
padding: 16px 24px 24px 24px;
|
|
|
|
|
background-color: #fafafa;
|
|
|
|
|
max-width: 600px;
|
|
|
|
|
|
|
|
|
|
&-header {
|
|
|
|
|
background-color: #fafafa;
|
|
|
|
|
position: sticky;
|
|
|
|
|
top: -25px;
|
|
|
|
|
z-index: 1;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
|
|
&-title {
|
|
|
|
|
color: rgba(0, 0, 0, 0.76);
|
|
|
|
|
letter-spacing: 0.25px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-icon {
|
|
|
|
|
color: rgba(0, 0, 0, 0.38);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-user-avatar {
|
2023-02-10 16:17:12 +02:00
|
|
|
width: 28px;
|
|
|
|
|
min-width: 28px;
|
|
|
|
|
height: 28px;
|
|
|
|
|
min-height: 28px;
|
2023-01-15 13:14:48 +02:00
|
|
|
border-radius: 50%;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-user-name {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
color: rgba(0, 0, 0, 0.76);
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
letter-spacing: 0.25px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-time {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: rgba(0, 0, 0, 0.38);
|
|
|
|
|
letter-spacing: 0.2px
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-system-text {
|
|
|
|
|
color: rgba(0, 0, 0, 0.38);
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
letter-spacing: 0.25px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-text {
|
|
|
|
|
white-space: pre-line;
|
|
|
|
|
word-break: break-word;
|
|
|
|
|
color: rgba(0, 0, 0, 0.54);
|
|
|
|
|
letter-spacing: 0.15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-action-buttons {
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
.mat-icon {
|
|
|
|
|
color: rgba(0, 0, 0, 0.38);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.show-buttons {
|
|
|
|
|
visibility: visible;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.green-button {
|
|
|
|
|
color: #00695C;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.red-button {
|
|
|
|
|
color: #D12730;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mat-form-field {
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
letter-spacing: 0.15px;
|
|
|
|
|
color: rgba(0, 0, 0, 0.76);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
|
letter-spacing: 0.15px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|