X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f07bdbf90553f373d8df0e456194d6726011c5c8..ce3b92c035346a3f9443e05698dc1a6537f17a6b:/app/assets/stylesheets/common.scss?ds=sidebyside diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 9d262d8f3..cb96fa998 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -5,7 +5,7 @@ /* Minimal CSS reset */ -html, body, ul, ol, li, form, fieldset, legend, input { +html, body, form, fieldset, legend, input { margin: 0; padding: 0; border: 0; @@ -30,34 +30,11 @@ table { border-spacing: 0; } -li { list-style: none; } - input, select, textarea, body { font: #{$typeheight}/#{$lineheight} "Helvetica Neue",Arial,sans-serif; } -abbr, acronym { - text-decoration: underline dotted; - cursor: help; -} - -strong { - font-weight: bold; -} - -/* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */ - -.clearfix:before, -.clearfix:after { - content: " "; - display: table; -} - -.clearfix:after { - clear: both; -} - .fillL { background-color: white; } /* Default rules for the body of every page */ @@ -251,6 +228,7 @@ header { nav.primary { > ul { + padding: 0; $border: 1px solid $green; border: $border; @@ -317,6 +295,9 @@ nav.secondary { > ul { vertical-align: middle; + margin: 0; + padding: 0; + a, .dropdown-toggle { display: inline-block; text-decoration: none; @@ -336,6 +317,7 @@ nav.secondary { border: $border; border-radius: $border-radius; margin-left: 10px; + padding: 0; > li { border-right: $border; @@ -1002,9 +984,14 @@ header .search_forms, /* Rules for search sidebar */ #sidebar .search_results_entry { + ul { + padding: 0; + } + ul li { border-bottom: $keyline; cursor: pointer; + list-style-type: none; &:first-child { border-top: $keyline; } &.selected { background: $list-highlight; } } @@ -1123,10 +1110,6 @@ tr.turn:hover { border-radius: 3px; } - .paginate ul { - padding-left: 20px; - } - .browse-field { margin-bottom: 10px; @@ -1450,7 +1433,7 @@ tr.turn:hover { /* Rules for the edit trace form */ .edit_trace { - .form-row p { + .standard-form-row p { margin-bottom: 0px; } @@ -1507,10 +1490,6 @@ tr.turn:hover { margin-bottom: 0; } -#friends-container .contact-activity ul { - margin-left: 70px; -} - .users-show { // Silly exception; remove when user page is redesigned. .content-inner { @@ -1908,15 +1887,6 @@ tr.turn:hover { margin-bottom: 0px; padding: $lineheight/4; } - - ul { - padding-left: $lineheight; - - li { - font-size: 12px; - list-style: disc; - } - } } /* Rules for forms */ @@ -1948,11 +1918,11 @@ tr.turn:hover { padding-top: $lineheight; border-top: 1px solid $lightgrey; } - .horizontal-list .form-row { + .horizontal-list .standard-form-row { float: left; padding-right: 10px; } - .form-row { + .standard-form-row { margin-bottom: $lineheight/2; } .form-list { @@ -1960,7 +1930,8 @@ tr.turn:hover { } .form-list li { margin-bottom: 5px; - } + list-style-type: none; + } input[type="checkbox"], input[type="radio"] { float: left; @@ -2044,6 +2015,7 @@ ul.secondary-actions { font-style: normal; margin-bottom: 0; margin-left: 0; + padding: 0; &.pager { display: inline-block; margin-right: 60px; @@ -2238,20 +2210,6 @@ a.button { margin: 0; color: $darkgrey; } - - ul, ol { - padding-left: $lineheight; - margin-bottom: $lineheight; - margin-left: $lineheight; - } - - ul > li { - list-style: disc; - } - - ol > li { - list-style: decimal; - } } .diary_post .richtext { @@ -2689,47 +2647,8 @@ input.richtext_title[type="text"] { opacity: 0.7; } -.report-related-block { - display:inline-block; -} - -.report-block { - width:475px; - float:left; - margin-right:100px; -} - -.related-reports { - width: 280px; - float: right; - - ul { - padding-left: $lineheight; - margin-bottom: 0; - - li { - list-style: disc; - } - } -} - -.issue-comments { - width:475px; -} - .issues-list { td:nth-child(2) { white-space: nowrap; } } - -.report-disclaimer { - ul { - padding-left: $lineheight; - margin-bottom: 0; - - li { - list-style: disc; - } - } -}