158 lines
2.9 KiB
CSS
158 lines
2.9 KiB
CSS
/* Download tab section */
|
|
|
|
#download_tab_container {
|
|
min-width: 300px;
|
|
height: 100%;
|
|
background-color: var(--panels-background);
|
|
color: var(--panels-text);
|
|
display: block;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#toggle_download_tab {
|
|
width: 25px;
|
|
height: 25px;
|
|
}
|
|
|
|
#toggle_download_tab::before {
|
|
font-family: 'Material Icons';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
content: 'chevron_right';
|
|
}
|
|
|
|
.download_bar_icon {
|
|
cursor: pointer;
|
|
font-size: 24px;
|
|
margin: 4px;
|
|
}
|
|
|
|
#download_list {
|
|
padding: 0px 8px;
|
|
height: calc(100% - 32px);
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
#download_list::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
#download_list::-webkit-scrollbar-track {
|
|
background: var(--panels-background);
|
|
}
|
|
|
|
#download_list::-webkit-scrollbar-thumb {
|
|
background: var(--panels-scroll);
|
|
border-radius: 4px;
|
|
width: 6px;
|
|
padding: 0px 2px;
|
|
}
|
|
|
|
#download_list>.download_object {
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
#download_list>.download_object .download_info {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
#download_list>.download_object .download_info img {
|
|
width: 75px;
|
|
height: 75px;
|
|
display: inline-block;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#download_list>.download_object .download_info .download_line {
|
|
display: block;
|
|
}
|
|
|
|
#download_list>.download_object .download_info .download_slim_separator {
|
|
display: none;
|
|
}
|
|
|
|
#download_list>.download_object .download_info_data {
|
|
width: 100%;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
#download_list>.download_object .download_info_status {
|
|
margin-left: 8px;
|
|
width: 80px;
|
|
}
|
|
|
|
#download_list.slim>.download_object .download_info img {
|
|
display: none;
|
|
}
|
|
|
|
#download_list.slim>.download_object .download_info .download_line {
|
|
display: inline-block;
|
|
}
|
|
|
|
#download_list.slim>.download_object .download_info .download_slim_separator {
|
|
display: inline-block;
|
|
}
|
|
|
|
#download_list.slim>.download_object .download_info_data {
|
|
width: calc(80% - 16px);
|
|
display: inline-block;
|
|
padding-left: 0px;
|
|
}
|
|
|
|
#download_list.slim>.download_object .download_info_status {
|
|
width: 20%;
|
|
display: inline-block;
|
|
float: right;
|
|
}
|
|
|
|
#download_list.slim>.download_object .download_info {
|
|
display: block;
|
|
}
|
|
|
|
.download_object>.download_bar>.queue_icon {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.download_object>.download_bar {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 24px;
|
|
}
|
|
|
|
.download_object>.download_bar>.progress {
|
|
margin: 0px;
|
|
}
|
|
|
|
/* ===== Hidden tab styles ===== */
|
|
#download_tab_container.tab_hidden {
|
|
min-width: 32px;
|
|
}
|
|
|
|
#download_tab_container.tab_hidden #toggle_download_tab::before {
|
|
font-family: 'Material Icons';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
content: 'chevron_left';
|
|
}
|
|
|
|
#download_tab_container.tab_hidden::after {
|
|
content: 'downloads';
|
|
display: flex;
|
|
align-items: center;
|
|
text-transform: capitalize;
|
|
writing-mode: vertical-rl;
|
|
line-height: 32px;
|
|
}
|
|
|
|
#download_tab_container.tab_hidden #queue_buttons {
|
|
display: none;
|
|
}
|
|
|
|
#download_tab_container.tab_hidden #download_list {
|
|
display: none;
|
|
}
|
|
|
|
#download_tab_container.tab_hidden #download_tab_label {
|
|
display: inline;
|
|
} |