Browse Source

increase textarea fields height on focus

main
ghost 1 year ago
parent
commit
b2cd2db96b
  1. 24
      src/public/assets/theme/default/css/common.css

24
src/public/assets/theme/default/css/common.css

@ -34,28 +34,32 @@ a:hover { @@ -34,28 +34,32 @@ a:hover {
transition: opacity .5s ease-in-out;
}
input,
textarea {
background: #5d627d;
color: #ccc;
border: 0;
border-radius: 3px;
padding: 6px 8px;
font-size: 13px;
}
textarea:focus,
input:focus {
outline: none;
color: #fff;
}
textarea:focus {
min-height: 120px;
}
textarea::placeholder,
input::placeholder {
color: #9698a5;
opacity: 1;
}
input,
textarea {
background: #5d627d;
color: #ccc;
border: 0;
border-radius: 3px;
padding: 6px 8px;
font-size: 13px;
}
input:hover,
textarea:hover {
background: #636884;

Loading…
Cancel
Save