blob: 9f4dea4daefef1291f0df3fd111f46ae2c6bebfc [file] [log] [blame]
Bhavesh72ead492018-07-19 16:29:18 +05301/*
2 * Copyright 2016-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/*
18 ONOS GUI -- Meter View (theme) -- CSS file
19 */
20
21
22/* a "logical" row is made up of 2 "physical" rows -- color as such */
23#ov-meter tr:nth-child(4n + 1),
24#ov-meter tr:nth-child(4n + 2) {
25 background-color: #fbfbfb;
26}
27#ov-meter tr:nth-child(4n + 3),
28#ov-meter tr:nth-child(4n) {
29 background-color: #f4f4f4;
30 }
31
32/* highlighted color */
33#ov-meter tr:nth-child(4n + 1).data-change,
34#ov-meter tr:nth-child(4n + 2).data-change,
35#ov-meter tr:nth-child(4n + 3).data-change,
36#ov-meter tr:nth-child(4n).data-change {
37 background-color: #FDFFDC;
38}
39
40
41/* ========== DARK Theme ========== */
42
43.dark #ov-meter tr:nth-child(4n + 1),
44.dark #ov-meter tr:nth-child(4n + 2) {
45 background-color: #333333;
46}
47.dark #ov-meter tr:nth-child(4n + 3),
48.dark #ov-meter tr:nth-child(4n) {
49 background-color: #3a3a3a;
50}
51
52.dark #ov-meter tr:nth-child(4n + 1).data-change,
53.dark #ov-meter tr:nth-child(4n + 2).data-change,
54.dark #ov-meter tr:nth-child(4n + 3).data-change,
55.dark #ov-meter tr:nth-child(4n).data-change {
56 background-color: #423708;
57}
58
59