blob: a2ac0aa04852ab90b19fab09f2e641b7f5bbbbbf [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;
Sean Condon2bd11b72018-06-15 08:00:48 +010044 margin: 32px 0 4px 16px;
45 padding: 0;
46 font-size: 18pt;
47 font-weight: lighter;
Sean Condonfd6d11b2018-06-02 20:29:49 +010048}
49
50a {
51 color: #009fdb;
52 text-decoration: none;
53}
54a:hover {
55 text-decoration: underline;
56}
57a:visited {
58 color: #7fabdb;
59 text-decoration: none;
60}
61
62/* ========== DARK Theme ========== */
63
64body.dark {
65 background-color: #282528;
66}
67
68.dark #view h2 {
69 color: #6a6e6a;
70}
71
72.dark a {
73 color: #007ca6;
74}
75.dark a:visited {
76 color: #4f6e90;
77}
78
79.dark input {
80 color: #dddddd;
81 background-color: #222222;
82 border: 1px solid #666666;
83}
84
85.dark select {
86 color: #dddddd;
87 background-color: #222222;
88}