blob: f90556c99b1ca72c416d56226e35da9bba1ccca8 [file] [log] [blame]
Bhavesh72ead492018-07-19 16:29:18 +05301/*
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/*
18 ONOS GUI -- Group View (theme) -- CSS file
19 */
20
21/* a "logical" row is made up of 2 "physical" rows -- color as such */
22#ov-group tr:nth-child(4n + 1),
23#ov-group tr:nth-child(4n + 2) {
24 background-color: #fbfbfb;
25}
26#ov-group tr:nth-child(4n + 3),
27#ov-group tr:nth-child(4n) {
28 background-color: #f4f4f4;
29}
30
31/* highlighted color */
32#ov-group tr:nth-child(4n + 1).data-change,
33#ov-group tr:nth-child(4n + 2).data-change,
34#ov-group tr:nth-child(4n + 3).data-change,
35#ov-group tr:nth-child(4n).data-change {
36 background-color: #FDFFDC;
37}
38
39#ov-group td.selector,
40#ov-group td.treatment {
41 opacity: 0.65;
42}
43
44/* ========== DARK Theme ========== */
45
46.dark #ov-group tr:nth-child(4n + 1),
47.dark #ov-group tr:nth-child(4n + 2) {
48 background-color: #333333;
49}
50.dark #ov-group tr:nth-child(4n + 3),
51.dark #ov-group tr:nth-child(4n) {
52 background-color: #3a3a3a;
53}
54
55.dark #ov-group tr:nth-child(4n + 1).data-change,
56.dark #ov-group tr:nth-child(4n + 2).data-change,
57.dark #ov-group tr:nth-child(4n + 3).data-change,
58.dark #ov-group tr:nth-child(4n).data-change {
59 background-color: #423708;
60}
61
62.light #group-details-panel .bottom th {
63 background-color: #e5e5e6;
64}
65
66.light #group-details-panel .bottom tr:nth-child(odd) {
67 background-color: #fbfbfb;
68}
69.light #group-details-panel .bottom tr:nth-child(even) {
70 background-color: #f4f4f4;
71}