mirror of
https://github.com/revanced/revanced-website.git
synced 2025-05-08 10:24:28 +02:00
feat: fixed navigation section
This commit is contained in:
parent
8ad0a3dfd1
commit
4601783dfe
@ -31,7 +31,7 @@ body {
|
||||
margin-inline: auto;
|
||||
width: min(90%, 95rem);
|
||||
margin-top: 4rem;
|
||||
padding-bottom: 2rem;
|
||||
padding-bottom: 6rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
@ -53,7 +53,7 @@ body {
|
||||
--grey-three: #373e4d;
|
||||
--grey-four: #182244;
|
||||
--grey-five: hsl(208, 30%, 75%);
|
||||
--grey-six: hsla(220, 12%, 15%, 0.655);
|
||||
--grey-six: #202126;
|
||||
--grey-seven: #43698657;
|
||||
--bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||
}
|
||||
|
@ -36,7 +36,7 @@
|
||||
font-weight: 600;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
padding: 1rem 1.75rem;
|
||||
padding: 0.85rem 1.5rem;
|
||||
display: block;
|
||||
background-color: var(--grey-two);
|
||||
transition: transform 0.4s var(--bezier-one), filter 0.4s var(--bezier-one);
|
||||
|
@ -33,7 +33,7 @@
|
||||
div {
|
||||
color: var(--white);
|
||||
text-decoration: none;
|
||||
padding: 1.5rem;
|
||||
padding: 1.25rem;
|
||||
width: 100%;
|
||||
transition: all 0.3s var(--bezier-one);
|
||||
border-radius: 8px;
|
||||
@ -43,6 +43,7 @@
|
||||
border: 1px solid var(--grey-three);
|
||||
cursor: pointer;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
@ -82,8 +83,8 @@
|
||||
|
||||
img {
|
||||
border-radius: 8px;
|
||||
height: 150px;
|
||||
width: 150px;
|
||||
height: 125px;
|
||||
width: 125px;
|
||||
background-color: var(--grey-two);
|
||||
transition: transform 0.4s var(--bezier-one);
|
||||
user-select: none;
|
||||
|
@ -83,9 +83,13 @@
|
||||
<div class="top-container">
|
||||
<h3>ReVanced</h3>
|
||||
<h1>{currentPage >= maxPages ? 'Review selected logos' : 'Select logos'}</h1>
|
||||
<h2>{selected.length}/{logos.length} selected · Page {Number(currentPage) + 1}/{maxPages+1}</h2>
|
||||
<h2>
|
||||
{selected.length}/{logos.length} selected · Page {Number(currentPage) + 1}/{maxPages + 1}
|
||||
</h2>
|
||||
<div class="top-custom-button-container">
|
||||
<a href="https://hhh.com" target="_blank" rel="noreferrer"><button>Help</button></a>
|
||||
<a href="https://hhh.com" target="_blank" rel="noreferrer"
|
||||
><button>How does this work?</button></a
|
||||
>
|
||||
<button on:click={clearLogos}>Clear All</button>
|
||||
</div>
|
||||
</div>
|
||||
@ -123,11 +127,12 @@
|
||||
{/each}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="buttons-container">
|
||||
<Button on:click={previousPage} unclickable={currentPage <= 0}>Previous</Button>
|
||||
<Button kind="primary" on:click={nextPage} unclickable={currentPage >= maxPages}>{currentPage >= maxPages ? 'Submit' : 'Next'}</Button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="buttons-container">
|
||||
<Button on:click={previousPage} unclickable={currentPage <= 0}>Previous</Button>
|
||||
<Button kind="primary" on:click={nextPage} unclickable={currentPage >= maxPages}
|
||||
>{currentPage >= maxPages ? 'Submit' : 'Next'}</Button
|
||||
>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
@ -165,8 +170,17 @@
|
||||
gap: 1rem;
|
||||
justify-content: right;
|
||||
float: bottom;
|
||||
width: 100%;
|
||||
z-index: 999;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background-color: var(--grey-six);
|
||||
padding: 1rem 1.5rem;
|
||||
border-top: 1px solid var(--grey-three);
|
||||
}
|
||||
|
||||
|
||||
button {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
@ -185,7 +199,7 @@
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 2rem;
|
||||
background-color: var(--accent-color);
|
||||
padding: 2rem;
|
||||
padding: 1.75rem;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
@ -199,9 +213,8 @@
|
||||
h1 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.options-grid {
|
||||
grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
|
||||
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user