feat: hightlight btn, 토너먼트/베팅장 강조

This commit is contained in:
2023-03-22 02:23:14 +09:00
parent aae730d39c
commit ec7c97d696
2 changed files with 19 additions and 2 deletions
+17
View File
@@ -69,6 +69,23 @@ $color in $sammoColors {
border-color: shade-color($color, 10%);
}
}
.btn-sammo-#{$colorType}.highlight {
@include button-variant($color, $color, magenta, $hover-color: magenta, $active-color: magenta);
&:hover,
&:active,
&:focus {
background-color: $color;
}
&,
&:not(.disabled):hover,
&:not(.disabled):active,
&:focus {
border-color: shade-color($color, 10%);
}
}
}
+2 -2
View File
@@ -18,7 +18,7 @@
<a
href="b_tournament.php"
target="_blank"
:class="['btn', isTournamentApplicationOpen ? 'btn-sammo-base2' : 'btn-sammo-nation']"
:class="['btn', isTournamentApplicationOpen ? 'btn-sammo-base2 highlight' : 'btn-sammo-nation']"
> </a
>
<a href="b_myKingdomInfo.php" :class="`btn btn-sammo-nation ${myLevel >= 1 ? '' : 'disabled'}`">세력 정보</a>
@@ -58,7 +58,7 @@
<a
href="b_betting.php"
target="_blank"
:class="['btn', props.isBettingActive ? 'btn-sammo-base2' : 'btn-sammo-nation']"
:class="['btn', props.isBettingActive ? 'btn-sammo-base2 highlight' : 'btn-sammo-nation']"
> </a
>
</div>