mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Hide borders from inputs until hover
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user