Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
847349b419 | ||
|
|
91a80c6330 |
@@ -562,32 +562,54 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation-buttons {
|
|
||||||
display: contents;
|
|
||||||
}
|
|
||||||
|
|
||||||
.items-navigation {
|
.items-navigation {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
grid-template-columns: 46px minmax(0, 1fr) 46px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
column-gap: 20px;
|
||||||
|
width: calc(100% + 132px);
|
||||||
|
margin-left: -66px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation-buttons .prev-button,
|
.navigation-button-slot {
|
||||||
.navigation-buttons .next-button {
|
display: flex;
|
||||||
background-color: #007bff;
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navigation-button {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 46px;
|
||||||
|
height: 46px;
|
||||||
|
padding: 0;
|
||||||
|
background: linear-gradient(145deg, #1687f5, #0067d9);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: none;
|
border: 2px solid rgba(255, 255, 255, 0.9);
|
||||||
|
box-shadow: 0 8px 18px rgba(0, 82, 170, 0.28), 0 2px 5px rgba(15, 23, 42, 0.18);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 10px;
|
border-radius: 50%;
|
||||||
border-radius: 5px;
|
font-size: 1.35rem;
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 1;
|
||||||
|
transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation-buttons .prev-button:hover,
|
.navigation-button:hover {
|
||||||
.navigation-buttons .next-button:hover {
|
background: linear-gradient(145deg, #319bff, #0058bd);
|
||||||
background-color: #0056b3;
|
box-shadow: 0 11px 22px rgba(0, 82, 170, 0.36), 0 3px 7px rgba(15, 23, 42, 0.2);
|
||||||
|
transform: translateY(-2px) scale(1.04);
|
||||||
|
}
|
||||||
|
|
||||||
|
.navigation-button:active {
|
||||||
|
transform: translateY(0) scale(0.96);
|
||||||
|
}
|
||||||
|
|
||||||
|
.navigation-button:focus-visible {
|
||||||
|
outline: 3px solid rgba(37, 99, 235, 0.35);
|
||||||
|
outline-offset: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Modal styles */
|
/* Modal styles */
|
||||||
@@ -1641,9 +1663,11 @@
|
|||||||
/* Navigation buttons mobile */
|
/* Navigation buttons mobile */
|
||||||
.items-navigation {
|
.items-navigation {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
|
width: 100% !important;
|
||||||
|
margin-left: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation-buttons {
|
.navigation-button-slot {
|
||||||
display: none !important; /* Hide horizontal navigation on mobile */
|
display: none !important; /* Hide horizontal navigation on mobile */
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1956,7 +1980,7 @@
|
|||||||
/* Standardized button styles across the application */
|
/* Standardized button styles across the application */
|
||||||
.search-button, .scan-button, .filter-toggle, .clear-filter,
|
.search-button, .scan-button, .filter-toggle, .clear-filter,
|
||||||
.add-new-btn, .popup-close-button, .prev-image-button, .next-image-button,
|
.add-new-btn, .popup-close-button, .prev-image-button, .next-image-button,
|
||||||
.navigation-buttons .prev-button, .navigation-buttons .next-button {
|
.navigation-button {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -2554,13 +2578,15 @@ document.addEventListener('DOMContentLoaded', ()=>{
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="items-navigation">
|
<div class="items-navigation">
|
||||||
<div class="navigation-buttons">
|
<div class="navigation-button-slot">
|
||||||
<button class="prev-button" type="button" onclick="scrollPrev()" aria-label="Vorherige Elemente">❮</button>
|
<button class="navigation-button prev-button" type="button" onclick="scrollPrev()" aria-label="Vorherige Elemente">❮</button>
|
||||||
<button class="next-button" type="button" onclick="scrollNext()" aria-label="Nächste Elemente">❯</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="items-container" class="items-container">
|
<div id="items-container" class="items-container">
|
||||||
<!-- Items will be dynamically loaded here -->
|
<!-- Items will be dynamically loaded here -->
|
||||||
</div>
|
</div>
|
||||||
|
<div class="navigation-button-slot">
|
||||||
|
<button class="navigation-button next-button" type="button" onclick="scrollNext()" aria-label="Nächste Elemente">❯</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="item-modal" class="item-modal">
|
<div id="item-modal" class="item-modal">
|
||||||
|
|||||||
Reference in new issue
Block a user