Bri Prebilic Cole | 96f2647 | 2015-03-31 13:07:05 -0700 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2015-present Open Networking Laboratory |
Bri Prebilic Cole | 96f2647 | 2015-03-31 13:07:05 -0700 | [diff] [blame] | 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 Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 21 | #ov-intent h2 { |
| 22 | display: inline-block; |
| 23 | } |
| 24 | |
| 25 | #ov-intent div.ctrl-btns { |
Bri Prebilic Cole | 3d4d01c | 2015-04-30 13:48:36 -0700 | [diff] [blame] | 26 | } |
| 27 | |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 28 | .light #ov-intent tr:nth-child(6n + 1), |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 29 | .light #ov-intent tr:nth-child(6n + 2), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 30 | .light #ov-intent tr:nth-child(6n + 3) { |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 31 | background-color: #eee; |
| 32 | } |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 33 | .light #ov-intent tr:nth-child(6n + 4), |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 34 | .light #ov-intent tr:nth-child(6n + 5), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 35 | .light #ov-intent tr:nth-child(6n) { |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 36 | background-color: #ddd; |
| 37 | } |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 38 | .dark #ov-intent tr:nth-child(6n + 1), |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 39 | .dark #ov-intent tr:nth-child(6n + 2), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 40 | .dark #ov-intent tr:nth-child(6n + 3) { |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 41 | background-color: #444; |
| 42 | } |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 43 | .dark #ov-intent tr:nth-child(6n + 4), |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 44 | .dark #ov-intent tr:nth-child(6n + 5), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 45 | .dark #ov-intent tr:nth-child(6n) { |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 46 | background-color: #333; |
| 47 | } |
| 48 | |
Bri Prebilic Cole | 0bc4de2 | 2015-07-20 17:07:55 -0700 | [diff] [blame] | 49 | .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 Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 66 | #ov-intent td.resources, |
| 67 | #ov-intent td.details { |
| 68 | padding-left: 36px; |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 69 | opacity: 0.65; |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 70 | } |