Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2014-present Open Networking Laboratory |
Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 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 | /* |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame^] | 18 | ONOS GUI -- Masthead (layout) -- CSS file |
Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 19 | */ |
| 20 | |
| 21 | #mast { |
| 22 | height: 36px; |
| 23 | padding: 4px; |
| 24 | vertical-align: baseline; |
| 25 | } |
| 26 | |
Thomas Vachuska | 83785e2 | 2015-04-01 02:55:02 -0700 | [diff] [blame] | 27 | html[data-platform='iPad'] #mast { |
| 28 | padding-top: 16px; |
| 29 | } |
| 30 | |
Simon Hunt | 4c5c046 | 2015-03-24 11:21:17 -0700 | [diff] [blame] | 31 | #mast .nav-menu-button { |
| 32 | width: 30px; |
| 33 | height: 30px; |
| 34 | margin-left: 8px; |
| 35 | margin-bottom: 4px; |
| 36 | cursor: pointer; |
| 37 | } |
Simon Hunt | 4c5c046 | 2015-03-24 11:21:17 -0700 | [diff] [blame] | 38 | |
Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 39 | #mast img.logo { |
| 40 | height: 38px; |
| 41 | padding-left: 8px; |
| 42 | padding-right: 8px; |
Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 43 | } |
| 44 | |
Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 45 | #mast .title { |
| 46 | font-size: 14pt; |
| 47 | font-style: italic; |
| 48 | vertical-align: 12px; |
| 49 | } |
| 50 | |
Simon Hunt | eb0fa05 | 2015-02-17 19:20:28 -0800 | [diff] [blame] | 51 | |
| 52 | #mast-right { |
| 53 | display: inline-block; |
Simon Hunt | eb0fa05 | 2015-02-17 19:20:28 -0800 | [diff] [blame] | 54 | float: right; |
Steven Burrows | 530cf46 | 2016-04-12 16:04:37 +0100 | [diff] [blame] | 55 | position: relative; |
| 56 | top: -4px; |
| 57 | padding-right: 15px; |
| 58 | line-height: 44px; |
Thomas Vachuska | eff0e4e | 2015-08-11 00:26:24 -0700 | [diff] [blame] | 59 | } |
| 60 | |
Steven Burrows | 530cf46 | 2016-04-12 16:04:37 +0100 | [diff] [blame] | 61 | |
| 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 | |
| 104 | html[data-platform='iPad'] #mast .dropdown { |
| 105 | top: 57px; |
| 106 | } |