1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-05 17:05:07 -05:00

Merge pull request #216 from NumEricR/css-icons

Move icon's no-repeat to common code and clean CSS
This commit is contained in:
Nicolas Lœuillet 2013-09-10 21:43:46 -07:00
commit b084cde854
2 changed files with 38 additions and 27 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

@ -270,14 +270,31 @@ footer {
#inputform {
display: none;
text-align:center;
max-width:300px;
margin-left:auto;
margin-right:auto;
margin-top:5px;
text-align: center;
max-width: 300px;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
padding-bottom: 5px;
background-color: rgba(0, 0, 0, 0.9);
opacity:0.8;
color:white;
opacity: 0.8;
color: #fff;
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;
}