bullframe.css 5.1.0 → 6.0.0

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 (117) hide show
  1. package/CHANGELOG.md +39 -2
  2. package/LICENSE +1 -1
  3. package/README.md +34 -458
  4. package/dist/css/bullframe-classless-dark.css +1270 -909
  5. package/dist/css/bullframe-classless-dark.css.map +1 -1
  6. package/dist/css/bullframe-classless-dark.min.css +1 -3
  7. package/dist/css/bullframe-classless-dark.min.css.map +1 -1
  8. package/dist/css/bullframe-classless-system-default.css +1339 -899
  9. package/dist/css/bullframe-classless-system-default.css.map +1 -1
  10. package/dist/css/bullframe-classless-system-default.min.css +1 -3
  11. package/dist/css/bullframe-classless-system-default.min.css.map +1 -1
  12. package/dist/css/bullframe-classless.css +1098 -713
  13. package/dist/css/bullframe-classless.css.map +1 -1
  14. package/dist/css/bullframe-classless.min.css +1 -3
  15. package/dist/css/bullframe-classless.min.css.map +1 -1
  16. package/dist/css/bullframe-dark.css +2105 -1541
  17. package/dist/css/bullframe-dark.css.map +1 -1
  18. package/dist/css/bullframe-dark.min.css +1 -3
  19. package/dist/css/bullframe-dark.min.css.map +1 -1
  20. package/dist/css/bullframe-system-default.css +2107 -1529
  21. package/dist/css/bullframe-system-default.css.map +1 -1
  22. package/dist/css/bullframe-system-default.min.css +1 -3
  23. package/dist/css/bullframe-system-default.min.css.map +1 -1
  24. package/dist/css/bullframe-utilities.css +766 -490
  25. package/dist/css/bullframe-utilities.css.map +1 -1
  26. package/dist/css/bullframe-utilities.min.css +1 -2
  27. package/dist/css/bullframe-utilities.min.css.map +1 -1
  28. package/dist/css/bullframe.css +1900 -1310
  29. package/dist/css/bullframe.css.map +1 -1
  30. package/dist/css/bullframe.min.css +1 -3
  31. package/dist/css/bullframe.min.css.map +1 -1
  32. package/package.json +70 -28
  33. package/.browserslistrc +0 -3
  34. package/.editorconfig +0 -15
  35. package/.htmlhintrc +0 -12
  36. package/.prettierignore +0 -1
  37. package/.stylelintignore +0 -3
  38. package/.stylelintrc.json +0 -26
  39. package/dist/apple-touch-icon.png +0 -0
  40. package/dist/css/bullframe-classless-dark-prefers.css +0 -1280
  41. package/dist/css/bullframe-classless-dark-prefers.css.map +0 -1
  42. package/dist/css/bullframe-classless-dark-prefers.min.css +0 -3
  43. package/dist/css/bullframe-classless-dark-prefers.min.css.map +0 -1
  44. package/dist/css/bullframe-dark-prefers.css +0 -2296
  45. package/dist/css/bullframe-dark-prefers.css.map +0 -1
  46. package/dist/css/bullframe-dark-prefers.min.css +0 -3
  47. package/dist/css/bullframe-dark-prefers.min.css.map +0 -1
  48. package/dist/docs/demo/index.html +0 -1154
  49. package/dist/favicon-16x16.png +0 -0
  50. package/dist/favicon-32x32.png +0 -0
  51. package/dist/favicon.ico +0 -0
  52. package/dist/index.css +0 -1
  53. package/dist/index.js.map +0 -1
  54. package/dist/placeholder-img-800x400.jpg +0 -0
  55. package/dist/video-poster.png +0 -0
  56. package/prettier.config.js +0 -26
  57. package/src/scss/bullframe-classless-dark-prefers.scss +0 -2
  58. package/src/scss/bullframe-classless-dark.scss +0 -2
  59. package/src/scss/bullframe-classless-system-default.scss +0 -2
  60. package/src/scss/bullframe-classless.scss +0 -49
  61. package/src/scss/bullframe-dark-prefers.scss +0 -2
  62. package/src/scss/bullframe-dark.scss +0 -2
  63. package/src/scss/bullframe-system-default.scss +0 -2
  64. package/src/scss/bullframe-utilities.scss +0 -21
  65. package/src/scss/bullframe.scss +0 -49
  66. package/src/scss/custom/_author-styles.scss +0 -5
  67. package/src/scss/forms/_forms-normalization.scss +0 -300
  68. package/src/scss/forms/_forms-styling-radio-checkbox.scss +0 -81
  69. package/src/scss/forms/_forms-styling-range.scss +0 -106
  70. package/src/scss/forms/_forms-styling-select.scss +0 -58
  71. package/src/scss/forms/_forms-styling.scss +0 -118
  72. package/src/scss/miscellaneous/_misc-accessibility.scss +0 -36
  73. package/src/scss/miscellaneous/_misc-anchors.scss +0 -37
  74. package/src/scss/miscellaneous/_misc-embedded-content.scss +0 -117
  75. package/src/scss/miscellaneous/_misc-focus.scss +0 -80
  76. package/src/scss/miscellaneous/_misc-interactive.scss +0 -48
  77. package/src/scss/miscellaneous/_misc-layout.scss +0 -30
  78. package/src/scss/miscellaneous/_misc-lists.scss +0 -53
  79. package/src/scss/miscellaneous/_misc-scrolling.scss +0 -5
  80. package/src/scss/miscellaneous/_misc-shame.scss +0 -37
  81. package/src/scss/miscellaneous/_misc-tables.scss +0 -53
  82. package/src/scss/mixins/_mixin-dark-prefers.scss +0 -413
  83. package/src/scss/mixins/_mixin-dark.scss +0 -415
  84. package/src/scss/mixins/_mixin-grid-flex.scss +0 -80
  85. package/src/scss/mixins/_mixin-layout.scss +0 -42
  86. package/src/scss/mixins/_mixin-texts.scss +0 -37
  87. package/src/scss/typography/_typography-blockquotes.scss +0 -28
  88. package/src/scss/typography/_typography-headings.scss +0 -45
  89. package/src/scss/typography/_typography-html-body.scss +0 -75
  90. package/src/scss/typography/_typography-misc.scss +0 -90
  91. package/src/scss/typography/_typography-monospaced-elements.scss +0 -59
  92. package/src/scss/utilities/_utility-buttons.scss +0 -73
  93. package/src/scss/utilities/_utility-debugging.scss +0 -31
  94. package/src/scss/utilities/_utility-embeds.scss +0 -34
  95. package/src/scss/utilities/_utility-filters.scss +0 -21
  96. package/src/scss/utilities/_utility-form-states.scss +0 -89
  97. package/src/scss/utilities/_utility-global-dark-classless.scss +0 -3
  98. package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +0 -3
  99. package/src/scss/utilities/_utility-global-dark-prefers.scss +0 -3
  100. package/src/scss/utilities/_utility-global-dark-scrollbars.scss +0 -34
  101. package/src/scss/utilities/_utility-global-dark.scss +0 -4
  102. package/src/scss/utilities/_utility-global-system-default-classless.scss +0 -3
  103. package/src/scss/utilities/_utility-global-system-default.scss +0 -3
  104. package/src/scss/utilities/_utility-grid-system.scss +0 -140
  105. package/src/scss/utilities/_utility-layout.scss +0 -187
  106. package/src/scss/utilities/_utility-lists.scss +0 -17
  107. package/src/scss/utilities/_utility-print.scss +0 -101
  108. package/src/scss/utilities/_utility-reduced-motion.scss +0 -29
  109. package/src/scss/utilities/_utility-spacing.scss +0 -148
  110. package/src/scss/utilities/_utility-tables.scss +0 -34
  111. package/src/scss/utilities/_utility-texts.scss +0 -225
  112. package/src/scss/utilities/_utility-z-index.scss +0 -83
  113. package/src/scss/variables/_variables-breakpoints.scss +0 -6
  114. package/src/scss/variables/_variables-colors.scss +0 -34
  115. package/src/scss/variables/_variables-spacing.scss +0 -24
  116. package/src/scss/variables/_variables-texts.scss +0 -8
  117. package/vite.config.js +0 -148
