blob: c1cd350506079d61f5b7f8c4fd8ec9d0cdb79203 [file] [log] [blame]
Simon Hunt58894c82016-05-24 15:09:02 -07001/*
2 * Copyright 2016-present 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 -- Group View (theme) -- CSS file
19 */
20
Simon Hunta42c4dc2016-06-06 11:56:59 -070021/* a "logical" row is made up of 2 "physical" rows -- color as such */
Simon Hunt58894c82016-05-24 15:09:02 -070022.light #ov-group tr:nth-child(4n + 1),
23.light #ov-group tr:nth-child(4n + 2) {
Simon Hunta42c4dc2016-06-06 11:56:59 -070024 background-color: #fbfbfb;
Simon Hunt58894c82016-05-24 15:09:02 -070025}
26.light #ov-group tr:nth-child(4n + 3),
27.light #ov-group tr:nth-child(4n) {
Simon Hunta42c4dc2016-06-06 11:56:59 -070028 background-color: #f4f4f4;
Simon Hunt58894c82016-05-24 15:09:02 -070029}
Simon Hunta42c4dc2016-06-06 11:56:59 -070030
Simon Hunt58894c82016-05-24 15:09:02 -070031.dark #ov-group tr:nth-child(4n + 1),
32.dark #ov-group tr:nth-child(4n + 2) {
Simon Hunta42c4dc2016-06-06 11:56:59 -070033 /* TODO: dark theme */
34 background-color: #fbfbfb;
Simon Hunt58894c82016-05-24 15:09:02 -070035}
36.dark #ov-group tr:nth-child(4n + 3),
37.dark #ov-group tr:nth-child(4n) {
Simon Hunta42c4dc2016-06-06 11:56:59 -070038 /* TODO: dark theme */
39 background-color: #f4f4f4;
Simon Hunt58894c82016-05-24 15:09:02 -070040}
41
42/* highlighted color */
43.light #ov-group tr:nth-child(4n + 1).data-change,
44.light #ov-group tr:nth-child(4n + 2).data-change,
45.light #ov-group tr:nth-child(4n + 3).data-change,
46.light #ov-group tr:nth-child(4n).data-change {
Simon Hunta42c4dc2016-06-06 11:56:59 -070047 /* TODO: theme */
48 background-color: #fdffdc;
Simon Hunt58894c82016-05-24 15:09:02 -070049}
50.dark #ov-group tr:nth-child(4n + 1).data-change,
51.dark #ov-group tr:nth-child(4n + 2).data-change,
52.dark #ov-group tr:nth-child(4n + 3).data-change,
53.dark #ov-group tr:nth-child(4n).data-change {
Simon Hunta42c4dc2016-06-06 11:56:59 -070054 /* TODO: dark theme */
55 background-color: #fdffdc;
Simon Hunt58894c82016-05-24 15:09:02 -070056}