aboutsummaryrefslogtreecommitdiff
path: root/scss/_navbar.scss
AgeCommit message (Collapse)AuthorFilesLines
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
2017-01-02update rest of docs, remove navbar specific modifiers, fix docs example cssMark Otto1-29/+0
2017-01-02Remove .navbar-divider; it's undocumented and wasn't updated with the ↵Mark Otto1-19/+0
flexbox navbar updates, so it's kinda bunk right now
2016-12-28lintingMark Otto1-1/+1
2016-12-28redo order of css, add contents at topMark Otto1-128/+150
this was mad confusing for awhile
2016-12-28line break for readibilityMark Otto1-0/+1
2016-12-28reflect nav changes here in the responsive viewsMark Otto1-10/+10
- since we're column to start, need to set row. - note that flex-direction cannot be inherited, so we have to set it twice. - apply the horizontal padding again to .nav-link. - remove the .nav-item styles (un-needed). - remove previous .nav-link styles as they were un-nested and potentially problematic in old placement should someone mix more navs in here.
2016-12-28don't let the toggle grow when it's the only flex childMark Otto1-0/+1
2016-12-28set the direction to column (aka, vertical) for mobile viewsMark Otto1-0/+1
2016-12-28remove extra line breakMark Otto1-1/+0
2016-12-28bring over styles from .nav for .navbar-navMark Otto1-3/+7
since we're no longer using the .nav as a base class, we need to bring over some base styles for redoing browser list styles and setting flex in motion. also brings with it some .nav-link styling. we're still using this global class, but with this small modification for alignment of content in responsive modes.