Add the ability to edit the item names (closes #149)

This commit is contained in:
Oliver-Akins 2024-03-31 00:20:49 -06:00
parent 3a5a3ecc38
commit 5a0484190e
10 changed files with 51 additions and 10 deletions

View file

@ -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 {

View file

@ -4,4 +4,7 @@
font-size: 1rem;
margin: 0;
}
h1 {
font-size: 1.5rem;
}
}

View file

@ -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;
}
}
}

View 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;
}
}