Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 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 -- Masthead -- CSS file |
| 19 | |
| 20 | @author Simon Hunt |
| 21 | */ |
| 22 | |
| 23 | #mast { |
| 24 | height: 36px; |
| 25 | padding: 4px; |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 26 | vertical-align: baseline; |
Thomas Vachuska | 65368e3 | 2014-11-08 16:10:20 -0800 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | .light #mast { |
| 30 | background-color: #bbb; |
| 31 | box-shadow: 0px 2px 8px #777; |
| 32 | } |
| 33 | .dark #mast { |
| 34 | background-color: #444; |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 35 | box-shadow: 0px 2px 8px #777; |
| 36 | } |
| 37 | |
| 38 | #mast img#logo { |
| 39 | height: 38px; |
| 40 | padding-left: 8px; |
| 41 | padding-right: 8px; |
| 42 | } |
| 43 | |
| 44 | #mast span.title { |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 45 | font-size: 14pt; |
| 46 | font-style: italic; |
| 47 | vertical-align: 12px; |
| 48 | } |
| 49 | |
Thomas Vachuska | 65368e3 | 2014-11-08 16:10:20 -0800 | [diff] [blame] | 50 | .light #mast span.title { |
| 51 | color: #369; |
| 52 | } |
| 53 | .dark #mast span.title { |
| 54 | color: #78a; |
| 55 | } |
| 56 | |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 57 | #mast span.right { |
| 58 | padding-top: 8px; |
| 59 | padding-right: 16px; |
| 60 | float: right; |
| 61 | } |
| 62 | |
| 63 | #mast span.radio { |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 64 | font-size: 10pt; |
Simon Hunt | db9eb07 | 2014-11-04 19:12:46 -0800 | [diff] [blame] | 65 | margin: 4px 2px; |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 66 | padding: 1px 6px; |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 67 | cursor: pointer; |
| 68 | } |
| 69 | |
Thomas Vachuska | 65368e3 | 2014-11-08 16:10:20 -0800 | [diff] [blame] | 70 | .light #mast span.radio { |
| 71 | border: 1px dotted #222; |
| 72 | color: #eee; |
| 73 | } |
| 74 | .dark #mast span.radio { |
| 75 | border: 1px dotted #bbb; |
| 76 | color: #888; |
| 77 | } |
| 78 | |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 79 | #mast span.radio.active { |
Thomas Vachuska | 65368e3 | 2014-11-08 16:10:20 -0800 | [diff] [blame] | 80 | padding: 1px 6px; |
| 81 | font-weight: bold; |
| 82 | } |
| 83 | |
| 84 | .light #mast span.radio.active { |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 85 | background-color: #bbb; |
| 86 | border: 1px solid #eee; |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 87 | color: #666; |
Thomas Vachuska | 65368e3 | 2014-11-08 16:10:20 -0800 | [diff] [blame] | 88 | } |
| 89 | .dark #mast span.radio.active { |
| 90 | background-color: #222; |
| 91 | border: 1px solid #eee; |
| 92 | color: #aaf; |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 93 | } |