From 7eb64927cc8936f4b1ee7f76c3a8058044bb587c Mon Sep 17 00:00:00 2001 From: NumEricR Date: Tue, 10 Sep 2013 23:52:28 +0200 Subject: [PATCH 1/2] 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 224ef1829..a85961c9d 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 c056429de..bb99ca4ce 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; +} From a0fd7c5b4467adbc85244909663b3fd6bc160b14 Mon Sep 17 00:00:00 2001 From: NumEricR Date: Tue, 10 Sep 2013 23:54:40 +0200 Subject: [PATCH 2/2] Format CSS code --- tpl/css/style.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tpl/css/style.css b/tpl/css/style.css index bb99ca4ce..d60b443c6 100644 --- a/tpl/css/style.css +++ b/tpl/css/style.css @@ -270,15 +270,15 @@ 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; }