blob: 9926021a6019cefa78c261d075668bec1c0c3203 [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
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 Scandolobf14f882016-06-02 10:01:34 -0700211