Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 1 | /* |
Brian O'Connor | a09fe5b | 2017-08-03 21:12:30 -0700 | [diff] [blame] | 2 | * Copyright 2014-present Open Networking Foundation |
Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 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 | /* |
Simon Hunt | 58894c8 | 2016-05-24 15:09:02 -0700 | [diff] [blame] | 18 | ONOS GUI -- core (layout) -- CSS file |
Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 19 | */ |
| 20 | |
| 21 | html { |
Simon Hunt | d42e5d1 | 2016-05-25 16:46:52 -0700 | [diff] [blame] | 22 | font-family: 'Open Sans', sans-serif; |
Simon Hunt | c2202d5 | 2014-12-16 13:30:15 -0800 | [diff] [blame] | 23 | -webkit-text-size-adjust: 100%; |
| 24 | -ms-text-size-adjust: 100%; |
| 25 | height: 100%; |
| 26 | } |
| 27 | |
| 28 | /* |
| 29 | overflow hidden is to ensure that the body does not expand to account |
| 30 | for any flyout panes, that are positioned "off screen". |
| 31 | */ |
| 32 | body { |
| 33 | height: 100%; |
| 34 | margin: 0; |
| 35 | overflow: hidden; |
| 36 | } |
Simon Hunt | ef31fb2 | 2014-12-19 13:16:44 -0800 | [diff] [blame] | 37 | |
| 38 | #view { |
| 39 | padding: 6px; |
Simon Hunt | 426bd86 | 2015-01-14 16:48:41 -0800 | [diff] [blame] | 40 | width: 100%; |
| 41 | height: 100%; |
Simon Hunt | ef31fb2 | 2014-12-19 13:16:44 -0800 | [diff] [blame] | 42 | } |
| 43 | |
Thomas Vachuska | 95aadff | 2015-03-26 11:45:41 -0700 | [diff] [blame] | 44 | #view h2 { |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame] | 45 | -webkit-margin-before: 0; |
| 46 | -webkit-margin-after: 0; |
Simon Hunt | 5487ce7 | 2016-06-06 15:31:10 -0700 | [diff] [blame] | 47 | margin: 32px 0 4px 16px; |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame] | 48 | padding: 0; |
Thomas Vachuska | 6af7f15 | 2017-09-12 14:56:44 -0700 | [diff] [blame] | 49 | font-size: 18pt; |
Simon Hunt | f3fd4ed | 2016-05-31 17:16:18 -0700 | [diff] [blame] | 50 | font-weight: lighter; |
Thomas Vachuska | 95aadff | 2015-03-26 11:45:41 -0700 | [diff] [blame] | 51 | } |