blob: ad9a1b1b9597e8d96c6a4c6debd65893075e30dc [file] [log] [blame]
Jian Li1f544732015-12-30 23:36:37 -08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
Jian Li1f544732015-12-30 23:36:37 -08003 *
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/*
18 ONOS GUI -- Meter View -- CSS file
19 */
20
21#ov-meter h2 {
22 display: inline-block;
23}
24
25#ov-meter div.ctrl-btns {
26}
27
28.light #ov-meter .current-view use {
29 fill: white;
30}
31.dark #ov-meter .current-view use {
32 fill: #304860;
33}
34
35.light #ov-meter .current-view rect {
36 fill: deepskyblue;
37}
38.dark #ov-meter .current-view rect {
39 fill: #eee;
40}
41
42.light #ov-meter tr:nth-child(4n + 1),
43.light #ov-meter tr:nth-child(4n + 2) {
44 background-color: #eee;
45}
46.light #ov-meter tr:nth-child(4n + 3),
47.light #ov-meter tr:nth-child(4n) {
48 background-color: #ddd;
49}
50.dark #ov-meter tr:nth-child(4n + 1),
51.dark #ov-meter tr:nth-child(4n + 2) {
52 background-color: #444;
53}
54.dark #ov-meter tr:nth-child(4n + 3),
55.dark #ov-meter tr:nth-child(4n) {
56 background-color: #333;
57}
58
59/* highlighted color */
60.light #ov-meter tr:nth-child(4n + 1).data-change,
61.light #ov-meter tr:nth-child(4n + 2).data-change,
62.light #ov-meter tr:nth-child(4n + 3).data-change,
63.light #ov-meter tr:nth-child(4n).data-change {
64 background-color: #FDFFDC;
65}
66.dark #ov-meter tr:nth-child(4n + 1).data-change,
67.dark #ov-meter tr:nth-child(4n + 2).data-change,
68.dark #ov-meter tr:nth-child(4n + 3).data-change,
69.dark #ov-meter tr:nth-child(4n).data-change {
70 background-color: #5A5600;
71}
72
Simon Huntbe60dde2016-01-13 12:26:56 -080073#ov-meter td {
74 text-align: center;
75}
76#ov-meter td.right {
77 text-align: right;
78}
Jian Li1f544732015-12-30 23:36:37 -080079#ov-meter td.bands {
Simon Huntbe60dde2016-01-13 12:26:56 -080080 text-align: left;
Jian Li1f544732015-12-30 23:36:37 -080081 padding-left: 36px;
82 opacity: 0.65;
83}