From: Jan-Christoph Borchardt Date: Thu, 3 Oct 2013 13:55:42 +0000 (+0300) Subject: better style and color for warning and success feedback on inputs X-Git-Tag: v6.0.0alpha2~92^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3c13afee9837db9ba11f98ec8688f8a1163b81f1;p=nextcloud-server.git better style and color for warning and success feedback on inputs --- diff --git a/core/css/styles.css b/core/css/styles.css index f200bd68a77..d9c03f2c080 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -405,7 +405,7 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } #body-login .warning, #body-login .update, #body-login .error { display: block; padding: 10px; - color: #dd3b3b; + color: #d2322d; background-color: rgba(0,0,0,.3); text-align: center; border-radius: 3px; @@ -422,7 +422,7 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } .warning legend, .warning a, .error a { - color: #dd3b3b !important; + color: #d2322d !important; font-weight: bold; } .error pre { diff --git a/settings/css/settings.css b/settings/css/settings.css index 57a43180a43..5f3e9c97dd5 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -25,8 +25,16 @@ input#identity { width:20em; } width: 350px; } -.msg.success{ color:#fff; background-color:#0f0; padding:3px; text-shadow:1px 1px #000; } -.msg.error{ color:#fff; background-color:#f00; padding:3px; text-shadow:1px 1px #000; } +.msg.success { + color: #fff; + background-color: #47a447; + padding: 3px; +} +.msg.error { + color: #fff; + background-color: #d2322d; + padding: 3px; +} table.nostyle label { margin-right: 2em; } table.nostyle td { padding: 0.2em 0; }