blob: 9a1a1c84e137f071fd5cb59c5aa1e5a6276de3fb [file] [log] [blame]
Bri Prebilic Cole7c92a3d2015-01-09 16:50:03 -08001/*
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 Coleaa0f0882015-02-04 15:27:55 -080018 ONOS GUI -- Device View -- CSS file
Bri Prebilic Cole7c92a3d2015-01-09 16:50:03 -080019 */
20
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070021#ov-device h2 {
22 display: inline-block;
23}
24
25#ov-device div.ctrl-btns {
26 width: 45px;
27}
28
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070029/* More in generic panel.css */
30
31#device-details-panel.floatpanel {
32 -moz-border-radius: 0;
33 border-radius: 0;
34}
35
36.light #device-details-panel.floatpanel {
Bri Prebilic Coleb699a162015-04-13 12:01:39 -070037 background-color: rgb(229, 234, 237);
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070038}
39.dark #device-details-panel.floatpanel {
Bri Prebilic Coleb699a162015-04-13 12:01:39 -070040 background-color: #3A4042;
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070041}
42
43#device-details-panel .container {
44 padding: 0 12px;
45}
46
47#device-details-panel .close-btn {
48 position: absolute;
49 right: 10px;
50 top: 0;
Bri Prebilic Coleb699a162015-04-13 12:01:39 -070051 cursor: pointer;
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070052}
Bri Prebilic Coleab582b82015-04-14 15:08:22 -070053.light .close-btn svg.embeddedIcon .icon.plus .glyph {
Bri Prebilic Coleb699a162015-04-13 12:01:39 -070054 fill: #aaa;
55}
Bri Prebilic Coleab582b82015-04-14 15:08:22 -070056.dark .close-btn svg.embeddedIcon .icon.plus .glyph {
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070057 fill: #ccc;
58}
59
Bri Prebilic Coleb699a162015-04-13 12:01:39 -070060#device-details-panel .dev-icon {
61 display: inline-block;
62 padding: 0 6px 0 0;
63 vertical-align: middle;
64}
65.light .dev-icon svg.embeddedIcon .glyph {
66 fill: rgb(0, 172, 229);
67}
68.dark .dev-icon svg.embeddedIcon .glyph {
69 fill: #486D91;
70}
71
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070072#device-details-panel h2 {
Bri Prebilic Coleb699a162015-04-13 12:01:39 -070073 display: inline-block;
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070074 margin: 8px 0;
75}
76
Bri Prebilic Cole8f07f0d2015-04-23 13:28:43 -070077#device-details-panel .top div.left {
78 float: left;
79 padding: 0 18px 0 0;
80}
81#device-details-panel .top div.right {
82 display: inline-block;
83}
84
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070085#device-details-panel td.label {
86 font-style: italic;
87 padding-right: 12px;
88 /* works for both light and dark themes ... */
89 color: #777;
90}
91
Bri Prebilic Cole8f07f0d2015-04-23 13:28:43 -070092#device-details-panel .actionBtns div {
93 padding: 12px 0;
94}
95#device-details-panel .top hr {
96 width: 95%;
97 margin: 0 auto;
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070098}
99
100.light #device-details-panel hr {
101 opacity: .5;
102 border-color: #FFF;
103}
104.dark #device-details-panel hr {
105 border-color: #666;
106}
107
108#device-details-panel .bottom table {
109 border-spacing: 0;
110}
111
112#device-details-panel .bottom th {
113 letter-spacing: 0.02em;
114}
115
116.light #device-details-panel .bottom th {
Bri Prebilic Coleb699a162015-04-13 12:01:39 -0700117 background-color: #CCC;
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -0700118 /* default text color */
119}
120.dark #device-details-panel .bottom th {
Bri Prebilic Coleb699a162015-04-13 12:01:39 -0700121 background-color: #131313;
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -0700122 color: #ccc;
123}
124
125#device-details-panel .bottom th,
126#device-details-panel .bottom td {
127 padding: 6px 12px;
128 text-align: center;
129}
130
131.light #device-details-panel .bottom tr:nth-child(odd) {
132 background-color: #f9f9f9;
133}
134.light #device-details-panel .bottom tr:nth-child(even) {
135 background-color: #EBEDF2;
136}
137.dark #device-details-panel .bottom tr:nth-child(odd) {
138 background-color: #333;
Thomas Vachuska0fa583c2015-03-30 23:07:41 -0700139}
Bri Prebilic Coleb699a162015-04-13 12:01:39 -0700140.dark #device-details-panel .bottom tr:nth-child(even) {
141 background-color: #555;
142}