Skip to content

Commit

Permalink
Upgrade Bootstrap and Bootstrap Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlove committed Jan 21, 2024
1 parent 1276968 commit 484fb94
Show file tree
Hide file tree
Showing 2,070 changed files with 9,587 additions and 2,889 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Signified
Copyright (c) 2024 Signified

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
103 changes: 100 additions & 3 deletions _sass/_bootstrap-icons.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* Bootstrap Icons v1.10.5 (https://icons.getbootstrap.com/)
* Copyright 2019-2023 The Bootstrap Authors
* Bootstrap Icons v1.11.3 (https://icons.getbootstrap.com/)
* Copyright 2019-2024 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/icons/blob/main/LICENSE)
*/

$bootstrap-icons-font: "bootstrap-icons" !default;
$bootstrap-icons-font-dir: "../bootstrap-icons/fonts" !default;
$bootstrap-icons-font-dir: "../bootstrap-icons/font/fonts" !default;
$bootstrap-icons-font-file: "#{$bootstrap-icons-font-dir}/#{$bootstrap-icons-font}" !default;
$bootstrap-icons-font-hash: "24e3eb84d0bcaf83d77f904c78ac1f47" !default;
$bootstrap-icons-font-src: url("#{$bootstrap-icons-font-file}.woff2?#{$bootstrap-icons-font-hash}") format("woff2"),
Expand Down Expand Up @@ -1986,6 +1986,103 @@ $bootstrap-icons-map: (
"sina-weibo": "\f8ca",
"tencent-qq": "\f8cb",
"wikipedia": "\f8cc",
"alphabet-uppercase": "\f2a5",
"alphabet": "\f68a",
"amazon": "\f68d",
"arrows-collapse-vertical": "\f690",
"arrows-expand-vertical": "\f695",
"arrows-vertical": "\f698",
"arrows": "\f6a2",
"ban-fill": "\f6a3",
"ban": "\f6b6",
"bing": "\f6c2",
"cake": "\f6e0",
"cake2": "\f6ed",
"cookie": "\f6ee",
"copy": "\f759",
"crosshair": "\f769",
"crosshair2": "\f794",
"emoji-astonished-fill": "\f795",
"emoji-astonished": "\f79a",
"emoji-grimace-fill": "\f79b",
"emoji-grimace": "\f7a0",
"emoji-grin-fill": "\f7a1",
"emoji-grin": "\f7a6",
"emoji-surprise-fill": "\f7a7",
"emoji-surprise": "\f7ac",
"emoji-tear-fill": "\f7ad",
"emoji-tear": "\f7b2",
"envelope-arrow-down-fill": "\f7b3",
"envelope-arrow-down": "\f7b8",
"envelope-arrow-up-fill": "\f7b9",
"envelope-arrow-up": "\f7be",
"feather": "\f7bf",
"feather2": "\f7c4",
"floppy-fill": "\f7c5",
"floppy": "\f7d8",
"floppy2-fill": "\f7d9",
"floppy2": "\f7e4",
"gitlab": "\f7e5",
"highlighter": "\f7f8",
"marker-tip": "\f802",
"nvme-fill": "\f803",
"nvme": "\f80c",
"opencollective": "\f80d",
"pci-card-network": "\f8cd",
"pci-card-sound": "\f8ce",
"radar": "\f8cf",
"send-arrow-down-fill": "\f8d0",
"send-arrow-down": "\f8d1",
"send-arrow-up-fill": "\f8d2",
"send-arrow-up": "\f8d3",
"sim-slash-fill": "\f8d4",
"sim-slash": "\f8d5",
"sourceforge": "\f8d6",
"substack": "\f8d7",
"threads-fill": "\f8d8",
"threads": "\f8d9",
"transparency": "\f8da",
"twitter-x": "\f8db",
"type-h4": "\f8dc",
"type-h5": "\f8dd",
"type-h6": "\f8de",
"backpack-fill": "\f8df",
"backpack": "\f8e0",
"backpack2-fill": "\f8e1",
"backpack2": "\f8e2",
"backpack3-fill": "\f8e3",
"backpack3": "\f8e4",
"backpack4-fill": "\f8e5",
"backpack4": "\f8e6",
"brilliance": "\f8e7",
"cake-fill": "\f8e8",
"cake2-fill": "\f8e9",
"duffle-fill": "\f8ea",
"duffle": "\f8eb",
"exposure": "\f8ec",
"gender-neuter": "\f8ed",
"highlights": "\f8ee",
"luggage-fill": "\f8ef",
"luggage": "\f8f0",
"mailbox-flag": "\f8f1",
"mailbox2-flag": "\f8f2",
"noise-reduction": "\f8f3",
"passport-fill": "\f8f4",
"passport": "\f8f5",
"person-arms-up": "\f8f6",
"person-raised-hand": "\f8f7",
"person-standing-dress": "\f8f8",
"person-standing": "\f8f9",
"person-walking": "\f8fa",
"person-wheelchair": "\f8fb",
"shadows": "\f8fc",
"suitcase-fill": "\f8fd",
"suitcase-lg-fill": "\f8fe",
"suitcase-lg": "\f8ff",
"suitcase": "\f900",
"suitcase2-fill": "\f901",
"suitcase2": "\f902",
"vignette": "\f903",
);

@each $icon, $codepoint in $bootstrap-icons-map {
Expand Down
2 changes: 1 addition & 1 deletion _sass/bootstrap/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
--#{$prefix}btn-disabled-color: #{$btn-link-disabled-color};
--#{$prefix}btn-disabled-border-color: transparent;
--#{$prefix}btn-box-shadow: 0 0 0 #000; // Can't use `none` as keyword negates all values when used with multiple shadows
--#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix(color-contrast($link-color), $link-color, 15%))};
--#{$prefix}btn-focus-shadow-rgb: #{$btn-link-focus-shadow-rgb};

text-decoration: $link-decoration;
@if $enable-gradients {
Expand Down
1 change: 1 addition & 0 deletions _sass/bootstrap/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ small {

mark {
padding: $mark-padding;
color: var(--#{$prefix}highlight-color);
background-color: var(--#{$prefix}highlight-bg);
}

Expand Down
3 changes: 3 additions & 0 deletions _sass/bootstrap/_root.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
}

--#{$prefix}code-color: #{$code-color};
--#{$prefix}highlight-color: #{$mark-color};
--#{$prefix}highlight-bg: #{$mark-bg};

// scss-docs-start root-border-var
Expand Down Expand Up @@ -171,6 +172,8 @@
--#{$prefix}link-hover-color-rgb: #{to-rgb($link-hover-color-dark)};

--#{$prefix}code-color: #{$code-color-dark};
--#{$prefix}highlight-color: #{$mark-color-dark};
--#{$prefix}highlight-bg: #{$mark-bg-dark};

--#{$prefix}border-color: #{$border-color-dark};
--#{$prefix}border-color-translucent: #{$border-color-translucent-dark};
Expand Down
6 changes: 3 additions & 3 deletions _sass/bootstrap/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ $utilities: map-merge(
property: box-shadow,
class: shadow,
values: (
null: $box-shadow,
sm: $box-shadow-sm,
lg: $box-shadow-lg,
null: var(--#{$prefix}box-shadow),
sm: var(--#{$prefix}box-shadow-sm),
lg: var(--#{$prefix}box-shadow-lg),
none: none,
)
),
Expand Down
2 changes: 2 additions & 0 deletions _sass/bootstrap/_variables-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ $headings-color-dark: inherit !default;
$link-color-dark: tint-color($primary, 40%) !default;
$link-hover-color-dark: shift-color($link-color-dark, -$link-shade-percentage) !default;
$code-color-dark: tint-color($code-color, 40%) !default;
$mark-color-dark: $body-color-dark !default;
$mark-bg-dark: $yellow-800 !default;


//
Expand Down
28 changes: 15 additions & 13 deletions _sass/bootstrap/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ $dt-font-weight: $font-weight-bold !default;
$list-inline-padding: .5rem !default;

$mark-padding: .1875em !default;
$mark-color: $body-color !default;
$mark-bg: $yellow-100 !default;
// scss-docs-end type-variables

Expand All @@ -734,25 +735,25 @@ $table-cell-padding-x-sm: .25rem !default;

$table-cell-vertical-align: top !default;

$table-color: var(--#{$prefix}body-color) !default;
$table-color: var(--#{$prefix}emphasis-color) !default;
$table-bg: var(--#{$prefix}body-bg) !default;
$table-accent-bg: transparent !default;

$table-th-font-weight: null !default;

$table-striped-color: $table-color !default;
$table-striped-bg-factor: .05 !default;
$table-striped-bg: rgba($black, $table-striped-bg-factor) !default;
$table-striped-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-striped-bg-factor) !default;

$table-active-color: $table-color !default;
$table-active-bg-factor: .1 !default;
$table-active-bg: rgba($black, $table-active-bg-factor) !default;
$table-active-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-active-bg-factor) !default;

$table-hover-color: $table-color !default;
$table-hover-bg-factor: .075 !default;
$table-hover-bg: rgba($black, $table-hover-bg-factor) !default;
$table-hover-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-hover-bg-factor) !default;

$table-border-factor: .1 !default;
$table-border-factor: .2 !default;
$table-border-width: var(--#{$prefix}border-width) !default;
$table-border-color: var(--#{$prefix}border-color) !default;

Expand Down Expand Up @@ -842,6 +843,7 @@ $btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
$btn-link-color: var(--#{$prefix}link-color) !default;
$btn-link-hover-color: var(--#{$prefix}link-hover-color) !default;
$btn-link-disabled-color: $gray-600 !default;
$btn-link-focus-shadow-rgb: to-rgb(mix(color-contrast($link-color), $link-color, 15%)) !default;

// Allows for customizing button radius independently from global border radius
$btn-border-radius: var(--#{$prefix}border-radius) !default;
Expand Down Expand Up @@ -903,7 +905,7 @@ $input-disabled-border-color: null !default;
$input-color: var(--#{$prefix}body-color) !default;
$input-border-color: var(--#{$prefix}border-color) !default;
$input-border-width: $input-btn-border-width !default;
$input-box-shadow: $box-shadow-inset !default;
$input-box-shadow: var(--#{$prefix}box-shadow-inset) !default;

$input-border-radius: var(--#{$prefix}border-radius) !default;
$input-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
Expand Down Expand Up @@ -1019,7 +1021,7 @@ $form-select-feedback-icon-size: $input-height-inner-half $input-height-i
$form-select-border-width: $input-border-width !default;
$form-select-border-color: $input-border-color !default;
$form-select-border-radius: $input-border-radius !default;
$form-select-box-shadow: $box-shadow-inset !default;
$form-select-box-shadow: var(--#{$prefix}box-shadow-inset) !default;

$form-select-focus-border-color: $input-focus-border-color !default;
$form-select-focus-width: $input-focus-width !default;
Expand All @@ -1042,9 +1044,9 @@ $form-select-transition: $input-transition !default;
$form-range-track-width: 100% !default;
$form-range-track-height: .5rem !default;
$form-range-track-cursor: pointer !default;
$form-range-track-bg: var(--#{$prefix}tertiary-bg) !default;
$form-range-track-bg: var(--#{$prefix}secondary-bg) !default;
$form-range-track-border-radius: 1rem !default;
$form-range-track-box-shadow: $box-shadow-inset !default;
$form-range-track-box-shadow: var(--#{$prefix}box-shadow-inset) !default;

$form-range-thumb-width: 1rem !default;
$form-range-thumb-height: $form-range-thumb-width !default;
Expand Down Expand Up @@ -1246,7 +1248,7 @@ $dropdown-border-width: var(--#{$prefix}border-width) !default;
$dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}) !default; // stylelint-disable-line function-disallowed-list
$dropdown-divider-bg: $dropdown-border-color !default;
$dropdown-divider-margin-y: $spacer * .5 !default;
$dropdown-box-shadow: $box-shadow !default;
$dropdown-box-shadow: var(--#{$prefix}box-shadow) !default;

$dropdown-link-color: var(--#{$prefix}body-color) !default;
$dropdown-link-hover-color: $dropdown-link-color !default;
Expand Down Expand Up @@ -1435,7 +1437,7 @@ $popover-border-width: var(--#{$prefix}border-width) !default;
$popover-border-color: var(--#{$prefix}border-color-translucent) !default;
$popover-border-radius: var(--#{$prefix}border-radius-lg) !default;
$popover-inner-border-radius: calc(#{$popover-border-radius} - #{$popover-border-width}) !default; // stylelint-disable-line function-disallowed-list
$popover-box-shadow: $box-shadow !default;
$popover-box-shadow: var(--#{$prefix}box-shadow) !default;

$popover-header-font-size: $font-size-base !default;
$popover-header-bg: var(--#{$prefix}secondary-bg) !default;
Expand Down Expand Up @@ -1509,8 +1511,8 @@ $modal-content-border-color: var(--#{$prefix}border-color-translucent) !d
$modal-content-border-width: var(--#{$prefix}border-width) !default;
$modal-content-border-radius: var(--#{$prefix}border-radius-lg) !default;
$modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
$modal-content-box-shadow-xs: $box-shadow-sm !default;
$modal-content-box-shadow-sm-up: $box-shadow !default;
$modal-content-box-shadow-xs: var(--#{$prefix}box-shadow-sm) !default;
$modal-content-box-shadow-sm-up: var(--#{$prefix}box-shadow) !default;

$modal-backdrop-bg: $black !default;
$modal-backdrop-opacity: .5 !default;
Expand Down
1 change: 1 addition & 0 deletions _sass/bootstrap/forms/_form-check.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
.form-check-input {
--#{$prefix}form-check-bg: #{$form-check-input-bg};

flex-shrink: 0;
width: $form-check-input-width;
height: $form-check-input-width;
margin-top: ($line-height-base - $form-check-input-width) * .5; // line-height minus check height
Expand Down
2 changes: 1 addition & 1 deletion _sass/bootstrap/mixins/_banner.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@mixin bsBanner($file) {
/*!
* Bootstrap #{$file} v5.3.1 (https://getbootstrap.com/)
* Bootstrap #{$file} v5.3.2 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
Expand Down
2 changes: 1 addition & 1 deletion _sass/bootstrap/mixins/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
@mixin row-cols($count) {
> * {
flex: 0 0 auto;
width: divide(100%, $count);
width: percentage(divide(1, $count));
}
}

Expand Down
4 changes: 2 additions & 2 deletions assets/bootstrap-icons/0-circle-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/bootstrap-icons/0-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/bootstrap-icons/0-square-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/bootstrap-icons/0-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/bootstrap-icons/1-circle-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/bootstrap-icons/1-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/bootstrap-icons/1-square-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/bootstrap-icons/1-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 484fb94

Please sign in to comment.