blob: fa23835ae92be3347d8996efa121191f0f14ac97 [file] [log] [blame]
Simon Hunt195cb382014-11-03 17:50:51 -08001/*
2 * Copyright 2014 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/*
18 ONOS GUI -- Masthead -- CSS file
19
20 @author Simon Hunt
21 */
22
23#mast {
24 height: 36px;
25 padding: 4px;
Simon Hunt195cb382014-11-03 17:50:51 -080026 vertical-align: baseline;
Thomas Vachuska65368e32014-11-08 16:10:20 -080027}
28
29.light #mast {
30 background-color: #bbb;
31 box-shadow: 0px 2px 8px #777;
32}
33.dark #mast {
34 background-color: #444;
Simon Hunt195cb382014-11-03 17:50:51 -080035 box-shadow: 0px 2px 8px #777;
36}
37
38#mast img#logo {
39 height: 38px;
40 padding-left: 8px;
41 padding-right: 8px;
42}
43
44#mast span.title {
Simon Hunt195cb382014-11-03 17:50:51 -080045 font-size: 14pt;
46 font-style: italic;
47 vertical-align: 12px;
48}
49
Thomas Vachuska65368e32014-11-08 16:10:20 -080050.light #mast span.title {
51 color: #369;
52}
53.dark #mast span.title {
54 color: #78a;
55}
56
Simon Hunt195cb382014-11-03 17:50:51 -080057#mast span.right {
58 padding-top: 8px;
59 padding-right: 16px;
60 float: right;
61}
62
63#mast span.radio {
Simon Hunt195cb382014-11-03 17:50:51 -080064 font-size: 10pt;
Simon Huntdb9eb072014-11-04 19:12:46 -080065 margin: 4px 2px;
Simon Hunt195cb382014-11-03 17:50:51 -080066 padding: 1px 6px;
Simon Hunt195cb382014-11-03 17:50:51 -080067 cursor: pointer;
68}
69
Thomas Vachuska65368e32014-11-08 16:10:20 -080070.light #mast span.radio {
71 border: 1px dotted #222;
72 color: #eee;
73}
74.dark #mast span.radio {
75 border: 1px dotted #bbb;
76 color: #888;
77}
78
Simon Hunt195cb382014-11-03 17:50:51 -080079#mast span.radio.active {
Thomas Vachuska65368e32014-11-08 16:10:20 -080080 padding: 1px 6px;
81 font-weight: bold;
82}
83
84.light #mast span.radio.active {
Simon Hunt195cb382014-11-03 17:50:51 -080085 background-color: #bbb;
86 border: 1px solid #eee;
Simon Hunt195cb382014-11-03 17:50:51 -080087 color: #666;
Thomas Vachuska65368e32014-11-08 16:10:20 -080088}
89.dark #mast span.radio.active {
90 background-color: #222;
91 border: 1px solid #eee;
92 color: #aaf;
Simon Hunt195cb382014-11-03 17:50:51 -080093}
Simon Huntf8e5b4e02014-11-13 11:17:57 -080094
95/* Button Bar */
96
97#bb {
98 margin: 0 30px;
99 padding: 0 2px;
100}
101
102#bb .btn {
Simon Hunt01095ff2014-11-13 16:37:29 -0800103 margin: 0 4px;
Simon Huntf8e5b4e02014-11-13 11:17:57 -0800104 padding: 2px 6px;
105 font-size: 9pt;
106 cursor: pointer;
107}
108
109.light #bb .btn {
110 border: 1px solid #fff;
111 border-right-color: #444;
112 border-bottom-color: #444;
113 color: #222;
114}
115
116.light #bb .btn.active {
117 border: 1px solid #444;
118 border-right-color: #fff;
119 border-bottom-color: #fff;
120 background-color: #888;
121 color: #ddf;
122}
123
124.dark #bb .btn {
125 border: 1px solid #888;
126 border-right-color: #111;
127 border-bottom-color: #111;
128 color: #888;
129}
130
131.dark #bb .btn.active {
132 border: 1px solid #111;
133 border-right-color: #888;
134 border-bottom-color: #888;
135 background-color: #555;
136 color: #bbd;
137}
138