X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0c5854dadaf3d9a27be7561861fa5c8385cbf9ed..51971248c15fe9cc65b2c6479d977016e1886e55:/public/stylesheets/common.css diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index 3d4f8ac46..c830f406b 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -48,6 +48,8 @@ hr { height: 150px; background: #fff; border: 1px solid #ccd; + border-radius: 5px; + -moz-border-radius: 5px; } #logo h1 { @@ -65,12 +67,15 @@ hr { #intro { width: 170px; - margin: 10px; + padding: 5px; + margin: 5px; border: 1px solid #ccc; font-size: 11px; + border-radius: 5px; + -moz-border-radius: 5px; } -#intro p { margin: 10px; } +#intro p { margin: 5px; } /* * Rules for alert boxes shown in the left sidebar when important @@ -87,6 +92,8 @@ hr { line-height: 1.2em; text-align: left; font-size: 14px; + border-radius: 5px; + -moz-border-radius: 5px; } /* @@ -104,6 +111,8 @@ hr { line-height: 1.2em; text-align: left; font-size: 14px; + border-radius: 5px; + -moz-border-radius: 5px; } /* Rules for the menu displayed in the left sidebar */ @@ -120,6 +129,8 @@ hr { text-align: Left; font-size: 14px; font-weight: bold; + border-radius: 5px; + -moz-border-radius: 5px; } .left_menu td { @@ -135,8 +146,9 @@ hr { } .left_menu ul { - padding-left: 10px; + padding-left: 0px; margin: 0px; + list-style-type: none; } .left_menu li { @@ -176,6 +188,8 @@ hr { text-align: left; font-size: 12px; background: #eee; + border-radius: 5px; + -moz-border-radius: 5px; } .optionalbox h1 { @@ -206,11 +220,13 @@ hr { } #search_field input[type="text"] { - width: 116px; + width: 136px; } #search_field input[type="submit"] { width: 26px; + padding-left: 0px; + padding-right: 0px; } .search_help { @@ -231,6 +247,8 @@ hr { line-height: 1.2em; text-align: center; font-size: 14px; + border-radius: 5px; + -moz-border-radius: 5px; } /* Rules for Creative Commons logo button */ @@ -271,6 +289,10 @@ hr { border: 1px solid #ccc; text-decoration: none; color: #333; + border-top-right-radius: 5px; + -moz-border-radius-topright: 5px; + border-top-left-radius: 5px; + -moz-border-radius-topleft: 5px; } #tabnav a:link.active, #tabnav a:visited.active @@ -604,6 +626,36 @@ 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: #f0f0f0; +} + +#login_login h1 { + margin-top: 5px; +} + +#login_signup form.button-to div { + margin: 0px; + padding: 0px; +} + /* Rules for the account confirmation page */ div#contributorTerms { @@ -705,6 +757,8 @@ form#termsForm input#agree { padding: 7px; background-color: #fff0f0; margin-bottom: 20px; + border-radius: 5px; + -moz-border-radius: 5px; } #warning { @@ -712,6 +766,8 @@ form#termsForm input#agree { padding: 7px; background-color: #fff6f0; margin-bottom: 20px; + border-radius: 5px; + -moz-border-radius: 5px; } #notice { @@ -719,6 +775,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 */