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 |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 19 | */ |
| 20 | |
| 21 | #mast { |
| 22 | height: 36px; |
| 23 | padding: 4px; |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 24 | vertical-align: baseline; |
Thomas Vachuska | 65368e3 | 2014-11-08 16:10:20 -0800 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | .light #mast { |
| 28 | background-color: #bbb; |
Simon Hunt | d481c1e | 2014-11-20 11:46:15 -0800 | [diff] [blame] | 29 | box-shadow: 0 2px 8px #777; |
Thomas Vachuska | 65368e3 | 2014-11-08 16:10:20 -0800 | [diff] [blame] | 30 | } |
| 31 | .dark #mast { |
| 32 | background-color: #444; |
Simon Hunt | d481c1e | 2014-11-20 11:46:15 -0800 | [diff] [blame] | 33 | box-shadow: 0 2px 8px #777; |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | #mast img#logo { |
| 37 | height: 38px; |
| 38 | padding-left: 8px; |
| 39 | padding-right: 8px; |
| 40 | } |
| 41 | |
| 42 | #mast span.title { |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 43 | font-size: 14pt; |
| 44 | font-style: italic; |
| 45 | vertical-align: 12px; |
| 46 | } |
| 47 | |
Thomas Vachuska | 65368e3 | 2014-11-08 16:10:20 -0800 | [diff] [blame] | 48 | .light #mast span.title { |
| 49 | color: #369; |
| 50 | } |
| 51 | .dark #mast span.title { |
Thomas Vachuska | e02e11c | 2014-11-24 16:13:52 -0800 | [diff] [blame] | 52 | color: #eee; |
Thomas Vachuska | 65368e3 | 2014-11-08 16:10:20 -0800 | [diff] [blame] | 53 | } |
| 54 | |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 55 | #mast span.right { |
| 56 | padding-top: 8px; |
| 57 | padding-right: 16px; |
| 58 | float: right; |
| 59 | } |
| 60 | |
| 61 | #mast span.radio { |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 62 | font-size: 10pt; |
Simon Hunt | db9eb07 | 2014-11-04 19:12:46 -0800 | [diff] [blame] | 63 | margin: 4px 2px; |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 64 | padding: 1px 6px; |
Simon Hunt | a3dd957 | 2014-11-20 15:22:41 -0800 | [diff] [blame] | 65 | -moz-border-radius: 3px; |
| 66 | border-radius: 3px; |
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; |
Thomas Vachuska | 65368e3 | 2014-11-08 16:10:20 -0800 | [diff] [blame] | 81 | } |
| 82 | |
| 83 | .light #mast span.radio.active { |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 84 | background-color: #bbb; |
| 85 | border: 1px solid #eee; |
Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 86 | color: #666; |
Thomas Vachuska | ece59ee | 2014-11-19 19:06:11 -0800 | [diff] [blame] | 87 | |
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; |
Thomas Vachuska | ece59ee | 2014-11-19 19:06:11 -0800 | [diff] [blame] | 92 | color: #78a; |
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; |
Simon Hunt | a3dd957 | 2014-11-20 15:22:41 -0800 | [diff] [blame] | 105 | -moz-border-radius: 3px; |
| 106 | border-radius: 3px; |
Simon Hunt | f8e5b4e0 | 2014-11-13 11:17:57 -0800 | [diff] [blame] | 107 | font-size: 9pt; |
| 108 | cursor: pointer; |
| 109 | } |
| 110 | |
| 111 | .light #bb .btn { |
| 112 | border: 1px solid #fff; |
| 113 | border-right-color: #444; |
| 114 | border-bottom-color: #444; |
| 115 | color: #222; |
| 116 | } |
| 117 | |
| 118 | .light #bb .btn.active { |
| 119 | border: 1px solid #444; |
| 120 | border-right-color: #fff; |
| 121 | border-bottom-color: #fff; |
| 122 | background-color: #888; |
| 123 | color: #ddf; |
| 124 | } |
| 125 | |
| 126 | .dark #bb .btn { |
| 127 | border: 1px solid #888; |
| 128 | border-right-color: #111; |
| 129 | border-bottom-color: #111; |
| 130 | color: #888; |
| 131 | } |
| 132 | |
| 133 | .dark #bb .btn.active { |
| 134 | border: 1px solid #111; |
| 135 | border-right-color: #888; |
| 136 | border-bottom-color: #888; |
| 137 | background-color: #555; |
Thomas Vachuska | ece59ee | 2014-11-19 19:06:11 -0800 | [diff] [blame] | 138 | color: #78a; |
Simon Hunt | f8e5b4e0 | 2014-11-13 11:17:57 -0800 | [diff] [blame] | 139 | } |
| 140 | |