aboutsummaryrefslogtreecommitdiff
path: root/scss
AgeCommit message (Collapse)AuthorFilesLines
2018-01-18Fix input height border (#25331)Andrew Luca1-1/+1
When changing `$input-border-width`, `$input-height-border` does not change and `select.form-control` `custom-select` `custom-file` will still have `$input-height` which is resolved from `$input-btn-border-width` This will work in cases when want controls with border, and buttons without. Temporary fix will be to override 2 variables ``` $input-border-width: 2px !default; // which is // $input-height-border: $input-btn-border-width * 2 !default; $input-height-border: $input-border-width * 2 !default; ```
2018-01-16Add order-last grid class (#24915)Casper Bornebusch1-6/+4
* Add order-*-last grid class * copy updates
2018-01-15Using the expected variable to set the custom select height. (#25169)Gustavo Straube1-1/+1
2018-01-15Extend spacers and sizes (#25101)Andrew Luca1-4/+8
2018-01-15Merge branch 'form-check-input-validation' of ↵Mark Otto1-0/+5
https://github.com/supergibbs/bootstrap into supergibbs-form-check-input-validation
2018-01-15Consistently use `:disabled` rather than `[disabled]` selector (#25317)Patrick H. Lauke5-11/+11
Closes https://github.com/twbs/bootstrap/issues/25316
2018-01-15Add display utilities to bootstrap-grid.scss (#25308)Mark Otto1-4/+1
2018-01-14Update copyright for 2k18 (#25303)Mark Otto3-6/+6
* Update copyright range to include 2018 * Extend copyright date range on new files from 2017 to include 2018
2018-01-13Mixin `button-outline-variant` should retain active box shadow when focusedPatrick Yeo1-1/+5
2018-01-13Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-devMark Otto4-21/+22
2018-01-13$component-active-bg and $component-active-color are partially useful (#24710)Patrick Yeo1-11/+11
* Use `$component-active-bg`, `$component-active-color` in custom-control-indicators and pagination for checked, indeterminate, and active states * Button and Forms focus colors should be based on `$component-active-bg`
2018-01-13Fixed color for disabled buttons (#25167)Wolfgang Goedel1-0/+1
2018-01-13Fix breakpoint mixins for custom breakpoint maps (#25264)Sander Melnikov1-4/+4
When using the `media-breakpoint-between` or `media-breakpoint-only` mixins with a custom breakpoint map – not defined as `$grid-breakpoints` – the mixin incorrectly defaults back to the global `$grid-breakpoints` map in certain situations. This commit correctly passes on the `$breakpoints` argument to the other mixins called within the block.
2018-01-13Add direct children selectors to avoid cascading styles into a menu form ↵ysds1-6/+6
(#25279)
2018-01-12Merge branch 'custom-check-disabled' of ↵Mark Otto2-0/+16
https://github.com/gijsbotje/bootstrap into v4-dev
2018-01-11Deprecate hover media query shim and mixins (#25270)Mark Otto2-47/+25
* Deprecate hover media query shim and mixins Fixes #25195. This never was completed or fully implemented, and the docs are inaccurate as to what browsers are currently affected by this stickied hover problem. This PR aims to update the docs and deprecate the shim from our mixins and only return the pseudo-classes. To reflect the order of these states used elsewhere (e.g., our button styles), I've also updated the order of each within the mixin. * Mention in docs and variables that it's deprecated
2018-01-11Remove `touch-action:manipulation` click optimization (#25250)Patrick H. Lauke1-23/+0
Due to a severe performance bug in Chrome (see https://bugs.chromium.org/p/chromium/issues/detail?id=800522) and due to the fact that (with the exception of IE/Edge on Windows desktop with touchscreen) all modern browsers now optimize the click delay away anyway, this optimization is not needed. Closes https://github.com/twbs/bootstrap/issues/24670
2018-01-06added variable for the background of checked and indeterminate custom inputs ↵gijsbotje2-0/+16
and radios that are disabled added styles for these cases
2018-01-05add validation feedback/tooltip support to form-check-inputsJesse Mandel1-0/+5
2018-01-03Print tweaks (#25164)Mark Otto2-3/+22
* Add min-width to body when printing This should address some inconsistencies between browsers when printing. It applies a min-width to the body so that the content better resembles what your might see on your screen. I've made it a variable for easy customizing, too. * Don't underline buttons when printing * Add basic print styles for page and body size to create a semi-consistent print experience across browsers
2018-01-03Patch fractional viewport widths to work around Safari rounding bug (#25177)Patrick H. Lauke1-3/+5
Includes simplifying the prose in `tables.md` and adding the bug to the list of browser bugs. Closes https://github.com/twbs/bootstrap/issues/25166
2018-01-02Validation tooltip example (#25143)Mark Otto1-2/+1
* Add additional form validation examples Fixes #24811. This adds .valid-feedback to our custom styles and server side examples; previously we ommitted this to suggest you don't always need valid feedback. In addition, this adds examples of the .{valid|invalid}-tooltip classes with a new subsection in the Validation docs. * Update validation tooltip styles to remove fixed width; instead should retain itself to the parent element * update ids * finish docs paragraph, mention position: relative
2018-01-02Remove double borders for custom select and custom fileMartijn Cuppens1-1/+3
Fixes #25168
2018-01-02Update pagination focus stylesMark Otto2-1/+8
- Drops the hover-focus mixin for standard :hover - Adds explicit :focus styles to match button, input, etc with a box-shadow - Adjusts z-index values to ensure the layers go initial, hover, active, focus Fixes #24838.
2018-01-02Merge branch 'patch-8' of https://github.com/gijsbotje/bootstrap into ↵Mark Otto1-1/+2
gijsbotje-patch-8
2018-01-02improves accordion stylesAndres Galante1-0/+29
2018-01-01Darken border color slightlyMark Otto1-1/+1
2017-12-31Textarea support for input groupsGijs Boddeus1-1/+2
The append and prepend classes vertically aligned items in the center For textareas this meant the addon would aling vertically instead of stretch and have it's contents vertically aligned these changes fix that so everything is aligned how it should be
2017-12-30Apply of #25068 to input groupysds1-4/+4
2017-12-30removes hardcoded value for nav-link paddingAndres Galante2-2/+4
2017-12-30Outline active focus (#25145)Mark Otto1-3/+6
* Base the outline button :active color on the background, fixing a contrast issue * Only apply focus outline to active when it's focused
2017-12-31Add `.order-0` to the flexbox grid ordering helpers. (#25137)Kevin Ruscoe1-1/+1
2017-12-29Darken $gray-600 by 10% for AA contrast (#25123)Mark Otto1-1/+1
Closes #23319. Both `.text-muted` and `.btn-outline-secondary` (and indeed all secondary items) make use of `$gray-600`. New value provides a contrast ratio of 4.69.
2017-12-28Expand border utilities to include top, right, bottom, leftMark Otto1-1/+6
2017-12-28lintingMark Otto1-1/+1
2017-12-28Move alert theme-color() levels to variablesMark Otto2-1/+5
Closes #24341
2017-12-28Allow customizing Popover and Tooltip `border-radius` while I'm at itPatrick Yeo3-2/+4
2017-12-28Allow customizing Popover and Tooltip `font-size` outside of `$font-size-sm`Patrick Yeo3-2/+4
2017-12-28Update version to 4.0.0-beta.3v4.0.0-beta.3Mark Otto3-3/+3
2017-12-28Set `cursor:pointer` for `<summary>`Andres Galante1-0/+1
2017-12-27apply same active/focus shadow styling to button variantsMark Otto1-5/+7
2017-12-27line breakMark Otto1-0/+1
2017-12-27fix mixin includeMark Otto1-2/+2
2017-12-27Only apply the active and focus shadow on the focus state for :activeMark Otto1-1/+5
2017-12-27Opinionated: reintroduce `cursor:pointer`patrickhlauke4-0/+23
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-12-26Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-devMark Otto5-118/+66
2017-12-26lintingMark Otto2-13/+9
2017-12-26un-nest and un-chain popover classesMark Otto1-107/+106
2017-12-26consolidate content properties, un-nestMark Otto1-50/+55
2017-12-26smaller popover arrows for more reasonable visuals and more ideal pixel roundingMark Otto1-2/+2