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 | } |
Simon Hunt | f8e5b4e0 | 2014-11-13 11:17:57 -0800 | [diff] [blame] | 94 | |
| 95 | /* Button Bar */ |
| 96 | |
| 97 | #bb { |
| 98 | margin: 0 30px; |
| 99 | padding: 0 2px; |
| 100 | } |
| 101 | |
| 102 | #bb .btn { |
Simon Hunt | 01095ff | 2014-11-13 16:37:29 -0800 | [diff] [blame] | 103 | margin: 0 4px; |
Simon Hunt | f8e5b4e0 | 2014-11-13 11:17:57 -0800 | [diff] [blame] | 104 | padding: 2px 6px; |
| 105 | font-size: 9pt; |
| 106 | cursor: pointer; |
| 107 | } |
| 108 | |
| 109 | .light #bb .btn { |
| 110 | border: 1px solid #fff; |
| 111 | border-right-color: #444; |
| 112 | border-bottom-color: #444; |
| 113 | color: #222; |
| 114 | } |
| 115 | |
| 116 | .light #bb .btn.active { |
| 117 | border: 1px solid #444; |
| 118 | border-right-color: #fff; |
| 119 | border-bottom-color: #fff; |
| 120 | background-color: #888; |
| 121 | color: #ddf; |
| 122 | } |
| 123 | |
| 124 | .dark #bb .btn { |
| 125 | border: 1px solid #888; |
| 126 | border-right-color: #111; |
| 127 | border-bottom-color: #111; |
| 128 | color: #888; |
| 129 | } |
| 130 | |
| 131 | .dark #bb .btn.active { |
| 132 | border: 1px solid #111; |
| 133 | border-right-color: #888; |
| 134 | border-bottom-color: #888; |
| 135 | background-color: #555; |
| 136 | color: #bbd; |
| 137 | } |
| 138 | |