aboutsummaryrefslogtreecommitdiff
path: root/site/assets/scss
AgeCommit message (Collapse)AuthorFilesLines
2024-05-01Build(deps-dev): Bump stylelint from 16.3.1 to 16.4.0 (#39936)dependabot[bot]1-2/+1
* Build(deps-dev): Bump stylelint from 16.3.1 to 16.4.0 Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.3.1 to 16.4.0. - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/16.3.1...16.4.0) --- updated-dependencies: - dependency-name: stylelint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update _content.scss --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
2024-03-19docs: move search style to its own CSS fileJulien Déramond3-3/+14
2024-03-19docs: bundle assets with HugoXhmikosR1-0/+2
Also: * load any docs' third-party dependencies from node_modules (except for examples) * exclude docsearch from layouts that don't use it * preconnect to algolia only when not examples layout * switch to `RelPermalink` * refactor JS assets into partials
2024-03-08Docs: fix position of search modal to avoid interface blocking at small ↵Louis-Maxime Piton1-0/+1
breakpoints (#39739) Co-authored-by: Julien Déramond <[email protected]>
2024-02-05Bump copyright year to 2024Julien Déramond1-1/+1
2023-10-05Docs: fix unnecessary right-margin for example code blocks (#39246)Christian Oliff1-0/+4
2023-08-05Add form elements in focusable elements when scrollinglouismaxime.piton1-0/+3
2023-08-05Use box-shadow CSS vars instead of Sass vars in assets and variablesJulien Déramond2-2/+2
2023-06-03Docs: consistency between custom buttons, popovers and tooltipsJulien Déramond1-3/+4
2023-05-01Update devDependencies (#38537)XhmikosR1-0/+1
* @babel/cli ^7.21.0 → ^7.21.5 * @babel/core ^7.21.4 → ^7.21.5 * @babel/preset-env ^7.21.4 → ^7.21.5 * find-unused-sass-variables ^4.0.8 → ^5.0.0 * rollup ^3.21.0 → ^3.21.2 * stylelint-config-twbs-bootstrap ^9.0.1 → ^10.0.0
2023-04-27Fix sizing on masthead npm i snippet (#38521)Mark Otto1-2/+1
2023-04-26Add new docsref page, fix docs border-radius issues (#38491)Mark Otto2-39/+28
* Add new docsref page, fix docs border-radius issues * Remove commented out code * Update docsref.md * Fix no-code example, fix mobile styles * Updates from review * Fix block margin, remove margin-right from pre on mobile since no clipboard icons, adjust masthead snippet * Fix errant styles for border-radius on homepage --------- Co-authored-by: XhmikosR <[email protected]>
2023-04-11Update devDependencies (#38437)XhmikosR1-2/+0
* Update devDependencies * @babel/preset-env ^7.20.2 → ^7.21.4 * @rollup/plugin-node-resolve ^15.0.1 → ^15.0.2 * eslint ^8.37.0 → ^8.38.0 * rtlcss ^4.0.0 → ^4.1.0 * sass ^1.60.0 → ^1.61.0 * stylelint ^14.16.1 → ^15.4.0 * stylelint-config-twbs-bootstrap ^7.0.0 → ^9.0.1 * vnu-jar 22.9.29 → 23.4.11 * Fix the new Stylelint issues
2023-04-10Fix colors in diff syntax colorsMark Otto1-1/+8
2023-03-23Fix comment position in `assets/scss/_content.scss` (#38281)Julien Déramond1-1/+1
2023-03-19Proposal to use `scroll-margin-top` instead of introducing padding and ↵Louis-Maxime Piton2-6/+4
negative margin (#38220)
2023-03-19Docs: make all headings use `var(--bs-emphasis-color)` (#38262)Julien Déramond1-0/+7
2023-03-15Docs: use core mixins in a couple of places (#38236)XhmikosR3-3/+3
2023-03-15Tweak stylelint config (#38228)XhmikosR2-4/+2
* rename to .stylelintrc.json * add reportInvalidScopeDisables to config * move reportNeedlessDisables to config * merge the two configs * remove unneeded disabled rules from the examples config
2023-03-10Better use the CSSlouismaxime.piton1-2/+7
2023-03-04Docs: fix overflow:auto horizontal scrollbars covering last line of code ↵Patrick H. Lauke3-5/+14
blocks (#37694) * Add dirty hack for Firefox * Disable stylelint check for function-url-quotes to make the hack go through unchallenged * Make the fix across all browsers It's not just Firefox - same issue can be seen (though slightly less horrible looking) on macOS / Chrome etc * Tweak padding, move clipboard button down slightly * Further CSS tweaks Forcing `overflow: overlay` should normalise behaviour between Chrome/Win and other implementations. While visually the Chrome/Win scrollbar still looks big and ugly, its height/spacing is now taken into account as being part of the content, so styles can be applied consistently with extra padding at the bottom * Linting fixes * Linting fixes * Apply suggestions from code review --------- Co-authored-by: Mark Otto <[email protected]>
2023-02-25Docs: Drop unused `.focused` style (#38087)Julien Déramond1-5/+0
2023-02-14Attempt to fix focus ring being cut off in table of contents (#37965)Mark Otto1-9/+3
* Attempt to fix focus ring being cut off in table of contents * Update _toc.scss --------- Co-authored-by: Patrick H. Lauke <[email protected]>
2023-02-14Docs: add scroll-margin-top for keyboard navigationPatrick H. Lauke2-0/+6
2023-01-25Theme color improvements (#37953)Mark Otto1-1/+1
* Use tint-color() and shade-color() functions to generate new color mode adaptive theme values * More consistent shading * Fix callouts use of emphasis variables * Use tint and shade functions on link and code colors for dark mode
2023-01-17Proposallouismaximepiton1-1/+1
2023-01-16Sass docs updates (#37897)Mark Otto1-0/+7
* Add maps * Redesign scss-docs rendering * Update other CSS sections * Fix linter
2023-01-16Small color mode docs CSS fixes (#37896)Mark Otto1-1/+5
* SImplify background gradient syntax * Move inline style to CSS file
2023-01-16Deprecate the Sass var and remove any occurence of the `.text-muted` (#37890)Louis-Maxime Piton1-1/+1
2023-01-06Docs: fix `.btn-clipboard` and `.btn-edit` link hover colorJulien Déramond1-1/+1
2023-01-05Docs: Small enhancements (#37803)Louis-Maxime Piton1-2/+9
* Consistency with the doc * Bring a class to avoid weird behavior * Consistency + Add some explaining text * fix(color)
2023-01-05Docs: remove some CSS from `.highlight-toolbar` defJulien Déramond1-7/+0
2023-01-04Docs: fix headings color in light/dark mode (#37802)Julien Déramond1-2/+2
2023-01-03Add new link utilities, icon link helper, and update colored link helpers ↵Mark Otto1-20/+0
(#37762) * Add new link utilities, update colored link helpers * Remove commented out code * Fixes * Remove examples changes * Fixes and copy * Fix icon-link instances on homepage * Bump bundlewatch * Fix node-sass issue for rgba() function bug * More bundlewatch * One more time after merge * Add callout for a11y * Hover and focus-visible * Add a11y callouts * Remove duplicate for now * More code review feedback
2023-01-03Remove dark mode --bs-heading-color value, set to null, and add custom ↵Mark Otto1-0/+7
styles for the docs dark mode headings
2023-01-02Use Bootstrap colors in syntax highlightingMark Otto4-26/+28
2023-01-01Fix code color in calloutsMark Otto2-0/+3
2023-01-01Docs: remove remnants of Twitter / bump dates (#37779)Patrick H. Lauke1-1/+1
2022-12-29Focus ring helper and utilities (#33125)Mark Otto1-0/+5
* Add global variables for box-shadow focus rings * Update instances of -btn-focus-box-shadow to use -ring-box-shadow, unless it's for buttons or inputs * fix variable name * Add CSS variables for global focus styling, document it * Move to CSS vars section * Update scss/_nav.scss Co-authored-by: Gaël Poupard <[email protected]> * Helper and utils * Fix bundlewatch * Change 'Focus ring' in sidebar so that the page can be visible * Minor typo fix * fix merge * Revamp some more, improve docs Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Patrick H. Lauke <[email protected]>
2022-12-29Docs: enhance callouts links on dark modeJulien Déramond2-1/+3
2022-12-29Darken some text emphasis and syntax colorsMark Otto1-0/+2
2022-12-29Use scrollspy on docs pages (#33428)GeoSot3-10/+22
* use scrollspy on docs pages * Update colors by taking into account new dark mode * Restyle it * Update colors once more * Fix some color contrast issues Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2022-12-27Docs: handle light/dark mode in Algolia search modal (#37738)Julien Déramond2-2/+31
* Docs: handle light/dark mode in Algolia search modal * Improve scopes
2022-12-26Few miscellaneous docs fixes (#37625)Mark Otto2-7/+8
* Update hero button color * Fix link color on examples index * Move .bd-btn-lg to docs buttons partial, move larger border-radius to that class so medium buttons don't look odd * Undo the markup split * Round padding up to whole number
2022-12-21Fix Sass compilation when `$color-mode-type` is set to `media-query` (#37687)Julien Déramond2-2/+2
* Fix Sass compilation when `$color-mode-type` is set to `media-query` * Update mixin names, fix docs color modes for using media queries by using mixin Co-authored-by: Mark Otto <[email protected]>
2022-12-20Follow upMark Otto1-1/+0
2022-12-18Docs: replace some `--#{$prefix}` by `--bs` in Sass files (#37617)Louis-Maxime Piton2-3/+3
Co-authored-by: Julien Déramond <[email protected]>
2022-11-28Add dark mode support (#35857)Mark Otto14-73/+221
* Add dark mode to docs * Minor fix: missing space indentation * Minor fix: revert utilities/z-index added-in modification * Remove prev: and next: from doc because extracted to another PR * Use .bg-body-tertiary in all Utilities > Overflow examples * fix example * Fix up spacing examples * Update box-shadow Sass variables and utilities to auto-adjust to color modes * Remove unused docs class * Refactor form styles to use CSS variable for background images on .form-check and .form-switch * Fix docs selector * Rename shortcut for clarity * Heading consistency * Reintroduce missing 4th grid item in Utilities > Spacing example * Fix bundlewatch * .bd-callout* rendering is OK so removing comments in the code * Update scss/_utilities.scss Co-authored-by: Julien Déramond <[email protected]> * Fix gutters example styling * Fix text colors on background utils docs * redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken * fix some color utils examples * Deprecate mixin notice * Deprecate notice for list-group-item-variant() mixin * Revamp new link CSS vars * Use map-keys in some each Sass files * Remove list-group-item-variant mixin ref in sass loop desc * Display CSS vars scoped to our built-in dark mode * Revert previous commit * Fix list group variant link * Fix typo * Remove imports of alert/list-group mixins in scss/_mixins.scss * Small formatting + comments removal in scss/_content.scss * Fix alert links colors * fix dropdown border-radius mixin * fix link color and underline again, this time using CSS var override for color var and fallback value for the underline * fix colors on docs navbar for dark mode * remove two changes * missing ref * another link underline fix, just use sass vars for link decoration for now * missing color bg docs, plus move dropdown override to scss * more changes from review * fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin * Few fixes around type - Restored CSS variable for color on headings, this time with a fallback value - In conjunction, restored and wrapped the default CSS var with a null value check - Split headings and paragraphs docs in Reboot, elaborated on them * Restyle custom details > summary element in docs * Rewrite some migration docs * fix form checks * Fix up some navbar styling, tweak docs callout * Fix select images, mostly for validation styling * Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs * Update site/content/docs/5.2/components/scrollspy.md Co-authored-by: Julien Déramond <[email protected]> * Apply suggestions from code review Co-authored-by: Julien Déramond <[email protected]> * mention form control css vars in migration guide * Tweak grid and flex docs background examples * clarify some docs * fix some more things Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-11-14Docs: add margin between buttons in tooltip examplesJulien Déramond1-2/+8
2022-10-22Add `z-index` utilities, `.z-*` (#37317)Mark Otto1-0/+26
* Add z-index utilities, .z-* * Fix missing comma in _utilities.scss * Fix bundlewatch * Fix lint * Update site/content/docs/5.2/utilities/z-index.md Co-authored-by: Julien Déramond <[email protected]> * custom appearance * linter Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Julien Déramond <[email protected]>