Martijn Cuppens
568c1d19d3
Fix border radius for inputs groups with validation
2020-10-26 15:23:25 -07:00
Martijn Cuppens
313f762d03
Fix border radii on validation messages
2020-10-26 15:23:25 -07:00
Martijn Cuppens
3e2c3298da
Require .has-validation
class to fix border radii on form elements
2020-10-26 15:23:25 -07:00
Mark Otto
3cf51c6ac9
Add Sass variable for CSS variable prefix ( #31684 )
...
* Add Sass variable for CSS variable prefix
* Update other --bs-* var instances
2020-09-30 08:32:58 +03:00
Nikita Mikhaylov
0cb880c7fb
Fix disabled checkbox toggle buttons ( #31651 )
...
* fix disabled checkbox toggle buttons
* add disabled checks-radios examples in documentation
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-29 21:49:50 +03:00
XhmikosR
c30b6df54b
Update stylelint to v13.7.2 ( #31726 )
2020-09-28 14:57:48 +03:00
Martijn Cuppens
5280771883
Input group addon sass customization options ( #31729 )
2020-09-23 15:48:37 +02:00
Martijn Cuppens
8b7b234fd1
Switch to btn-check
2020-06-15 19:04:19 -07:00
Martijn Cuppens
1a0a0858ef
Remove checkbox/radio toggle from button plugin in favor of a CSS only solution
2020-06-15 19:04:19 -07:00
Martijn Cuppens
2df63f4925
Fix gradient on switch checkbox ( #30868 )
2020-05-19 22:06:50 +02:00
Martijn Cuppens
b531bda07c
Improve gradients
...
- 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-15 15:03:12 +03:00
Gaël Poupard
fb0ad7a93c
Fix form file height ( #30699 )
2020-05-05 19:43:16 +02:00
Gaël Poupard
8bee113008
[type=radio] should always be rounded ( #30686 )
2020-04-29 21:13:57 +03:00
Catalin Zalog
ed32ee2e78
Add $form-text-font-weight
( #30617 )
2020-04-20 08:19:06 +02:00
Catalin Zalog
3ff3680d4e
feat: removes .form-text
display ( #30598 )
...
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-16 16:38:21 +02:00
Martijn Cuppens
ed8fd689e6
Simplify checkbox & radio input ( #30557 )
...
- 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-14 15:05:34 +02:00
Catalin Zalog
e2afbbfa82
Restore .form-text
( #30565 )
2020-04-14 09:21:13 +03:00
Catalin Zalog
939beea620
Use box-shadow
mixin for .form-select
( #30555 )
2020-04-11 13:27:01 +02:00
Martijn Cuppens
5e65b12f1c
Add checkbox transition ( #30528 )
2020-04-09 08:07:11 +02:00
Martijn Cuppens
83b49aa688
Create scss-docs
shortcode to get some snippets from the Scs… ( #30502 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-04-06 20:13:35 +02:00
Catalin Zalog
1cc1a47646
Use box-shadow
mixin for form controls ( #30480 )
2020-04-01 19:44:22 +02:00
Martijn Cuppens
6663faa3e7
Fix date inputs heights in safari
2020-04-01 08:30:40 +02:00
Martijn Cuppens
df707cd727
Require .form-label
classes on form labels ( #30476 )
2020-03-31 20:02:57 +02:00
Zedicius
64a5987cc0
File chooser size ( #30040 )
...
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>
2020-03-23 18:36:54 +01:00
Catalin Zalog
8f84d4051b
Make form-check label customizable ( #30426 )
...
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-03-23 18:29:56 +01:00
Martijn Cuppens
85b12549ec
Simplify input groups by dropping .input-group-prepend
and .input-group-append
2020-03-23 15:35:07 +01:00
Martijn Cuppens
d9e83671ae
Drop IE support from Sass
2020-03-18 20:59:27 +02:00
XhmikosR
018a94c9c1
Remove Internet Explorer leftovers
2020-03-18 20:59:27 +02:00
Martijn Cuppens
481f7c6a3d
Use display: block;
for form elements
2020-03-13 08:29:47 +01:00
Martijn Cuppens
beefc6f530
Bootstrap 5 grid
2020-03-10 20:30:29 +01:00
Martijn Cuppens
dc64ff3314
Convert background shorthands to separate properties
2020-02-12 19:45:54 +02:00
jorimvanhove
58f2e8309c
IE auto-size input-group to column ( #30043 )
2020-01-23 17:30:31 +02:00
Martijn Cuppens
4387038421
Simplify disabled styles ( #29296 )
...
* Simplify disabled styles
* Mention pointer-events usage
2019-12-27 18:40:06 +02:00
Martijn Cuppens
4b021dc666
Remove redundant top margin ( #29883 )
2019-12-25 20:54:43 +01:00
wojtask9
043b054480
Remove .form-group
leftovers ( #29449 )
2019-12-09 19:22:12 +01:00
jeromelebleu
2a6ba75388
Use pseudo-class too for disabled check/radio ( #29740 )
2019-12-06 02:28:34 +02:00
Jonathan Hefner
0caed940a5
Set vertical-align on .form-check-input ( #29521 )
...
This is a follow-up to #29322 , specifically "allowing easy placement of
the `.form-check-input` in more places." In my testing in Firefox and
Chrome, setting `vertical-align: top` removes the need to add
`float-left` to vertically align the checkbox and label text. And doing
so does not visually affect examples which do apply `float: left` via
nesting in a `.form-check`.
2019-11-24 20:15:35 +01:00
Martijn Cuppens
460ba061cb
Keep themed appearance for print ( #29714 )
2019-11-24 20:01:02 +01:00
Martijn Cuppens
eb849d73cd
Make check label cursor customizable ( #29654 )
2019-11-07 21:03:52 +02:00
ysds
d6ebc60d3d
Add add and subtract function
2019-10-31 08:30:53 +02:00
Mark Otto
b81a23a60d
Update .form-check to properly support gradients when enabled ( #29338 )
2019-10-28 08:12:07 +01:00
Mark Otto
707973ebdd
v5: .form-check layout changes ( #29322 )
...
* 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-10-02 22:19:45 +03:00
Paweł Kuna
0a3aa08b89
Remove outline from select box in FF ( #29445 )
...
* Remove outline from select box in FF
* Use $form-select-color
2019-09-27 18:58:53 +03:00
XhmikosR
de3a3731bd
Sass: remove redundant stylelint inline suppressions. ( #29427 )
2019-09-26 21:50:14 +03:00
Martijn Cuppens
007ea0d8d0
Clean up line heights & add line height utilities ( #29271 )
2019-08-30 10:42:41 +03:00
Martijn Cuppens
68d67c8f16
Add rounded corners to color swatches
2019-08-24 02:26:28 +03:00
Mark Otto
57e17706a9
Add support and docs for color input
2019-08-24 02:26:28 +03:00
Martijn Cuppens
94521206e5
Split up .form-control
& .form-select
selectors
2019-08-18 16:33:10 +02:00
m5o
7b3ec256d5
set min-height for form-control textarea
...
* set `min-height` for `.form-control` textarea
* prevent user from shrink textarea to minimum height
2019-08-18 16:33:10 +02:00
tu4mo
b3cf60018c
Add possibility to define custom border color for disabled form controls ( #29257 )
2019-08-18 17:08:59 +03:00