X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8acdba8bdd2be14c2408518812660431fa9e59fb..a0c9cc7d0abee25f733bcf4ff9c8363bc5490427:/app/assets/stylesheets/small.css.scss diff --git a/app/assets/stylesheets/small.css.scss b/app/assets/stylesheets/small.css.scss index 4b561349d..19b4e6b89 100644 --- a/app/assets/stylesheets/small.css.scss +++ b/app/assets/stylesheets/small.css.scss @@ -18,23 +18,25 @@ h1 { /* Rules for tabbed navigation bar */ -#tabnav -{ +#top-bar { + margin: 0px; + height: 39px; + padding: 0; +} + +#tabnav { height: 14px; margin: 0px; - padding-left: 3px; padding-top: 5px; - margin-top: 18px; - background: image-url('tab_bottom.gif') repeat-x bottom; + margin-top: 20px; font-size: 10px; line-height: 10px; } -#tabnav a, #tabnav a:link, #tabnav a:visited -{ +#tabnav a, #tabnav a:link, #tabnav a:visited { font-size: 10px; line-height: 10px; - padding: 1px 5px; + padding: 2px 5px; margin-right: 1px; } @@ -46,7 +48,7 @@ h1 { height: 16px; display: block; position: absolute; - top: 0; + top: 5px; padding: 2px; width: 110px; /* TODO: find better fix for overlap */ background-color: #fff; @@ -61,15 +63,14 @@ h1 { position: absolute; left: 18px; font-size: 12px; - margin: 2px; + margin: 0; } /* Rules for greeting bar in the top right corner */ #greeting { position: absolute; - top: 0px; - right: 0px; + top: 5px; height: 14px; font-size: 12px; line-height: 12px; @@ -87,18 +88,44 @@ h1 { /* Rules for OpenLayers maps */ -.olControlPanZoomBar { - display: none; +#map { + border: 0; +} + +.site-index .leaflet-top .leaflet-control, +.site-export .leaflet-top .leaflet-control { + margin-top: 10px !important; } /* Rules for the main content area */ #content { - left: 10px; - right: 10px; - top: 47px; margin-left: 0px; margin-right: 0px; + border-left: 0px; + border-right: 0px; +} + +.site-export #content, +.site-edit #content, +.site-index #content { + margin-top: 40px; +} + +/* Rules for search sidebar when shown */ + +#sidebar { + border: 0px; + border-right: 1px solid #ccccdd; + margin: 0px; +} + +.sidebar_title, #sidebar_content { + font-size: 10px !important; +} + +p.search_results_entry { + padding: 2px 0px; } /* Rules for the signup form */