root / snf-cyclades-app / synnefo / ui / new_ui / ui / sass / app.scss @ 342fa48b
History | View | Annotate | Download (17.8 kB)
1 |
// Global Foundation Settings |
---|---|
2 |
@import "settings"; |
3 |
|
4 |
// Comment out this import if you are customizing you imports below |
5 |
@import "foundation"; |
6 |
|
7 |
// Import specific parts of Foundation by commenting the import "foundation" |
8 |
// and uncommenting what you want below. You must uncomment the following if customizing |
9 |
|
10 |
// @import "foundation/foundation-global"; // *always required |
11 |
// @import "foundation/components/global"; // *always required |
12 |
// @import "foundation/components/grid"; |
13 |
// @import "foundation/components/visibility"; |
14 |
// @import "foundation/components/block-grid"; |
15 |
// @import "foundation/components/type"; |
16 |
// @import "foundation/components/buttons"; |
17 |
// @import "foundation/components/forms"; // *requires components/buttons |
18 |
// @import "foundation/components/custom-forms"; // *requires components/buttons, components/forms |
19 |
// @import "foundation/components/button-groups"; // *requires components/buttons |
20 |
// @import "foundation/components/dropdown-buttons"; // *requires components/buttons |
21 |
// @import "foundation/components/split-buttons"; // *requires components/buttons |
22 |
// @import "foundation/components/flex-video"; |
23 |
// @import "foundation/components/section"; |
24 |
// @import "foundation/components/top-bar"; // *requires components/grid |
25 |
// @import "foundation/components/orbit"; |
26 |
// @import "foundation/components/reveal"; |
27 |
// @import "foundation/components/joyride"; |
28 |
// @import "foundation/components/clearing"; |
29 |
// @import "foundation/components/alert-boxes"; |
30 |
// @import "foundation/components/breadcrumbs"; |
31 |
// @import "foundation/components/keystrokes"; |
32 |
// @import "foundation/components/labels"; |
33 |
// @import "foundation/components/inline-lists"; |
34 |
// @import "foundation/components/pagination"; |
35 |
// @import "foundation/components/panels"; |
36 |
// @import "foundation/components/pricing-tables"; |
37 |
// @import "foundation/components/progress-bars"; |
38 |
// @import "foundation/components/side-nav"; |
39 |
// @import "foundation/components/sub-nav"; |
40 |
// @import "foundation/components/switch"; |
41 |
// @import "foundation/components/magellan"; |
42 |
// @import "foundation/components/tables"; |
43 |
// @import "foundation/components/thumbs"; |
44 |
// @import "foundation/components/tooltips"; |
45 |
// @import "foundation/components/dropdown"; |
46 |
|
47 |
.clearfix:before, |
48 |
.clearfix:after { content:" "; display:block; height:0; visibility:hidden; } /* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified/ */ |
49 |
.clearfix:after { clear:both; } |
50 |
// Set margin and padding to zero |
51 |
@mixin marginPaddingZero() { |
52 |
margin: 0; |
53 |
padding: 0; |
54 |
} |
55 |
|
56 |
|
57 |
// Establishes the prequisits for sprite with background-image. |
58 |
// Background-position for normal and hover states need to |
59 |
// be declared separetely |
60 |
@mixin sprite($image, $width, $height){ |
61 |
background:url($image) no-repeat center center; |
62 |
width: $width; |
63 |
height:$height; |
64 |
display: inline-block; |
65 |
text-indent: -2000px; |
66 |
overflow: hidden; |
67 |
|
68 |
} |
69 |
|
70 |
// Transition for css properties |
71 |
@mixin transition($transition-property, $transition-time, $method) { |
72 |
-webkit-transition: $transition-property $transition-time $method; |
73 |
-moz-transition: $transition-property $transition-time $method; |
74 |
-ms-transition: $transition-property $transition-time $method; |
75 |
-o-transition: $transition-property $transition-time $method; |
76 |
transition: $transition-property $transition-time $method; |
77 |
} |
78 |
|
79 |
// Box-shadow property. For no box-shadow use box-shadow(none) |
80 |
@mixin box-shadow($shadows...) { |
81 |
-moz-box-shadow: $shadows; |
82 |
-webkit-box-shadow: $shadows; |
83 |
box-shadow: $shadows; |
84 |
} |
85 |
|
86 |
// border grey, on hover pink |
87 |
.btn1 { |
88 |
border:1px solid $primary-color; |
89 |
color:$primary-color; |
90 |
display:inline-block; |
91 |
padding:10px 20px; |
92 |
line-height:1em; |
93 |
text-align:center; |
94 |
&:hover, |
95 |
&.current { |
96 |
border-color:$secondary-color; |
97 |
background:$secondary-color; |
98 |
color:$white; |
99 |
} |
100 |
&.current { |
101 |
cursor:default; |
102 |
} |
103 |
} |
104 |
|
105 |
// white background, on hover transparent |
106 |
.btn2 { |
107 |
@extend .btn1; |
108 |
color:$secondary-color; |
109 |
background:$white; |
110 |
border-color:$secondary-color; |
111 |
&:hover, |
112 |
&.current { |
113 |
background:transparent; |
114 |
border-color:$white; |
115 |
} |
116 |
} |
117 |
|
118 |
// reverse btn2 |
119 |
.btn3 { |
120 |
@extend .btn1; |
121 |
color:$white; |
122 |
border-color:$white; |
123 |
&:hover, |
124 |
&.current { |
125 |
color:$secondary-color; |
126 |
background:$white; |
127 |
border-color:$white; |
128 |
} |
129 |
} |
130 |
|
131 |
|
132 |
// reverse btn2 |
133 |
.btn4 { |
134 |
@extend .btn1; |
135 |
color:$white; |
136 |
border-color:$white; |
137 |
background:$success-color; |
138 |
&:hover, |
139 |
&.current { |
140 |
border-color:$white; |
141 |
background:darken($success-color,15%); |
142 |
|
143 |
} |
144 |
} |
145 |
|
146 |
a:hover { |
147 |
@include transition(background, 300ms, ease-out); |
148 |
} |
149 |
|
150 |
.dummy-navigation { |
151 |
display:none; |
152 |
position: fixed; |
153 |
right:0; |
154 |
top:100px; |
155 |
padding:20px; |
156 |
background:#cc0; |
157 |
z-index:100; |
158 |
line-height:160%; |
159 |
a { |
160 |
color:$black; |
161 |
&:hover { color:$white } |
162 |
&.open { color:$white;} |
163 |
&.close { |
164 |
float:right; |
165 |
font-weight:bold; |
166 |
font-size:20px; |
167 |
} |
168 |
} |
169 |
} |
170 |
|
171 |
.ours { |
172 |
padding:8px 15px; |
173 |
color:$white; |
174 |
font-size:20px; |
175 |
font-weight:bold; |
176 |
background:#cc0; |
177 |
display:none; |
178 |
position: absolute; |
179 |
&.questions { background:orange;} |
180 |
&.problems { background:red;} |
181 |
&.suggestions { background:#3EC9FF;} |
182 |
|
183 |
} |
184 |
|
185 |
|
186 |
.row-full { |
187 |
max-width:$row-full-width; |
188 |
margin:0 auto; |
189 |
} |
190 |
|
191 |
.lt-sidebar { |
192 |
width:250px; |
193 |
float:left; |
194 |
&.nav { |
195 |
margin-top:0; |
196 |
} |
197 |
&+.main { |
198 |
overflow:hidden; |
199 |
} |
200 |
} |
201 |
|
202 |
.main { |
203 |
padding:43px 40px; |
204 |
} |
205 |
|
206 |
body.with-overlay { |
207 |
background:$secondary-color; |
208 |
} |
209 |
|
210 |
.header { |
211 |
position:relative; |
212 |
padding:$header-padding-vertical $header-padding-horizontal; |
213 |
border-bottom:1px solid $primary-color; |
214 |
background:$white; |
215 |
.logo { |
216 |
text-align: center; |
217 |
img { |
218 |
max-height: 30px; |
219 |
} |
220 |
} |
221 |
.actions { |
222 |
text-align:center; |
223 |
height:45px; |
224 |
line-height:45px; |
225 |
position:relative; |
226 |
margin:2*$header-padding-vertical 0 $header-padding-vertical; |
227 |
.main-actions { |
228 |
position:relative; |
229 |
top:86px; |
230 |
margin:0 -40px; |
231 |
border-bottom:1px solid lighten($primary-color,20%); |
232 |
z-index: 1; |
233 |
} |
234 |
ul { |
235 |
margin:0; |
236 |
li { |
237 |
list-style: none outside none; |
238 |
display: inline-block; |
239 |
margin:0 5px; |
240 |
a { |
241 |
display: block; |
242 |
color:lighten($primary-color,30%); |
243 |
width:100%; |
244 |
padding:8px 20px; |
245 |
border:1px solid transparent; |
246 |
&.active { |
247 |
color:$primary-color; |
248 |
&:hover { |
249 |
color:$secondary-color; |
250 |
cursor: pointer; |
251 |
} |
252 |
} |
253 |
&:hover { |
254 |
cursor:default; |
255 |
} |
256 |
|
257 |
} |
258 |
} |
259 |
} |
260 |
} |
261 |
.new-btn { |
262 |
position: absolute; |
263 |
left:0; |
264 |
bottom:0; |
265 |
a { |
266 |
@extend .btn1; |
267 |
span { |
268 |
font-size:emCalc(20px); |
269 |
} |
270 |
} |
271 |
} |
272 |
} |
273 |
.login { |
274 |
position:absolute; |
275 |
right:$header-padding-horizontal; |
276 |
top:$header-padding-vertical; |
277 |
} |
278 |
|
279 |
.top-nav { |
280 |
position:absolute; |
281 |
left:$header-padding-horizontal; |
282 |
top:$header-padding-vertical; |
283 |
ul { |
284 |
@include marginPaddingZero(); |
285 |
li { |
286 |
display: inline-block; |
287 |
margin-right:15px; |
288 |
a { |
289 |
padding-bottom:5px; |
290 |
} |
291 |
} |
292 |
} |
293 |
|
294 |
} |
295 |
|
296 |
|
297 |
// info styling |
298 |
|
299 |
.top-info { |
300 |
padding:50px 100px; |
301 |
position: relative; |
302 |
z-index:10; |
303 |
display:none; |
304 |
.close { |
305 |
position: absolute; |
306 |
right:$header-padding-horizontal; |
307 |
top:50px; |
308 |
@include sprite('../images/info-close.png', 31px, 30px); |
309 |
} |
310 |
} |
311 |
|
312 |
|
313 |
.info.error { |
314 |
background:$error-color; |
315 |
color:$white; |
316 |
} |
317 |
|
318 |
|
319 |
.info.alert { |
320 |
background:$alert-color; |
321 |
color:$white; |
322 |
} |
323 |
|
324 |
.info.warning { |
325 |
background:$primary-color; |
326 |
color:$white; |
327 |
} |
328 |
|
329 |
.info.success { |
330 |
background:$success-color; |
331 |
color:$white; |
332 |
} |
333 |
|
334 |
.entities { |
335 |
padding-top:25px; |
336 |
} |
337 |
.items-list { |
338 |
li { |
339 |
text-align:center; |
340 |
padding:20px; |
341 |
list-style:none; |
342 |
.add-new { |
343 |
a { |
344 |
margin:0 20px; |
345 |
display: block; |
346 |
font-weight: bold; |
347 |
height:190px; |
348 |
padding:65px 30px 15px; |
349 |
border:1px dashed $primary-color; |
350 |
&:hover { |
351 |
border-color:$secondary-color; |
352 |
color:$secondary-color; |
353 |
} |
354 |
} |
355 |
} |
356 |
.img-wrap { |
357 |
height: 78px; |
358 |
} |
359 |
.img { |
360 |
margin-bottom: 20px; |
361 |
position: relative; |
362 |
height:58px; |
363 |
} |
364 |
.container { |
365 |
&.set-bg { background:lighten($primary-color,38%); } |
366 |
&.set-border { border-color:$secondary-color; } |
367 |
border:1px solid transparent; |
368 |
margin: 0 20px; |
369 |
padding:25px 0; |
370 |
position: relative; |
371 |
.options { |
372 |
width:100%; |
373 |
text-align:center; |
374 |
position: absolute; |
375 |
top:-3px; |
376 |
left:0; |
377 |
display: none; |
378 |
.wrap { |
379 |
height:100%; |
380 |
padding:25px 25px 0; |
381 |
text-align: left; |
382 |
a { |
383 |
font-size:emCalc(27px); |
384 |
display: inline-block; |
385 |
color:$primary-color; |
386 |
line-height: 1em; |
387 |
margin-bottom:10px; |
388 |
|
389 |
font-weight: bold; |
390 |
&:hover { |
391 |
color: $secondary-color; |
392 |
} |
393 |
} |
394 |
|
395 |
|
396 |
|
397 |
} |
398 |
} |
399 |
} |
400 |
.check { |
401 |
position:absolute; |
402 |
right:10px; |
403 |
top:5px; |
404 |
|
405 |
color:lighten($primary-color,35%); |
406 |
font-weight: bold; |
407 |
font-size:emCalc(27px); |
408 |
cursor: pointer; |
409 |
z-index: 10; |
410 |
span { position:relative; z-index:10;} |
411 |
&.active { |
412 |
color:$secondary-color; |
413 |
} |
414 |
} |
415 |
.info-box { |
416 |
position:absolute; |
417 |
left:20px; |
418 |
top:60px; |
419 |
background:$primary-color; |
420 |
width:emCalc(300px); |
421 |
padding:20px; |
422 |
color:white; |
423 |
z-index:20; |
424 |
display: none; |
425 |
h2 { |
426 |
font-size:1em; |
427 |
color:white; |
428 |
} |
429 |
dl { |
430 |
font-size:1em; |
431 |
dt { |
432 |
float:left; |
433 |
width:30%; |
434 |
} |
435 |
dd { |
436 |
overflow:hidden; |
437 |
} |
438 |
} |
439 |
} |
440 |
.visible-info { |
441 |
margin: 0 25px; |
442 |
position:relative; |
443 |
color:$primary-color; |
444 |
overflow: hidden; |
445 |
span { |
446 |
&.title { |
447 |
white-space: nowrap; |
448 |
} |
449 |
display: block; |
450 |
position: relative; |
451 |
em { |
452 |
font-style:normal; |
453 |
position: relative; |
454 |
} |
455 |
} |
456 |
} |
457 |
|
458 |
} |
459 |
} |
460 |
|
461 |
|
462 |
.lt-sidebar { |
463 |
margin-top:43px; |
464 |
overflow:scroll; |
465 |
height:300px; |
466 |
font-size:emCalc(12px); |
467 |
.items-list { |
468 |
padding:0; |
469 |
} |
470 |
.items-list li .img, |
471 |
.items-list li .os { |
472 |
background-size:80%; |
473 |
} |
474 |
.items-list li .img .os { |
475 |
top:10px; |
476 |
} |
477 |
li:hover { |
478 |
background:lighten($primary-color,35%); |
479 |
} |
480 |
li.current { |
481 |
background:lighten($primary-color,30%); |
482 |
cursor: pointer; |
483 |
|
484 |
} |
485 |
|
486 |
.jspDrag { |
487 |
background-color:$primary-color; |
488 |
} |
489 |
.jspVerticalBar { |
490 |
width:10px; |
491 |
right:4px; |
492 |
} |
493 |
.jspTrack { |
494 |
background:$white; |
495 |
|
496 |
border:1px solid $primary-color; |
497 |
border-top:1px solid lighten($primary-color,20%); |
498 |
} |
499 |
|
500 |
|
501 |
} |
502 |
|
503 |
.vms .items-list { |
504 |
.img { |
505 |
@include sprite('../images/vm-on.png', 56px, 58px); |
506 |
|
507 |
&.stopped { |
508 |
background-image:url('../images/vm-stopped.png'); |
509 |
} |
510 |
.os { |
511 |
@include sprite('../images/os-unknown.png', 22px, 22px); |
512 |
position: absolute; |
513 |
top:8px; |
514 |
left:18px; |
515 |
&.windows { background-image:url('../images/os-windows.png'); } |
516 |
&.kubuntu { background-image:url('../images/os-kubuntu.png'); } |
517 |
&.fedora { background-image:url('../images/os-fedora.png'); } |
518 |
} |
519 |
|
520 |
} |
521 |
} |
522 |
|
523 |
|
524 |
.vm { |
525 |
.top { |
526 |
.img { |
527 |
@include sprite('../images/vm-on.png', 112px, 116px); |
528 |
} |
529 |
&.stopped { |
530 |
background-image:url('../images/vm-stopped.png'); |
531 |
} |
532 |
.os { |
533 |
@include sprite('../images/os-unknown.png', 22px, 22px); |
534 |
position: absolute; |
535 |
background-size:100%; |
536 |
width:44px; |
537 |
height:44px; |
538 |
left:36px; |
539 |
top:16px; |
540 |
&.windows { background-image:url('../images/os-windows.png'); } |
541 |
&.kubuntu { background-image:url('../images/os-kubuntu.png'); } |
542 |
&.fedora { background-image:url('../images/os-fedora.png'); } |
543 |
} |
544 |
} |
545 |
} |
546 |
|
547 |
.details { |
548 |
position:relative; |
549 |
|
550 |
.top { |
551 |
padding:100px $header-padding-horizontal; |
552 |
text-align: center; |
553 |
.img { |
554 |
background-size:100%; |
555 |
margin-bottom: 20px; |
556 |
position: relative; |
557 |
} |
558 |
.actions { |
559 |
ul { |
560 |
padding:1em; |
561 |
text-align:center; |
562 |
li { |
563 |
list-style: none outside none; |
564 |
display: inline-block; |
565 |
margin:0 10px; |
566 |
min-width: 112px; |
567 |
a { |
568 |
@extend .btn1; |
569 |
} |
570 |
|
571 |
} |
572 |
} |
573 |
} |
574 |
|
575 |
} |
576 |
.info { |
577 |
dl { |
578 |
margin:0; |
579 |
dt { |
580 |
display: inline-block; |
581 |
width:25%; |
582 |
|
583 |
} |
584 |
dd { |
585 |
width:74%; |
586 |
display: inline-block; |
587 |
} |
588 |
} |
589 |
} |
590 |
.close { |
591 |
position: absolute; |
592 |
right:$header-padding-horizontal; |
593 |
top:$header-padding-horizontal+emCalc(43px); |
594 |
span { |
595 |
font-size:emCalc(32px); |
596 |
} |
597 |
&:hover { |
598 |
color:$secondary-color; |
599 |
} |
600 |
} |
601 |
} |
602 |
|
603 |
|
604 |
|
605 |
|
606 |
|
607 |
.border-bottom-style1 { |
608 |
padding-bottom:20px; |
609 |
margin-bottom:20px; |
610 |
border-bottom:1px dashed $primary-color; |
611 |
} |
612 |
|
613 |
.overlay { |
614 |
background:$secondary-color; |
615 |
position: relative; |
616 |
z-index:10; |
617 |
.lt-sidebar { |
618 |
border-right:1px solid $white; |
619 |
ul { |
620 |
li { |
621 |
list-style:none outside none; |
622 |
a { |
623 |
color:$white; |
624 |
span { float:right; display:none;} |
625 |
&:hover, |
626 |
&.current { |
627 |
|
628 |
text-decoration: none; |
629 |
span { |
630 |
display:inline; |
631 |
} |
632 |
} |
633 |
} |
634 |
|
635 |
} |
636 |
} |
637 |
|
638 |
} |
639 |
.lt-sidebar, |
640 |
.main { |
641 |
padding:100px $header-padding-horizontal; |
642 |
position:relative; |
643 |
} |
644 |
.navigation { |
645 |
.rt { |
646 |
float:right; |
647 |
} |
648 |
} |
649 |
.close { |
650 |
position: absolute; |
651 |
right:$header-padding-horizontal; |
652 |
top:50px; |
653 |
@include sprite('../images/info-close.png', 31px, 30px); |
654 |
} |
655 |
} |
656 |
|
657 |
.create-vm { |
658 |
.select-os { |
659 |
li { |
660 |
width:23%; |
661 |
padding:20px; |
662 |
list-style:none outside none; |
663 |
display: inline-block; |
664 |
float: left; |
665 |
height: 200px; |
666 |
margin:0 10px 10px 0; |
667 |
&:hover, |
668 |
&.selected { |
669 |
background:$white; |
670 |
h2, p, a { |
671 |
color:$secondary-color; |
672 |
} |
673 |
} |
674 |
a { |
675 |
color:$white; |
676 |
} |
677 |
.os { |
678 |
@include sprite('../images/os-unknown.png', 30px, 30px); |
679 |
background-size:100%; |
680 |
margin-bottom:2em; |
681 |
&.windows { background-image:url('../images/os-windows.png'); } |
682 |
&.kubuntu { background-image:url('../images/os-kubuntu.png'); } |
683 |
&.fedora { background-image:url('../images/os-fedora.png'); } |
684 |
} |
685 |
h2 { |
686 |
font-size:emCalc(16px); |
687 |
font-weight:normal; |
688 |
color:$white; |
689 |
} |
690 |
.details { |
691 |
font-weight:bold; |
692 |
font-size:emCalc(14px); |
693 |
} |
694 |
} |
695 |
} |
696 |
.select-flavor { |
697 |
dl { |
698 |
color:$white; |
699 |
font-size:emCalc(20px); |
700 |
margin-bottom:10px; |
701 |
dd { |
702 |
width:23%; |
703 |
display: inline-block; |
704 |
} |
705 |
dt { |
706 |
width:70%; |
707 |
display: inline-block; |
708 |
font-weight: normal; |
709 |
span { |
710 |
@extend .btn3; |
711 |
min-width: 90px; |
712 |
margin:0 10px; |
713 |
&:first-child { |
714 |
margin-left:0; |
715 |
} |
716 |
} |
717 |
} |
718 |
} |
719 |
} |
720 |
} |
721 |
|
722 |
#vm-connect { |
723 |
.info { |
724 |
font-style:italic; |
725 |
font-size:emCalc(13px); |
726 |
color: lighten($primary-color,5%); |
727 |
} |
728 |
.ssh { |
729 |
text-align: center; |
730 |
span { |
731 |
padding: 10px 30px; |
732 |
background:$secondary-color; |
733 |
color:$white; |
734 |
} |
735 |
} |
736 |
} |
737 |
|
738 |
|
739 |
.reveal-modal { |
740 |
h3 { |
741 |
font-size:1em; |
742 |
} |
743 |
a { |
744 |
color: $secondary-color; |
745 |
&:hover { |
746 |
text-decoration: underline; |
747 |
} |
748 |
&.close-reveal-modal:hover { |
749 |
text-decoration: none; |
750 |
color:$secondary-color; |
751 |
} |
752 |
} |
753 |
} |
754 |
|
755 |
|
756 |
// custom modal with opaque overlay |
757 |
.reveal-custom { |
758 |
position: absolute; |
759 |
top:100px; |
760 |
left:25%; |
761 |
z-index:99; |
762 |
background:yellow; |
763 |
width:50%; |
764 |
display:none; |
765 |
} |
766 |
|
767 |
|
768 |
.details dl { |
769 |
.editable { |
770 |
position: relative; |
771 |
.input-txt { |
772 |
display: inline-block; |
773 |
margin-right: 6px; |
774 |
} |
775 |
.editbuttons { |
776 |
display: inline-block; |
777 |
a { |
778 |
margin-right: 6px; |
779 |
&.save, |
780 |
&.cancel { |
781 |
|
782 |
} |
783 |
&:hover { |
784 |
|
785 |
} |
786 |
|
787 |
} |
788 |
} |
789 |
input[type="text"] { |
790 |
position:relative; |
791 |
height: 25px; |
792 |
width:298px; |
793 |
padding:0 10px; |
794 |
font-size:inherit; |
795 |
margin:0; |
796 |
left:-11px; |
797 |
top:-1px; |
798 |
} |
799 |
|
800 |
} |
801 |
|
802 |
} |
803 |
.editable { |
804 |
.editbuttons { |
805 |
a { |
806 |
color: $secondary-color; |
807 |
&.save, |
808 |
&.cancel { display: none; } |
809 |
&:hover { |
810 |
color:$primary-color; |
811 |
} |
812 |
|
813 |
} |
814 |
} |
815 |
input[type="text"] { |
816 |
display: none; |
817 |
} |
818 |
} |
819 |
|
820 |
.storage { |
821 |
padding:45px 0; |
822 |
position:relative; |
823 |
.lt-sidebar { |
824 |
font-size: 1em; |
825 |
padding:0 20px 40px 40px; |
826 |
.sidenav { |
827 |
font-size: inherit; |
828 |
} |
829 |
ul { |
830 |
list-style: none outside none; |
831 |
li { |
832 |
padding:5px 0; |
833 |
&:hover { |
834 |
background: transparent; |
835 |
&>a { |
836 |
color:$secondary-color; |
837 |
&+span { |
838 |
display: inline; |
839 |
} |
840 |
} |
841 |
} |
842 |
span { |
843 |
float:right; |
844 |
color:$secondary-color; |
845 |
display: none; |
846 |
} |
847 |
|
848 |
} |
849 |
} |
850 |
} |
851 |
.files { |
852 |
margin:1em 0; |
853 |
padding:0; |
854 |
list-style: none outside none; |
855 |
li { |
856 |
list-style:none outside none; |
857 |
clear: left; |
858 |
padding:10px 20px; |
859 |
border:1px solid transparent; |
860 |
@extend .clearfix; |
861 |
text-align: left; |
862 |
font-weight: normal; |
863 |
.name-col { |
864 |
float:left; |
865 |
width:35%; |
866 |
padding-left:50px; |
867 |
&.folder { background:url(../images/icon-folder.png) no-repeat left center; } |
868 |
&.txt { background:url(../images/icon-txt.png) no-repeat left center; } |
869 |
&.pdf { background:url(../images/icon-pdf.png) no-repeat left center; } |
870 |
&.image { background:url(../images/icon-image.png) no-repeat left center; } |
871 |
font-weight: normal; |
872 |
} |
873 |
.size-col { |
874 |
float:left; |
875 |
width:10%; |
876 |
} |
877 |
.date-col { |
878 |
float:left; |
879 |
width:20%; |
880 |
} |
881 |
.actions-col { |
882 |
float:left; |
883 |
width:30%; |
884 |
visibility: hidden; |
885 |
|
886 |
a { |
887 |
color: $secondary-color; |
888 |
margin-right: 10px; |
889 |
&:hover { color:$primary-color;} |
890 |
|
891 |
} |
892 |
} |
893 |
&:hover { |
894 |
border-color:$secondary-color; |
895 |
.actions-col { visibility:visible;} |
896 |
} |
897 |
&.titles { |
898 |
color:$primary-color; |
899 |
.name-col { padding-left:0; } |
900 |
&:hover { |
901 |
border-color:transparent; |
902 |
} |
903 |
} |
904 |
} |
905 |
} |
906 |
.breadcrumbs { |
907 |
li:first-child { |
908 |
font-weight:bold; |
909 |
a { |
910 |
color:$black; |
911 |
&:hover { |
912 |
color:$secondary-color; |
913 |
} |
914 |
} |
915 |
} |
916 |
a:hover { |
917 |
color: $secondary-color; |
918 |
} |
919 |
} |
920 |
} |
921 |
|
922 |
.progress-bar { |
923 |
position: fixed; |
924 |
bottom:0; |
925 |
left:0; |
926 |
border-top:1px solid $secondary-color; |
927 |
width:100%; |
928 |
background:#fff; |
929 |
padding:20px 0 20px 310px; |
930 |
color:$primary-color; |
931 |
span.counter { |
932 |
display: inline-block; |
933 |
margin-right:20px; |
934 |
float:left; |
935 |
} |
936 |
a:hover { |
937 |
color:$secondary-color; |
938 |
} |
939 |
div.progress-wrap { |
940 |
display:inline-block; |
941 |
float:left; |
942 |
width:40%; |
943 |
margin-right:60px; |
944 |
.progress { |
945 |
position: relative; |
946 |
top:2px; |
947 |
} |
948 |
} |
949 |
span.more { |
950 |
display: inline-block; |
951 |
} |
952 |
} |
953 |
|
954 |
.overlay-wrapper { |
955 |
position: relative; |
956 |
|
957 |
.overlay-area { |
958 |
display:none; |
959 |
position:absolute; |
960 |
left:0; |
961 |
right:0; |
962 |
top:0; |
963 |
width:100%; |
964 |
height:100%; |
965 |
background:$secondary-color; |
966 |
z-index:20; |
967 |
} |
968 |
.close { |
969 |
position: absolute; |
970 |
right:$header-padding-horizontal; |
971 |
top:50px; |
972 |
@include sprite('../images/info-close.png', 31px, 30px); |
973 |
} |
974 |
.overlay-div { |
975 |
display: none; |
976 |
z-index:100; |
977 |
position: relative; |
978 |
} |
979 |
} |
980 |
|
981 |
.upload-widget { |
982 |
padding:45px 0; |
983 |
width:80%; |
984 |
border:1px solid white; |
985 |
margin:50px auto; |
986 |
text-align:center; |
987 |
h2, a{ |
988 |
color:#fff; |
989 |
} |
990 |
.btns { |
991 |
a { |
992 |
@extend .btn3; |
993 |
margin:0 10px; |
994 |
} |
995 |
} |
996 |
.breadcrumbs { |
997 |
*, & > *:before ,li a:first-child, a:hover, li a:first-child:hover { |
998 |
color:#fff; |
999 |
} |
1000 |
a:hover { |
1001 |
text-decoration:underline; |
1002 |
} |
1003 |
|
1004 |
display: inline-block; |
1005 |
} |
1006 |
} |
1007 |
|
1008 |
|
1009 |
.dz-success-mark, .dz-error-mark, .dz-error-message { |
1010 |
display: none; |
1011 |
|
1012 |
} |
1013 |
|
1014 |
|
1015 |
.onecol { |
1016 |
max-width:$row-width; |
1017 |
margin:0 auto; |
1018 |
} |
1019 |
|
1020 |
@media #{$entities-large} { |
1021 |
.entities { |
1022 |
.items-list { |
1023 |
@include block-grid(4, 20px, true); |
1024 |
} |
1025 |
} |
1026 |
} |
1027 |
|
1028 |
|