blob: eab45ef0e5b2f6708a3574194d7d77556d33c334 [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/*
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
106#application-details-panel .top div.left {
107 float: left;
Simon Hunt31642932016-01-22 20:34:00 -0800108 padding: 0 12px 0 0;
Jian Lia54de5a2016-01-20 23:10:39 -0800109}
110#application-details-panel .top div.right {
111 display: inline-block;
Simon Hunt31642932016-01-22 20:34:00 -0800112 overflow: hidden;
113 width: 320px;
Jian Lia54de5a2016-01-20 23:10:39 -0800114}
115
Simon Hunt31642932016-01-22 20:34:00 -0800116#application-details-panel td.label,
117#application-details-panel .app-url i {
Jian Lia54de5a2016-01-20 23:10:39 -0800118 font-style: italic;
119 padding-right: 12px;
120 /* works for both light and dark themes ... */
121 color: #777;
122}
123
Simon Hunt31642932016-01-22 20:34:00 -0800124#application-details-panel td.value-bold {
125 font-weight: bold;
Jian Lia54de5a2016-01-20 23:10:39 -0800126}
127
Simon Hunt31642932016-01-22 20:34:00 -0800128#application-details-panel .app-url {
129 padding: 10px 6px 6px;
130}
131
132#application-details-panel hr {
Jian Lia54de5a2016-01-20 23:10:39 -0800133 width: 95%;
Simon Hunt31642932016-01-22 20:34:00 -0800134 margin: 10px auto;
Jian Lia54de5a2016-01-20 23:10:39 -0800135}
Jian Lida253e02016-01-21 17:46:17 -0800136.light #application-details-panel hr {
137 opacity: .5;
138 border-color: #FFF;
139}
140.dark #application-details-panel hr {
141 border-color: #666;
142}
143
Jian Lia54de5a2016-01-20 23:10:39 -0800144#application-details-panel .bottom table {
145 border-spacing: 0;
Simon Hunt31642932016-01-22 20:34:00 -0800146 width: 100%;
Jian Lia54de5a2016-01-20 23:10:39 -0800147}
148
Jian Lia54de5a2016-01-20 23:10:39 -0800149#application-details-panel .bottom td {
150 padding: 6px 12px;
Simon Hunt31642932016-01-22 20:34:00 -0800151 text-align: left;
Jian Lia54de5a2016-01-20 23:10:39 -0800152}
153
154.light #application-details-panel .bottom tr:nth-child(odd) {
155 background-color: #f9f9f9;
156}
157.light #application-details-panel .bottom tr:nth-child(even) {
158 background-color: #EBEDF2;
159}
160.dark #application-details-panel .bottom tr:nth-child(odd) {
161 background-color: #333;
162}
163.dark #application-details-panel .bottom tr:nth-child(even) {
164 background-color: #555;
165}