bullframe.css 3.8.1 → 4.0.1

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.
Files changed (103) hide show
  1. package/.browserslistrc +10 -6
  2. package/.stylelintrc.json +10 -0
  3. package/CHANGELOG.md +20 -4
  4. package/LICENSE +20 -20
  5. package/README.md +28 -179
  6. package/dist/css/bullframe-classless-dark-prefers.css +357 -425
  7. package/dist/css/bullframe-classless-dark-prefers.min.css +2 -3
  8. package/dist/css/bullframe-classless-dark-prefers.min.css.map +1 -1
  9. package/dist/css/bullframe-classless-dark.css +328 -412
  10. package/dist/css/bullframe-classless-dark.min.css +2 -3
  11. package/dist/css/bullframe-classless-dark.min.css.map +1 -1
  12. package/dist/css/bullframe-classless.css +237 -293
  13. package/dist/css/bullframe-classless.min.css +2 -2
  14. package/dist/css/bullframe-classless.min.css.map +1 -1
  15. package/dist/css/bullframe-dark-prefers.css +468 -633
  16. package/dist/css/bullframe-dark-prefers.min.css +2 -2
  17. package/dist/css/bullframe-dark-prefers.min.css.map +1 -1
  18. package/dist/css/bullframe-dark.css +402 -593
  19. package/dist/css/bullframe-dark.min.css +2 -2
  20. package/dist/css/bullframe-dark.min.css.map +1 -1
  21. package/dist/css/bullframe-utilities.css +87 -125
  22. package/dist/css/bullframe-utilities.min.css +1 -1
  23. package/dist/css/bullframe-utilities.min.css.map +1 -1
  24. package/dist/css/bullframe.css +288 -455
  25. package/dist/css/bullframe.min.css +1 -1
  26. package/dist/css/bullframe.min.css.map +1 -1
  27. package/docs/test/css/style.css +130 -130
  28. package/docs/test/icons/safari-pinned-tab.svg +28 -28
  29. package/docs/test/js/vendor/html5shiv.js +335 -335
  30. package/docs/test/js/vendor/ie10-viewport-bug-workaround.js +20 -20
  31. package/gulpfile.js +5 -2
  32. package/index.html +1214 -1223
  33. package/package.json +14 -11
  34. package/src/scss/bullframe-classless-dark-prefers.scss +5 -5
  35. package/src/scss/bullframe-classless-dark.scss +5 -5
  36. package/src/scss/bullframe-classless.scss +1 -9
  37. package/src/scss/bullframe-dark-prefers.scss +4 -4
  38. package/src/scss/bullframe-dark.scss +4 -4
  39. package/src/scss/bullframe-utilities.scss +1 -1
  40. package/src/scss/bullframe.scss +0 -7
  41. package/src/scss/forms/_forms-normalization.scss +4 -2
  42. package/src/scss/forms/_forms-styling-radio-checkbox.scss +84 -85
  43. package/src/scss/forms/_forms-styling-range.scss +99 -103
  44. package/src/scss/forms/_forms-styling-select.scss +63 -63
  45. package/src/scss/forms/_forms-styling.scss +119 -121
  46. package/src/scss/miscellaneous/_misc-focus.scss +0 -1
  47. package/src/scss/miscellaneous/_misc-layout.scss +1 -24
  48. package/src/scss/mixins/_mixin-grid-flex.scss +83 -83
  49. package/src/scss/mixins/_mixin-layout.scss +42 -42
  50. package/src/scss/mixins/_mixin-texts.scss +38 -37
  51. package/src/scss/typography/_typography-blockquotes.scss +23 -23
  52. package/src/scss/typography/_typography-headings.scss +43 -43
  53. package/src/scss/typography/_typography-html-body.scss +72 -72
  54. package/src/scss/typography/_typography-misc.scss +3 -3
  55. package/src/scss/typography/_typography-monospaced-elements.scss +50 -56
  56. package/src/scss/utilities/_utility-buttons.scss +71 -71
  57. package/src/scss/utilities/_utility-embeds.scss +34 -34
  58. package/src/scss/utilities/_utility-filters.scss +24 -24
  59. package/src/scss/utilities/_utility-form-states.scss +80 -80
  60. package/src/scss/utilities/_utility-global-dark-classless.scss +157 -169
  61. package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +3 -3
  62. package/src/scss/utilities/_utility-global-dark-prefers.scss +3 -3
  63. package/src/scss/utilities/_utility-global-dark-scrollbars.scss +29 -29
  64. package/src/scss/utilities/_utility-global-dark.scss +213 -224
  65. package/src/scss/utilities/_utility-grid-system.scss +204 -204
  66. package/src/scss/utilities/_utility-layout.scss +195 -196
  67. package/src/scss/utilities/_utility-lists.scss +17 -17
  68. package/src/scss/utilities/_utility-print.scss +101 -111
  69. package/src/scss/utilities/_utility-reduced-motion.scss +29 -29
  70. package/src/scss/utilities/_utility-tables.scss +40 -40
  71. package/src/scss/utilities/_utility-texts.scss +199 -199
  72. package/src/scss/utilities/_utility-z-index.scss +82 -82
  73. package/src/scss/variables/_variables-breakpoints.scss +5 -5
  74. package/src/scss/variables/_variables-colors.scss +31 -31
  75. package/src/scss/variables/_variables-spacing.scss +25 -25
  76. package/src/scss/variables/_variables-texts.scss +12 -12
  77. package/dist/css/bullframe-classless-dark-ie10+.css +0 -1321
  78. package/dist/css/bullframe-classless-dark-ie10+.min.css +0 -4
  79. package/dist/css/bullframe-classless-dark-ie10+.min.css.map +0 -1
  80. package/dist/css/bullframe-classless-dark-prefers-ie10+.css +0 -1301
  81. package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css +0 -4
  82. package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css.map +0 -1
  83. package/dist/css/bullframe-classless-ie10+.css +0 -1084
  84. package/dist/css/bullframe-classless-ie10+.min.css +0 -3
  85. package/dist/css/bullframe-classless-ie10+.min.css.map +0 -1
  86. package/dist/css/bullframe-dark-ie10+.css +0 -2569
  87. package/dist/css/bullframe-dark-ie10+.min.css +0 -3
  88. package/dist/css/bullframe-dark-ie10+.min.css.map +0 -1
  89. package/dist/css/bullframe-dark-prefers-ie10+.css +0 -2541
  90. package/dist/css/bullframe-dark-prefers-ie10+.min.css +0 -3
  91. package/dist/css/bullframe-dark-prefers-ie10+.min.css.map +0 -1
  92. package/dist/css/bullframe-ie10+.css +0 -2250
  93. package/dist/css/bullframe-ie10+.min.css +0 -2
  94. package/dist/css/bullframe-ie10+.min.css.map +0 -1
  95. package/docs/images-readme/browserstack-logo.png +0 -0
  96. package/src/scss/bullframe-classless-dark-ie10+.scss +0 -5
  97. package/src/scss/bullframe-classless-dark-prefers-ie10+.scss +0 -5
  98. package/src/scss/bullframe-classless-ie10+.scss +0 -43
  99. package/src/scss/bullframe-dark-ie10+.scss +0 -4
  100. package/src/scss/bullframe-dark-prefers-ie10+.scss +0 -4
  101. package/src/scss/bullframe-ie10+.scss +0 -121
  102. package/src/scss/forms/_forms-styling-ie-hacks.scss +0 -56
  103. package/src/scss/forms/_forms-styling-select-ie-hacks.scss +0 -30
