|
|
|
@font-face {
|
|
|
|
font-family: 'Montserrat';
|
|
|
|
src: url(../assets/Montserrat-Thin.ttf) format('truetype');
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes shine {
|
|
|
|
from {
|
|
|
|
background-position: 200% center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.files {
|
|
|
|
margin: 0 15px 12px 15px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: stretch;
|
|
|
|
align-content: stretch;
|
|
|
|
row-gap: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file, .file-header {
|
|
|
|
padding: 2px 3px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-start;
|
|
|
|
align-content: space-around;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-name {
|
|
|
|
color: white;
|
|
|
|
order: 0;
|
|
|
|
overflow: visible;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file > * {
|
|
|
|
font-family: 'Montserrat', sans-serif;
|
|
|
|
font-size: 18px;
|
|
|
|
margin: 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file-header > * {
|
|
|
|
align-self: center;
|
|
|
|
flex-basis: 30%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file > * {align-self: center;}
|
|
|
|
.file-name {flex-basis: 27%;}
|
|
|
|
.file-type {flex-basis: 25%;}
|
|
|
|
.file-size {flex-basis: 17%;}
|
|
|
|
.file-icon {flex-basis: 2%;}
|
|
|
|
.file-date {flex-basis: 27%;}
|
|
|
|
|
|
|
|
.file-icon {
|
|
|
|
max-height: 30px;
|
|
|
|
max-width: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file {
|
|
|
|
transition: background-color .1s ease-in, padding-top .12s ease-in, padding-bottom .12s ease-in;
|
|
|
|
border-radius: 5px 5px;
|
|
|
|
padding: 4px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.file:hover {background-color: #90909049;}
|
|
|
|
.file:focus, .file:active, .file-active {
|
|
|
|
padding-top: 6px;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
background: linear-gradient(to right, #5d60ca78 20%, #17171778 35%, #17171778 35%, #5d60ca99 50%, #5d60ca99 50%, #af218878 75%, #5d60ca78 90%);
|
|
|
|
background-size: 200% auto;
|
|
|
|
animation: shine 10s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes scroll-text {
|
|
|
|
from {transform: translateX(50%);}
|
|
|
|
to {transform: translateX(-105%);}
|
|
|
|
}
|
|
|
|
|
|
|
|
.large-file-name {
|
|
|
|
position: absolute;
|
|
|
|
animation: scroll-text 10s linear infinite;
|
|
|
|
width: max-content;
|
|
|
|
height: max-content;
|
|
|
|
margin: 0 0;
|
|
|
|
transform: translateX(0%);
|
|
|
|
animation-fill-mode: both;
|
|
|
|
top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.large-file-name-container {
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
margin: 0 0;
|
|
|
|
padding: 0 0;
|
|
|
|
width: 27%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nothing-to-show {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
text-align: center;
|
|
|
|
color: #afafaf;
|
|
|
|
font-family: 'Montserrat', sans-serif;
|
|
|
|
font-size: 24px;
|
|
|
|
padding: 15px;
|
|
|
|
--angle: 0deg;
|
|
|
|
border: 4px solid;
|
|
|
|
border-image: linear-gradient(var(--angle), rgb(92, 18, 72) 20%, rgb(60, 62, 131) 60%, rgb(92, 18, 72) 100%) 1;
|
|
|
|
animation: 10s rotate linear infinite, moving-stripes 10s linear infinite;
|
|
|
|
background-image: repeating-linear-gradient(-45deg, #a172a64f, #afafaf19 30px);
|
|
|
|
background-size: 200%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 900px) {
|
|
|
|
#nothing-to-show {font-size: 16px;}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes rotate {
|
|
|
|
to {
|
|
|
|
--angle: 360deg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes moving-stripes {
|
|
|
|
100% {background-position: 100% 100%;}
|
|
|
|
}
|
|
|
|
|
|
|
|
@property --angle {
|
|
|
|
syntax: '<angle>';
|
|
|
|
initial-value: 0deg;
|
|
|
|
inherits: false;
|
|
|
|
}
|