From 7eb64927cc8936f4b1ee7f76c3a8058044bb587c Mon Sep 17 00:00:00 2001 From: NumEricR Date: Tue, 10 Sep 2013 23:52:28 +0200 Subject: [PATCH] Move icons no-repeat into common style --- tpl/css/style-light.css | 34 ++++++++++++++-------------------- tpl/css/style.css | 17 +++++++++++++++++ 2 files changed, 31 insertions(+), 20 deletions(-) diff --git a/tpl/css/style-light.css b/tpl/css/style-light.css index 224ef182..a85961c9 100644 --- a/tpl/css/style-light.css +++ b/tpl/css/style-light.css @@ -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'); } \ No newline at end of file diff --git a/tpl/css/style.css b/tpl/css/style.css index c056429d..bb99ca4c 100644 --- a/tpl/css/style.css +++ b/tpl/css/style.css @@ -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; +} -- 2.41.0