X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/972278a223ac07b7a1f4c431706972b13ee76ef0..e09b187cae178c000a683635d408cab72dc3d35b:/public/stylesheets/common.css diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index 362e5d619..36966f3ba 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -335,12 +335,12 @@ 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; } @@ -526,6 +526,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 { @@ -540,6 +562,58 @@ 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 login form */ + +.loginBox { + float: left; + border-style: solid; + border-width: 1px; + padding-left: 10px; + padding-right: 10px; + padding-bottom: 10px; +} + +.loginBox table { + width: 100%; +} + +.loginBox img { + border: 0; +} + +.loginBox #openid_buttons img { + vertical-align: middle; +} + +.loginBox input[type="submit"] { + float: right; +} + +#openid_buttons { + margin-bottom: 20px; +} + /* Rules for the account confirmation page */ div#contributorTerms { @@ -562,6 +636,25 @@ 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 { @@ -697,6 +790,11 @@ input[type="submit"] { border: 1px solid black; } +input.openid_url { + background: url('../images/openid_input.png') repeat-y left; + padding-left: 16px; +} + /* Rules for user images */ img.user_image { @@ -740,45 +838,9 @@ abbr.geo { background: #fff; } -/* rules for styling a link to look like a button to get around the difficulty - * of laying anything out properly in html. */ +/* Rules for OpenID logo */ -a.looks_like_button { - color: black; - background: buttonface; - border: 1px solid black; - font-size: small; - padding: 1px; +.openid_logo { + vertical-align: text-bottom; + border: 0; } - -/* 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 -} -