Changeset - 898026fdd3ca
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-10-27 20:13:39
dominikruf@gmail.com
less: set Bootstrap navbar height with variable
2 files changed with 5 insertions and 6 deletions:
0 comments (0 inline, 0 general)
kallithea/public/less/kallithea-variables.less
Show inline comments
 
@@ -10,12 +10,14 @@
 

	
 
/* 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;
 
@navbar-height:                     44px;
 
@navbar-padding-vertical:           12px;
 
@navbar-inverse-color:              @kallithea-theme-inverse-color;
 
@navbar-inverse-bg:                 @kallithea-theme-main-color;
 
@navbar-inverse-border:             @kallithea-theme-main-color;
 
@navbar-inverse-link-color:         @kallithea-theme-inverse-color;
 
@navbar-inverse-link-hover-bg:      tint(@kallithea-theme-main-color, 15.0%);
 
@navbar-inverse-link-active-bg:     @navbar-inverse-link-hover-bg;
kallithea/public/less/style.less
Show inline comments
 
@@ -50,16 +50,12 @@ a.permalink {
 
}
 

	
 
/* logo */
 
nav.navbar .navbar-brand {
 
  font-size: 20px;
 
  padding-top: 12px;
 
  height: 44px;
 
}
 
nav.navbar {
 
  min-height: 44px;
 
}
 
nav.navbar.mainmenu .navbar-brand .branding {
 
  &:before {
 
    content: "";
 
    display: inline-block;
 
    margin-right: .2em;
 
@@ -1047,9 +1043,10 @@ nav.navbar #quick li a.menu_link:focus,
 
}
 

	
 
nav.navbar #quick > li > a,
 
nav.navbar #quick .select2-container .select2-choice .select2-chosen,
 
#context-pages > ul > li > a,
 
#context-pages .select2-container .select2-choice .select2-chosen {
 
  padding: 0px 15px 1px 15px;
 
  line-height: 43px;
 
  padding: 0 15px 0 15px;
 
  line-height: @navbar-height;
 
  height: @navbar-height;
 
}
0 comments (0 inline, 0 general)