blob: 960aff778695a8996c866f70f9508fb0a1d5c989 [file] [log] [blame]
Matteo Scandolo413c45d2016-01-29 11:40:41 -08001//@import '../app/view/common/common.css';
Matteo Scandoloa6c02f42016-01-28 15:34:19 -08002
Matteo Scandolo413c45d2016-01-29 11:40:41 -08003@import '../bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss';
Matteo Scandoloa6c02f42016-01-28 15:34:19 -08004
Matteo Scandolo83100a72016-01-28 17:02:21 -08005$cord-red: #CE5650;
6
7/* Navigation styles
8-------------------------------------------------- */
9nav {
10 .navbar-brand {
11 padding-top: 0;
12 img {
13 width: 130px;
14 }
15 }
16
Matteo Scandolo413c45d2016-01-29 11:40:41 -080017 @media (max-width: $screen-sm-min){
18 .navbar-nav.pull-right{
19 float: none !important;
20 }
21 }
22
Matteo Scandolo83100a72016-01-28 17:02:21 -080023 li:hover,
24 li.active {
25 border-bottom: 2px solid $cord-red;
26 }
27
Matteo Scandolo413c45d2016-01-29 11:40:41 -080028 li {
29 border-bottom: 2px solid transparent;
30
31 a {
32 padding-top: 10px !important;
33 padding-bottom: 10px !important;
34 margin-top: 5px;
35 }
Matteo Scandolo83100a72016-01-28 17:02:21 -080036 }
37}
38
Matteo Scandolo413c45d2016-01-29 11:40:41 -080039body {
40 padding-top: 60px;
41}
42
43#icon-defs {
44 display: none;
45}
46
Matteo Scandolo02012812016-01-28 16:04:33 -080047/* Sticky footer styles
48-------------------------------------------------- */
49html {
Matteo Scandolo413c45d2016-01-29 11:40:41 -080050 margin: 0px;
51 padding: 0px;
52}
53
54html, body {
Matteo Scandolo02012812016-01-28 16:04:33 -080055 position: relative;
56 min-height: 100%;
Matteo Scandolo413c45d2016-01-29 11:40:41 -080057 height: 100%;
58}
59
60.app-wrapper {
61 position: relative;
62}
63
64[ng-view] {
65 position: absolute;
66 width: 100%;
67}
68
69[ng-view],
70.app-wrapper {
71 min-height: 100%;
72 height: 100%;
73}
74
75[ng-view] .container {
76 padding-bottom: 30px;
Matteo Scandolo02012812016-01-28 16:04:33 -080077}
Matteo Scandolo83100a72016-01-28 17:02:21 -080078
Matteo Scandolo02012812016-01-28 16:04:33 -080079.footer {
Matteo Scandolo83100a72016-01-28 17:02:21 -080080 position: fixed;
Matteo Scandolo02012812016-01-28 16:04:33 -080081 bottom: 0;
82 width: 100%;
83 /* Set the fixed height of the footer here */
Matteo Scandolo83100a72016-01-28 17:02:21 -080084 height: 30px;
85 line-height: 30px;
Matteo Scandolo02012812016-01-28 16:04:33 -080086 background-color: #f5f5f5;
Matteo Scandolo83100a72016-01-28 17:02:21 -080087 z-index: 100;
88 box-shadow: 0 10px 5px 10px gray;
Matteo Scandolo02012812016-01-28 16:04:33 -080089}
Matteo Scandolo413c45d2016-01-29 11:40:41 -080090
91/* Tables styles
92-------------------------------------------------- */
93.table {
94 .avatar > img {
95 max-width: 50px;
96 }
97
98 td {
99 vertical-align: middle !important;
100 }
101}
102
103/* Buttons addictional styles
104-------------------------------------------------- */
105.btn-primary-border {
106 @include button-variant($btn-primary-bg, $btn-primary-color, $btn-primary-border);
107}
108
109/* Login page styles
110-------------------------------------------------- */
111.login {
112 background: url('../imgs/login.jpg');
113 background-size: contain;
114 min-height: 100%;
115 background-repeat: no-repeat ;
116 background-position: center ;
117
118 display: flex;
119 align-items: center;
120 justify-content: center;
121
122 .login-wrapper {
123 background: rgba(255, 255, 255, 0.7);
124 box-shadow: 5px 5px 15px #666;
125 width: 260px;
126 padding: 20px;
127 }
128
129 @media (max-width: $screen-sm-min){
130 .login-wrapper{
131 width: 100%;
132 }
133 }
134}
135
136/* User page styles
137-------------------------------------------------- */
138user-updated-tick {
139 .icon-saved {
140 background-image: url('../../../imgs/icon-saved.gif');
141 display: inline-block;
142 width: 15px;
143 height: 15px;
144 background-size: cover;
145 }
146}
147
148 /* Bundle page styles
149 -------------------------------------------------- */
150 [bundle-available] {
151 margin-top: 20px;
152 }
153
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
215 /* animations
216 -------------------------------------------------- */
217
218 @keyframes slideOutRight {
219 from {
220 transform: translate3d(0, 0, 0);
221 opacity: 1;
222 }
223
224 to {
225 opacity: 0;
226 transform: translate3d(100%, 0, 0);
227 }
228 }
229
230 @keyframes slideInRight {
231 from {
232 transform: translate3d(100%, 0, 0);
233 opacity: 0;
234 }
235
236 to {
237 transform: translate3d(0, 0, 0);
238 opacity: 1;
239 }
240 }
241