blob: 36f107eb9365f51b339e7e398f8de0ed6ea4c0f9 [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
Sean Condon55c30532018-10-29 12:26:57 +000021/**
22 * Offline cache - see
23 * https://google-webfonts-helper.herokuapp.com/fonts/open-sans?subsets=latin
24 */
25/* open-sans-300 - latin */
26@font-face {
27 font-family: 'Open Sans';
28 font-style: normal;
29 font-weight: 300;
30 src: local('Open Sans Light'), local('OpenSans-Light'),
31 url('./fonts/open-sans-v15-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
32 url('./fonts/open-sans-v15-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
33}
34
35/* open-sans-600 - latin */
36@font-face {
37 font-family: 'Open Sans';
38 font-style: normal;
39 font-weight: 600;
40 src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
41 url('./fonts/open-sans-v15-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
42 url('./fonts/open-sans-v15-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
43}
44
45/* open-sans-700 - latin */
46@font-face {
47 font-family: 'Open Sans';
48 font-style: normal;
49 font-weight: 700;
50 src: local('Open Sans Bold'), local('OpenSans-Bold'),
51 url('./fonts/open-sans-v15-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
52 url('./fonts/open-sans-v15-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
53}
54
55
56
Sean Condonfd6d11b2018-06-02 20:29:49 +010057body {
58 background-color: white;
59}
60
61html {
Sean Condon55c30532018-10-29 12:26:57 +000062 font-family: 'Open Sans', normal;
Sean Condonfd6d11b2018-06-02 20:29:49 +010063 -webkit-text-size-adjust: 100%;
64 -ms-text-size-adjust: 100%;
65 height: 100%;
66}
67
68/*
69 overflow hidden is to ensure that the body does not expand to account
70 for any flyout panes, that are positioned "off screen".
71 */
72body {
73 height: 100%;
74 margin: 0;
75 overflow: hidden;
76}
77
78#view h2 {
79 color: #3c3a3a;
Sean Condon55c30532018-10-29 12:26:57 +000080 /*margin: 32px 0 4px 16px;*/
Sean Condon2bd11b72018-06-15 08:00:48 +010081 padding: 0;
82 font-size: 18pt;
83 font-weight: lighter;
Sean Condonfd6d11b2018-06-02 20:29:49 +010084}
85
86a {
87 color: #009fdb;
88 text-decoration: none;
89}
90a:hover {
91 text-decoration: underline;
92}
93a:visited {
94 color: #7fabdb;
95 text-decoration: none;
96}
97
98/* ========== DARK Theme ========== */
99
100body.dark {
101 background-color: #282528;
102}
103
104.dark #view h2 {
105 color: #6a6e6a;
106}
107
108.dark a {
109 color: #007ca6;
110}
111.dark a:visited {
112 color: #4f6e90;
113}
114
115.dark input {
116 color: #dddddd;
117 background-color: #222222;
118 border: 1px solid #666666;
119}
120
121.dark select {
122 color: #dddddd;
123 background-color: #222222;
Priyanka H Mfa5b77a2018-07-27 12:43:44 +0530124}
125
126.floatpanel {
127 background-color: white;
128 color: #3c3a3a;
129 border: 1px solid #c7c7c0;
130}
131
132#details-panel .floatpanel a {
133 font-weight: bold;
134}
135
136#details-panel .container {
137 padding: 8px 12px;
138
139}
140
141#details-panel .container .bottom {
142 /*overflow-y: scroll;*/
143}
144
145#details-panel .close-btn {
146 position: absolute;
147 right:5px;
148 width: 20px;
149 height: 20px;
150 top: 5px;
151 cursor: pointer;
152}
153
154#details-panel .dev-icon {
155 display: inline-block;
156 padding: 0 6px 0 0;
157 vertical-align: middle;
158}
159
160#details-panel h2 {
161 display: inline-block;
162 margin: 8px 0;
163 font-weight: bold;
164 font-size: 16pt;
165}
166
167#details-panel h2 input {
168 font-size: 0.90em;
169}
170
171#details-panel .actionBtns div {
172 padding: 12px 6px;
173}
174
175#details-panel hr {
176 margin: 2px auto;
177}
178
179#details-panel td.label {
180 font-weight: bold;
181 text-align: right;
182 padding-right: 6px;
183}
184
185#details-panel .bottom table {
186 border-spacing: 0;
187 table-layout:fixed;
188 /*overflow: auto;*/
189 display: block;
190}
191
192#details-panel .bottom th {
193 letter-spacing: 0.02em;
194}
195
196#details-panel .bottom th,
197#details-panel .bottom td {
198 padding: 6px 12px;
199 text-align: center;
200}
201
202#details-panel .bottom thead tr {
203 background-color: #e5e5e6;
204}
205
206svg.embeddedIcon g.icon .glyph {
207 fill: #0071bd;
208 stroke: none;
209 fill-rule: evenodd;
210}
211
212div.close-btn svg.embeddedIcon g.icon .glyph {
213 fill: #333333;
214}
215
216svg.embeddedIcon g.icon rect {
217 stroke: none;
218 fill: none;
Sean Condonfd6d11b2018-06-02 20:29:49 +0100219}