Add the ability to edit the item names (closes #149)
This commit is contained in:
parent
3a5a3ecc38
commit
5a0484190e
10 changed files with 51 additions and 10 deletions
|
|
@ -15,7 +15,7 @@
|
|||
margin: 0;
|
||||
outline: none;
|
||||
padding: 4px 8px;
|
||||
transition: all 400ms ease-in-out;
|
||||
transition: all 200ms ease-in-out;
|
||||
width: initial;
|
||||
|
||||
&:hover, &:focus-visible {
|
||||
|
|
|
|||
|
|
@ -4,4 +4,7 @@
|
|||
font-size: 1rem;
|
||||
margin: 0;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,5 +5,13 @@
|
|||
@include material.elevate(2);
|
||||
border-radius: 4px;
|
||||
padding: var(--gap);
|
||||
|
||||
&--row {
|
||||
@extend .panel;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: var(--gap);
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
24
styles/v3/elements/text-input.scss
Normal file
24
styles/v3/elements/text-input.scss
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
@use "../mixins/material";
|
||||
|
||||
.dotdungeon.style-v3 > .window-content input {
|
||||
outline: none;
|
||||
border: none;
|
||||
@include material.elevate(3);
|
||||
color: white;
|
||||
transition: all 200ms ease-in-out;
|
||||
width: auto;
|
||||
height: auto;
|
||||
font-size: inherit;
|
||||
|
||||
&:hover {
|
||||
@include material.elevate(6);
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
@include material.elevate(8);
|
||||
}
|
||||
|
||||
&.h1 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue