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