blob: 805f4c810407915e0427b2e74aa44f248045f224 [file] [log] [blame]
Simon Hunt1002cd82015-04-23 14:44:03 -07001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
Simon Hunt1002cd82015-04-23 14:44:03 -07003 *
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 -- CSS file
19 */
20
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070021#ov-flow h2 {
22 display: inline-block;
23}
24
25#ov-flow div.ctrl-btns {
Bri Prebilic Cole9b1fb9a2015-07-01 13:57:11 -070026}
27
28.light #ov-flow .current-view use {
29 fill: white;
30}
31.dark #ov-flow .current-view use {
32 fill: #304860;
33}
34
35.light #ov-flow .current-view rect {
36 fill: deepskyblue;
37}
38.dark #ov-flow .current-view rect {
39 fill: #eee;
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070040}
41
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070042.light #ov-flow tr:nth-child(6n + 1),
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070043.light #ov-flow tr:nth-child(6n + 2),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070044.light #ov-flow tr:nth-child(6n + 3) {
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070045 background-color: #eee;
46}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070047.light #ov-flow tr:nth-child(6n + 4),
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070048.light #ov-flow tr:nth-child(6n + 5),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070049.light #ov-flow tr:nth-child(6n) {
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070050 background-color: #ddd;
51}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070052.dark #ov-flow tr:nth-child(6n + 1),
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070053.dark #ov-flow tr:nth-child(6n + 2),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070054.dark #ov-flow tr:nth-child(6n + 3) {
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070055 background-color: #444;
56}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070057.dark #ov-flow tr:nth-child(6n + 4),
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070058.dark #ov-flow tr:nth-child(6n + 5),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070059.dark #ov-flow tr:nth-child(6n) {
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070060 background-color: #333;
61}
62
Bri Prebilic Cole0bc4de22015-07-20 17:07:55 -070063/* highlighted color */
64.light #ov-flow tr:nth-child(6n + 1).data-change,
65.light #ov-flow tr:nth-child(6n + 2).data-change,
66.light #ov-flow tr:nth-child(6n + 3).data-change,
67.light #ov-flow tr:nth-child(6n + 4).data-change,
68.light #ov-flow tr:nth-child(6n + 5).data-change,
69.light #ov-flow tr:nth-child(6n).data-change {
70 background-color: #FDFFDC;
71}
72.dark #ov-flow tr:nth-child(6n + 1).data-change,
73.dark #ov-flow tr:nth-child(6n + 2).data-change,
74.dark #ov-flow tr:nth-child(6n + 3).data-change,
75.dark #ov-flow tr:nth-child(6n + 4).data-change,
76.dark #ov-flow tr:nth-child(6n + 5).data-change,
77.dark #ov-flow tr:nth-child(6n).data-change {
78 background-color: #5A5600;
79}
80
Simon Huntbe60dde2016-01-13 12:26:56 -080081#ov-flow td {
82 text-align: center;
83}
84#ov-flow td.right {
85 text-align: right;
86}
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070087#ov-flow td.selector,
88#ov-flow td.treatment {
Simon Huntbe60dde2016-01-13 12:26:56 -080089 text-align: left;
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070090 padding-left: 36px;
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070091 opacity: 0.65;
Simon Hunt1002cd82015-04-23 14:44:03 -070092}