files.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. @import "vars";
  2. @import "mixins";
  3. #files-empty,
  4. #favorites-empty {
  5. position: absolute;
  6. top: 0px;
  7. bottom: 0px;
  8. width: 100%;
  9. height: 100%;
  10. display: table;
  11. pointer-events: none;
  12. color: $medium;
  13. > div {
  14. display: table-cell;
  15. vertical-align: middle;
  16. text-align: center;
  17. padding: 20px;
  18. .btn {
  19. pointer-events: auto;
  20. }
  21. }
  22. }
  23. .files-wrapper {
  24. overflow: hidden;
  25. position: absolute;
  26. top: 120px;
  27. bottom: 0px;
  28. width: 100%;
  29. height: auto;
  30. }
  31. .in-from-left,
  32. .in-from-right,
  33. .out-to-left,
  34. .out-to-right {
  35. @include backface-visibility(hidden);
  36. @include animation-duration(0.225s);
  37. @include animation-iteration-count(1);
  38. @include animation-timing-function(ease-out);
  39. @include animation-fill-mode(forwards);
  40. // overflow: hidden !important;
  41. }
  42. .in-from-left { @include animation-name(in-from-left); }
  43. .in-from-right { @include animation-name(in-from-right); }
  44. .out-to-left { @include animation-name(out-to-left); }
  45. .out-to-right { @include animation-name(out-to-right); }
  46. @-webkit-keyframes in-from-left {
  47. from { @include translateX (-100%); opacity: 0;}
  48. to { @include translateX (0%); opacity: 1; }
  49. }
  50. @-webkit-keyframes in-from-right {
  51. from { @include translateX (100%); opacity: 0; }
  52. to { @include translateX (0%); opacity: 1; }
  53. }
  54. @-webkit-keyframes out-to-left {
  55. from { @include translateX (0%); opacity: 1; }
  56. to { @include translateX (-100%); }
  57. }
  58. @-webkit-keyframes out-to-right {
  59. from { @include translateX (0%); opacity: 1; }
  60. to { @include translateX (100%); opacity: 0; }
  61. }