X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e103de12b1a5dc2abe1138ed8ff309fd124cc336..48929e8781f9c136a142400a7a2ef1cf994f74fd:/public/stylesheets/common.css diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index a20246010..098a9ddd9 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 { @@ -48,6 +52,8 @@ hr { height: 150px; background: #fff; border: 1px solid #ccd; + border-radius: 5px; + -moz-border-radius: 5px; } #logo h1 { @@ -61,16 +67,25 @@ hr { margin: 0px; } +/* Rules for the site name */ + +#small-title { + display: none; +} + /* Rules for the introductory text displayed in the left sidebar to new users */ #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 +102,8 @@ hr { line-height: 1.2em; text-align: left; font-size: 14px; + border-radius: 5px; + -moz-border-radius: 5px; } /* @@ -104,6 +121,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 +139,8 @@ hr { text-align: Left; font-size: 14px; font-weight: bold; + border-radius: 5px; + -moz-border-radius: 5px; } .left_menu td { @@ -135,8 +156,9 @@ hr { } .left_menu ul { - padding-left: 10px; + padding-left: 0px; margin: 0px; + list-style-type: none; } .left_menu li { @@ -155,8 +177,12 @@ hr { /* Rules for SOTM advert */ #sotm { - width: 170px; + width: 180px; + min-width: 180px; + margin: 5px; padding: 0px; + border: 0px; + background: #fff; } /* @@ -176,6 +202,8 @@ hr { text-align: left; font-size: 12px; background: #eee; + border-radius: 5px; + -moz-border-radius: 5px; } .optionalbox h1 { @@ -211,6 +239,8 @@ hr { #search_field input[type="submit"] { width: 26px; + padding-left: 0px; + padding-right: 0px; } .search_help { @@ -231,6 +261,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 +303,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 @@ -521,6 +557,38 @@ hr { text-align: left; } +#slim_container { + width: 100%; +} + +#slim_container_content { + max-width: 50em; + background-color: #FFFFFF; + margin: 10px auto; + padding: 3px; + border-radius: 25px; + -moz-border-radius: 25px; + border: 1px solid #e6e6e6; +} + +#slim_content { + margin: 10px; + margin-top: 90px; + max-width: 50em; +} + +#slim_header { + margin: 10px; + position: absolute; + top: 0px; +} + +#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 { @@ -543,10 +611,6 @@ hr { white-space: nowrap; } -#changeset_list.th { - font-weight: bold; -} - /* Rules for the data browser */ #browse_navigation { @@ -569,6 +633,19 @@ hr { border: solid 1px black; } +#browse_map_changeset { + float: right; + width: 100%; + text-align: right; + margin-left: 10px; +} + +#browse_map_changeset #small_map { + width: 100%; + height: 315px; + border: solid 1px black; +} + /* Rules for the trace list shown by the traces tab etc */ #trace_list { @@ -604,6 +681,35 @@ hr { margin-top: 10px; } +/* Rules for the login page */ + +#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 { @@ -611,7 +717,11 @@ div#contributorTerms { padding: 4px; overflow: auto; width: 80%; - height: 60%; + height: 400px; +} + +div#slim_content div#contributorTerms { + width: auto; } div#contributorTerms p#first { @@ -635,6 +745,11 @@ div#contributorTerms img { form#termsForm { width: 80%; + margin-bottom: 3em; +} + +div#slim_content form#termsForm { + width: auto; } form#termsForm div#buttons { @@ -705,6 +820,8 @@ form#termsForm input#agree { padding: 7px; background-color: #fff0f0; margin-bottom: 20px; + border-radius: 5px; + -moz-border-radius: 5px; } #warning { @@ -712,6 +829,8 @@ form#termsForm input#agree { padding: 7px; background-color: #fff6f0; margin-bottom: 20px; + border-radius: 5px; + -moz-border-radius: 5px; } #notice { @@ -719,6 +838,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 */