X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/149e960b8798536a00000c285b66c788a160ba39..989016b933369718d752f831c567489c9aea5358:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index f068438bf..4c1345eaa 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -132,7 +132,7 @@ h6:first-child { .column-1 { width: 50%; - margin-bottom: $lineheight/2; + margin: 0 0 $lineheight/2 0; } .small_icon { @@ -362,6 +362,7 @@ table { padding: 0; width: 15px; height: 15px; + min-width: 0; text-indent: -1000px; overflow: hidden; background: image-url("sprite.png") 0 0 no-repeat; @@ -1219,7 +1220,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; } /* Rules for the login page */ #login_openid_buttons { - height: 56px; + margin-bottom: 0; } #login_openid_buttons li { @@ -1301,12 +1302,16 @@ ul.results-list li { border-bottom: 1px solid #ccc; } } .content_map.settings_map { - float: none; width: 50%; + float: none; } /* Rules for message in/out box page */ +.message #content { + max-width: 740px; +} + .messages { width: 100%; border: 1px solid #ddd; @@ -1419,7 +1424,7 @@ ul.results-list li { border-bottom: 1px solid #ccc; } .standard-form { fieldset { - margin-bottom: $lineheight/2; + margin-bottom: $lineheight; } label { display: block; @@ -1429,10 +1434,16 @@ ul.results-list li { border-bottom: 1px solid #ccc; } font-weight: bold; line-height: 1.5; } + .form-section { + margin-top: $lineheight; + padding-top: $lineheight; + border-top: 1px solid $keyline; + } .form-row { margin-bottom: $lineheight/2; } - input[name=remember_me] { + input[name=remember_me], + input[name=remember_me_openid] { float: left; } } @@ -1447,7 +1458,13 @@ input[type="url"], input[type="password"], textarea { border: 1px solid #ccc; - padding: 2px; + padding: 2px 5px; + margin: 0; + width: 200px; +} + +textarea { + padding: 5px; } /* Rules for user images */ @@ -1539,7 +1556,7 @@ a.button { display: block; padding: $lineheight/4; min-width: 120px; - margin-bottom: $lineheight/2; + margin: 0 0 $lineheight/2 0; color: white; background: $blue; text-align: center; @@ -1561,6 +1578,33 @@ a.button.submit { } } +.buttons { + min-width: 200px; + + input[type="submit"], + .button { + box-sizing: border-box; + display: inline-block; + margin-bottom:0; + width:50%; + min-width: 0; + max-width: 150px; + margin-left: 2px; + margin-right: 2px; + } + input:first-child, + .button:first-child { + border-radius:2px 0 0 2px; + border-right:1px solid white; + margin-left: 0px; + } + input:last-child, + .button:last-child { + border-radius:0 2px 2px 0; + margin-right: 0px; + } +} + /* Rules for doing distinct colour of alternate table rows */ .table0, @@ -1718,25 +1762,6 @@ a.button.submit { margin-bottom: $lineheight/4; white-space: nowrap; } - - input.richtext_doedit, - input.richtext_dopreview { - margin-right: $lineheight/2; - } - } - - .buttons input[type="submit"] { - display: inline-block; - margin-bottom:0; - width:99px; - min-width:99px; - } - .buttons input:first-child { - border-radius:2px 0 0 2px; - margin-right:1px; - } - .buttons input:last-child { - border-radius:0 2px 2px 0; } }