X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/14cb3322047f9be4419e3148bf378000d89da80d..69437cf0ad12550ebfaadea56d074ac9996b8ca0:/app/assets/stylesheets/common.css.scss?ds=sidebyside diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 06e6375e4..5166c7a31 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -953,6 +953,10 @@ header .search_form { font-size: 10px; color: $blue; } + + .query_wrapper.routing { + display: none; + } } /* Rules for the map key which appears in the popout sidebar */ @@ -989,6 +993,21 @@ header .search_form { color: #f00; } +/* Rules for routing */ + +#sidebar_content>table { + margin: 20px 0px 10px 15px; +} + +td.direction { + background-image: image-url('routing-sprite.png'); + width: 20px; height: 20px; + background-repeat: no-repeat; +} +@for $i from 1 through 17 { +td.direction.i#{$i} { background-position: #{($i)*-20+20}px 0px; } +} + /* Rules for entity history */ #sidebar_content { @@ -1698,6 +1717,7 @@ header .search_form { .message-read .message-buttons { margin-top: $lineheight; + margin-bottom: $lineheight * 1.5; padding-top: $lineheight; border-top: 1px solid $lightgrey; } @@ -1725,12 +1745,6 @@ header .search_form { /* Rules for highlighting fields with rails validation errors */ -.field_with_errors { - padding: 2px; - background-color: #ff7070; - display: inline-block; -} - .formError { display: inline-block; padding: 5px 10px; @@ -1843,6 +1857,10 @@ textarea { padding: 2px 5px; margin: 0; width: 200px; + + &.field_with_errors { + border: 2px solid #ff7070; + } } textarea { @@ -1869,6 +1887,8 @@ img.user_thumbnail { } img.user_thumbnail_tiny { + width: auto; + height: auto; max-width: 25px; max-height: 25px; border: 1px solid #ccc; @@ -2351,7 +2371,7 @@ input.richtext_title[type="text"] { } /* Rules for the "Welcome" page */ -.site-welcome { +.site-welcome, .site-fixthemap { .center { text-align: center; .sprite {