blob: 9aadffa4073677b89d61545469b9b75a2fe50ed5 [file] [log] [blame]
Simon Hunt1002cd82015-04-23 14:44:03 -07001/*
2 * Copyright 2015 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 -- 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 width: 240px;
27}
28
29.light #ov-flow .current-view use {
30 fill: white;
31}
32.dark #ov-flow .current-view use {
33 fill: #304860;
34}
35
36.light #ov-flow .current-view rect {
37 fill: deepskyblue;
38}
39.dark #ov-flow .current-view rect {
40 fill: #eee;
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070041}
42
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070043.light #ov-flow tr:nth-child(6n + 1),
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070044.light #ov-flow tr:nth-child(6n + 2),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070045.light #ov-flow tr:nth-child(6n + 3) {
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070046 background-color: #eee;
47}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070048.light #ov-flow tr:nth-child(6n + 4),
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070049.light #ov-flow tr:nth-child(6n + 5),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070050.light #ov-flow tr:nth-child(6n) {
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070051 background-color: #ddd;
52}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070053.dark #ov-flow tr:nth-child(6n + 1),
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070054.dark #ov-flow tr:nth-child(6n + 2),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070055.dark #ov-flow tr:nth-child(6n + 3) {
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070056 background-color: #444;
57}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070058.dark #ov-flow tr:nth-child(6n + 4),
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070059.dark #ov-flow tr:nth-child(6n + 5),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070060.dark #ov-flow tr:nth-child(6n) {
Bri Prebilic Colecdc188d2015-04-24 16:40:11 -070061 background-color: #333;
62}
63
64#ov-flow td.selector,
65#ov-flow td.treatment {
66 padding-left: 36px;
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070067 opacity: 0.65;
Simon Hunt1002cd82015-04-23 14:44:03 -070068}