aboutsummaryrefslogtreecommitdiff
path: root/scss/_list-group.scss
AgeCommit message (Collapse)AuthorFilesLines
2021-05-10Don't redefine $list-group-color in loopMark H. Wilkinson1-5/+5
2021-04-17fix: use list-group variable instead of alert (#33658)Mona Brahmakshatriya1-1/+1
Use $list-group-item-color-scale variable in list-group NOT $alert-color-scale
2021-03-10Change from element selector to the opt-in classMark Otto1-3/+1
2021-03-10Add ol.list-group with psuedo-element numbersMark Otto1-0/+13
2020-12-17Fix: variables collide with globals (#32492)Rafi1-5/+5
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-13Rename scale-color() function to shift-color() to avoid collision with ↵Mark Otto1-2/+2
Sass's own color function (#32149)
2020-11-08Add checks to fix color contrast issues (#32085)Martijn Cuppens1-2/+8
2020-10-13Colors rewrite (#30622)Martijn Cuppens1-1/+1
2020-09-15Remove unnecessary nesting selectorsXhmikosR1-1/+1
2020-04-28Prevent list group style leaks (#30660)Martijn Cuppens1-2/+2
2020-04-06Create `scss-docs` shortcode to get some snippets from the Scs… (#30502)Martijn Cuppens1-1/+3
Co-authored-by: XhmikosR <[email protected]>
2020-04-02Fix card list group borders & radii (#30497)Martijn Cuppens1-12/+7
2020-03-31Require `.form-label` classes on form labels (#30476)Martijn Cuppens1-1/+0
2020-03-31Use variables for list-group-item color levels (#30009)Yannik Hampe1-1/+1
Co-authored-by: Martijn Cuppens <[email protected]>
2020-03-05$link-decoration: underline affects some components (#30262)Martijn Cuppens1-0/+1
Co-authored-by: Shohei Yoshida <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]>
2019-10-02v5: .form-check layout changes (#29322)Mark Otto1-0/+1
* Scope .form-check-input layout to the .form-check parent * Remove margin-bottom from list-group-items in case they are label elements * document .form-check in input groups and list groups, and cleanup the no-label examples in the main .form-check docs
2019-07-25Drop `color()`, `theme-color()` & `gray()` functions (#29083)Martijn Cuppens1-1/+1
Drop `color()`, `theme-color()` & `gray()` functions in favor of variables. The functions just called a `map-get()` of a map where just the variables were defined. Also the `theme-color-level()` now accepts any color you want instead of only `$theme-colors` colors. The first value now is a variable instead of the `$theme-colors` key.
2019-06-26Remove redundant radius properties (#28956)Martijn Cuppens1-2/+2
2019-06-25Remove negative margins for group list items (#28940)Sergey Kovalenko1-19/+28
To fix RGBA borders overlapping issue.
2019-05-08Drop all hover mixinsMark Otto1-1/+2
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.
2019-01-20Make component colors configurable (#28035)Martijn Cuppens1-0/+1
2019-01-08remove redundant loop from list-group-horizontal (#28005)wojtask91-18/+16
2019-01-08Move `z-index` to .list-group-item-action and remove redundant ↵Shohei Yoshida1-5/+1
`text-decoration: none` (#27996)
2019-01-07Add horizontal list group modifier (#27970)Mark Otto1-0/+33
Alternate take to #27683 that builds the modifier class based on min-width, such that list groups are stacked until the class's breakpoint is reached. This is less verbose, matches our primary responsive approach, and prevents an extra class. Unfortunately, I believe supporting flush list groups is too much code here, so I've skipped that and made a note in the docs. Also added examples generate from our breakpoints data file with a protip for how to do equal width items.
2018-10-19Fix double border on list-group (#27126)Roy Klutman1-0/+5
2018-09-26Prevent pointer events on disabled list-group-itemHoward Cox1-0/+1
2017-12-22adds hover state to the `button` element for background color utilities (#24813)Andres Galante1-1/+2
* adds a hover state to the button element on the backrgound color utitility * Adjust z-index to fix hover/focus overlaps
2017-10-22Replace some border-radius properties for the mixin, closes #23872Mark Otto1-1/+1
2017-10-20Reduce z-indexes in button-group, input-group, list-group, and pagination to ↵rmacklin1-1/+1
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-17Revert #23108 to restore list group borders (#24411)Mark Otto1-5/+0
* revert #23108, which had no bug but was a problem with the example code * add example to the docs for future proofing * move it up
2017-10-01Fix #23013: Add boder-top:0 in .list-group-flush .list-group-item (#23108)Chirag Modi1-0/+5
2017-06-28move list group variants to be generated from sass mapMark Otto1-4/+3
2017-06-16(#22414) Rename for consistency `$list-group-link-*-*` to ↵Patrick Yeo1-4/+4
`$list-group-action-*-*`
2017-04-16Rename variable $input-border-focus to $input-border-color-focus (#22413)Patrick Yeo1-1/+1
* 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-10Remove `cursor: not-allowed` stylesPatrick H. Lauke1-1/+0
2017-03-18fixes #21584Mark Otto1-3/+1
- revert back to display block for list items to prevent unwanted behaviors - fixes a handful of other linked issues (see main thread) - updates docs to include more utilities for the one example
2017-01-15Remove list-group-item-heading and list-group-item-text (#21653)Pierre-Denis Vanduynslager1-23/+0
2016-12-28Revamp list group states and docs to matchMark Otto1-66/+65
- Overhauls the states, including the link/button variants, for list groups to better match how we handle .btn states. - Moved the .list-group-item-action styles before the .list-group-item so that we don't have to do as much overriding. - Removed the plain-hover-focus mixins from the disabled and active states since they're unnecessary. - Added support for :active states on the .list-group-item-action variant (for the current click state). - Removed the heading and text classes and variables since we can accomplish the same thing with utilities. - Added support for :disabled on the .list-group-item-action as well since we can use those with button elements. - Rearranged docs to reflect all the above changes. - Reformatted some Sass variables.
2016-12-21Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389)Mark Otto1-12/+5
* remove the $enable-flex variable option * remove bootstrap-flex.css dist file and it's grunt task * remove the separate flex css file for docs; it's all the same now * remove flexbox docs (porting some to the main grid docs in next commit) * clean up few grid docs bits to simplify copy, start to mention flexbox * port relevant flexbox-grid.md content to grid.md - clean up mixins - update how it works section - bring over sizing and alignment sections * remove the $enable-flex from the options.md page * update lead paragraph to mention flexbox * update migration to mention loss of ie9 support * remove mention of flexbox dist file * clarify IE support * making a note * remove flexbox variant mentions from component docs - updates docs for media object, navs, list group, and cards to consolidate docs - no more need to callout flexbox variants since it's now the default * remove $enable-flex if/else from sass files * remove flex dist files * update scss lint property order to account for flex properties * linting * change to numberless classes for autosizing, wrap in highlighting div * bump gruntfile and postcss to ie10 * redo intro sections * rearrange * phew, redo hella grid docs - rearrange all the things - consolidate some bits * remove reference to flexbox mode * more border action for demo * Make some changes to the .card's in .card-deck's to ensure footers align to the bottom
2016-10-30trailing whitespaceMark Otto1-1/+1
2016-10-30Merge branch 'v4-flex-list-group' of https://github.com/rosskevin/bootstrap ↵Mark Otto1-1/+13
into rosskevin-v4-flex-list-group
2016-10-15Remove borders on the top and/or bottom when .list-group-flush is the first ↵Starsam801-0/+12
and/or last child Fully fixes #20395
2016-10-09Reset the left and right border on list items for flush list groupsMark Otto1-0/+2
Avoid the resetting of the already set values in #20397. Fixes #20395.
2016-02-17Extract $list-group-item-heading-margin-bottom variableChris Rebert1-1/+1
[skip sauce] [skip validator]
2016-02-16Add $list-group-item-padding-{x,y} variablesChris Rebert1-1/+1
[skip sauce] [skip validator]
2016-02-06Revamp list group items built with anchors and buttonsMark Otto1-37/+31
- Make it an explicit class instead of qualifying with elements (.list-group-item-action) - Rearrange the entire file for more straightforward flow - Fix text-decoration bug as a result of the reorder - Switch from h4's to h5's in docs - Update docs to merge anchors and buttons sections; clearify usage guidelines there, too - Nullify #17479 in the process
2016-02-06linter overhaulMark Otto1-0/+2
2016-01-20Resolves #18978 - flexbox list-group implementation. Requires the pull-right ↵Kevin Ross1-1/+12
and pull-left flex change from PR #18976
2016-01-17fuck around with card borders and moreMark Otto1-13/+0