// Base class // // Kickstart any navigation component with a set of style resets. Works with // `<nav>`s, `<ul>`s or `<ol>`s. .nav { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; } .nav-link { display: block; padding: $nav-link-padding-y $nav-link-padding-x; @include font-size($nav-link-font-size); font-weight: $nav-link-font-weight; color: $nav-link-color; text-decoration: if($link-decoration == none, null, none); @include transition($nav-link-transition); &:hover, &:focus { color: $nav-link-hover-color; text-decoration: if($link-hover-decoration == underline, none, null); } // Disabled state lightens text &.disabled { color: $nav-link-disabled-color; pointer-events: none; cursor: default; } } // // Tabs // .nav-tabs { border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color; .nav-link { margin-bottom: -$nav-tabs-border-width; background: none; border: $nav-tabs-border-width solid transparent; @include border-top-radius($nav-tabs-border-radius); &:hover, &:focus { border-color: $nav-tabs-link-hover-border-color; // Prevents active .nav-link tab overlapping focus outline of previous/next .nav-link isolation: isolate; } &.disabled { color: $nav-link-disabled-color; background-color: transparent; border-color: transparent; } } .nav-link.active, .nav-item.show .nav-link { color: $nav-tabs-link-active-color; background-color: $nav-tabs-link-active-bg; border-color: $nav-tabs-link-active-border-color; } .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 { background: none; border: 0; @include border-radius($nav-pills-border-radius); } .nav-link.active, .show > .nav-link { color: $nav-pills-link-active-color; @include gradient-bg($nav-pills-link-active-bg); } } // // Justified variants // .nav-fill { > .nav-link, .nav-item { flex: 1 1 auto; text-align: center; } } .nav-justified { > .nav-link, .nav-item { flex-basis: 0; flex-grow: 1; text-align: center; } } .nav-fill, .nav-justified { .nav-item .nav-link { width: 100%; // Make sure button will grow } } // Tabbable tabs // // Hide tabbable panes to start, show them when `.active` .tab-content { > .tab-pane { display: none; } > .active { display: block; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
forms | Folder | 0755 |
|
|
helpers | Folder | 0755 |
|
|
mixins | Folder | 0755 |
|
|
utilities | Folder | 0755 |
|
|
vendor | Folder | 0755 |
|
|
_accordion.scss | File | 2.56 KB | 0644 |
|
_alert.scss | File | 1.44 KB | 0644 |
|
_badge.scss | File | 624 B | 0644 |
|
_bootstrap-grid.scss | File | 1.3 KB | 0644 |
|
_bootstrap-reboot.scss | File | 693 B | 0644 |
|
_bootstrap-utilities.scss | File | 393 B | 0644 |
|
_breadcrumb.scss | File | 923 B | 0644 |
|
_button-group.scss | File | 2.9 KB | 0644 |
|
_buttons.scss | File | 2.18 KB | 0644 |
|
_card.scss | File | 4.6 KB | 0644 |
|
_carousel.scss | File | 5.49 KB | 0644 |
|
_close.scss | File | 1.1 KB | 0644 |
|
_containers.scss | File | 1.17 KB | 0644 |
|
_dropdown.scss | File | 5.46 KB | 0644 |
|
_forms.scss | File | 256 B | 0644 |
|
_functions.scss | File | 7.72 KB | 0644 |
|
_grid.scss | File | 286 B | 0644 |
|
_helpers.scss | File | 218 B | 0644 |
|
_images.scss | File | 1.13 KB | 0644 |
|
_list-group.scss | File | 4.45 KB | 0644 |
|
_mixins.scss | File | 872 B | 0644 |
|
_modal.scss | File | 5.66 KB | 0644 |
|
_nav.scss | File | 2.61 KB | 0644 |
|
_navbar.scss | File | 6.65 KB | 0644 |
|
_offcanvas.scss | File | 1.72 KB | 0644 |
|
_pagination.scss | File | 1.64 KB | 0644 |
|
_popover.scss | File | 4.3 KB | 0644 |
|
_progress.scss | File | 1.14 KB | 0644 |
|
_reboot.scss | File | 12 KB | 0644 |
|
_root.scss | File | 1.14 KB | 0644 |
|
_spinners.scss | File | 1.49 KB | 0644 |
|
_tables.scss | File | 4.04 KB | 0644 |
|
_toasts.scss | File | 1.15 KB | 0644 |
|
_tooltip.scss | File | 2.54 KB | 0644 |
|
_transitions.scss | File | 309 B | 0644 |
|
_type.scss | File | 1.31 KB | 0644 |
|
_utilities.scss | File | 13.09 KB | 0644 |
|
_variables.scss | File | 61.69 KB | 0644 |
|