Sean Condon | fd6d11b | 2018-06-02 20:29:49 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016-present Open Networking Foundation |
| 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 -- core (theme) -- CSS file |
| 19 | */ |
| 20 | |
| 21 | body { |
| 22 | background-color: white; |
| 23 | } |
| 24 | |
| 25 | html { |
| 26 | font-family: 'Open Sans', sans-serif; |
| 27 | -webkit-text-size-adjust: 100%; |
| 28 | -ms-text-size-adjust: 100%; |
| 29 | height: 100%; |
| 30 | } |
| 31 | |
| 32 | /* |
| 33 | overflow hidden is to ensure that the body does not expand to account |
| 34 | for any flyout panes, that are positioned "off screen". |
| 35 | */ |
| 36 | body { |
| 37 | height: 100%; |
| 38 | margin: 0; |
| 39 | overflow: hidden; |
| 40 | } |
| 41 | |
| 42 | #view h2 { |
| 43 | color: #3c3a3a; |
Sean Condon | 2bd11b7 | 2018-06-15 08:00:48 +0100 | [diff] [blame] | 44 | margin: 32px 0 4px 16px; |
| 45 | padding: 0; |
| 46 | font-size: 18pt; |
| 47 | font-weight: lighter; |
Sean Condon | fd6d11b | 2018-06-02 20:29:49 +0100 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | a { |
| 51 | color: #009fdb; |
| 52 | text-decoration: none; |
| 53 | } |
| 54 | a:hover { |
| 55 | text-decoration: underline; |
| 56 | } |
| 57 | a:visited { |
| 58 | color: #7fabdb; |
| 59 | text-decoration: none; |
| 60 | } |
| 61 | |
| 62 | /* ========== DARK Theme ========== */ |
| 63 | |
| 64 | body.dark { |
| 65 | background-color: #282528; |
| 66 | } |
| 67 | |
| 68 | .dark #view h2 { |
| 69 | color: #6a6e6a; |
| 70 | } |
| 71 | |
| 72 | .dark a { |
| 73 | color: #007ca6; |
| 74 | } |
| 75 | .dark a:visited { |
| 76 | color: #4f6e90; |
| 77 | } |
| 78 | |
| 79 | .dark input { |
| 80 | color: #dddddd; |
| 81 | background-color: #222222; |
| 82 | border: 1px solid #666666; |
| 83 | } |
| 84 | |
| 85 | .dark select { |
| 86 | color: #dddddd; |
| 87 | background-color: #222222; |
Priyanka H M | fa5b77a | 2018-07-27 12:43:44 +0530 | [diff] [blame] | 88 | } |
| 89 | |
| 90 | .floatpanel { |
| 91 | background-color: white; |
| 92 | color: #3c3a3a; |
| 93 | border: 1px solid #c7c7c0; |
| 94 | } |
| 95 | |
| 96 | #details-panel .floatpanel a { |
| 97 | font-weight: bold; |
| 98 | } |
| 99 | |
| 100 | #details-panel .container { |
| 101 | padding: 8px 12px; |
| 102 | |
| 103 | } |
| 104 | |
| 105 | #details-panel .container .bottom { |
| 106 | /*overflow-y: scroll;*/ |
| 107 | } |
| 108 | |
| 109 | #details-panel .close-btn { |
| 110 | position: absolute; |
| 111 | right:5px; |
| 112 | width: 20px; |
| 113 | height: 20px; |
| 114 | top: 5px; |
| 115 | cursor: pointer; |
| 116 | } |
| 117 | |
| 118 | #details-panel .dev-icon { |
| 119 | display: inline-block; |
| 120 | padding: 0 6px 0 0; |
| 121 | vertical-align: middle; |
| 122 | } |
| 123 | |
| 124 | #details-panel h2 { |
| 125 | display: inline-block; |
| 126 | margin: 8px 0; |
| 127 | font-weight: bold; |
| 128 | font-size: 16pt; |
| 129 | } |
| 130 | |
| 131 | #details-panel h2 input { |
| 132 | font-size: 0.90em; |
| 133 | } |
| 134 | |
| 135 | #details-panel .actionBtns div { |
| 136 | padding: 12px 6px; |
| 137 | } |
| 138 | |
| 139 | #details-panel hr { |
| 140 | margin: 2px auto; |
| 141 | } |
| 142 | |
| 143 | #details-panel td.label { |
| 144 | font-weight: bold; |
| 145 | text-align: right; |
| 146 | padding-right: 6px; |
| 147 | } |
| 148 | |
| 149 | #details-panel .bottom table { |
| 150 | border-spacing: 0; |
| 151 | table-layout:fixed; |
| 152 | /*overflow: auto;*/ |
| 153 | display: block; |
| 154 | } |
| 155 | |
| 156 | #details-panel .bottom th { |
| 157 | letter-spacing: 0.02em; |
| 158 | } |
| 159 | |
| 160 | #details-panel .bottom th, |
| 161 | #details-panel .bottom td { |
| 162 | padding: 6px 12px; |
| 163 | text-align: center; |
| 164 | } |
| 165 | |
| 166 | #details-panel .bottom thead tr { |
| 167 | background-color: #e5e5e6; |
| 168 | } |
| 169 | |
| 170 | svg.embeddedIcon g.icon .glyph { |
| 171 | fill: #0071bd; |
| 172 | stroke: none; |
| 173 | fill-rule: evenodd; |
| 174 | } |
| 175 | |
| 176 | div.close-btn svg.embeddedIcon g.icon .glyph { |
| 177 | fill: #333333; |
| 178 | } |
| 179 | |
| 180 | svg.embeddedIcon g.icon rect { |
| 181 | stroke: none; |
| 182 | fill: none; |
Sean Condon | fd6d11b | 2018-06-02 20:29:49 +0100 | [diff] [blame] | 183 | } |