refactoring additional scss
This commit is contained in:
parent
673daac08f
commit
746e3d9e64
|
@ -6816,72 +6816,6 @@ a.skip-link {
|
|||
display: inline;
|
||||
width: auto; }
|
||||
|
||||
/* Navbar toggle
|
||||
* Custom button for toggling the `.navbar-collapse`, powered by the collapse
|
||||
* JavaScript plugin.
|
||||
* Navbar vertical align
|
||||
*/
|
||||
.navbar-toggle {
|
||||
position: relative;
|
||||
float: right;
|
||||
margin-right: 1rem;
|
||||
padding: 9px 10px;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
/*
|
||||
* We remove the `outline` here, but later compensate by attaching `:hover` styles to `:focus`.
|
||||
*/ }
|
||||
.navbar-toggle:focus {
|
||||
outline: 0; }
|
||||
.navbar-toggle .icon-bar {
|
||||
display: block;
|
||||
width: 22px;
|
||||
height: 2px;
|
||||
border-radius: 1px; }
|
||||
.navbar-toggle .icon-bar + .icon-bar {
|
||||
margin-top: 4px; }
|
||||
|
||||
.navbar .collapsing,
|
||||
.navbar .collapse.in {
|
||||
float: left;
|
||||
width: 100%; }
|
||||
|
||||
.navbar-dark .navbar-toggle {
|
||||
border: 1px solid #fff; }
|
||||
|
||||
.navbar-dark .icon-bar {
|
||||
border-bottom: 1px solid #fff; }
|
||||
|
||||
.navbar-dark .dropdown-menu {
|
||||
background-color: #292b2c; }
|
||||
|
||||
.navbar #main-menu {
|
||||
float: left; }
|
||||
|
||||
.navbar-nav .nav-item {
|
||||
float: left; }
|
||||
|
||||
.navbar-nav .nav-link {
|
||||
display: block;
|
||||
padding-top: .425rem;
|
||||
padding-bottom: .425rem; }
|
||||
.navbar-nav .nav-link + .nav-link {
|
||||
margin-left: 0rem; }
|
||||
|
||||
.navbar-nav .nav-item + .nav-item {
|
||||
margin-left: 0rem; }
|
||||
|
||||
.nav-link {
|
||||
margin-right: .425rem;
|
||||
margin-left: .425rem; }
|
||||
|
||||
.post-navigation,
|
||||
.paged-navigation {
|
||||
padding: 15px 0;
|
||||
margin: 30px 0;
|
||||
border-top: 1px solid #eceeef; }
|
||||
|
||||
.dropdown-menu .dropdown-menu {
|
||||
position: relative;
|
||||
display: block;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -69,76 +69,7 @@ a.skip-link {
|
|||
width: auto;
|
||||
}
|
||||
|
||||
/* Navbar toggle
|
||||
* Custom button for toggling the `.navbar-collapse`, powered by the collapse
|
||||
* JavaScript plugin.
|
||||
* Navbar vertical align
|
||||
*/
|
||||
.navbar-toggle {
|
||||
position: relative;
|
||||
float: right;
|
||||
margin-right: $navbar-padding-x;
|
||||
padding: 9px 10px;
|
||||
background-color: transparent;
|
||||
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
||||
border: 1px solid transparent;
|
||||
|
||||
/*
|
||||
* We remove the `outline` here, but later compensate by attaching `:hover` styles to `:focus`.
|
||||
*/
|
||||
&:focus { outline: 0; }
|
||||
|
||||
// Bars
|
||||
.icon-bar {
|
||||
display: block;
|
||||
width: 22px;
|
||||
height: 2px;
|
||||
border-radius: 1px;
|
||||
}
|
||||
.icon-bar + .icon-bar { margin-top: 4px; }
|
||||
}
|
||||
|
||||
.navbar {
|
||||
.collapsing,
|
||||
.collapse.in {
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-dark {
|
||||
.navbar-toggle { border: 1px solid #fff; }
|
||||
.icon-bar { border-bottom: 1px solid #fff; }
|
||||
.dropdown-menu { background-color: $gray-dark; }
|
||||
}
|
||||
|
||||
.navbar #main-menu { float:left; }
|
||||
|
||||
.navbar-nav {
|
||||
.nav-item { float: left; }
|
||||
|
||||
.nav-link {
|
||||
display: block;
|
||||
padding-top: .425rem;
|
||||
padding-bottom: .425rem;
|
||||
|
||||
+ .nav-link { margin-left: 0rem; }
|
||||
}
|
||||
|
||||
.nav-item + .nav-item { margin-left: 0rem; }
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
margin-right: .425rem;
|
||||
margin-left: .425rem;
|
||||
}
|
||||
|
||||
.post-navigation,
|
||||
.paged-navigation {
|
||||
padding: ($grid-gutter-width-base/2) 0;
|
||||
margin: $grid-gutter-width-base 0;
|
||||
border-top: 1px solid $gray-lighter;
|
||||
}
|
||||
|
||||
// Fixing BS dropdown in a dropdown
|
||||
.dropdown-menu .dropdown-menu {
|
||||
|
|
Reference in New Issue