bullframe.css 4.2.0 → 4.2.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 (48) hide show
  1. package/CHANGELOG.md +38 -33
  2. package/README.md +1 -1
  3. package/dist/css/bullframe-classless-dark-prefers.css +1 -1
  4. package/dist/css/bullframe-classless-dark-prefers.min.css +1 -1
  5. package/dist/css/bullframe-classless-dark-prefers.min.css.map +1 -1
  6. package/dist/css/bullframe-classless-dark.css +1 -1
  7. package/dist/css/bullframe-classless-dark.min.css +1 -1
  8. package/dist/css/bullframe-classless-dark.min.css.map +1 -1
  9. package/dist/css/bullframe-classless-system-default.css +1 -1
  10. package/dist/css/bullframe-classless-system-default.min.css +1 -1
  11. package/dist/css/bullframe-classless-system-default.min.css.map +1 -1
  12. package/dist/css/bullframe-classless.css +1 -1
  13. package/dist/css/bullframe-classless.min.css +1 -1
  14. package/dist/css/bullframe-classless.min.css.map +1 -1
  15. package/dist/css/bullframe-dark-prefers.css +1 -1
  16. package/dist/css/bullframe-dark-prefers.min.css +1 -1
  17. package/dist/css/bullframe-dark-prefers.min.css.map +1 -1
  18. package/dist/css/bullframe-dark.css +1 -1
  19. package/dist/css/bullframe-dark.min.css +1 -1
  20. package/dist/css/bullframe-dark.min.css.map +1 -1
  21. package/dist/css/bullframe-system-default.css +1 -1
  22. package/dist/css/bullframe-system-default.min.css +1 -1
  23. package/dist/css/bullframe-system-default.min.css.map +1 -1
  24. package/dist/css/bullframe-utilities.css +1 -1
  25. package/dist/css/bullframe-utilities.min.css +1 -1
  26. package/dist/css/bullframe-utilities.min.css.map +1 -1
  27. package/dist/css/bullframe.css +1 -1
  28. package/dist/css/bullframe.min.css +1 -1
  29. package/dist/css/bullframe.min.css.map +1 -1
  30. package/{dist → docs/test-page}/index.html +139 -10
  31. package/gulpfile.js +29 -52
  32. package/package.json +1 -1
  33. package/src/scss/bullframe-utilities.scss +1 -1
  34. package/dist/assets-demo/css/style.css +0 -130
  35. /package/docs/{images-readme → assets/images/branding}/logo-full.png +0 -0
  36. /package/{dist/assets-demo → docs/test-page/assets}/icons/android-chrome-192x192.png +0 -0
  37. /package/{dist/assets-demo → docs/test-page/assets}/icons/android-chrome-384x384.png +0 -0
  38. /package/{dist/assets-demo → docs/test-page/assets}/icons/apple-touch-icon.png +0 -0
  39. /package/{dist/assets-demo → docs/test-page/assets}/icons/favicon-16x16.png +0 -0
  40. /package/{dist/assets-demo → docs/test-page/assets}/icons/favicon-32x32.png +0 -0
  41. /package/{dist/assets-demo → docs/test-page/assets}/icons/favicon.ico +0 -0
  42. /package/{dist/assets-demo → docs/test-page/assets}/icons/mstile-150x150.png +0 -0
  43. /package/{dist/assets-demo → docs/test-page/assets}/icons/safari-pinned-tab.svg +0 -0
  44. /package/{dist/assets-demo → docs/test-page/assets}/images/logo.png +0 -0
  45. /package/{dist/assets-demo → docs/test-page/assets}/images/placeholder-img-130x140.jpg +0 -0
  46. /package/{dist/assets-demo → docs/test-page/assets}/images/placeholder-img-16x16.jpg +0 -0
  47. /package/{dist/assets-demo → docs/test-page/assets}/images/placeholder-img-800x400.jpg +0 -0
  48. /package/{dist/assets-demo → docs/test-page/assets}/images/video-poster.png +0 -0
@@ -8,21 +8,150 @@
8
8
 
9
9
  <title>Test page — bullframe.css Sass (SCSS) framework</title>
10
10
  <meta name="description"
11
- content="A quick look at a wide range of HTML elements, divided into several sections and rendered into unusual combinations, for testing purposes only." />
11
+ content="Explore bullframe.css, a robust and fluid Sass (SCSS) framework for cross-browser compatibility. View a comprehensive range of HTML elements in dynamic combinations, designed for thorough testing and responsive design." />
12
12
 
13
13
  <!-- https://realfavicongenerator.net/ -->
