blob: 0057ac8ad26f08dd85752a50cd06e1a119f13bd7 [file] [log] [blame]
Sean Condon50e61a62019-12-19 14:28:06 +00001/*
2 * Copyright 2019-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/* Base */
19#pipeconf-info h2 {
20 display: inline-block;
21 margin: 10px 0 10px 0;
22}
23
24#pipeconf-info h3 {
25 display: inline-block;
26 margin-bottom: 10px;
27}
28
29#pipeconf-info {
30 height: 80vh;
31 max-width: 100%;
32 overflow-y: scroll;
33 overflow-x: scroll;
34 padding-left: 16px;
35 padding-right: 20px;
36}
37
38#pipeconf-info::-webkit-scrollbar {
39 display: none;
40}
41
42/* Table */
43.pipeconf-table {
44 width: 100%;
45}
46
47.pipeconf-table tr {
48 transition: background-color 500ms;
49 text-align: left;
50 padding: 8px 4px;
51}
52
53.pipeconf-table .selected {
54 background-color: #dbeffc !important;
55}
56
57.pipeconf-table tr:nth-child(even) {
58 background-color: #f4f4f4;
59}
60
61.pipeconf-table tr:nth-child(odd) {
62 background-color: #fbfbfb;
63}
64
65.pipeconf-table thead th {
66 background-color: #e5e5e6;
67 color: #3c3a3a;
68 font-weight: bold;
69 font-variant: small-caps;
70 text-transform: uppercase;
71 font-size: 10pt;
72 letter-spacing: 0.02em;
73}
74
75.pipeconf-table tr td {
76 padding: 4px;
77 text-align: left;
78 word-wrap: break-word;
79 font-size: 10pt;
80}
81
82.pipeconf-table tr td p {
83 margin: 5px 0;
84}
85
86/* Detail panel */
87.container {
88 padding: 10px;
89 overflow: hidden;
90}
91
92.container .top, .bottom {
93 padding: 15px;
94}
95.container .bottom {
96 overflow-y: scroll;
97}
98
99.container .bottom h2 {
100 margin: 0;
101}
102
103.container .top .detail-panel-header {
104 display: inline-block;
105 margin: 0 0 10px;
106}
107
108
109.detail-panel-table {
110 width: 100%;
111 overflow-y: hidden;
112}
113
114.detail-panel-table td, th {
115 text-align: left;
116 padding: 6px 12px;
117}
118
119.top-info {
120 font-size: 12pt;
121}
122
123.top-info .label {
124 font-weight: bold;
125 text-align: right;
126 display: inline-block;
127 margin: 0;
128 padding-right:6px;
129}
130
131.top-info .value {
132 margin: 0;
133 text-align: left;
134 display: inline-block;
135}
136
137/* Widgets */
138#ov-pipeconf h2 {
139 display: inline-block;
140}
141
142.collapse-btn {
143 cursor: pointer;
144 display: inline-block;
145 max-height: 30px;
146 overflow-y: hidden;
147 position: relative;
148 top: 8px;
149}
150
151.close-btn {
152 display: inline-block;
153 float: right;
154 margin: 0.1em;
155 cursor: pointer;
156}
157
158.text-center {
159 text-align: center !important;
160}
161
162.no-data {
163 text-align: center !important;
164 font-style: italic;
165}