Hide borders from inputs until hover

This commit is contained in:
David Cook
2023-08-08 16:26:26 +10:00
parent ef63c520c0
commit 565ea23175

View File

@@ -23,6 +23,7 @@
padding: 4px;
border-collapse: separate; // This is needed for the outer padding. Also should be helpful to give more flexibility of borders between rows.
// Row hover
tr:hover {
th,
td {
@@ -75,6 +76,21 @@
padding: $padding-tbl-cell-condensed;
}
}
// "Naked" inputs. Row hover helps reveal them.
input {
border-color: transparent;
&:focus {
border-color: $color-txt-hover-brd;
}
}
.field_with_errors {
input {
border-color: $color-error;
}
}
}
#no-products {