Skip to content
Browse files

making individual images as the sprites were too heavy

  • Loading branch information...
1 parent cc294f0 commit d2b00e1c5eefffcc1cfe720360cc0da36b1630cb benvolio committed Aug 14, 2010
View
20 assets/whereuat.css
11 additions, 9 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
BIN dev/images/accept.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN dev/images/btnreject.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN dev/images/pt.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN dev/images/reject.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN dev/images/uat-logo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
19 dev/stylesheets/whereuat.css.mustache
@@ -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 {
View
9 lib/whereuat/assets/context.rb
@@ -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.
Something went wrong with that request. Please try again.