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 { |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame^] | 24 | margin: 20px 50px; |
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 | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame^] | 29 | /* TODO: delete overflow and block (handled by fixed-header directive) */ |
Bri Prebilic Cole | 4f0d977 | 2015-01-21 16:45:14 -0800 | [diff] [blame] | 30 | table.summary-list tbody { |
| 31 | height: 500px; |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame^] | 32 | border-radius: 0 0 8px 8px; |
Bri Prebilic Cole | 4f0d977 | 2015-01-21 16:45:14 -0800 | [diff] [blame] | 33 | overflow: auto; |
| 34 | display: block; |
| 35 | } |
Bri Prebilic Cole | c006eef | 2015-01-20 11:42:05 -0800 | [diff] [blame] | 36 | |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame^] | 37 | .light table.summary-list tr:nth-child(even) { |
| 38 | background-color: #ddd; |
| 39 | } |
| 40 | .light table.summary-list tr:nth-child(odd) { |
| 41 | background-color: #eee; |
| 42 | } |
| 43 | .dark table.summary-list tr:nth-child(even) { |
| 44 | background-color: #333; |
| 45 | } |
| 46 | .dark table.summary-list tr:nth-child(odd) { |
| 47 | background-color: #444; |
| 48 | } |
| 49 | |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 50 | table.summary-list th { |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame^] | 51 | padding: 10px; |
| 52 | letter-spacing: 0.02em; |
| 53 | } |
| 54 | table.summary-list th:first-child { |
| 55 | border-radius: 8px 0 0 0; |
| 56 | } |
| 57 | table.summary-list th:last-child { |
| 58 | border-radius: 0 8px 0 0; |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 59 | } |
| 60 | .light table.summary-list th { |
| 61 | background-color: #bbb; |
| 62 | } |
| 63 | .dark table.summary-list th { |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame^] | 64 | background-color: #222; |
| 65 | color: #ccc; |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 66 | } |
| 67 | |
| 68 | table.summary-list td { |
| 69 | padding: 5px; |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame^] | 70 | text-align: center; |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 71 | } |
| 72 | .dark table.summary-list td { |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame^] | 73 | color: #ccc; |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 74 | } |
Bri Prebilic Cole | 1598301 | 2015-01-28 15:17:18 -0800 | [diff] [blame^] | 75 | |
| 76 | /* ------------------------------------ */ |