Mercurial > kallithea
changeset 7225:6563dfd8c890
less: style panel headings with variables the same way as the (inverse) navbars are styled
No visible change by default, but splitting these variables out separately and
explicitly makes the system more flexible and prepare for future changes or
customizations.
@panel-primary-heading-bg already indirectly defaulted to
@kallithea-theme-main-color.
@panel-primary-text defaulted to white and would have to be customized anyway
if using a light background.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 02 Apr 2018 02:10:25 +0200 |
parents | 7156dc8f0b6b |
children | f534b213bc9b |
files | kallithea/public/less/kallithea-variables.less |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/less/kallithea-variables.less Mon Apr 02 02:10:22 2018 +0200 +++ b/kallithea/public/less/kallithea-variables.less Mon Apr 02 02:10:25 2018 +0200 @@ -35,6 +35,9 @@ @dropdown-link-hover-bg: @navbar-inverse-link-hover-bg; @grid-gutter-width: 2 * @kallithea-panel-margin; /* default: 30px */ @panel-heading-padding: 5px 15px; /* default: 10px 15px */ +@panel-primary-text: @kallithea-theme-inverse-color; +@panel-primary-heading-bg: @kallithea-theme-main-color; +@panel-primary-border: @panel-primary-heading-bg; @headings-font-weight: 700; @table-cell-padding: 2px 4px;