blob: b20f1571bcbfbf376fc381a367edaa53fb58087a [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
153/* ng-view-animation
154-------------------------------------------------- */
155.fade {
156 opacity: 1;
157}
158.fade.ng-enter,
159.fade.ng-leave {
160 transition: all .5s ease-in-out;
161}
162.fade.ng-enter {
163 opacity: 0;
164}
165.fade.ng-enter-active {
166 opacity: 1;
167}
168.fade.ng-leave {
169 opacity: 1;
170}
171.fade.ng-leave-active {
172 opacity: 0;
173}
174
175 /* ng-show-animation
176 -------------------------------------------------- */
177
178 .animate.ng-hide-add {
179 animation:0.5s slideOutRight ease-in-out;
180 }
181 .animate.ng-hide-remove {
182 animation:0.5s slideInRight ease-in-out;
183 }
184
185 /* ng-repeat-animation
186 -------------------------------------------------- */
187 .animate-repeat.ng-move,
188 .animate-repeat.ng-enter,
189 .animate-repeat.ng-leave {
190 transition:all linear 0.5s;
191 }
192
193 .animate-repeat.ng-leave.ng-leave-active,
194 .animate-repeat.ng-move,
195 .animate-repeat.ng-enter {
196 opacity:0;
197 animation: 0.5s slideOutRight ease-in-out;
198 }
199
200 .animate-repeat.ng-leave,
201 .animate-repeat.ng-move.ng-move-active,
202 .animate-repeat.ng-enter.ng-enter-active {
203 opacity:1;
204 height:60px;
205 animation: 0.5s slideInRight ease-in-out;
206 }
207
208 .animate-repeat.ng-enter-stagger,
209 .animate-repeat.ng-leave-stagger{
210 transition-delay: 0.1s;
211 animation-delay: 0.1s;
212 }
213
214 /* animations
215 -------------------------------------------------- */
216
217 @keyframes slideOutRight {
218 from {
219 transform: translate3d(0, 0, 0);
220 opacity: 1;
221 }
222
223 to {
224 opacity: 0;
225 transform: translate3d(100%, 0, 0);
226 }
227 }
228
229 @keyframes slideInRight {
230 from {
231 transform: translate3d(100%, 0, 0);
232 opacity: 0;
233 }
234
235 to {
236 transform: translate3d(0, 0, 0);
237 opacity: 1;
238 }
239 }
240