blob: a1c9349d41513f49c281cae01a38c8e4bf56b7d1 [file] [log] [blame]
Thomas Vachuska0fa583c2015-03-30 23:07:41 -07001/*
Jian Lia54de5a2016-01-20 23:10:39 -08002 * Copyright 2015-2016 Open Networking Laboratory
Thomas Vachuska0fa583c2015-03-30 23:07:41 -07003 *
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 -- Host View -- CSS file
19 */
20
Simon Hunt3695a622015-03-31 11:52:23 -070021#ov-app h2 {
22 display: inline-block;
23}
24
25#ov-app div.ctrl-btns {
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070026 width: 290px;
Simon Hunt3695a622015-03-31 11:52:23 -070027}
28
Bri Prebilic Cole522e7562015-06-22 15:56:25 -070029#ov-app form#inputFileForm,
30#ov-app input#uploadFile {
31 display: none;
32}
Simon Hunt8d28a552016-01-11 14:01:02 -080033
34#app-dialog p {
Simon Hunt8d28a552016-01-11 14:01:02 -080035 font-size: 12pt;
36}
Simon Hunta003d8a2016-01-11 16:38:30 -080037.light #app-dialog p {
38 color: darkred;
39}
40.dark #app-dialog p {
41 color: #c55;
42}
43
Simon Hunt3f92c432016-01-12 17:34:23 -080044#app-dialog p.strong {
45 font-weight: bold;
46}
47.light #app-dialog p.strong {
48 color: red;
49 background-color: #ff0;
50}
51.dark #app-dialog p.strong {
52 color: #c55;
53 background-color: #dd4;
54}
55
Simon Hunta003d8a2016-01-11 16:38:30 -080056
57.light #app-dialog.floatpanel.dialog {
58 background-color: #fff;
59}
60.dark #app-dialog.floatpanel.dialog {
61 background-color: #444;
62}
Jian Lia54de5a2016-01-20 23:10:39 -080063
64#application-details-panel.floatpanel {
65 -moz-border-radius: 0;
66 border-radius: 0;
67 z-index: 0;
68}
69
70.light #application-details-panel.floatpanel {
71 background-color: rgb(229, 234, 237);
72}
73.dark #application-details-panel.floatpanel {
74 background-color: #3A4042;
75}
76
77#application-details-panel .container {
78 padding: 0 12px;
79}
80
81#application-details-panel .close-btn {
82 position: absolute;
83 right: 10px;
84 top: 0;
85 cursor: pointer;
86}
87.light .close-btn svg.embeddedIcon .icon.plus .glyph {
88 fill: #aaa;
89}
90.dark .close-btn svg.embeddedIcon .icon.plus .glyph {
91 fill: #ccc;
92}
93
94#application-details-panel .dev-icon {
95 display: inline-block;
96 padding: 0 6px 0 0;
97 vertical-align: middle;
98}
99.light .dev-icon svg.embeddedIcon .glyph {
100 fill: rgb(0, 172, 229);
101}
102.dark .dev-icon svg.embeddedIcon .glyph {
103 fill: #486D91;
104}
105
106#application-details-panel h2 {
107 display: inline-block;
108 margin: 8px 0;
109}
110
111#application-details-panel .top div.left {
112 float: left;
113 padding: 0 18px 0 0;
114}
115#application-details-panel .top div.right {
116 display: inline-block;
117}
118
119#application-details-panel td.label {
120 font-style: italic;
121 padding-right: 12px;
122 /* works for both light and dark themes ... */
123 color: #777;
124}
125
126#application-details-panel .actionBtns div {
127 padding: 12px 6px;
128}
129
130#application-details-panel .top hr {
131 width: 95%;
132 margin: 0 auto;
133}
134
135.light #application-details-panel hr {
136 opacity: .5;
137 border-color: #FFF;
138}
139.dark #application-details-panel hr {
140 border-color: #666;
141}
142
143#application-details-panel .bottom table {
144 border-spacing: 0;
145}
146
147#application-details-panel .bottom th {
148 letter-spacing: 0.02em;
149}
150
151.light #application-details-panel .bottom th {
152 background-color: #CCC;
153 /* default text color */
154}
155.dark #application-details-panel .bottom th {
156 background-color: #131313;
157 color: #ccc;
158}
159
160#application-details-panel .bottom th,
161#application-details-panel .bottom td {
162 padding: 6px 12px;
163 text-align: center;
164}
165
166.light #application-details-panel .bottom tr:nth-child(odd) {
167 background-color: #f9f9f9;
168}
169.light #application-details-panel .bottom tr:nth-child(even) {
170 background-color: #EBEDF2;
171}
172.dark #application-details-panel .bottom tr:nth-child(odd) {
173 background-color: #333;
174}
175.dark #application-details-panel .bottom tr:nth-child(even) {
176 background-color: #555;
177}