Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014,2015 Open Networking Laboratory |
| 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 -- Navigation -- CSS file |
Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 19 | */ |
| 20 | |
| 21 | #nav { |
| 22 | position: absolute; |
Thomas Vachuska | 9730ec9 | 2015-03-07 17:25:21 -0800 | [diff] [blame] | 23 | top: 45px; |
| 24 | left: 1px; |
Simon Hunt | 38c2b6a | 2015-04-24 13:02:05 -0700 | [diff] [blame] | 25 | padding: 0; |
Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 26 | z-index: 3000; |
| 27 | visibility: hidden; |
| 28 | } |
| 29 | |
Bri Prebilic Cole | d874546 | 2015-06-01 16:08:57 -0700 | [diff] [blame] | 30 | html[data-platform='iPad'] #nav { |
| 31 | top: 57px; |
| 32 | } |
| 33 | |
Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 34 | .light #nav { |
Thomas Vachuska | 9730ec9 | 2015-03-07 17:25:21 -0800 | [diff] [blame] | 35 | background-color: #bbb; |
Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 36 | box-shadow: 0 2px 8px #777; |
| 37 | } |
| 38 | .dark #nav { |
| 39 | background-color: #444; |
Simon Hunt | 9d28656 | 2015-03-09 13:53:50 -0700 | [diff] [blame] | 40 | box-shadow: 0 2px 8px #111; |
Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 41 | } |
| 42 | |
Simon Hunt | 38c2b6a | 2015-04-24 13:02:05 -0700 | [diff] [blame] | 43 | #nav .nav-hdr { |
| 44 | font-style: italic; |
| 45 | padding: 6px 8px 6px 8px; |
| 46 | } |
| 47 | |
| 48 | .light #nav .nav-hdr { |
| 49 | color: #ddd; |
| 50 | border-bottom: solid 1px #999; |
| 51 | background-color: #aaa; |
| 52 | } |
| 53 | .dark #nav .nav-hdr { |
| 54 | color: #888; |
| 55 | border-bottom: solid 1px #444; |
| 56 | background-color: #555; |
| 57 | } |
| 58 | |
Thomas Vachuska | 9730ec9 | 2015-03-07 17:25:21 -0800 | [diff] [blame] | 59 | #nav a { |
| 60 | text-decoration: none; |
| 61 | font-size: 14pt; |
| 62 | display: block; |
Simon Hunt | 20e1679 | 2015-04-24 14:29:39 -0700 | [diff] [blame] | 63 | padding: 8px 16px 6px 12px; |
Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 64 | } |
| 65 | |
Thomas Vachuska | 9730ec9 | 2015-03-07 17:25:21 -0800 | [diff] [blame] | 66 | .light #nav a { |
| 67 | color: #369; |
| 68 | border-bottom: solid #ccc 1px; |
Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 69 | } |
Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 70 | .dark #nav a { |
Thomas Vachuska | 9730ec9 | 2015-03-07 17:25:21 -0800 | [diff] [blame] | 71 | color: #eee; |
| 72 | border-bottom: solid #333 1px; |
| 73 | } |
| 74 | |
| 75 | .light #nav a:hover { |
| 76 | background-color: #ddd; |
| 77 | } |
Thomas Vachuska | 9730ec9 | 2015-03-07 17:25:21 -0800 | [diff] [blame] | 78 | .dark #nav a:hover { |
Simon Hunt | 4c5c046 | 2015-03-24 11:21:17 -0700 | [diff] [blame] | 79 | background-color: #777; |
Simon Hunt | 86388b1 | 2015-01-09 14:23:26 -0800 | [diff] [blame] | 80 | } |
| 81 | |
Simon Hunt | 20e1679 | 2015-04-24 14:29:39 -0700 | [diff] [blame] | 82 | #nav a div { |
| 83 | display: inline-block; |
| 84 | vertical-align: middle; |
| 85 | padding-right: 4px; |
| 86 | } |
| 87 | |
| 88 | #nav a div svg.embeddedIcon g.icon .glyph { |
| 89 | fill: #c66; |
| 90 | } |