14
- <link rel="apple-touch-icon" sizes="180x180" href="./icons/apple-touch-icon.png?v=PYqzMzgx6v" />
15
- <link rel="icon" type="image/png" sizes="32x32" href="./icons/favicon-32x32.png?v=PYqzMzgx6v" />
16
- <link rel="icon" type="image/png" sizes="16x16" href="./icons/favicon-16x16.png?v=PYqzMzgx6v" />
17
- <link rel="mask-icon" href="./icons/safari-pinned-tab.svg?v=PYqzMzgx6v" color="#f95c1f" />
18
- <link rel="shortcut icon" href="./icons/favicon.ico?v=PYqzMzgx6v" />
14
+ <link rel="apple-touch-icon" sizes="180x180" href="assets/icons/apple-touch-icon.png?v=PYqzMzgx6v" />
15
+ <link rel="icon" type="image/png" sizes="32x32" href="assets/icons/favicon-32x32.png?v=PYqzMzgx6v" />
16
+ <link rel="icon" type="image/png" sizes="16x16" href="assets/icons/favicon-16x16.png?v=PYqzMzgx6v" />
17
+ <link rel="mask-icon" href="assets/icons/safari-pinned-tab.svg?v=PYqzMzgx6v" color="#f95c1f" />
18
+ <link rel="shortcut icon" href="assets/icons/favicon.ico?v=PYqzMzgx6v" />
19
19
  <meta name="msapplication-TileColor" content="#da532c" />
20
20
  <meta name="theme-color" content="#f95c1f" />
21
21
 
22
- <link rel="stylesheet" href="css/bullframe-system-default.min.css?v4.2.0" />
23
-
24
- <!-- this is just for a nicer demo -->
25
- <link rel="stylesheet" href="assets-demo/css/style.css" />
22
+ <link rel="stylesheet" href="./css/bullframe-system-default.min.css?v4.2.1" />
23
+
24
+ <!-- custom styles -->
25
+ <style>
26
+ .test .bf-row {
27
+ margin-bottom: 20px;
28
+ margin-bottom: 2rem;
29
+ }
30
+
31
+ .test [class^='bf-col'] {
32
+ margin-bottom: 10px;
33
+ margin-bottom: 1rem;
34
+ }
35
+
36
+ @media (max-width: 575px) {
37
+ .test header {
38
+ margin-bottom: 1rem;
39
+ }
40
+ }
41
+
42
+ .test header h1 {
43
+ margin-top: 10px;
44
+ margin-top: 1rem;
45
+ margin-bottom: 0;
46
+ }
47
+
48
+ .test header h1 span {
49
+ color: #f95c1f;
50
+ }
51
+
52
+ @media (min-width: 600px) {
53
+ .test header h1 {
54
+ font-size: 55px;
55
+ font-size: 5.5rem;
56
+ }
57
+ }
58
+
59
+ @media (min-width: 1000px) {
60
+ .test header h1 {
61
+ font-size: 70px;
62
+ font-size: 7rem;
63
+ }
64
+ }
65
+
66
+ .test .description {
67
+ max-width: 800px;
68
+ max-width: 80rem;
69
+ margin-left: auto;
70
+ margin-right: auto;
71
+ }
72
+
73
+ .test header a {
74
+ margin-right: 10px;
75
+ margin-right: 1rem;
76
+ }
77
+
78
+ @media (min-width: 600px) {
79
+ .test .h2--section {
80
+ font-size: 40px;
81
+ font-size: 4rem;
82
+ }
83
+ }
84
+
85
+ .test .h2--section {
86
+ padding-top: 20px;
87
+ padding-bottom: 2rem;
88
+ text-transform: uppercase;
89
+ }
90
+
91
+ .test legend {
92
+ padding-bottom: 10px;
93
+ padding-bottom: 1rem;
94
+ }
95
+
96
+ .test button,
97
+ .test .bf-btn,
98
+ .test .input-image,
99
+ .test input,
100
+ .test select,
101
+ .test textarea {
102
+ margin-bottom: 20px;
103
+ margin-bottom: 2rem;
104
+ }
105
+
106
+ .test [type='image'],
107
+ .test [type='checkbox'],
108
+ .test [type='radio'] {
109
+ margin-bottom: 0;
110
+ }
111
+
112
+ .test .grid .col-wrapper {
113
+ background-color: #888;
114
+ height: 60px;
115
+ height: 6rem;
116
+ line-height: 60px;
117
+ line-height: 6rem;
118
+ overflow-y: hidden;
119
+ color: #fff;
120
+ font-size: 80%;
121
+ text-align: center;
122
+ -webkit-border-radius: 3px;
123
+ border-radius: 3px;
124
+ font-weight: 700;
125
+ }
126
+
127
+ .test .grid .bf-row:nth-child(odd) .col-wrapper {
128
+ background-color: #ccc;
129
+ color: #000;
130
+ }
131
+
132
+ @media (max-width: 767px) {
133
+ .test .grid .bf-row {
134
+ margin-bottom: 0;
135
+ }
136
+
137
+ .test .grid [class*='bf-col-'] {
138
+ margin-bottom: 20px;
139
+ margin-bottom: 2rem;
140
+ }
141
+ }
142
+
143
+ .test .back-to-top {
144
+ text-align: center;
145
+ display: block;
146
+ margin: 60px 0 120px 0;
147
+ margin: 6rem 0 12rem 0;
148
+ }
149
+
150
+ .test .back-to-top a i {
151
+ vertical-align: middle;
152
+ font-style: normal;
153
+ }
154
+ </style>
26
155
  </head>
