Adjust navbar styling
This commit is contained in:
parent
3994917ce9
commit
2dbc6eff01
|
@ -123,49 +123,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile--image-avatar {
|
.profile--image-avatar {
|
||||||
min-height: 50px;
|
min-height: 40px;
|
||||||
min-width: 50px;
|
min-width: 40px;
|
||||||
height: 50px;
|
height: 40px;
|
||||||
width: 50px;
|
width: 40px;
|
||||||
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-inverse {
|
.navbar-inverse {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 769px) {
|
|
||||||
nav.navbar .nav > li:not(.profile--image-dropdown) {
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
&:before {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
background: $navbar-inverse-link-color;
|
|
||||||
height: 0px;
|
|
||||||
-webkit-transition-property: height;
|
|
||||||
transition-property: height;
|
|
||||||
-webkit-transition-duration: 0.3s;
|
|
||||||
transition-duration: 0.3s;
|
|
||||||
-webkit-transition-timing-function: ease-out;
|
|
||||||
transition-timing-function: ease-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover, &:focus, &:active {
|
|
||||||
&:before {
|
|
||||||
height: 4px
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.active:before {
|
|
||||||
height: 4px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
nav.navbar .nav {
|
nav.navbar .nav {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%nav.navbar.navbar-light.navbar-expand-lg.bg-primary.fixed-top{role: "navigation"}
|
%nav.navbar.navbar-dark.navbar-expand-lg.bg-primary.fixed-top{role: "navigation"}
|
||||||
.container{class: ios_web_app? ? "ios-web-app" : ''}
|
.container{class: ios_web_app? ? "ios-web-app" : ''}
|
||||||
%a.navbar-brand{href: "/"}= APP_CONFIG['site_name']
|
%a.navbar-brand{href: "/"}= APP_CONFIG['site_name']
|
||||||
%button.navbar-toggler{"data-target" => "#j2-main-navbar-collapse", "data-toggle" => "collapse", type: "button"}
|
%button.navbar-toggler{"data-target" => "#j2-main-navbar-collapse", "data-toggle" => "collapse", type: "button"}
|
||||||
|
|
Loading…
Reference in New Issue