Changeset - 4d1837a9b504
[Not reviewed]
default
0 2 0
Mads Kiilerich - 8 years ago 2018-02-16 01:40:00
mads@kiilerich.com
less: prepare styling for different navbar-height

Use navbar-height in the custom styling of select2 navbar entries so they
adjust to the navbar height.

The custom navbar-brand styling should however only apply to the main navbar.
The contextbar is better without.
2 files changed with 3 insertions and 4 deletions:
0 comments (0 inline, 0 general)
kallithea/public/less/kallithea-select2.less
Show inline comments
 
@@ -43,6 +43,7 @@
 
  .navbar-nav {
 
    > li > .select2-container a {
 
      padding: @nav-link-padding;
 
      height: @navbar-height;
 
      padding-top:    @navbar-padding-vertical;
 
      padding-bottom: @navbar-padding-vertical;
 
    }
kallithea/public/less/style.less
Show inline comments
 
@@ -55,12 +55,10 @@ a.permalink {
 
}
 

	
 
/* logo */
 
nav.navbar .navbar-brand {
 
nav.navbar.mainmenu > .navbar-header > .navbar-brand {
 
  font-size: 20px;
 
  padding-top: 12px;
 
}
 
nav.navbar.mainmenu .navbar-brand .branding {
 
  &:before {
 
  > .branding:before {
 
    content: "";
 
    display: inline-block;
 
    margin-right: .2em;
0 comments (0 inline, 0 general)