X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/221ca3c1fa985c02243a3c650c828023c1011484..be8617dfdc9fdf941705272ec9ba152b95677249:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index c32144128..bd812b7e3 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; } @@ -496,7 +512,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 +614,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 +652,14 @@ 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 +667,7 @@ h2 { right: 0px; } -.site_export #map { +.site-export #map { position: absolute; top: 0px; bottom: 0px; @@ -653,12 +677,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 */ @@ -924,14 +949,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; @@ -966,19 +991,48 @@ p#contributorGuidance { } /* Rules for message in/out box page */ +.messages { + width:100%; + border-collapse:collapse; + border-spacing:0; + border-width:0; +} -#messages { - border: 1px solid #ccc; +.messages tbody tr { + border-top:1px solid #ccc; } -.inbox-row-unread .inbox-subject { - font-weight: bold; +.messages .inbox-row { + background:#eee; +} + +.messages tr td, +.messages tr th { + padding:0 5px; } .inbox-row .inbox-mark-read { display: none; } +.info-line { + border-bottom:1px solid #ccc; + padding:5px 0 4px 0; +} + +.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; } @@ -1076,13 +1130,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 */