added animation to downloads tab
This commit is contained in:
parent
987bbbe710
commit
83d5007470
@ -1,12 +1,11 @@
|
|||||||
/* Download tab section */
|
|
||||||
|
|
||||||
#download_tab_container {
|
#download_tab_container {
|
||||||
min-width: 300px;
|
width: 300px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: var(--panels-background);
|
background-color: var(--panels-background);
|
||||||
color: var(--panels-text);
|
color: var(--panels-text);
|
||||||
display: block;
|
display: block;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
transition: all 250ms ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
#toggle_download_tab {
|
#toggle_download_tab {
|
||||||
@ -111,6 +110,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.download_object > .download_bar > .queue_icon {
|
.download_object > .download_bar > .queue_icon {
|
||||||
|
cursor: default;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -124,9 +124,28 @@
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#download_tab_container #queue_buttons {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
transition: all 250ms ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
#download_tab_container #download_list {
|
||||||
|
width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#download_tab_container #download_tab_label {
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
transition: all 250ms ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
/* ===== Hidden tab styles ===== */
|
/* ===== Hidden tab styles ===== */
|
||||||
#download_tab_container.tab_hidden {
|
#download_tab_container.tab_hidden {
|
||||||
min-width: 32px;
|
width: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download_tab_container.tab_hidden #toggle_download_tab::before {
|
#download_tab_container.tab_hidden #toggle_download_tab::before {
|
||||||
@ -146,7 +165,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#download_tab_container.tab_hidden #queue_buttons {
|
#download_tab_container.tab_hidden #queue_buttons {
|
||||||
display: none;
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download_tab_container.tab_hidden #download_list {
|
#download_tab_container.tab_hidden #download_list {
|
||||||
@ -154,5 +174,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#download_tab_container.tab_hidden #download_tab_label {
|
#download_tab_container.tab_hidden #download_tab_label {
|
||||||
display: inline;
|
/* display: inline; */
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
@ -17,7 +17,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<aside id="sidebar" role="navigation">
|
<aside id="sidebar" role="navigation">
|
||||||
<i class="material-icons side_icon">menu</i>
|
<i class="material-icons side_icon">menu</i>
|
||||||
<span id="main_search_tablink" class="main_tablinks" role="link" aria-label="home"><i class=""></i></span>
|
<span id="main_search_tablink" class="main_tablinks" role="link" aria-label="home"><i></i></span>
|
||||||
<span id="main_home_tablink" class="main_tablinks" role="link" aria-label="home"><i
|
<span id="main_home_tablink" class="main_tablinks" role="link" aria-label="home"><i
|
||||||
class="material-icons side_icon">home</i><span class="main_tablinks_text">Home</span></span>
|
class="material-icons side_icon">home</i><span class="main_tablinks_text">Home</span></span>
|
||||||
<span id="main_charts_tablink" class="main_tablinks" role="link" aria-label="home"><i
|
<span id="main_charts_tablink" class="main_tablinks" role="link" aria-label="home"><i
|
||||||
@ -570,7 +570,8 @@ <h2 class="inline-flex"><span v-if="metadata">{{ metadata }}</span><span class="
|
|||||||
|
|
||||||
<div id="download_tab_container" class="tab_hidden">
|
<div id="download_tab_container" class="tab_hidden">
|
||||||
<i id="toggle_download_tab" class="material-icons download_bar_icon"></i>
|
<i id="toggle_download_tab" class="material-icons download_bar_icon"></i>
|
||||||
<div id="queue_buttons" class="right">
|
<!-- <div id="queue_buttons" class="right"> -->
|
||||||
|
<div id="queue_buttons">
|
||||||
<i id="clean_queue" class="material-icons download_bar_icon">clear_all</i>
|
<i id="clean_queue" class="material-icons download_bar_icon">clear_all</i>
|
||||||
<i id="cancel_queue" class="material-icons download_bar_icon">delete_sweep</i>
|
<i id="cancel_queue" class="material-icons download_bar_icon">delete_sweep</i>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user