LANCommander/LANCommander.Launcher/Styles/_download-queue.scss

110 lines
1.8 KiB
SCSS
Raw Permalink Normal View History

2024-06-07 17:38:55 -05:00
.downloader {
2024-06-09 00:22:54 -05:00
flex-grow: 1;
2024-06-08 23:38:55 -05:00
max-width: 512px;
2024-06-09 00:22:54 -05:00
font-size: 12px;
2024-06-09 01:49:47 -05:00
cursor: pointer;
2024-06-08 23:38:55 -05:00
&-current {
display: flex;
2024-06-09 00:22:54 -05:00
gap: 16px;
2024-06-11 00:26:17 -05:00
.ant-progress,
.ant-progress-inner,
.ant-progress-outer {
display: block;
}
.ant-progress-text {
display: none;
}
.ant-progress-show-info .ant-progress-outer {
padding-right: 0;
}
2024-06-08 23:38:55 -05:00
}
2024-06-09 00:22:54 -05:00
&-current-icon {
display: flex;
align-items: center;
img {
width: 32px;
height: 32px;
object-fit: contain;
}
2024-06-08 23:38:55 -05:00
}
&-current-info {
flex-grow: 1;
}
2024-06-09 00:22:54 -05:00
2024-06-24 19:31:28 -05:00
&-current-upper,
&-current-lower {
2024-06-09 01:49:47 -05:00
display: flex;
justify-content: space-between;
}
2024-06-09 00:22:54 -05:00
&-current-progress {
margin-top: 4px;
margin-bottom: 4px;
}
2024-06-07 17:38:55 -05:00
}
.download-queue {
top: 100%;
transition: .3s all;
2024-06-07 00:13:24 -05:00
z-index: 9999 !important;
&.ant-drawer-open {
top: 0;
}
.ant-drawer-mask {
position: fixed;
}
.ant-drawer-content-wrapper {
height: calc(100% - 128px) !important;
transform: none !important;
}
2024-06-11 00:26:17 -05:00
.queue-item {
display: flex;
gap: 16px;
align-items: center;
+ .queue-item {
margin-top: 16px;
}
&-info {
flex-grow: 1;
h3 {
font-size: 1.4rem;
}
}
&-cover {
max-height: 128px;
}
&-current-download {
flex-grow: 1;
min-width: 300px;
}
+ h2 {
margin-top: 32px;
}
}
.ant-drawer-close {
position: absolute;
top: 4px;
right: 0;
padding: 4px;
font-size: 24px;
}
}