Permalink
Browse files

Make hover of !ComboBox and Spinner more consistent. There's still a …

…discrepancy about hover of the the arrows themselves works. Patch from Jason modified by me.

Refs #12099.
  • Loading branch information...
wkeese committed Dec 26, 2010
1 parent f91c1a7 commit d1791b0ada8c235f6f8949e005273a7f2772bc17
Showing with 7 additions and 8 deletions.
  1. +2 −2 themes/claro/form/NumberSpinner.css
  2. +5 −6 themes/claro/form/NumberSpinner.less
@@ -85,10 +85,10 @@
padding: 0;
}
/** hover & focused status **/
-.claro .dijitUpArrowButtonActive, .claro .dijitDownArrowButtonActive {
+.claro .dijitSpinnerHover .dijitUpArrowButton, .claro .dijitSpinnerHover .dijitDownArrowButton, .claro .dijitSpinnerFocused .dijitArrowButton {
background-color: #abd6ff;
}
-.claro .dijitSpinner .dijitUpArrowButtonHover, .claro .dijitSpinner .dijitDownArrowButtonHover, .claro .dijitSpinnerFocused .dijitArrowButton {
+.claro .dijitUpArrowButtonActive, .claro .dijitDownArrowButtonActive {
background-color: #abd6ff;
}
.claro .dijitSpinner .dijitUpArrowButtonHover .dijitArrowButtonInner {
@@ -85,17 +85,16 @@
/** hover & focused status **/
+.claro .dijitSpinnerHover .dijitUpArrowButton,
+.claro .dijitSpinnerHover .dijitDownArrowButton,
+.claro .dijitSpinnerFocused .dijitArrowButton {
+ background-color: @arrowbutton-hovered-background-color;
+}
.claro .dijitUpArrowButtonActive,
.claro .dijitDownArrowButtonActive {
background-color:@arrowbutton-pressed-background-color;
}
-.claro .dijitSpinner .dijitUpArrowButtonHover,
-.claro .dijitSpinner .dijitDownArrowButtonHover,
-.claro .dijitSpinnerFocused .dijitArrowButton {
- background-color: @arrowbutton-hovered-background-color;
-}
-
.claro .dijitSpinner .dijitUpArrowButtonHover .dijitArrowButtonInner {
background-position:-174px;
}

0 comments on commit d1791b0

Please sign in to comment.