mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-10-30 01:26:43 +08:00
119 lines
3.1 KiB
SCSS
119 lines
3.1 KiB
SCSS
.component_frequently-access{
|
|
min-height: 110px;
|
|
margin-top: 5px;
|
|
.component_container{
|
|
padding: 0;
|
|
}
|
|
.component_icon{
|
|
height: 25px;
|
|
}
|
|
.caption{
|
|
letter-spacing: 0.06em;
|
|
display: inline-block;
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
padding-bottom: 5px;
|
|
color: var(--light);
|
|
}
|
|
.frequent_wrapper{
|
|
display: flex;
|
|
a{
|
|
width: 33.33%;
|
|
background: var(--super-light);
|
|
box-shadow: rgba(158, 163, 172, 0.3) 0px 19px 60px, rgba(158, 163, 172, 0.22) 0px 15px 20px;
|
|
transition: box-shadow 0.05s linear 0s;
|
|
overflow: hidden;
|
|
margin-right: 5px;
|
|
padding: 5px;
|
|
cursor: pointer;
|
|
img{
|
|
float: left;
|
|
height: 25px;
|
|
margin-right: 2px;
|
|
}
|
|
line-height: 25px;
|
|
display: block;
|
|
div{
|
|
width: calc(100% - 30px);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
@media (max-width: 800px){ a:nth-child(6){display: none;} }
|
|
@media (max-width: 750px){ a:nth-child(5){display: none;} }
|
|
@media (max-width: 650px){ a:nth-child(4){display: none;} }
|
|
@media (max-width: 450px){ a:nth-child(3){display: none;} }
|
|
}
|
|
.nothing_placeholder{
|
|
padding: 15px;
|
|
text-align: center;
|
|
background: var(--super-light);
|
|
border: 1px dashed rgba(0,0,0,0.1);
|
|
border-radius: 2px;
|
|
color: var(--light);
|
|
font-weight: 100;
|
|
svg{
|
|
display: block;
|
|
width: 45px;
|
|
margin: 0 auto;
|
|
padding-bottom: 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.touch-no .component_frequently-access .frequent_wrapper a:hover{
|
|
transition: box-shadow 0.2s linear 0s;
|
|
box-shadow: rgba(158, 163, 172, 0.3) 0px 19px 70px, rgba(158, 163, 172, 0.22) 0px 15px 40px;
|
|
}
|
|
|
|
|
|
.frequent-access-appear{
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease-out;
|
|
.frequent_wrapper a{
|
|
transition: all 0.3s ease-out;
|
|
opacity: 0;
|
|
transform: translateX(5px);
|
|
}
|
|
}
|
|
.frequent-access-appear.frequent-access-appear-active{
|
|
opacity: 1;
|
|
.frequent_wrapper a{
|
|
transform: translateX(0px);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.frequent-access-enter{
|
|
opacity: 0;
|
|
transition: opacity 0.5s ease-out;
|
|
.frequent_wrapper a{
|
|
transition: all 0.3s ease-out;
|
|
transition-delay: 0.2s;
|
|
opacity: 0;
|
|
transform: translateY(-5px);
|
|
}
|
|
}
|
|
.frequent-access-enter.frequent-access-enter-active{
|
|
opacity: 1;
|
|
transition: opacity 0.5s ease-out;
|
|
.frequent_wrapper a{
|
|
transform: translateY(0px);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.dark-mode .component_frequently-access{
|
|
.frequent_wrapper a{
|
|
color: var(--light);
|
|
background: var(--dark);
|
|
box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
|
|
&:hover{
|
|
box-shadow: 2px 2px 10px rgba(0,0,0,0.7);
|
|
}
|
|
}
|
|
.nothing_placeholder{
|
|
background: var(--dark);
|
|
}
|
|
}
|