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