Gaël Poupard
32d18d199c
fix(grid): zero min-width on .col has too much side-effects ( #30979 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-06-09 21:49:29 +03:00
Gaël Poupard
92a728eae6
Prevent .row
from shrinking in flex container ( #30940 )
2020-06-08 19:47:43 +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
Mark Otto
0408799ae5
Rename variables for brevity
...
- Rename `$enable-prefers-reduced-motion-media-query` to `$enable-reduced-motion`
- Rename `$enable-pointer-cursor-for-buttons` to `$enable-button-pointers`
2020-04-26 17:26:04 -07:00
Martijn Cuppens
eed27f35cc
Add bs prefix
2020-04-24 10:05:10 +02:00
Martijn Cuppens
d089a683c8
Prevent nested tables style leaks
2020-04-24 10:05:10 +02:00
Catalin Zalog
338ca83821
grid: checks for $grid-columns > 0
( #30605 )
...
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-18 11:51:50 +02:00
Catalin Zalog
6b5f055a7d
feat: checks for $grid-row-columns
( #30606 )
2020-04-16 19:15:51 +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
8cdb057111
Add bs-
prefixes to custom properties ( #30591 )
2020-04-15 18:52:16 +02:00
Catalin Zalog
8cb60bf043
Use box-shadow
mixin for .btn
( #30512 )
...
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-04-11 13:40:39 +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
ysds
062002d952
Fix CSS and improve docs
2020-04-01 10:05:43 +03:00
gsoti
e138decdbb
Add Full-Screen size to Modal and Responsive variations for breakpoints
...
(Works from breakpoint and down)
2020-04-01 10:05:43 +03:00
Shohei Yoshida
053d5d5e93
transition() mixin prevent redundant 'transition: none' and pass null
( #30391 )
...
* Prevent redundant 'none' for prefers-reduced-motion
* Output warning when use 'none' or 'null' with multiple arguments
* Fix for libsass(node-sass)
2020-04-01 09:42:33 +03:00
Martijn Cuppens
8414126266
Switch to custom properties to control grid gutter widths ( #30475 )
2020-03-30 15:12:36 +02:00
Gaël Poupard
03908ea37a
Use WCAG contrast algo ( #30168 )
2020-03-23 18:03:56 +01:00
Martijn Cuppens
2e150e722a
Use next dropdown menu instead of first of the parent
2020-03-23 15:35:07 +01:00
Catalin Zalog
52c5b06f1c
fix(css): adds a new opacity var
...
Fixes beeing able to control `.is-valid` & `.is-invalid` input:focus opacity
2020-03-16 08:52:13 +01:00
Martijn Cuppens
fca5e35d13
Add row-cols-auto and responsive variants
2020-03-10 20:30:29 +01:00
Martijn Cuppens
5ac9fe8967
bootstrap-grid.css: Only apply box-sizing: border-box
to the columns instead of using the universal selector
2020-03-10 20:30:29 +01:00
Martijn Cuppens
beefc6f530
Bootstrap 5 grid
2020-03-10 20:30:29 +01:00
Shohei Yoshida
8087272f06
Remove unnecessary reduce motion when $enable-transition: false
( #30183 )
2020-02-17 09:46:53 +02:00
XhmikosR
8d791f2800
Revert "Placeholder for transitions reset to prevent code duplication #29862 "
...
This reverts commit cd7e5d1111
.
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
2020-02-15 12:41:33 +01:00
Martijn Cuppens
1d8a3a9597
Add RFS to utility API ( #30050 )
2020-02-15 12:01:32 +01:00
Gaël Poupard
cd7e5d1111
Placeholder for transitions reset to prevent code duplication… ( #29870 )
...
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-14 20:50:50 +01:00
Shohei Yoshida
a9263e38fd
Avoid border-radius functions return negative values ( #30166 )
...
* Avoid border-radius functions return negative values
* Update _border-radius.scss
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-02-14 08:40:07 +02:00
Martijn Cuppens
f54b83073d
Shorten if notations so that property order can be applied
2020-02-12 19:45:54 +02:00
Martijn Cuppens
dc64ff3314
Convert background shorthands to separate properties
2020-02-12 19:45:54 +02:00
Martijn Cuppens
980c5fd728
Remove redundant properties & nullify redundant percentages
2020-02-12 19:45:54 +02:00
Martijn Cuppens
1bc2d65b29
Remove unrelated properties from gradient-bg mixin
2020-02-12 19:45:54 +02:00
Martijn Cuppens
6e8ea2722d
Introduce posibility to disable !important suffix for utility classes ( #29625 )
2020-02-10 16:05:07 +02:00
Martijn Cuppens
532feab38b
Split grid & containers ( #29146 )
2020-02-03 21:02:53 +01:00
Jens Luyten
2e6c9f32bd
Prevent grid with default cols from breaking when large pre was present ( #30049 )
2020-01-25 11:15:06 +02:00
Florian Lacreuse
d5270cb811
Use word-wrap in .text-break for IE and Edge compatibility.
2020-01-04 18:26:24 +01:00
Martijn Cuppens
4387038421
Simplify disabled styles ( #29296 )
...
* Simplify disabled styles
* Mention pointer-events usage
2019-12-27 18:40:06 +02:00
XhmikosR
b1b7f8ee76
Remove the deprecated form-control-focus
mixin
2019-12-14 15:47:39 +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
104385c508
Add make-col-auto mixin ( #29367 )
2019-10-17 09:46:34 +03:00
Martijn Cuppens
7327e38b1c
Fix top level ampersand ( #29518 )
...
Fixes dart sass compatibility.
2019-10-12 16:07:22 +03:00
Jeremy Jackson
4e37fc3ab4
Add color argument to button mixins ( #29444 )
...
Add optional `$color` argument to `button-variant()` and
`button-outline-variant()` for additional flexibility.
2019-10-12 11:21:22 +03:00
ysds
ebfeaa4ad1
Allow override default col width
2019-08-30 13:07:27 -07:00
Mark Otto
cc248791b0
Cleanup
...
- Rename and move the variable to variables file
- Move code to the grid file
- Use the mixin to generate our own classes
- Wrap in a grid classes enabled conditional
- Document the mixin
2019-08-30 13:07:27 -07:00
Martijn Cuppens
007ea0d8d0
Clean up line heights & add line height utilities ( #29271 )
2019-08-30 10:42:41 +03:00
Martijn Cuppens
4db520bedb
Don't bind validation to form controls
2019-08-27 19:28:28 +02:00
Martijn Cuppens
19ee63ad25
Link helpers & use utility API for all utilities
2019-08-26 08:21:24 +02:00
Martijn Cuppens
0aabaa209d
Drop nav divider mixin
2019-08-22 08:10:44 +02:00
GeoSot
4ae6a29b12
Allow .page-links to get left margin. ( #28948 )
...
* Allow .page-links to get left margin.
* Add border-radius to page-links in case they have left margin
* Apply MartijnCuppens suggestion to _pagination.scss
Co-Authored-By: Martijn Cuppens <martijn.cuppens@gmail.com>
* Plus if/else Rules
* Formatting fixes
* Fix border-radius for pagination-size
* Use mixin for default pagination sizing
2019-08-03 07:11:57 -07:00
Martijn Cuppens
b2ae6a6a94
Apply at-mixin-argumentless-call-parentheses: always
stylelint rule
2019-07-24 10:31:49 +03:00
Martijn Cuppens
f6694b7440
Use escape-svg() function ( #29077 )
...
* Use escape-svg() function
* Update theming.md
2019-07-19 18:57:12 -07:00