mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
Issue #2790 - Part 5: Persistent highlight despite blur click
This commit is contained in:
parent
bf8cfcc980
commit
156c755085
5 changed files with 64 additions and 16 deletions
|
|
@ -82,8 +82,24 @@ label {
|
|||
/* Note: Values in nsNativeTheme IsWidgetStyled function
|
||||
need to match textfield background/border values here */
|
||||
|
||||
/* Autofill persistent highlight styles */
|
||||
input:-moz-autofill {
|
||||
background-color: #FFEB3B !important;
|
||||
background-image: none !important;
|
||||
color: fieldtext !important;
|
||||
}
|
||||
|
||||
input:-moz-autofill:hover,
|
||||
input:-moz-autofill:focus,
|
||||
input:-moz-autofill:active {
|
||||
background-color: #FFEB3B !important;
|
||||
background-image: none !important;
|
||||
color: fieldtext !important;
|
||||
}
|
||||
|
||||
input {
|
||||
-moz-appearance: textfield;
|
||||
appearance: textfield;
|
||||
/* The sum of border and padding on block-start and block-end
|
||||
must be the same here, for buttons, and for <select> (including its
|
||||
internal padding magic) */
|
||||
|
|
@ -91,6 +107,22 @@ input {
|
|||
border: 2px inset ThreeDLightShadow;
|
||||
background-color: -moz-Field;
|
||||
color: -moz-FieldText;
|
||||
}
|
||||
|
||||
/* Autofill styles - make highlighting persist */
|
||||
input:-moz-autofill {
|
||||
background-color: #FFEB3B !important;
|
||||
color: fieldtext !important;
|
||||
background-image: none !important;
|
||||
}
|
||||
|
||||
/* Ensure highlight persists on focus/hover/active states */
|
||||
input:-moz-autofill:hover,
|
||||
input:-moz-autofill:focus,
|
||||
input:-moz-autofill:active {
|
||||
background-color: #FFEB3B !important;
|
||||
color: fieldtext !important;
|
||||
background-image: none !important;
|
||||
font: -moz-field;
|
||||
text-rendering: optimizeLegibility;
|
||||
line-height: normal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue