blob: 77b5715ccc987262a3051e96c160724798f4655a [file] [log] [blame]
Matteo Scandolobf14f882016-06-02 10:01:34 -07001
2@import './vars.scss';
3@import '../bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss';
4@import './bootstrap_overrides.scss';
5@import './loader.scss';
Matteo Scandoloa3844ec2016-06-02 15:45:19 -07006@import './home.scss';
Matteo Scandolobf14f882016-06-02 10:01:34 -07007
8/* Global styles
9-------------------------------------------------- */
10
11body {
Matteo Scandolobf7c3662016-06-02 20:30:15 -070012 background-color: $background-color;
13 background-image: url($background-image);
14}
15
16.primary {
17 color: $brand-primary;
Matteo Scandolobf14f882016-06-02 10:01:34 -070018}
19
20/* Navigation styles
21-------------------------------------------------- */
22nav {
23 .navbar-brand {
24 padding-top: 0;
25 img {
26 width: 130px;
27 }
28 }
29
30 @media (max-width: $screen-sm-min){
31 .navbar-nav.pull-right{
32 float: none !important;
33 }
34 }
35
36 li:hover,
37 li.active {
38 border-bottom: 2px solid $brand-primary;
39 }
40
41 li {
42 border-bottom: 2px solid transparent;
43
44 a {
45 padding-top: 10px !important;
46 padding-bottom: 10px !important;
47 margin-top: 5px;
48 }
49 }
50}
51
52body {
Matteo Scandoloa3844ec2016-06-02 15:45:19 -070053 padding-top: 51px;
54 padding-bottom: 30px;
Matteo Scandolobf14f882016-06-02 10:01:34 -070055}
56
57#icon-defs {
58 display: none;
59}
60
61/* Sticky footer styles
62-------------------------------------------------- */
63html {
64 margin: 0px;
65 padding: 0px;
66}
67
68html, body {
69 position: relative;
70 min-height: 100%;
71 height: 100%;
72}
73
74.app-wrapper {
75 position: relative;
76}
77
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070078[ui-view] {
Matteo Scandolobf14f882016-06-02 10:01:34 -070079 position: absolute;
80 width: 100%;
81}
82
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070083[ui-view],
Matteo Scandolobf14f882016-06-02 10:01:34 -070084.app-wrapper {
85 min-height: 100%;
86 height: 100%;
87}
88
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070089[ui-view] .container {
Matteo Scandolobf14f882016-06-02 10:01:34 -070090 padding-bottom: 30px;
91}
92
93.footer {
94 position: fixed;
95 bottom: 0;
96 width: 100%;
97 /* Set the fixed height of the footer here */
98 height: 30px;
99 line-height: 30px;
100 background-color: #f5f5f5;
101 z-index: 100;
102 box-shadow: 0 10px 5px 10px gray;
103}
104
Matteo Scandolobf14f882016-06-02 10:01:34 -0700105/* Buttons addictional styles
106-------------------------------------------------- */
107.btn-primary-border {
108 @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border);
109}
110
111/* Login page styles
112-------------------------------------------------- */
113.login {
114 background: url('../imgs/login.jpg');
115 background-size: contain;
116 min-height: 100%;
117 background-repeat: no-repeat ;
118 background-position: center ;
119
120 display: flex;
121 align-items: center;
122 justify-content: center;
123
124 .login-wrapper {
125 background: rgba(255, 255, 255, 0.7);
126 box-shadow: 5px 5px 15px #666;
127 width: 260px;
128 padding: 20px;
129 }
130
131 @media (max-width: $screen-sm-min){
132 .login-wrapper{
133 width: 100%;
134 }
135 }
136}
137
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700138/* Bundle page styles
Matteo Scandolobf14f882016-06-02 10:01:34 -0700139-------------------------------------------------- */
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700140[bundle-available] {
141 margin-top: 20px;
Matteo Scandolobf14f882016-06-02 10:01:34 -0700142}
143
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700144img {
145 animation: fadein 2s ease-in-out;
146}
Matteo Scandolobf14f882016-06-02 10:01:34 -0700147
148
149/* ng-view-animation
150-------------------------------------------------- */
151.fade {
152 opacity: 1;
153}
154.fade.ng-enter,
155.fade.ng-leave {
156 transition: all .5s ease-in-out;
157}
158.fade.ng-enter {
159 opacity: 0;
160}
161.fade.ng-enter-active {
162 opacity: 1;
163}
164.fade.ng-leave {
165 opacity: 1;
166}
167.fade.ng-leave-active {
168 opacity: 0;
169}
170
171 /* ng-show-animation
172 -------------------------------------------------- */
173
174 .animate.ng-hide-add {
175 animation:0.5s slideOutRight ease-in-out;
176 }
177 .animate.ng-hide-remove {
178 animation:0.5s slideInRight ease-in-out;
179 }
180
181 /* ng-repeat-animation
182 -------------------------------------------------- */
183 .animate-repeat.ng-move,
184 .animate-repeat.ng-enter,
185 .animate-repeat.ng-leave {
186 transition:all linear 0.5s;
187 }
188
189 .animate-repeat.ng-leave.ng-leave-active,
190 .animate-repeat.ng-move,
191 .animate-repeat.ng-enter {
192 opacity:0;
193 animation: 0.5s slideOutRight ease-in-out;
194 }
195
196 .animate-repeat.ng-leave,
197 .animate-repeat.ng-move.ng-move-active,
198 .animate-repeat.ng-enter.ng-enter-active {
199 opacity:1;
200 height:60px;
201 animation: 0.5s slideInRight ease-in-out;
202 }
203
204 .animate-repeat.ng-enter-stagger,
205 .animate-repeat.ng-leave-stagger{
206 transition-delay: 0.1s;
207 animation-delay: 0.1s;
208 }
209
210 /* animations
211 -------------------------------------------------- */
212
213 @keyframes slideOutRight {
214 from {
215 transform: translate3d(0, 0, 0);
216 opacity: 1;
217 }
218
219 to {
220 opacity: 0;
221 transform: translate3d(100%, 0, 0);
222 }
223 }
224
225 @keyframes slideInRight {
226 from {
227 transform: translate3d(100%, 0, 0);
228 opacity: 0;
229 }
230
231 to {
232 transform: translate3d(0, 0, 0);
233 opacity: 1;
234 }
235 }
236
237@keyframes fadein {
238 from {
239 opacity: 0;
240 transform: scale3d(.3, .3, .3);
241 }
242 50% {
243 transform: scale3d(1, 1, 1);
244 }
245 to { opacity: 1; }
246}
247