blob: b42af35ec18aca0baa21236648257abb070d21a8 [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
Simon Huntc2202d52014-12-16 13:30:15 -080019 */
20
21html {
22 font-family: sans-serif;
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 */
32body {
33 height: 100%;
34 margin: 0;
35 overflow: hidden;
36}
Simon Huntef31fb22014-12-19 13:16:44 -080037
Simon Hunt5ee36e02015-01-15 10:33:20 -080038body.light {
39 background-color: white;
40}
41body.dark {
42 background-color: #2b2b2b;
43}
44
Simon Huntef31fb22014-12-19 13:16:44 -080045#view {
46 padding: 6px;
Simon Hunt426bd862015-01-14 16:48:41 -080047 width: 100%;
48 height: 100%;
Simon Huntef31fb22014-12-19 13:16:44 -080049}
50
Thomas Vachuska95aadff2015-03-26 11:45:41 -070051#view h2 {
52 padding-left: 12px;
53}
54
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080055.light #view h2 {
Simon Huntef31fb22014-12-19 13:16:44 -080056 color: #800;
57}
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080058.dark #view h2 {
Bri Prebilic Cole15983012015-01-28 15:17:18 -080059 color: #CE5650;
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080060}