X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/13d650e2dcbe2467a82253097e10d58dddf9d9d2..6feea89e7b23f7d8a049e04172290780cfa0b45f:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index ff16ad66b..f0c8c2b20 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -636,6 +636,12 @@ nav.secondary { float: right; cursor: pointer; } + + p.error { + background-color: #ff7070; + padding: 10px; + font-weight: bold; + } } .welcome { @@ -688,6 +694,10 @@ nav.secondary { &.query-disabled { cursor: not-allowed; } + + .leaflet-marker-draggable { + cursor: move; + } } #map-ui { @@ -990,6 +1000,11 @@ header .search_forms, margin: 0px 0px 5px 25px; } + input.routing_go { + min-width: 100px; + float: right; + } + div.line { width: 100%; margin: 0px 0px 5px 0px; @@ -1071,7 +1086,7 @@ tr.turn:hover { background: $list-highlight; } .routing_engines, #route_from, #route_to { margin-left: 25px; } -.routing_marker { width: 15px; position: absolute; } +.routing_marker { width: 15px; position: absolute; cursor: move; } /* Rules for entity history */ @@ -1676,11 +1691,11 @@ tr.turn:hover { /* Rules for the log in page */ -#login_openid_buttons { +#login_auth_buttons { margin-bottom: 0; } -#login_openid_buttons li { +#login_auth_buttons li { float: left; padding: $lineheight/4 $lineheight/2; } @@ -1839,19 +1854,26 @@ tr.turn:hover { /* Rules for "flash" notice boxes shown at the top of the content area */ -.error { +.flash { padding: $lineheight; - background-color: #ff7070; -} -.warning { - padding: $lineheight; - background-color: #ffe0cc; -} + &.error { + background-color: #ff7070; + } -.notice { - padding: $lineheight; - background-color: #CBEEA7; + &.warning { + background-color: #ffe0cc; + } + + &.notice { + background-color: #CBEEA7; + } + + div.message { + display: inline-block; + margin-left: $lineheight / 2; + vertical-align: middle; + } } /* Rules for highlighting fields with rails validation errors */ @@ -1968,6 +1990,7 @@ input[type="email"], input[type="url"], input[type="password"], textarea { + color: #222; background-color: #fff; border: 1px solid #ccc; padding: 2px 5px;