# HG changeset patch # User Marcin Kuzminski # Date 2018-11-27 11:20:38 # Node ID aeca5dece6544037c3dae7a7adee7c54def09dc1 # Parent 3c175ca22baf11347333db96f9c5b9fce04edd23 style: updated li style and markdown style. - references #5507 diff --git a/rhodecode/public/502.html b/rhodecode/public/502.html --- a/rhodecode/public/502.html +++ b/rhodecode/public/502.html @@ -27,10 +27,7 @@ padding-left: 10px; } li { - list-style-type: none; - } - li:before { - content: "\2014\00A0"; + list-style-type: disc; } .error_message { font-weight: normal; diff --git a/rhodecode/public/css/comments.less b/rhodecode/public/css/comments.less --- a/rhodecode/public/css/comments.less +++ b/rhodecode/public/css/comments.less @@ -548,10 +548,9 @@ form.comment-form { } .nav-links li { display: inline-block; + list-style-type: none; } -.nav-links li:before { - content: ""; -} + .nav-links li a.disabled { cursor: not-allowed; } diff --git a/rhodecode/public/css/forms.less b/rhodecode/public/css/forms.less --- a/rhodecode/public/css/forms.less +++ b/rhodecode/public/css/forms.less @@ -219,7 +219,6 @@ form.rcform { li { list-style-type: none; - &:before { content:none; } &:after { content: ""; float: left; diff --git a/rhodecode/public/css/helpers.less b/rhodecode/public/css/helpers.less --- a/rhodecode/public/css/helpers.less +++ b/rhodecode/public/css/helpers.less @@ -43,7 +43,9 @@ a { cursor: pointer; } float: right; clear: right; - li:before { content:none; } + li { + list-style-type: none; + } } //--- DEVICE-SPECIFIC CLASSES ---------------// diff --git a/rhodecode/public/css/legacy_code_styles.less b/rhodecode/public/css/legacy_code_styles.less --- a/rhodecode/public/css/legacy_code_styles.less +++ b/rhodecode/public/css/legacy_code_styles.less @@ -126,6 +126,11 @@ div.markdown-block h6 { overflow: visible !important; } +div.markdown-block h1, +div.markdown-block h2 { + border-bottom: 1px #e6e5e5 solid !important; +} + div.markdown-block h1 { font-size: 32px; margin: 15px 0 15px 0 !important; @@ -135,7 +140,6 @@ div.markdown-block h1 { div.markdown-block h2 { font-size: 24px !important; margin: 34px 0 10px 0 !important; - border-top: 3px #e6e5e5 solid !important; padding-top: 15px !important; padding-bottom: 8px !important; } @@ -199,6 +203,7 @@ div.markdown-block pre { div.markdown-block img { border-style: none; background-color: #fff; + padding-right: 20px; } @@ -317,9 +322,13 @@ div.rst-block h3 { margin: 1em 0 !important; } +div.rst-block h1, +div.rst-block h2 { + border-bottom: 1px #e6e5e5 solid !important; +} + div.rst-block h2 { margin-top: 1.5em !important; - border-top: 4px solid #e0e0e0 !important; padding-top: .5em !important; } diff --git a/rhodecode/public/css/main.less b/rhodecode/public/css/main.less --- a/rhodecode/public/css/main.less +++ b/rhodecode/public/css/main.less @@ -315,7 +315,6 @@ ul.auth_plugins { margin-right: @padding; } - &:before { content: none; } } } @@ -1325,6 +1324,7 @@ table.integrations { position: relative; width: 100%; padding-bottom: 8px; + list-style-type: none; } .reviewer_entry { @@ -1719,8 +1719,8 @@ BIN_FILENODE = 7 padding: 0px 0px; } -.pull-request-merge li:before{ - content:none; +.pull-request-merge li { + list-style-type: none; } .pull-request-merge .pull-request-wrap { @@ -1957,7 +1957,7 @@ BIN_FILENODE = 7 font-size: @journal-fontsize; line-height: 1em; - &:before { content: none; } + list-style-type: none; } } } diff --git a/rhodecode/public/css/navigation.less b/rhodecode/public/css/navigation.less --- a/rhodecode/public/css/navigation.less +++ b/rhodecode/public/css/navigation.less @@ -201,8 +201,7 @@ padding: 0 2px; } } - - &:before { content: none; } + list-style-type: none; } > li { @@ -305,8 +304,7 @@ line-height: 1em; color: @grey3; background-color: @grey6; - - &:before { content: none; } + list-style-type: none; a { display: block; @@ -398,8 +396,6 @@ line-height: 1em; list-style-type: none; - &:before { content: none; } - a { display: block; height: 16px; @@ -461,8 +457,6 @@ line-height: 1em; color: @grey6; - &:before { content: none; } - &>.select2-result-label { padding: 8px 0; border-bottom: @border-thickness solid @grey3; @@ -494,8 +488,7 @@ line-height: 1em; font-family: @text-light; color: @grey2; - - &:before { content: none; } + list-style-type: none; &:hover { background-color: @grey3; @@ -520,8 +513,7 @@ ul#context-pages { li { line-height: 1em; - - &:before { content: none; } + list-style-type: none; a { color: @grey3; @@ -622,6 +614,7 @@ ul#context-pages { padding-bottom: @menupadding; line-height: 1em; color: @grey4; + list-style-type: none; &.active a { color: @grey2; @@ -630,8 +623,6 @@ ul#context-pages { a { color: @grey4; } - - &:before { content: none; } } } diff --git a/rhodecode/public/css/readme-box.less b/rhodecode/public/css/readme-box.less --- a/rhodecode/public/css/readme-box.less +++ b/rhodecode/public/css/readme-box.less @@ -17,6 +17,11 @@ div.readme_box h6 { overflow: visible !important; } +div.readme_box h1, +div.readme_box h2 { + border-bottom: 1px #e6e5e5 solid !important; +} + div.readme_box h1 { font-size: 32px; margin: 15px 0 15px 0 !important; @@ -26,7 +31,6 @@ div.readme_box h1 { div.readme_box h2 { font-size: 24px !important; margin: 34px 0 10px 0 !important; - border-top: 3px #e6e5e5 solid !important; padding-top: 15px !important; padding-bottom: 8px !important; } @@ -90,6 +94,7 @@ div.readme_box pre { div.readme_box img { border-style: none; background-color: #fff; + padding-right: 20px; } @@ -107,7 +112,7 @@ div.readme_box ol { div.readme_box ul li, div.readme_box ol li { - list-style: bullet !important; + list-style: disc !important; margin: 6px !important; padding: 0 !important; } diff --git a/rhodecode/public/css/select2.less b/rhodecode/public/css/select2.less --- a/rhodecode/public/css/select2.less +++ b/rhodecode/public/css/select2.less @@ -174,8 +174,6 @@ select.select2{height:28px;visibility:hi line-height: 1em; list-style-type: none; - &:before { content: none; } - &:hover, &.select2-highlighted { background-color: @rclightblue; diff --git a/rhodecode/public/css/summary.less b/rhodecode/public/css/summary.less --- a/rhodecode/public/css/summary.less +++ b/rhodecode/public/css/summary.less @@ -104,11 +104,7 @@ padding-left: 0; li { - - &:before { - content: none; - width: 0; - } + list-style-type: none; } } } diff --git a/rhodecode/public/css/tags.less b/rhodecode/public/css/tags.less --- a/rhodecode/public/css/tags.less +++ b/rhodecode/public/css/tags.less @@ -49,8 +49,6 @@ margin: 0 0 @padding; line-height: 1em; list-style-type: none; - - &:before { content: none; } } } diff --git a/rhodecode/public/css/type.less b/rhodecode/public/css/type.less --- a/rhodecode/public/css/type.less +++ b/rhodecode/public/css/type.less @@ -274,8 +274,11 @@ mark, list-style: none; text-align: right; - li:before { content: none; } - li { float: right; } + li { + float: right; + list-style-type: none; + } + a { display: inline-block; margin-left: @textmargin/2; @@ -338,15 +341,7 @@ li { ul li { position: relative; - display: block; - list-style-type: none; - - &:before { - content: "\2014\00A0"; - position: absolute; - top: 0; - left: -1.25em; - } + list-style-type: disc; p:first-child { display:inline;