X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6fca88ab16d7e762fed34f8cb0e8d0577991d79f..473d7cd179b2be697c8f1d9104fd3c556d14483e:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 14f7d5fbc..efd0ac265 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -317,7 +317,7 @@ body.small-nav { display: inline-block; } - .overlay-sidebar #sidebar .welcome.visible { + .overlay-sidebar #sidebar .welcome { display: none; } @@ -422,9 +422,6 @@ body.small-nav { > div { position: relative; - float: left; - clear: both; - width: 100%; } } @@ -439,11 +436,7 @@ body.small-nav { } .welcome { - display: none; - - &.visible { - display: block; - } + display: block; } #sidebar_content { @@ -533,13 +526,6 @@ body.small-nav { } } -.layers-ui, -.share-ui { - li:last-child { - margin-bottom: 0; - } -} - .layers-ui { .base-layers { .leaflet-container { @@ -591,10 +577,6 @@ body.small-nav { } .share-ui { - .share-tab { - display: none; - } - .share-link { input[type=text], textarea { @@ -611,10 +593,6 @@ body.small-nav { } } - #embed_html { - resize: vertical; - } - #mapnik_scale { width: 100px; } @@ -1145,32 +1123,6 @@ tr.turn:hover { } } -/* Rules for the account settings page */ - -#accountForm .user_image { - margin-bottom: 0; -} - -#accountForm #user_image { - margin-left: 20px; -} - -#accountForm ul.accountImage-options { - margin-left: 120px; -} - -.nohome .location { - display: none; -} - -#homerow .message { - display: none; -} - -.nohome .message { - display: inline !important; -} - /* Rules for the oauth authorization page */ .oauth-authorize ul { @@ -1230,44 +1182,6 @@ tr.turn:hover { display: none; } -/* Rules for highlighting fields with rails validation errors */ - -.formError { - display: inline-block; - padding: 5px 10px; - margin-top: 5px; - border-radius: 4px; - font-size: 12px; - color: #fff; - background-color: #ff7070; -} - -/* Rules for rails validation error boxes */ - -#errorExplanation { - width: 400px; - border: 2px solid #ff7070; - padding: 0 $lineheight/2; - margin-bottom: $lineheight; - background-color: #f0f0f0; - - h2 { - margin: 0 -10px 10px -10px; - padding: $lineheight/4 $lineheight/4 $lineheight/4 15px; - font-weight: bold; - font-size: 12px; - background-color: #c00; - color: #fff; - text-align: left; - } - - p { - color: #333; - margin-bottom: 0px; - padding: $lineheight/4; - } -} - .search_form { background-color: $lightgrey;