blob: 265d78963af240aa10eb1bd3cc7c9b9a49228144 [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 {
Steven Burrows10dd1082017-05-12 12:15:18 -040035 display: inline-block;
36 vertical-align: middle;
37 text-align: center;
38 line-height: 48px;
39 padding: 0 12px;
40 cursor: pointer; cursor: hand;
41 /* Needed to removed 3px space at the bottom of img tags */
42 font-size: 0;
Simon Hunt4c5c0462015-03-24 11:21:17 -070043}
Simon Hunt4c5c0462015-03-24 11:21:17 -070044
Steven Burrows10dd1082017-05-12 12:15:18 -040045#mast .nav-menu-button img {
46 width: 25px;
47 vertical-align: middle;
48}
49
50#mast .logo {
Simon Huntd42e5d12016-05-25 16:46:52 -070051 height: 47px;
Simon Hunt1e44e082016-06-09 16:17:24 -070052 width: 511px;
Steven Burrows10dd1082017-05-12 12:15:18 -040053 vertical-align: bottom;
Simon Hunt86388b12015-01-09 14:23:26 -080054}
55
Simon Hunteb0fa052015-02-17 19:20:28 -080056#mast-right {
57 display: inline-block;
Simon Hunteb0fa052015-02-17 19:20:28 -080058 float: right;
Steven Burrows530cf462016-04-12 16:04:37 +010059 position: relative;
Simon Huntd42e5d12016-05-25 16:46:52 -070060 top: 0;
Steven Burrows530cf462016-04-12 16:04:37 +010061 padding-right: 15px;
Steven Burrows10dd1082017-05-12 12:15:18 -040062 line-height: 48px;
Thomas Vachuskaeff0e4e2015-08-11 00:26:24 -070063}
64
Steven Burrows530cf462016-04-12 16:04:37 +010065/*
66 MAST HEAD DROPDOWN MENU
67*/
68
chengfan386620e2016-11-09 17:02:40 +080069#mast-right div.ctrl-btns {
chengfan386620e2016-11-09 17:02:40 +080070 float: right;
71}
72
Steven Burrows10dd1082017-05-12 12:15:18 -040073#mast-right div.icon {
74 box-sizing: border-box;
75 position: relative;
76 height: 48px;
77 width: 48px;
78 padding: 9px;
79}
80
Steven Burrows530cf462016-04-12 16:04:37 +010081#mast .dropdown-parent {
82 position: relative;
chengfan386620e2016-11-09 17:02:40 +080083 float: right;
Steven Burrows530cf462016-04-12 16:04:37 +010084}
85
86#mast .dropdown-parent i.dropdown-icon {
87 display: inline-block;
88 height: 7px;
89 width: 9px;
90 margin-left: 10px;
Steven Burrowsa145e102017-06-16 13:37:50 -040091 background: url('/onos/ui/data/img/dropdown-icon.png') no-repeat;
Steven Burrows530cf462016-04-12 16:04:37 +010092}
93
94#mast .dropdown {
95 position: absolute;
Simon Huntd42e5d12016-05-25 16:46:52 -070096 top: 40px;
97 right: -8px;
Steven Burrows530cf462016-04-12 16:04:37 +010098 display: none;
99 min-width: 100px;
Steven Burrows530cf462016-04-12 16:04:37 +0100100 line-height: 16px;
Simon Huntd42e5d12016-05-25 16:46:52 -0700101 font-size: 12pt;
Steven Burrows530cf462016-04-12 16:04:37 +0100102 z-index: 1000;
103}
104
105#mast .dropdown a {
106 text-decoration: none;
Simon Huntd42e5d12016-05-25 16:46:52 -0700107 font-size: 12px;
Steven Burrows530cf462016-04-12 16:04:37 +0100108 display: block;
109 padding: 8px 16px 6px 12px;
110}
111
112#mast .dropdown-parent:hover .dropdown {
113 display: block;
114}
115
116#mast .dropdown-parent:hover i.dropdown-icon {
117 background-position-x: -14px
118}
119
120html[data-platform='iPad'] #mast .dropdown {
121 top: 57px;
122}