blob: 1ca7257dadde4cddc432a7b8f4321dbc17532222 [file] [log] [blame]
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -08001/*
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 Cole4fab8af2015-01-15 16:40:47 -080019 */
20
21table.summary-list {
Simon Hunt58f23bb2015-01-16 16:32:24 -080022 margin: 4px 4px;
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080023 font-size: 10pt;
24}
25
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080026/* TODO: uncomment following lines for scrollable table */
27/* Possible CSS style for creating a scrollable table */
Bri Prebilic Cole4f0d9772015-01-21 16:45:14 -080028table.summary-list tbody {
29 height: 500px;
30 overflow: auto;
31 display: block;
32}
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080033
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080034table.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
45table.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}