# HG changeset patch # User domruf # Date 2017-10-28 18:33:56 # Node ID c52f18a1c2c7eee98a2f28d70247c8baca720903 # Parent f56a7b14b2214cc4d0422f24b283746232929877 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 diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -93,6 +93,15 @@ nav.navbar #logo > .navbar-brand > img { 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 @@ table#changesets .booktag { .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; diff --git a/kallithea/public/less/style.less b/kallithea/public/less/style.less --- a/kallithea/public/less/style.less +++ b/kallithea/public/less/style.less @@ -101,6 +101,18 @@ nav.navbar #logo > .navbar-brand > img { 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 @@ ul#summary-menu-stats { .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;