Matteo Scandolo | 4eb4ccb | 2016-01-26 11:02:16 -0800 | [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 | #user div { |
| 18 | padding-top: 2%; |
| 19 | } |
| 20 | |
Matteo Scandolo | 90621b3 | 2016-01-27 16:40:21 -0800 | [diff] [blame] | 21 | #user .icon-saved{ |
| 22 | background-image: url('../../../imgs/icon-saved.gif'); |
| 23 | display: inline-block; |
| 24 | width: 15px; |
| 25 | height: 15px; |
| 26 | background-size: cover; |
| 27 | } |
| 28 | |
| 29 | /* when hiding the picture */ |
| 30 | #user .icon-saved.ng-hide-add { animation:0.5s lightSpeedOut ease; } |
| 31 | |
| 32 | /* when showing the picture */ |
| 33 | #user .icon-saved.ng-hide-remove { animation:0.5s lightSpeedIn ease; } |
| 34 | |
| 35 | /* light speed out */ |
| 36 | @keyframes lightSpeedOut { |
| 37 | 0% { |
| 38 | opacity: 1; |
| 39 | } |
| 40 | |
| 41 | 100% { |
| 42 | transform: translate3d(100%, 0, 0) skewX(30deg); |
| 43 | transform: translate3d(100%, 0, 0) skewX(30deg); |
| 44 | opacity: 0; |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | @keyframes lightSpeedIn { |
| 49 | |
| 50 | 0% { |
| 51 | transform: translate3d(100%, 0, 0) skewX(30deg); |
| 52 | transform: translate3d(100%, 0, 0) skewX(30deg); |
| 53 | opacity: 0; |
| 54 | } |
| 55 | 100% { |
| 56 | opacity: 1; |
| 57 | } |
| 58 | } |
| 59 | |
Matteo Scandolo | 4eb4ccb | 2016-01-26 11:02:16 -0800 | [diff] [blame] | 60 | #user div.main-left { |
| 61 | width: 98%; |
| 62 | padding-left: 1%; |
| 63 | } |
| 64 | #user div.main-left.family { |
| 65 | width: 62%; |
| 66 | padding-left: 1%; |
| 67 | } |
| 68 | |
| 69 | #user div.main-right { |
| 70 | width: 0; |
| 71 | } |
| 72 | #user div.main-right.family { |
| 73 | width: 37%; |
| 74 | } |
| 75 | |
| 76 | #user table.user-info, |
| 77 | #user table.user-form { |
| 78 | float: left; |
| 79 | width: 100%; |
| 80 | } |
| 81 | |
| 82 | #user table.user-info th, |
| 83 | #user table.user-form th { |
| 84 | text-align: left; |
| 85 | padding: 2% 1%; |
| 86 | } |
| 87 | |
| 88 | #user span.help:hover { |
| 89 | cursor: pointer; |
| 90 | color: #CE5650; |
| 91 | } |
| 92 | |
| 93 | #user div.main-left.family table.user-info th, |
| 94 | #user div.main-right.family table.user-form th { |
| 95 | padding: 17px; |
| 96 | } |
| 97 | |
| 98 | #user div.main-left.family table.user-info td, |
| 99 | #user div.main-right.family table.user-form td { |
| 100 | padding: 10px; |
| 101 | height: 23px; |
| 102 | } |
| 103 | #user table.user-info td { |
| 104 | padding: 1%; |
| 105 | } |
| 106 | |
| 107 | #user table.user-form td { |
| 108 | border-left: 1px solid #CE5650; |
| 109 | } |
| 110 | |
| 111 | #user table.user-form td.buttons { |
| 112 | text-align: right; |
| 113 | border: none; |
| 114 | } |
| 115 | |
| 116 | #user table.user-form tr.options td { |
| 117 | padding-left: 5%; |
| 118 | } |
| 119 | |
| 120 | #user select, |
| 121 | #user select:focus { |
| 122 | border: none; |
| 123 | } |
| 124 | |
| 125 | #user select { |
| 126 | font-size: 95%; |
| 127 | } |
| 128 | |
| 129 | #user option, |
| 130 | #user option:focus { |
| 131 | border: none; |
| 132 | } |
| 133 | |
| 134 | #user option[selected] { |
| 135 | background-color: rgb(122, 188, 229); |
| 136 | } |
| 137 | |
| 138 | #user label { |
| 139 | font-weight: bold; |
| 140 | display: block; |
| 141 | text-align: center; |
| 142 | padding: 5%; |
| 143 | } |
| 144 | |
| 145 | #user input[type="button"], |
| 146 | #user input[type="reset"] { |
| 147 | width: 30%; |
| 148 | } |
| 149 | |
| 150 | #user td.buttons div { |
| 151 | display: inline; |
| 152 | } |
| 153 | #user td.buttons svg { |
| 154 | vertical-align: middle; |
| 155 | } |
| 156 | |
| 157 | #rating-panel th, |
| 158 | #rating-panel td { |
| 159 | text-align: center; |
| 160 | padding: 1%; |
| 161 | font-weight: lighter; |
| 162 | } |
| 163 | |
| 164 | #rating-panel th.title, |
| 165 | #rating-panel td.title { |
| 166 | width: 125px; |
| 167 | text-align: left; |
| 168 | } |
| 169 | |
| 170 | #rating-panel th { |
| 171 | background-color: white; |
| 172 | padding-top: 3%; |
| 173 | border-bottom: 1px solid #CE5650; |
| 174 | color: #3C3C3C; |
| 175 | font-weight: normal; |
| 176 | } |
| 177 | |
| 178 | #rating-panel tr th:first-child, |
| 179 | #rating-panel tr td:first-child { |
| 180 | padding-left: 5%; |
| 181 | } |
| 182 | #rating-panel tr th:last-child, |
| 183 | #rating-panel tr td:last-child { |
| 184 | padding-right: 5%; |
| 185 | } |
| 186 | |
| 187 | div#rating-panel { |
| 188 | position: relative; |
| 189 | pointer-events: none; |
| 190 | } |
| 191 | |
| 192 | #rating-panel div.ng-hide-add.ng-hide-add-active, |
| 193 | #rating-panel div.ng-hide-remove.ng-hide-remove-active { |
| 194 | -webkit-transition: all linear 0.75s; |
| 195 | transition: all linear 0.75s; |
| 196 | } |
| 197 | |
| 198 | #rating-panel div.panel { |
| 199 | position: absolute; |
| 200 | top: 0; |
| 201 | left: -6%; |
| 202 | height: 545px; |
| 203 | overflow: auto; |
| 204 | padding: 0; |
| 205 | pointer-events: auto; |
| 206 | box-shadow: 0 3px 23px 7px rgb(118, 118, 118); |
| 207 | border-radius: 3px; |
| 208 | } |
| 209 | #rating-panel table { |
| 210 | table-layout: fixed; |
| 211 | width: 500px; |
| 212 | background-color: white; |
| 213 | opacity: 1; |
| 214 | } |
| 215 | |
| 216 | #rating-panel div.ng-hide { |
| 217 | opacity: 0; |
| 218 | left: -55%; |
| 219 | } |