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 | |
| 149 | |
| 150 | /* ng-view-animation |
| 151 | -------------------------------------------------- */ |
| 152 | .fade { |
| 153 | opacity: 1; |
| 154 | } |
| 155 | .fade.ng-enter, |
| 156 | .fade.ng-leave { |
| 157 | transition: all .5s ease-in-out; |
| 158 | } |
| 159 | .fade.ng-enter { |
| 160 | opacity: 0; |
| 161 | } |
| 162 | .fade.ng-enter-active { |
| 163 | opacity: 1; |
| 164 | } |
| 165 | .fade.ng-leave { |
| 166 | opacity: 1; |
| 167 | } |
| 168 | .fade.ng-leave-active { |
| 169 | opacity: 0; |
| 170 | } |
| 171 | |
| 172 | /* ng-show-animation |
| 173 | -------------------------------------------------- */ |
| 174 | |
| 175 | .animate.ng-hide-add { |
| 176 | animation:0.5s slideOutRight ease-in-out; |
| 177 | } |
| 178 | .animate.ng-hide-remove { |
| 179 | animation:0.5s slideInRight ease-in-out; |
| 180 | } |
| 181 | |
| 182 | /* ng-repeat-animation |
| 183 | -------------------------------------------------- */ |
| 184 | .animate-repeat.ng-move, |
| 185 | .animate-repeat.ng-enter, |
| 186 | .animate-repeat.ng-leave { |
| 187 | transition:all linear 0.5s; |
| 188 | } |
| 189 | |
| 190 | .animate-repeat.ng-leave.ng-leave-active, |
| 191 | .animate-repeat.ng-move, |
| 192 | .animate-repeat.ng-enter { |
| 193 | opacity:0; |
| 194 | animation: 0.5s slideOutRight ease-in-out; |
| 195 | } |
| 196 | |
| 197 | .animate-repeat.ng-leave, |
| 198 | .animate-repeat.ng-move.ng-move-active, |
| 199 | .animate-repeat.ng-enter.ng-enter-active { |
| 200 | opacity:1; |
| 201 | height:60px; |
| 202 | animation: 0.5s slideInRight ease-in-out; |
| 203 | } |
| 204 | |
| 205 | .animate-repeat.ng-enter-stagger, |
| 206 | .animate-repeat.ng-leave-stagger{ |
| 207 | transition-delay: 0.1s; |
| 208 | animation-delay: 0.1s; |
| 209 | } |
| 210 | |
Matteo Scandolo | bf14f88 | 2016-06-02 10:01:34 -0700 | [diff] [blame] | 211 | |