Matteo Scandolo | 4398bef | 2016-01-29 11:44:19 -0800 | [diff] [blame] | 1 | $cord-red: #CE5650; |
| 2 | //$brand-primary: $cord-red; |
Matteo Scandolo | a6c02f4 | 2016-01-28 15:34:19 -0800 | [diff] [blame] | 3 | |
Matteo Scandolo | 413c45d | 2016-01-29 11:40:41 -0800 | [diff] [blame] | 4 | @import '../bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss'; |
Matteo Scandolo | a6c02f4 | 2016-01-28 15:34:19 -0800 | [diff] [blame] | 5 | |
Matteo Scandolo | 83100a7 | 2016-01-28 17:02:21 -0800 | [diff] [blame] | 6 | /* Navigation styles |
| 7 | -------------------------------------------------- */ |
| 8 | nav { |
| 9 | .navbar-brand { |
| 10 | padding-top: 0; |
| 11 | img { |
| 12 | width: 130px; |
| 13 | } |
| 14 | } |
| 15 | |
Matteo Scandolo | 413c45d | 2016-01-29 11:40:41 -0800 | [diff] [blame] | 16 | @media (max-width: $screen-sm-min){ |
| 17 | .navbar-nav.pull-right{ |
| 18 | float: none !important; |
| 19 | } |
| 20 | } |
| 21 | |
Matteo Scandolo | 83100a7 | 2016-01-28 17:02:21 -0800 | [diff] [blame] | 22 | li:hover, |
| 23 | li.active { |
| 24 | border-bottom: 2px solid $cord-red; |
| 25 | } |
| 26 | |
Matteo Scandolo | 413c45d | 2016-01-29 11:40:41 -0800 | [diff] [blame] | 27 | li { |
| 28 | border-bottom: 2px solid transparent; |
| 29 | |
| 30 | a { |
| 31 | padding-top: 10px !important; |
| 32 | padding-bottom: 10px !important; |
| 33 | margin-top: 5px; |
| 34 | } |
Matteo Scandolo | 83100a7 | 2016-01-28 17:02:21 -0800 | [diff] [blame] | 35 | } |
| 36 | } |
| 37 | |
Matteo Scandolo | 413c45d | 2016-01-29 11:40:41 -0800 | [diff] [blame] | 38 | body { |
| 39 | padding-top: 60px; |
| 40 | } |
| 41 | |
| 42 | #icon-defs { |
| 43 | display: none; |
| 44 | } |
| 45 | |
Matteo Scandolo | 0201281 | 2016-01-28 16:04:33 -0800 | [diff] [blame] | 46 | /* Sticky footer styles |
| 47 | -------------------------------------------------- */ |
| 48 | html { |
Matteo Scandolo | 413c45d | 2016-01-29 11:40:41 -0800 | [diff] [blame] | 49 | margin: 0px; |
| 50 | padding: 0px; |
| 51 | } |
| 52 | |
| 53 | html, body { |
Matteo Scandolo | 0201281 | 2016-01-28 16:04:33 -0800 | [diff] [blame] | 54 | position: relative; |
| 55 | min-height: 100%; |
Matteo Scandolo | 413c45d | 2016-01-29 11:40:41 -0800 | [diff] [blame] | 56 | height: 100%; |
| 57 | } |
| 58 | |
| 59 | .app-wrapper { |
| 60 | position: relative; |
| 61 | } |
| 62 | |
| 63 | [ng-view] { |
| 64 | position: absolute; |
| 65 | width: 100%; |
| 66 | } |
| 67 | |
| 68 | [ng-view], |
| 69 | .app-wrapper { |
| 70 | min-height: 100%; |
| 71 | height: 100%; |
| 72 | } |
| 73 | |
| 74 | [ng-view] .container { |
| 75 | padding-bottom: 30px; |
Matteo Scandolo | 0201281 | 2016-01-28 16:04:33 -0800 | [diff] [blame] | 76 | } |
Matteo Scandolo | 83100a7 | 2016-01-28 17:02:21 -0800 | [diff] [blame] | 77 | |
Matteo Scandolo | 0201281 | 2016-01-28 16:04:33 -0800 | [diff] [blame] | 78 | .footer { |
Matteo Scandolo | 83100a7 | 2016-01-28 17:02:21 -0800 | [diff] [blame] | 79 | position: fixed; |
Matteo Scandolo | 0201281 | 2016-01-28 16:04:33 -0800 | [diff] [blame] | 80 | bottom: 0; |
| 81 | width: 100%; |
| 82 | /* Set the fixed height of the footer here */ |
Matteo Scandolo | 83100a7 | 2016-01-28 17:02:21 -0800 | [diff] [blame] | 83 | height: 30px; |
| 84 | line-height: 30px; |
Matteo Scandolo | 0201281 | 2016-01-28 16:04:33 -0800 | [diff] [blame] | 85 | background-color: #f5f5f5; |
Matteo Scandolo | 83100a7 | 2016-01-28 17:02:21 -0800 | [diff] [blame] | 86 | z-index: 100; |
| 87 | box-shadow: 0 10px 5px 10px gray; |
Matteo Scandolo | 0201281 | 2016-01-28 16:04:33 -0800 | [diff] [blame] | 88 | } |
Matteo Scandolo | 413c45d | 2016-01-29 11:40:41 -0800 | [diff] [blame] | 89 | |
| 90 | /* Tables styles |
| 91 | -------------------------------------------------- */ |
| 92 | .table { |
| 93 | .avatar > img { |
| 94 | max-width: 50px; |
| 95 | } |
| 96 | |
| 97 | td { |
| 98 | vertical-align: middle !important; |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | /* Buttons addictional styles |
| 103 | -------------------------------------------------- */ |
| 104 | .btn-primary-border { |
| 105 | @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border); |
| 106 | } |
| 107 | |
| 108 | /* Login page styles |
| 109 | -------------------------------------------------- */ |
| 110 | .login { |
| 111 | background: url('../imgs/login.jpg'); |
| 112 | background-size: contain; |
| 113 | min-height: 100%; |
| 114 | background-repeat: no-repeat ; |
| 115 | background-position: center ; |
| 116 | |
| 117 | display: flex; |
| 118 | align-items: center; |
| 119 | justify-content: center; |
| 120 | |
| 121 | .login-wrapper { |
| 122 | background: rgba(255, 255, 255, 0.7); |
| 123 | box-shadow: 5px 5px 15px #666; |
| 124 | width: 260px; |
| 125 | padding: 20px; |
| 126 | } |
| 127 | |
| 128 | @media (max-width: $screen-sm-min){ |
| 129 | .login-wrapper{ |
| 130 | width: 100%; |
| 131 | } |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | /* User page styles |
| 136 | -------------------------------------------------- */ |
| 137 | user-updated-tick { |
| 138 | .icon-saved { |
| 139 | background-image: url('../../../imgs/icon-saved.gif'); |
| 140 | display: inline-block; |
| 141 | width: 15px; |
| 142 | height: 15px; |
| 143 | background-size: cover; |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | /* Bundle page styles |
| 148 | -------------------------------------------------- */ |
| 149 | [bundle-available] { |
| 150 | margin-top: 20px; |
| 151 | } |
| 152 | |
Matteo Scandolo | 9359dd2 | 2016-01-29 13:17:13 -0800 | [diff] [blame] | 153 | img { |
| 154 | animation: fadein 2s ease-in-out; |
| 155 | } |
| 156 | |
| 157 | |
Matteo Scandolo | 413c45d | 2016-01-29 11:40:41 -0800 | [diff] [blame] | 158 | /* ng-view-animation |
| 159 | -------------------------------------------------- */ |
| 160 | .fade { |
| 161 | opacity: 1; |
| 162 | } |
| 163 | .fade.ng-enter, |
| 164 | .fade.ng-leave { |
| 165 | transition: all .5s ease-in-out; |
| 166 | } |
| 167 | .fade.ng-enter { |
| 168 | opacity: 0; |
| 169 | } |
| 170 | .fade.ng-enter-active { |
| 171 | opacity: 1; |
| 172 | } |
| 173 | .fade.ng-leave { |
| 174 | opacity: 1; |
| 175 | } |
| 176 | .fade.ng-leave-active { |
| 177 | opacity: 0; |
| 178 | } |
| 179 | |
| 180 | /* ng-show-animation |
| 181 | -------------------------------------------------- */ |
| 182 | |
| 183 | .animate.ng-hide-add { |
| 184 | animation:0.5s slideOutRight ease-in-out; |
| 185 | } |
| 186 | .animate.ng-hide-remove { |
| 187 | animation:0.5s slideInRight ease-in-out; |
| 188 | } |
| 189 | |
| 190 | /* ng-repeat-animation |
| 191 | -------------------------------------------------- */ |
| 192 | .animate-repeat.ng-move, |
| 193 | .animate-repeat.ng-enter, |
| 194 | .animate-repeat.ng-leave { |
| 195 | transition:all linear 0.5s; |
| 196 | } |
| 197 | |
| 198 | .animate-repeat.ng-leave.ng-leave-active, |
| 199 | .animate-repeat.ng-move, |
| 200 | .animate-repeat.ng-enter { |
| 201 | opacity:0; |
| 202 | animation: 0.5s slideOutRight ease-in-out; |
| 203 | } |
| 204 | |
| 205 | .animate-repeat.ng-leave, |
| 206 | .animate-repeat.ng-move.ng-move-active, |
| 207 | .animate-repeat.ng-enter.ng-enter-active { |
| 208 | opacity:1; |
| 209 | height:60px; |
| 210 | animation: 0.5s slideInRight ease-in-out; |
| 211 | } |
| 212 | |
| 213 | .animate-repeat.ng-enter-stagger, |
| 214 | .animate-repeat.ng-leave-stagger{ |
| 215 | transition-delay: 0.1s; |
| 216 | animation-delay: 0.1s; |
| 217 | } |
| 218 | |
| 219 | /* animations |
| 220 | -------------------------------------------------- */ |
| 221 | |
| 222 | @keyframes slideOutRight { |
| 223 | from { |
| 224 | transform: translate3d(0, 0, 0); |
| 225 | opacity: 1; |
| 226 | } |
| 227 | |
| 228 | to { |
| 229 | opacity: 0; |
| 230 | transform: translate3d(100%, 0, 0); |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | @keyframes slideInRight { |
| 235 | from { |
| 236 | transform: translate3d(100%, 0, 0); |
| 237 | opacity: 0; |
| 238 | } |
| 239 | |
| 240 | to { |
| 241 | transform: translate3d(0, 0, 0); |
| 242 | opacity: 1; |
| 243 | } |
| 244 | } |
| 245 | |
Matteo Scandolo | 9359dd2 | 2016-01-29 13:17:13 -0800 | [diff] [blame] | 246 | @keyframes fadein { |
| 247 | from { |
| 248 | opacity: 0; |
| 249 | transform: scale3d(.3, .3, .3); |
| 250 | } |
| 251 | 50% { |
| 252 | transform: scale3d(1, 1, 1); |
| 253 | } |
| 254 | to { opacity: 1; } |
| 255 | } |
| 256 | |