27
156
 
28
157
  <body class="bf-responsive-typography bf-reduced-motion">
package/gulpfile.js CHANGED
@@ -1,16 +1,12 @@
1
- // Gulpfile for bullframe.css
2
1
  'use strict';
3
2
 
4
3
  // Initialize modules
5
- // Import specific gulp API functions lets us write them below as series()
6
- // instead of gulp.series()
7
4
  const { src, dest, watch, series, parallel } = require('gulp');
8
5
 
9
6
  // Upgrade gulp-sass to v5
10
- // https://github.com/dlmanning/gulp-sass/tree/master#migrating-to-version-5
11
7
  const sass = require('gulp-sass')(require('sass'));
12
8
 
13
- // Import all the Gulp-related packages we want to use
9
+ // Import all the Gulp-related packages
14
10
  const postcss = require('gulp-postcss');
15
11
  const autoprefixer = require('autoprefixer');
16
12
  const cssnano = require('cssnano');
@@ -20,7 +16,7 @@ const browserSync = require('browser-sync');
20
16
 
21
17
  const server = browserSync.create();
22
18
 
23
- // setup the BrowserSync server
19
+ // Setup the BrowserSync server
24
20
  function reload(done) {
25
21
  server.reload();
26
22
  done();
@@ -30,7 +26,7 @@ function serve(done) {
30
26
  server.init({
31
27
  server: {
32
28
  baseDir: './dist/',
33
- index: './index.html',
29
+ index: '../docs/test-page/index.html',
34
30
  },
35
31
  });
36
32
  done();
@@ -43,55 +39,36 @@ const files = {
43
39
 
44
40
  // Sass task
45
41
  function scssTask() {
46
- return (
47
- src(files.scssPath, {
48
- sourcemaps: true,
49
- })
50
- // compile SCSS to CSS
51
- .pipe(sass.sync({ outputStyle: 'expanded' }))
52
-
53
- // replace Node-sass auto-built charset with a useful comment
54
- // https://stackoverflow.com/a/51886455/4027098
55
- .pipe(
56
- replace(
57
- '@charset "UTF-8";',
58
- '/*! bullframe.css v4.2.0 | MIT License | https://github.com/marcop135/bullframe.css */'
59
- )
42
+ return src(files.scssPath, { sourcemaps: true })
43
+ .pipe(
44
+ sass.sync({ outputStyle: 'expanded' }).on('error', sass.logError)
45
+ ) // Compile SCSS to CSS
46
+ .pipe(
47
+ replace(
48
+ '@charset "UTF-8";',
49
+ '/*! bullframe.css v4.2.1 | MIT License | https://github.com/marcop135/bullframe.css */'
60
50
  )
61
-
62
- // PostCSS plugins
63
- .pipe(postcss([autoprefixer()]))
64
-
65
- // write pre-minifies styles
66
- .pipe(dest('dist/css'))
67
-
68
- // PostCSS plugins
69
- .pipe(postcss([cssnano()]))
70
-
71
- // rename files
72
- .pipe(
73
- rename({
74
- suffix: '.min',
75
- })
76
- )
77
-
78
- // put final CSS in dist folder
79
- .pipe(
80
- dest('dist/css', {
81
- sourcemaps: '.',
82
- })
83
- )
84
- );
51
+ ) // Replace Node-sass auto-built charset with a useful comment
52
+ .pipe(postcss([autoprefixer()])) // Apply PostCSS plugins
53
+ .pipe(dest('dist/css')) // Write pre-minified styles
54
+ .pipe(postcss([cssnano()])) // Minify CSS
55
+ .pipe(
56
+ rename({
57
+ suffix: '.min',
58
+ })
59
+ ) // Rename files
60
+ .pipe(dest('dist/css', { sourcemaps: '.' })); // Output final CSS
85
61
  }
86
62
 
87
- // watch task: watch SCSS, JS, image and HTML files for changes
88
- // If any change, run scss, js and image tasks simultaneously
89
- // then reload via browsersync
63
+
64
+ // Watch task: watch SCSS, JS, image, and HTML files for changes
90
65
  function watchTask() {
91
66
  watch([files.scssPath], series(parallel(scssTask), reload));
92
67
  }
93
68
 
94
- // Export the default Gulp task so it can be run
95
- // Runs the scss, js, image and cache busting tasks simultaneously
96
- // start local server and watch tasks
97
- exports.default = series(parallel(scssTask), serve, watchTask);
69
+ // Export the default Gulp task
70
+ exports.default = series(
71
+ parallel(scssTask),
72
+ serve,
73
+ watchTask
74
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bullframe.css",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "Solid, fluid, cross-browser Sass (SCSS) framework.",
5
5
  "jsdelivr": "dist/css/bullframe.css",
6
6
  "unpkg": "dist/css/bullframe.css",
@@ -1,4 +1,4 @@
1
- /*! bullframe.css v4.2.0 | MIT License | https://github.com/marcop135/bullframe.css */
1
+ /*! bullframe.css v4.2.1 | MIT License | https://github.com/marcop135/bullframe.css */
2
2
  /* custom build: bullframe-utilities */
3
3
 
4
4
  // colors, spacing and breakpoint variables
@@ -1,130 +0,0 @@
1
- /* just for a nicer demo */
2
-
3
- .test .bf-row {
4
- margin-bottom: 20px;
5
- margin-bottom: 2rem;
6
- }
7
-
8
- .test [class^='bf-col'] {
9
- margin-bottom: 10px;
10
- margin-bottom: 1rem;
11
- }
12
-
13
- @media (max-width: 575px) {
14
- .test header {
15
- margin-bottom: 1rem;
16
- }
17
- }
18
-
19
- .test header h1 {
20
- margin-top: 10px;
21
- margin-top: 1rem;
22
- margin-bottom: 0;
23
- }
24
-
25
- .test header h1 span {
26
- color: #f95c1f;
27
- }
28
-
29
- @media (min-width: 600px) {
30
- .test header h1 {
31
- font-size: 55px;
32
- font-size: 5.5rem;
33
- }
34
- }
35
-
36
- @media (min-width: 1000px) {
37
- .test header h1 {
38
- font-size: 70px;
39
- font-size: 7rem;
40
- }
41
- }
42
-
43
- .test .description {
44
- max-width: 800px;
45
- max-width: 80rem;
46
- margin-left: auto;
47
- margin-right: auto;
48
- }
49
-
50
- .test header a {
51
- margin-right: 10px;
52
- margin-right: 1rem;
53
- }
54
-
55
- @media (min-width: 600px) {
56
- .test .h2--section {
57
- font-size: 40px;
58
- font-size: 4rem;
59
- }
60
- }
61
-
62
- .test .h2--section {
63
- padding-top: 20px;
64
- padding-bottom: 2rem;
65
- text-transform: uppercase;
66
- }
67
-
68
- .test legend {
69
- padding-bottom: 10px;
70
- padding-bottom: 1rem;
71
- }
72
-
73
- .test button,
74
- .test .bf-btn,
75
- .test .input-image,
76
- .test input,
77
- .test select,
78
- .test textarea {
79
- margin-bottom: 20px;
80
- margin-bottom: 2rem;
81
- }
82
-
83
- .test [type='image'],
84
- .test [type='checkbox'],
85
- .test [type='radio'] {
86
- margin-bottom: 0;
87
- }
88
-
89
- .test .grid .col-wrapper {
90
- background-color: #888;
91
- height: 60px;
92
- height: 6rem;
93
- line-height: 60px;
94
- line-height: 6rem;
95
- overflow-y: hidden;
96
- color: #fff;
97
- font-size: 80%;
98
- text-align: center;
99
- -webkit-border-radius: 3px;
100
- border-radius: 3px;
101
- font-weight: 700;
102
- }
103
-
104
- .test .grid .bf-row:nth-child(odd) .col-wrapper {
105
- background-color: #ccc;
106
- color: #000;
107
- }
108
-
109
- @media (max-width: 767px) {
110
- .test .grid .bf-row {
111
- margin-bottom: 0;
112
- }
113
-
114
- .test .grid [class*='bf-col-'] {
115
- margin-bottom: 20px;
116
- margin-bottom: 2rem;
117
- }
118
- }
119
-
120
- .test .back-to-top {
121
- text-align: center;
122
- display: block;
123
- margin: 60px 0 120px 0;
124
- margin: 6rem 0 12rem 0;
125
- }
126
-
127
- .test .back-to-top a i {
128
- vertical-align: middle;
129
- font-style: normal;
130
- }