aboutsummaryrefslogtreecommitdiff
path: root/scss/_navbar.scss
AgeCommit message (Collapse)AuthorFilesLines
2021-01-19Backport #32037 (#32833)XhmikosR1-0/+9
* Backport #32037 Add `.navbar-nav-scroll` for vertical scrolling of navbar content * drop the css var for a Sass css Co-authored-by: Mark Otto <[email protected]>
2020-11-13Manually backport #32121 (#32141)XhmikosR1-2/+1
Use correct value order Co-authored-by: Martijn Cuppens <[email protected]>
2019-08-17Responsive containers (follow-up to #29095) (#29118)Mark Otto1-3/+36
* Follow-up to #29095 This PR fixes the responsive containers that were added in #29095, originally stubbed out in #25631. Apologies to @browner12 for getting that wrong. Fixes #25631. * update navbar as well because we cannot reset all containers uniformly * Update navbars example to include container-xl example to ensure containers match * rewrite responsive containers docs, add table of max-widths * Update container docs - Move table up to the intro - Remove the container example because it's actually hella confusing - Update and link to grid example as a demo instead
2019-08-17fix broken classesMark Otto1-2/+2
2019-08-17v4/v5: Add responsive containers (#29095)Mark Otto1-6/+3
* create responsive containers provide more flexibility and allow the user to determine when containers switch from fluid to fixed width. * fix the base container code this commit fixes the non-media portion of the generated CSS. I learned about the `@extends` directive and was able to put it to good use. I create a new temporary map that contains all the main `$container-max-widths` and join it to our 2 special cases of 'xs' and 'fluid'. Then we loop through that and, with the appropriate infixes, extend our placeholder * formatting for style forgot to run my tests before the last push, i think these are better. * finish incomplete comment * fix the responsive containers using the `@extend` directive I was able to clean up this code * fix responsive containers in the navbar mostly we just look through all of our breakpoints so we can include all of the responsive container classes in the tweaks we have to do for the navbar (redeclaring flex properties, don't double up on padding, etc) * Simplify container extends * Simplify navbar containers * Rearrange, add comments, ensure everything is nested in $enable-grid-classes * Reduce new CSS by using attribute selector We avoid using `@extend` whenever possible, and this is more readable * Update _grid.scss * Update _navbar.scss * Add docs for responsive containers, redesign the container layout page * Add to the Grid example
2019-07-31Apply `at-mixin-argumentless-call-parentheses: always` stylelint rule for v4 ↵Martijn Cuppens1-8/+8
mixins
2019-07-30Backport "Use escape-svg() function (#29077)"Martijn Cuppens1-2/+2
Adapted for v4-dev.
2019-02-07Responsive font size implementation (#23816)Martijn Cuppens1-2/+2
2019-01-08Space fixes (#27997)Martijn Cuppens1-1/+1
2019-01-04Move hand cursor for buttons to rebootMartijn Cuppens1-5/+0
2018-09-13creates variables for navbar brand colors #27187Andres Galante1-4/+4
2018-07-09correct spelling errors (#26837)Andrew1-2/+2
2018-03-12Add basic position to dropup/right/left and dropdown-menu-right (#25400)ysds1-12/+0
2018-01-15Consistently use `:disabled` rather than `[disabled]` selector (#25317)Patrick H. Lauke1-1/+1
Closes https://github.com/twbs/bootstrap/issues/25316
2017-12-30removes hardcoded value for nav-link paddingAndres Galante1-2/+2
2017-12-27Opinionated: reintroduce `cursor:pointer`patrickhlauke1-0/+5
Explicitly re-adds the "hand" `cursor:pointer` for non-disabled `.btn`, `.close`, `.navbar-toggler` elements, as well as forcing `page-link` pagination controls to always have the "hand" cursor (even if an author uses it on, say, `<button>` elements for a dynamically updating in-page pagination). Controversial, as everybody jumped on the bandwagon following this article https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b - which does have its merits of course, but there are also counter-arguments like http://kizu.ru/en/issues/cursor-pointer/ And seeing the amount of issues we've seen following the change, and the potential complexity needed to consistently address the cursor issue (see https://github.com/twbs/bootstrap/issues/24156 where i explore how the cursor needs to be based on "intent", and how that's tough to determine), I'm favouring an opinionated take here of just reintroducing the `cursor:pointer`.
2017-11-06Minor Sass consistency changes. (#24677)XhmikosR1-1/+1
* use `background-color` instead of the shorthand * use `outline: 0` consistently * fix transform order * remove quotes from `SFMono-Regular`
2017-10-04Fix dropup in bottom navbar for all the breakpointsJohann-S1-19/+7
2017-10-04Fix caret position for Dropdown in a bottom navbarJohann-S1-5/+16
2017-10-04Fix dropup in navbarJohann-S1-0/+8
2017-10-02Switch to stylelint. (#23572)XhmikosR1-3/+1
2017-10-02fixes navbar-text link colors (#23702)Andres Galante1-0/+14
2017-09-17Minor Sass cleanup and consistency changes. (#23959)XhmikosR1-2/+1
2017-09-12fixes #23926 responsive state on navbarAndres Galante1-0/+4
2017-09-12Fix navbar IE (#23652)Martijn Cuppens1-1/+1
2017-08-04fix navbar alignment for never expand situationsMark Otto1-0/+3
2017-08-04given `width: 100%` is always on a container now and it's constrained by ↵Mark Otto1-6/+0
max-width, we can remove our navbar changes from #21722 and #22383
2017-06-25update navbars to rename .navbar-inverse to .navbar-dark, update all navbar ↵Mark Otto1-11/+11
examples and variables
2017-06-17Some .navbar .dropdown-menu optimisation (#22776)Catalin Zalog1-12/+0
2017-06-17Reset Popper.js styles for Dropdowns in navbarJohann-S1-4/+19
2017-05-26Rename `$navbar-*-toggler-bg` to `$navbar-*-toggler-icon-bg` since it's ↵Patrick Yeo1-2/+2
placed on .navbar-toggler-icon (#22564)
2017-05-22Fix (css): force .navbar .dropdown-menu positioningCatalin Zalog1-9/+8
2017-05-16Force dropdown to be displayed in position static for navbar, to override ↵Johann-S1-1/+2
Popper css
2017-04-16Rename variable $input-border-focus to $input-border-color-focus (#22413)Patrick Yeo1-2/+2
* Rename variable $input-border-focus to $input-border-color-focus * Rename variables $pagination-hover-border, $pagination-active-border, $pagination-disabled-border to $pagination-hover-border-color, $pagination-active-border-color, $pagination-disabled-border-color, respectively * Rename variables $state-*-border to $state-*-border-color, respectively * Rename variables $alert-*-border to $alert-*-border-color * Rename $list-group-active-border to $list-group-active-border-color * Rename $table-inverse-border to $table-inverse-border-color * Rename $btn-*-border to $btn-*-border-color * Rename $navbar-*-toggler-border to $navbar-*-toggler-border-color
2017-04-08Rename some .open to .show (#22389)Mark Otto1-4/+4
* no more outline overrides * rename old .open to .show
2017-04-08css: .navbar child's aligningCatalin Zalog1-4/+2
Vertical centering `.navbar` flex children's Demo: http://jsbin.com/fibini
2017-04-08css: .navbar-expand .dropdown positionCatalin Zalog1-1/+5
Set/reset `.dropdown` position when `.navbar-expand`. Demo: http://jsbin.com/pojecuh
2017-03-26.navbar-toggler colorCatalin Zalog1-4/+4
Change the .navbar-toggler to default contextual .navbar-*-color. <iframe height='265' scrolling='no' title='Bootstrap - .navbar-toggler color' src='//codepen.io/zalog/embed/MJLZOE/?height=265&theme-id=light&default-tab=css,result&embed-version=2' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'>See the Pen <a href='http://codepen.io/zalog/pen/MJLZOE/'>Bootstrap - .navbar-toggler color</a> by Catalin Zalog (<a href='http://codepen.io/zalog'>@zalog</a>) on <a href='http://codepen.io'>CodePen</a>. </iframe>
2017-03-23rename from .navbar-toggleable to .navbar-expand to reflect mobile first ↵Mark Otto1-2/+2
approach everywhere else
2017-03-23Allow to customize navbar-brand font-sizePierre-Denis Vanduynslager1-1/+1
2017-03-23Harmonize navbar-brand, navbar-text and nav-link heightPierre-Denis Vanduynslager1-4/+4
2017-03-23revamp the collapse behaviorMark Otto1-5/+20
instead of flex column, use wrap and an explicit flexbox break with flex-basis 100% on the navbar-collapse. add some additional container styles for enabling flex behavior when content isn't immediate child of .navbar
2017-03-23account for fluid containersMark Otto1-2/+4
2017-03-23ditch abs positioned togglers for explicit justify-content: space-between on ↵Mark Otto1-11/+0
parent
2017-03-23Simplify generation and get rid of previously added "breakpoint-previous" ↵Pierre-Denis Vanduynslager1-4/+4
function
2017-03-23Generate correct breakpoints for navbar-toggleable-* and generate toggleable ↵Pierre-Denis Vanduynslager1-3/+3
without media query to never collapse
2017-01-24Add align self to navbar brand (#21626)Sergey Kovalenko1-0/+1
2017-01-21Fix container within navbar on smallest breakpoint (#21722)Pierre Vanduynslager1-0/+7
* Make container in navbar to occupy full width even on smallest breakpoint * Fix typo in comment * Apply fix only on smaller breakpoint * drop the comment as chrome doesn't have a bug here
2017-01-05Doc updates (#21542)Quy1-1/+1
* Change it's to its. * Fix links * Fix typos
2017-01-02Remove .navbar-dividerQuy1-8/+0