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
-
- .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);
- }