blob: 25a624518eadcf61c752882b07f90fef26969d50 [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 Cole0feedc02015-04-09 14:17:37 -070021/* 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 Coleb699a162015-04-13 12:01:39 -070029 background-color: rgb(229, 234, 237);
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070030}
31.dark #device-details-panel.floatpanel {
Bri Prebilic Coleb699a162015-04-13 12:01:39 -070032 background-color: #3A4042;
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070033}
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 Coleb699a162015-04-13 12:01:39 -070043 cursor: pointer;
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070044}
Bri Prebilic Coleab582b82015-04-14 15:08:22 -070045.light .close-btn svg.embeddedIcon .icon.plus .glyph {
Bri Prebilic Coleb699a162015-04-13 12:01:39 -070046 fill: #aaa;
47}
Bri Prebilic Coleab582b82015-04-14 15:08:22 -070048.dark .close-btn svg.embeddedIcon .icon.plus .glyph {
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070049 fill: #ccc;
50}
51
Bri Prebilic Coleb699a162015-04-13 12:01:39 -070052#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 Cole0feedc02015-04-09 14:17:37 -070064#device-details-panel h2 {
Bri Prebilic Coleb699a162015-04-13 12:01:39 -070065 display: inline-block;
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070066 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 Coleb699a162015-04-13 12:01:39 -070097 background-color: #CCC;
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -070098 /* default text color */
99}
100.dark #device-details-panel .bottom th {
Bri Prebilic Coleb699a162015-04-13 12:01:39 -0700101 background-color: #131313;
Bri Prebilic Cole0feedc02015-04-09 14:17:37 -0700102 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 Vachuska0fa583c2015-03-30 23:07:41 -0700119}
Bri Prebilic Coleb699a162015-04-13 12:01:39 -0700120.dark #device-details-panel .bottom tr:nth-child(even) {
121 background-color: #555;
122}