# HG changeset patch # User Mads Kiilerich # Date 2018-04-02 02:10:25 # Node ID 6563dfd8c8900befb3010e9b80cd89b95046565d # Parent 7156dc8f0b6b658cf8ea51591d7f9431f1a87b0e 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. diff --git a/kallithea/public/less/kallithea-variables.less b/kallithea/public/less/kallithea-variables.less --- a/kallithea/public/less/kallithea-variables.less +++ b/kallithea/public/less/kallithea-variables.less @@ -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;