X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3445f447cd24dee77b341b8a97196024e3ee8ec0..e3d5e3da52ffdf10445f2d9cdcc8c67633f2dd82:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 078674a11..6ead2220a 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -64,6 +64,10 @@ h2 { margin: 25px 0 5px 0; } +#logo img { + border: 0px; +} + #logo h1 { font-size: 18px; line-height: 20px; @@ -83,6 +87,10 @@ h2 { display: none; } +#small-title img { + border: 0px; +} + /* Rules for the introductory text displayed in the left sidebar to new users */ .sidebar-copy { @@ -322,9 +330,16 @@ h2 { padding: 5px 10px; text-decoration: none; color: #333; + -webkit-transition: color 200ms ease-in; + -moz-transition: color 200ms ease-in; + -o-transition: color 200ms ease-in; + transition: color 200ms ease-in; } -#tabnav a:link.active, #tabnav a:visited.active { +body.site-index #tabnav a#viewanchor, +body.site-edit #tabnav a#editanchor, +body.changeset-list #tabnav a#historyanchor, +body.site-export #tabnav a#exportanchor { border-bottom: 1px solid #aaa; background: #9ed485; color: #000; @@ -383,6 +398,7 @@ h2 { #map { margin: 0px; + border: 0px; padding: 0px; } @@ -408,6 +424,12 @@ h2 { padding: 5px; } +#permalink a.disabled { + color: #ccc; + cursor: default; + text-decoration: none; +} + /* Rules for edit menu */ .menuicon { @@ -496,7 +518,10 @@ h2 { padding-right: 5px; } -#mapkey .mapkey-table-key { +#mapkey .mapkey-table-key img { + display: block; + margin-left: auto; + margin-right: auto; } #mapkey .mapkey-table-value { @@ -595,9 +620,9 @@ h2 { bottom: 0px; } -#content.site_index, -#content.site_edit, -#content.site_export { +.site-index #content, +.site-edit #content, +.site-export #content { border: 0px; padding: 0px; } @@ -633,9 +658,15 @@ h2 { margin-bottom: 5px; } +/* Rules for text content pages */ + +.wide-table { + width: 100%; +} + /* Rules for the home page */ -.site_index #map { +.site-index #map { position: absolute; top: 0px; bottom: 0px; @@ -643,7 +674,7 @@ h2 { right: 0px; } -.site_export #map { +.site-export #map { position: absolute; top: 0px; bottom: 0px; @@ -653,12 +684,13 @@ h2 { /* Rules for the edit page */ -.site_edit #map { +.site-edit #map { position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; + overflow: hidden; } /* Rules for the changeset list shown by the history tab etc */ @@ -718,6 +750,23 @@ table.browse_details th { white-space: nowrap; } +td.browse_comments { + padding: 0px; +} + +td.browse_comments table { + border-collapse: collapse; +} + +td.browse_comments table td { + padding-bottom: 10px; +} + +td.browse_comments table td span.by { + font-size: small; + color: #999999; +} + #browse_map { width: 250px; } @@ -887,6 +936,10 @@ p#contributorGuidance { /* Rules for the account settings page */ +#accountForm { + margin-top: 20px; +} + #accountForm td { padding-bottom: 10px; } @@ -920,14 +973,14 @@ p#contributorGuidance { /* Rules for the user view */ -.user_view .user_map { +.user-view .user_map { position: relative; width: 400px; height: 400px; border: 1px solid #ccc; } -.user_view .user_map p#no_home_location { +.user-view .user_map p#no_home_location { position: absolute; top: 0px; bottom: 0px; @@ -963,12 +1016,50 @@ p#contributorGuidance { /* Rules for message in/out box page */ -#messages { - border: 1px solid #ccc; +.messages { + width: 100%; + border-collapse: collapse; + border-spacing: 0px; + border-width: 0px; } -.inbox-row-unread .inbox-subject { - font-weight: bold; +.messages tbody tr { + border-top: 1px solid #ccc; +} + +.messages .inbox-row { + background: #eee; +} + +.messages tr td, +.messages tr th { + padding: 0px 5px; +} + +.inbox-row .inbox-mark-read { + display: none; +} + +.info-line { + border-bottom: 1px solid #ccc; + padding: 5px 0px 4px 0px; +} + +.info-line form, +.info-line form div { + display: inline; +} + +.info-line .user_thumbnail_tiny { + vertical-align: middle; +} + +.right { + float: right; +} + +.inbox-row-unread .inbox-mark-unread { + display: none; } /* Rules for "flash" notice boxes shown at the top of the content area */ @@ -1064,13 +1155,19 @@ textarea { img.user_image { max-width: 100px; max-height: 100px; - border: 1px solid black; + border: 1px solid #ccc; } img.user_thumbnail { max-width: 50px; max-height: 100px; - border: 1px solid black; + border: 1px solid #ccc; +} + +img.user_thumbnail_tiny { + max-width: 25px; + max-height: 25px; + border: 1px solid #ccc; } /* Rule for "nowrap" class that can be applied to anything to stop wrapping */