| /* |
| * Copyright 2014,2015 Open Networking Laboratory |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| /* |
| ONOS GUI -- core -- CSS file |
| |
| @author Simon Hunt |
| */ |
| |
| html { |
| font-family: sans-serif; |
| -webkit-text-size-adjust: 100%; |
| -ms-text-size-adjust: 100%; |
| height: 100%; |
| } |
| |
| /* |
| overflow hidden is to ensure that the body does not expand to account |
| for any flyout panes, that are positioned "off screen". |
| */ |
| body { |
| height: 100%; |
| margin: 0; |
| overflow: hidden; |
| } |
| |
| body.light { |
| background-color: white; |
| } |
| body.dark { |
| background-color: #2b2b2b; |
| } |
| |
| #view { |
| padding: 6px; |
| width: 100%; |
| height: 100%; |
| } |
| |
| .light #view h2 { |
| color: #800; |
| } |
| .dark #view h2 { |
| color: #d88; |
| } |