blob: 4d551f113a3ebfb8b9792c93597ebb1f16475cdb [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 -- Intent View (theme) -- CSS file
19 */
20
21.light #ov-intent tr:nth-child(6n + 1),
22.light #ov-intent tr:nth-child(6n + 2),
23.light #ov-intent tr:nth-child(6n + 3) {
24 background-color: #eee;
25}
26.light #ov-intent tr:nth-child(6n + 4),
27.light #ov-intent tr:nth-child(6n + 5),
28.light #ov-intent tr:nth-child(6n) {
29 background-color: #ddd;
30}
31.dark #ov-intent tr:nth-child(6n + 1),
32.dark #ov-intent tr:nth-child(6n + 2),
33.dark #ov-intent tr:nth-child(6n + 3) {
34 background-color: #444;
35}
36.dark #ov-intent tr:nth-child(6n + 4),
37.dark #ov-intent tr:nth-child(6n + 5),
38.dark #ov-intent tr:nth-child(6n) {
39 background-color: #333;
40}
41
42.light #ov-intent tr:nth-child(6n + 1).data-change,
43.light #ov-intent tr:nth-child(6n + 2).data-change,
44.light #ov-intent tr:nth-child(6n + 3).data-change,
45.light #ov-intent tr:nth-child(6n + 4).data-change,
46.light #ov-intent tr:nth-child(6n + 5).data-change,
47.light #ov-intent tr:nth-child(6n).data-change {
48 background-color: #FDFFDC;
49}
50.dark #ov-intent tr:nth-child(6n + 1).data-change,
51.dark #ov-intent tr:nth-child(6n + 2).data-change,
52.dark #ov-intent tr:nth-child(6n + 3).data-change,
53.dark #ov-intent tr:nth-child(6n + 4).data-change,
54.dark #ov-intent tr:nth-child(6n + 5).data-change,
55.dark #ov-intent tr:nth-child(6n).data-change {
56 background-color: #5A5600;
57}
58
59#ov-intent td.resources,
60#ov-intent td.details {
61 opacity: 0.65;
62}