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 | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 21 | #ov-device h2 { |
| 22 | display: inline-block; |
| 23 | } |
| 24 | |
| 25 | #ov-device div.ctrl-btns { |
Bri Prebilic Cole | 9b1fb9a | 2015-07-01 13:57:11 -0700 | [diff] [blame] | 26 | width: 240px; |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 27 | } |
| 28 | |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 29 | /* More in generic panel.css */ |
| 30 | |
| 31 | #device-details-panel.floatpanel { |
| 32 | -moz-border-radius: 0; |
| 33 | border-radius: 0; |
Bri Prebilic Cole | 9dcaea5 | 2015-07-21 14:39:48 -0700 | [diff] [blame] | 34 | z-index: 0; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | .light #device-details-panel.floatpanel { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 38 | background-color: rgb(229, 234, 237); |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 39 | } |
| 40 | .dark #device-details-panel.floatpanel { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 41 | background-color: #3A4042; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | #device-details-panel .container { |
| 45 | padding: 0 12px; |
| 46 | } |
| 47 | |
| 48 | #device-details-panel .close-btn { |
| 49 | position: absolute; |
| 50 | right: 10px; |
| 51 | top: 0; |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 52 | cursor: pointer; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 53 | } |
Bri Prebilic Cole | ab582b8 | 2015-04-14 15:08:22 -0700 | [diff] [blame] | 54 | .light .close-btn svg.embeddedIcon .icon.plus .glyph { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 55 | fill: #aaa; |
| 56 | } |
Bri Prebilic Cole | ab582b8 | 2015-04-14 15:08:22 -0700 | [diff] [blame] | 57 | .dark .close-btn svg.embeddedIcon .icon.plus .glyph { |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 58 | fill: #ccc; |
| 59 | } |
| 60 | |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 61 | #device-details-panel .dev-icon { |
| 62 | display: inline-block; |
| 63 | padding: 0 6px 0 0; |
| 64 | vertical-align: middle; |
| 65 | } |
| 66 | .light .dev-icon svg.embeddedIcon .glyph { |
| 67 | fill: rgb(0, 172, 229); |
| 68 | } |
| 69 | .dark .dev-icon svg.embeddedIcon .glyph { |
| 70 | fill: #486D91; |
| 71 | } |
| 72 | |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 73 | #device-details-panel h2 { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 74 | display: inline-block; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 75 | margin: 8px 0; |
| 76 | } |
| 77 | |
Simon Hunt | d766c31 | 2015-10-06 11:46:32 -0700 | [diff] [blame] | 78 | #device-details-panel .name-div { |
| 79 | height: 20px; |
| 80 | padding: 8px 0 0 8px; |
| 81 | } |
| 82 | |
| 83 | #device-details-panel .name-div span { |
| 84 | display: inline-block; |
| 85 | } |
| 86 | |
| 87 | #device-details-panel .name-div .label { |
| 88 | font-style: italic; |
| 89 | padding-right: 12px; |
| 90 | /* works for both light and dark themes ... */ |
| 91 | color: #777; |
| 92 | } |
| 93 | |
| 94 | #device-details-panel .name-div .value { |
| 95 | } |
| 96 | |
| 97 | #device-details-panel .editable { |
| 98 | cursor: pointer; |
| 99 | border-bottom: 1px dashed darkgreen; |
| 100 | } |
| 101 | |
Bri Prebilic Cole | 8f07f0d | 2015-04-23 13:28:43 -0700 | [diff] [blame] | 102 | #device-details-panel .top div.left { |
| 103 | float: left; |
| 104 | padding: 0 18px 0 0; |
| 105 | } |
| 106 | #device-details-panel .top div.right { |
| 107 | display: inline-block; |
| 108 | } |
| 109 | |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 110 | #device-details-panel td.label { |
| 111 | font-style: italic; |
| 112 | padding-right: 12px; |
| 113 | /* works for both light and dark themes ... */ |
| 114 | color: #777; |
| 115 | } |
| 116 | |
Bri Prebilic Cole | 8f07f0d | 2015-04-23 13:28:43 -0700 | [diff] [blame] | 117 | #device-details-panel .actionBtns div { |
Bri Prebilic Cole | ac829e4 | 2015-05-05 13:42:06 -0700 | [diff] [blame] | 118 | padding: 12px 6px; |
Bri Prebilic Cole | 8f07f0d | 2015-04-23 13:28:43 -0700 | [diff] [blame] | 119 | } |
Bri Prebilic Cole | ac829e4 | 2015-05-05 13:42:06 -0700 | [diff] [blame] | 120 | |
Bri Prebilic Cole | 8f07f0d | 2015-04-23 13:28:43 -0700 | [diff] [blame] | 121 | #device-details-panel .top hr { |
| 122 | width: 95%; |
| 123 | margin: 0 auto; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 124 | } |
| 125 | |
| 126 | .light #device-details-panel hr { |
| 127 | opacity: .5; |
| 128 | border-color: #FFF; |
| 129 | } |
| 130 | .dark #device-details-panel hr { |
| 131 | border-color: #666; |
| 132 | } |
| 133 | |
| 134 | #device-details-panel .bottom table { |
| 135 | border-spacing: 0; |
| 136 | } |
| 137 | |
| 138 | #device-details-panel .bottom th { |
| 139 | letter-spacing: 0.02em; |
| 140 | } |
| 141 | |
| 142 | .light #device-details-panel .bottom th { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 143 | background-color: #CCC; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 144 | /* default text color */ |
| 145 | } |
| 146 | .dark #device-details-panel .bottom th { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 147 | background-color: #131313; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 148 | color: #ccc; |
| 149 | } |
| 150 | |
| 151 | #device-details-panel .bottom th, |
| 152 | #device-details-panel .bottom td { |
| 153 | padding: 6px 12px; |
| 154 | text-align: center; |
| 155 | } |
| 156 | |
| 157 | .light #device-details-panel .bottom tr:nth-child(odd) { |
| 158 | background-color: #f9f9f9; |
| 159 | } |
| 160 | .light #device-details-panel .bottom tr:nth-child(even) { |
| 161 | background-color: #EBEDF2; |
| 162 | } |
| 163 | .dark #device-details-panel .bottom tr:nth-child(odd) { |
| 164 | background-color: #333; |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 165 | } |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 166 | .dark #device-details-panel .bottom tr:nth-child(even) { |
| 167 | background-color: #555; |
| 168 | } |