Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 1 | |
| 2 | @import './vars.scss'; |
| 3 | @import '../bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss'; |
| 4 | @import './bootstrap_overrides.scss'; |
| 5 | @import './loader.scss'; |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 6 | @import './home.scss'; |
Matteo Scandolo | 5136587 | 2016-06-03 10:00:05 -0700 | [diff] [blame] | 7 | @import './animation.scss'; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 8 | |
| 9 | /* Global styles |
| 10 | -------------------------------------------------- */ |
| 11 | |
| 12 | body { |
Matteo Scandolo | bf7c366 | 2016-06-02 20:30:15 -0700 | [diff] [blame] | 13 | background-color: $background-color; |
| 14 | background-image: url($background-image); |
| 15 | } |
| 16 | |
| 17 | .primary { |
| 18 | color: $brand-primary; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | /* Navigation styles |
| 22 | -------------------------------------------------- */ |
| 23 | nav { |
| 24 | .navbar-brand { |
| 25 | padding-top: 0; |
| 26 | img { |
| 27 | width: 130px; |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | @media (max-width: $screen-sm-min){ |
| 32 | .navbar-nav.pull-right{ |
| 33 | float: none !important; |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | li:hover, |
| 38 | li.active { |
| 39 | border-bottom: 2px solid $brand-primary; |
| 40 | } |
| 41 | |
| 42 | li { |
| 43 | border-bottom: 2px solid transparent; |
| 44 | |
| 45 | a { |
| 46 | padding-top: 10px !important; |
| 47 | padding-bottom: 10px !important; |
| 48 | margin-top: 5px; |
| 49 | } |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | body { |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 54 | padding-top: 51px; |
| 55 | padding-bottom: 30px; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 56 | } |
| 57 | |
| 58 | #icon-defs { |
| 59 | display: none; |
| 60 | } |
| 61 | |
| 62 | /* Sticky footer styles |
| 63 | -------------------------------------------------- */ |
| 64 | html { |
| 65 | margin: 0px; |
| 66 | padding: 0px; |
| 67 | } |
| 68 | |
| 69 | html, body { |
| 70 | position: relative; |
| 71 | min-height: 100%; |
| 72 | height: 100%; |
| 73 | } |
| 74 | |
| 75 | .app-wrapper { |
| 76 | position: relative; |
| 77 | } |
| 78 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 79 | [ui-view] { |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 80 | position: absolute; |
| 81 | width: 100%; |
| 82 | } |
| 83 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 84 | [ui-view], |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 85 | .app-wrapper { |
| 86 | min-height: 100%; |
| 87 | height: 100%; |
| 88 | } |
| 89 | |
Matteo Scandolo | 8cb844e | 2016-06-02 11:39:02 -0700 | [diff] [blame] | 90 | [ui-view] .container { |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 91 | padding-bottom: 30px; |
| 92 | } |
| 93 | |
| 94 | .footer { |
| 95 | position: fixed; |
| 96 | bottom: 0; |
| 97 | width: 100%; |
| 98 | /* Set the fixed height of the footer here */ |
| 99 | height: 30px; |
| 100 | line-height: 30px; |
| 101 | background-color: #f5f5f5; |
| 102 | z-index: 100; |
| 103 | box-shadow: 0 10px 5px 10px gray; |
| 104 | } |
| 105 | |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 106 | /* Buttons addictional styles |
| 107 | -------------------------------------------------- */ |
| 108 | .btn-primary-border { |
| 109 | @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border); |
| 110 | } |
| 111 | |
| 112 | /* Login page styles |
| 113 | -------------------------------------------------- */ |
| 114 | .login { |
| 115 | background: url('../imgs/login.jpg'); |
| 116 | background-size: contain; |
| 117 | min-height: 100%; |
| 118 | background-repeat: no-repeat ; |
| 119 | background-position: center ; |
| 120 | |
| 121 | display: flex; |
| 122 | align-items: center; |
| 123 | justify-content: center; |
| 124 | |
| 125 | .login-wrapper { |
| 126 | background: rgba(255, 255, 255, 0.7); |
| 127 | box-shadow: 5px 5px 15px #666; |
| 128 | width: 260px; |
| 129 | padding: 20px; |
| 130 | } |
| 131 | |
| 132 | @media (max-width: $screen-sm-min){ |
| 133 | .login-wrapper{ |
| 134 | width: 100%; |
| 135 | } |
| 136 | } |
| 137 | } |
| 138 | |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 139 | /* Bundle page styles |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 140 | -------------------------------------------------- */ |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 141 | [bundle-available] { |
| 142 | margin-top: 20px; |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 143 | } |
| 144 | |
Matteo Scandolo | a3844ec | 2016-06-02 15:45:19 -0700 | [diff] [blame] | 145 | img { |
| 146 | animation: fadein 2s ease-in-out; |
| 147 | } |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 148 | |
Matteo Scandolo | 2c2c8af | 2016-06-03 15:36:02 -0700 | [diff] [blame] | 149 | ng-map img { |
| 150 | animation: none; |
| 151 | } |
| 152 | |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 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 | |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 215 | |