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 | |
| 21 | table.summary-list { |
Simon Hunt | 58f23bb | 2015-01-16 16:32:24 -0800 | [diff] [blame] | 22 | margin: 4px 4px; |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 23 | font-size: 10pt; |
| 24 | } |
| 25 | |
Bri Prebilic Cole | c006eef | 2015-01-20 11:42:05 -0800 | [diff] [blame] | 26 | /* TODO: uncomment following lines for scrollable table */ |
| 27 | /* Possible CSS style for creating a scrollable table */ |
Bri Prebilic Cole | 4f0d977 | 2015-01-21 16:45:14 -0800 | [diff] [blame] | 28 | table.summary-list tbody { |
| 29 | height: 500px; |
| 30 | overflow: auto; |
| 31 | display: block; |
| 32 | } |
Bri Prebilic Cole | c006eef | 2015-01-20 11:42:05 -0800 | [diff] [blame] | 33 | |
Bri Prebilic Cole | 4fab8af | 2015-01-15 16:40:47 -0800 | [diff] [blame] | 34 | table.summary-list th { |
| 35 | padding: 5px; |
| 36 | } |
| 37 | .light table.summary-list th { |
| 38 | background-color: #bbb; |
| 39 | } |
| 40 | .dark table.summary-list th { |
| 41 | background-color: #444; |
| 42 | color: #ddd; |
| 43 | } |
| 44 | |
| 45 | table.summary-list td { |
| 46 | padding: 5px; |
| 47 | } |
| 48 | .light table.summary-list td { |
| 49 | background-color: #ddd; |
| 50 | } |
| 51 | .dark table.summary-list td { |
| 52 | background-color: #666; |
| 53 | color: #ddd; |
| 54 | } |