You are here

vote_up_down.css in Vote Up/Down 5

Same filename and directory in other branches
  1. 6 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(a_up_act.png) no-repeat 0px 0px;
}
.vote-up-inact, .up-inact {
  background: url(a_up_inact.png) no-repeat 0px 0px;
}
.vote-down-act, .vote-down-inact:hover {
  background: url(a_down_act.png) no-repeat 0px 0px;
}
.vote-down-inact, .down-inact {
  background: url(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;
  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(plus_act.png) no-repeat center 3px;
}
.vote-up-down-widget-alt .vote-up-inact,
.vote-up-down-widget-alt .up-inact {
  background: url(plus_inact.png) no-repeat center 3px;
}

.storylink .picture img {
  float: left !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0.3em 0 0.3em 2px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}
.storylink h2.title, 
.storylink .content, 
.storylink .submitted, 
.storylink div.links {
  padding-left: 26px;
}

.storylink-alt .picture {
  display: inline;
}
.storylink-alt .picture img {
  float: none !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0.3em 0.3em 0 0 !important;
  max-width: 18px !important;
  max-height: 18px !important;
}
.storylink-alt h2.title, 
.storylink-alt .content, 
.storylink-alt .submitted, 
.storylink-alt div.links {
  padding-left: 42px;
}

/* Fixing IE6 bug, the "* html" make other browsers ignore it */

/* Hides from IE-mac \*/
* html .storylink .picture img {
  width: 18px !important;
  height: 18px !important;
}
* html .storylink-alt .picture img {
  width: 18px !important;
  height: 18px !important;
}
* 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%;
}
/* End hide from IE-mac */

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(a_up_act.png) no-repeat 0px 0px;
  27. }
  28. .vote-up-inact, .up-inact {
  29. background: url(a_up_inact.png) no-repeat 0px 0px;
  30. }
  31. .vote-down-act, .vote-down-inact:hover {
  32. background: url(a_down_act.png) no-repeat 0px 0px;
  33. }
  34. .vote-down-inact, .down-inact {
  35. background: url(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. width: auto;
  71. height: 22px;
  72. }
  73. .vote-up-down-widget-alt span.vote-up-act,
  74. .vote-up-down-widget-alt span.vote-up-inact,
  75. .vote-up-down-widget-alt span.up-inact {
  76. border: 1px solid #ccc;
  77. }
  78. .vote-up-down-widget-alt .vote-up-act,
  79. .vote-up-down-widget-alt .vote-up-inact:hover {
  80. background: url(plus_act.png) no-repeat center 3px;
  81. }
  82. .vote-up-down-widget-alt .vote-up-inact,
  83. .vote-up-down-widget-alt .up-inact {
  84. background: url(plus_inact.png) no-repeat center 3px;
  85. }
  86. .storylink .picture img {
  87. float: left !important;
  88. border: 0 !important;
  89. margin: 0 !important;
  90. padding: 0.3em 0 0.3em 2px !important;
  91. max-width: 18px !important;
  92. max-height: 18px !important;
  93. }
  94. .storylink h2.title,
  95. .storylink .content,
  96. .storylink .submitted,
  97. .storylink div.links {
  98. padding-left: 26px;
  99. }
  100. .storylink-alt .picture {
  101. display: inline;
  102. }
  103. .storylink-alt .picture img {
  104. float: none !important;
  105. border: 0 !important;
  106. margin: 0 !important;
  107. padding: 0.3em 0.3em 0 0 !important;
  108. max-width: 18px !important;
  109. max-height: 18px !important;
  110. }
  111. .storylink-alt h2.title,
  112. .storylink-alt .content,
  113. .storylink-alt .submitted,
  114. .storylink-alt div.links {
  115. padding-left: 42px;
  116. }
  117. /* Fixing IE6 bug, the "* html" make other browsers ignore it */
  118. /* Hides from IE-mac \*/
  119. * html .storylink .picture img {
  120. width: 18px !important;
  121. height: 18px !important;
  122. }
  123. * html .storylink-alt .picture img {
  124. width: 18px !important;
  125. height: 18px !important;
  126. }
  127. * html .vote-up-down-widget-alt .vote-up-act,
  128. * html .vote-up-down-widget-alt .vote-up-inact,
  129. * html .vote-up-down-widget-alt .up-inact {
  130. width: 55px;
  131. }
  132. * html .content {
  133. height: 1%;
  134. }
  135. /* End hide from IE-mac */