You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
fine tune UI
This commit is contained in:
@@ -231,8 +231,8 @@ const menu = document.querySelector('.menu');
|
|||||||
window.addEventListener('scroll', () => {
|
window.addEventListener('scroll', () => {
|
||||||
if (window.scrollY > lastScrollY) {
|
if (window.scrollY > lastScrollY) {
|
||||||
title.style.transform = 'translateY(-100%)';
|
title.style.transform = 'translateY(-100%)';
|
||||||
searchCard.style.transform = 'translateY(-40px)';
|
searchCard.style.transform = 'translateY(-35px)';
|
||||||
menu.style.transform = 'translateY(-40px)';
|
menu.style.transform = 'translateY(-35px)';
|
||||||
} else {
|
} else {
|
||||||
title.style.transform = 'translateY(0)';
|
title.style.transform = 'translateY(0)';
|
||||||
searchCard.style.transform = 'translateY(0)';
|
searchCard.style.transform = 'translateY(0)';
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ body {
|
|||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
left: 0;
|
left: 0;
|
||||||
padding: 7px 25px;
|
padding: 10px 25px;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -213,7 +213,7 @@ body {
|
|||||||
.search-input {
|
.search-input {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-options,
|
.menu-options,
|
||||||
#menu-button {
|
#menu-button {
|
||||||
background-color: #343434;
|
background-color: #343434;
|
||||||
|
|||||||
Reference in New Issue
Block a user