fox-send/app/templates/file/file.css

101 lines
1.5 KiB
CSS
Raw Normal View History

2018-07-31 18:09:18 +00:00
.fileToast {
2018-08-09 00:24:58 +00:00
flex: none;
display: block;
margin: 6px 0 0;
2018-07-31 18:09:18 +00:00
overflow: hidden;
font-size: 11px;
line-height: 18px;
2018-02-16 20:56:53 +00:00
color: var(--lightTextColor);
2018-07-31 18:09:18 +00:00
background-color: var(--pageBGColor);
position: relative;
2018-08-09 00:24:58 +00:00
border: 3px solid rgba(12, 12, 12, 0.2);
background-clip: padding-box;
2018-07-31 18:09:18 +00:00
box-sizing: border-box;
height: 53px;
border-radius: 4px;
}
2018-07-31 18:09:18 +00:00
.fileToast__content {
2018-08-09 00:24:58 +00:00
height: 100%;
2018-07-31 18:09:18 +00: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;
overflow: hidden;
2018-07-31 18:09:18 +00:00
}
.fileName {
margin: 0;
font-size: 13px;
font-weight: 500;
white-space: nowrap;
2018-07-31 18:09:18 +00:00
text-overflow: ellipsis;
overflow: hidden;
}
2018-07-31 18:09:18 +00:00
.fileInfo {
margin: 0;
}
2018-07-31 18:09:18 +00:00
.fileToast .fileIcon {
2018-08-09 00:24:58 +00:00
margin: 0 8px;
2018-07-31 18:09:18 +00:00
}
@media (max-device-width: 750px), (max-width: 750px) {
.fileToast {
height: 32px;
}
.fileToast__content {
display: flex;
2018-08-09 00:24:58 +00:00
line-height: 13px;
margin: 0;
align-items: center;
2018-07-31 18:09:18 +00:00
}
.fileData {
2018-07-31 18:09:18 +00:00
flex: auto;
display: flex;
flex-wrap: nowrap;
2018-08-09 00:24:58 +00:00
margin: 0 6px 0 0;
2018-07-31 18:09:18 +00:00
}
.fileInfo {
2018-08-09 00:24:58 +00:00
flex: none;
2018-07-31 18:09:18 +00:00
margin-left: auto;
}
.fileToast .fileIcon {
2018-08-09 00:24:58 +00:00
flex: none;
2018-07-31 18:09:18 +00:00
transform: scale(0.5);
color: transparent;
}
}