Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 1 | /* |
| 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 table view */ |
Sean Condon | 7c51a01 | 2019-12-04 12:47:05 +0000 | [diff] [blame] | 18 | #ov-alarm-table .tabular-header { |
| 19 | text-align: left; |
| 20 | } |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 21 | |
| 22 | #ov-alarm-table h2 { |
| 23 | display: inline-block; |
| 24 | } |
Sean Condon | 7c51a01 | 2019-12-04 12:47:05 +0000 | [diff] [blame] | 25 | |
| 26 | #ov-alarm-table div.summary-list .table-header td { |
| 27 | font-weight: bold; |
| 28 | font-variant: small-caps; |
| 29 | text-transform: uppercase; |
| 30 | font-size: 10pt; |
| 31 | padding-top: 8px; |
| 32 | padding-bottom: 8px; |
| 33 | letter-spacing: 0.02em; |
| 34 | cursor: pointer; |
| 35 | background-color: #e5e5e6; |
| 36 | color: #3c3a3a; |
| 37 | } |
| 38 | |
| 39 | #ov-alarm-table div.summary-list .table-body { |
| 40 | overflow:scroll; |
| 41 | } |
| 42 | |
| 43 | #ov-alarm-table, div.ctrl-btns { |
| 44 | } |
| 45 | |
| 46 | #ov-alarm-table th, td { |
| 47 | text-align: left; |
| 48 | padding: 8px; |
| 49 | } |
| 50 | |
| 51 | @keyframes blinker { |
| 52 | 50% { |
| 53 | opacity: 0; |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | td.severity.CRITICAL { |
| 58 | background-color: #c72930; |
| 59 | color: white; |
| 60 | font-weight: bold; |
| 61 | animation: blinker 1s linear infinite; |
| 62 | } |
| 63 | |
| 64 | td.severity.MAJOR { |
| 65 | background-color: #db7773; |
| 66 | color: white; |
| 67 | font-weight: bold; |
| 68 | } |
| 69 | |
| 70 | td.severity.MINOR { |
| 71 | background-color: #007dc4; |
| 72 | color: white; |
| 73 | } |
| 74 | |
| 75 | td.severity.WARNING { |
| 76 | background-color: #87d6f9; |
| 77 | } |