blob: 9aa3d1fdfd56422be458cd6dd5b0947202ced7fa [file] [log] [blame]
Matteo Scandolo4398bef2016-01-29 11:44:19 -08001$cord-red: #CE5650;
2//$brand-primary: $cord-red;
Matteo Scandoloa6c02f42016-01-28 15:34:19 -08003
Matteo Scandolo413c45d2016-01-29 11:40:41 -08004@import '../bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss';
Matteo Scandoloa6c02f42016-01-28 15:34:19 -08005
Matteo Scandolo83100a72016-01-28 17:02:21 -08006/* Navigation styles
7-------------------------------------------------- */
8nav {
9 .navbar-brand {
10 padding-top: 0;
11 img {
12 width: 130px;
13 }
14 }
15
Matteo Scandolo413c45d2016-01-29 11:40:41 -080016 @media (max-width: $screen-sm-min){
17 .navbar-nav.pull-right{
18 float: none !important;
19 }
20 }
21
Matteo Scandolo83100a72016-01-28 17:02:21 -080022 li:hover,
23 li.active {
24 border-bottom: 2px solid $cord-red;
25 }
26
Matteo Scandolo413c45d2016-01-29 11:40:41 -080027 li {
28 border-bottom: 2px solid transparent;
29
30 a {
31 padding-top: 10px !important;
32 padding-bottom: 10px !important;
33 margin-top: 5px;
34 }
Matteo Scandolo83100a72016-01-28 17:02:21 -080035 }
36}
37
Matteo Scandolo413c45d2016-01-29 11:40:41 -080038body {
39 padding-top: 60px;
40}
41
42#icon-defs {
43 display: none;
44}
45
Matteo Scandolo02012812016-01-28 16:04:33 -080046/* Sticky footer styles
47-------------------------------------------------- */
48html {
Matteo Scandolo413c45d2016-01-29 11:40:41 -080049 margin: 0px;
50 padding: 0px;
51}
52
53html, body {
Matteo Scandolo02012812016-01-28 16:04:33 -080054 position: relative;
55 min-height: 100%;
Matteo Scandolo413c45d2016-01-29 11:40:41 -080056 height: 100%;
57}
58
59.app-wrapper {
60 position: relative;
61}
62
63[ng-view] {
64 position: absolute;
65 width: 100%;
66}
67
68[ng-view],
69.app-wrapper {
70 min-height: 100%;
71 height: 100%;
72}
73
74[ng-view] .container {
75 padding-bottom: 30px;
Matteo Scandolo02012812016-01-28 16:04:33 -080076}
Matteo Scandolo83100a72016-01-28 17:02:21 -080077
Matteo Scandolo02012812016-01-28 16:04:33 -080078.footer {
Matteo Scandolo83100a72016-01-28 17:02:21 -080079 position: fixed;
Matteo Scandolo02012812016-01-28 16:04:33 -080080 bottom: 0;
81 width: 100%;
82 /* Set the fixed height of the footer here */
Matteo Scandolo83100a72016-01-28 17:02:21 -080083 height: 30px;
84 line-height: 30px;
Matteo Scandolo02012812016-01-28 16:04:33 -080085 background-color: #f5f5f5;
Matteo Scandolo83100a72016-01-28 17:02:21 -080086 z-index: 100;
87 box-shadow: 0 10px 5px 10px gray;
Matteo Scandolo02012812016-01-28 16:04:33 -080088}
Matteo Scandolo413c45d2016-01-29 11:40:41 -080089
90/* Tables styles
91-------------------------------------------------- */
92.table {
93 .avatar > img {
94 max-width: 50px;
95 }
96
97 td {
98 vertical-align: middle !important;
99 }
100}
101
102/* Buttons addictional styles
103-------------------------------------------------- */
104.btn-primary-border {
105 @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border);
106}
107
108/* Login page styles
109-------------------------------------------------- */
110.login {
111 background: url('../imgs/login.jpg');
112 background-size: contain;
113 min-height: 100%;
114 background-repeat: no-repeat ;
115 background-position: center ;
116
117 display: flex;
118 align-items: center;
119 justify-content: center;
120
121 .login-wrapper {
122 background: rgba(255, 255, 255, 0.7);
123 box-shadow: 5px 5px 15px #666;
124 width: 260px;
125 padding: 20px;
126 }
127
128 @media (max-width: $screen-sm-min){
129 .login-wrapper{
130 width: 100%;
131 }
132 }
133}
134
135/* User page styles
136-------------------------------------------------- */
137user-updated-tick {
138 .icon-saved {
139 background-image: url('../../../imgs/icon-saved.gif');
140 display: inline-block;
141 width: 15px;
142 height: 15px;
143 background-size: cover;
144 }
145}
146
147 /* Bundle page styles
148 -------------------------------------------------- */
149 [bundle-available] {
150 margin-top: 20px;
151 }
152
Matteo Scandolo9359dd22016-01-29 13:17:13 -0800153 img {
154 animation: fadein 2s ease-in-out;
155 }
156
157
Matteo Scandolo413c45d2016-01-29 11:40:41 -0800158/* ng-view-animation
159-------------------------------------------------- */
160.fade {
161 opacity: 1;
162}
163.fade.ng-enter,
164.fade.ng-leave {
165 transition: all .5s ease-in-out;
166}
167.fade.ng-enter {
168 opacity: 0;
169}
170.fade.ng-enter-active {
171 opacity: 1;
172}
173.fade.ng-leave {
174 opacity: 1;
175}
176.fade.ng-leave-active {
177 opacity: 0;
178}
179
180 /* ng-show-animation
181 -------------------------------------------------- */
182
183 .animate.ng-hide-add {
184 animation:0.5s slideOutRight ease-in-out;
185 }
186 .animate.ng-hide-remove {
187 animation:0.5s slideInRight ease-in-out;
188 }
189
190 /* ng-repeat-animation
191 -------------------------------------------------- */
192 .animate-repeat.ng-move,
193 .animate-repeat.ng-enter,
194 .animate-repeat.ng-leave {
195 transition:all linear 0.5s;
196 }
197
198 .animate-repeat.ng-leave.ng-leave-active,
199 .animate-repeat.ng-move,
200 .animate-repeat.ng-enter {
201 opacity:0;
202 animation: 0.5s slideOutRight ease-in-out;
203 }
204
205 .animate-repeat.ng-leave,
206 .animate-repeat.ng-move.ng-move-active,
207 .animate-repeat.ng-enter.ng-enter-active {
208 opacity:1;
209 height:60px;
210 animation: 0.5s slideInRight ease-in-out;
211 }
212
213 .animate-repeat.ng-enter-stagger,
214 .animate-repeat.ng-leave-stagger{
215 transition-delay: 0.1s;
216 animation-delay: 0.1s;
217 }
218
219 /* animations
220 -------------------------------------------------- */
221
222 @keyframes slideOutRight {
223 from {
224 transform: translate3d(0, 0, 0);
225 opacity: 1;
226 }
227
228 to {
229 opacity: 0;
230 transform: translate3d(100%, 0, 0);
231 }
232 }
233
234 @keyframes slideInRight {
235 from {
236 transform: translate3d(100%, 0, 0);
237 opacity: 0;
238 }
239
240 to {
241 transform: translate3d(0, 0, 0);
242 opacity: 1;
243 }
244 }
245
Matteo Scandolo9359dd22016-01-29 13:17:13 -0800246@keyframes fadein {
247 from {
248 opacity: 0;
249 transform: scale3d(.3, .3, .3);
250 }
251 50% {
252 transform: scale3d(1, 1, 1);
253 }
254 to { opacity: 1; }
255}
256