AdminLTE/build/scss/_brand.scss

57 lines
1,007 B
SCSS
Raw Normal View History

/*
* Component: Brand
* ----------------
*/
2018-03-17 18:07:55 +01:00
.brand-link {
$brand-link-padding-y: $navbar-brand-padding-y + $navbar-padding-y;
display: block;
font-size: $navbar-brand-font-size;
2018-03-17 18:07:55 +01:00
line-height: $line-height-lg;
padding: $brand-link-padding-y $sidebar-padding-x;
2018-03-17 18:07:55 +01:00
white-space: nowrap;
&:hover {
color: $white;
text-decoration: none;
}
[class*='sidebar-dark'] & {
2018-03-17 18:07:55 +01:00
border-bottom: 1px solid lighten($dark, 10%);
color: rgba($white, .8);
2018-03-17 18:07:55 +01:00
}
[class*='sidebar-light'] & {
2018-03-17 18:07:55 +01:00
border-bottom: 1px solid $gray-300;
color: rgba($black, .8);
2018-03-17 18:07:55 +01:00
}
}
.brand-image {
float: left;
2018-03-17 18:07:55 +01:00
line-height: .8;
margin-left: .8rem;
margin-right: .5rem;
margin-top: -3px;
max-height: 34px;
width: auto;
2018-03-17 18:07:55 +01:00
}
.brand-image-xs {
float: left;
line-height: .8;
margin-left: .8rem;
margin-right: .5rem;
margin-top: -3px;
max-height: 34px;
width: auto;
}
.brand-image-xl {
line-height: .8;
margin-bottom: -10px;
margin-top: -14px;
max-height: 40px;
width: auto;
}