Nicer poll bars - css
I miss adding the images for the poll bars we had before. Even then it was a pain to code in and you had to up graphics to get the job done.
I put together a little coding to make it really simple to do and only takes about a minute to do. To use this mod, add this code to additional css. Code:
.pollbar1, .pollbar2, .pollbar3, .pollbar4, .pollbar5, .pollbar6 { top: 4px; border-radius: 3px 3px 3px 3px !important; border-width: 1px !important; border-style: solid !important; border-color: transparent !important; background: -moz-linear-gradient(center top , rgb(218, 107, 19) 0%, rgb(253, 125, 22) 20px) repeat scroll 0% 0% transparent !important; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(218, 107, 19)), color-stop(20px, rgb(253, 125, 22))) !important; background: -webkit-linear-gradient(top, rgb(218, 107, 19) 0%, rgb(253, 125, 22) 20px) !important; background: -o-linear-gradient(top, rgb(218, 107, 19) 0%, rgb(253, 125, 22) 20px) !important; background: -ms-linear-gradient(top, rgb(218, 107, 19) 0%, rgb(253, 125, 22) 20px) !important; background: linear-gradient(top, rgb(218, 107, 19) 0%, rgb(253, 125, 22) 20px) !important; filter: progid:dximagetransform.microsoft.gradient(startColorstr='#da6b13', endColorstr='#fd7d16', GradientType=0) !important; position: relative; -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); } You can set the colors for the gradient by adjusting the red code. You can set the level of shadow by adjusting the dark orange code. The blue is to bring them down and centered with the text for the poll item. If you want a different one for each bar, use the same code, change to the colors you want, and remove the extra descriptors. Code:
.pollbar1, .pollbar2, .pollbar3, .pollbar4, .pollbar5, .pollbar6 { http://i.imgur.com/LTml3Ih.png Enjoy. Update: Colored poll bars. Code:
.pollbar1 { top: 4px; border-radius: 3px 3px 3px 3px !important; border-width: 1px !important; border-style: solid !important; border-color: transparent !important; background: -moz-linear-gradient(center top , #d3d3d3 0%, #eaeaea 20px) repeat scroll 0% 0% transparent !important; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d3d3d3), color-stop(20px, #eaeaea)) !important; background: -webkit-linear-gradient(top, #d3d3d3 0%, #eaeaea 20px) !important; background: -o-linear-gradient(top, #d3d3d3 0%, #eaeaea 20px) !important; background: -ms-linear-gradient(top, #d3d3d3 0%, #eaeaea 20px) !important; background: linear-gradient(top, #d3d3d3 0%, #eaeaea 20px) !important; filter: progid:dximagetransform.microsoft.gradient(startColorstr='#d3d3d3', endColorstr='#eaeaea', GradientType=0) !important; position: relative; -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); } .pollbar2 { top: 4px; border-radius: 3px 3px 3px 3px !important; border-width: 1px !important; border-style: solid !important; border-color: transparent !important; background: -moz-linear-gradient(center top , #0e0eff 0%, #3535ff 20px) repeat scroll 0% 0% transparent !important; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0e0eff), color-stop(20px, #3535ff)) !important; background: -webkit-linear-gradient(top, #0e0eff 0%, #3535ff 20px) !important; background: -o-linear-gradient(top, #0e0eff 0%, #3535ff 20px) !important; background: -ms-linear-gradient(top, #0e0eff 0%, #3535ff 20px) !important; background: linear-gradient(top, #0e0eff 0%, #3535ff 20px) !important; filter: progid:dximagetransform.microsoft.gradient(startColorstr='#0e0eff', endColorstr='#3535ff', GradientType=0) !important; position: relative; -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); } .pollbar3 { top: 4px; border-radius: 3px 3px 3px 3px !important; border-width: 1px !important; border-style: solid !important; border-color: transparent !important; background: -moz-linear-gradient(center top , #318000 0%, #40a600 20px) repeat scroll 0% 0% transparent !important; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #318000), color-stop(20px, #40a600)) !important; background: -webkit-linear-gradient(top, #318000 0%, #40a600 20px) !important; background: -o-linear-gradient(top, #318000 0%, #40a600 20px) !important; background: -ms-linear-gradient(top, #0e0eff 0%, #40a600 20px) !important; background: linear-gradient(top, #318000 0%, #40a600 20px) !important; filter: progid:dximagetransform.microsoft.gradient(startColorstr='#318000', endColorstr='#40a600', GradientType=0) !important; position: relative; -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); } .pollbar4 { top: 4px; border-radius: 3px 3px 3px 3px !important; border-width: 1px !important; border-style: solid !important; border-color: transparent !important; background: -moz-linear-gradient(center top , #d80030 0%, #ff0039 20px) repeat scroll 0% 0% transparent !important; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d80030), color-stop(20px, #ff0039)) !important; background: -webkit-linear-gradient(top, #d80030 0%, #ff0039 20px) !important; background: -o-linear-gradient(top, #d80030 0%, #ff0039 20px) !important; background: -ms-linear-gradient(top, #d80030 0%, #ff0039 20px) !important; background: linear-gradient(top, #d80030 0%, #ff0039 20px) !important; filter: progid:dximagetransform.microsoft.gradient(startColorstr='#d80030', endColorstr='#ff0039', GradientType=0) !important; position: relative; -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); } .pollbar5 { top: 4px; border-radius: 3px 3px 3px 3px !important; border-width: 1px !important; border-style: solid !important; border-color: transparent !important; background: -moz-linear-gradient(center top , rgb(17, 119, 209) 0%, rgb(9, 88, 156) 20px) repeat scroll 0% 0% transparent !important; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(17, 119, 209)), color-stop(20px, rgb(9, 88, 156))) !important; background: -webkit-linear-gradient(top, rgb(17, 119, 209) 0%, rgb(9, 88, 156) 20px) !important; background: -o-linear-gradient(top, rgb(17, 119, 209) 0%, rgb(9, 88, 156) 20px) !important; background: -ms-linear-gradient(top, rgb(17, 119, 209) 0%, rgb(9, 88, 156) 20px) !important; background: linear-gradient(top, rgb(17, 119, 209) 0%, rgb(9, 88, 156) 20px) !important; filter: progid:dximagetransform.microsoft.gradient(startColorstr='#da6b13', endColorstr='#09589c', GradientType=0) !important; position: relative; -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); } .pollbar6 { top: 4px; border-radius: 3px 3px 3px 3px !important; border-width: 1px !important; border-style: solid !important; border-color: transparent !important; background: -moz-linear-gradient(center top , #970880 0%, #bd26a4 20px) repeat scroll 0% 0% transparent !important; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #970880), color-stop(20px, #bd26a4)) !important; background: -webkit-linear-gradient(top, #970880 0%, #bd26a4 20px) !important; background: -o-linear-gradient(top, #970880 0%, #bd26a4 20px) !important; background: -ms-linear-gradient(top, #970880 0%, #bd26a4 20px) !important; background: linear-gradient(top, #970880 0%, #bd26a4 20px) !important; filter: progid:dximagetransform.microsoft.gradient(startColorstr='#970880', endColorstr='#bd26a4', GradientType=0) !important; position: relative; -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.25); } Download
Nicer poll bars - css.txt (2.2 KB, 30 downloads) |
Similar Mods
CA - Poll Bars 2.0 | Miscellaneous Images |
Poll Bars!! | Modification Graveyard |
Poll Bars | Miscellaneous Images |
CA - Poll Bars 1.0 | Miscellaneous Images |