@@ -1,187 +0,0 @@
1
- // micro-clearfix
2
- // http://nicolasgallagher.com/micro-clearfix-hack/
3
- .bf-clearfix::before,
4
- .bf-clearfix::after {
5
- content: " ";
6
- display: table;
7
- }
8
-
9
- .bf-clearfix::after {
10
- clear: both;
11
- }
12
-
13
- .bf-hide {
14
- display: none !important;
15
- }
16
-
17
- // assistive text for screen reader only (e.g. form labels)
18
- .bf-hidden {
19
- display: none !important;
20
- visibility: hidden !important;
21
- }
22
-
23
- .bf-text-hide {
24
- /* stylelint-disable-next-line */
25
- font: 0/0 a !important;
26
- color: transparent !important;
27
- text-shadow: none !important;
28
- background-color: transparent !important;
29
- border: 0 !important;
30
- margin: 0 !important;
31
- padding: 0 !important;
32
- }
33
-
34
- /*
35
- // taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css
36
- //
37
- * Hide only visually, but have it available for screen readers:
38
- * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
39
- *
40
- * 1. For long content, line feeds are not interpreted as spaces and small width
41
- * causes content to wrap 1 word per line:
42
- * https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
43
- */
44
- .bf-sr-only {
45
- border: 0 !important;
46
- clip: rect(0, 0, 0, 0) !important;
47
- height: 1px !important;
48
- margin: -1px !important;
49
- overflow: hidden !important;
50
- padding: 0 !important;
51
- position: absolute !important;
52
- white-space: nowrap !important;
53
- width: 1px !important;
54
- }
55
-
56
- /*
57
- // taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css
58
- //
59
- * Extends the .sr-only class to allow the element
60
- * to be focusable when navigated to via the keyboard:
61
- * https://www.drupal.org/node/897638
62
- */
63
- .bf-sr-only.focusable:active,
64
- .bf-sr-only.focusable:focus {
65
- clip: auto !important;
66
- height: auto !important;
67
- margin: 0 !important;
68
- overflow: visible !important;
69
- position: static !important;
70
- white-space: inherit !important;
71
- width: auto !important;
72
- }
73
-
74
- .bf-invisible {
75
- visibility: hidden !important;
76
- }
77
-
78
- .bf-visible {
79
- visibility: visible !important;
80
- }
81
-
82
- .bf-display-block {
83
- display: block !important;
84
- }
85
-
86
- .bf-display-block-center {
87
- display: block !important;
88
- margin-left: auto !important;
89
- margin-right: auto !important;
90
- text-align: center !important;
91
- }
92
-
93
- .bf-display-inline {
94
- display: inline !important;
95
- }
96
-
97
- .bf-display-inline-block {
98
- display: inline-block !important;
99
- }
100
-
101
- .bf-display-flex {
102
- display: flex !important;
103
- }
104
-
105
- .bf-display-inline-flex {
106
- display: inline-flex !important;
107
- }
108
-
109
- .bf-display-flex--justify-start {
110
- justify-content: flex-start !important;
111
- }
112
-
113
- .bf-display-flex--justify-end {
114
- justify-content: flex-end !important;
115
- }
116
-
117
- .bf-display-flex--justify-center {
118
- justify-content: center !important;
119
- }
120
-
121
- .bf-display-flex--wrap {
122
- flex-wrap: wrap !important;
123
- }
124
-
125
- .bf-display-flex--nowrap {
126
- flex-wrap: nowrap !important;
127
- }
128
-
129
- .bf-float-left {
130
- float: left !important;
131
- }
132
-
133
- .bf-float-right {
134
- float: right !important;
135
- }
136
- .bf-position-fixed {
137
- position: fixed !important;
138
- }
139
-
140
- .bf-position-sticky {
141
- position: sticky !important;
142
- top: 0 !important;
143
- }
144
-
145
- // https://css-tricks.com/centering-css-complete-guide
146
- .bf-align-center-unknown {
147
- position: relative !important;
148
- }
149
-
150
- .bf-align-center-unknown--item {
151
- position: absolute !important;
152
- top: 50% !important;
153
- left: 50% !important;
154
- transform: translate(-50%, -50%) !important;
155
- }
156
-
157
- // align items horizontally and vertically
158
- // https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Aligning_Items_in_a_Flex_Container
159
- .bf-align-center-flex {
160
- display: flex;
161
- align-items: center;
162
- justify-content: center;
163
- }
164
-
165
- .bf-width-25 {
166
- width: 25% !important;
167
- }
168
-
169
- .bf-width-33 {
170
- width: 33.3333% !important;
171
- }
172
-
173
- .bf-width-50 {
174
- width: 50% !important;
175
- }
176
-
177
- .bf-width-75 {
178
- width: 75% !important;
179
- }
180
-
181
- .bf-width-100 {
182
- width: 100% !important;
183
- }
184
-
185
- .bf-width-auto {
186
- width: auto !important;
187
- }
@@ -1,17 +0,0 @@
1
- // this is useful for navbars
2
- .bf-list-unstyled,
3
- menu ul.bf-list-unstyled,
4
- menu ol.bf-list-unstyled,
5
- ul.bf-list-unstyled ul,
6
- ul.bf-list-unstyled ol,
7
- ol.bf-list-unstyled ol,
8
- ol.bf-list-unstyled ul,
9
- dd.bf-list-unstyled {
10
- margin: 0;
11
- padding: 0;
12
- list-style: none;
13
- }
14
-
15
- dt {
16
- font-weight: 700;
17
- }
@@ -1,101 +0,0 @@
1
- /* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
2
- /* ==========================================================================
3
- Print styles.
4
- Inlined to avoid the additional HTTP request:
5
- https://www.phpied.com/delay-loading-your-print-css/
6
- ========================================================================== */
7
-
8
- @media print {
9
- *,
10
- *::before,
11
- *::after {
12
- background: #fff !important;
13
- color: #000 !important;
14
- /* Black prints faster */
15
- box-shadow: none !important;
16
- text-shadow: none !important;
17
- }
18
-
19
- a,
20
- a:visited {
21
- text-decoration: underline;
22
- }
23
-
24
- a[href]::after {
25
- content: " (" attr(href) ")";
26
- }
27
-
28
- abbr[title]::after {
29
- content: " (" attr(title) ")";
30
- }
31
-
32
- /*
33
- * Don't show links that are fragment identifiers,
34
- * or use the `javascript:` pseudo protocol
35
- */
36
- a[href^="#"]::after,
37
- a[href^="javascript:"]::after {
38
- content: "";
39
- }
40
-
41
- pre {
42
- white-space: pre-wrap !important;
43
- }
44
-
45
- pre,
46
- blockquote {
47
- border: 1px solid #999;
48
- page-break-inside: avoid;
49
- }
50
-
51
- tr,
52
- img {
53
- page-break-inside: avoid;
54
- }
55
-
56
- p,
57
- h2,
58
- h3 {
59
- orphans: 3;
60
- widows: 3;
61
- }
62
-
63
- h2,
64
- h3 {
65
- page-break-after: avoid;
66
- }
67
- }
68
-
69
- // the rulesets below target bullframe.css
70
-
71
- @media print {
72
- // adjust the grid system making the layout always fixed
73
- body,
74
- .bf-container {
75
- min-width: 992px !important;
76
- }
77
-
78
- // a few fixes for '_utility_tables.scss'
79
- //
80
- // a <table> with a responsive container (.table-responsive) is cut
81
- // horizontally because there an overflow-x is applied
82
- // let's re-set the overflow of that container on 'auto'
83
- // and let the <table> element flows without a fixed/flexible with
84
-
85
- .bf-table-responsive {
86
- overflow: auto;
87
- }
88
-
89
- .bf-table-responsive table {
90
- width: auto;
91
- }
92
-
93
- .bf-table-responsive table,
94
- .bf-table {
95
- border-collapse: collapse !important;
96
- }
97
- }
98
-
99
- // Need more?
100
- //
101
- // This project looks promising https://github.com/BafS/Gutenberg
@@ -1,29 +0,0 @@
1
- // prefers-reduced-motion media feature query
2
- // https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
3
- //
4
- // @media (prefers-reduced-motion: reduce) { ... }
5
- // Indicates that user has notified the system that they prefer an
6
- // interface that minimizes the amount of movement or animation,
7
- // preferably to the point where all non-essential movement is removed.
8
-
9
- // taken from https://github.com/jensimmons/cssremedy
10
- //
11
- // 1. Immediately jump any animation to the end point
12
- // 2. Remove transitions & fixed background attachment
13
- // See: https://github.com/mozdevs/cssremedy/issues/11
14
- @media (prefers-reduced-motion: reduce) {
15
- .bf-reduced-motion,
16
- .bf-reduced-motion::before,
17
- .bf-reduced-motion::after,
18
- .bf-reduced-motion *,
19
- .bf-reduced-motion *::before,
20
- .bf-reduced-motion *::after {
21
- animation-delay: -1ms !important;
22
- animation-duration: 1ms !important;
23
- animation-iteration-count: 1 !important;
24
- background-attachment: initial !important;
25
- scroll-behavior: auto !important;
26
- transition-delay: 0s !important;
27
- transition-duration: 0s !important;
28
- }
29
- }
@@ -1,148 +0,0 @@
1
- @use '../variables/variables-colors' as bf-v-color;
2
- @use '../variables/variables-texts' as bf-v-text;
3
- @use '../variables/variables-spacing' as bf-v-space;
4
- @use '../variables/variables-breakpoints' as bf-v-bp;
5
- @use 'sass:color';
6
-
7
- // this is something similar to Bootstrap's spacing utility
8
- // https://getbootstrap.com/docs/4.4/utilities/spacing/
9
-
10
- // margins and paddings classes
11
-
12
- .bf-m-0 {
13
- margin: 0 !important;
14
- }
15
-
16
- .bf-m-t-0 {
17
- margin-top: 0 !important;
18
- }
19
-
20
- .bf-m-b-0 {
21
- margin-bottom: 0 !important;
22
- }
23
-
24
- .bf-m-l-0 {
25
- margin-left: 0 !important;
26
- }
27
-
28
- .bf-m-r-0 {
29
- margin-right: 0 !important;
30
- }
31
-
32
- .bf-m-1 {
33
- margin-bottom: bf-v-space.$bf-spacing-md-rem !important;
34
- }
35
-
36
- .bf-m-2 {
37
- margin-bottom: bf-v-space.$bf-spacing-lg-rem !important;
38
- }
39
-
40
- .bf-m-3 {
41
- margin-bottom: bf-v-space.$bf-spacing-xl-rem !important;
42
- }
43
-
44
- .bf-m-4 {
45
- margin-bottom: bf-v-space.$bf-spacing-xxl-rem !important;
46
- }
47
-
48
- .bf-m-t-1 {
49
- margin-top: bf-v-space.$bf-spacing-md-rem !important;
50
- }
51
-
52
- .bf-m-t-2 {
53
- margin-top: bf-v-space.$bf-spacing-lg-rem !important;
54
- }
55
-
56
- .bf-m-t-3 {
57
- margin-top: bf-v-space.$bf-spacing-xl-rem !important;
58
- }
59
-
60
- .bf-m-t-4 {
61
- margin-top: bf-v-space.$bf-spacing-xxl-rem !important;
62
- }
63
-
64
- .bf-m-b-1 {
65
- margin-bottom: bf-v-space.$bf-spacing-md-rem !important;
66
- }
67
-
68
- .bf-m-b-2 {
69
- margin-bottom: bf-v-space.$bf-spacing-lg-rem !important;
70
- }
71
-
72
- .bf-m-b-3 {
73
- margin-bottom: bf-v-space.$bf-spacing-xl-rem !important;
74
- }
75
-
76
- .bf-m-b-4 {
77
- margin-bottom: bf-v-space.$bf-spacing-xxl-rem !important;
78
- }
79
-
80
- // paddings
81
-
82
- .bf-p-0 {
83
- padding: 0 !important;
84
- }
85
-
86
- .bf-p-t-0 {
87
- padding-top: 0 !important;
88
- }
89
-
90
- .bf-p-b-0 {
91
- padding-bottom: 0 !important;
92
- }
93
-
94
- .bf-p-l-0 {
95
- padding-left: 0 !important;
96
- }
97
-
98
- .bf-p-r-0 {
99
- padding-right: 0 !important;
100
- }
101
-
102
- .bf-p-1 {
103
- padding-bottom: bf-v-space.$bf-spacing-md-rem !important;
104
- }
105
-
106
- .bf-p-2 {
107
- padding-bottom: bf-v-space.$bf-spacing-lg-rem !important;
108
- }
109
-
110
- .bf-p-3 {
111
- padding-bottom: bf-v-space.$bf-spacing-xl-rem !important;
112
- }
113
-
114
- .bf-p-4 {
115
- padding-bottom: bf-v-space.$bf-spacing-xxl-rem !important;
116
- }
117
-
118
- .bf-p-t-1 {
119
- padding-top: bf-v-space.$bf-spacing-md-rem !important;
120
- }
121
-
122
- .bf-p-t-2 {
123
- padding-top: bf-v-space.$bf-spacing-lg-rem !important;
124
- }
125
-
126
- .bf-p-t-3 {
127
- padding-top: bf-v-space.$bf-spacing-xl-rem !important;
128
- }
129
-
130
- .bf-p-t-4 {
131
- padding-top: bf-v-space.$bf-spacing-xxl-rem !important;
132
- }
133
-
134
- .bf-p-b-1 {
135
- padding-bottom: bf-v-space.$bf-spacing-md-rem !important;
136
- }
137
-
138
- .bf-p-b-2 {
139
- padding-bottom: bf-v-space.$bf-spacing-lg-rem !important;
140
- }
141
-
142
- .bf-p-b-3 {
143
- padding-bottom: bf-v-space.$bf-spacing-xl-rem !important;
144
- }
145
-
146
- .bf-p-b-4 {
147
- padding-bottom: bf-v-space.$bf-spacing-xxl-rem !important;
148
- }
@@ -1,34 +0,0 @@
1
- @use '../variables/variables-colors' as bf-v-color;
2
- @use '../variables/variables-texts' as bf-v-text;
3
- @use '../variables/variables-spacing' as bf-v-space;
4
- @use '../variables/variables-breakpoints' as bf-v-bp;
5
- @use 'sass:color';
6
-
7
- .bf-table th,
8
- .bf-table td {
9
- padding: bf-v-space.$bf-spacing-lg-rem;
10
- border-bottom: 1px solid bf-v-color.$bf-gray;
11
- margin-bottom: bf-v-space.$bf-spacing-md-rem;
12
- }
13
-
14
- // responsive tables
15
- .bf-table-responsive {
16
- overflow: auto hidden;
17
- -ms-overflow-style: scrollbar;
18
- }
19
-
20
- .bf-table-responsive table {
21
- width: 100%;
22
- margin-bottom: bf-v-space.$bf-spacing-md-rem;
23
- }
24
-
25
- // force webkit scrollbars appearance
26
- .bf-table-responsive.scrollbar {
27
- -webkit-overflow-scrolling: auto;
28
- }
29
-
30
- // zebra striping
31
- .bf-table--zebra tbody tr:nth-child(odd),
32
- .bf-table-responsive--zebra tbody tr:nth-child(odd) {
33
- background-color: bf-v-color.$bf-gray-light-extra;
34
- }