ClearButton.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .ext-ux-clearbutton {
  2. width: 12px;
  3. height: 12px;
  4. background-image: url(../css/images/clear-text-icon.gif);
  5. background-position: 0 0;
  6. background-repeat: no-repeat;
  7. -moz-user-focus: ignore; /* https://developer.mozilla.org/en/CSS/-moz-user-focus */
  8. cursor: pointer;
  9. position: absolute;
  10. overflow: hidden; /* IE 6 :-( */
  11. margin-top: 4px;
  12. background-color: white;
  13. }
  14. .ext-ux-clearbutton-mouse-over-input {
  15. background-position: 0 -12px;
  16. }
  17. .ext-ux-clearbutton-mouse-over-button {
  18. background-position: 0 -24px;
  19. }
  20. .ext-ux-clearbutton-mouse-down {
  21. background-position: 0 -36px;
  22. }
  23. .ext-ux-clearbutton-on {
  24. opacity: 1;
  25. visibility: visible;
  26. transition: opacity .35s linear;
  27. -webkit-transition: opacity .35s linear;
  28. -moz-transition: opacity .35s linear;
  29. -o-transition: opacity .35s linear;
  30. -ms-transition: opacity .35s linear;
  31. -khtml-transition: opacity .35s linear;
  32. }
  33. .ext-ux-clearbutton-off {
  34. opacity: 0;
  35. visibility: hidden;
  36. transition: opacity .35s linear, visibility .0s linear .35s;
  37. -webkit-transition: opacity .35s linear, visibility .0s linear .35s;
  38. -moz-transition: opacity .35s linear, visibility .0s linear .35s;
  39. -o-transition: opacity .35s linear, visibility .0s linear .35s;
  40. -ms-transition: opacity .35s linear, visibility .0s linear .35s;
  41. -khtml-transition: opacity .35s linear, visibility .0s linear .35s;
  42. }