X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ed0375ec89862574e642070b01fe16e90f058538..276c29cb3138b2bd3e36d5f24430c7d55df3b8bc:/public/stylesheets/common.css diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index c28a3c02c..d46013393 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 */ @@ -538,6 +540,35 @@ hr { color: gray; } +/* 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%; +} + /* Rules for the account settings page */ #accountForm td { @@ -715,3 +746,35 @@ abbr.geo { .table1 { background: #fff; } + +/* hack to get left/right alignment on a line working. apparently still works in IE too. + * shamelessly stolen from http://www.spartanicus.utvinternet.ie/left_and_right_alignment_using_css.htm + */ +div.left_right_line { + text-align:right; + margin:1em 0; + padding:0; + width:80%; +} +div.left_right_line div { + display:inline; + white-space:nowrap +} +div.left_right_line div.left { + float:left +} +#content>div.left_right_line { + display:table; + width:60% +} +#content>div.left_right_line div { + display:table-cell +} +#content>div.left_right_line div.left { + float:none; + text-align:left +} +#content>div.left_right_line div.right { + text-align:right +} +