blob: ea8c4cff64fbb4f97f17c89d5ad5600bf7740729 [file] [log] [blame]
Simon Hunt86388b12015-01-09 14:23:26 -08001/*
2 * Copyright 2014,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/*
18 ONOS GUI -- Navigation -- CSS file
Simon Hunt86388b12015-01-09 14:23:26 -080019 */
20
21#nav {
22 position: absolute;
Thomas Vachuska9730ec92015-03-07 17:25:21 -080023 top: 45px;
24 left: 1px;
Simon Hunt38c2b6a2015-04-24 13:02:05 -070025 padding: 0;
Simon Hunt86388b12015-01-09 14:23:26 -080026 z-index: 3000;
27 visibility: hidden;
28}
29
30.light #nav {
Thomas Vachuska9730ec92015-03-07 17:25:21 -080031 background-color: #bbb;
Simon Hunt86388b12015-01-09 14:23:26 -080032 box-shadow: 0 2px 8px #777;
33}
34.dark #nav {
35 background-color: #444;
Simon Hunt9d286562015-03-09 13:53:50 -070036 box-shadow: 0 2px 8px #111;
Simon Hunt86388b12015-01-09 14:23:26 -080037}
38
Simon Hunt38c2b6a2015-04-24 13:02:05 -070039#nav .nav-hdr {
40 font-style: italic;
41 padding: 6px 8px 6px 8px;
42}
43
44.light #nav .nav-hdr {
45 color: #ddd;
46 border-bottom: solid 1px #999;
47 background-color: #aaa;
48}
49.dark #nav .nav-hdr {
50 color: #888;
51 border-bottom: solid 1px #444;
52 background-color: #555;
53}
54
Thomas Vachuska9730ec92015-03-07 17:25:21 -080055#nav a {
56 text-decoration: none;
57 font-size: 14pt;
58 display: block;
Simon Hunt20e16792015-04-24 14:29:39 -070059 padding: 8px 16px 6px 12px;
Simon Hunt86388b12015-01-09 14:23:26 -080060}
61
Thomas Vachuska9730ec92015-03-07 17:25:21 -080062.light #nav a {
63 color: #369;
64 border-bottom: solid #ccc 1px;
Simon Hunt86388b12015-01-09 14:23:26 -080065}
Simon Hunt86388b12015-01-09 14:23:26 -080066.dark #nav a {
Thomas Vachuska9730ec92015-03-07 17:25:21 -080067 color: #eee;
68 border-bottom: solid #333 1px;
69}
70
71.light #nav a:hover {
72 background-color: #ddd;
73}
Thomas Vachuska9730ec92015-03-07 17:25:21 -080074.dark #nav a:hover {
Simon Hunt4c5c0462015-03-24 11:21:17 -070075 background-color: #777;
Simon Hunt86388b12015-01-09 14:23:26 -080076}
77
Simon Hunt20e16792015-04-24 14:29:39 -070078#nav a div {
79 display: inline-block;
80 vertical-align: middle;
81 padding-right: 4px;
82}
83
84#nav a div svg.embeddedIcon g.icon .glyph {
85 fill: #c66;
86}