X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/244d1f81c2ea9efb1ac3545b0aaab1b514cf997c..f27238182806783d7cdf65c98351cc33bbabf9cc:/public/stylesheets/common.css diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index ceceda1c6..ce9d73b28 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -10,6 +10,10 @@ body { padding: 0px; } +body.slim { + background-color: #f0f0f0; +} + /* Rules for links */ a { @@ -146,8 +150,9 @@ hr { } .left_menu ul { - padding-left: 10px; + padding-left: 0px; margin: 0px; + list-style-type: none; } .left_menu li { @@ -166,8 +171,12 @@ hr { /* Rules for SOTM advert */ #sotm { - width: 170px; + width: 180px; + min-width: 180px; + margin: 5px; padding: 0px; + border: 0px; + background: #fff; } /* @@ -224,6 +233,8 @@ hr { #search_field input[type="submit"] { width: 26px; + padding-left: 0px; + padding-right: 0px; } .search_help { @@ -540,6 +551,38 @@ hr { text-align: left; } +#slim_container { + width: 100%; +} + +#slim_container_content { + max-width: 50em; + height: 650px; + background-color: #FFFFFF; + margin: 10px auto; + padding: 3px; + border-radius: 25px; + -moz-border-radius: 25px; + border: 1px solid #e6e6e6; +} + +#slim_content { + margin: 10px; + position: absolute; + top: 90px; + max-width: 50em; +} + +#slim_header { + margin: 10px; +} + +#slim_header img { + vertical-align: middle; + margin-right: 5px; + margin-bottom: 5px; +} + /* Rules for the changeset list shown by the history tab etc */ #changeset_list, #keyvalue { @@ -623,6 +666,39 @@ hr { margin-top: 10px; } +/* Rules for the login page */ + +#login_wrapper { + float: left; /* ensures the child divs are the same size, and only as wide as they need to be */ +} + +#login_wrapper div { + margin: 5px; + padding: 15px; + border-radius: 15px; + -moz-border-radius: 15px; +} + +#login_wrapper input[type=submit] { + float: right; +} + +#login_login { + background-color: #f5f5ff; + border: 1px solid #f3f3ff; + border-radius: 15px; + -moz-border-radius: 15px; +} + +#login_login h1 { + margin-top: 5px; +} + +#login_signup form.button-to div { + margin: 0px; + padding: 0px; +} + /* Rules for the account confirmation page */ div#contributorTerms { @@ -724,6 +800,8 @@ form#termsForm input#agree { padding: 7px; background-color: #fff0f0; margin-bottom: 20px; + border-radius: 5px; + -moz-border-radius: 5px; } #warning { @@ -731,6 +809,8 @@ form#termsForm input#agree { padding: 7px; background-color: #fff6f0; margin-bottom: 20px; + border-radius: 5px; + -moz-border-radius: 5px; } #notice { @@ -738,6 +818,8 @@ form#termsForm input#agree { padding: 7px; background-color: #f0fff0; margin-bottom: 20px; + border-radius: 5px; + -moz-border-radius: 5px; } /* Rules for highlighting fields with rails validation errors */