X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/51971248c15fe9cc65b2c6479d977016e1886e55..67a50468c55f4a805c1eae001a13da10157976e0:/public/stylesheets/common.css diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index c830f406b..89fa39b31 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 { @@ -63,6 +67,12 @@ 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 { @@ -167,8 +177,12 @@ hr { /* Rules for SOTM advert */ #sotm { - width: 170px; + width: 180px; + min-width: 180px; + margin: 5px; padding: 0px; + border: 0px; + background: #fff; } /* @@ -208,7 +222,7 @@ hr { float: right; } -.search_form { +.search_container { height: 16px; padding-bottom: 6px; } @@ -543,14 +557,57 @@ 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 { - width: 100%; +#changeset_list_container { + position: relative; +} + +#changeset_list { + width: 50%; font-size: small; text-align: left; border-collapse: collapse; border-width: 0px; + margin-top: 1px; + margin-bottom: 1px; +} + +#changeset_list td { + vertical-align: top; + padding: 3px; } #changeset_list .date { @@ -565,8 +622,20 @@ hr { white-space: nowrap; } -#changeset_list.th { - font-weight: bold; +#changeset_list .selected { + background-color: rgb(255, 255, 160); + background-color: rgba(255, 255, 85, 0.5); +} + +#changeset_list_map { + float: right; + position: absolute; + top: 0px; + bottom: 0px; + right: 0px; + width: 49%; + min-height: 400px; + border: solid 1px black; } /* Rules for the data browser */ @@ -578,6 +647,10 @@ hr { margin-left: 10px; } +table.browse_details th { + white-space: nowrap; +} + #browse_map { float: right; width: 250px; @@ -628,10 +701,6 @@ hr { /* 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; @@ -644,13 +713,31 @@ hr { } #login_login { - background-color: #f0f0f0; + background-color: #f5f5ff; + border: 1px solid #f3f3ff; + border-radius: 15px; + -moz-border-radius: 15px; } #login_login h1 { margin-top: 5px; } +table#login_openid_buttons { + padding-bottom: 10px; +} + +#login_openid_buttons td { + padding-left: 10px; + padding-right: 10px; + padding-top: 5px; + padding-bottom: 5px; +} + +#login_openid_buttons img { + border: 0; +} + #login_signup form.button-to div { margin: 0px; padding: 0px; @@ -662,8 +749,12 @@ div#contributorTerms { border: 1px solid black; padding: 4px; overflow: auto; - width: 80%; - height: 60%; + width: 95%; + height: 400px; +} + +div#slim_content div#contributorTerms { + width: auto; } div#contributorTerms p#first { @@ -686,7 +777,12 @@ div#contributorTerms img { } form#termsForm { - width: 80%; + width: 95%; + margin-bottom: 3em; +} + +div#slim_content form#termsForm { + width: auto; } form#termsForm div#buttons { @@ -697,6 +793,14 @@ form#termsForm input#agree { margin-left: 50px; } +p#contributorGuidance { + background-color: #f5f5ff; + border: 1px solid #f3f3ff; + border-radius: 15px; + -moz-border-radius: 15px; + padding: 10px; +} + /* Rules for the account settings page */ #accountForm td { @@ -838,6 +942,11 @@ input[type="submit"] { border: 1px solid black; } +input.openid_url { + background: url('../images/openid_input.png') repeat-y left white; + padding-left: 16px; +} + /* Rules for user images */ img.user_image { @@ -880,3 +989,10 @@ abbr.geo { .table1 { background: #fff; } + +/* Rules for OpenID logo */ + +.openid_logo { + vertical-align: text-bottom; + border: 0; +}