Mercurial > kallithea
changeset 7006:c52f18a1c2c7
less: clean up lang_stats style
- remove background-color bootstrap already uses @brand-primary
- text-decoration: none is unnecessary
- move to separate block and add comment
author | domruf <dominikruf@gmail.com> |
---|---|
date | Sat, 28 Oct 2017 18:33:56 +0200 |
parents | f56a7b14b221 |
children | ddba357cb1e3 |
files | kallithea/public/css/style.css kallithea/public/less/style.less |
diffstat | 2 files changed, 21 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/style.css Fri Oct 27 22:02:56 2017 +0200 +++ b/kallithea/public/css/style.css Sat Oct 28 18:33:56 2017 +0200 @@ -93,6 +93,15 @@ margin-top: -9px; margin-right: 5px; } +/* language bars (summary page) */ +#lang_stats .progress-bar { + min-width: 15px; + border-top-right-radius: 8px; + border-bottom-right-radius: 8px; +} +#lang_stats td { + padding: 1px 0 !important; +} .form-group > label { float: left; } @@ -757,17 +766,6 @@ .trending_language_tbl tr { border-spacing: 1px; } -#lang_stats .progress-bar { - background-color: #577632; - min-width: 15px; - text-decoration: none; - border-top-right-radius: 8px; - border-bottom-right-radius: 8px; -} -#lang_stats table td { - border-bottom: none !important; - padding: 1px 0 !important; -} h3.files_location { font-size: 1.8em; font-weight: 700;
--- a/kallithea/public/less/style.less Fri Oct 27 22:02:56 2017 +0200 +++ b/kallithea/public/less/style.less Sat Oct 28 18:33:56 2017 +0200 @@ -101,6 +101,18 @@ margin-right: 5px; } +/* language bars (summary page) */ +#lang_stats { + .progress-bar { + min-width: 15px; + border-top-right-radius: 8px; + border-bottom-right-radius: 8px; + } + td { + padding: 1px 0 !important; + } +} + .form-group > label { float: left; } @@ -535,17 +547,6 @@ .trending_language_tbl tr { border-spacing: 1px; } -#lang_stats .progress-bar { - background-color: #577632; - min-width: 15px; - text-decoration: none; - border-top-right-radius: 8px; - border-bottom-right-radius: 8px; -} -#lang_stats table td { - border-bottom: none !important; - padding: 1px 0 !important; -} h3.files_location { font-size: 1.8em; font-weight: 700;