Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [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 | /* |
| 18 | ONOS GUI -- common -- CSS file |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 19 | */ |
| 20 | |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame] | 21 | /* ------ for summary-list tables ------ */ |
| 22 | |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 23 | table.summary-list { |
Thomas Vachuska | 95aadff | 2015-03-26 11:45:41 -0700 | [diff] [blame] | 24 | margin: 0 20px 16px 12px; |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 25 | font-size: 10pt; |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame] | 26 | border-spacing: 0; |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 27 | } |
| 28 | |
Bri Prebilic Cole | 4f0d977 | 2015-01-21 16:45:14 -0800 | [diff] [blame] | 29 | table.summary-list tbody { |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame] | 30 | border-radius: 0 0 8px 8px; |
Bri Prebilic Cole | 4f0d977 | 2015-01-21 16:45:14 -0800 | [diff] [blame] | 31 | } |
Bri Prebilic Cole | c006eef | 2015-01-20 11:42:05 -0800 | [diff] [blame] | 32 | |
Simon Hunt | 0c2c4c5 | 2015-04-02 17:42:45 -0700 | [diff] [blame] | 33 | table.summary-list td.nodata { |
| 34 | text-align: center; |
| 35 | font-style: italic; |
| 36 | } |
| 37 | |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame] | 38 | .light table.summary-list tr:nth-child(even) { |
| 39 | background-color: #ddd; |
| 40 | } |
| 41 | .light table.summary-list tr:nth-child(odd) { |
| 42 | background-color: #eee; |
| 43 | } |
| 44 | .dark table.summary-list tr:nth-child(even) { |
| 45 | background-color: #333; |
| 46 | } |
| 47 | .dark table.summary-list tr:nth-child(odd) { |
| 48 | background-color: #444; |
| 49 | } |
| 50 | |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 51 | .light table.summary-list tr.selected { |
| 52 | background-color: deepskyblue; |
| 53 | } |
| 54 | |
| 55 | .dark table.summary-list tr.selected { |
| 56 | background-color: #304860; |
| 57 | } |
| 58 | |
| 59 | table.summary-list td,th { |
| 60 | padding: 6px 6px 6px 6px; |
Bri Prebilic Cole | 357f7fd | 2015-02-12 17:03:42 -0800 | [diff] [blame] | 61 | text-align: left; |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 62 | } |
| 63 | |
| 64 | table.summary-list th { |
| 65 | letter-spacing: 0.02em; |
Bri Prebilic Cole | db49800 | 2015-03-27 14:20:05 -0700 | [diff] [blame] | 66 | cursor: pointer; |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame] | 67 | } |
| 68 | table.summary-list th:first-child { |
| 69 | border-radius: 8px 0 0 0; |
| 70 | } |
| 71 | table.summary-list th:last-child { |
| 72 | border-radius: 0 8px 0 0; |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 73 | } |
Thomas Vachuska | 0fa583c | 2015-03-30 23:07:41 -0700 | [diff] [blame] | 74 | |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 75 | .light table.summary-list th { |
| 76 | background-color: #bbb; |
| 77 | } |
| 78 | .dark table.summary-list th { |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame] | 79 | background-color: #222; |
| 80 | color: #ccc; |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 81 | } |
| 82 | |
Thomas Vachuska | 619c538 | 2015-04-02 13:41:47 -0700 | [diff] [blame] | 83 | /* rows are selectable */ |
| 84 | table.summary-list td { |
| 85 | cursor: pointer; |
| 86 | } |
| 87 | |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 88 | .dark table.summary-list td { |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame] | 89 | color: #ccc; |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 90 | } |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame] | 91 | |
| 92 | /* ------------------------------------ */ |