blob: dc14c80c48adf8de781ee996343f2bc3a91e502a [file] [log] [blame]
Sean Condonfd6d11b2018-06-02 20:29:49 +01001/*
2 * Copyright 2016-present Open Networking Foundation
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/*
18 ONOS GUI -- core (theme) -- CSS file
19 */
20
21body {
22 background-color: white;
23}
24
25html {
26 font-family: 'Open Sans', sans-serif;
27 -webkit-text-size-adjust: 100%;
28 -ms-text-size-adjust: 100%;
29 height: 100%;
30}
31
32/*
33 overflow hidden is to ensure that the body does not expand to account
34 for any flyout panes, that are positioned "off screen".
35 */
36body {
37 height: 100%;
38 margin: 0;
39 overflow: hidden;
40}
41
42#view h2 {
43 color: #3c3a3a;
44}
45
46a {
47 color: #009fdb;
48 text-decoration: none;
49}
50a:hover {
51 text-decoration: underline;
52}
53a:visited {
54 color: #7fabdb;
55 text-decoration: none;
56}
57
58/* ========== DARK Theme ========== */
59
60body.dark {
61 background-color: #282528;
62}
63
64.dark #view h2 {
65 color: #6a6e6a;
66}
67
68.dark a {
69 color: #007ca6;
70}
71.dark a:visited {
72 color: #4f6e90;
73}
74
75.dark input {
76 color: #dddddd;
77 background-color: #222222;
78 border: 1px solid #666666;
79}
80
81.dark select {
82 color: #dddddd;
83 background-color: #222222;
84}