Poprawiono responsywność karty pociągów

This commit is contained in:
2021-05-24 22:25:31 +02:00
parent eeb9236b65
commit 70247475de
3 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -56,9 +56,9 @@ export default class ActionButton extends Vue {}
border: none;
}
&:hover {
&:hover,
&:focus {
color: $accentCol;
background: #5c5c5c;
}
}
+3 -3
View File
@@ -70,10 +70,10 @@ export default class SelectBox extends Vue {
cursor: pointer;
transition: all 0.3s;
&:focus {
+ span > img {
transform: rotate(180deg);
}
background: #5c5c5c;
}
}
+5 -1
View File
@@ -81,7 +81,7 @@
</template>
<script lang="ts">
import { Component, Vue, Prop, Emit } from "vue-property-decorator";
import { Component, Vue, Prop } from "vue-property-decorator";
import ActionButton from "@/components/Global/ActionButton.vue";
import Train from "@/scripts/interfaces/Train";
@@ -217,6 +217,10 @@ export default class TrainStats extends Vue {
position: relative;
top: 0;
z-index: 99;
&:focus {
color: red;
}
}
.stats {