style changes

This commit is contained in:
np.w
2021-03-02 17:52:43 -06:00
parent 88cd558676
commit 9d2274e140
3 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ import './styles/inputBox.css';
const InputBox = ({ id, name, label, onChange, value, type, readOnly, hidden }) => { const InputBox = ({ id, name, label, onChange, value, type, readOnly, hidden }) => {
return ( return (
<> <>
<label htmlFor={id}>{label}</label> <label className='input' htmlFor={id}>{label}</label>
<input readOnly={readOnly} hidden={hidden} autoFocus onChange={onChange} value={value} id={id} name={name} type={type} /> <input className='input' readOnly={readOnly} hidden={hidden} autoFocus onChange={onChange} value={value} id={id} name={name} type={type} />
</> </>
) )
} }
+3 -4
View File
@@ -114,12 +114,11 @@ li.box {
list-style: none; list-style: none;
} }
li.box.target {
border-color: green;
}
li.box.target:hover { li.box.target:hover {
cursor: pointer; cursor: pointer;
border-width: 2px; box-shadow:
0 3px 6px rgba(0,0,0,0.16),
0 3px 6px rgba(0,0,0,0.23);
} }
.item-menu-more-container { .item-menu-more-container {
z-index: 1; z-index: 1;
+2 -2
View File
@@ -1,8 +1,8 @@
label { label.input {
display: block; display: block;
margin: 0 0 0.4rem 0; margin: 0 0 0.4rem 0;
} }
input { input.input {
border: 1px solid grey; border: 1px solid grey;
border-radius: 0.2rem; border-radius: 0.2rem;
padding: 0.4rem 0.6rem; padding: 0.4rem 0.6rem;