Revert "Prepare SCSS version - Use normal CSS as init (currently without variables, is equal to the current master css)"

This reverts commit ecde278994.
This commit is contained in:
Argo Zhang 2020-12-09 11:35:47 +08:00
parent ecde278994
commit 3fa3e2c0c9
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
14 changed files with 3932 additions and 41222 deletions

5
.gitignore vendored
View File

@ -353,7 +353,4 @@ src/**/*.xml
# Coverage
coverage*.xml
tools/
# NodeJS
package-lock.json
tools/

View File

@ -1,76 +0,0 @@
{
"name": "bootstrapblazor",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/ArgoZhang/BootstrapBlazor.git"
},
"scripts": {
"css": "npm-run-all css-compile* css-minify*",
"css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 8 wwwroot/scss/bootstrap.blazor.scss wwwroot/css/bootstrap.blazor.css",
"css-compile-bundle": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 8 wwwroot/scss/bootstrap.blazor.bundle.scss wwwroot/css/bootstrap.blazor.bundle.css",
"css-minify": "cleancss --level 2 --format breaksWith=lf --source-map --source-map-inline-sources --output wwwroot/css/bootstrap.blazor.min.css wwwroot/css/bootstrap.blazor.css",
"css-minify-bundle": "cleancss --level 2 --format breaksWith=lf --source-map --source-map-inline-sources --output wwwroot/css/bootstrap.blazor.bundle.min.css wwwroot/css/bootstrap.blazor.bundle.css",
"watch-css": "nodemon --ignore dist/ --ignore css/ -e scss -x \"npm run css\""
},
"devDependencies": {
"@babel/cli": "^7.12.7",
"@babel/core": "^7.12.7",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@popperjs/core": "^2.5.4",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.3.4",
"autoprefixer": "^10.0.2",
"babel-eslint": "^10.1.0",
"bootstrap": "^4.5.3",
"chalk": "^4.1.0",
"clean-css-cli": "^4.3.0",
"copyfiles": "^2.4.0",
"cross-env": "^7.0.2",
"cssnano": "^4.1.10",
"eslint": "^7.14.0",
"eslint-config-xo": "^0.33.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-unicorn": "^23.0.0",
"find-unused-sass-variables": "^3.0.0",
"font-awesome": "^4.7.0",
"foreach-cli": "^1.8.1",
"hammer-simulator": "0.0.1",
"jquery": "^3.5.1",
"karma": "^5.2.3",
"karma-browserstack-launcher": "^1.6.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-detect-browsers": "^2.3.3",
"karma-firefox-launcher": "^2.1.0",
"karma-jasmine": "^4.0.1",
"karma-jasmine-html-reporter": "^1.5.4",
"karma-rollup-preprocessor": "^7.0.5",
"node-sass": "^5.0.0",
"nodemon": "^2.0.6",
"npm-run-all": "^4.1.5",
"postcss": "^8.1.9",
"postcss-cli": "^8.3.0",
"postcss-combine-duplicated-selectors": "^10.0.2",
"postcss-merge-rules": "^4.0.3",
"rimraf": "^3.0.2",
"rollup": "^2.33.3",
"rollup-plugin-istanbul": "^2.0.1",
"shelljs": "^0.8.4",
"shx": "^0.3.3",
"stylelint": "13.8.0",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.18.0",
"summernote": "^0.8.18",
"sweetalert2": "^10.12.0"
},
"engines": {
"node": ">= 10",
"npm": ">= 5"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -1,118 +0,0 @@
// Color Definitions
$color-primary: #007bff !default;
$color-success: #28a745 !default;
$color-info: #17a2b8 !default;
$color-warning: #ffc107 !default;
$color-danger: #dc3545 !default;
$white: #fff !default;
$black: #000015 !default;
$gray-base: #3c4b64 !default;
$gray-50: #f9f9f9;
$gray-100: #f8f9fa;
$gray-200: #f3f3f3;
$gray-300: #dee2e6;
$gray-400: #ced4da;
$gray-500: #adb5bd;
$gray-600: #868e96;
$gray-700: #495057;
$gray-800: #343a40;
$gray-900: #212529;
$grays: () !default;
// stylelint-disable-next-line scss/dollar-variable-default
$grays: map-merge(
(
"50": $gray-50,
"100": $gray-100,
"200": $gray-200,
"300": $gray-300,
"400": $gray-400,
"500": $gray-500,
"600": $gray-600,
"700": $gray-700,
"800": $gray-800,
"900": $gray-900
),
$grays
);
/* primary */
$primary: $color-primary !default;
$primary-50: lighten($color-primary, 25%) !default;
$primary-100: lighten($color-primary, 20%) !default;
$primary-200: lighten($color-primary, 15%) !default;
$primary-300: lighten($color-primary, 10%) !default;
$primary-400: lighten($color-primary, 5%) !default;
$primary-500: $color-primary !default;
$primary-600: darken($color-primary, 5%) !default;
$primary-700: darken($color-primary, 10%) !default;
$primary-800: darken($color-primary, 15%) !default;
$primary-900: darken($color-primary, 20%) !default;
/* secondary */
$secondary: $gray-600 !default;
$secondary-50: lighten($secondary, 25%) !default;
$secondary-100: lighten($secondary, 20%) !default;
$secondary-200: lighten($secondary, 15%) !default;
$secondary-300: lighten($secondary, 10%) !default;
$secondary-400: lighten($secondary, 5%) !default;
$secondary-500: $secondary !default;
$secondary-600: darken($secondary, 5%) !default;
$secondary-700: darken($secondary, 10%) !default;
$secondary-800: darken($secondary, 15%) !default;
$secondary-900: darken($secondary, 20%) !default;
/* success */
$success: $color-success !default;
$success-50: lighten($color-success, 25%) !default;
$success-100: lighten($color-success, 20%) !default;
$success-200: lighten($color-success, 15%) !default;
$success-300: lighten($color-success, 10%) !default;
$success-400: lighten($color-success, 5%) !default;
$success-500: $color-success !default;
$success-600: darken($color-success, 5%) !default;
$success-700: darken($color-success, 10%) !default;
$success-800: darken($color-success, 15%) !default;
$success-900: darken($color-success, 20%) !default;
/* info */
$info: $color-info !default;
$info-50: lighten($color-info, 25%) !default;
$info-100: lighten($color-info, 20%) !default;
$info-200: lighten($color-info, 15%) !default;
$info-300: lighten($color-info, 10%) !default;
$info-400: lighten($color-info, 5%) !default;
$info-500: $color-info !default;
$info-600: darken($color-info, 5%) !default;
$info-700: darken($color-info, 10%) !default;
$info-800: darken($color-info, 15%) !default;
$info-900: darken($color-info, 20%) !default;
/* warning */
$warning: $color-warning !default;
$warning-50: lighten($color-warning, 25%) !default;
$warning-100: lighten($color-warning, 20%) !default;
$warning-200: lighten($color-warning, 15%) !default;
$warning-300: lighten($color-warning, 10%) !default;
$warning-400: lighten($color-warning, 5%) !default;
$warning-500: $color-warning !default;
$warning-600: darken($color-warning, 5%) !default;
$warning-700: darken($color-warning, 10%) !default;
$warning-800: darken($color-warning, 15%) !default;
$warning-900: darken($color-warning, 20%) !default;
/* danger */
$danger: $color-danger !default;
$danger-50: lighten($color-danger, 25%) !default;
$danger-100: lighten($color-danger, 20%) !default;
$danger-200: lighten($color-danger, 15%) !default;
$danger-300: lighten($color-danger, 10%) !default;
$danger-400: lighten($color-danger, 5%) !default;
$danger-500: $color-danger !default;
$danger-600: darken($color-danger, 5%) !default;
$danger-700: darken($color-danger, 10%) !default;
$danger-800: darken($color-danger, 15%) !default;
$danger-900: darken($color-danger, 20%) !default;

View File

@ -1,51 +0,0 @@
/* Import Boostrap fuctions and variables */
@import "../../node_modules/bootstrap/scss/functions";
@import "../../node_modules/bootstrap/scss/variables";
/* Import Color overrides */
@import "variables";
/* Import Bootstrap */
@import "../../node_modules/bootstrap/scss/mixins";
@import "../../node_modules/bootstrap/scss/root";
@import "../../node_modules/bootstrap/scss/reboot";
@import "../../node_modules/bootstrap/scss/type";
@import "../../node_modules/bootstrap/scss/images";
@import "../../node_modules/bootstrap/scss/code";
@import "../../node_modules/bootstrap/scss/grid";
@import "../../node_modules/bootstrap/scss/tables";
@import "../../node_modules/bootstrap/scss/forms";
@import "../../node_modules/bootstrap/scss/buttons";
@import "../../node_modules/bootstrap/scss/transitions";
@import "../../node_modules/bootstrap/scss/dropdown";
@import "../../node_modules/bootstrap/scss/button-group";
@import "../../node_modules/bootstrap/scss/input-group";
@import "../../node_modules/bootstrap/scss/custom-forms";
@import "../../node_modules/bootstrap/scss/nav";
@import "../../node_modules/bootstrap/scss/navbar";
@import "../../node_modules/bootstrap/scss/card";
@import "../../node_modules/bootstrap/scss/breadcrumb";
@import "../../node_modules/bootstrap/scss/pagination";
@import "../../node_modules/bootstrap/scss/badge";
@import "../../node_modules/bootstrap/scss/jumbotron";
@import "../../node_modules/bootstrap/scss/alert";
@import "../../node_modules/bootstrap/scss/progress";
@import "../../node_modules/bootstrap/scss/media";
@import "../../node_modules/bootstrap/scss/list-group";
@import "../../node_modules/bootstrap/scss/close";
@import "../../node_modules/bootstrap/scss/toasts";
@import "../../node_modules/bootstrap/scss/modal";
@import "../../node_modules/bootstrap/scss/tooltip";
@import "../../node_modules/bootstrap/scss/popover";
@import "../../node_modules/bootstrap/scss/carousel";
@import "../../node_modules/bootstrap/scss/spinners";
@import "../../node_modules/bootstrap/scss/utilities";
@import "../../node_modules/bootstrap/scss/print";
/* Import Bootstrap Blazor */
@import "bootstrapblazor";
/* Import files to Bundle */
@import "../../node_modules/summernote/src/styles/summernote-bs4.scss";
@import "../../node_modules/sweetalert2/src/sweetalert2.scss";
@import "../../node_modules/font-awesome/scss/font-awesome.scss";

View File

@ -1,46 +0,0 @@
/* Import Boostrap fuctions and variables */
@import "../../node_modules/bootstrap/scss/functions";
@import "../../node_modules/bootstrap/scss/variables";
/* Import Color overrides */
@import "variables";
/* Import Bootstrap */
@import "../../node_modules/bootstrap/scss/mixins";
@import "../../node_modules/bootstrap/scss/root";
@import "../../node_modules/bootstrap/scss/reboot";
@import "../../node_modules/bootstrap/scss/type";
@import "../../node_modules/bootstrap/scss/images";
@import "../../node_modules/bootstrap/scss/code";
@import "../../node_modules/bootstrap/scss/grid";
@import "../../node_modules/bootstrap/scss/tables";
@import "../../node_modules/bootstrap/scss/forms";
@import "../../node_modules/bootstrap/scss/buttons";
@import "../../node_modules/bootstrap/scss/transitions";
@import "../../node_modules/bootstrap/scss/dropdown";
@import "../../node_modules/bootstrap/scss/button-group";
@import "../../node_modules/bootstrap/scss/input-group";
@import "../../node_modules/bootstrap/scss/custom-forms";
@import "../../node_modules/bootstrap/scss/nav";
@import "../../node_modules/bootstrap/scss/navbar";
@import "../../node_modules/bootstrap/scss/card";
@import "../../node_modules/bootstrap/scss/breadcrumb";
@import "../../node_modules/bootstrap/scss/pagination";
@import "../../node_modules/bootstrap/scss/badge";
@import "../../node_modules/bootstrap/scss/jumbotron";
@import "../../node_modules/bootstrap/scss/alert";
@import "../../node_modules/bootstrap/scss/progress";
@import "../../node_modules/bootstrap/scss/media";
@import "../../node_modules/bootstrap/scss/list-group";
@import "../../node_modules/bootstrap/scss/close";
@import "../../node_modules/bootstrap/scss/toasts";
@import "../../node_modules/bootstrap/scss/modal";
@import "../../node_modules/bootstrap/scss/tooltip";
@import "../../node_modules/bootstrap/scss/popover";
@import "../../node_modules/bootstrap/scss/carousel";
@import "../../node_modules/bootstrap/scss/spinners";
@import "../../node_modules/bootstrap/scss/utilities";
@import "../../node_modules/bootstrap/scss/print";
/* Import Bootstrap Blazor */
@import "bootstrapblazor";