mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-16 01:47:30 +01:00
initial commit.
This commit is contained in:
72
styles/files.scss
Normal file
72
styles/files.scss
Normal file
@@ -0,0 +1,72 @@
|
||||
@import "vars";
|
||||
@import "mixins";
|
||||
|
||||
|
||||
#files-empty,
|
||||
#favorites-empty {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
bottom: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: table;
|
||||
pointer-events: none;
|
||||
color: $medium;
|
||||
> div {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
.btn {
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.files-wrapper {
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: 120px;
|
||||
bottom: 0px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.in-from-left,
|
||||
.in-from-right,
|
||||
.out-to-left,
|
||||
.out-to-right {
|
||||
|
||||
@include backface-visibility(hidden);
|
||||
|
||||
@include animation-duration(0.225s);
|
||||
@include animation-iteration-count(1);
|
||||
@include animation-timing-function(ease-out);
|
||||
@include animation-fill-mode(forwards);
|
||||
// overflow: hidden !important;
|
||||
}
|
||||
|
||||
.in-from-left { @include animation-name(in-from-left); }
|
||||
.in-from-right { @include animation-name(in-from-right); }
|
||||
.out-to-left { @include animation-name(out-to-left); }
|
||||
.out-to-right { @include animation-name(out-to-right); }
|
||||
|
||||
@-webkit-keyframes in-from-left {
|
||||
from { @include translateX (-100%); opacity: 0;}
|
||||
to { @include translateX (0%); opacity: 1; }
|
||||
}
|
||||
|
||||
@-webkit-keyframes in-from-right {
|
||||
from { @include translateX (100%); opacity: 0; }
|
||||
to { @include translateX (0%); opacity: 1; }
|
||||
}
|
||||
|
||||
@-webkit-keyframes out-to-left {
|
||||
from { @include translateX (0%); opacity: 1; }
|
||||
to { @include translateX (-100%); }
|
||||
}
|
||||
|
||||
@-webkit-keyframes out-to-right {
|
||||
from { @include translateX (0%); opacity: 1; }
|
||||
to { @include translateX (100%); opacity: 0; }
|
||||
}
|
||||
Reference in New Issue
Block a user