Sean Condon | 2bd11b7 | 2018-06-15 08:00:48 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015-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 | /* ------ for summary-list tables (layout) ------ */ |
| 18 | |
| 19 | div.summary-list { |
| 20 | margin: 0 20px 16px 10px; |
| 21 | font-size: 10pt; |
| 22 | border-spacing: 0; |
| 23 | } |
| 24 | |
| 25 | div.summary-list table { |
| 26 | border-collapse: collapse; |
| 27 | table-layout: fixed; |
| 28 | empty-cells: show; |
| 29 | margin: 0; |
| 30 | } |
| 31 | |
| 32 | div.summary-list div.table-body { |
| 33 | overflow-y: scroll; |
Sean Condon | 2aa8609 | 2018-07-16 09:04:05 +0100 | [diff] [blame^] | 34 | max-height:70vh; |
Sean Condon | 2bd11b7 | 2018-06-15 08:00:48 +0100 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | div.summary-list div.table-body::-webkit-scrollbar { |
| 38 | display: none; |
| 39 | } |
| 40 | |
| 41 | div.summary-list tr.no-data td { |
| 42 | text-align: center; |
| 43 | font-style: italic; |
| 44 | } |
| 45 | |
| 46 | |
| 47 | /* highlighting */ |
| 48 | div.summary-list tr { |
| 49 | transition: background-color 500ms; |
| 50 | } |
| 51 | |
| 52 | div.summary-list td { |
| 53 | padding: 4px; |
| 54 | text-align: left; |
| 55 | word-wrap: break-word; |
| 56 | font-size: 10pt; |
| 57 | } |
| 58 | |
| 59 | div.summary-list td.table-icon { |
| 60 | width: 42px; |
| 61 | padding-top: 4px; |
| 62 | padding-bottom: 0px; |
| 63 | padding-left: 4px; |
| 64 | text-align: center; |
| 65 | } |
| 66 | |
| 67 | div.summary-list .table-header th { |
| 68 | font-weight: bold; |
| 69 | font-variant: small-caps; |
| 70 | text-transform: uppercase; |
| 71 | font-size: 10pt; |
| 72 | padding-top: 8px; |
| 73 | padding-bottom: 8px; |
| 74 | letter-spacing: 0.02em; |
| 75 | cursor: pointer; |
| 76 | } |
| 77 | |
| 78 | /* rows are selectable */ |
| 79 | div.summary-list .table-body td { |
| 80 | cursor: pointer; |
| 81 | } |
| 82 | |
| 83 | /* Tabular view controls */ |
| 84 | |
| 85 | div.tabular-header .search { |
| 86 | margin: 0 0 10px 10px; |
| 87 | } |
| 88 | |
| 89 | |
| 90 | div.tabular-header div.ctrl-btns { |
| 91 | display: inline-block; |
| 92 | float: right; |
| 93 | height: 44px; |
| 94 | margin-top: 24px; |
| 95 | margin-right: 20px; |
| 96 | position: absolute; |
| 97 | right: 0px; |
| 98 | } |
| 99 | |
| 100 | div.tabular-header div.ctrl-btns div { |
| 101 | display: inline-block; |
| 102 | cursor: pointer; |
| 103 | } |
| 104 | |
| 105 | div.tabular-header div.ctrl-btns div.separator { |
| 106 | width: 0; |
| 107 | height: 40px; |
| 108 | padding: 0; |
| 109 | border-right: 1px solid #c7c7c0; |
| 110 | } |