Better cross-browser styling for WI item type

The WI item type styling for Chrome is now (as far as I can tell) 1:1
with Firefox. This means there is actually now typing feedback!!!
This commit is contained in:
somebody
2023-01-01 15:55:49 -06:00
parent 528861ab14
commit 0fbfcbe17d

View File

@@ -1110,12 +1110,20 @@ td.server_vars {
.world_info_item_type {
/* Workaround for Firefox bug: https://stackoverflow.com/a/42283543 */
padding: 1px;
padding-bottom: 0px;
display: inline-block;
height: 2.8ex;
cursor: text;
outline: none;
border-bottom: 1px solid gray;
transition: color 200ms, border-bottom-color 200ms;
}
.world_info_item_type::before {
opacity: 0.3 !important;
}
.world_info_item_type.bad-input {
color: rgb(255, 103, 103);
border-bottom-color: red;