package/.browserslistrc CHANGED
@@ -1,6 +1,10 @@
1
- # https://github.com/browserslist/browserslist#readme
2
-
3
- last 2 major versions
4
- not dead
5
- ie 6-8
6
- iOS 7
1
+ # https://github.com/browserslist/browserslist#readme
2
+
3
+ >= 0.5%
4
+ last 2 major versions
5
+ not dead
6
+ Chrome >= 60
7
+ Firefox >= 60
8
+ Firefox ESR
9
+ iOS >= 12
10
+ Safari >= 12
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "stylelint-config-recommended",
3
+ "plugins": ["stylelint-scss"],
4
+ "rules": {
5
+ "at-rule-no-unknown": null,
6
+ "scss/at-rule-no-unknown": true,
7
+ "no-descending-specificity": null,
8
+ "no-invalid-position-at-import-rule": null
9
+ }
10
+ }
package/CHANGELOG.md CHANGED
@@ -1,19 +1,35 @@
1
1
  # Changes to bullframe.css
2
2
 
3
+ ## 4.0.1 (August 12, 2022)
4
+
5
+ * Updated `.browserlistrc`
6
+ * Updated `package.json` description and tags
7
+
8
+ ## 4.0.0 (August 11, 2022)
9
+
10
+ * [breaking changes] **Dropped support for I8, IE9, and IE10**
11
+ * [breaking changes] Upgraded all npm packages to minor and major latest versions (e.g. gulp-sass v5 now in use)
12
+ * Cleaned up `README.md`
13
+
14
+ ## 3.8.2 (June 26, 2021)
15
+
16
+ * Upgraded cssnano, autoprefixer and postcss plugins to major versions [(a6a9ecc)](https://github.com/marcop135/bullframe.css/commit/a6a9ecc3b52a30e1a5c4408967268d22f46a8e2c)
17
+ * Cleaned up `README.md`
18
+
3
19
  ## 3.8.1 (June 22, 2021)
4
20
 
5
21
  * [bug fixes] Add missing compiled CSS files
6
22
 
7
23
  ## 3.8.0 (June 22, 2021)
8
24
 
9
- * [breaking changes] Revert html/body `height` and `body` `min-height` to `auto` (default value) to avoid web app scrollbar issues
10
- * Add support for Skypack CDN
11
- * Add Synk vuln badge in `README.md`
25
+ * [breaking changes] Reverted html/body `height` and `body` `min-height` to `auto` (default value) to avoid web app scrollbar issues
26
+ * Added support for Skypack CDN
27
+ * Added Synk vuln badge in `README.md`
12
28
 
13
29
  ## 3.7.0 (April 24, 2021)
14
30
 
15
31
  * [breaking changes] Set html/body `height` and `body` `min-height` to `100%` to help with backgrounds and centering [(8239677)](https://github.com/marcop135/bullframe.css/)
16
- * [bug fixes] Add missing margin/padding spacing utilities to `utility-spacing.scss` [(e1cdf4c)](https://github.com/marcop135/bullframe.css/commit/e1cdf4ccfd70662a3d1babe2d5d0457b8ef6e569)
32
+ * [bug fixes] Added missing margin/padding spacing utilities to `utility-spacing.scss` [(e1cdf4c)](https://github.com/marcop135/bullframe.css/commit/e1cdf4ccfd70662a3d1babe2d5d0457b8ef6e569)
17
33
  * [enhancements] Removed W3C-invalid CSS properties/values from SCSS files [(2791b83)](https://github.com/marcop135/bullframe.css/commit/2791b83eab872abe92a2fd6cc3b3bc8d684fcc36)
18
34
  * [enhancements] Added Sass [@debug](https://sass-lang.com/documentation/at-rules/debug) rule to debugging utility [(969fcf3c)](https://github.com/marcop135/bullframe.css/commit/969fcf3ccb474f5bc5888841d479216b3e54de0a)
19
35
 
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 Marco Pontili
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Marco Pontili
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
package/README.md CHANGED
@@ -3,7 +3,6 @@
3
3
  <p>
4
4
  <a href="https://www.npmjs.com/package/bullframe.css"><img src="https://img.shields.io/npm/v/bullframe.css.svg?style=flat-square" alt="NPM page"></a>
5
5
  <a href="https://github.com/marcop135/bullframe.css/commits"><img src="https://img.shields.io/github/last-commit/marcop135/bullframe.css?style=flat-square" alt="GitHub last commit"></a>
6
- <a href="https://snyk.io/test/npm/bullframe.css"><img src="https://snyk.io/test/npm/bullframe.css/badge.svg?style=flat-square" alt="Known Vulnerabilities" data-canonical-src="https://snyk.io/test/npm/bullframe.css" style="max-width:100%;"></a>
7
6
  <a href="https://github.com/marcop135/bullframe.css/blob/master/LICENSE"><img src="https://img.shields.io/github/license/marcop135/bullframe.css.svg?style=flat-square" alt="MIT license"></a>
8
7
  </p>
9
8
 
@@ -13,46 +12,27 @@
13
12
 
14
13
  [https://github.com/marcop135/bullframe.css](https://github.com/marcop135/bullframe.css)
15
14
 
16
- bullframe.css is a Sass (SCSS) framework that works in all browsers, modern or not.
15
+ bullframe.css is a Sass (SCSS) framework that works in a wide range of desktop and mobile browsers.
17
16
 
18
- It's a cross-browser, responsive, IE8+ collection of default HTML UI elements ([atoms](https://bradfrost.com/blog/post/atomic-web-design)) for your Sass project.
17
+ It's a cross-browser and responsive collection of default HTML UI elements ([atoms](https://bradfrost.com/blog/post/atomic-web-design)) for your Sass project.
19
18
 
20
- 1. Add a good HTML template
21
- 2. Write semantic HTML5
22
- 3. Add a few utility classes (optional)
23
- 4. Add JS polyfills (optional)
24
- 5. _...ready to go everywhere!_
19
+ You could be easily use it for marketing pages, blog posts, e-commerce product listings, help and documentation.
25
20
 
26
- <br>
21
+ **Just add bullframe.css, write semantic HTML5, and you are ready to go everywhere!**
27
22
 
28
23
  ## Best features
29
24
 
30
- - IE8+ support and a wide range of desktop and mobile browsers
25
+ - Wide range of desktop and mobile browsers support
31
26
  - Add responsive-ness and normalize as much as possible HTML elements *out-of-the-box*
32
- - Progressive responsive web design focused
33
27
  - Responsive, cross-browser, HTML5 form elements by default
34
- - A simple 12-columns fluid grid system with IE8+ support
35
28
  - Sass architecture
36
29
  - CSS BEM
37
30
  - Responsive typography
38
31
  - Dark mode
39
32
  - RTL support
40
- - Get utility classes (e.g. `<h2 class="bf-h1">`) or not (no-class / classless framework)
41
- - Isolated utility classes to avoid conflicts between frameworks' classes
42
- - [`bullframe-classless.min.css`](https://github.com/marcop135/bullframe.css/blob/master/dist/css/bullframe-classless.min.css) is just 10KB~ min+gzip 🎉
43
-
44
- ## Internet Explorer usage and support
45
-
46
- Do people still use Internet Explorer?
47
-
48
- Short answer: **yes!** Enterprise-level companies, legacy business applications, accessibility-focused projects and some non-tech-savvy older people.
49
- [Long answer](https://www.quora.com/Do-people-still-use-Internet-Explorer-in-2020)
50
-
51
- [Browser worldwide usage comparison](https://gs.statcounter.com/browser-market-share/desktop/worldwide#monthly-201904-202004-bar)
52
-
53
- Read this [Lea Verou’s Twitter thread](https://twitter.com/LeaVerou/status/1246252696602128384) to get more developers' points of view.
54
-
55
- Bootstrap v5 [dropped IE10 and IE11 support](https://github.com/twbs/bootstrap/pull/30377). Read the [Hacker News thread](https://news.ycombinator.com/item?id=22802003).
33
+ - Gulp-friendly
34
+ - Get all utility classes (e.g. `<h2 class="bf-h1">`) or no classes at all (no-class / classless framework)
35
+ - [`bullframe-classless.min.css`](https://github.com/marcop135/bullframe.css/blob/master/dist/css/bullframe-classless.min.css) is just 13KB~ minified 🎉
56
36
 
57
37
  ## What's included
58
38
 
@@ -67,8 +47,6 @@ bullframe.css/
67
47
  │ ├── ...
68
48
  │ ├── bullframe-dark.css
69
49
  │ ├── bullframe-dark.min.css
70
- │ ├── bullframe-dark-prefers.css
71
- │ ├── bullframe-dark-prefers.min.css
72
50
  │ ├── ...
73
51
  │ ├── bullframe-utilities.css
74
52
  │ ├── bullframe-utilities.min.css
@@ -98,10 +76,6 @@ bullframe.css/
98
76
  ...
99
77
  ```
100
78
 
101
- <br>
102
-
103
- ---
104
-
105
79
  ## Getting started
106
80
 
107
81
  ### Download
@@ -110,27 +84,24 @@ bullframe.css/
110
84
 
111
85
  ### CDN
112
86
 
113
- Get the latest release of the main build
114
-
115
- JSDelivr (latest release, ready for production)
87
+ JSDelivr
116
88
 
117
89
  ```html
118
90
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bullframe.css">
119
91
  ```
120
92
 
121
- Skypack (latest release, ready for production)
93
+ Skypack
122
94
 
123
95
  ```html
124
96
  <link rel="stylesheet" href="https://cdn.skypack.dev/bullframe.css/dist/css/bullframe.min.css">
125
97
  ```
126
98
 
127
- UNPKG (latest release, not ready for production)
99
+ UNPKG
128
100
 
129
101
  ```html
130
102
  <link rel="stylesheet" href="https://unpkg.com/bullframe.css">
131
103
  ```
132
104
 
133
-
134
105
  ### npm
135
106
 
136
107
  Once you have installed [Node.js](https://nodejs.org/en/download/), you can run this command to install bullframe.css into your project:
@@ -164,76 +135,24 @@ gulp
164
135
 
165
136
  ### HTML
166
137
 
167
- Add some HTML markup, and two JS polyfills (if you need a wide cross-browser support).
168
-
169
- Tip: if you need min/max-width CSS3 Media Queries support in IE8 (e.g. mobile-first responsive design), you could polyfill it with [respond.js](https://github.com/scottjehl/Respond).
170
-
171
- Tip: Improve the JS polyfills security via the `integrity` and `crossorigin` attributes. [Read more](https://stackoverflow.com/questions/32039568/what-are-the-integrity-and-crossorigin-attributes)
172
-
173
- Caveats: [IE8 and Respond.js](https://getbootstrap.com/docs/3.4/getting-started/#support-ie8-respondjs) caveats.
174
-
175
- #### All browsers - IE8+
176
-
177
138
  ```html
178
139
  <!doctype html>
179
140
  <html lang="en">
180
141
  <head>
181
142
  <meta charset="utf-8">
182
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
183
143
  <title>bullframe.css starter template</title>
184
144
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
185
145
 
186
146
  <!-- bullframe.css: use latest compiled and minified version -->
187
147
  <link
188
- type="text/css"
189
148
  rel="stylesheet"
190
- href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe.min.css"
191
- integrity="sha384-HpmTC4+Y1tpRsyC0caOaOtsqEfBQqC12iB2WOT0CAHGE116qurJw2PwlJI62SIUH"
192
- crossorigin="anonymous">
193
-
194
- <!-- polyfills: enable HTML5 elements in old browsers, and fix IE10 viewport on Windows 8 -->
195
- <script
196
- src="https://cdn.jsdelivr.net/combine/npm/html5shiv@3.7.3,npm/ie10-viewport-bug-workaround.js@1.0.0"
197
- integrity="sha384-qBVh9Nh9vwp+qqJMBTOrfjBPwz5RMDGc4lscK3+4F6dtIUo89TeUhS9wiDPhgpi5"
198
- crossorigin="anonymous"
199
- ></script>
149
+ href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe-ie10+.min.css">
200
150
  </head>
201
151
 
202
152
  <body>
203
153
  <div class="bf-container">
204
154
  <!-- Add your site or application content here -->
205
- <p>Hello world! This is a bullframe.css IE8+ starter template</p>
206
- </div>
207
-
208
- </body>
209
- </html>
210
- ```
211
-
212
- #### IE11 and modern browsers
213
-
214
- Improve the JS polyfills security via the `integrity` and `crossorigin` attributes. [Read more](https://stackoverflow.com/questions/32039568/what-are-the-integrity-and-crossorigin-attributes)
215
-
216
- ```html
217
- <!doctype html>
218
- <html lang="en">
219
- <head>
220
- <meta charset="utf-8">
221
- <title>bullframe.css starter template</title>
222
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
223
-
224
- <!-- bullframe.css: use latest compiled and minified version -->
225
- <link
226
- type="text/css"
227
- rel="stylesheet"
228
- href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe-ie10+.min.css"
229
- integrity="sha384-EfcW9YC4HRjVRc1MalllL1YMixPPE9Uu47eUGKvM8mHU+u16QvYZeS5JzLa93lxm"
230
- crossorigin="anonymous">
231
- </head>
232
-
233
- <body>
234
- <div class="bf-container">
235
- <!-- Add your site or application content here -->
236
- <p>Hello world! This is a bullframe.css IE11+ starter template</p>
155
+ <p>Hello world! This is a bullframe.css starter template</p>
237
156
  </div>
238
157
 
239
158
  </body>
@@ -252,15 +171,13 @@ Click on the links below, and start a new pen in CodePen using bullframe.css.
252
171
  - [Dark theme](https://codepen.io/pen?template=ExPmzBV)
253
172
  - [Dark `prefers-color-scheme`](https://codepen.io/pen?template=NWxjVQO)
254
173
 
255
- <br>
256
-
257
- ---
258
-
259
174
  ## Customization
260
175
 
261
176
  ### No classes (class-less)
262
177
 
178
+ What means "classless"?
263
179
  No classes, no utilities. Feel free to add yours and create your custom components.
180
+ Read more on [css-tricks.com](https://css-tricks.com/no-class-css-frameworks/).
264
181
 
265
182
  Just drop the snippet below in the `<head>` of your webpage, and the job is done!
266
183
  Write semantic HTML and get nice styles and cross-browser normalization.
@@ -268,14 +185,12 @@ Write semantic HTML and get nice styles and cross-browser normalization.
268
185
  ```html
269
186
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe-classless.min.css">
270
187
 
271
- <!-- (optional) center the page styling the <body> element -->
188
+ <!-- Center the page (optional) -->
272
189
  <style>
273
190
  body {
274
191
  margin-left: auto;
275
192
  margin-right: auto;
276
- padding: 15px; /* for old IE only */
277
193
  padding: 1.5rem;
278
- max-width: 800px; /* for old IE only */
279
194
  max-width: 80rem;
280
195
  }
281
196
  </style>
@@ -283,9 +198,9 @@ Write semantic HTML and get nice styles and cross-browser normalization.
283
198
 
284
199
  ### Dark themes
285
200
 
286
- There are two builds that enable a dark (dark mode) theme by default in all browsers.
201
+ There are two builds: `bullframe-dark.css` enable a dark theme, and `bullframe-dark-prefers.css` follows the system default settings.
287
202
 
288
- `bullframe-dark.css`
203
+ #### `bullframe-dark.css`
289
204
 
290
205
  CDN
291
206
 
@@ -293,9 +208,9 @@ CDN
293
208
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe-dark.min.css">
294
209
  ```
295
210
 
296
- `bullframe-dark-prefers.css`
211
+ #### `bullframe-dark-prefers.css`
297
212
 
298
- Enables dark only if the user prefers it, in browsers that support the `prefers-color-scheme` media query.
213
+ It enables the dark theme IONLY if the user prefers it, in browsers that support the `prefers-color-scheme` media query.
299
214
  Read more [on MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme).
300
215
 
301
216
  CDN
@@ -304,24 +219,13 @@ CDN
304
219
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe-dark-prefers.min.css">
305
220
  ```
306
221
 
307
- ### No IE hacks, IE10+
308
-
309
- I used some IE hacks to fix form elements in IE8 and IE9.
310
- If you don't like hacks in your (S)CSS code, there are six IE10+ builds (e.g. `bullframe-ie10+.css` or `bullframe-utilities-ie10+.css`) where IE8-9 hacks are removed.
311
-
312
- CDN
313
-
314
- ```html
315
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe-ie10+.min.css">
316
- ```
317
-
318
222
  ### Utilities - Reference
319
223
 
320
224
  A set of utilities to create and customise bullframe.css:
321
225
 
322
226
  #### Grid system
323
227
 
324
- A simple but powerful IE8+ flexible Grid System (+ a Flexbox IE10+ alternative)
228
+ *Breakpoints: 576, 768, 992 and 1200 pixels*
325
229
 
326
230
  | Utility class | Description |
327
231
  | ------------- | ----------- |
@@ -345,40 +249,6 @@ A simple but powerful IE8+ flexible Grid System (+ a Flexbox IE10+ alternative)
345
249
  | `.bf-col-12` | Sets a floated container with a custom padding and a `width` of `100%` |
346
250
  | `.no-gutters` | Set `margin-left`, `margin-right`, `padding-left` and `padding-right` to `0` — to be applied to row and column containers |
347
251
 
348
- Breakpoints: 576, 768, 992 and 1200 pixels
349
-
350
- ##### Grid system with Flexbox (IE10+)
351
-
352
- You may use `/mixins/_mixin-grid-flex.scss` mixins to easily create a Grid System in Flexbox with no extra HTML classes.
353
-
354
- Add some `margin` as a gutter where needed.
355
-
356
- ``` scss
357
- // create a Flexbox parent
358
- @mixin flex-container {
359
- display: flex !important;
360
- flex-wrap: wrap !important;
361
- }
362
-
363
- // Make a child 50% of the width
364
- @mixin flex-50 {
365
- flex: 0 0 100% !important;
366
- }
367
-
368
- // Make a child 70% of the width
369
- @mixin flex-70 {
370
- flex: 0 0 70% !important;
371
- }
372
-
373
- // Make a child 25% of the width
374
- @mixin flex-25 {
375
- flex: 0 0 25% !important;
376
- }
377
-
378
- ...
379
- ...
380
- ```
381
-
382
252
  #### Layout
383
253
 
384
254
  | Utility class | Description |
@@ -482,9 +352,9 @@ Add some `margin` as a gutter where needed.
482
352
  | `.bf-t-weight-700` | Sets `font-weight` to `700` (AKA bold) |
483
353
  | `.bf-t-weight-800` | Sets `font-weight` to `800` (AKA black) |
484
354
  | `.bf-text-break` | Sets `word-wrap` to a `break-word`, applied by default to the `body` |
485
- | `.bf-text-truncate` | Truncates a very long text and replaces the missing text with an ellipsis |
486
- | `.bf-text-truncate--multiline-2` | Truncates a long doubled line text and replaces the missing text with an ellipsis (no IE) |
487
- | `.bf-text-truncate--multiline-3` | Truncates a long tripled line text and replaces the missing text with an ellipsis (no IE) |
355
+ | `.bf-t-truncate` | Truncates a very long text and replaces the missing text with an ellipsis |
356
+ | `.bf-t-truncate--multiline-2` | Truncates a long doubled line text and replaces the missing text with an ellipsis (no IE) |
357
+ | `.bf-t-truncate--multiline-3` | Truncates a long tripled line text and replaces the missing text with an ellipsis (no IE) |
488
358
  | `.bf-no-select` | Blocks user text selection |
489
359
  | `.bf-font-sans-serif` | Sets `font-family` to a `sans-serif`, and a combination of cross-browser system UI sans-serif font families |
490
360
  | `.bf-font-serif` | Sets `font-family` to a `serif`, and a combination of cross-browser system UI serif font families |
@@ -496,7 +366,7 @@ Add some `margin` as a gutter where needed.
496
366
  | `.bf-h5` | Matches the font styling of a `h5` |
497
367
  | `.bf-h6` | Matches the font styling of a `h6` |
498
368
  | `.bf-lead` | Sets `font-size` to `125%` |
499
- | `.bf-responsive-typography` | Scales `font-size` from a minimum of `1.6rem` (AKA 16px) to a maximum of `1.9rem` using `calc` and some `CSS custom properties`, **ignored in IE and Opera Mini**, [see a demo](https://codepen.io/marcop135/pen/eYmPmJm) |
369
+ | `.bf-responsive-typography` | Scales `font-size` from a minimum of `1.6rem` (AKA 16px) to a maximum of `1.9rem` using `calc` and some `CSS custom properties` |
500
370
 
501
371
  #### Lists
502
372
 
@@ -542,35 +412,18 @@ Add some `margin` as a gutter where needed.
542
412
  | ------------- | ----------- |
543
413
  | `.bf-reduced-motion` | Adds a combinations of properties and values to an element (e.g. the `body`) removing all motion-based animations if preferred by the user, [read more](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) |
544
414
 
545
- <br>
546
-
547
- ---
548
-
549
415
  ## Browser compatibility
550
416
 
551
417
  ### Desktop browsers
552
418
 
553
- - IE 8+
554
419
  - Latest stable two: Firefox, Chrome, Edge, Safari, Opera
420
+ - IE 11+
555
421
 
556
422
  ### Mobile browsers
557
423
 
558
- - Latest stable: Firefox, Chrome, Edge, Opera
559
- - Mobile Safari iOS 7+
560
- - IE Mobile 11
561
-
562
- ### Proxy browsers
563
-
564
- - Latest Stable: Opera Mobile’s Turbo mode
565
- - Latest Stable: Opera Mini
566
-
567
- You can take a look at the [.browserslistrc](https://github.com/marcop135/bullframe.css/blob/master/.browserslistrc) file for [Autoprefixer](https://github.com/postcss/autoprefixer)
424
+ - Latest stable: Firefox, Chrome, Edge, Opera, Mobile Safari
568
425
 
569
- ### Tested on real browsers
570
-
571
- This project is tested in a wide range of browsers using also [BrowserStack](https://browserstack.com/) live, thanks to the BrowserStack Open Source initiative.
572
-
573
- ![BrowserStack Logo](./docs/images-readme/browserstack-logo.png)
426
+ You might take a look at the [.browserslistrc](https://github.com/marcop135/bullframe.css/blob/master/.browserslistrc) file for [Autoprefixer](https://github.com/postcss/autoprefixer)
574
427
 
575
428
  ### Screenshots
576
429
 
@@ -578,10 +431,6 @@ How can I quickly see if every HTML element works well on all browsers?
578
431
 
579
432
  Take a look at some [screenshots and screencasts](https://github.com/marcop135/bullframe.css/tree/master/docs/screenshots-screencasts), organized by rendering engines (blink, gecko, trident, webkit).
580
433
 
581
- ## Become a sponsor
582
-
583
- [Sponsor me](https://github.com/sponsors/marcop135) and support my front-end efforts and open source!
584
-
585
434
  ## Contributors
586
435
 
587
436
  [@englishextra](https://github.com/englishextra) the project is still live thanks to you!