Commit 37ede132 authored by Nicolas Frandeboeuf's avatar Nicolas Frandeboeuf
Browse files

Move input/select borders behaviour code to CSS helpers

parent ca437455
......@@ -26,3 +26,16 @@
.tooltipped::after {
font-size: 1rem;
}
/* Show borders on forms elements with "light" class only on hover/active */
input.light:not(:hover):not(:focus):not(:active),
.Select.light:not(:hover) .Select__control:not(.Select__control--is-focused) {
color: inherit;
border-color: transparent;
background-image: none;
background-color: transparent;
}
.Select.light:not(:hover) .Select__control:not(.Select__control--is-focused) .Select__indicators {
visibility: hidden;
}
......@@ -694,18 +694,6 @@ button.budget-assignment {
z-index: auto;
}
input.light:not(:hover):not(:focus):not(:active),
.Select.light:not(:hover) .Select__control:not(.Select__control--is-focused) {
color: inherit;
border-color: transparent;
background-image: none;
background-color: transparent;
}
.Select.light:not(:hover) .Select__control:not(.Select__control--is-focused) .Select__indicators {
visibility: hidden;
}
/* Categories section */
input.category-color {
border-radius: 4px;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment