Move more styling into CSS and make it support RTL layout

This commit is contained in:
Tom Hughes 2011-07-02 11:22:19 +01:00
parent d075fc4c1f
commit aca299ecee
8 changed files with 53 additions and 13 deletions

View file

@ -384,6 +384,10 @@ hr {
display: none;
}
.attribution_notice {
text-align: center;
}
/* Rules for the popout map sidebar */
#sidebar {
@ -780,6 +784,10 @@ p#contributorGuidance {
display: inline !important;
}
#accountForm input[type=submit] {
margin-top: 15px;
}
/* Rules for the user view */
#user_details .user_map {
@ -893,6 +901,7 @@ p#contributorGuidance {
/* Rules for forms */
.fieldName {
vertical-align: top;
font-weight: bold;
}

View file

@ -104,6 +104,16 @@ html body {
text-align: left;
}
/* Rules for attribution text under the main map shown on printouts */
.attribution_license {
text-align: left;
}
.attribution_project {
text-align: right;
}
/* Rules for the popout map sidebar */
#sidebar {
@ -227,6 +237,10 @@ form#termsForm input#agree {
text-align: right;
}
.submitButton {
text-align: right;
}
input.openid_url {
background: url('../images/openid_input.png') repeat-y left white;
padding-left: 16px;

View file

@ -111,6 +111,16 @@ html body {
text-align: right;
}
/* Rules for attribution text under the main map shown on printouts */
.attribution_license {
text-align: right;
}
.attribution_project {
text-align: left;
}
/* Rules for the popout map sidebar */
#sidebar {
@ -234,6 +244,10 @@ form#termsForm input#agree {
text-align: left;
}
.submitButton {
text-align: left;
}
input.openid_url {
background: url('../images/openid_input.png') repeat-y right white;
padding-right: 16px;