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 -- Device View (theme) -- CSS file |
| 19 | */ |
| 20 | |
| 21 | .light #ov-device .current-view use { |
| 22 | fill: white; |
| 23 | } |
| 24 | .dark #ov-device .current-view use { |
| 25 | fill: #304860; |
| 26 | } |
| 27 | |
| 28 | .light #ov-device .current-view rect { |
| 29 | fill: deepskyblue; |
| 30 | } |
| 31 | .dark #ov-device .current-view rect { |
| 32 | fill: #eee; |
| 33 | } |
| 34 | |
| 35 | .light #device-details-panel.floatpanel { |
| 36 | background-color: rgb(229, 234, 237); |
| 37 | } |
| 38 | .dark #device-details-panel.floatpanel { |
| 39 | background-color: #3A4042; |
| 40 | } |
| 41 | |
| 42 | .light .close-btn svg.embeddedIcon .icon.plus .glyph { |
| 43 | fill: #aaa; |
| 44 | } |
| 45 | .dark .close-btn svg.embeddedIcon .icon.plus .glyph { |
| 46 | fill: #ccc; |
| 47 | } |
| 48 | |
| 49 | .light .dev-icon svg.embeddedIcon .glyph { |
| 50 | fill: rgb(0, 172, 229); |
| 51 | } |
| 52 | .dark .dev-icon svg.embeddedIcon .glyph { |
| 53 | fill: #486D91; |
| 54 | } |
| 55 | |
| 56 | #device-details-panel .editable { |
| 57 | cursor: pointer; |
| 58 | border-bottom: 1px dashed darkgreen; |
| 59 | } |
| 60 | |
| 61 | #device-details-panel td.label { |
| 62 | /* works for both light and dark themes ... */ |
| 63 | color: #777; |
| 64 | } |
| 65 | |
| 66 | .light #device-details-panel hr { |
| 67 | opacity: .5; |
| 68 | border-color: #FFF; |
| 69 | } |
| 70 | .dark #device-details-panel hr { |
| 71 | border-color: #666; |
| 72 | } |
| 73 | |
| 74 | .light #device-details-panel .bottom th { |
| 75 | background-color: #CCC; |
| 76 | /* default text color */ |
| 77 | } |
| 78 | .dark #device-details-panel .bottom th { |
| 79 | background-color: #131313; |
| 80 | color: #ccc; |
| 81 | } |
| 82 | |
| 83 | .light #device-details-panel .bottom tr:nth-child(odd) { |
| 84 | background-color: #f9f9f9; |
| 85 | } |
| 86 | .light #device-details-panel .bottom tr:nth-child(even) { |
| 87 | background-color: #EBEDF2; |
| 88 | } |
| 89 | .dark #device-details-panel .bottom tr:nth-child(odd) { |
| 90 | background-color: #333; |
| 91 | } |
| 92 | .dark #device-details-panel .bottom tr:nth-child(even) { |
| 93 | background-color: #555; |
| 94 | } |