You are here

alternate.css in Vote Up/Down 6.3

/* Alternate widget CSS files */

.vud-widget-alternate {
    float: left;
    clear: left;
    padding: 0;
    margin: 5px 6px 1px 0;
    width: 50px;
    height: 54px;
}

.vud-widget-alternate .up-active,
.vud-widget-alternate .up-inactive {
    height: 22px;
    width: 50px;
    margin-top: 1px;
    background-image: url('plus.png');
}

.vud-widget-alternate .up-active,
.vud-widget-alternate .up-inactive:hover {
  background-position: 0px -7px;
}

.vud-widget-alternate .up-inactive {
  background-position: 0px -43px;
}

.vud-widget-alternate .up-active {
    cursor: default;
}
.vud-widget-alternate .up-inactive:hover {
    cursor: pointer;
}

.vud-widget-alternate .alternate-votes-display {
    font-family: Georgia, serif;
    border: 1px solid #CCCCCC;
    text-align: center;
    height: 26px;
    font-size: 18px;
    padding: 2px;
}

.vud-widget-alternate .ctools-ajaxing {
  padding-right: 0 !important;
  display: block;
  width: 50px;
  height: 22px;
  background-position: center;
  float: left;
}

.vud-widget-alternate .ctools-ajaxing div {
  display: none;
}

/**
 * Hide elements visually, but keep them available for screen-readers.
 *
 * Used for information required for screen-reader users to understand and use
 * the site where visual display is undesirable. Information provided in this
 * manner should be kept concise, to avoid unnecessary burden on the user. Must
 * not be used for focusable elements (such as links and form elements) as this
 * causes issues for keyboard only or voice recognition users. "!important" is
 * used to prevent unintentional overrides.
 */
.element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

File

widgets/alternate/alternate.css
View source
  1. /* Alternate widget CSS files */
  2. .vud-widget-alternate {
  3. float: left;
  4. clear: left;
  5. padding: 0;
  6. margin: 5px 6px 1px 0;
  7. width: 50px;
  8. height: 54px;
  9. }
  10. .vud-widget-alternate .up-active,
  11. .vud-widget-alternate .up-inactive {
  12. height: 22px;
  13. width: 50px;
  14. margin-top: 1px;
  15. background-image: url('plus.png');
  16. }
  17. .vud-widget-alternate .up-active,
  18. .vud-widget-alternate .up-inactive:hover {
  19. background-position: 0px -7px;
  20. }
  21. .vud-widget-alternate .up-inactive {
  22. background-position: 0px -43px;
  23. }
  24. .vud-widget-alternate .up-active {
  25. cursor: default;
  26. }
  27. .vud-widget-alternate .up-inactive:hover {
  28. cursor: pointer;
  29. }
  30. .vud-widget-alternate .alternate-votes-display {
  31. font-family: Georgia, serif;
  32. border: 1px solid #CCCCCC;
  33. text-align: center;
  34. height: 26px;
  35. font-size: 18px;
  36. padding: 2px;
  37. }
  38. .vud-widget-alternate .ctools-ajaxing {
  39. padding-right: 0 !important;
  40. display: block;
  41. width: 50px;
  42. height: 22px;
  43. background-position: center;
  44. float: left;
  45. }
  46. .vud-widget-alternate .ctools-ajaxing div {
  47. display: none;
  48. }
  49. /**
  50. * Hide elements visually, but keep them available for screen-readers.
  51. *
  52. * Used for information required for screen-reader users to understand and use
  53. * the site where visual display is undesirable. Information provided in this
  54. * manner should be kept concise, to avoid unnecessary burden on the user. Must
  55. * not be used for focusable elements (such as links and form elements) as this
  56. * causes issues for keyboard only or voice recognition users. "!important" is
  57. * used to prevent unintentional overrides.
  58. */
  59. .element-invisible {
  60. position: absolute !important;
  61. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  62. clip: rect(1px, 1px, 1px, 1px);
  63. }