aboutsummaryrefslogtreecommitdiff
path: root/scss
AgeCommit message (Collapse)AuthorFilesLines
2017-05-23Use Popper.js to manage arrow positionJohann-S3-29/+56
2017-05-22Fix (css): force .navbar .dropdown-menu positioningCatalin Zalog1-9/+8
2017-05-17Use popper to align dropdown menu instead of using css with importantJohann-S1-14/+0
2017-05-16Force dropdown to be displayed in position static for navbar, to override ↵Johann-S1-1/+2
Popper css
2017-05-14Fix tooltip margin to be stick at their callerJohann-S2-5/+2
2017-05-14Fix dropdown-menu-right and dropdown-menu-left for DropdownJohann-S1-2/+2
2017-05-14Fix some css for the arrow of Popover/Tooltip + update documentationJohann-S2-48/+46
2017-05-14Handle dropup for DropdownJohann-S1-6/+2
2017-05-14Fix unit tests + Update Popper to 1.6.0Johann-S1-1/+1
2017-05-14Begin to use Popper for DropdownJohann-S1-13/+5
2017-05-14Fix arrow for tooltip and popoverJohann-S2-43/+35
2017-05-07Merge branch 'v4-dev' into form-tweaksMark Otto1-0/+4
2017-05-07Removed several unused scss variables (#22539)Sebastiaan Nijland1-6/+0
2017-05-05Add shim for "new" HTML5 structural elements (#22573)Patrick H. Lauke1-0/+4
For IE10 (and any older browsers) support , so at least the layout doesn't fall apart if author is using them.
2017-04-22Redo the small custom select varsMark Otto2-7/+4
— Sizing shorthand comes last — Add height var and put it to use
2017-04-22Change how input and select height is computedMark Otto3-13/+17
— Previously we weren't including the border-width on the computed height, leading to alignment issues. — New system utilizes three variables (not ideal, but straightforward) for computing these heights. One for the vertical border, one for the line-height/font-size/padding dance, and one to add those together. — Updates CSS across forms and custom forms to use new sizing. Special note here: form validation icon sizing uses the inner variables because background-image doesn't bleed into borders unless explicit background-clip.
2017-04-21Merge branch 'v4-dev' into form-tweaksMark Otto16-85/+61
2017-04-21Match validation mixin focus state to normal focus stateMark Otto1-1/+1
2017-04-16Rename variable $input-border-focus to $input-border-color-focus (#22413)Patrick Yeo9-47/+47
* 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-16Prevent long words in `.card-title`s from breaking auto layoutMark Otto1-0/+1
2017-04-14Replace dropdown backdrop hack with cleaner JS-only hackPatrick H. Lauke2-11/+0
* Replace backdrop with simple noop mouse listener As discussed in https://github.com/twbs/bootstrap/pull/22422 the current approach of injecting a backdrop (to work around iOS' broken event delegation for the `click` event) has annoying consequences on touch-enabled laptop/desktop devices. Instead of a backdrop `<div>`, here we simply add extra empty/noop mouse listeners to the immediate children of `<body>` (and remove them when the dropdown is closed) in order to force iOS to properly bubble a `click` resulting from a tap (essentially, method 2 from https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html) This is sufficient (except in rare cases where the user does manage to tap on the body itself, rather than any child elements of body - which is not very likely in an iOS phone/tablet scenario for most layouts) to get iOS to get a grip and do the correct event bubbling/delegation, meaning the regular "click" event will bubble back to the `<body>` when tapping outside of the dropdown, and the dropdown will close properly (just like it already does, even without this fix, in non-iOS touchscreen devices/browsers, like Chrome/Android and Windows on a touch laptop). This approach, though a bit hacky, has no impact on the DOM structure, and has no unforeseen side effects on touch-enabled laptops/desktops. And crucially, it works just fine in iOS. * Remove dropdown backdrop styles * Update doc for dropdowns and touch-enabled devices
2017-04-13Fix popover arrow color for bottom positionIdan Cohen1-1/+1
2017-04-10Remove `cursor: not-allowed` stylesPatrick H. Lauke9-24/+1
2017-04-08fixes #21922: set border-radius to 0 when global radius is disabledMark Otto1-1/+5
2017-04-08fixes #22135Mark Otto1-3/+6
2017-04-08Update card outline mixinMark Otto1-0/+6
Fixes #22056 by ensuring outline cards make their header/footer transparent and use the right border color.
2017-04-08tighten up horizontal input and button paddingMark Otto1-1/+1
2017-04-08Bump up from 2px to 3px so it's consistent; also fix focus of inputsMark Otto2-5/+5
2017-04-08Rename some .open to .show (#22389)Mark Otto2-12/+6
* no more outline overrides * rename old .open to .show
2017-04-08property orderMark Otto1-1/+1
2017-04-08Switch to ease function to remove trailing animation movementMark Otto1-1/+1
2017-04-08Do not stretch images in carousel-itemPierre-Denis Vanduynslager1-0/+1
2017-04-08Ensure carousel works in IE10/11Mark Otto3-34/+14
- Drops the `if-supports-3d-transforms()` mixin since all our browsers do support it - Updates carousel to not rely on that mixin
2017-04-08Revert "Drop width from sizing utils given .col- classes can do the same ↵Mark Otto2-2/+2
thing (follow up to #22376)" This reverts commit 2f21403a933336f7cb01c86bf3c650490bc658a6.
2017-04-08Add transition to .progress-barMark Otto2-0/+2
- Pulls in values from v3 - Closes #22371 which didn't use a transition include
2017-04-08Add dropdown-item-padding-y varMark Otto2-1/+2
- Closes #21622 which kept the 3px - Puts variable in proper order for shorthand (y x)
2017-04-08Drop width from sizing utils given .col- classes can do the same thing ↵Mark Otto2-2/+2
(follow up to #22376)
2017-04-08Remove margin-left on caret if empty (#22095)Jesper Strange Klitgaard Christiansen1-0/+4
2017-04-08Drop .jumbotron-hrMark Otto1-4/+0
- Closes #21760 - No longer needed since we have an rgba() value for this element, so it naturally darkens
2017-04-08Docs and CSS updates for #21807 (#22336)Mark Otto1-6/+1
* tweak some copy * fix up scrollspy docs * remove nav styles that were added * fix nav-based docs by requiring .nav-item on .nav-link
2017-04-08css: just some orderingCatalin Zalog1-19/+19
Order y & x axis by top, right, bottom, left logic
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-04-07drop flex and max-width, just use widthMark Otto1-6/+1
2017-04-07Remove system-ui from font stack due to i18n issuesMark Otto1-1/+1
2017-04-03css: .container-fluid 100%Catalin Zalog1-2/+3
Force .container-fluid to be 100% width no matter if the parent is flex, or not. Pen: http://codepen.io/zalog/pen/yMwyGr
2017-04-02Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, ↵Pierre Vanduynslager1-7/+11
.nav-item, <li> etc...)
2017-03-28ability to change text color in popovers (#22221)Praveen Puglia2-0/+4
2017-03-28Revamp button and input vars while fixing #21587 (#22287)Mark Otto6-59/+56
2017-03-27Fix wrapping card decks (#22289)Mark Otto1-6/+4
fixes #22007 and fixes #21976 by changing margin strategy for card deck gutters