Add edit/view state to the costs of the modal (closes #151)
This commit is contained in:
parent
97ac56dadc
commit
de672642d2
7 changed files with 72 additions and 11 deletions
21
styles/v3/elements/number-input.scss
Normal file
21
styles/v3/elements/number-input.scss
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
@use "../mixins/material";
|
||||
|
||||
.dotdungeon.style-v3 > .window-content input[type=number] {
|
||||
outline: none;
|
||||
border: none;
|
||||
@include material.elevate(3);
|
||||
padding: 4px 8px;
|
||||
color: white;
|
||||
transition: all 200ms ease-in-out;
|
||||
width: 50px;
|
||||
height: auto;
|
||||
text-align: center;
|
||||
|
||||
&:hover {
|
||||
@include material.elevate(4);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
@include material.elevate(6);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue