2 changes in Boiotstrap4-scss

The changes are compatible with the old version but the soon coming scssphp compiler v 2.10   is 99% Dart-compatible
This commit is contained in:
gtbu 2026-01-02 18:24:02 +01:00
parent 80ad6d5ea1
commit c9caa85fd9
3 changed files with 8 additions and 35 deletions

View file

@ -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 {

View file

@ -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);

View file

@ -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"
}
}