You are here

updown.css in Vote Up/Down 8

.vud-widget-updown {
  width: 50px;
  padding: 0 0.7em 0 0;
}

.vud-widget-updown a:hover {
  text-decoration: none;
}

.vud-widget-updown .updown-score {
  border: 1px solid #ccc;
  color: #000;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  padding-top: 5px;
  margin-bottom: 6px;
}

.vud-widget-updown .updown-score .updown-current-score {
  display: block;
  font-size: 20px;
}

.vud-widget-updown .updown-up.inactive,
.vud-widget-updown .updown-down.inactive {
  display: inline-block;
  color: #999;
  border: 1px solid #ccc;
  width: 20px;
  font-size: 15px;
  height: 22px;
  font-weight: bold;
  text-align: center;
}

.vud-widget-updown .updown-up.inactive:hover,
.vud-widget-updown .updown-down.inactive:hover {
  -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); transform: scale(1.2);
  color: #000;
}

.vud-widget-updown div.updown-up {
  margin-right: 2px;
}

.vud-widget-updown .updown-up.active,
.vud-widget-updown .updown-down.active {
  display: inline-block;
  border: 1px solid #5a5a5a;
  width: 20px;
  font-size: 15px;
  height: 22px;
  font-weight: bold;
  text-align: center;
  -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); transform: scale(1.2);
  color: #000;
}


/**
 * 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/updown/updown.css
View source
  1. .vud-widget-updown {
  2. width: 50px;
  3. padding: 0 0.7em 0 0;
  4. }
  5. .vud-widget-updown a:hover {
  6. text-decoration: none;
  7. }
  8. .vud-widget-updown .updown-score {
  9. border: 1px solid #ccc;
  10. color: #000;
  11. font-size: 10px;
  12. font-weight: bold;
  13. text-align: center;
  14. padding-top: 5px;
  15. margin-bottom: 6px;
  16. }
  17. .vud-widget-updown .updown-score .updown-current-score {
  18. display: block;
  19. font-size: 20px;
  20. }
  21. .vud-widget-updown .updown-up.inactive,
  22. .vud-widget-updown .updown-down.inactive {
  23. display: inline-block;
  24. color: #999;
  25. border: 1px solid #ccc;
  26. width: 20px;
  27. font-size: 15px;
  28. height: 22px;
  29. font-weight: bold;
  30. text-align: center;
  31. }
  32. .vud-widget-updown .updown-up.inactive:hover,
  33. .vud-widget-updown .updown-down.inactive:hover {
  34. -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); transform: scale(1.2);
  35. color: #000;
  36. }
  37. .vud-widget-updown div.updown-up {
  38. margin-right: 2px;
  39. }
  40. .vud-widget-updown .updown-up.active,
  41. .vud-widget-updown .updown-down.active {
  42. display: inline-block;
  43. border: 1px solid #5a5a5a;
  44. width: 20px;
  45. font-size: 15px;
  46. height: 22px;
  47. font-weight: bold;
  48. text-align: center;
  49. -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); -o-transform: scale(1.2); transform: scale(1.2);
  50. color: #000;
  51. }
  52. /**
  53. * Hide elements visually, but keep them available for screen-readers.
  54. *
  55. * Used for information required for screen-reader users to understand and use
  56. * the site where visual display is undesirable. Information provided in this
  57. * manner should be kept concise, to avoid unnecessary burden on the user. Must
  58. * not be used for focusable elements (such as links and form elements) as this
  59. * causes issues for keyboard only or voice recognition users. "!important" is
  60. * used to prevent unintentional overrides.
  61. */
  62. .element-invisible {
  63. position: absolute !important;
  64. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  65. clip: rect(1px, 1px, 1px, 1px);
  66. }