Files
filestash/client/pages/filespage/frequently_access.scss
2018-04-16 19:24:28 +10:00

42 lines
1.1 KiB
SCSS

.component_frequently-access{
display: flex;
a{
width: 33.33%;
background: var(--bg-color);
box-shadow: rgba(158, 163, 172, 0.3) 0px 19px 60px, rgba(158, 163, 172, 0.22) 0px 15px 20px;
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;} }
}
.frequent-access-appear{
opacity: 0;
transform: translateX(5px);
}
.frequent-access-appear.frequent-access-appear-active{
opacity: 1;
transform: translateX(0px);
transition: all 0.3s ease-out;
}