Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch to fix android bug which ignores background shorthand #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions css/jquery.gritter.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
background:url('../images/ie-spacer.gif'); /* ie7/8 fix */
}
.gritter-top {
background:url(../images/gritter.png) no-repeat left -30px;
background: no-repeat left -30px;
height:10px;
}
.hover .gritter-top {
background-position:right -30px;
}
.gritter-bottom {
background:url(../images/gritter.png) no-repeat left bottom;
background: no-repeat left bottom;
height:8px;
margin:0;
}
Expand All @@ -44,7 +44,7 @@
}
.gritter-item {
display:block;
background:url(../images/gritter.png) no-repeat left -40px;
background: no-repeat left -40px;
color:#eee;
padding:2px 11px 8px 11px;
font-size: 11px;
Expand All @@ -63,11 +63,10 @@
position:absolute;
top:5px;
left:3px;
background:url(../images/gritter.png) no-repeat left top;
background: no-repeat left top;
cursor:pointer;
width:30px;
height:30px;
text-indent:-9999em;
}
.gritter-title {
font-size:14px;
Expand All @@ -89,6 +88,15 @@
width:220px;
float:right;
}

/* fixes android bug */
.gritter-item,
.gritter-bottom,
.gritter-top,
.gritter-close {
background-image: url(../images/gritter.png);
}

/* for the light (white) version of the gritter notice */
.gritter-light .gritter-item,
.gritter-light .gritter-bottom,
Expand All @@ -100,3 +108,4 @@
.gritter-light .gritter-title {
text-shadow: none;
}