blob: 97cfc4629fc91561cc26b1ba9dc8557dea32defa [file] [log] [blame]
Sean Condon87b78502018-09-17 20:53:24 +01001/*
2 * Copyright 2018-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/* css for alarm details table view */
18
19/* Panel Styling */
20#ov-alarm-table-item-details-panel.floatpanel {
21 z-index: 0;
22 font-size: 10pt;
23 top: 185px;
24}
25
26#ov-alarm-table-item-details-panel .container {
27 padding: 0 30px;
28}
29
30#ov-alarm-table-item-details-panel .close-btn {
31 position: absolute;
32 right:5px;
33 top: 5px;
34 cursor: pointer;
35}
36
37.light #ov-alarm-table-item-details-panel.floatpanel {
38 background-color: rgb(229, 234, 237);
39}
40.dark #ov-alarm-table-item-details-panel.floatpanel {
41 background-color: #3A4042;
42}
43
44#ov-alarm-table-item-details-panel h2 {
45 display: inline-block;
46 margin: 8px 0;
47 font-weight: bold;
48 font-size: 16pt;
49}
50
51#ov-alarm-table-item-details-panel h3 {
52 margin: 0;
53 font-size: large;
54}
55
56#ov-alarm-table-item-details-panel h4 {
57 margin: 0;
58}
59
60#ov-alarm-table-item-details-panel td {
61 padding: 5px;
62}
63#ov-alarm-table-item-details-panel td.label {
64 font-weight: bold;
65 text-align: right;
66 padding-right: 6px;
67}
Sean Condon7c51a012019-12-04 12:47:05 +000068
69
70@keyframes blinker {
71 50% {
72 opacity: 0;
73 }
74}
75
76td.severity.CRITICAL {
77 background-color: #c72930;
78 color: white;
79 font-weight: bold;
80 animation: blinker 1s linear infinite;
81}
82
83td.severity.MAJOR {
84 background-color: #db7773;
85 color: white;
86 font-weight: bold;
87}
88
89td.severity.MINOR {
90 background-color: #007dc4;
91 color: white;
92}
93
94td.severity.WARNING {
95 background-color: #87d6f9;
96}