blob: 2b561f9e50c05f5022ac9796ee1396bf4da25c30 [file] [log] [blame]
Simon Hunt58894c82016-05-24 15:09:02 -07001/*
2 * Copyright 2016-present 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 -- Flow View (theme) -- CSS file
19 */
20
21
Simon Hunta42c4dc2016-06-06 11:56:59 -070022/* a "logical" row is made up of 3 "physical" rows -- color as such */
Simon Hunt58894c82016-05-24 15:09:02 -070023.light #ov-flow tr:nth-child(6n + 1),
24.light #ov-flow tr:nth-child(6n + 2),
25.light #ov-flow tr:nth-child(6n + 3) {
Simon Hunta42c4dc2016-06-06 11:56:59 -070026 background-color: #fbfbfb;
Simon Hunt58894c82016-05-24 15:09:02 -070027}
28.light #ov-flow tr:nth-child(6n + 4),
29.light #ov-flow tr:nth-child(6n + 5),
30.light #ov-flow tr:nth-child(6n) {
Simon Hunta42c4dc2016-06-06 11:56:59 -070031 background-color: #f4f4f4;
Simon Hunt58894c82016-05-24 15:09:02 -070032}
Simon Hunt58894c82016-05-24 15:09:02 -070033
34/* highlighted color */
35.light #ov-flow tr:nth-child(6n + 1).data-change,
36.light #ov-flow tr:nth-child(6n + 2).data-change,
37.light #ov-flow tr:nth-child(6n + 3).data-change,
38.light #ov-flow tr:nth-child(6n + 4).data-change,
39.light #ov-flow tr:nth-child(6n + 5).data-change,
40.light #ov-flow tr:nth-child(6n).data-change {
Simon Hunta42c4dc2016-06-06 11:56:59 -070041 background-color: #fdffdc;
Simon Hunt58894c82016-05-24 15:09:02 -070042}
43
44#ov-flow td.selector,
45#ov-flow td.treatment {
46 opacity: 0.65;
47}
Simon Huntbb0f2672017-03-28 18:52:59 -070048
49/* ========== DARK Theme ========== */
50
51.dark #ov-flow tr:nth-child(6n + 1),
52.dark #ov-flow tr:nth-child(6n + 2),
53.dark #ov-flow tr:nth-child(6n + 3) {
54 background-color: #333333;
55}
56.dark #ov-flow tr:nth-child(6n + 4),
57.dark #ov-flow tr:nth-child(6n + 5),
58.dark #ov-flow tr:nth-child(6n) {
59 background-color: #3a3a3a;
60}
61
62.dark #ov-flow tr:nth-child(6n + 1).data-change,
63.dark #ov-flow tr:nth-child(6n + 2).data-change,
64.dark #ov-flow tr:nth-child(6n + 3).data-change,
65.dark #ov-flow tr:nth-child(6n + 4).data-change,
66.dark #ov-flow tr:nth-child(6n + 5).data-change,
67.dark #ov-flow tr:nth-child(6n).data-change {
68 background-color: #423708;
69}