Changeset - 4f338e692608
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-10-30 01:34:57
dominikruf@gmail.com
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.
2 files changed with 1 insertions and 17 deletions:
0 comments (0 inline, 0 general)
kallithea/public/less/kallithea-variables.less
Show inline comments
 
@@ -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;
kallithea/public/less/style.less
Show inline comments
 
@@ -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;
0 comments (0 inline, 0 general)