X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/88297a682cd76ab9290cd8bf278424bf5c8458e5..37bd2971b49da9364fe5dd25415e97e38b34abd7:/public/stylesheets/site.css diff --git a/public/stylesheets/site.css b/public/stylesheets/site.css index 0dc7eaf18..9b29cd806 100644 --- a/public/stylesheets/site.css +++ b/public/stylesheets/site.css @@ -362,3 +362,51 @@ hides rule from IE5-Mac \*/ cursor: pointer; } + +/* rails error field stuff */ + +.fieldWithErrors { + padding: 2px; + background-color: red; + display: table; +} + +#notice { + width: 400px; + border: 2px solid green; + padding: 7px; + padding-bottom: 12px; + margin-bottom: 20px; + background-color: #f0f0f0; +} + +#errorExplanation { + width: 400px; + border: 2px solid red; + padding: 7px; + padding-bottom: 12px; + margin-bottom: 20px; + background-color: #f0f0f0; +} + +#errorExplanation h2 { + text-align: left; + font-weight: bold; + padding: 5px 5px 5px 15px; + font-size: 12px; + margin: -7px; + background-color: #c00; + color: #fff; +} + +#errorExplanation p { + color: #333; + margin-bottom: 0; + padding: 5px; +} + +#errorExplanation ul li { + font-size: 12px; + list-style: square; +} +