From fa44d8f1a09e815a2c77b65bb47ef6481aa0b3b6 Mon Sep 17 00:00:00 2001 From: Tim Roes Date: Fri, 27 Apr 2012 12:59:40 +0200 Subject: Changed style of notification messages --- lib/styles/screen.css | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'lib') diff --git a/lib/styles/screen.css b/lib/styles/screen.css index 101ed3529..f97149745 100644 --- a/lib/styles/screen.css +++ b/lib/styles/screen.css @@ -10,36 +10,40 @@ div.success, div.notify { color: #000; background-repeat: no-repeat; - background-position: .5em 0; - border-bottom: 1px solid; + background-position: .5em 50%; + border: 1px solid; font-size: 90%; - margin: 0; + margin: 0.5em 0; + padding: 0.4em; padding-left: 3em; overflow: hidden; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; } div.error { background-color: #fcc; background-image: url(../images/error.png); - border-bottom-color: #faa; + border-color: #ebb; } div.info { background-color: #ccf; background-image: url(../images/info.png); - border-bottom-color: #aaf; + border-color: #bbe; } div.success { background-color: #cfc; background-image: url(../images/success.png); - border-bottom-color: #afa; + border-color: #beb; } div.notify { background-color: #ffc; background-image: url(../images/notify.png); - border-bottom-color: #ffa; + border-color: #eeb; } /* modal windows */ -- cgit v1.2.3 From 15bc9cbc65dcb460c9027a127b889109847e287b Mon Sep 17 00:00:00 2001 From: Tim Roes Date: Mon, 7 May 2012 16:59:32 +0200 Subject: Removed vendor specific border radius --- lib/styles/screen.css | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') diff --git a/lib/styles/screen.css b/lib/styles/screen.css index f97149745..3bf1ea0fc 100644 --- a/lib/styles/screen.css +++ b/lib/styles/screen.css @@ -18,8 +18,6 @@ div.notify { padding-left: 3em; overflow: hidden; border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; } div.error { -- cgit v1.2.3 From ae992f53831c105d6deacfef79d7723b22a00033 Mon Sep 17 00:00:00 2001 From: Tim Roes Date: Mon, 7 May 2012 17:07:51 +0200 Subject: Changed padding and margin like @selfthinker suggested --- lib/styles/screen.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/styles/screen.css b/lib/styles/screen.css index 3bf1ea0fc..8ada48932 100644 --- a/lib/styles/screen.css +++ b/lib/styles/screen.css @@ -10,12 +10,12 @@ div.success, div.notify { color: #000; background-repeat: no-repeat; - background-position: .5em 50%; + background-position: 8px 50%; border: 1px solid; font-size: 90%; - margin: 0.5em 0; + margin: 0 0 0.5em; padding: 0.4em; - padding-left: 3em; + padding-left: 32px; overflow: hidden; border-radius: 5px; } -- cgit v1.2.3