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