Move icons no-repeat into common style

This commit is contained in:
NumEricR 2013-09-10 23:52:28 +02:00
parent 9074534c93
commit 7eb64927cc
2 changed files with 31 additions and 20 deletions

View File

@ -1,51 +1,45 @@
a.back span {
background: url('../img/light/left.png') no-repeat;
background: url('../img/light/left.png');
}
a.top span {
background: url('../img/light/top.png') no-repeat;
background: url('../img/light/top.png');
}
a.fav span {
background: url('../img/light/star-on.png') no-repeat;
background: url('../img/light/star-on.png');
}
a.fav span:hover {
background: url('../img/light/star-off.png') no-repeat;
background: url('../img/light/star-off.png');
}
a.fav-off span {
background: url('../img/light/star-off.png') no-repeat;
background: url('../img/light/star-off.png');
}
a.fav-off span:hover {
background: url('../img/light/star-on.png') no-repeat;
background: url('../img/light/star-on.png');
}
a.archive span {
background: url('../img/light/checkmark-on.png') no-repeat;
background: url('../img/light/checkmark-on.png');
}
a.archive span:hover {
background: url('../img/light/checkmark-off.png') no-repeat;
background: url('../img/light/checkmark-off.png');
}
a.archive-off span {
background: url('../img/light/checkmark-off.png') no-repeat;
background: url('../img/light/checkmark-off.png');
}
a.archive-off span:hover {
background: url('../img/light/checkmark-on.png') no-repeat;
background: url('../img/light/checkmark-on.png');
}
a.twitter span {
background: url('../img/light/twitter.png') no-repeat;
background: url('../img/light/twitter.png');
}
a.shaarli span {
background: url('../img/light/shaarli.png') no-repeat;
background: url('../img/light/shaarli.png');
}
a.flattr span {
@ -53,9 +47,9 @@ a.flattr span {
}
a.email span {
background: url('../img/light/envelop.png') no-repeat;
background: url('../img/light/envelop.png');
}
a.delete span {
background: url('../img/light/remove.png') no-repeat;
background: url('../img/light/remove.png');
}

View File

@ -281,3 +281,20 @@ footer {
color:white;
border-radius: 3px;
}
a.back span,
a.top span,
a.fav span,
a.fav span:hover,
a.fav-off span,
a.fav-off span:hover,
a.archive span,
a.archive span:hover,
a.archive-off span,
a.archive-off span:hover,
a.twitter span,
a.flattr span,
a.email span,
a.delete span {
background-repeat: no-repeat;
}