blob: 76211bef674bbadc5a0e609bda6ba089d7c6b3f2 [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 Scandolo51365872016-06-03 10:00:05 -07007@import './animation.scss';
Matteo Scandolobf14f882016-06-02 10:01:34 -07008
9/* Global styles
10-------------------------------------------------- */
11
12body {
Matteo Scandolobf7c3662016-06-02 20:30:15 -070013 background-color: $background-color;
14 background-image: url($background-image);
15}
16
17.primary {
18 color: $brand-primary;
Matteo Scandolobf14f882016-06-02 10:01:34 -070019}
20
21/* Navigation styles
22-------------------------------------------------- */
23nav {
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
53body {
Matteo Scandoloa3844ec2016-06-02 15:45:19 -070054 padding-top: 51px;
55 padding-bottom: 30px;
Matteo Scandolobf14f882016-06-02 10:01:34 -070056}
57
58#icon-defs {
59 display: none;
60}
61
62/* Sticky footer styles
63-------------------------------------------------- */
64html {
65 margin: 0px;
66 padding: 0px;
67}
68
69html, body {
70 position: relative;
71 min-height: 100%;
72 height: 100%;
73}
74
75.app-wrapper {
76 position: relative;
77}
78
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070079[ui-view] {
Matteo Scandolobf14f882016-06-02 10:01:34 -070080 position: absolute;
81 width: 100%;
82}
83
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070084[ui-view],
Matteo Scandolobf14f882016-06-02 10:01:34 -070085.app-wrapper {
86 min-height: 100%;
87 height: 100%;
88}
89
Matteo Scandolo8cb844e2016-06-02 11:39:02 -070090[ui-view] .container {
Matteo Scandolobf14f882016-06-02 10:01:34 -070091 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 Scandolobf14f882016-06-02 10:01:34 -0700106/* 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 Scandoloa3844ec2016-06-02 15:45:19 -0700139/* Bundle page styles
Matteo Scandolobf14f882016-06-02 10:01:34 -0700140-------------------------------------------------- */
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700141[bundle-available] {
142 margin-top: 20px;
Matteo Scandolobf14f882016-06-02 10:01:34 -0700143}
144
Matteo Scandoloa3844ec2016-06-02 15:45:19 -0700145img {
146 animation: fadein 2s ease-in-out;
147}
Matteo Scandolobf14f882016-06-02 10:01:34 -0700148
Matteo Scandolo2c2c8af2016-06-03 15:36:02 -0700149ng-map img {
150 animation: none;
151}
152
Matteo Scandolobf14f882016-06-02 10:01:34 -0700153
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 Scandolobf14f882016-06-02 10:01:34 -0700215