X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/51f5984c1c7a54feace02f67d48b15a4516d6f64..e3d5e3da52ffdf10445f2d9cdcc8c67633f2dd82:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 43eea9ee0..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; @@ -409,6 +424,12 @@ h2 { padding: 5px; } +#permalink a.disabled { + color: #ccc; + cursor: default; + text-decoration: none; +} + /* Rules for edit menu */ .menuicon { @@ -599,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; } @@ -637,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; @@ -647,7 +674,7 @@ h2 { right: 0px; } -.site_export #map { +.site-export #map { position: absolute; top: 0px; bottom: 0px; @@ -657,7 +684,7 @@ h2 { /* Rules for the edit page */ -.site_edit #map { +.site-edit #map { position: absolute; top: 0px; bottom: 0px; @@ -723,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; } @@ -929,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; @@ -972,18 +1016,48 @@ 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; } @@ -1081,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 */