blob: 95177bb2aecf7a69f0135cece2a4b8ab6dc5c95c [file] [log] [blame]
Simon Hunt58894c82016-05-24 15:09:02 -07001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
Simon Hunt58894c82016-05-24 15:09:02 -07003 *
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
Simon Hunta42c4dc2016-06-06 11:56:59 -070021/* a "logical" row is made up of 3 "physical" rows -- color as such */
Simon Hunt58894c82016-05-24 15:09:02 -070022.light #ov-intent tr:nth-child(6n + 1),
23.light #ov-intent tr:nth-child(6n + 2),
24.light #ov-intent tr:nth-child(6n + 3) {
Simon Hunta42c4dc2016-06-06 11:56:59 -070025 background-color: #fbfbfb;
Simon Hunt58894c82016-05-24 15:09:02 -070026}
27.light #ov-intent tr:nth-child(6n + 4),
28.light #ov-intent tr:nth-child(6n + 5),
29.light #ov-intent tr:nth-child(6n) {
Simon Hunta42c4dc2016-06-06 11:56:59 -070030 background-color: #f4f4f4;
Simon Hunt58894c82016-05-24 15:09:02 -070031}
Simon Hunt58894c82016-05-24 15:09:02 -070032
33.light #ov-intent tr:nth-child(6n + 1).data-change,
34.light #ov-intent tr:nth-child(6n + 2).data-change,
35.light #ov-intent tr:nth-child(6n + 3).data-change,
36.light #ov-intent tr:nth-child(6n + 4).data-change,
37.light #ov-intent tr:nth-child(6n + 5).data-change,
38.light #ov-intent tr:nth-child(6n).data-change {
Simon Hunta42c4dc2016-06-06 11:56:59 -070039 background-color: #fdffdc;
Simon Hunt58894c82016-05-24 15:09:02 -070040}
41
42#ov-intent td.resources,
43#ov-intent td.details {
44 opacity: 0.65;
45}
Simon Huntbb0f2672017-03-28 18:52:59 -070046
47/* ========== DARK Theme ========== */
48
49.dark #ov-intent tr:nth-child(6n + 1),
50.dark #ov-intent tr:nth-child(6n + 2),
51.dark #ov-intent tr:nth-child(6n + 3) {
52 background-color: #333333;
53}
54.dark #ov-intent tr:nth-child(6n + 4),
55.dark #ov-intent tr:nth-child(6n + 5),
56.dark #ov-intent tr:nth-child(6n) {
57 background-color: #3a3a3a;
58}
59
60.dark #ov-intent tr:nth-child(6n + 1).data-change,
61.dark #ov-intent tr:nth-child(6n + 2).data-change,
62.dark #ov-intent tr:nth-child(6n + 3).data-change,
63.dark #ov-intent tr:nth-child(6n + 4).data-change,
64.dark #ov-intent tr:nth-child(6n + 5).data-change,
65.dark #ov-intent tr:nth-child(6n).data-change {
66 background-color: #423708;
67}