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', () => {
|
||||
if (window.scrollY > lastScrollY) {
|
||||
title.style.transform = 'translateY(-100%)';
|
||||
searchCard.style.transform = 'translateY(-40px)';
|
||||
menu.style.transform = 'translateY(-40px)';
|
||||
searchCard.style.transform = 'translateY(-35px)';
|
||||
menu.style.transform = 'translateY(-35px)';
|
||||
} else {
|
||||
title.style.transform = 'translateY(0)';
|
||||
searchCard.style.transform = 'translateY(0)';
|
||||
|
||||
@@ -8,7 +8,7 @@ body {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
left: 0;
|
||||
padding: 7px 25px;
|
||||
padding: 10px 25px;
|
||||
position: fixed;
|
||||
text-align: left;
|
||||
top: 0;
|
||||
@@ -213,7 +213,7 @@ body {
|
||||
.search-input {
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
||||
.menu-options,
|
||||
#menu-button {
|
||||
background-color: #343434;
|
||||
|
||||
Reference in New Issue
Block a user