Bri Prebilic Cole | 264c5ec | 2015-04-07 10:22:26 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2015 Open Networking Laboratory |
| 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 ------ */ |
| 18 | |
| 19 | table.summary-list { |
| 20 | margin: 0 20px 16px 12px; |
| 21 | font-size: 10pt; |
| 22 | border-spacing: 0; |
| 23 | } |
| 24 | |
| 25 | table.summary-list td.nodata { |
| 26 | text-align: center; |
| 27 | font-style: italic; |
| 28 | } |
| 29 | |
| 30 | .light table.summary-list tr:nth-child(even) { |
| 31 | background-color: #ddd; |
| 32 | } |
| 33 | .light table.summary-list tr:nth-child(odd) { |
| 34 | background-color: #eee; |
| 35 | } |
| 36 | .dark table.summary-list tr:nth-child(even) { |
| 37 | background-color: #333; |
| 38 | } |
| 39 | .dark table.summary-list tr:nth-child(odd) { |
| 40 | background-color: #444; |
| 41 | } |
| 42 | |
| 43 | .light table.summary-list tr.selected { |
| 44 | background-color: deepskyblue; |
| 45 | } |
| 46 | |
| 47 | .dark table.summary-list tr.selected { |
| 48 | background-color: #304860; |
| 49 | } |
| 50 | |
| 51 | table.summary-list td, |
| 52 | table.summary-list th { |
| 53 | padding: 6px; |
| 54 | text-align: left; |
| 55 | } |
| 56 | |
| 57 | table.summary-list th { |
| 58 | letter-spacing: 0.02em; |
| 59 | cursor: pointer; |
| 60 | } |
| 61 | table.summary-list th:first-child { |
| 62 | border-radius: 8px 0 0 0; |
| 63 | } |
| 64 | table.summary-list th:last-child { |
| 65 | border-radius: 0 8px 0 0; |
| 66 | } |
| 67 | |
| 68 | .light table.summary-list th { |
| 69 | background-color: #bbb; |
| 70 | } |
| 71 | .dark table.summary-list th { |
| 72 | background-color: #222; |
| 73 | color: #ccc; |
| 74 | } |
| 75 | |
| 76 | /* rows are selectable */ |
| 77 | table.summary-list td { |
| 78 | cursor: pointer; |
| 79 | } |
| 80 | |
| 81 | .dark table.summary-list td { |
| 82 | color: #ccc; |
| 83 | } |