Simon Hunt | 1002cd8 | 2015-04-23 14:44:03 -0700 | [diff] [blame] | 1 | /* |
| 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 Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 21 | #ov-flow h2 { |
| 22 | display: inline-block; |
| 23 | } |
| 24 | |
| 25 | #ov-flow div.ctrl-btns { |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 26 | 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 Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 41 | } |
| 42 | |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 43 | .light #ov-flow tr:nth-child(6n + 1), |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 44 | .light #ov-flow tr:nth-child(6n + 2), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 45 | .light #ov-flow tr:nth-child(6n + 3) { |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 46 | background-color: #eee; |
| 47 | } |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 48 | .light #ov-flow tr:nth-child(6n + 4), |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 49 | .light #ov-flow tr:nth-child(6n + 5), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 50 | .light #ov-flow tr:nth-child(6n) { |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 51 | background-color: #ddd; |
| 52 | } |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 53 | .dark #ov-flow tr:nth-child(6n + 1), |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 54 | .dark #ov-flow tr:nth-child(6n + 2), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 55 | .dark #ov-flow tr:nth-child(6n + 3) { |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 56 | background-color: #444; |
| 57 | } |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 58 | .dark #ov-flow tr:nth-child(6n + 4), |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 59 | .dark #ov-flow tr:nth-child(6n + 5), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 60 | .dark #ov-flow tr:nth-child(6n) { |
Bri Prebilic Cole | cdc188d | 2015-04-24 16:40:11 -0700 | [diff] [blame] | 61 | background-color: #333; |
| 62 | } |
| 63 | |
| 64 | #ov-flow td.selector, |
| 65 | #ov-flow td.treatment { |
| 66 | padding-left: 36px; |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 67 | opacity: 0.65; |
Simon Hunt | 1002cd8 | 2015-04-23 14:44:03 -0700 | [diff] [blame] | 68 | } |