diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-04-17 17:15:34 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-04-17 17:15:34 +0200 |
commit | 21bcb95e2a9afb155561a9e9fccbe6ef476461f6 (patch) | |
tree | cb167bf8afe529fa3482be21b183d2ab3c48d8b5 /core | |
parent | 9f58166339d2f5aec4b3d2af01e33d52c1bccbea (diff) | |
download | nextcloud-server-21bcb95e2a9afb155561a9e9fccbe6ef476461f6.tar.gz nextcloud-server-21bcb95e2a9afb155561a9e9fccbe6ef476461f6.zip |
move warning and error states together in CSS, to be cleaned up
Diffstat (limited to 'core')
-rw-r--r-- | core/css/styles.css | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index 731ba3800dc..406fa8a9821 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -220,7 +220,6 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } } #login #databaseField .infield { padding-left:0; } #login form input[type="checkbox"]+label { position:relative; margin:0; font-size:1em; text-shadow:#fff 0 1px 0; } -#login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; } /* Show password toggle */ #show, #dbpassword { position:absolute; right:1em; top:.8em; float:right; } @@ -246,14 +245,24 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } } #login form #selectDbType label.ui-state-hover, #login form #selectDbType label.ui-state-active { color:#000; background-color:#e8e8e8; } -/* Warnings */ -fieldset.warning { - padding:8px; - color:#b94a48; background-color:#f2dede; border:1px solid #eed3d7; - border-radius:5px; -} -fieldset.warning legend { color:#b94a48 !important; } -fieldset.warning a { color:#b94a48 !important; font-weight:bold; } +/* Warnings, for information */ +.warning { + display: block; + background-color: #f2dede; + color: #b94a48; + padding: 8px; + margin: 0 7px 5px; + border: 1px solid #eed3d7; + border-radius: 5px; +} +.warning legend, +.warning a { + color: #b94a48 !important; + font-weight: bold; +} +/* Errors, for grave states */ +li.update, li.error { width:640px; margin:4em auto; padding:1em 1em 1em 4em; background:#ffe .8em .8em no-repeat; border:1px solid #ccc; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; cursor:default; } +.error { color:#FF3B3B; } /* Alternative Logins */ #alternative-logins legend { margin-bottom:10px; } @@ -334,8 +343,6 @@ div.jp-play-bar, div.jp-seek-bar { padding:0; } .pager { list-style:none; float:right; display:inline; margin:.7em 13em 0 0; } .pager li { display:inline-block; } -li.update, li.error { width:640px; margin:4em auto; padding:1em 1em 1em 4em; background:#ffe .8em .8em no-repeat; border:1px solid #ccc; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; cursor:default; } -.error { color:#FF3B3B; } .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { overflow:hidden; text-overflow:ellipsis; } .hint { background-image:url('../img/actions/info.png'); background-repeat:no-repeat; color:#777; padding-left:25px; background-position:0 0.3em;} .separator { display:inline; border-left:1px solid #d3d3d3; border-right:1px solid #fff; height:10px; width:0px; margin:4px; } |