administrate-bootstrap-theme 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/administrate-bootstrap-theme/_base.scss +14 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/components/_form.scss +16 -0
- data/lib/administrate-bootstrap-theme/version.rb +1 -1
- data/node_modules/bootstrap/LICENSE +22 -0
- data/node_modules/bootstrap/README.md +239 -0
- data/node_modules/bootstrap/dist/css/bootstrap-grid.css +4997 -0
- data/node_modules/bootstrap/dist/css/bootstrap-grid.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap-grid.min.css +7 -0
- data/node_modules/bootstrap/dist/css/bootstrap-grid.min.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap-grid.rtl.css +4996 -0
- data/node_modules/bootstrap/dist/css/bootstrap-grid.rtl.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap-grid.rtl.min.css +7 -0
- data/node_modules/bootstrap/dist/css/bootstrap-grid.rtl.min.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap-reboot.css +426 -0
- data/node_modules/bootstrap/dist/css/bootstrap-reboot.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css +8 -0
- data/node_modules/bootstrap/dist/css/bootstrap-reboot.min.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap-reboot.rtl.css +423 -0
- data/node_modules/bootstrap/dist/css/bootstrap-reboot.rtl.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap-reboot.rtl.min.css +8 -0
- data/node_modules/bootstrap/dist/css/bootstrap-reboot.rtl.min.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap-utilities.css +4752 -0
- data/node_modules/bootstrap/dist/css/bootstrap-utilities.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap-utilities.min.css +7 -0
- data/node_modules/bootstrap/dist/css/bootstrap-utilities.min.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap-utilities.rtl.css +4743 -0
- data/node_modules/bootstrap/dist/css/bootstrap-utilities.rtl.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap-utilities.rtl.min.css +7 -0
- data/node_modules/bootstrap/dist/css/bootstrap-utilities.rtl.min.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap.css +10819 -0
- data/node_modules/bootstrap/dist/css/bootstrap.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap.min.css +7 -0
- data/node_modules/bootstrap/dist/css/bootstrap.min.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap.rtl.css +10795 -0
- data/node_modules/bootstrap/dist/css/bootstrap.rtl.css.map +1 -0
- data/node_modules/bootstrap/dist/css/bootstrap.rtl.min.css +7 -0
- data/node_modules/bootstrap/dist/css/bootstrap.rtl.min.css.map +1 -0
- data/node_modules/bootstrap/dist/js/bootstrap.bundle.js +6714 -0
- data/node_modules/bootstrap/dist/js/bootstrap.bundle.js.map +1 -0
- data/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js +7 -0
- data/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -0
- data/node_modules/bootstrap/dist/js/bootstrap.esm.js +4944 -0
- data/node_modules/bootstrap/dist/js/bootstrap.esm.js.map +1 -0
- data/node_modules/bootstrap/dist/js/bootstrap.esm.min.js +7 -0
- data/node_modules/bootstrap/dist/js/bootstrap.esm.min.js.map +1 -0
- data/node_modules/bootstrap/dist/js/bootstrap.js +4993 -0
- data/node_modules/bootstrap/dist/js/bootstrap.js.map +1 -0
- data/node_modules/bootstrap/dist/js/bootstrap.min.js +7 -0
- data/node_modules/bootstrap/dist/js/bootstrap.min.js.map +1 -0
- data/node_modules/bootstrap/js/dist/alert.js +264 -0
- data/node_modules/bootstrap/js/dist/alert.js.map +1 -0
- data/node_modules/bootstrap/js/dist/base-component.js +62 -0
- data/node_modules/bootstrap/js/dist/base-component.js.map +1 -0
- data/node_modules/bootstrap/js/dist/button.js +146 -0
- data/node_modules/bootstrap/js/dist/button.js.map +1 -0
- data/node_modules/bootstrap/js/dist/carousel.js +757 -0
- data/node_modules/bootstrap/js/dist/carousel.js.map +1 -0
- data/node_modules/bootstrap/js/dist/collapse.js +551 -0
- data/node_modules/bootstrap/js/dist/collapse.js.map +1 -0
- data/node_modules/bootstrap/js/dist/dom/data.js +69 -0
- data/node_modules/bootstrap/js/dist/dom/data.js.map +1 -0
- data/node_modules/bootstrap/js/dist/dom/event-handler.js +305 -0
- data/node_modules/bootstrap/js/dist/dom/event-handler.js.map +1 -0
- data/node_modules/bootstrap/js/dist/dom/manipulator.js +89 -0
- data/node_modules/bootstrap/js/dist/dom/manipulator.js.map +1 -0
- data/node_modules/bootstrap/js/dist/dom/selector-engine.js +86 -0
- data/node_modules/bootstrap/js/dist/dom/selector-engine.js.map +1 -0
- data/node_modules/bootstrap/js/dist/dropdown.js +662 -0
- data/node_modules/bootstrap/js/dist/dropdown.js.map +1 -0
- data/node_modules/bootstrap/js/dist/modal.js +752 -0
- data/node_modules/bootstrap/js/dist/modal.js.map +1 -0
- data/node_modules/bootstrap/js/dist/offcanvas.js +509 -0
- data/node_modules/bootstrap/js/dist/offcanvas.js.map +1 -0
- data/node_modules/bootstrap/js/dist/popover.js +216 -0
- data/node_modules/bootstrap/js/dist/popover.js.map +1 -0
- data/node_modules/bootstrap/js/dist/scrollspy.js +400 -0
- data/node_modules/bootstrap/js/dist/scrollspy.js.map +1 -0
- data/node_modules/bootstrap/js/dist/tab.js +347 -0
- data/node_modules/bootstrap/js/dist/tab.js.map +1 -0
- data/node_modules/bootstrap/js/dist/toast.js +335 -0
- data/node_modules/bootstrap/js/dist/toast.js.map +1 -0
- data/node_modules/bootstrap/js/dist/tooltip.js +1055 -0
- data/node_modules/bootstrap/js/dist/tooltip.js.map +1 -0
- data/node_modules/bootstrap/js/src/alert.js +141 -0
- data/node_modules/bootstrap/js/src/base-component.js +46 -0
- data/node_modules/bootstrap/js/src/button.js +95 -0
- data/node_modules/bootstrap/js/src/carousel.js +624 -0
- data/node_modules/bootstrap/js/src/collapse.js +410 -0
- data/node_modules/bootstrap/js/src/dom/data.js +57 -0
- data/node_modules/bootstrap/js/src/dom/event-handler.js +331 -0
- data/node_modules/bootstrap/js/src/dom/manipulator.js +80 -0
- data/node_modules/bootstrap/js/src/dom/selector-engine.js +75 -0
- data/node_modules/bootstrap/js/src/dropdown.js +543 -0
- data/node_modules/bootstrap/js/src/modal.js +582 -0
- data/node_modules/bootstrap/js/src/offcanvas.js +279 -0
- data/node_modules/bootstrap/js/src/popover.js +171 -0
- data/node_modules/bootstrap/js/src/scrollspy.js +319 -0
- data/node_modules/bootstrap/js/src/tab.js +220 -0
- data/node_modules/bootstrap/js/src/toast.js +219 -0
- data/node_modules/bootstrap/js/src/tooltip.js +802 -0
- data/node_modules/bootstrap/js/src/util/index.js +253 -0
- data/node_modules/bootstrap/js/src/util/sanitizer.js +127 -0
- data/node_modules/bootstrap/js/src/util/scrollbar.js +70 -0
- data/node_modules/bootstrap/package.json +177 -0
- data/node_modules/bootstrap/scss/_accordion.scss +116 -0
- data/node_modules/bootstrap/scss/_alert.scss +57 -0
- data/node_modules/bootstrap/scss/_badge.scss +29 -0
- data/node_modules/bootstrap/scss/_breadcrumb.scss +28 -0
- data/node_modules/bootstrap/scss/_button-group.scss +139 -0
- data/node_modules/bootstrap/scss/_buttons.scss +111 -0
- data/node_modules/bootstrap/scss/_card.scss +215 -0
- data/node_modules/bootstrap/scss/_carousel.scss +229 -0
- data/node_modules/bootstrap/scss/_close.scss +40 -0
- data/node_modules/bootstrap/scss/_containers.scss +41 -0
- data/node_modules/bootstrap/scss/_dropdown.scss +246 -0
- data/node_modules/bootstrap/scss/_forms.scss +9 -0
- data/node_modules/bootstrap/scss/_functions.scss +205 -0
- data/node_modules/bootstrap/scss/_grid.scss +22 -0
- data/node_modules/bootstrap/scss/_helpers.scss +7 -0
- data/node_modules/bootstrap/scss/_images.scss +42 -0
- data/node_modules/bootstrap/scss/_list-group.scss +174 -0
- data/node_modules/bootstrap/scss/_mixins.scss +41 -0
- data/node_modules/bootstrap/scss/_modal.scss +237 -0
- data/node_modules/bootstrap/scss/_nav.scss +139 -0
- data/node_modules/bootstrap/scss/_navbar.scss +306 -0
- data/node_modules/bootstrap/scss/_offcanvas.scss +77 -0
- data/node_modules/bootstrap/scss/_pagination.scss +64 -0
- data/node_modules/bootstrap/scss/_popover.scss +158 -0
- data/node_modules/bootstrap/scss/_progress.scss +48 -0
- data/node_modules/bootstrap/scss/_reboot.scss +621 -0
- data/node_modules/bootstrap/scss/_root.scss +16 -0
- data/node_modules/bootstrap/scss/_spinners.scss +69 -0
- data/node_modules/bootstrap/scss/_tables.scss +150 -0
- data/node_modules/bootstrap/scss/_toasts.scss +51 -0
- data/node_modules/bootstrap/scss/_tooltip.scss +115 -0
- data/node_modules/bootstrap/scss/_transitions.scss +21 -0
- data/node_modules/bootstrap/scss/_type.scss +104 -0
- data/node_modules/bootstrap/scss/_utilities.scss +594 -0
- data/node_modules/bootstrap/scss/_variables.scss +1464 -0
- data/node_modules/bootstrap/scss/bootstrap-grid.scss +65 -0
- data/node_modules/bootstrap/scss/bootstrap-reboot.scss +15 -0
- data/node_modules/bootstrap/scss/bootstrap-utilities.scss +18 -0
- data/node_modules/bootstrap/scss/bootstrap.scss +52 -0
- data/node_modules/bootstrap/scss/forms/_floating-labels.scss +61 -0
- data/node_modules/bootstrap/scss/forms/_form-check.scss +152 -0
- data/node_modules/bootstrap/scss/forms/_form-control.scss +219 -0
- data/node_modules/bootstrap/scss/forms/_form-range.scss +91 -0
- data/node_modules/bootstrap/scss/forms/_form-select.scss +67 -0
- data/node_modules/bootstrap/scss/forms/_form-text.scss +11 -0
- data/node_modules/bootstrap/scss/forms/_input-group.scss +121 -0
- data/node_modules/bootstrap/scss/forms/_labels.scss +36 -0
- data/node_modules/bootstrap/scss/forms/_validation.scss +12 -0
- data/node_modules/bootstrap/scss/helpers/_clearfix.scss +3 -0
- data/node_modules/bootstrap/scss/helpers/_colored-links.scss +12 -0
- data/node_modules/bootstrap/scss/helpers/_position.scss +30 -0
- data/node_modules/bootstrap/scss/helpers/_ratio.scss +26 -0
- data/node_modules/bootstrap/scss/helpers/_stretched-link.scss +15 -0
- data/node_modules/bootstrap/scss/helpers/_text-truncation.scss +7 -0
- data/node_modules/bootstrap/scss/helpers/_visually-hidden.scss +8 -0
- data/node_modules/bootstrap/scss/mixins/_alert.scss +11 -0
- data/node_modules/bootstrap/scss/mixins/_border-radius.scss +78 -0
- data/node_modules/bootstrap/scss/mixins/_box-shadow.scss +18 -0
- data/node_modules/bootstrap/scss/mixins/_breakpoints.scss +127 -0
- data/node_modules/bootstrap/scss/mixins/_buttons.scss +133 -0
- data/node_modules/bootstrap/scss/mixins/_caret.scss +64 -0
- data/node_modules/bootstrap/scss/mixins/_clearfix.scss +9 -0
- data/node_modules/bootstrap/scss/mixins/_container.scss +9 -0
- data/node_modules/bootstrap/scss/mixins/_deprecate.scss +10 -0
- data/node_modules/bootstrap/scss/mixins/_forms.scss +134 -0
- data/node_modules/bootstrap/scss/mixins/_gradients.scss +47 -0
- data/node_modules/bootstrap/scss/mixins/_grid.scss +120 -0
- data/node_modules/bootstrap/scss/mixins/_image.scss +16 -0
- data/node_modules/bootstrap/scss/mixins/_list-group.scss +24 -0
- data/node_modules/bootstrap/scss/mixins/_lists.scss +7 -0
- data/node_modules/bootstrap/scss/mixins/_pagination.scss +31 -0
- data/node_modules/bootstrap/scss/mixins/_reset-text.scss +17 -0
- data/node_modules/bootstrap/scss/mixins/_resize.scss +6 -0
- data/node_modules/bootstrap/scss/mixins/_table-variants.scss +21 -0
- data/node_modules/bootstrap/scss/mixins/_text-truncate.scss +8 -0
- data/node_modules/bootstrap/scss/mixins/_transition.scss +26 -0
- data/node_modules/bootstrap/scss/mixins/_utilities.scss +68 -0
- data/node_modules/bootstrap/scss/mixins/_visually-hidden.scss +29 -0
- data/node_modules/bootstrap/scss/utilities/_api.scss +47 -0
- data/node_modules/bootstrap/scss/vendor/_rfs.scss +312 -0
- metadata +182 -1
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bootstrap",
|
|
3
|
+
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
|
|
4
|
+
"version": "5.0.0-beta3",
|
|
5
|
+
"config": {
|
|
6
|
+
"version_short": "5.0"
|
|
7
|
+
},
|
|
8
|
+
"keywords": [
|
|
9
|
+
"css",
|
|
10
|
+
"sass",
|
|
11
|
+
"mobile-first",
|
|
12
|
+
"responsive",
|
|
13
|
+
"front-end",
|
|
14
|
+
"framework",
|
|
15
|
+
"web"
|
|
16
|
+
],
|
|
17
|
+
"homepage": "https://getbootstrap.com/",
|
|
18
|
+
"author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)",
|
|
19
|
+
"contributors": [
|
|
20
|
+
"Twitter, Inc."
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"start": "npm-run-all --parallel watch docs-serve",
|
|
24
|
+
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
|
|
25
|
+
"css": "npm-run-all css-compile css-prefix css-rtl css-minify",
|
|
26
|
+
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
|
|
27
|
+
"css-rtl": "cross-env NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"dist/css\" --ext \".rtl.css\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*.rtl.css\"",
|
|
28
|
+
"css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
|
|
29
|
+
"css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
|
|
30
|
+
"css-lint-vars": "fusv scss/ site/assets/scss/",
|
|
31
|
+
"css-minify": "npm-run-all --parallel css-minify-*",
|
|
32
|
+
"css-minify-main": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*rtl*.css\"",
|
|
33
|
+
"css-minify-rtl": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*rtl.css\" \"!dist/css/*.min.css\"",
|
|
34
|
+
"css-prefix": "npm-run-all --parallel css-prefix-*",
|
|
35
|
+
"css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
|
|
36
|
+
"css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
|
|
37
|
+
"css-prefix-examples-rtl": "cross-env-shell NODE_ENV=RTL postcss --config build/postcss.config.js --dir \"site/content/docs/$npm_package_config_version_short/examples/\" --ext \".rtl.css\" --base \"site/content/docs/$npm_package_config_version_short/examples/\" \"site/content/docs/$npm_package_config_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.css\" \"!site/content/docs/$npm_package_config_version_short/examples/{blog,carousel,dashboard,cheatsheet}/*.rtl.css\"",
|
|
38
|
+
"js": "npm-run-all js-compile js-minify",
|
|
39
|
+
"js-compile": "npm-run-all --parallel js-compile-*",
|
|
40
|
+
"js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
|
|
41
|
+
"js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap",
|
|
42
|
+
"js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
|
|
43
|
+
"js-compile-plugins": "node build/build-plugins.js",
|
|
44
|
+
"js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
|
|
45
|
+
"js-minify": "npm-run-all --parallel js-minify-*",
|
|
46
|
+
"js-minify-standalone": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.js.map,includeSources,url=bootstrap.min.js.map\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js",
|
|
47
|
+
"js-minify-standalone-esm": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.esm.js.map,includeSources,url=bootstrap.esm.min.js.map\" --output dist/js/bootstrap.esm.min.js dist/js/bootstrap.esm.js",
|
|
48
|
+
"js-minify-bundle": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.bundle.js.map,includeSources,url=bootstrap.bundle.min.js.map\" --output dist/js/bootstrap.bundle.min.js dist/js/bootstrap.bundle.js",
|
|
49
|
+
"js-test": "npm-run-all --parallel js-test-karma js-test-jquery js-test-integration-*",
|
|
50
|
+
"js-debug": "cross-env DEBUG=true npm run js-test-karma",
|
|
51
|
+
"js-test-karma": "karma start js/tests/karma.conf.js",
|
|
52
|
+
"js-test-integration-bundle": "rollup --config js/tests/integration/rollup.bundle.js",
|
|
53
|
+
"js-test-integration-modularity": "rollup --config js/tests/integration/rollup.bundle-modularity.js",
|
|
54
|
+
"js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
|
|
55
|
+
"js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
|
|
56
|
+
"lint": "npm-run-all --parallel js-lint css-lint lockfile-lint",
|
|
57
|
+
"docs": "npm-run-all docs-build docs-lint",
|
|
58
|
+
"docs-build": "hugo --cleanDestinationDir",
|
|
59
|
+
"docs-compile": "npm run docs-build",
|
|
60
|
+
"docs-linkinator": "linkinator _site --recurse --skip \"^(?!http://localhost)\" --verbosity error",
|
|
61
|
+
"docs-vnu": "node build/vnu-jar.js",
|
|
62
|
+
"docs-lint": "npm-run-all --parallel docs-vnu docs-linkinator",
|
|
63
|
+
"docs-serve": "hugo server --port 9001 --disableFastRender",
|
|
64
|
+
"docs-serve-only": "npx sirv-cli _site --port 9001",
|
|
65
|
+
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
|
|
66
|
+
"update-deps": "ncu -u -x karma-browserstack-launcher,terser && npm update && echo Manually update site/assets/js/vendor",
|
|
67
|
+
"release": "npm-run-all dist release-sri docs-build release-zip*",
|
|
68
|
+
"release-sri": "node build/generate-sri.js",
|
|
69
|
+
"release-version": "node build/change-version.js",
|
|
70
|
+
"release-zip": "cross-env-shell \"rm -rf bootstrap-$npm_package_version-dist && cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && rm -rf bootstrap-$npm_package_version-dist\"",
|
|
71
|
+
"release-zip-examples": "node build/zip-examples.js",
|
|
72
|
+
"dist": "npm-run-all --parallel css js",
|
|
73
|
+
"test": "npm-run-all lint dist js-test docs-build docs-lint",
|
|
74
|
+
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all dist release-sri docs-build",
|
|
75
|
+
"watch": "npm-run-all --parallel watch-*",
|
|
76
|
+
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
|
|
77
|
+
"watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
|
|
78
|
+
"watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"",
|
|
79
|
+
"watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
|
|
80
|
+
"watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\""
|
|
81
|
+
},
|
|
82
|
+
"style": "dist/css/bootstrap.css",
|
|
83
|
+
"sass": "scss/bootstrap.scss",
|
|
84
|
+
"main": "dist/js/bootstrap.js",
|
|
85
|
+
"module": "dist/js/bootstrap.esm.js",
|
|
86
|
+
"repository": {
|
|
87
|
+
"type": "git",
|
|
88
|
+
"url": "git+https://github.com/twbs/bootstrap.git"
|
|
89
|
+
},
|
|
90
|
+
"bugs": {
|
|
91
|
+
"url": "https://github.com/twbs/bootstrap/issues"
|
|
92
|
+
},
|
|
93
|
+
"license": "MIT",
|
|
94
|
+
"funding": {
|
|
95
|
+
"type": "opencollective",
|
|
96
|
+
"url": "https://opencollective.com/bootstrap"
|
|
97
|
+
},
|
|
98
|
+
"dependencies": {},
|
|
99
|
+
"peerDependencies": {
|
|
100
|
+
"@popperjs/core": "^2.9.1"
|
|
101
|
+
},
|
|
102
|
+
"devDependencies": {
|
|
103
|
+
"@babel/cli": "^7.13.10",
|
|
104
|
+
"@babel/core": "^7.13.10",
|
|
105
|
+
"@babel/preset-env": "^7.13.12",
|
|
106
|
+
"@popperjs/core": "^2.9.1",
|
|
107
|
+
"@rollup/plugin-babel": "^5.3.0",
|
|
108
|
+
"@rollup/plugin-commonjs": "^17.1.0",
|
|
109
|
+
"@rollup/plugin-node-resolve": "^11.2.0",
|
|
110
|
+
"@rollup/plugin-replace": "^2.4.1",
|
|
111
|
+
"autoprefixer": "^10.2.5",
|
|
112
|
+
"bundlewatch": "^0.3.2",
|
|
113
|
+
"clean-css-cli": "^5.2.2",
|
|
114
|
+
"cross-env": "^7.0.3",
|
|
115
|
+
"eslint": "^7.22.0",
|
|
116
|
+
"eslint-config-xo": "^0.35.0",
|
|
117
|
+
"eslint-plugin-import": "^2.22.1",
|
|
118
|
+
"eslint-plugin-unicorn": "^29.0.0",
|
|
119
|
+
"find-unused-sass-variables": "^3.1.0",
|
|
120
|
+
"glob": "^7.1.6",
|
|
121
|
+
"globby": "^11.0.3",
|
|
122
|
+
"hammer-simulator": "0.0.1",
|
|
123
|
+
"hugo-bin": "^0.70.0",
|
|
124
|
+
"ip": "^1.1.5",
|
|
125
|
+
"jquery": "^3.6.0",
|
|
126
|
+
"karma": "^6.2.0",
|
|
127
|
+
"karma-browserstack-launcher": "1.4.0",
|
|
128
|
+
"karma-chrome-launcher": "^3.1.0",
|
|
129
|
+
"karma-coverage-istanbul-reporter": "^3.0.3",
|
|
130
|
+
"karma-detect-browsers": "^2.3.3",
|
|
131
|
+
"karma-firefox-launcher": "^2.1.0",
|
|
132
|
+
"karma-jasmine": "^4.0.1",
|
|
133
|
+
"karma-jasmine-html-reporter": "^1.5.4",
|
|
134
|
+
"karma-rollup-preprocessor": "^7.0.7",
|
|
135
|
+
"linkinator": "^2.13.6",
|
|
136
|
+
"lockfile-lint": "^4.6.2",
|
|
137
|
+
"nodemon": "^2.0.7",
|
|
138
|
+
"npm-run-all": "^4.1.5",
|
|
139
|
+
"postcss": "^8.2.8",
|
|
140
|
+
"postcss-cli": "^8.3.1",
|
|
141
|
+
"rollup": "^2.42.3",
|
|
142
|
+
"rollup-plugin-istanbul": "^3.0.0",
|
|
143
|
+
"rtlcss": "^3.1.2",
|
|
144
|
+
"sass": "^1.32.8",
|
|
145
|
+
"shelljs": "^0.8.4",
|
|
146
|
+
"stylelint": "^13.12.0",
|
|
147
|
+
"stylelint-config-twbs-bootstrap": "^2.1.0",
|
|
148
|
+
"terser": "5.1.0",
|
|
149
|
+
"vnu-jar": "21.2.5"
|
|
150
|
+
},
|
|
151
|
+
"files": [
|
|
152
|
+
"dist/{css,js}/*.{css,js,map}",
|
|
153
|
+
"js/{src,dist}/**/*.{js,map}",
|
|
154
|
+
"scss/**/*.scss"
|
|
155
|
+
],
|
|
156
|
+
"hugo-bin": {
|
|
157
|
+
"buildTags": "extended"
|
|
158
|
+
},
|
|
159
|
+
"jspm": {
|
|
160
|
+
"registry": "npm",
|
|
161
|
+
"main": "js/bootstrap",
|
|
162
|
+
"directories": {
|
|
163
|
+
"lib": "dist"
|
|
164
|
+
},
|
|
165
|
+
"shim": {
|
|
166
|
+
"js/bootstrap": {
|
|
167
|
+
"deps": [
|
|
168
|
+
"@popperjs/core"
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"dependencies": {},
|
|
173
|
+
"peerDependencies": {
|
|
174
|
+
"@popperjs/core": "^2.9.1"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Base styles
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
.accordion-button {
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
width: 100%;
|
|
10
|
+
padding: $accordion-button-padding-y $accordion-button-padding-x;
|
|
11
|
+
@include font-size($font-size-base);
|
|
12
|
+
color: $accordion-button-color;
|
|
13
|
+
text-align: left; // Reset button style
|
|
14
|
+
background-color: $accordion-button-bg;
|
|
15
|
+
border: 0;
|
|
16
|
+
@include border-radius(0);
|
|
17
|
+
overflow-anchor: none;
|
|
18
|
+
@include transition($accordion-transition);
|
|
19
|
+
|
|
20
|
+
&:not(.collapsed) {
|
|
21
|
+
color: $accordion-button-active-color;
|
|
22
|
+
background-color: $accordion-button-active-bg;
|
|
23
|
+
box-shadow: inset 0 ($accordion-border-width * -1) 0 $accordion-border-color;
|
|
24
|
+
|
|
25
|
+
&::after {
|
|
26
|
+
background-image: escape-svg($accordion-button-active-icon);
|
|
27
|
+
transform: $accordion-icon-transform;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Accordion icon
|
|
32
|
+
&::after {
|
|
33
|
+
flex-shrink: 0;
|
|
34
|
+
width: $accordion-icon-width;
|
|
35
|
+
height: $accordion-icon-width;
|
|
36
|
+
margin-left: auto;
|
|
37
|
+
content: "";
|
|
38
|
+
background-image: escape-svg($accordion-button-icon);
|
|
39
|
+
background-repeat: no-repeat;
|
|
40
|
+
background-size: $accordion-icon-width;
|
|
41
|
+
@include transition($accordion-icon-transition);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:hover {
|
|
45
|
+
z-index: 2;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:focus {
|
|
49
|
+
z-index: 3;
|
|
50
|
+
border-color: $accordion-button-focus-border-color;
|
|
51
|
+
outline: 0;
|
|
52
|
+
box-shadow: $accordion-button-focus-box-shadow;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.accordion-header {
|
|
57
|
+
margin-bottom: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.accordion-item {
|
|
61
|
+
margin-bottom: -$accordion-border-width;
|
|
62
|
+
background-color: $accordion-bg;
|
|
63
|
+
border: $accordion-border-width solid $accordion-border-color;
|
|
64
|
+
|
|
65
|
+
&:first-of-type {
|
|
66
|
+
@include border-top-radius($accordion-border-radius);
|
|
67
|
+
|
|
68
|
+
.accordion-button {
|
|
69
|
+
@include border-top-radius($accordion-inner-border-radius);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Only set a border-radius on the last item if the accordion is collapsed
|
|
74
|
+
&:last-of-type {
|
|
75
|
+
margin-bottom: 0;
|
|
76
|
+
@include border-bottom-radius($accordion-border-radius);
|
|
77
|
+
|
|
78
|
+
.accordion-button {
|
|
79
|
+
&.collapsed {
|
|
80
|
+
@include border-bottom-radius($accordion-inner-border-radius);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.accordion-collapse {
|
|
85
|
+
@include border-bottom-radius($accordion-border-radius);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.accordion-body {
|
|
91
|
+
padding: $accordion-body-padding-y $accordion-body-padding-x;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
// Flush accordion items
|
|
96
|
+
//
|
|
97
|
+
// Remove borders and border-radius to keep accordion items edge-to-edge.
|
|
98
|
+
|
|
99
|
+
.accordion-flush {
|
|
100
|
+
.accordion-collapse {
|
|
101
|
+
border-width: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.accordion-item {
|
|
105
|
+
border-right: 0;
|
|
106
|
+
border-left: 0;
|
|
107
|
+
@include border-radius(0);
|
|
108
|
+
|
|
109
|
+
&:first-child { border-top: 0; }
|
|
110
|
+
&:last-child { border-bottom: 0; }
|
|
111
|
+
|
|
112
|
+
.accordion-button {
|
|
113
|
+
@include border-radius(0);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Base styles
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
.alert {
|
|
6
|
+
position: relative;
|
|
7
|
+
padding: $alert-padding-y $alert-padding-x;
|
|
8
|
+
margin-bottom: $alert-margin-bottom;
|
|
9
|
+
border: $alert-border-width solid transparent;
|
|
10
|
+
@include border-radius($alert-border-radius);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// Headings for larger alerts
|
|
14
|
+
.alert-heading {
|
|
15
|
+
// Specified to prevent conflicts of changing $headings-color
|
|
16
|
+
color: inherit;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Provide class for links that match alerts
|
|
20
|
+
.alert-link {
|
|
21
|
+
font-weight: $alert-link-font-weight;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
// Dismissible alerts
|
|
26
|
+
//
|
|
27
|
+
// Expand the right padding and account for the close button's positioning.
|
|
28
|
+
|
|
29
|
+
.alert-dismissible {
|
|
30
|
+
padding-right: $alert-dismissible-padding-r;
|
|
31
|
+
|
|
32
|
+
// Adjust close link position
|
|
33
|
+
.btn-close {
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
z-index: $stretched-link-z-index + 1;
|
|
38
|
+
padding: $alert-padding-y * 1.25 $alert-padding-x;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
// scss-docs-start alert-modifiers
|
|
44
|
+
// Generate contextual modifier classes for colorizing the alert.
|
|
45
|
+
|
|
46
|
+
@each $state, $value in $theme-colors {
|
|
47
|
+
$alert-background: shift-color($value, $alert-bg-scale);
|
|
48
|
+
$alert-border: shift-color($value, $alert-border-scale);
|
|
49
|
+
$alert-color: shift-color($value, $alert-color-scale);
|
|
50
|
+
@if (contrast-ratio($alert-background, $alert-color) < $min-contrast-ratio) {
|
|
51
|
+
$alert-color: mix($value, color-contrast($alert-background), abs($alert-color-scale));
|
|
52
|
+
}
|
|
53
|
+
.alert-#{$state} {
|
|
54
|
+
@include alert-variant($alert-background, $alert-border, $alert-color);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
// scss-docs-end alert-modifiers
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Base class
|
|
2
|
+
//
|
|
3
|
+
// Requires one of the contextual, color modifier classes for `color` and
|
|
4
|
+
// `background-color`.
|
|
5
|
+
|
|
6
|
+
.badge {
|
|
7
|
+
display: inline-block;
|
|
8
|
+
padding: $badge-padding-y $badge-padding-x;
|
|
9
|
+
@include font-size($badge-font-size);
|
|
10
|
+
font-weight: $badge-font-weight;
|
|
11
|
+
line-height: 1;
|
|
12
|
+
color: $badge-color;
|
|
13
|
+
text-align: center;
|
|
14
|
+
white-space: nowrap;
|
|
15
|
+
vertical-align: baseline;
|
|
16
|
+
@include border-radius($badge-border-radius);
|
|
17
|
+
@include gradient-bg();
|
|
18
|
+
|
|
19
|
+
// Empty badges collapse automatically
|
|
20
|
+
&:empty {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Quick fix for badges in buttons
|
|
26
|
+
.btn .badge {
|
|
27
|
+
position: relative;
|
|
28
|
+
top: -1px;
|
|
29
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.breadcrumb {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-wrap: wrap;
|
|
4
|
+
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
|
|
5
|
+
margin-bottom: $breadcrumb-margin-bottom;
|
|
6
|
+
@include font-size($breadcrumb-font-size);
|
|
7
|
+
list-style: none;
|
|
8
|
+
background-color: $breadcrumb-bg;
|
|
9
|
+
@include border-radius($breadcrumb-border-radius);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.breadcrumb-item {
|
|
13
|
+
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
|
14
|
+
+ .breadcrumb-item {
|
|
15
|
+
padding-left: $breadcrumb-item-padding-x;
|
|
16
|
+
|
|
17
|
+
&::before {
|
|
18
|
+
float: left; // Suppress inline spacings and underlining of the separator
|
|
19
|
+
padding-right: $breadcrumb-item-padding-x;
|
|
20
|
+
color: $breadcrumb-divider-color;
|
|
21
|
+
content: var(--#{$variable-prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{"/* rtl:"} var(--#{$variable-prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{"*/"};
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.active {
|
|
26
|
+
color: $breadcrumb-active-color;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
// Make the div behave like a button
|
|
2
|
+
.btn-group,
|
|
3
|
+
.btn-group-vertical {
|
|
4
|
+
position: relative;
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
vertical-align: middle; // match .btn alignment given font-size hack above
|
|
7
|
+
|
|
8
|
+
> .btn {
|
|
9
|
+
position: relative;
|
|
10
|
+
flex: 1 1 auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// Bring the hover, focused, and "active" buttons to the front to overlay
|
|
14
|
+
// the borders properly
|
|
15
|
+
> .btn-check:checked + .btn,
|
|
16
|
+
> .btn-check:focus + .btn,
|
|
17
|
+
> .btn:hover,
|
|
18
|
+
> .btn:focus,
|
|
19
|
+
> .btn:active,
|
|
20
|
+
> .btn.active {
|
|
21
|
+
z-index: 1;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Optional: Group multiple button groups together for a toolbar
|
|
26
|
+
.btn-toolbar {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-wrap: wrap;
|
|
29
|
+
justify-content: flex-start;
|
|
30
|
+
|
|
31
|
+
.input-group {
|
|
32
|
+
width: auto;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.btn-group {
|
|
37
|
+
// Prevent double borders when buttons are next to each other
|
|
38
|
+
> .btn:not(:first-child),
|
|
39
|
+
> .btn-group:not(:first-child) {
|
|
40
|
+
margin-left: -$btn-border-width;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Reset rounded corners
|
|
44
|
+
> .btn:not(:last-child):not(.dropdown-toggle),
|
|
45
|
+
> .btn-group:not(:last-child) > .btn {
|
|
46
|
+
@include border-end-radius(0);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// The left radius should be 0 if the button is:
|
|
50
|
+
// - the "third or more" child
|
|
51
|
+
// - the second child and the previous element isn't `.btn-check` (making it the first child visually)
|
|
52
|
+
// - part of a btn-group which isn't the first child
|
|
53
|
+
> .btn:nth-child(n + 3),
|
|
54
|
+
> :not(.btn-check) + .btn,
|
|
55
|
+
> .btn-group:not(:first-child) > .btn {
|
|
56
|
+
@include border-start-radius(0);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Sizing
|
|
61
|
+
//
|
|
62
|
+
// Remix the default button sizing classes into new ones for easier manipulation.
|
|
63
|
+
|
|
64
|
+
.btn-group-sm > .btn { @extend .btn-sm; }
|
|
65
|
+
.btn-group-lg > .btn { @extend .btn-lg; }
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
//
|
|
69
|
+
// Split button dropdowns
|
|
70
|
+
//
|
|
71
|
+
|
|
72
|
+
.dropdown-toggle-split {
|
|
73
|
+
padding-right: $btn-padding-x * .75;
|
|
74
|
+
padding-left: $btn-padding-x * .75;
|
|
75
|
+
|
|
76
|
+
&::after,
|
|
77
|
+
.dropup &::after,
|
|
78
|
+
.dropend &::after {
|
|
79
|
+
margin-left: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.dropstart &::before {
|
|
83
|
+
margin-right: 0;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.btn-sm + .dropdown-toggle-split {
|
|
88
|
+
padding-right: $btn-padding-x-sm * .75;
|
|
89
|
+
padding-left: $btn-padding-x-sm * .75;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.btn-lg + .dropdown-toggle-split {
|
|
93
|
+
padding-right: $btn-padding-x-lg * .75;
|
|
94
|
+
padding-left: $btn-padding-x-lg * .75;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
// The clickable button for toggling the menu
|
|
99
|
+
// Set the same inset shadow as the :active state
|
|
100
|
+
.btn-group.show .dropdown-toggle {
|
|
101
|
+
@include box-shadow($btn-active-box-shadow);
|
|
102
|
+
|
|
103
|
+
// Show no shadow for `.btn-link` since it has no other button styles.
|
|
104
|
+
&.btn-link {
|
|
105
|
+
@include box-shadow(none);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
//
|
|
111
|
+
// Vertical button groups
|
|
112
|
+
//
|
|
113
|
+
|
|
114
|
+
.btn-group-vertical {
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
align-items: flex-start;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
|
|
119
|
+
> .btn,
|
|
120
|
+
> .btn-group {
|
|
121
|
+
width: 100%;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
> .btn:not(:first-child),
|
|
125
|
+
> .btn-group:not(:first-child) {
|
|
126
|
+
margin-top: -$btn-border-width;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Reset rounded corners
|
|
130
|
+
> .btn:not(:last-child):not(.dropdown-toggle),
|
|
131
|
+
> .btn-group:not(:last-child) > .btn {
|
|
132
|
+
@include border-bottom-radius(0);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
> .btn ~ .btn,
|
|
136
|
+
> .btn-group:not(:first-child) > .btn {
|
|
137
|
+
@include border-top-radius(0);
|
|
138
|
+
}
|
|
139
|
+
}
|