blob: eb50bc729d342a4d8b4dcfa0f03d32539998979a [file] [log] [blame]
Simon Hunt86388b12015-01-09 14:23:26 -08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
Simon Hunt86388b12015-01-09 14:23:26 -08003 *
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
Bri Prebilic Coled8745462015-06-01 16:08:57 -070030html[data-platform='iPad'] #nav {
31 top: 57px;
32}
33
Simon Hunt86388b12015-01-09 14:23:26 -080034.light #nav {
Thomas Vachuska9730ec92015-03-07 17:25:21 -080035 background-color: #bbb;
Simon Hunt86388b12015-01-09 14:23:26 -080036 box-shadow: 0 2px 8px #777;
37}
38.dark #nav {
39 background-color: #444;
Simon Hunt9d286562015-03-09 13:53:50 -070040 box-shadow: 0 2px 8px #111;
Simon Hunt86388b12015-01-09 14:23:26 -080041}
42
Simon Hunt38c2b6a2015-04-24 13:02:05 -070043#nav .nav-hdr {
44 font-style: italic;
45 padding: 6px 8px 6px 8px;
46}
47
48.light #nav .nav-hdr {
49 color: #ddd;
50 border-bottom: solid 1px #999;
51 background-color: #aaa;
52}
53.dark #nav .nav-hdr {
54 color: #888;
55 border-bottom: solid 1px #444;
56 background-color: #555;
57}
58
Thomas Vachuska9730ec92015-03-07 17:25:21 -080059#nav a {
60 text-decoration: none;
61 font-size: 14pt;
62 display: block;
Simon Hunt20e16792015-04-24 14:29:39 -070063 padding: 8px 16px 6px 12px;
Simon Hunt86388b12015-01-09 14:23:26 -080064}
65
Thomas Vachuska9730ec92015-03-07 17:25:21 -080066.light #nav a {
67 color: #369;
68 border-bottom: solid #ccc 1px;
Simon Hunt86388b12015-01-09 14:23:26 -080069}
Simon Hunt86388b12015-01-09 14:23:26 -080070.dark #nav a {
Thomas Vachuska9730ec92015-03-07 17:25:21 -080071 color: #eee;
72 border-bottom: solid #333 1px;
73}
74
75.light #nav a:hover {
76 background-color: #ddd;
77}
Thomas Vachuska9730ec92015-03-07 17:25:21 -080078.dark #nav a:hover {
Simon Hunt4c5c0462015-03-24 11:21:17 -070079 background-color: #777;
Simon Hunt86388b12015-01-09 14:23:26 -080080}
81
Simon Hunt20e16792015-04-24 14:29:39 -070082#nav a div {
83 display: inline-block;
84 vertical-align: middle;
85 padding-right: 4px;
86}
87
88#nav a div svg.embeddedIcon g.icon .glyph {
89 fill: #c66;
90}