blob: ed002b4dded5eaed356bc2ecffedaf045cbb59d9 [file] [log] [blame]
Bri Prebilic Cole96f26472015-03-31 13:07:05 -07001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2015-present Open Networking Laboratory
Bri Prebilic Cole96f26472015-03-31 13:07:05 -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 -- CSS file
19 */
20
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070021#ov-intent h2 {
22 display: inline-block;
23}
24
25#ov-intent div.ctrl-btns {
Bri Prebilic Cole3d4d01c2015-04-30 13:48:36 -070026}
27
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070028.light #ov-intent tr:nth-child(6n + 1),
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070029.light #ov-intent tr:nth-child(6n + 2),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070030.light #ov-intent tr:nth-child(6n + 3) {
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070031 background-color: #eee;
32}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070033.light #ov-intent tr:nth-child(6n + 4),
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070034.light #ov-intent tr:nth-child(6n + 5),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070035.light #ov-intent tr:nth-child(6n) {
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070036 background-color: #ddd;
37}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070038.dark #ov-intent tr:nth-child(6n + 1),
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070039.dark #ov-intent tr:nth-child(6n + 2),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070040.dark #ov-intent tr:nth-child(6n + 3) {
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070041 background-color: #444;
42}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070043.dark #ov-intent tr:nth-child(6n + 4),
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070044.dark #ov-intent tr:nth-child(6n + 5),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070045.dark #ov-intent tr:nth-child(6n) {
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070046 background-color: #333;
47}
48
Bri Prebilic Cole0bc4de22015-07-20 17:07:55 -070049.light #ov-intent tr:nth-child(6n + 1).data-change,
50.light #ov-intent tr:nth-child(6n + 2).data-change,
51.light #ov-intent tr:nth-child(6n + 3).data-change,
52.light #ov-intent tr:nth-child(6n + 4).data-change,
53.light #ov-intent tr:nth-child(6n + 5).data-change,
54.light #ov-intent tr:nth-child(6n).data-change {
55 background-color: #FDFFDC;
56}
57.dark #ov-intent tr:nth-child(6n + 1).data-change,
58.dark #ov-intent tr:nth-child(6n + 2).data-change,
59.dark #ov-intent tr:nth-child(6n + 3).data-change,
60.dark #ov-intent tr:nth-child(6n + 4).data-change,
61.dark #ov-intent tr:nth-child(6n + 5).data-change,
62.dark #ov-intent tr:nth-child(6n).data-change {
63 background-color: #5A5600;
64}
65
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070066#ov-intent td.resources,
67#ov-intent td.details {
68 padding-left: 36px;
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070069 opacity: 0.65;
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070070}