Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 1 | /* |
Simon Hunt | 8ead3a2 | 2015-01-06 11:00:15 -0800 | [diff] [blame] | 2 | * Copyright 2014,2015 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 | /* |
| 18 | ONOS GUI -- Masthead -- 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 | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 31 | .light #mast { |
| 32 | background-color: #bbb; |
| 33 | box-shadow: 0 2px 8px #777; |
| 34 | } |
| 35 | .dark #mast { |
| 36 | background-color: #444; |
Simon Hunt | 5ee36e0 | 2015-01-15 10:33:20 -0800 | [diff] [blame] | 37 | box-shadow: 0 2px 8px #222; |
Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 38 | } |
| 39 | |
Simon Hunt | 4c5c046 | 2015-03-24 11:21:17 -0700 | [diff] [blame] | 40 | #mast .nav-menu-button { |
| 41 | width: 30px; |
| 42 | height: 30px; |
| 43 | margin-left: 8px; |
| 44 | margin-bottom: 4px; |
| 45 | cursor: pointer; |
| 46 | } |
| 47 | .light #mast .nav-menu-button:hover { |
| 48 | background-color: #ddd; |
| 49 | } |
| 50 | .dark #mast .nav-menu-button:hover { |
| 51 | background-color: #777; |
| 52 | } |
| 53 | |
Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 54 | #mast img.logo { |
| 55 | height: 38px; |
| 56 | padding-left: 8px; |
| 57 | padding-right: 8px; |
Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 58 | } |
| 59 | |
| 60 | #mast img.logo:hover { |
| 61 | /* need something better */ |
| 62 | /*background-color: #888;*/ |
Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 63 | } |
| 64 | |
| 65 | #mast .title { |
| 66 | font-size: 14pt; |
| 67 | font-style: italic; |
| 68 | vertical-align: 12px; |
| 69 | } |
| 70 | |
| 71 | .light #mast .title { |
| 72 | color: #369; |
| 73 | } |
| 74 | .dark #mast .title { |
| 75 | color: #eee; |
| 76 | } |
Simon Hunt | eb0fa05 | 2015-02-17 19:20:28 -0800 | [diff] [blame] | 77 | |
| 78 | #mast-right { |
| 79 | display: inline-block; |
| 80 | padding-top: 8px; |
| 81 | padding-right: 16px; |
| 82 | float: right; |
| 83 | /*border: 1px solid red;*/ |
Thomas Vachuska | eff0e4e | 2015-08-11 00:26:24 -0700 | [diff] [blame] | 84 | } |
| 85 | |
| 86 | #mast-right a { |
| 87 | font-size: 12pt; |
| 88 | font-style: normal; |
| 89 | font-weight: bold; |
| 90 | text-decoration: none; |
| 91 | } |
| 92 | |
| 93 | .light #mast-right a { |
| 94 | color: #369; |
| 95 | } |
| 96 | .dark #mast-right a { |
| 97 | color: #eee; |
| 98 | } |
| 99 | |
| 100 | #mast-right a:hover { |
| 101 | color: #CE5650; |
| 102 | } |