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