blob: 5c7d2a1da56c6af4f832e25027032a15dff2c93e [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
Bri Prebilic Cole15983012015-01-28 15:17:18 -080021/* ------ for summary-list tables ------ */
22
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080023table.summary-list {
Thomas Vachuska95aadff2015-03-26 11:45:41 -070024 margin: 0 20px 16px 12px;
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080025 font-size: 10pt;
Bri Prebilic Cole15983012015-01-28 15:17:18 -080026 border-spacing: 0;
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080027}
28
Bri Prebilic Cole4f0d9772015-01-21 16:45:14 -080029table.summary-list tbody {
Bri Prebilic Cole15983012015-01-28 15:17:18 -080030 border-radius: 0 0 8px 8px;
Bri Prebilic Cole4f0d9772015-01-21 16:45:14 -080031}
Bri Prebilic Colec006eef2015-01-20 11:42:05 -080032
Bri Prebilic Cole15983012015-01-28 15:17:18 -080033.light table.summary-list tr:nth-child(even) {
34 background-color: #ddd;
35}
36.light table.summary-list tr:nth-child(odd) {
37 background-color: #eee;
38}
39.dark table.summary-list tr:nth-child(even) {
40 background-color: #333;
41}
42.dark table.summary-list tr:nth-child(odd) {
43 background-color: #444;
44}
45
Thomas Vachuska0fa583c2015-03-30 23:07:41 -070046.light table.summary-list tr.selected {
47 background-color: deepskyblue;
48}
49
50.dark table.summary-list tr.selected {
51 background-color: #304860;
52}
53
54table.summary-list td,th {
55 padding: 6px 6px 6px 6px;
Bri Prebilic Cole357f7fd2015-02-12 17:03:42 -080056 text-align: left;
Thomas Vachuska0fa583c2015-03-30 23:07:41 -070057}
58
59table.summary-list th {
60 letter-spacing: 0.02em;
Bri Prebilic Coledb498002015-03-27 14:20:05 -070061 cursor: pointer;
Bri Prebilic Cole15983012015-01-28 15:17:18 -080062}
63table.summary-list th:first-child {
64 border-radius: 8px 0 0 0;
65}
66table.summary-list th:last-child {
67 border-radius: 0 8px 0 0;
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080068}
Thomas Vachuska0fa583c2015-03-30 23:07:41 -070069
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080070.light table.summary-list th {
71 background-color: #bbb;
72}
73.dark table.summary-list th {
Bri Prebilic Cole15983012015-01-28 15:17:18 -080074 background-color: #222;
75 color: #ccc;
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080076}
77
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080078.dark table.summary-list td {
Bri Prebilic Cole15983012015-01-28 15:17:18 -080079 color: #ccc;
Bri Prebilic Cole4fab8af2015-01-15 16:40:47 -080080}
Bri Prebilic Cole15983012015-01-28 15:17:18 -080081
82/* ------------------------------------ */