diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-25 13:13:57 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-25 13:13:57 +0100 |
| commit | d25ff2bddd44b9dac1ceb248424109d1782dd211 (patch) | |
| tree | 34fcfd824a1a72e7b4d431b688adcea532b62180 /minionlivesmatter/templates/assets/bootstrap/scss/_nav.scss | |
| parent | a2cbdd1b88ac723e5e441c0a3c22636f0a8c4dfd (diff) | |
| download | meta-d25ff2bddd44b9dac1ceb248424109d1782dd211.tar.gz meta-d25ff2bddd44b9dac1ceb248424109d1782dd211.zip | |
add minionlivesmatter as submodule
Diffstat (limited to 'minionlivesmatter/templates/assets/bootstrap/scss/_nav.scss')
| -rw-r--r-- | minionlivesmatter/templates/assets/bootstrap/scss/_nav.scss | 120 |
1 files changed, 0 insertions, 120 deletions
diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_nav.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_nav.scss deleted file mode 100644 index 731f1b7..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_nav.scss +++ /dev/null @@ -1,120 +0,0 @@ -// Base class -// -// Kickstart any navigation component with a set of style resets. Works with -// `<nav>`s or `<ul>`s. - -.nav { - display: flex; - flex-wrap: wrap; - padding-left: 0; - margin-bottom: 0; - list-style: none; -} - -.nav-link { - display: block; - padding: $nav-link-padding; - - @include hover-focus { - text-decoration: none; - } - - // Disabled state lightens text and removes hover/tab effects - &.disabled { - color: $nav-disabled-link-color; - cursor: $cursor-disabled; - } -} - - -// -// Tabs -// - -.nav-tabs { - border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color; - - .nav-item { - margin-bottom: -$nav-tabs-border-width; - } - - .nav-link { - border: $nav-tabs-border-width solid transparent; - @include border-top-radius($nav-tabs-border-radius); - - @include hover-focus { - border-color: $nav-tabs-link-hover-border-color $nav-tabs-link-hover-border-color $nav-tabs-border-color; - } - - &.disabled { - color: $nav-disabled-link-color; - background-color: transparent; - border-color: transparent; - } - } - - .nav-link.active, - .nav-item.show .nav-link { - color: $nav-tabs-active-link-color; - background-color: $nav-tabs-active-link-bg; - border-color: $nav-tabs-active-link-border-color $nav-tabs-active-link-border-color $nav-tabs-active-link-bg; - } - - .dropdown-menu { - // Make dropdown border overlap tab border - margin-top: -$nav-tabs-border-width; - // Remove the top rounded corners here since there is a hard edge above the menu - @include border-top-radius(0); - } -} - - -// -// Pills -// - -.nav-pills { - .nav-link { - @include border-radius($nav-pills-border-radius); - } - - .nav-link.active, - .nav-item.show .nav-link { - color: $nav-pills-active-link-color; - background-color: $nav-pills-active-link-bg; - } -} - - -// -// Justified variants -// - -.nav-fill { - .nav-item { - flex: 1 1 auto; - text-align: center; - } -} - -.nav-justified { - .nav-item { - flex-basis: 0; - flex-grow: 1; - text-align: center; - } -} - - -// Tabbable tabs -// -// Hide tabbable panes to start, show them when `.active` - -.tab-content { - > .tab-pane { - display: none; - } - > .active { - display: block; - } -} |
