mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
scroller sponsorów projektu w modalu
This commit is contained in:
@@ -8,9 +8,18 @@
|
||||
ref="filterCardRef"
|
||||
/>
|
||||
|
||||
<Donation :isModalOpen="isDonationModalOpen" @toggleModal="toggleDonationModal" />
|
||||
<button
|
||||
class="btn-donation btn--image"
|
||||
ref="btn"
|
||||
@click="isDonationModalOpen = true"
|
||||
@focus="isDonationModalOpen = false"
|
||||
>
|
||||
<img src="/images/icon-dollar.svg" alt="dollar donation icon" />
|
||||
<span>{{ $t('donations.button-title') }}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<Donation :isModalOpen="isDonationModalOpen" @toggleModal="toggleDonationModal" />
|
||||
<StationTable :stations="computedStationList" @toggleDonationModal="toggleDonationModal" />
|
||||
</div>
|
||||
</section>
|
||||
@@ -109,4 +118,20 @@ export default defineComponent({
|
||||
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
button.btn-donation {
|
||||
$btnColor: #254069;
|
||||
|
||||
background-color: $btnColor;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($btnColor, 5%);
|
||||
}
|
||||
|
||||
@include smallScreen {
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user