Permalink
Browse files

making individual images as the sprites were too heavy

  • Loading branch information...
benwebster committed Aug 14, 2010
1 parent cc294f0 commit d2b00e1c5eefffcc1cfe720360cc0da36b1630cb
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
@@ -27,11 +27,11 @@
font-weight: bold;
padding: .5em;
display: block;
- width: 42px;
+ width: 40px;
height: 125px;
font-size: 0.001em;
text-indent: -2000em;
- background: #212121 url({{bg_uri}}) no-repeat -4px -10px;
+ background: #212121 url({{logo_uri}}) no-repeat -4px -10px;
-moz-border-radius-bottomright: 10px;
-webkit-border-bottom-right-radius: 10px;
-moz-border-radius-topright: 10px;
@@ -100,13 +100,13 @@
display:block;
width: 25px;
height: 28px;
- background: url({{bg_uri}}) no-repeat -9px -204px;
+ background: url({{accept_uri}}) no-repeat 1px 5px;
font-size: 0.001em;
text-indent: -20000em;
}
#uat-bar .wua-pop-over li a.wua-accept:hover {
- background-position: -9px -234px;
+ background-position: 1px -24px;
}
#uat-bar .wua-pop-over li a.wua-reject {
@@ -116,13 +116,13 @@
display:block;
width: 25px;
height: 30px;
- background: url({{bg_uri}}) no-repeat -9px -136px;
+ background: url({{reject_uri}}) no-repeat 0 8px;
font-size: 0.001em;
text-indent: -20000em;
}
#uat-bar .wua-pop-over li a.wua-reject:hover {
- background-position: -9px -168px;
+ background-position: 0 -24px;
}
#uat-bar .wua-pop-over li a.wua-pivotal {
@@ -132,13 +132,13 @@
display:block;
width: 25px;
height: 30px;
- background: url({{bg_uri}}) no-repeat -9px -301px;
+ background: url({{pt_uri}}) no-repeat 0 10px;
font-size: 0.001em;
text-indent: -20000em;
}
#uat-bar .wua-pop-over li a.wua-pivotal:hover {
- background-position: -9px -333px;
+ background-position: 0 -22px;
}
@@ -148,10 +148,11 @@
display:block;
width: 60px;
height: 25px;
- background: url({{bg_uri}}) no-repeat -1px -275px;
+ background: url({{btnreject_uri}}) no-repeat 0 0;
font-size: 0.001em;
text-indent: -20000em;
border:none;
+ cursor: pointer;
}
#uat-bar .wua-go-spinner {
@@ -4,8 +4,13 @@ class Context
# bg becomes bg_uri. bg_uri yields a data uri of the image.
ImageMap = {
- :bg => 'uat-bg.png',
- :spinner => 'spinner.gif'
+ :bg => 'uat-bg.png',
+ :logo => 'uat-logo.gif',
+ :accept => 'accept.png',
+ :reject => 'reject.png',
+ :pt => 'pt.png',
+ :btnreject => 'btnreject.png',
+ :spinner => 'spinner.gif'
}
ImageMap.each do |k,v|

0 comments on commit d2b00e1

Please sign in to comment.