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