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