X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ed0375ec89862574e642070b01fe16e90f058538..42ef10ba80bf7ff13b4f9210e5fbf54538e0d52f:/public/stylesheets/common.css diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index c28a3c02c..9535caacd 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -280,14 +280,16 @@ hr { color: #000; } -#tabnav a:link:hover +#tabnav a:link:hover, #tabnav a:visited:hover { background: #fff; } -#tabnav a.disabled +#tabnav a:link.disabled, #tabnav a:visited.disabled, +#tabnav a:link:hover.disabled, #tabnav a:visited:hover.disabled { - font-style: italic; + background: #bbbbbb; + color: white } /* Rules for greeting bar in the top right corner */ @@ -333,15 +335,36 @@ hr { display: none !important; } -#map #permalink { - z-index:10000; - position:absolute; - bottom:15px; - right:15px; - font-size:smaller; +#permalink { + z-index: 10000; + position: absolute; + bottom: 15px; + right: 15px; + font-size: smaller; text-align: right; } +/* Rules for edit menu */ + +#editmenu { + display: none; + z-index: 10000; + position: absolute; + background-color: #ffffff; + border: 1px solid black; +} + +#editmenu ul { + margin-top: 10px; + margin-bottom: 10px; + padding-left: 10px; + padding-right: 10px; +} + +#editmenu li { + list-style-type: none; +} + /* Rules for attribution text under the main map shown on printouts */ #attribution { @@ -524,6 +547,28 @@ hr { font-weight: bold; } +/* Rules for the data browser */ + +#browse_navigation { + float: right; + width: 250px; + text-align: center; + margin-left: 10px; +} + +#browse_map { + float: right; + width: 250px; + text-align: right; + margin-left: 10px; +} + +#browse_map #small_map { + width: 250px; + height: 300px; + border: solid 1px black; +} + /* Rules for the trace list shown by the traces tab etc */ #trace_list { @@ -538,6 +583,68 @@ hr { color: gray; } +/* Rules for the user list */ + +#user_list { + width: 100%; + font-size: small; +} + +#user_list tr { + vertical-align: center; +} + +#user_list p { + margin-top: 0px; + margin-bottom: 0px; +} + +#user_list_actions { + float: right; + margin-top: 10px; +} + +/* Rules for the account confirmation page */ + +div#contributorTerms { + border: 1px solid black; + padding: 4px; + overflow: auto; + width: 80%; + height: 60%; +} + +div#contributorTerms p#first { + margin-top: 0px; +} + +div#contributorTerms p#last { + margin-bottom: 0px; +} + +div#contributorTerms ol { + margin-bottom: 0px; +} + +div#contributorTerms img { + display: block; + margin-left: auto; + margin-right: auto; + margin-top: 10%; +} + +form#termsForm { + width: 80%; +} + +form#termsForm div#buttons { + float: right; +} + +form#termsForm input#agree { + margin-left: 50px; +} + /* Rules for the account settings page */ #accountForm td {