aboutsummaryrefslogtreecommitdiff
path: root/scss/_tables.scss
AgeCommit message (Collapse)AuthorFilesLines
2021-09-09Separator for table direct children (#34861)Gaël Poupard1-2/+6
* fix(tables): separator for table direct children * fix(tables): drop universal selectors * fix(tables): trying the lobotomized owl selector * fix(tables): get closer to v4 * fix(tables): ensure borderless are borderless
2021-09-08fix custom property values of row overrides individual cell (#34799)bavoco1-2/+2
2021-05-28fix(tables): decouple table-bg and table-accent-bg (#34048)Gaël Poupard1-1/+1
Co-authored-by: alpadev <[email protected]>
2021-05-13PRevent accent-bg from leaking in nested table (#33825)Gaël Poupard1-0/+1
Fixes #33817 Solution by @Hintzmann in [#33817 (comment)](https://github.com/twbs/bootstrap/issues/33817#issuecomment-831718042).
2020-12-11Use box shadows instead of linear gradients to colorize tables (#32348)Martijn Cuppens1-1/+1
Co-authored-by: XhmikosR <[email protected]>
2020-11-30Remove default linear gradient (#32277)Martijn Cuppens1-1/+0
Remove the default invisible gradient causing the performance issue in #32266. By removing the custom property, the linear gradient will become invalid, thus not appear by default. There can still be a performance issue with striped tables though. Co-authored-by: XhmikosR <[email protected]>
2020-09-30Add Sass variable for CSS variable prefix (#31684)Mark Otto1-16/+16
* Add Sass variable for CSS variable prefix * Update other --bs-* var instances
2020-06-24Fix table separator typo (#31162)Jorge González1-1/+1
2020-06-14Change breakpoint-max implementationMartijn Cuppens1-2/+1
- The `media-breakpoint-down()` uses the breakpoint itself instead of the next breakpoint. Use `media-breakpoint-down(lg)` instead of `media-breakpoint-down(md)` to target viewports smaller than the `lg` breakpoint. - The `media-breakpoint-between()` mixin's second parameter also uses the breakpoint itself instead of the next breakpoint. Use `media-between(sm, lg)` instead of `media-breakpoint-between(sm, md)` to target viewports between the `sm` and `lg` breakpoints.
2020-06-12Stylelint: remove redundant disables (#31006)XhmikosR1-2/+0
2020-05-14Split table cell padding variables (#30815)Mark Otto1-2/+2
2020-04-24Customizable table group seperator colorsMartijn Cuppens1-1/+1
2020-04-24Add bs prefixMartijn Cuppens1-16/+16
2020-04-24Prevent nested tables style leaksMartijn Cuppens1-97/+64
2020-03-31Cleanup responsive tables (#30482)Martijn Cuppens1-17/+8
2020-03-24Add `.caption-top` for tables (#30435)Mark Otto1-0/+7
* Move caption-side to <table> element in Reboot * Add class for .caption-top
2019-09-27Remove duplicated td selector (#29454)wojtask91-4/+0
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-07-18Make it possible to change default alignment & allow to inherit alignment ↵Martijn Cuppens1-1/+5
from table (#29039)
2019-07-12v5: Forms update (#28450)Mark Otto1-2/+6
* Initial spike of consolidated form checks * Stub out forms rearrangement - Prepping to drop non-custom file and range inputs - Prepping to merge custom and native checks and radios (with switches) - Prepping to merge custom select with form select - Moving docs arround so forms has it's own area given volume of CSS * Move input group Sass file to forms subdir * Start to split and move the docs around * Simpler imports * Copyediting * delete overview file * Remove commented out code * remove the custom-forms import * rewrite flex-check as form-check, replace all custom properties * Remove old forms doc * stub out new subpage link section * update migration guide * Update nav, forms overview in page nav, and descriptions * fix check bg position * fix margin-top calculation * rename .custom-select to .form-select * Update validation styles for new checks * add some vertical margin, fix inline checks * fix docs examples * better way to do this contents stuff, redo the toc while i'm at it * page restyle for docs while here * un-callout that, edit text * redo padding on toc * fix toc * start to cleanup checks docs * Rewrite Markdown tables into HTML * Redesign tables, redo their docs * Replace Open Iconic icons with custom Bootstrap icons * Redesign the docs navbar, add a subheader, redo the sidebar * Redesign docs homepage a bit * Simplify table style overrides for docs tables * Simplify docs typography for page titles and reading line length * Stub out icons page * Part of sidebar update, remove migration from nav.yml * Move toc CSS to separate partial * Change appearance of overview page * fix sidebar arrow direction * Add footer to docs layout * Update descriptions * Drop the .form-group class for margin utilities * Remove lingering form-group-margin-bottom var * improve footer spacing * add headings to range page * uncomment form range css * Rename .custom-range to .form-range * Drop unused docs var * Uncomment the comment * Remove unused variable * Fix radio image sizing * Reboot update: reset horizontal ul and ol padding * de-dupe IDs * tweak toc styles * nvm, fix dropdown versions stuff * remove sidebar nav toggle for now * broken html * fix more broken html, move css * scss linting * comment out broken helper docs * scope styles * scope styles * Fixes #25540 and fixes #26407 for v5 only * Update sidebar once more * Match new sidenav order * fix syntax error * Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696 * rename back * fix size and alignment * rename that back too
2019-05-09Consistency modification (#28750)zhangbao1-1/+1
2019-05-08Drop all hover mixinsMark Otto1-2/+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-02-07Remove `-ms-autohiding-scrollbar` to prevent overlapping the table content ↵Shohei Yoshida1-1/+0
(#28153)
2019-01-13Remove background from nested tablesMartijn Cuppens1-4/+0
2018-12-21Add table-hover-color variables (#27850)Mark Otto1-0/+1
* Add table-hover-color variables Fixes #26465 * Put $table-color to use outside _variables.scss
2018-12-15Add table-hover-color variablesMark Otto1-0/+2
Fixes #26465
2018-12-14Remove redundant brackets (#27768)Martijn Cuppens1-1/+1
2018-10-20table: Add border color relative to theme for accessibility (#25755)Bastien1-1/+1
2018-07-15#25842 Remove max-width from table classLefteris Psitopoulos1-1/+0
2018-01-20rearrange and override extra bordersMark Otto1-8/+10
2018-01-20Merge branch 'borderless-table' of https://github.com/Varunram/bootstrap ↵Mark Otto1-0/+6
into Varunram-borderless-table
2018-01-19Allow to change `.table-striped` `odd` or `even` (#25333)Andrew Luca1-1/+1
2017-12-22Move .table-responsive to a parent class instead of a modifierMark Otto1-1/+1
2017-10-11Add borderless table class along with docs. RebaseVarunram1-0/+6
2017-10-07Enable stylelint's no-duplicate-selectors rule.XhmikosR1-0/+1
2017-08-22Add momentum scrolling on responsive tables for webkit touch devicesPatrick Yeo1-0/+1
2017-08-22 Generate series of `.table-responsive-*` classes to accomodate overflowing ↵Patrick Yeo1-12/+18
tables in a variety of screen sizes
2017-08-21`.thead-dark` and `.thead-light` border color should display the right ↵Patrick Yeo1-9/+13
border color
2017-08-21Rename `.table-inverse`, `.thead-inverse`, `.thead-default` to ↵Patrick Yeo1-4/+4
`.table-dark`, `.thead-dark`, `.thead-light` respectively
2017-08-21(#22414) Rename variables `$table-inverse-bg`, `$table-inverse-accent-bg`, ↵Patrick Yeo1-7/+7
`$table-inverse-hover-bg`, `$table-inverse-border-color`, `$table-inverse-color` to `$table-dark-bg`, `$table-dark-accent-bg`, `$table-dark-hover-bg`, `$table-dark-border-color`, `$table-dark-color` for consistency
2017-07-01remove some unused vars, restore table-active variantMark Otto1-0/+2
2017-06-28move table variants to use sass mapMark Otto1-6/+3
2017-06-13Rename for consistency `$table-sm-cell-padding`, `$table-bg-accent`, ↵Patrick Yeo1-6/+6
`$table-bg-hover`, `$table-bg-active`, `$table-inverse-bg-accent`, `$table-inverse-bg-hover` to `$table-cell-padding-sm`, `$table-accent-bg`, `$table-hover-bg`, `$table-active-bg`, `$table-inverse-accent-bg`, `$table-inverse-hover-bg`, respectively (#22414)
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-03-19fixes rest of #21585; adds custom styles for inverse table accent hover and ↵Mark Otto1-0/+14
active states
2017-03-19consistent breaksMark Otto1-1/+0
2017-03-19Do what the comment says; add this only to devices under 768pxMark Otto1-8/+10
2017-03-19correct inverse table border color, add new varMark Otto1-1/+1
2017-01-21Drop Normalize, port relevant parts to Reboot (#21741)Mark Otto1-0/+1
* Get this party started by removing mention of Normalize.css * Nuke the old comment, consolidate to a single line and number as appropriate * Bring over styles for HTML element from Normalize to Reboot * Move margin override for body element from Normalize to Reboot * Drop the block reset for HTML5 elements in IE9- from Normalize given we dropped IE9 support * Building on previous commit, do the same thing for figure, figcaption, and main * Remove IE9- display from Normalize given our browser support * Drop IE8 figure margin because we're IE10+ * No need for the h1 overrides because we reset these font and margin styles anyway in _type.scss already * Drop Safari 6 b and strong normalization because we're Safari 8+ * Remove mark styles for IE9- from Normalize * Remove old iOS audio fixes from Normalize * Remove IE9- display for progress from Normalize * Remove more IE9- rules from Normalize * One more IE9- display removal for canvas element * Move pre overrides from Normalize to Reboot * Move over some link resets to Reboot, drop others - Move over background-color and text-decoration - Drop focus outline change given it affects the offset on hover of focused links * Move over more code element resets, consolidate with pre overrides, too * Move over sub and sup wholesale * Move over img normalization to Reboot * Move over SVG override too * - Drop dupe hidden, but add comment for it - Move over template - Move over summary * Remove bulk of @viewport comment * edit down that code comment * consolidate html-based normalizations * update comments * Consolidate abbr styles * move over more type elements * move over hr changes * move over form controls and more * move over button resets * move over firefox button changes * move over search changes and more * we nuke all these styles for fieldsets anyway, so outright remove them * no need for those, we override them * move over legend, fieldset, progress * line break * delete normalize file * linting * update comment * clarify docs mentions of normalize and reboot * remove normalize excludes from linter * remove normalize excludes from cli task * linting * callout license since we forked part of normalize * Improve comments, move table background reset to .table class instead of in reboot * trailing space
2017-01-03Drop .table-reflowMark Otto1-43/+0
Tried redoing this in flexbox, but it falls apart really quickly. Any changes in height of the cells throws it all off since the rows become columns (and thus, content across columns cannot be equally sized). Rather than implement something with such glaring flaws, I'm nuking it outright.