Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-29Drop prefixed version of `::file-selector-button` (#35232)Gaël Poupard
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-09-07Add `border-radius` sizes to small and large `.form-select`s (#34853)Dominik Crha
Fixes #34852 Co-authored-by: Dominik Crha <crha@havit.cz> Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-07-14fix(forms): prevent color control from shrinking (#34445)Gaël Poupard
* fix(forms): prevent color control from shrinking Fixes #34195 Setting `min-width` alongside `max-width` wouldn't make any sense IMHO. The only concern I have is whether we should introduce a dedicated variable for said width? * feat(forms): introduce ` $form-color-width` * feat(forms): use ` $form-color-width` Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-06-14Replace `/` division with multiplication and custom `divide()` function (#34245)Mark Otto
* Convert bulk of division to multiplication * Use custom divide() function instead of Dart Sass math module for greater compatibility * Apply suggestions from code review * Fix functions
2021-06-03fix(forms): unitless `line-height` for floating labels (#34161)Gaël Poupard
Co-authored-by: Mark Otto <markd.otto@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-28Add missing transition to `.form-select` (#34034)Simon Ihmig
A selectbox is styled in a very similar way as an input (`.form-control`), including border-color and box-shadow. So it can be assumed it should apply the same CSS transition for these properties when focused, but this was missing. Co-authored-by: alpadev <2838324+alpadev@users.noreply.github.com>
2021-05-25Fix x-paddings for select (with floating label, and in Firefox) (#34008)Gaël Poupard
2021-05-13Revert "use `:read-only` css selector instead `[readonly]` for consistency ↵Mark Otto
(#33642)" (#33961) This reverts commit 17252bb3b0c751ad2be1c1c1226ebcf43e7967f3. Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-18use `:read-only` css selector instead `[readonly]` for consistency (#33642)harishhalodoc
There are 5 places where [readonly] selector is used. I have replaced with :read-only for consistency. fix for https://github.com/twbs/bootstrap/issues/33101 Co-authored-by: Harish <halodoc@ip-192-168-43-211.ap-southeast-1.compute.internal>
2021-03-08Update devDependencies (#33307)XhmikosR
* @popperjs/core ^2.9.0 → ^2.9.1 * autoprefixer ^10.2.4 → ^10.2.5 * clean-css-cli ^5.2.0 → ^5.2.1 * postcss ^8.2.6 → ^8.2.7 * stylelint ^13.11.0 → ^13.12.0
2021-01-15Drop transition on .form-check, keep on .form-switchMark Otto
To avoid breaking changes, turns -check-transition to null, then adds a new -switch-transition variable
2021-01-10Consistently use outline:0 rather than outline:none (#32751)Patrick H. Lauke
just for code consistency, no actual effect on styling per se
2020-12-28Tweak .form-select padding (#32419)Mark Otto
* Tweak .form-select padding * Simplify the padding entirely Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-17Extended form validation states customization capabilities (#31757)Dmytro Yaremenko
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-07Remove vertical-align from .form-select (#32318)Mark Otto
Aligns the component with the .form-control. Closes #32271. Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-12-04feat(RTL): implement RTLGaël Poupard
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-11-06stylelint: pass the ` --rd` flag (#32063)XhmikosR
* stylelint: pass the ` --rd` flag Should report any needless disables * Update _button-group.scss * Update _floating-labels.scss
2020-11-06Remove firefox workaround for ::file-selector-button margin. (#32064)Emilio Cobos Álvarez
As per https://bugzilla.mozilla.org/show_bug.cgi?id=1673895, this workaround shouldn't be necessary in FF83+. Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-05Drop Legacy Edge support.XhmikosR
This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
2020-10-30Fix color heights (#32023)Martijn Cuppens
2020-10-30Add `cursor:pointer` to color inputs (#32020)Patrick H. Lauke
* Add `cursor:pointer` for color inputs * Add to migration guide
2020-10-29Remove explicit heights on form elements (#31993)Martijn Cuppens
* Remove explicit heights * Link to upstream bug Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-28Use the same font on the button as on the field itselfMartijn Cuppens
2020-10-28Fix Firefox padding issueMartijn Cuppens
Caused by https://searchfox.org/mozilla-central/rev/0b7007a23bc16c857f894140e12f307bfeef2fdd/layout/style/res/forms.css#494
2020-10-28Drop custom file upload plugin in favor of CSSMartijn Cuppens
2020-10-28v5: Floating labels (#30449)Mark Otto
* v5: Promote floating labels example to component - Adds new .form-floating - Stubs out basics of a docs page - Removes existing Example * Update floating labels to support .form-select, make inputs and selects more consistent - To do this, I made the .form-control and .form-select consistent in min-height vs height - Removed some unused variables now - Updated -color to be the -color because I don't know why this was any different before - Update page to include some examples for layout, validation, and value - Rewrite styles to not modify padding, but instead transform and opacity * Streamline and bulletproof some things - Apply some optimizations from code review - Removed unecessary properties from the label - Add some comments for what properties are required - Move from fixed height for labels to height 100% so we can support textareas - Improve docs a little bit, add ToC * Move some values to variables, switch from scaling font-size to scale, update transforms * Bring over changes from #30966 and add to them to tighten things up * Delete the now unused example images * Fix typo * Allowlist the calc function * Add transform-origin, update transform values * Test out autofill fix * Fix linter issue * Mention it in the migration guide * Bump bundlesize * Add one more variable per review * Shave .25rem off the height Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-10-27Fix border radius for inputs groups with validationMartijn Cuppens
2020-10-27Fix border radii on validation messagesMartijn Cuppens
2020-10-27Require `.has-validation` class to fix border radii on form elementsMartijn Cuppens
2020-09-30Add Sass variable for CSS variable prefix (#31684)Mark Otto
* Add Sass variable for CSS variable prefix * Update other --bs-* var instances
2020-09-29Fix disabled checkbox toggle buttons (#31651)Nikita Mikhaylov
* fix disabled checkbox toggle buttons * add disabled checks-radios examples in documentation Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-28Update stylelint to v13.7.2 (#31726)XhmikosR
2020-09-23Input group addon sass customization options (#31729)Martijn Cuppens
2020-06-16Switch to btn-checkMartijn Cuppens
2020-06-16Remove checkbox/radio toggle from button plugin in favor of a CSS only solutionMartijn Cuppens
2020-05-19Fix gradient on switch checkbox (#30868)Martijn Cuppens
2020-05-15Improve gradientsMartijn Cuppens
- Use a semitransparent gradient from light to dark which works on any background-color - Store the gradient as a custom property (--bs-gradient) - Remove `.bg-gradient-*` variants in favour of `.bg-gradient` which works even when `$enable-gradients` are enabled - Add gradients to navbar, active page links and badges when gradients are enabled
2020-05-05Fix form file height (#30699)Gaël Poupard
2020-04-29[type=radio] should always be rounded (#30686)Gaël Poupard
2020-04-20Add `$form-text-font-weight` (#30617)Catalin Zalog
2020-04-16feat: removes `.form-text` display (#30598)Catalin Zalog
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-14Simplify checkbox & radio input (#30557)Martijn Cuppens
- Define background properties in `.form-check-input` - Use `background-size: contain` to simplify background sizes (especially for those with linear gradients) - Remove double `color-adjust` - Adjust svgs to 20x20 box. This way the strokes aren't rescaled.
2020-04-14Restore `.form-text` (#30565)Catalin Zalog
2020-04-11Use `box-shadow` mixin for `.form-select` (#30555)Catalin Zalog
2020-04-09Add checkbox transition (#30528)Martijn Cuppens
2020-04-06Create `scss-docs` shortcode to get some snippets from the Scs… (#30502)Martijn Cuppens
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-01Use `box-shadow` mixin for form controls (#30480)Catalin Zalog
2020-04-01Fix date inputs heights in safariMartijn Cuppens
2020-03-31Require `.form-label` classes on form labels (#30476)Martijn Cuppens
2020-03-23File chooser size (#30040)Zedicius
Co-authored-by: David Van Doninck <david.vandoninck@intracto.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>