mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 19:48:11 +00:00
Lista pociągów, karta losowania: poprawki dostępności
This commit is contained in:
@@ -2,10 +2,6 @@
|
|||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<div class="bg-dimmer" v-if="isRandomizerCardOpen"></div>
|
<div class="bg-dimmer" v-if="isRandomizerCardOpen"></div>
|
||||||
|
|
||||||
<transition name="card-anim">
|
|
||||||
<randomizer-card v-if="isRandomizerCardOpen" />
|
|
||||||
</transition>
|
|
||||||
|
|
||||||
<section class="image">
|
<section class="image">
|
||||||
<div class="image__wrapper">
|
<div class="image__wrapper">
|
||||||
<div
|
<div
|
||||||
@@ -59,6 +55,10 @@
|
|||||||
<span></span>
|
<span></span>
|
||||||
<button class="btn" @click="shuffleCars">TASUJ WAGONY</button>
|
<button class="btn" @click="shuffleCars">TASUJ WAGONY</button>
|
||||||
<button class="btn" @click="openRandomizerCard">LOSUJ SKŁAD</button>
|
<button class="btn" @click="openRandomizerCard">LOSUJ SKŁAD</button>
|
||||||
|
|
||||||
|
<transition name="card-anim">
|
||||||
|
<randomizer-card v-if="isRandomizerCardOpen" />
|
||||||
|
</transition>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="stock-list_specs">
|
<div class="stock-list_specs">
|
||||||
@@ -126,17 +126,22 @@
|
|||||||
<button class="action-btn" @click="subStock(i)">
|
<button class="action-btn" @click="subStock(i)">
|
||||||
<img :src="icons.sub" alt="subtract vehicle count" />
|
<img :src="icons.sub" alt="subtract vehicle count" />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<span>{{ stock.count }} </span>
|
<span>{{ stock.count }} </span>
|
||||||
|
|
||||||
<button class="action-btn" @click="addStock(i)">
|
<button class="action-btn" @click="addStock(i)">
|
||||||
<img :src="icons.add" alt="add vehicle count" />
|
<img :src="icons.add" alt="add vehicle count" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button class="action-btn" @click="moveUpStock(i)">
|
<button class="action-btn" @click="moveUpStock(i)">
|
||||||
<img :src="icons.higher" alt="move up vehicle" />
|
<img :src="icons.higher" alt="move up vehicle" />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button class="action-btn" @click="moveDownStock(i)">
|
<button class="action-btn" @click="moveDownStock(i)">
|
||||||
<img :src="icons.lower" alt="move down vehicle" />
|
<img :src="icons.lower" alt="move down vehicle" />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button class="action-btn" @click="removeStock(i)">
|
<button class="action-btn" @click="removeStock(i)">
|
||||||
<img :src="icons.remove" alt="remove vehicle" />
|
<img :src="icons.remove" alt="remove vehicle" />
|
||||||
</button>
|
</button>
|
||||||
@@ -662,6 +667,10 @@ export default defineComponent({
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
margin: 0 0.25em;
|
margin: 0 0.25em;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
outline: 1px solid white;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user