refactoring additional scss

This commit is contained in:
Holger Könemann 2017-01-06 20:18:55 +01:00
parent 673daac08f
commit 746e3d9e64
4 changed files with 2 additions and 137 deletions

View File

@ -6816,72 +6816,6 @@ a.skip-link {
display: inline; display: inline;
width: auto; } 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 { .dropdown-menu .dropdown-menu {
position: relative; position: relative;
display: block; display: block;

2
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -69,76 +69,7 @@ a.skip-link {
width: auto; 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 // Fixing BS dropdown in a dropdown
.dropdown-menu .dropdown-menu { .dropdown-menu .dropdown-menu {