blob: 721004359ff2e1dbdc66f612f101bb2380563e4a [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
Simon Hunt195cb382014-11-03 17:50:51 -080019 */
20
21#mast {
22 height: 36px;
23 padding: 4px;
Simon Hunt195cb382014-11-03 17:50:51 -080024 vertical-align: baseline;
Thomas Vachuska65368e32014-11-08 16:10:20 -080025}
26
27.light #mast {
28 background-color: #bbb;
Simon Huntd481c1e2014-11-20 11:46:15 -080029 box-shadow: 0 2px 8px #777;
Thomas Vachuska65368e32014-11-08 16:10:20 -080030}
31.dark #mast {
32 background-color: #444;
Simon Huntd481c1e2014-11-20 11:46:15 -080033 box-shadow: 0 2px 8px #777;
Simon Hunt195cb382014-11-03 17:50:51 -080034}
35
36#mast img#logo {
37 height: 38px;
38 padding-left: 8px;
39 padding-right: 8px;
40}
41
42#mast span.title {
Simon Hunt195cb382014-11-03 17:50:51 -080043 font-size: 14pt;
44 font-style: italic;
45 vertical-align: 12px;
46}
47
Thomas Vachuska65368e32014-11-08 16:10:20 -080048.light #mast span.title {
49 color: #369;
50}
51.dark #mast span.title {
Thomas Vachuskae02e11c2014-11-24 16:13:52 -080052 color: #eee;
Thomas Vachuska65368e32014-11-08 16:10:20 -080053}
54
Simon Hunt195cb382014-11-03 17:50:51 -080055#mast span.right {
56 padding-top: 8px;
57 padding-right: 16px;
58 float: right;
59}
60
61#mast span.radio {
Simon Hunt195cb382014-11-03 17:50:51 -080062 font-size: 10pt;
Simon Huntdb9eb072014-11-04 19:12:46 -080063 margin: 4px 2px;
Simon Hunt195cb382014-11-03 17:50:51 -080064 padding: 1px 6px;
Simon Hunta3dd9572014-11-20 15:22:41 -080065 -moz-border-radius: 3px;
66 border-radius: 3px;
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;
Thomas Vachuska65368e32014-11-08 16:10:20 -080081}
82
83.light #mast span.radio.active {
Simon Hunt195cb382014-11-03 17:50:51 -080084 background-color: #bbb;
85 border: 1px solid #eee;
Simon Hunt195cb382014-11-03 17:50:51 -080086 color: #666;
Thomas Vachuskaece59ee2014-11-19 19:06:11 -080087
Thomas Vachuska65368e32014-11-08 16:10:20 -080088}
89.dark #mast span.radio.active {
90 background-color: #222;
91 border: 1px solid #eee;
Thomas Vachuskaece59ee2014-11-19 19:06:11 -080092 color: #78a;
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;
Simon Hunta3dd9572014-11-20 15:22:41 -0800105 -moz-border-radius: 3px;
106 border-radius: 3px;
Simon Huntf8e5b4e02014-11-13 11:17:57 -0800107 font-size: 9pt;
108 cursor: pointer;
109}
110
111.light #bb .btn {
112 border: 1px solid #fff;
113 border-right-color: #444;
114 border-bottom-color: #444;
115 color: #222;
116}
117
118.light #bb .btn.active {
119 border: 1px solid #444;
120 border-right-color: #fff;
121 border-bottom-color: #fff;
122 background-color: #888;
123 color: #ddf;
124}
125
126.dark #bb .btn {
127 border: 1px solid #888;
128 border-right-color: #111;
129 border-bottom-color: #111;
130 color: #888;
131}
132
133.dark #bb .btn.active {
134 border: 1px solid #111;
135 border-right-color: #888;
136 border-bottom-color: #888;
137 background-color: #555;
Thomas Vachuskaece59ee2014-11-19 19:06:11 -0800138 color: #78a;
Simon Huntf8e5b4e02014-11-13 11:17:57 -0800139}
140