blob: b2ccb37a69b72d4b2935d885c986a6b152b607e2 [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 {
22 height: 36px;
23 padding: 4px;
24 vertical-align: baseline;
25}
26
Thomas Vachuska83785e22015-04-01 02:55:02 -070027html[data-platform='iPad'] #mast {
28 padding-top: 16px;
29}
30
Simon Hunt4c5c0462015-03-24 11:21:17 -070031#mast .nav-menu-button {
32 width: 30px;
33 height: 30px;
34 margin-left: 8px;
35 margin-bottom: 4px;
36 cursor: pointer;
37}
Simon Hunt4c5c0462015-03-24 11:21:17 -070038
Simon Huntc2202d52014-12-16 13:30:15 -080039#mast img.logo {
40 height: 38px;
41 padding-left: 8px;
42 padding-right: 8px;
Simon Hunt86388b12015-01-09 14:23:26 -080043}
44
Simon Huntc2202d52014-12-16 13:30:15 -080045#mast .title {
46 font-size: 14pt;
47 font-style: italic;
48 vertical-align: 12px;
49}
50
Simon Hunteb0fa052015-02-17 19:20:28 -080051
52#mast-right {
53 display: inline-block;
Simon Hunteb0fa052015-02-17 19:20:28 -080054 float: right;
Steven Burrows530cf462016-04-12 16:04:37 +010055 position: relative;
56 top: -4px;
57 padding-right: 15px;
58 line-height: 44px;
Thomas Vachuskaeff0e4e2015-08-11 00:26:24 -070059}
60
Steven Burrows530cf462016-04-12 16:04:37 +010061
62/*
63 MAST HEAD DROPDOWN MENU
64*/
65
66#mast .dropdown-parent {
67 position: relative;
68}
69
70#mast .dropdown-parent i.dropdown-icon {
71 display: inline-block;
72 height: 7px;
73 width: 9px;
74 margin-left: 10px;
75 background: url('/onos/ui/data/img/dropdown-icon.png') no-repeat;
76}
77
78#mast .dropdown {
79 position: absolute;
80 top: 44px;
81 right: 0;
82 display: none;
83 min-width: 100px;
84 border-top: 1px solid #999;
85 line-height: 16px;
86 z-index: 1000;
87}
88
89#mast .dropdown a {
90 text-decoration: none;
91 font-size: 14px;
92 display: block;
93 padding: 8px 16px 6px 12px;
94}
95
96#mast .dropdown-parent:hover .dropdown {
97 display: block;
98}
99
100#mast .dropdown-parent:hover i.dropdown-icon {
101 background-position-x: -14px
102}
103
104html[data-platform='iPad'] #mast .dropdown {
105 top: 57px;
106}