Patrick H. Lauke
e7cbb59d53
Consistently use outline:0 rather than outline:none
...
Manual backport of https://github.com/twbs/bootstrap/pull/32751 (which has not been merged yet, but assume it will shortly)
2021-01-13 11:03:32 +02:00
Patrick H. Lauke
e5b5881f8c
Add overflow suppression to custom file label ( #32160 )
...
Avoids unsightly spilling out of long filename text, particularly for multi file inputs
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-19 16:29:57 +02:00
XhmikosR
5795e421ac
Manually backport #32121 ( #32141 )
...
Use correct value order
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-11-13 18:58:51 +02:00
Patrick H. Lauke
d3cb97ad71
Avoid invisible real file input "spilling" out of container ( #32145 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-13 18:52:42 +02:00
Mark Otto
ca68277976
Backport color-adjust for v4
...
Keeps checkboxes, radios, and switches with their intended design when printing.
Backports #29714
2020-10-05 16:12:47 +03:00
XhmikosR
e0cd05019e
Stylelint: replace deprecated options
2020-09-30 08:44:42 +03:00
Mark Otto
7539cfb29c
Update _custom-forms.scss ( #31693 )
...
Typo in box-shadow attribute, global variable used instead of local.
Co-authored-by: Arthur Shlain <artur.slain@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-18 11:21:30 +03:00
Martijn Cuppens
4f44a2afd0
Remove duplicate properties after #30922 ( #31148 )
2020-06-23 09:28:13 +03:00
Gaël Poupard
7b5e48d307
fix(custom forms): disabled checked states weren't overriding background-image ( #30922 )
2020-06-15 08:41:12 +03:00
Mark Otto
f4a7888af5
v4: Add z-index to .custom-check to fix custom checks in CSS columns ( #30810 )
...
For some reason, custom checks in CSS columns need a new stacking order to maintain visibility. This PR adds `z-index: 1` to trigger that new stacking order. Since v5's forms are being redone entirely, and we're dropping IE10/11 there, I think this is totally fine to ship with v4 only. Will need to check v5's forms it in Edge though.
Fixes #29607 .
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-04 16:11:33 +03:00
Martijn Cuppens
abc17a4858
Backport #30555
...
Use `box-shadow` mixin for `.form-select`
2020-04-13 21:12:29 +03:00
Shohei Yoshida
0d148d8854
V4: Add :disabled for disabled fieldset ( #29762 )
2019-11-28 14:59:49 +02:00
Gary PEGEOT
6b7ca1234b
Make check label cursor customizable ( #29633 )
2019-11-07 21:02:10 +02:00
Martijn Cuppens
b0b8d3c982
Convert v4-dev calc() left overs to add/subtract functions
2019-11-01 20:22:37 +02:00
Martijn Cuppens
6c9640c245
Backport #29445
...
Remove outline from select box in Firefox
2019-10-14 12:12:05 +03:00
Martijn Cuppens
a2a38058af
.custom-select
: combine properties.
2019-07-30 15:43:38 +03:00
Martijn Cuppens
c26e68427c
Backport "Use escape-svg() function ( #29077 )"
...
Adapted for v4-dev.
2019-07-30 15:43:38 +03:00
Shohei Yoshida
b165aff2f7
Fix position of browser default validation message ( #28852 )
2019-06-18 15:02:58 +03:00
Shohei Yoshida
10f91729aa
Add $custom-control-label-color
variable ( #28633 )
2019-04-29 17:41:28 +03:00
Shohei Yoshida
60f31b32f8
Workaround for MS edge bug ( #28275 )
2019-03-27 20:57:28 +02:00
Martijn Cuppens
51375abca5
Responsive font size implementation ( #23816 )
2019-02-07 23:32:05 +01:00
Martijn Cuppens
8b41cb1368
Optional btn & input font sizes ( #28068 )
2019-02-07 19:47:24 +02:00
Shohei Yoshida
e65dccfc95
Fix custom select caret issue on IE ( #28112 )
2019-01-25 21:09:21 +01:00
Martijn Cuppens
50492b8840
Combine background properties into one
2019-01-13 16:23:32 -08:00
Martijn Cuppens
952374654c
Fix custom select font sizes ( #27929 )
2018-12-29 04:44:35 +02:00
Martijn Cuppens
39b14c9806
Blacklist border-radius property (use mixin instead) ( #27900 )
2018-12-23 09:11:11 +02:00
Martijn Cuppens
502b6c8ed6
Remove redundant brackets ( #27768 )
2018-12-14 17:54:44 +01:00
Gijs Boddeus
26c5595164
Custom switch form control gutter fix ( #27837 )
2018-12-14 16:22:19 +02:00
Gijs Boddeus
c618f67187
Actual gutter definition ( #27797 )
2018-12-14 03:04:10 +02:00
Gijs Boddeus
180a06eeb7
Add switch custom form control ( #23004 )
2018-12-12 15:28:25 +02:00
Martijn Cuppens
696c4078d1
Customize browse text of the custom file input with HTML ( #27651 )
2018-11-13 08:30:17 +02:00
XhmikosR
9cc237d0ba
scss/_custom-forms.scss: fix typo in comment.
2018-11-04 12:17:56 +02:00
ysds
2ffa1bff6e
Fix empty custom-control-label alignment issue ( #27566 )
2018-10-31 09:49:52 +02:00
Martijn Cuppens
e0fa9a812c
#27502 : Prevent active state border change
2018-10-30 09:06:25 +02:00
Martijn Cuppens
e2014e8ed7
Custom checkboxes and radios retheming ( #27064 )
2018-10-21 10:25:07 +03:00
719media
2c1a743cc9
Update _custom-forms.scss ( #27276 )
...
user-select has no effect on before/after pseudo elements
2018-10-20 22:35:56 +03:00
Andres Galante
5088f02730
Add font weight options for form controls and custom select ( #27343 )
2018-10-20 11:50:20 +03:00
Martijn Cuppens
e3c0b3d3af
#27112 : fix border focus border color
2018-09-02 16:25:55 -07:00
Mark Otto
0b5a8d9c98
Merge branch 'form-validation-icons' into v4-dev
2018-07-29 14:18:09 -07:00
Robert
70ad98d34d
Fix custom-select font size/padding ( #26585 )
...
fixes #26476
2018-07-29 14:04:35 -07:00
ysds
bbee41431d
Fix custom range height ( #26898 )
...
Fixes #26897
2018-07-24 17:56:03 -07:00
Martijn Cuppens
d80635c1cd
Custom input range disabled styling ( #26540 )
2018-07-24 17:39:15 -07:00
ysds
48c723b60f
Fix custom range thumb style ( #26385 )
...
* Fix focus box shadow of custom ranges
* Put `:focus` selector right after `.custom-range`
* Remove unnecessary `outline: none`
* Fix box-shadow issues in IE/Edge
* Better align
* Fix thumb vertical positions in IE/Edge
* Fix incorrect formula of thumb vertical positions in Webkit
* Fix an incorrect comment
* Fix incorrect box-shadow-width
2018-07-14 21:31:20 -07:00
Andrew Luca
0fd40837e8
Fix custom-forms
heights and position ( #25602 )
...
Now `.custom-control` will have height equal to `$font-size-base`
Fix custom checkbox and radio top position (we can't subtract rem from unit)
`$line-height-base - $custom-control-indicator-size` is not valid
Because `$line-height-base` is a unitless variable and `$custom-control-indicator-size`
is a unit (rem) variable
2018-07-14 21:29:19 -07:00
Mark Otto
8d8d3ef82a
Restore feedback icons on validated form fields
...
- Only applies to textual inputs and textareas with `.form-control` and selects with `.custom-select`
- Wrap the feedback icons in a Sass variable option, $enable-validation-icons, so folks who theme can disable
- Update docs to summarize styles, mention the icons, include a textarea demo, and add mention of the Sass variable option to the Theming section
2018-07-08 15:31:18 -07:00
Mark Otto
d78aac01d6
Update box-shadows on .custom-select ( #26754 )
...
- Fixes #25656 where custom selects had the wrong focus shadow
- Fixes #26668 where custom selects had no inset shadow (also closes #26572 which had the wrong form classes on the first example anyway)
2018-06-24 13:07:49 -07:00
ysds
2ea0a9bba9
Add disabled bg color to disabled custom file
2018-05-23 01:43:53 +03:00
Martijn Cuppens
4dd65f0b38
Custom forms transition
2018-05-23 01:38:12 +03:00
Mark Otto
139e89235f
Simplify custom file inner height for generated browse button
2018-04-29 17:02:38 -07:00
ysds
3d0d5f1247
workaround for IE that check indicator does not appear ( #25944 )
2018-04-23 21:52:59 -07:00