blob: 3470f181e50273f7707a477c236f7ed6bec6c6bd [file] [log] [blame]
Simon Huntc2202d52014-12-16 13:30:15 -08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2014-present Open Networking Laboratory
Simon Huntc2202d52014-12-16 13:30:15 -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/*
Simon Hunt58894c82016-05-24 15:09:02 -070018 ONOS GUI -- Masthead (layout) -- CSS file
Simon Huntc2202d52014-12-16 13:30:15 -080019 */
20
21#mast {
Simon Huntd42e5d12016-05-25 16:46:52 -070022 height: 48px;
23 padding: 0;
Simon Huntc2202d52014-12-16 13:30:15 -080024}
25
Simon Hunt5fdba202016-06-02 20:01:14 -070026#mast a:hover {
27 text-decoration: none;
28}
29
Thomas Vachuska83785e22015-04-01 02:55:02 -070030html[data-platform='iPad'] #mast {
31 padding-top: 16px;
32}
33
Simon Hunt4c5c0462015-03-24 11:21:17 -070034#mast .nav-menu-button {
Simon Huntd42e5d12016-05-25 16:46:52 -070035 width: 26px;
36 height: 21px;
37 margin: 14px 18px 14px 14px;
Simon Hunt4c5c0462015-03-24 11:21:17 -070038}
Simon Hunt4c5c0462015-03-24 11:21:17 -070039
Simon Huntc2202d52014-12-16 13:30:15 -080040#mast img.logo {
Simon Huntd42e5d12016-05-25 16:46:52 -070041 height: 47px;
Simon Hunt1e44e082016-06-09 16:17:24 -070042 width: 511px;
Simon Huntd42e5d12016-05-25 16:46:52 -070043 margin: 0;
Simon Hunt86388b12015-01-09 14:23:26 -080044}
45
Simon Hunteb0fa052015-02-17 19:20:28 -080046#mast-right {
47 display: inline-block;
Simon Hunteb0fa052015-02-17 19:20:28 -080048 float: right;
Steven Burrows530cf462016-04-12 16:04:37 +010049 position: relative;
Simon Huntd42e5d12016-05-25 16:46:52 -070050 top: 0;
Steven Burrows530cf462016-04-12 16:04:37 +010051 padding-right: 15px;
52 line-height: 44px;
Thomas Vachuskaeff0e4e2015-08-11 00:26:24 -070053}
54
Steven Burrows530cf462016-04-12 16:04:37 +010055/*
56 MAST HEAD DROPDOWN MENU
57*/
58
chengfan386620e2016-11-09 17:02:40 +080059#mast-right div.ctrl-btns {
60 position: relative;
61 float: right;
62}
63
Steven Burrows530cf462016-04-12 16:04:37 +010064#mast .dropdown-parent {
65 position: relative;
chengfan386620e2016-11-09 17:02:40 +080066 float: right;
Steven Burrows530cf462016-04-12 16:04:37 +010067}
68
69#mast .dropdown-parent i.dropdown-icon {
70 display: inline-block;
71 height: 7px;
72 width: 9px;
73 margin-left: 10px;
Simon Huntd42e5d12016-05-25 16:46:52 -070074 background: url('../../../data/img/dropdown-icon.png') no-repeat;
Steven Burrows530cf462016-04-12 16:04:37 +010075}
76
77#mast .dropdown {
78 position: absolute;
Simon Huntd42e5d12016-05-25 16:46:52 -070079 top: 40px;
80 right: -8px;
Steven Burrows530cf462016-04-12 16:04:37 +010081 display: none;
82 min-width: 100px;
Steven Burrows530cf462016-04-12 16:04:37 +010083 line-height: 16px;
Simon Huntd42e5d12016-05-25 16:46:52 -070084 font-size: 12pt;
Steven Burrows530cf462016-04-12 16:04:37 +010085 z-index: 1000;
86}
87
88#mast .dropdown a {
89 text-decoration: none;
Simon Huntd42e5d12016-05-25 16:46:52 -070090 font-size: 12px;
Steven Burrows530cf462016-04-12 16:04:37 +010091 display: block;
92 padding: 8px 16px 6px 12px;
93}
94
95#mast .dropdown-parent:hover .dropdown {
96 display: block;
97}
98
99#mast .dropdown-parent:hover i.dropdown-icon {
100 background-position-x: -14px
101}
102
103html[data-platform='iPad'] #mast .dropdown {
104 top: 57px;
105}