X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3458d881af4584e44d72bb682771e3c7a3cf6e68..3b43cb33cb756c19f8c635a66053a5b99b44eb6c:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index aad4d128e..56c32d9e7 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -2,6 +2,11 @@ $lineheight: 20px; $typeheight: 14px; +$offwhite: #f4f4ff; +$blue: #7092FF; +$grey: #AAA; +$hovercolor: 20%; + /* Styles common to large and small screens */ /* Minimal CSS reset */ @@ -375,7 +380,7 @@ table { .deemphasize { color: #999; a { - color: #7092FF; + color: $blue; } } @@ -610,7 +615,7 @@ table { position: relative; padding: $lineheight/2 $lineheight; z-index: 9999; - background: #F4F4FF; + background: $offwhite; border-bottom: 1px solid #ccc; } h4 { @@ -753,6 +758,16 @@ ul.results-list li { border-bottom: 1px solid #ccc; } text-align: center; } +#drag_box { + display: inline; + padding: $lineheight/2 $lineheight; +} + +#export_commit { + width: 50%; + margin: auto; +} + /* Rules for the main content area */ #content { @@ -828,7 +843,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; } .content-heading { position: relative; padding: $lineheight; - background: #F4F4FF; + background: $offwhite; h1, h2 { margin-bottom: $lineheight/2; line-height: 100%; @@ -1252,9 +1267,9 @@ ul.results-list li { border-bottom: 1px solid #ccc; } float: left; } #decline { - background: #AAA; + background: $grey; &:hover { - background: #777; + background: darken($grey, $hovercolor); } } } @@ -1262,7 +1277,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; } margin-bottom: $lineheight; } #contributorGuidance { - background-color: #f4f4ff; + background-color: $offwhite; border-radius: 4px; -moz-border-radius: 4px; } @@ -1280,9 +1295,8 @@ ul.results-list li { border-bottom: 1px solid #ccc; } border: 1px solid #ccc; } -.accountImage-options { - width: 50%; - display: inline-block; +.accountImage-options p { + margin-bottom: 0px; } .nohome .location { @@ -1531,12 +1545,12 @@ a.button { min-width: 120px; margin-bottom: $lineheight/2; color: white; - background: #7092FF; + background: $blue; text-align: center; border-radius: 2px; -moz-border-radius: 2px; &:hover { - background: blue; + background: darken($blue, $hovercolor); text-decoration: none; } &:last-child { @@ -1555,7 +1569,7 @@ a.button.submit { .table0, .item0 { - background: #F4F4FF; + background: $offwhite; } .table1, @@ -1609,14 +1623,14 @@ a.button.submit { img { padding: $lineheight; - background-color: #f4f4ff; + background-color: $offwhite; display: block; max-width: 100%; margin: auto; } blockquote { - border-left: $lineheight solid #f4f4ff; + border-left: $lineheight solid $offwhite; padding-left: $lineheight; margin: 0; color: #7E7E7E; @@ -1657,7 +1671,7 @@ a.button.submit { .richtext_preview { display: inline-block; padding: $lineheight; - background-color: #f4f4ff; + background-color: $offwhite; overflow-x: auto; &.loading {