thingsboard/ui-ngx/src/app/shared/components/notification/notification.component.scss

75 lines
1.5 KiB
SCSS
Raw Normal View History

2023-01-20 15:08:44 +02:00
/**
* Copyright © 2016-2023 The Thingsboard Authors
2023-01-20 15:08:44 +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 {
2023-02-06 13:31:00 +02:00
.notification {
padding: 10px;
display: block;
border: 1px solid;
2023-02-07 17:31:01 +02:00
border-radius: 4px;
2023-02-06 13:31:00 +02:00
}
2023-01-20 15:08:44 +02:00
.icon {
2023-01-20 15:08:44 +02:00
margin-right: 14px;
color: rgba(0, 0, 0, 0.54);
}
.content {
letter-spacing: .25px;
2023-03-22 11:53:29 +02:00
word-break: break-word;
2023-01-20 15:08:44 +02:00
.title {
margin-bottom: 4px;
font-weight: 500;
}
.message {
font-size: 14px;
line-height: 16px;
color: rgba(0, 0, 0, 0.76);
}
.button {
2023-02-07 17:31:01 +02:00
margin-top: 12px;
border-color: initial;
}
2023-01-20 15:08:44 +02:00
}
.description {
margin-left: 8px;
min-width: 70px;
color: rgba(0, 0, 0, 0.54);
.mark-read {
margin-bottom: 6px;
}
.time {
font-size: 12px;
letter-spacing: 0.25px;
2023-02-07 17:31:01 +02:00
margin: 0 4px;
}
.alarm-severity {
padding: 5px;
border-radius: 8px;
2023-02-09 12:31:06 +02:00
.severity {
font-weight: 500;
letter-spacing: 0.25px;
}
2023-01-20 15:08:44 +02:00
}
}
}