Bri Prebilic Cole | 96f2647 | 2015-03-31 13:07:05 -0700 | [diff] [blame] | 1 | /* |
| 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 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 { |
| 26 | width: 45px; |
| 27 | } |
| 28 | |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 29 | .light #ov-intent tr:nth-child(6n + 1), |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 30 | .light #ov-intent tr:nth-child(6n + 2), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 31 | .light #ov-intent tr:nth-child(6n + 3) { |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 32 | background-color: #eee; |
| 33 | } |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 34 | .light #ov-intent tr:nth-child(6n + 4), |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 35 | .light #ov-intent tr:nth-child(6n + 5), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 36 | .light #ov-intent tr:nth-child(6n) { |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 37 | background-color: #ddd; |
| 38 | } |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 39 | .dark #ov-intent tr:nth-child(6n + 1), |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 40 | .dark #ov-intent tr:nth-child(6n + 2), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 41 | .dark #ov-intent tr:nth-child(6n + 3) { |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 42 | background-color: #444; |
| 43 | } |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 44 | .dark #ov-intent tr:nth-child(6n + 4), |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 45 | .dark #ov-intent tr:nth-child(6n + 5), |
Bri Prebilic Cole | b3a6afe | 2015-06-24 14:10:41 -0700 | [diff] [blame] | 46 | .dark #ov-intent tr:nth-child(6n) { |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 47 | background-color: #333; |
| 48 | } |
| 49 | |
Bri Prebilic Cole | 0bc4de2 | 2015-07-20 17:07:55 -0700 | [diff] [blame] | 50 | .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 Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 67 | #ov-intent td.resources, |
| 68 | #ov-intent td.details { |
| 69 | padding-left: 36px; |
Bri Prebilic Cole | e568ead | 2015-05-01 09:51:28 -0700 | [diff] [blame] | 70 | opacity: 0.65; |
Bri Prebilic Cole | 2bd8c35 | 2015-03-31 16:18:50 -0700 | [diff] [blame] | 71 | } |