# HG changeset patch # User domruf # Date 2017-10-30 01:34:57 # Node ID 4f338e6926089c38ac518a564ed1ba82290db054 # Parent dde553684091a6d925ac762497b1162cc5c48f77 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. 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 @@ -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; 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 @@ -761,23 +761,6 @@ div.gravatar img { .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;