diff --git a/include/thirdparty/Bootstrap4/scss/bootstrap/_custom-forms.scss b/include/thirdparty/Bootstrap4/scss/bootstrap/_custom-forms.scss index 00a929f..1b7e970 100644 --- a/include/thirdparty/Bootstrap4/scss/bootstrap/_custom-forms.scss +++ b/include/thirdparty/Bootstrap4/scss/bootstrap/_custom-forms.scss @@ -333,10 +333,15 @@ background-color: $custom-file-disabled-bg; } - @each $lang, $value in $custom-file-text { - &:lang(#{$lang}) ~ .custom-file-label::after { + @each $lang, $value in $custom-file-text { + &:lang(#{$lang}) ~ .custom-file-label::after { + // Fix for ScssPhp 2.x: If $value is a map, extract the text using the key + @if type-of($value) == 'map' { + content: map-get($value, $lang); + } @else { content: $value; } + } } ~ .custom-file-label[data-browse]::after { diff --git a/include/thirdparty/Bootstrap4/scss/bootstrap/_modal.scss b/include/thirdparty/Bootstrap4/scss/bootstrap/_modal.scss index b5bde4e..e418d1b 100644 --- a/include/thirdparty/Bootstrap4/scss/bootstrap/_modal.scss +++ b/include/thirdparty/Bootstrap4/scss/bootstrap/_modal.scss @@ -200,7 +200,7 @@ @include vp-align-items(center); // justify-content: flex-end; // Right align buttons with flex property because text-align doesn't work on flex items @include vp-justify-content(flex-end); - padding: ($modal-inner-padding) - $modal-footer-margin-between / 2; + padding: calc(#{$modal-inner-padding} - #{$modal-footer-margin-between / 2}); border-top: $modal-footer-border-width solid $modal-footer-border-color; @include border-bottom-radius($modal-content-inner-border-radius); diff --git a/include/thirdparty/css-crush/package.json b/include/thirdparty/css-crush/package.json deleted file mode 100644 index a94376e..0000000 --- a/include/thirdparty/css-crush/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "csscrush", - "version": "4.1.3", - "description": "CSS-Crush, CSS preprocessor", - "main": "./index.js", - "repository": { - "type": "git", - "url": "https://github.com/peteboere/css-crush.git" - }, - "bugs": { - "url": "https://github.com/peteboere/css-crush/issues" - }, - "bin": { - "csscrush": "./bin/csscrush" - }, - "scripts": { - "lint": "eslint --fix index.js" - }, - "homepage": "http://the-echoplex.net/csscrush", - "license": "MIT", - "devDependencies": { - "eslint": "~8.16.0", - "normalize.css": "7.0.0" - }, - "dependencies": { - "glob": "~8.0.3" - }, - "type": "module", - "engines": { - "node": ">=16" - } -}