aboutsummaryrefslogtreecommitdiff
path: root/scss/_button-group.scss
AgeCommit message (Collapse)AuthorFilesLines
2024-05-30Fix `.btn-group-vertical` border radius with dropdown as first element (#40488)Tobias1-1/+6
Co-authored-by: Julien Déramond <[email protected]>
2023-03-27Add a check for interpolation variables to node-sass workflow (#38283)Julien Déramond1-2/+2
Co-authored-by: XhmikosR <[email protected]>
2022-10-23fixjonnysp1-2/+2
2022-09-05Update _button-group.scssAmirHossein1-2/+2
2022-09-05Update _button-group.scssAmirHossein1-2/+2
2022-04-12Fix proposallouismaxime.piton1-0/+1
2021-12-16Add missing `border-radius` for `btn-group` (#35467)Andy Jiang1-0/+2
Co-authored-by: XhmikosR <[email protected]>
2020-12-04feat(RTL): implement RTLGaël Poupard1-4/+4
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-11-30Keep rounded corners for the first .btn in vertical button group (#31303)Rohit Sharma1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-11-06stylelint: pass the ` --rd` flag (#32063)XhmikosR1-2/+0
* stylelint: pass the ` --rd` flag Should report any needless disables * Update _button-group.scss * Update _floating-labels.scss
2020-06-15Clarify removal of border radiiMartijn Cuppens1-4/+5
2020-06-15Switch to btn-checkMartijn Cuppens1-3/+3
2020-06-15Remove checkbox/radio toggle from button plugin in favor of a CSS only solutionMartijn Cuppens1-34/+15
2020-03-31Require `.form-label` classes on form labels (#30476)Martijn Cuppens1-2/+0
2019-05-08Drop all hover mixinsMark Otto1-3/+1
Previously deprecated in v4.x, this clears out the now unused Sass option and removes some unused mixins. Arguably we could remove more, but I like the hover-focus mixin and we make extensive use of it across the project.
2018-11-25Grow button width to the parent button group (#27717)ysds1-1/+1
2018-11-04Button group refactoring and fixes (#25395)ysds1-17/+8
2018-03-12Fix caret alignment (#25719)ysds1-1/+7
2017-12-26Clean up button group (#25073)ysds1-58/+12
* Remove unnecessary float - since parent btn-group is displayed as inline-flex, the child elements are placed left to right by default. * Cleanup of reset rounded corners - Remove `border-radius :0` since it is enough by each reset of left and right side - A `.dropdown-toggle` selector should not be used for reset rounded corner since it does not have border-radius property. Instead use .dropdown-toggle as negation pseudo-class.
2017-11-24rename itMark Otto1-1/+1
2017-11-09Make styling of grouped option buttons class-basedRaffy Alcoriza1-1/+1
Referencing #23728, styling grouped radio and checkbox buttons should not require the data-toggle attribute.
2017-10-27fixes #24574Mark Otto1-1/+1
2017-10-22Merge branch 'btn_input_split_variables' of ↵Mark Otto1-8/+8
https://github.com/isychev/bootstrap into isychev-btn_input_split_variables
2017-10-22Merge branch 'v4-dev' into btn_input_split_variablesMark Otto1-3/+5
2017-10-23Refactor a few selectors. (#24404)XhmikosR1-32/+35
1. move a couple of them before the more specific ones. 2. change nesting to be under the same parent selector 3. use the ampersand more
2017-10-23Enable stylelint's `function-comma-space-after`. (#24501)XhmikosR1-1/+1
The option is set to `always-single-line` in stylelint-config-standard which we extend.
2017-10-22fix vertical input button group margin (#24498)Gijs Boddeus1-0/+2
* add margin-bottom to .btn of a vertical button group * match margins of radio/checkbox buttons in a btn-group to the actual buttons * add comment
2017-10-20Reduce z-indexes in button-group, input-group, list-group, and pagination to ↵rmacklin1-2/+2
the minimum necessary (#24315) These were using `z-index: 2` to "Place active items above their siblings for proper border styling". However, using `z-index: 1` is sufficient for accomplishing that goal. In input-group, there were also three `z-index: 3` rules for the hover/focus/active states. I reduced these to `z-index: 2` since they just needed to be "one more than normal" (i.e. one more than what is now `z-index: 1` after my changes). These changes can be verified by viewing the documentation pages for Button group, Input group, List group, and Pagination before and after this commit and observing that the active elements are still "above" their siblings, so their borders look correct.
2017-10-19append btn-* and input-* variables and extends their from input-btn-* variablesi.sychev1-8/+8
2017-10-02Switch to stylelint. (#23572)XhmikosR1-4/+7
2017-09-26Fixes rounded corners on first and lat child on vertical btn group (#24119)Andres Galante1-6/+6
2017-08-13Button code cleanup (#22951)Mark Otto1-17/+23
* use a mixin there * revamp .btn-link to match default and outline variants * remove unnecessary properties
2017-06-03fix small typo inside _button-group.scss (#22746)Tom Van Rompaey1-1/+1
fron -> front
2017-04-08Rename some .open to .show (#22389)Mark Otto1-8/+2
* no more outline overrides * rename old .open to .show
2017-03-28Revamp button and input vars while fixing #21587 (#22287)Mark Otto1-6/+6
2017-01-24Allow button toolbars to wrap (#21826)Mark Otto1-0/+1
Fixes #21699
2017-01-21Fix gaps between vertical grouped buttons when using labels (#21793) (#21796)Dmytro Yarmak1-0/+1
2017-01-03Drop .carete (#21525)Quy1-16/+0
2017-01-03button groups should be inline-flex to match their button counter parts ↵Mark Otto1-1/+1
(inline-block currently)
2016-12-27inline-flex and width: 100% for stacked/vertical variationMark Otto1-2/+2
shoutout to @Starsam80 for the fix
2016-12-27auto size input groups, fixes #20506Mark Otto1-0/+4
2016-12-27remove commented out codeMark Otto1-1/+0
2016-12-27lintingMark Otto1-1/+1
2016-12-27revamp button group with flexboxMark Otto1-39/+19
2016-10-02Remove the margin-bottom from <label>s in .btn-groups (#20827)Mark Otto1-0/+1
- Fixes #20298 for vertical button group spacing - Fixes #20784 for horizontal (default) button group spacing - Alternate fix to #20823 which only applied a fix for vertical button groups
2016-05-11linting orderMark Otto1-3/+3
2016-05-11Unfuck those split button dropdownsMark Otto1-11/+15
- Really we didn't need to do any of that strip units stuff to generate six new variables, two for each button size - Using sibling selectors, we can target those split button dropdown toggles using the .dropdown-toggle-split class, and adjust padding and margin as needed - Now, we nuke the margin-left from the ::after generated caret and tighten up the padding so that those split toggles don't look huge next to their main button
2016-02-06lintingMark Otto1-3/+3
2016-02-06Merge branch 'v4-dev' into v4-split-buttonsMark Otto1-3/+3
2016-02-06linter overhaulMark Otto1-0/+2