You are here

vote_up_down.css in Vote Up/Down 6

Same filename and directory in other branches
  1. 5 vote_up_down.css
.vote-up-down-widget {
  float: left;
  clear: left;
  padding: 2px;
  margin: 2px 5px 2px 0;
  border: 1px solid #ccc;
}

.vote-up-down-via {
  float: right;
  color: #999;
  padding-left: 3px;
}

.vote-up-act, .vote-up-inact, .vote-down-act, .vote-down-inact, .up-inact, .down-inact {
  display: block;
  text-decoration: none;
  width: 15px;
  height: 16px;
}

a.vote-up-inact, a.vote-down-inact, span.vote-up-inact, span.vote-down-inact {
  cursor: pointer;
}

a.vote-up-act, a.vote-down-act, span.vote-up-act, span.vote-down-act {
  cursor: default;
}

.vote-up-act, .vote-up-inact:hover {
  background: url(images/a_up_act.png) no-repeat 0px 0px;
}

.vote-up-inact, .up-inact {
  background: url(images/a_up_inact.png) no-repeat 0px 0px;
}

.vote-down-act, .vote-down-inact:hover {
  background: url(images/a_down_act.png) no-repeat 0px 0px;
}

.vote-down-inact, .down-inact {
  background: url(images/a_down_inact.png) no-repeat 0px 0px;
}

.vote-points {
  font-weight: bold;
}

.vote-up-down-widget-alt {
  float: left;
  clear: left;
  padding: 0;
  margin: 2px 5px 2px 0;
  border: 0;
}

.vote-up-down-widget-alt .vote-points {
  background: #ff0;
  font-weight: normal;
  font-size: 1.5em;
  text-align: center;
  padding: 3px;
  margin-bottom: 3px;
}

.vote-up-down-widget-alt .vote-points .vote-points {
  background: transparent;
  font-weight: normal;
  font-size: 1em;
  padding: 0;
  margin-bottom: 0;
}

.vote-up-down-widget-alt .vote-points-label {
  font-size: 0.5em;
  background: transparent;
}

.vote-up-down-widget-alt .vote-up-act,
.vote-up-down-widget-alt .vote-up-inact,
.vote-up-down-widget-alt .up-inact {
  display: block;
  min-width: 16px;
  max-width: auto;
  height: 22px;
}

.vote-up-down-widget-alt span.vote-up-act,
.vote-up-down-widget-alt span.vote-up-inact,
.vote-up-down-widget-alt span.up-inact {
  border: 1px solid #ccc;
}

.vote-up-down-widget-alt .vote-up-act,
.vote-up-down-widget-alt .vote-up-inact:hover {
  background: url(images/plus_act.png) no-repeat center 3px;
}

.vote-up-down-widget-alt .vote-up-inact,
.vote-up-down-widget-alt .up-inact {
  background: url(images/plus_inact.png) no-repeat center 3px;
}

* html .vote-up-down-widget-alt .vote-up-act,
* html .vote-up-down-widget-alt .vote-up-inact,
* html .vote-up-down-widget-alt .up-inact {
  width: 55px;
}

* html .content {
  height: 1%;
}

File

vote_up_down.css
View source
  1. .vote-up-down-widget {
  2. float: left;
  3. clear: left;
  4. padding: 2px;
  5. margin: 2px 5px 2px 0;
  6. border: 1px solid #ccc;
  7. }
  8. .vote-up-down-via {
  9. float: right;
  10. color: #999;
  11. padding-left: 3px;
  12. }
  13. .vote-up-act, .vote-up-inact, .vote-down-act, .vote-down-inact, .up-inact, .down-inact {
  14. display: block;
  15. text-decoration: none;
  16. width: 15px;
  17. height: 16px;
  18. }
  19. a.vote-up-inact, a.vote-down-inact, span.vote-up-inact, span.vote-down-inact {
  20. cursor: pointer;
  21. }
  22. a.vote-up-act, a.vote-down-act, span.vote-up-act, span.vote-down-act {
  23. cursor: default;
  24. }
  25. .vote-up-act, .vote-up-inact:hover {
  26. background: url(images/a_up_act.png) no-repeat 0px 0px;
  27. }
  28. .vote-up-inact, .up-inact {
  29. background: url(images/a_up_inact.png) no-repeat 0px 0px;
  30. }
  31. .vote-down-act, .vote-down-inact:hover {
  32. background: url(images/a_down_act.png) no-repeat 0px 0px;
  33. }
  34. .vote-down-inact, .down-inact {
  35. background: url(images/a_down_inact.png) no-repeat 0px 0px;
  36. }
  37. .vote-points {
  38. font-weight: bold;
  39. }
  40. .vote-up-down-widget-alt {
  41. float: left;
  42. clear: left;
  43. padding: 0;
  44. margin: 2px 5px 2px 0;
  45. border: 0;
  46. }
  47. .vote-up-down-widget-alt .vote-points {
  48. background: #ff0;
  49. font-weight: normal;
  50. font-size: 1.5em;
  51. text-align: center;
  52. padding: 3px;
  53. margin-bottom: 3px;
  54. }
  55. .vote-up-down-widget-alt .vote-points .vote-points {
  56. background: transparent;
  57. font-weight: normal;
  58. font-size: 1em;
  59. padding: 0;
  60. margin-bottom: 0;
  61. }
  62. .vote-up-down-widget-alt .vote-points-label {
  63. font-size: 0.5em;
  64. background: transparent;
  65. }
  66. .vote-up-down-widget-alt .vote-up-act,
  67. .vote-up-down-widget-alt .vote-up-inact,
  68. .vote-up-down-widget-alt .up-inact {
  69. display: block;
  70. min-width: 16px;
  71. max-width: auto;
  72. height: 22px;
  73. }
  74. .vote-up-down-widget-alt span.vote-up-act,
  75. .vote-up-down-widget-alt span.vote-up-inact,
  76. .vote-up-down-widget-alt span.up-inact {
  77. border: 1px solid #ccc;
  78. }
  79. .vote-up-down-widget-alt .vote-up-act,
  80. .vote-up-down-widget-alt .vote-up-inact:hover {
  81. background: url(images/plus_act.png) no-repeat center 3px;
  82. }
  83. .vote-up-down-widget-alt .vote-up-inact,
  84. .vote-up-down-widget-alt .up-inact {
  85. background: url(images/plus_inact.png) no-repeat center 3px;
  86. }
  87. * html .vote-up-down-widget-alt .vote-up-act,
  88. * html .vote-up-down-widget-alt .vote-up-inact,
  89. * html .vote-up-down-widget-alt .up-inact {
  90. width: 55px;
  91. }
  92. * html .content {
  93. height: 1%;
  94. }