blob: ed9cd48d8039491f5fedd3bb4185d2a4ac9606c6 [file] [log] [blame]
Bri Prebilic Cole96f26472015-03-31 13:07:05 -07001/*
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 -- 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 {
26 width: 45px;
27}
28
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070029.light #ov-intent tr:nth-child(6n + 1),
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070030.light #ov-intent tr:nth-child(6n + 2),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070031.light #ov-intent tr:nth-child(6n + 3) {
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070032 background-color: #eee;
33}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070034.light #ov-intent tr:nth-child(6n + 4),
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070035.light #ov-intent tr:nth-child(6n + 5),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070036.light #ov-intent tr:nth-child(6n) {
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070037 background-color: #ddd;
38}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070039.dark #ov-intent tr:nth-child(6n + 1),
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070040.dark #ov-intent tr:nth-child(6n + 2),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070041.dark #ov-intent tr:nth-child(6n + 3) {
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070042 background-color: #444;
43}
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070044.dark #ov-intent tr:nth-child(6n + 4),
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070045.dark #ov-intent tr:nth-child(6n + 5),
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -070046.dark #ov-intent tr:nth-child(6n) {
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070047 background-color: #333;
48}
49
Bri Prebilic Cole0bc4de22015-07-20 17:07:55 -070050.light #ov-intent tr:nth-child(6n + 1).data-change,
51.light #ov-intent tr:nth-child(6n + 2).data-change,
52.light #ov-intent tr:nth-child(6n + 3).data-change,
53.light #ov-intent tr:nth-child(6n + 4).data-change,
54.light #ov-intent tr:nth-child(6n + 5).data-change,
55.light #ov-intent tr:nth-child(6n).data-change {
56 background-color: #FDFFDC;
57}
58.dark #ov-intent tr:nth-child(6n + 1).data-change,
59.dark #ov-intent tr:nth-child(6n + 2).data-change,
60.dark #ov-intent tr:nth-child(6n + 3).data-change,
61.dark #ov-intent tr:nth-child(6n + 4).data-change,
62.dark #ov-intent tr:nth-child(6n + 5).data-change,
63.dark #ov-intent tr:nth-child(6n).data-change {
64 background-color: #5A5600;
65}
66
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070067#ov-intent td.resources,
68#ov-intent td.details {
69 padding-left: 36px;
Bri Prebilic Colee568ead2015-05-01 09:51:28 -070070 opacity: 0.65;
Bri Prebilic Cole2bd8c352015-03-31 16:18:50 -070071}