Mercurial > kallithea
changeset 7062:4f338e692608
less: use default Bootstrap styling for buttons, customized with variables
The gradient styling of buttons is dropped, but we still use grey buttons
(using the average color from the gradient) instead of the Bootstrap default of
white buttons.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Mon, 30 Oct 2017 01:34:57 +0100 |
parents | dde553684091 |
children | b8d568d2eb21 |
files | kallithea/public/less/kallithea-variables.less kallithea/public/less/style.less |
diffstat | 2 files changed, 1 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/less/kallithea-variables.less Thu Oct 26 22:46:57 2017 +0200 +++ b/kallithea/public/less/kallithea-variables.less Mon Oct 30 01:34:57 2017 +0100 @@ -11,4 +11,5 @@ /* bootstrap override */ @brand-primary: @kallithea-theme-main-color; @link-hover-color: darken(@kallithea-theme-main-color, 20.0%); +@btn-default-bg: #E7E7E7; @font-family-monospace: Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace;
--- a/kallithea/public/less/style.less Thu Oct 26 22:46:57 2017 +0200 +++ b/kallithea/public/less/style.less Mon Oct 30 01:34:57 2017 +0100 @@ -761,23 +761,6 @@ .panel-body.settings .text-muted { margin: 5px 0; } -/* No white Bootstrap buttons */ -body .btn.btn-default { - background-color: #DADADA; - background-repeat: repeat-x; - background-image: linear-gradient(to bottom, #F4F4F4, #DADADA); - border-top: 1px solid #DDD; - border-left: 1px solid #c6c6c6; - border-right: 1px solid #DDD; - border-bottom: 1px solid #c6c6c6; -} -body .btn.btn-default:hover { - background-image: none; -} -/* use our link color for btn-link */ -.btn-link { - color: #577632; -} ins, div.options a:hover { text-decoration: none;