Bri Prebilic Cole | 7c92a3d | 2015-01-09 16:50:03 -0800 | [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 | /* |
Bri Prebilic Cole | aa0f088 | 2015-02-04 15:27:55 -0800 | [diff] [blame] | 18 | ONOS GUI -- Device View -- CSS file |
Bri Prebilic Cole | 7c92a3d | 2015-01-09 16:50:03 -0800 | [diff] [blame] | 19 | */ |
| 20 | |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 21 | /* More in generic panel.css */ |
| 22 | |
| 23 | #device-details-panel.floatpanel { |
| 24 | -moz-border-radius: 0; |
| 25 | border-radius: 0; |
| 26 | } |
| 27 | |
| 28 | .light #device-details-panel.floatpanel { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 29 | background-color: rgb(229, 234, 237); |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 30 | } |
| 31 | .dark #device-details-panel.floatpanel { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 32 | background-color: #3A4042; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 33 | } |
| 34 | |
| 35 | #device-details-panel .container { |
| 36 | padding: 0 12px; |
| 37 | } |
| 38 | |
| 39 | #device-details-panel .close-btn { |
| 40 | position: absolute; |
| 41 | right: 10px; |
| 42 | top: 0; |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 43 | cursor: pointer; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 44 | } |
Bri Prebilic Cole | ab582b8 | 2015-04-14 15:08:22 -0700 | [diff] [blame] | 45 | .light .close-btn svg.embeddedIcon .icon.plus .glyph { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 46 | fill: #aaa; |
| 47 | } |
Bri Prebilic Cole | ab582b8 | 2015-04-14 15:08:22 -0700 | [diff] [blame] | 48 | .dark .close-btn svg.embeddedIcon .icon.plus .glyph { |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 49 | fill: #ccc; |
| 50 | } |
| 51 | |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 52 | #device-details-panel .dev-icon { |
| 53 | display: inline-block; |
| 54 | padding: 0 6px 0 0; |
| 55 | vertical-align: middle; |
| 56 | } |
| 57 | .light .dev-icon svg.embeddedIcon .glyph { |
| 58 | fill: rgb(0, 172, 229); |
| 59 | } |
| 60 | .dark .dev-icon svg.embeddedIcon .glyph { |
| 61 | fill: #486D91; |
| 62 | } |
| 63 | |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 64 | #device-details-panel h2 { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 65 | display: inline-block; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 66 | margin: 8px 0; |
| 67 | } |
| 68 | |
| 69 | #device-details-panel td.label { |
| 70 | font-style: italic; |
| 71 | padding-right: 12px; |
| 72 | /* works for both light and dark themes ... */ |
| 73 | color: #777; |
| 74 | } |
| 75 | |
| 76 | #device-details-panel hr { |
| 77 | margin: 12px 0; |
| 78 | } |
| 79 | |
| 80 | .light #device-details-panel hr { |
| 81 | opacity: .5; |
| 82 | border-color: #FFF; |
| 83 | } |
| 84 | .dark #device-details-panel hr { |
| 85 | border-color: #666; |
| 86 | } |
| 87 | |
| 88 | #device-details-panel .bottom table { |
| 89 | border-spacing: 0; |
| 90 | } |
| 91 | |
| 92 | #device-details-panel .bottom th { |
| 93 | letter-spacing: 0.02em; |
| 94 | } |
| 95 | |
| 96 | .light #device-details-panel .bottom th { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 97 | background-color: #CCC; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 98 | /* default text color */ |
| 99 | } |
| 100 | .dark #device-details-panel .bottom th { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 101 | background-color: #131313; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 102 | color: #ccc; |
| 103 | } |
| 104 | |
| 105 | #device-details-panel .bottom th, |
| 106 | #device-details-panel .bottom td { |
| 107 | padding: 6px 12px; |
| 108 | text-align: center; |
| 109 | } |
| 110 | |
| 111 | .light #device-details-panel .bottom tr:nth-child(odd) { |
| 112 | background-color: #f9f9f9; |
| 113 | } |
| 114 | .light #device-details-panel .bottom tr:nth-child(even) { |
| 115 | background-color: #EBEDF2; |
| 116 | } |
| 117 | .dark #device-details-panel .bottom tr:nth-child(odd) { |
| 118 | background-color: #333; |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 119 | } |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 120 | .dark #device-details-panel .bottom tr:nth-child(even) { |
| 121 | background-color: #555; |
| 122 | } |