pagination button color, centering cookies banner, and remove scroll in carousel

This commit is contained in:
2025-09-23 14:51:27 +02:00
parent 92e396b61f
commit 7545dedb68
3 changed files with 21 additions and 12 deletions

View File

@@ -70,3 +70,10 @@ body {
padding: 0 1rem; padding: 0 1rem;
} }
} }
.pagination {
.active > .page-link {
background-color: $color-button;
border-color: $color-button;
}
}

View File

@@ -16,33 +16,33 @@
</template> </template>
<script> <script>
import { useAuthStore } from '@/stores/auth' import { useAuthStore } from "@/stores/auth";
import { mapActions } from 'pinia' import { mapActions } from "pinia";
export default { export default {
name: 'CookieUsageNotification', name: "CookieUsageNotification",
data() { data() {
return { return {
show: undefined, show: undefined,
} };
}, },
mounted() { mounted() {
const auth = useAuthStore() const auth = useAuthStore();
if (auth.cookiesAccepted === true) { if (auth.cookiesAccepted === true) {
this.show = false this.show = false;
} else { } else {
this.show = true this.show = true;
} }
}, },
methods: { methods: {
...mapActions(useAuthStore, ['acceptCookies']), ...mapActions(useAuthStore, ["acceptCookies"]),
close() { close() {
this.show = false this.show = false;
this.acceptCookies() this.acceptCookies();
}, },
}, },
} };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@@ -50,6 +50,8 @@ export default {
z-index: 999; z-index: 999;
position: fixed; position: fixed;
bottom: 0px; bottom: 0px;
right: 8px;
left: 8px;
background-color: $color-navy; background-color: $color-navy;
border: none; border: none;
color: $color-light; color: $color-light;

View File

@@ -16,7 +16,7 @@
:gap="1" :gap="1"
:pagination-enabled="false" :pagination-enabled="false"
:wrap-around="false" :wrap-around="false"
:mouse-wheel="true" :mouse-wheel="false"
:breakpoints-enabled="true" :breakpoints-enabled="true"
> >
<Slide v-for="item in items" :key="item.id" class="slide-container"> <Slide v-for="item in items" :key="item.id" class="slide-container">