blob: 0920bac5cfe10b345a696f3fb5b7cfc0e4255adf [file] [log] [blame]
Simon Hunt195cb382014-11-03 17:50:51 -08001/*
2 * Copyright 2014 Open Networking Laboratory
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 -- Base Framework -- CSS file
19
20 @author Simon Hunt
21 */
22
23html, body {
24 height: 100%;
25}
26
Simon Hunta3dd9572014-11-20 15:22:41 -080027/* This is to ensure that the body does not expand to account for the
28 flyout details pane, that is positioned "off screen".
29 */
30body {
31 overflow: hidden;
32}
33
34#frame {
35 width: 100%;
36 height: 100%;
37 background-color: #fff;
38}
39
Simon Hunt25248912014-11-04 11:25:48 -080040div.onosView {
41 display: none;
42}
43
44div.onosView.currentView {
45 display: block;
46}
47
Simon Hunta3dd9572014-11-20 15:22:41 -080048
Thomas Vachuska65368e32014-11-08 16:10:20 -080049#alerts {
Simon Hunt1a9eff92014-11-07 11:06:34 -080050 display: none;
51 position: absolute;
52 z-index: 2000;
53 opacity: 0.65;
54 background-color: #006;
55 color: white;
56 top: 80px;
57 left: 40px;
58 padding: 3px 6px;
Simon Hunta3dd9572014-11-20 15:22:41 -080059 -moz-border-radius: 6px;
60 border-radius: 6px;
Simon Hunt1a9eff92014-11-07 11:06:34 -080061 box-shadow: 4px 6px 12px #777;
62}
63
Thomas Vachuska65368e32014-11-08 16:10:20 -080064#alerts pre {
Simon Hunt1a9eff92014-11-07 11:06:34 -080065 margin: 0.2em 6px;
66}
67
Thomas Vachuska65368e32014-11-08 16:10:20 -080068#alerts span.close {
Simon Hunt1a9eff92014-11-07 11:06:34 -080069 color: #6af;
70 float: right;
71 right: 2px;
72 cursor: pointer;
73}
74
Thomas Vachuska65368e32014-11-08 16:10:20 -080075#alerts span.close:hover {
Simon Hunt1a9eff92014-11-07 11:06:34 -080076 color: #fff;
77}
78
Thomas Vachuska65368e32014-11-08 16:10:20 -080079#alerts p.footnote {
80 text-align: right;
81 font-size: 8pt;
82 margin: 8px 0 0 0;
83 color: #66d;
84}
85
Simon Hunt195cb382014-11-03 17:50:51 -080086
87#flyout {
88 position: absolute;
89 z-index: 100;
90 display: block;
91 top: 10%;
92 width: 280px;
93 right: -300px;
94 opacity: 0;
95 background-color: rgba(255,255,255,0.8);
96
97 padding: 10px;
98 color: black;
99 font-size: 10pt;
100 box-shadow: 2px 2px 16px #777;
101}
102
103#flyout h2 {
104 margin: 8px 4px;
105 color: black;
106 vertical-align: middle;
107}
108
109#flyout h2 img {
110 height: 32px;
111 padding-right: 8px;
112 vertical-align: middle;
113}
114
115#flyout p, table {
116 margin: 4px 4px;
117}
118
119#flyout td.label {
120 font-style: italic;
121 color: #777;
122 padding-right: 12px;
123}
124
125#flyout td.value {
126
127}
128
129#flyout hr {
130 height: 1px;
131 color: #ccc;
132 background-color: #ccc;
133 border: 0;
134}