blob: 779cd5d43f4d962bf510b7b9ca1b58c33ad79541 [file] [log] [blame]
Simon Huntc2202d52014-12-16 13:30:15 -08001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2014-present 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}
Thomas Vachuskafe1f01a2015-12-10 23:56:02 -080061
Simon Huntf4ef6dd2016-02-03 17:05:14 -080062.centered {
Thomas Vachuskafe1f01a2015-12-10 23:56:02 -080063 position: fixed;
64 top: 50%;
65 left: 50%;
66 -webkit-transform: translate(-50%, -50%);
67 transform: translate(-50%, -50%);
68 box-shadow: 2px 2px 24px 5px #888;
69 background-color: #eee;
Simon Hunt9f5e97d2015-12-11 10:32:09 -080070 margin: 0;
Thomas Vachuskafe1f01a2015-12-10 23:56:02 -080071 padding: 10px;
72}