78 lines
1.2 KiB
SCSS
78 lines
1.2 KiB
SCSS
|
.container {
|
||
|
border-radius: 4px;
|
||
|
background: white;
|
||
|
padding: 15px;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
grid-gap: 0px;
|
||
|
}
|
||
|
|
||
|
.files {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
width: 100%;
|
||
|
grid-gap: 15px;
|
||
|
max-height: 350px;
|
||
|
overflow: auto;
|
||
|
padding: 0 5px 0 0;
|
||
|
margin: 0 -5px 0 0;
|
||
|
}
|
||
|
|
||
|
.files::-webkit-scrollbar {
|
||
|
width: 10px;
|
||
|
}
|
||
|
|
||
|
.files::-webkit-scrollbar-track {
|
||
|
background-color: rgba(0,0,0,0.15);
|
||
|
}
|
||
|
|
||
|
.files::-webkit-scrollbar-thumb {
|
||
|
max-width: 10px;
|
||
|
border-radius: 2px;
|
||
|
background-color: #4c82a3;
|
||
|
cursor: grab;
|
||
|
}
|
||
|
|
||
|
.fileItem {
|
||
|
transition: ease 0.2s;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
grid-gap: 10px;
|
||
|
border-radius: 4px;
|
||
|
overflow: hidden;
|
||
|
background: #ffffff;
|
||
|
padding: 5px 10px;
|
||
|
align-items: center;
|
||
|
color: rgba(0,0,0,0.5);
|
||
|
cursor: pointer;
|
||
|
flex-grow: 1;
|
||
|
font-size: 16px;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
|
||
|
.fileItem:hover {
|
||
|
transition: ease 0.2s;
|
||
|
background: #4c82a3;
|
||
|
color: white;
|
||
|
|
||
|
&.active {
|
||
|
background: #4c82a3;
|
||
|
color: white;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.fileName {
|
||
|
display: -webkit-box;
|
||
|
-webkit-box-orient: vertical;
|
||
|
overflow: hidden;
|
||
|
-webkit-line-clamp: 1;
|
||
|
}
|
||
|
|
||
|
.fileNumber {
|
||
|
font-size: 14px;
|
||
|
font-weight: 500;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
}
|