blob: 40a5c0399bdf471258f983a60b80514088a14f63 [file] [log] [blame]
Simon Huntc2202d52014-12-16 13:30:15 -08001/*
Simon Hunt8ead3a22015-01-06 11:00:15 -08002 * Copyright 2014,2015 Open Networking Laboratory
Simon Huntc2202d52014-12-16 13:30:15 -08003 *
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 -- CSS file
19
20 @author Simon Hunt
21 */
22
23html {
24 font-family: sans-serif;
25 -webkit-text-size-adjust: 100%;
26 -ms-text-size-adjust: 100%;
27 height: 100%;
28}
29
30/*
31 overflow hidden is to ensure that the body does not expand to account
32 for any flyout panes, that are positioned "off screen".
33 */
34body {
35 height: 100%;
36 margin: 0;
37 overflow: hidden;
38}
Simon Huntef31fb22014-12-19 13:16:44 -080039
Simon Hunt5ee36e02015-01-15 10:33:20 -080040body.light {
41 background-color: white;
42}
43body.dark {
44 background-color: #2b2b2b;
45}
46
Simon Huntef31fb22014-12-19 13:16:44 -080047#view {
48 padding: 6px;
Simon Hunt426bd862015-01-14 16:48:41 -080049 width: 100%;
50 height: 100%;
Simon Huntef31fb22014-12-19 13:16:44 -080051}
52
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080053.light #view h2 {
Simon Huntef31fb22014-12-19 13:16:44 -080054 color: #800;
55}
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080056.dark #view h2 {
57 color: #d88;
58}