blob: b9e72cd179381df201fd752bd3b799e87c42e43a [file] [log] [blame]
Jian Li1f544732015-12-30 23:36:37 -08001/*
2 * Copyright 2016 Open Networking Laboratory
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/*
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
73#ov-meter td.bands {
74 padding-left: 36px;
75 opacity: 0.65;
76}