Bri Prebilic Cole | 7c92a3d | 2015-01-09 16:50:03 -0800 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2015-present Open Networking Laboratory |
Bri Prebilic Cole | 7c92a3d | 2015-01-09 16:50:03 -0800 | [diff] [blame] | 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 | /* |
Simon Hunt | 11f662f | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 18 | ONOS GUI -- Device View (layout) -- 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 { |
Simon Hunt | 20856ec | 2015-11-16 15:58:14 -0800 | [diff] [blame] | 26 | } |
| 27 | |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 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 { |
Bri Prebilic Cole | 9dcaea5 | 2015-07-21 14:39:48 -0700 | [diff] [blame] | 32 | z-index: 0; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 33 | } |
| 34 | |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 35 | |
| 36 | #device-details-panel .container { |
Simon Hunt | cf4b9a3 | 2016-06-08 13:18:16 -0700 | [diff] [blame^] | 37 | padding: 8px 12px; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 38 | } |
| 39 | |
| 40 | #device-details-panel .close-btn { |
| 41 | position: absolute; |
Simon Hunt | cf4b9a3 | 2016-06-08 13:18:16 -0700 | [diff] [blame^] | 42 | right: 12px; |
| 43 | top: 12px; |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 44 | cursor: pointer; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 45 | } |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 46 | |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 47 | #device-details-panel .dev-icon { |
| 48 | display: inline-block; |
| 49 | padding: 0 6px 0 0; |
| 50 | vertical-align: middle; |
| 51 | } |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 52 | |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 53 | #device-details-panel h2 { |
Bri Prebilic Cole | b699a16 | 2015-04-13 12:01:39 -0700 | [diff] [blame] | 54 | display: inline-block; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 55 | margin: 8px 0; |
| 56 | } |
| 57 | |
Simon Hunt | d766c31 | 2015-10-06 11:46:32 -0700 | [diff] [blame] | 58 | |
Simon Hunt | d557925 | 2015-10-06 15:09:14 -0700 | [diff] [blame] | 59 | #device-details-panel h2 input { |
Simon Hunt | a7f62e1 | 2016-06-03 15:46:59 -0700 | [diff] [blame] | 60 | font-size: 0.90em; |
| 61 | width: 106%; |
Simon Hunt | d557925 | 2015-10-06 15:09:14 -0700 | [diff] [blame] | 62 | } |
| 63 | |
Simon Hunt | cf4b9a3 | 2016-06-08 13:18:16 -0700 | [diff] [blame^] | 64 | #device-details-panel .top-tables { |
| 65 | font-size: 12pt; |
| 66 | } |
| 67 | |
Bri Prebilic Cole | 8f07f0d | 2015-04-23 13:28:43 -0700 | [diff] [blame] | 68 | #device-details-panel .top div.left { |
| 69 | float: left; |
| 70 | padding: 0 18px 0 0; |
| 71 | } |
| 72 | #device-details-panel .top div.right { |
| 73 | display: inline-block; |
| 74 | } |
| 75 | |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 76 | #device-details-panel td.label { |
Simon Hunt | a7f62e1 | 2016-06-03 15:46:59 -0700 | [diff] [blame] | 77 | font-weight: bold; |
| 78 | text-align: right; |
| 79 | padding-right: 6px; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 80 | } |
| 81 | |
Bri Prebilic Cole | 8f07f0d | 2015-04-23 13:28:43 -0700 | [diff] [blame] | 82 | #device-details-panel .actionBtns div { |
Bri Prebilic Cole | ac829e4 | 2015-05-05 13:42:06 -0700 | [diff] [blame] | 83 | padding: 12px 6px; |
Bri Prebilic Cole | 8f07f0d | 2015-04-23 13:28:43 -0700 | [diff] [blame] | 84 | } |
Bri Prebilic Cole | ac829e4 | 2015-05-05 13:42:06 -0700 | [diff] [blame] | 85 | |
Simon Hunt | a7f62e1 | 2016-06-03 15:46:59 -0700 | [diff] [blame] | 86 | #device-details-panel hr { |
| 87 | width: 100%; |
| 88 | margin: 2px auto; |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 89 | } |
| 90 | |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 91 | #device-details-panel .bottom table { |
| 92 | border-spacing: 0; |
| 93 | } |
| 94 | |
| 95 | #device-details-panel .bottom th { |
| 96 | letter-spacing: 0.02em; |
| 97 | } |
| 98 | |
Bri Prebilic Cole | 0feedc0 | 2015-04-09 14:17:37 -0700 | [diff] [blame] | 99 | #device-details-panel .bottom th, |
| 100 | #device-details-panel .bottom td { |
| 101 | padding: 6px 12px; |
| 102 | text-align: center; |
| 103 | } |
| 104 | |