diff options
| author | sts-ryan-holton <[email protected]> | 2018-11-05 17:19:00 +0000 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-11-05 19:19:00 +0200 |
| commit | 89eef046ef9faae0ce782a37857e10e96228d6fd (patch) | |
| tree | b8d6d3c9c3116e7a0614916598834d4042f265cc /scss | |
| parent | 5c03f23f8523132aee17dbebe50f6def24d3f4c8 (diff) | |
| download | bootstrap-89eef046ef9faae0ce782a37857e10e96228d6fd.tar.xz bootstrap-89eef046ef9faae0ce782a37857e10e96228d6fd.zip | |
Add new `.rounded-pill` utility (#27339)
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_variables.scss | 2 | ||||
| -rw-r--r-- | scss/utilities/_borders.scss | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss index 1e6c32adc..e721c2a65 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -244,6 +244,8 @@ $border-radius: .25rem !default; $border-radius-lg: .3rem !default; $border-radius-sm: .2rem !default; +$rounded-pill: 50rem !default; + $box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default; $box-shadow: 0 .5rem 1rem rgba($black, .15) !default; $box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default; diff --git a/scss/utilities/_borders.scss b/scss/utilities/_borders.scss index b8832ef72..fb759c9ba 100644 --- a/scss/utilities/_borders.scss +++ b/scss/utilities/_borders.scss @@ -54,6 +54,10 @@ border-radius: 50% !important; } +.rounded-pill { + border-radius: $rounded-pill !important; +} + .rounded-0 { border-radius: 0 !important; } |
