Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame^] | 1 | /* |
| 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 -- Group View (theme) -- CSS file |
| 19 | */ |
| 20 | |
| 21 | .light #ov-group .current-view use { |
| 22 | fill: white; |
| 23 | } |
| 24 | .dark #ov-group .current-view use { |
| 25 | fill: #304860; |
| 26 | } |
| 27 | |
| 28 | .light #ov-group .current-view rect { |
| 29 | fill: deepskyblue; |
| 30 | } |
| 31 | .dark #ov-group .current-view rect { |
| 32 | fill: #eee; |
| 33 | } |
| 34 | |
| 35 | .light #ov-group tr:nth-child(4n + 1), |
| 36 | .light #ov-group tr:nth-child(4n + 2) { |
| 37 | background-color: #eee; |
| 38 | } |
| 39 | .light #ov-group tr:nth-child(4n + 3), |
| 40 | .light #ov-group tr:nth-child(4n) { |
| 41 | background-color: #ddd; |
| 42 | } |
| 43 | .dark #ov-group tr:nth-child(4n + 1), |
| 44 | .dark #ov-group tr:nth-child(4n + 2) { |
| 45 | background-color: #444; |
| 46 | } |
| 47 | .dark #ov-group tr:nth-child(4n + 3), |
| 48 | .dark #ov-group tr:nth-child(4n) { |
| 49 | background-color: #333; |
| 50 | } |
| 51 | |
| 52 | /* highlighted color */ |
| 53 | .light #ov-group tr:nth-child(4n + 1).data-change, |
| 54 | .light #ov-group tr:nth-child(4n + 2).data-change, |
| 55 | .light #ov-group tr:nth-child(4n + 3).data-change, |
| 56 | .light #ov-group tr:nth-child(4n).data-change { |
| 57 | background-color: #FDFFDC; |
| 58 | } |
| 59 | .dark #ov-group tr:nth-child(4n + 1).data-change, |
| 60 | .dark #ov-group tr:nth-child(4n + 2).data-change, |
| 61 | .dark #ov-group tr:nth-child(4n + 3).data-change, |
| 62 | .dark #ov-group tr:nth-child(4n).data-change { |
| 63 | background-color: #5A5600; |
| 64 | } |