mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-02 21:18:12 +00:00
chore: dark & light mode improvements
This commit is contained in:
@@ -170,7 +170,11 @@ $darkModeTextCol: #eee;
|
|||||||
|
|
||||||
select {
|
select {
|
||||||
color: $darkModeTextCol !important;
|
color: $darkModeTextCol !important;
|
||||||
border-color: $darkModeTextCol !important;
|
border-color: $darkModeTextCol;
|
||||||
|
|
||||||
|
&:focus-visible {
|
||||||
|
border-color: $accentCol;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
option,
|
option,
|
||||||
|
|||||||
@@ -31,8 +31,8 @@
|
|||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button class="g-button action" @click="selectLocalOrder(order)">Wybierz</button>
|
<button class="g-button" @click="selectLocalOrder(order)">Wybierz</button>
|
||||||
<button class="g-button action" @click="removeOrder(order)">Usuń</button>
|
<button class="g-button" @click="removeOrder(order)">Usuń</button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</transition-group>
|
</transition-group>
|
||||||
@@ -178,5 +178,18 @@ li {
|
|||||||
.buttons {
|
.buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.5em;
|
gap: 0.5em;
|
||||||
|
|
||||||
|
button {
|
||||||
|
padding: 0.5em;
|
||||||
|
background-color: $bgColLighter;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus-visible {
|
||||||
|
outline: 2px solid $accentCol;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -67,7 +67,8 @@ button {
|
|||||||
|
|
||||||
button.g-button {
|
button.g-button {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: white;
|
color: inherit;
|
||||||
|
|
||||||
transition:
|
transition:
|
||||||
color 100ms ease-in,
|
color 100ms ease-in,
|
||||||
background-color 100ms ease-in;
|
background-color 100ms ease-in;
|
||||||
|
|||||||
Reference in New Issue
Block a user