blob: 339689be37b3b0c6747ec7b117e69ac378b8b958 [file] [log] [blame]
Thomas Vachuska0fa583c2015-03-30 23:07:41 -07001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present 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/*
Simon Hunt31642932016-01-22 20:34:00 -080018 ONOS GUI -- Applications View -- CSS file
Thomas Vachuska0fa583c2015-03-30 23:07:41 -070019 */
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 {
Simon Hunt31642932016-01-22 20:34:00 -080078 padding: 0 10px;
Jian Lia54de5a2016-01-20 23:10:39 -080079}
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
Simon Hunt31642932016-01-22 20:34:00 -080094#application-details-panel .app-icon {
Jian Lia54de5a2016-01-20 23:10:39 -080095 display: inline-block;
96 padding: 0 6px 0 0;
97 vertical-align: middle;
98}
Jian Lia54de5a2016-01-20 23:10:39 -080099
100#application-details-panel h2 {
101 display: inline-block;
102 margin: 8px 0;
Simon Hunt31642932016-01-22 20:34:00 -0800103 font-size: 12pt;
Jian Lia54de5a2016-01-20 23:10:39 -0800104}
105
Simon Hunt877ee982016-03-09 10:53:16 -0800106#application-details-panel .top .app-title {
107 width: 90%;
108 height: 45px;
109 font-size: 22pt;
110 font-weight: bold;
111 overflow: hidden;
112 white-space: nowrap;
113 padding: 0 12px 0 0;
114}
115
Jian Lia54de5a2016-01-20 23:10:39 -0800116#application-details-panel .top div.left {
117 float: left;
Simon Hunt31642932016-01-22 20:34:00 -0800118 padding: 0 12px 0 0;
Jian Lia54de5a2016-01-20 23:10:39 -0800119}
120#application-details-panel .top div.right {
121 display: inline-block;
Simon Hunt31642932016-01-22 20:34:00 -0800122 overflow: hidden;
123 width: 320px;
Jian Lia54de5a2016-01-20 23:10:39 -0800124}
125
Simon Hunt31642932016-01-22 20:34:00 -0800126#application-details-panel td.label,
127#application-details-panel .app-url i {
Jian Lia54de5a2016-01-20 23:10:39 -0800128 font-style: italic;
129 padding-right: 12px;
130 /* works for both light and dark themes ... */
131 color: #777;
132}
133
Simon Hunt31642932016-01-22 20:34:00 -0800134#application-details-panel td.value-bold {
135 font-weight: bold;
Jian Lia54de5a2016-01-20 23:10:39 -0800136}
137
Simon Hunt31642932016-01-22 20:34:00 -0800138#application-details-panel .app-url {
139 padding: 10px 6px 6px;
140}
141
142#application-details-panel hr {
Jian Lia54de5a2016-01-20 23:10:39 -0800143 width: 95%;
Simon Hunt31642932016-01-22 20:34:00 -0800144 margin: 10px auto;
Jian Lia54de5a2016-01-20 23:10:39 -0800145}
Jian Lida253e02016-01-21 17:46:17 -0800146.light #application-details-panel hr {
147 opacity: .5;
148 border-color: #FFF;
149}
150.dark #application-details-panel hr {
151 border-color: #666;
152}
153
Jian Lia54de5a2016-01-20 23:10:39 -0800154#application-details-panel .bottom table {
155 border-spacing: 0;
Simon Hunt31642932016-01-22 20:34:00 -0800156 width: 100%;
Jian Lia54de5a2016-01-20 23:10:39 -0800157}
158
Jian Lia54de5a2016-01-20 23:10:39 -0800159#application-details-panel .bottom td {
160 padding: 6px 12px;
Simon Hunt31642932016-01-22 20:34:00 -0800161 text-align: left;
Jian Lia54de5a2016-01-20 23:10:39 -0800162}
163
164.light #application-details-panel .bottom tr:nth-child(odd) {
165 background-color: #f9f9f9;
166}
167.light #application-details-panel .bottom tr:nth-child(even) {
168 background-color: #EBEDF2;
169}
170.dark #application-details-panel .bottom tr:nth-child(odd) {
171 background-color: #333;
172}
173.dark #application-details-panel .bottom tr:nth-child(even) {
174 background-color: #555;
Thomas Vachuskaa42ce0b2016-03-09 09:02:49 -0800175}
Thomas Vachuskaebf3be02016-04-11 09:52:06 -0700176
177.dropping {
178
179}
180
181.light div.dropping {
182 border: solid 3px deepskyblue;
183}
184
185.dark div.dropping {
186 border: solid 3px deepskyblue;
187}