2018-07-31 20:09:18 +02:00
|
|
|
.fileToast {
|
2018-08-09 02:24:58 +02:00
|
|
|
flex: none;
|
|
|
|
display: block;
|
|
|
|
margin: 6px 0 0;
|
2018-07-31 20:09:18 +02:00
|
|
|
overflow: hidden;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 18px;
|
2018-02-16 21:56:53 +01:00
|
|
|
color: var(--lightTextColor);
|
2018-07-31 20:09:18 +02:00
|
|
|
background-color: var(--pageBGColor);
|
2018-02-13 20:32:59 +01:00
|
|
|
position: relative;
|
2018-08-09 02:24:58 +02:00
|
|
|
border: 3px solid rgba(12, 12, 12, 0.2);
|
|
|
|
background-clip: padding-box;
|
2018-07-31 20:09:18 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
height: 53px;
|
|
|
|
border-radius: 4px;
|
2018-02-13 20:32:59 +01:00
|
|
|
}
|
|
|
|
|
2018-07-31 20:09:18 +02:00
|
|
|
.fileToast__content {
|
2018-08-09 02:24:58 +02:00
|
|
|
height: 100%;
|
2018-07-31 20:09:18 +02:00
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fileToast::after {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
content: '';
|
|
|
|
transition: all 0.25s;
|
|
|
|
top: 0;
|
|
|
|
left: 50%;
|
|
|
|
width: 0;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--primaryControlBGColor);
|
|
|
|
}
|
|
|
|
|
|
|
|
.fileToast:hover {
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fileToast--active {
|
|
|
|
color: var(--primaryControlFGColor);
|
|
|
|
}
|
|
|
|
|
|
|
|
.fileToast--active::after {
|
|
|
|
left: 0%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fileData {
|
|
|
|
margin: 8px 16px 8px 44px;
|
2018-02-13 20:32:59 +01:00
|
|
|
overflow: hidden;
|
2018-07-31 20:09:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.fileName {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 500;
|
2018-02-13 20:32:59 +01:00
|
|
|
white-space: nowrap;
|
2018-07-31 20:09:18 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2018-02-13 20:32:59 +01:00
|
|
|
}
|
|
|
|
|
2018-07-31 20:09:18 +02:00
|
|
|
.fileInfo {
|
|
|
|
margin: 0;
|
2018-02-13 20:32:59 +01:00
|
|
|
}
|
|
|
|
|
2018-07-31 20:09:18 +02:00
|
|
|
.fileToast .fileIcon {
|
2018-08-09 02:24:58 +02:00
|
|
|
margin: 0 8px;
|
2018-07-31 20:09:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-device-width: 750px), (max-width: 750px) {
|
|
|
|
.fileToast {
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fileToast__content {
|
|
|
|
display: flex;
|
2018-08-09 02:24:58 +02:00
|
|
|
line-height: 13px;
|
|
|
|
margin: 0;
|
|
|
|
align-items: center;
|
2018-07-31 20:09:18 +02:00
|
|
|
}
|
|
|
|
|
2018-02-13 20:32:59 +01:00
|
|
|
.fileData {
|
2018-07-31 20:09:18 +02:00
|
|
|
flex: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
2018-08-09 02:24:58 +02:00
|
|
|
margin: 0 6px 0 0;
|
2018-07-31 20:09:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.fileInfo {
|
2018-08-09 02:24:58 +02:00
|
|
|
flex: none;
|
2018-07-31 20:09:18 +02:00
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fileToast .fileIcon {
|
2018-08-09 02:24:58 +02:00
|
|
|
flex: none;
|
2018-07-31 20:09:18 +02:00
|
|
|
transform: scale(0.5);
|
|
|
|
color: transparent;
|
2018-02-13 20:32:59 +01:00
|
|
|
}
|
|
|
|
}
|