bullframe.css 4.2.2 → 5.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 (143) hide show
  1. package/.browserslistrc +2 -4
  2. package/.editorconfig +8 -4
  3. package/.gitattributes +1 -0
  4. package/.prettierignore +1 -0
  5. package/.stylelintignore +3 -0
  6. package/.stylelintrc.json +5 -2
  7. package/CHANGELOG.md +14 -1
  8. package/README.md +369 -327
  9. package/dist/css/bullframe-classless-dark-prefers.css +378 -269
  10. package/dist/css/bullframe-classless-dark-prefers.css.map +1 -0
  11. package/dist/css/bullframe-classless-dark-prefers.min.css +3 -3
  12. package/dist/css/bullframe-classless-dark-prefers.min.css.map +1 -1
  13. package/dist/css/bullframe-classless-dark.css +384 -253
  14. package/dist/css/bullframe-classless-dark.css.map +1 -0
  15. package/dist/css/bullframe-classless-dark.min.css +3 -3
  16. package/dist/css/bullframe-classless-dark.min.css.map +1 -1
  17. package/dist/css/bullframe-classless-system-default.css +378 -269
  18. package/dist/css/bullframe-classless-system-default.css.map +1 -0
  19. package/dist/css/bullframe-classless-system-default.min.css +3 -3
  20. package/dist/css/bullframe-classless-system-default.min.css.map +1 -1
  21. package/dist/css/bullframe-classless.css +343 -229
  22. package/dist/css/bullframe-classless.css.map +1 -0
  23. package/dist/css/bullframe-classless.min.css +3 -2
  24. package/dist/css/bullframe-classless.min.css.map +1 -1
  25. package/dist/css/bullframe-dark-prefers.css +399 -464
  26. package/dist/css/bullframe-dark-prefers.css.map +1 -0
  27. package/dist/css/bullframe-dark-prefers.min.css +3 -2
  28. package/dist/css/bullframe-dark-prefers.min.css.map +1 -1
  29. package/dist/css/bullframe-dark.css +401 -375
  30. package/dist/css/bullframe-dark.css.map +1 -0
  31. package/dist/css/bullframe-dark.min.css +3 -2
  32. package/dist/css/bullframe-dark.min.css.map +1 -1
  33. package/dist/css/bullframe-system-default.css +396 -391
  34. package/dist/css/bullframe-system-default.css.map +1 -0
  35. package/dist/css/bullframe-system-default.min.css +3 -2
  36. package/dist/css/bullframe-system-default.min.css.map +1 -1
  37. package/dist/css/bullframe-utilities.css +69 -109
  38. package/dist/css/bullframe-utilities.css.map +1 -0
  39. package/dist/css/bullframe-utilities.min.css +2 -1
  40. package/dist/css/bullframe-utilities.min.css.map +1 -1
  41. package/dist/css/bullframe.css +370 -350
  42. package/dist/css/bullframe.css.map +1 -0
  43. package/dist/css/bullframe.min.css +3 -1
  44. package/dist/css/bullframe.min.css.map +1 -1
  45. package/dist/docs/demo/css/style.css +131 -0
  46. package/{docs/test-page → dist/docs/demo}/index.html +166 -358
  47. package/dist/docs/github-readme/bf-logo-full-dark.png +0 -0
  48. package/package.json +25 -27
  49. package/prettier.config.js +26 -0
  50. package/src/docs/demo/css/style.css +131 -0
  51. package/src/docs/demo/icons/android-chrome-192x192.png +0 -0
  52. package/src/docs/demo/icons/android-chrome-384x384.png +0 -0
  53. package/src/docs/demo/icons/apple-touch-icon.png +0 -0
  54. package/src/docs/demo/icons/favicon-16x16.png +0 -0
  55. package/src/docs/demo/icons/favicon-32x32.png +0 -0
  56. package/src/docs/demo/icons/favicon.ico +0 -0
  57. package/src/docs/demo/icons/mstile-150x150.png +0 -0
  58. package/src/docs/demo/icons/safari-pinned-tab.svg +28 -0
  59. package/src/docs/demo/images/logo.png +0 -0
  60. package/src/docs/demo/images/placeholder-img-130x140.jpg +0 -0
  61. package/src/docs/demo/images/placeholder-img-16x16.jpg +0 -0
  62. package/src/docs/demo/images/placeholder-img-800x400.jpg +0 -0
  63. package/src/docs/demo/images/video-poster.png +0 -0
  64. package/src/docs/demo/index.html +1152 -0
  65. package/src/docs/github-readme/bf-logo-full-dark.png +0 -0
  66. package/src/docs/github-readme/bf-logo-full-light.png +0 -0
  67. package/src/scss/bullframe-classless-dark-prefers.scss +2 -5
  68. package/src/scss/bullframe-classless-dark.scss +2 -5
  69. package/src/scss/bullframe-classless-system-default.scss +2 -5
  70. package/src/scss/bullframe-classless.scss +49 -43
  71. package/src/scss/bullframe-dark-prefers.scss +2 -4
  72. package/src/scss/bullframe-dark.scss +2 -4
  73. package/src/scss/bullframe-system-default.scss +2 -4
  74. package/src/scss/bullframe-utilities.scss +21 -61
  75. package/src/scss/bullframe.scss +49 -121
  76. package/src/scss/custom/_author-styles.scss +5 -0
  77. package/src/scss/forms/_forms-normalization.scss +68 -58
  78. package/src/scss/forms/_forms-styling-radio-checkbox.scss +64 -66
  79. package/src/scss/forms/_forms-styling-range.scss +88 -74
  80. package/src/scss/forms/_forms-styling-select.scss +18 -16
  81. package/src/scss/forms/_forms-styling.scss +38 -26
  82. package/src/scss/miscellaneous/_misc-accessibility.scss +10 -16
  83. package/src/scss/miscellaneous/_misc-anchors.scss +15 -13
  84. package/src/scss/miscellaneous/_misc-embedded-content.scss +14 -21
  85. package/src/scss/miscellaneous/_misc-focus.scss +0 -21
  86. package/src/scss/miscellaneous/_misc-interactive.scss +48 -0
  87. package/src/scss/miscellaneous/_misc-lists.scss +9 -5
  88. package/src/scss/miscellaneous/_misc-scrolling.scss +5 -0
  89. package/src/scss/miscellaneous/_misc-shame.scss +6 -0
  90. package/src/scss/miscellaneous/_misc-tables.scss +11 -5
  91. package/src/scss/mixins/_mixin-dark-prefers.scss +414 -0
  92. package/src/scss/mixins/_mixin-dark.scss +396 -0
  93. package/src/scss/mixins/_mixin-grid-flex.scss +0 -3
  94. package/src/scss/mixins/_mixin-layout.scss +1 -1
  95. package/src/scss/mixins/_mixin-texts.scss +2 -3
  96. package/src/scss/typography/_typography-blockquotes.scss +10 -5
  97. package/src/scss/typography/_typography-headings.scss +9 -8
  98. package/src/scss/typography/_typography-html-body.scss +17 -14
  99. package/src/scss/typography/_typography-misc.scss +19 -22
  100. package/src/scss/typography/_typography-monospaced-elements.scss +21 -12
  101. package/src/scss/utilities/_utility-buttons.scss +20 -18
  102. package/src/scss/utilities/_utility-debugging.scss +2 -88
  103. package/src/scss/utilities/_utility-embeds.scss +1 -1
  104. package/src/scss/utilities/_utility-filters.scss +0 -3
  105. package/src/scss/utilities/_utility-form-states.scss +30 -21
  106. package/src/scss/utilities/_utility-global-dark-classless.scss +3 -157
  107. package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +3 -3
  108. package/src/scss/utilities/_utility-global-dark-prefers.scss +3 -3
  109. package/src/scss/utilities/_utility-global-dark-scrollbars.scss +11 -6
  110. package/src/scss/utilities/_utility-global-dark.scss +4 -213
  111. package/src/scss/utilities/_utility-global-system-default-classless.scss +3 -3
  112. package/src/scss/utilities/_utility-global-system-default.scss +3 -3
  113. package/src/scss/utilities/_utility-grid-system.scss +51 -115
  114. package/src/scss/utilities/_utility-layout.scss +7 -15
  115. package/src/scss/utilities/_utility-print.scss +5 -5
  116. package/src/scss/utilities/_utility-spacing.scss +42 -40
  117. package/src/scss/utilities/_utility-tables.scss +12 -18
  118. package/src/scss/utilities/_utility-texts.scss +48 -22
  119. package/src/scss/utilities/_utility-z-index.scss +1 -1
  120. package/src/scss/variables/_variables-breakpoints.scss +1 -0
  121. package/src/scss/variables/_variables-colors.scss +8 -5
  122. package/src/scss/variables/_variables-spacing.scss +3 -5
  123. package/src/scss/variables/_variables-texts.scss +5 -9
  124. package/vite.config.js +116 -0
  125. package/.nvmrc +0 -1
  126. package/.prettierrc +0 -19
  127. package/LICENSE +0 -21
  128. package/gulpfile.js +0 -67
  129. package/src/scss/miscellaneous/_misc-author-styles-in-css.scss +0 -76
  130. /package/{docs/test-page/assets → dist/docs/demo}/icons/android-chrome-192x192.png +0 -0
  131. /package/{docs/test-page/assets → dist/docs/demo}/icons/android-chrome-384x384.png +0 -0
  132. /package/{docs/test-page/assets → dist/docs/demo}/icons/apple-touch-icon.png +0 -0
  133. /package/{docs/test-page/assets → dist/docs/demo}/icons/favicon-16x16.png +0 -0
  134. /package/{docs/test-page/assets → dist/docs/demo}/icons/favicon-32x32.png +0 -0
  135. /package/{docs/test-page/assets → dist/docs/demo}/icons/favicon.ico +0 -0
  136. /package/{docs/test-page/assets → dist/docs/demo}/icons/mstile-150x150.png +0 -0
  137. /package/{docs/test-page/assets → dist/docs/demo}/icons/safari-pinned-tab.svg +0 -0
  138. /package/{docs/test-page/assets → dist/docs/demo}/images/logo.png +0 -0
  139. /package/{docs/test-page/assets → dist/docs/demo}/images/placeholder-img-130x140.jpg +0 -0
  140. /package/{docs/test-page/assets → dist/docs/demo}/images/placeholder-img-16x16.jpg +0 -0
  141. /package/{docs/test-page/assets → dist/docs/demo}/images/placeholder-img-800x400.jpg +0 -0
  142. /package/{docs/test-page/assets → dist/docs/demo}/images/video-poster.png +0 -0
  143. /package/{docs/assets/images/branding/logo-full.png → dist/docs/github-readme/bf-logo-full-light.png} +0 -0
@@ -1,213 +1,4 @@
1
- // these are global stylest tha that ovveride all the "light" styles
2
-
3
- // import dark scrollbars utility module
4
- @import 'utility-global-dark-scrollbars';
5
-
6
- // the basics: background and texts
7
- html {
8
- color: $bf-light;
9
- }
10
-
11
- body {
12
- background-color: lighten($bf-dark-extra, 7.5%);
13
- }
14
-
15
- // anchors
16
- a {
17
- color: lighten($bf-blue, 20%);
18
-
19
- &:hover,
20
- &:focus {
21
- color: lighten($bf-blue-light, 20%);
22
- }
23
- }
24
-
25
- // typography elements that need tiny adjustments
26
- mark {
27
- background-color: darken($bf-yellow, 10%);
28
- }
29
-
30
- ins {
31
- background-color: darken($bf-yellow-light, 45%);
32
- }
33
-
34
- // forms
35
-
36
- [type='email'],
37
- [type='number'],
38
- [type='password'],
39
- [type='tel'],
40
- [type='search'],
41
- [type='text'],
42
- [type='date'],
43
- [type='datetime-local'],
44
- [type='month'],
45
- [type='week'],
46
- [type='time'],
47
- [type='url'],
48
- [type='range'],
49
- input[list],
50
- select,
51
- select:not([size]):not([multiple]),
52
- textarea {
53
- background-color: $bf-dark-extra;
54
- border-color: $bf-black;
55
- color: $bf-gray-light;
56
-
57
- &:active,
58
- &:focus {
59
- background-color: $bf-dark-extra;
60
- border-color: lighten($bf-blue, 10%);
61
- }
62
- }
63
-
64
- [type='email'],
65
- [type='number'],
66
- [type='password'],
67
- [type='tel'],
68
- [type='search'],
69
- [type='text'],
70
- [type='date'],
71
- [type='datetime-local'],
72
- [type='month'],
73
- [type='week'],
74
- [type='time'],
75
- [type='url'],
76
- input[list],
77
- select,
78
- select:not([size]):not([multiple]),
79
- textarea {
80
- &:active,
81
- &:focus {
82
- box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.5);
83
- }
84
- }
85
-
86
- .bf-focused {
87
- border-color: lighten($bf-blue, 10%);
88
- box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.5) !important;
89
- }
90
-
91
- .bf-invalid,
92
- .bf-invalid:focus {
93
- color: lighten($bf-red, 7.5%) !important;
94
- border-color: lighten($bf-red, 7.5%) !important;
95
- }
96
-
97
- select:not([size]):not([multiple]) {
98
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23f0f0f0' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
99
- }
100
-
101
- // IE9 only hack
102
- // https://gist.github.com/marcop135/cf5163ab23d1cb208248b955c990b2ea#ie-9-only
103
- @media screen and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
104
- // hide custom arrow
105
- select:not([size]):not([multiple]),
106
- // RTL
107
- *[dir="rtl"] select:not([size]):not([multiple]),
108
- select[dir="rtl"]:not([size]):not([multiple]) {
109
- background-image: none;
110
- }
111
- }
112
-
113
- // range
114
-
115
- // all modern browsers but not IE
116
- @supports (appearance: none) {
117
- // override above declaration
118
- [type='range'] {
119
- background-color: transparent;
120
-
121
- &:focus {
122
- background-color: transparent;
123
- }
124
- }
125
-
126
- // darker background
127
- // the rulesets must be separated
128
- [type='range']::-webkit-slider-runnable-track {
129
- background-color: $bf-dark-extra;
130
- }
131
-
132
- [type='range']::-moz-range-track {
133
- background-color: $bf-dark-extra;
134
- }
135
- }
136
-
137
- input::placeholder,
138
- textarea::placeholder {
139
- color: $bf-gray;
140
- }
141
-
142
- button,
143
- [type='button'],
144
- [type='reset'],
145
- [type='submit'],
146
- .bf-btn,
147
- button.bf-disabled,
148
- [type='button'].bf-disabled,
149
- [type='reset'].bf-disabled,
150
- [type='submit'].bf-disabled,
151
- .bf-btn.bf-disabled {
152
- background: $bf-gray-light;
153
-
154
- &:hover,
155
- &:active,
156
- &:focus {
157
- background: darken($bf-gray-light, 10%);
158
- }
159
-
160
- &:active,
161
- &:focus {
162
- box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
163
- }
164
- }
165
-
166
- button,
167
- [type='button'],
168
- [type='reset'],
169
- [type='submit'],
170
- .bf-btn {
171
- &:active,
172
- &:focus {
173
- box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
174
- }
175
- }
176
-
177
- .bf-btn--primary.bf-disabled,
178
- .bf-btn.bf-btn--primary {
179
- background: $bf-blue;
180
-
181
- &:hover,
182
- &:active,
183
- &:focus {
184
- background: darken($bf-blue, 5%);
185
- }
186
-
187
- &:active,
188
- &:focus {
189
- box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.75);
190
- }
191
- }
192
-
193
- // focus
194
- a:focus,
195
- input:focus {
196
- outline-color: darken(orange, 15%);
197
- }
198
-
199
- :focus-visible {
200
- outline-color: darken(orange, 15%);
201
- }
202
-
203
- // tables
204
-
205
- .bf-table th,
206
- .bf-table td {
207
- border-color: $bf-gray-dark;
208
- }
209
-
210
- .bf-table--zebra tbody tr:nth-child(odd),
211
- .bf-table-responsive--zebra tbody tr:nth-child(odd) {
212
- background-color: $bf-gray-dark-extra;
213
- }
1
+ @use '../variables/variables-colors' as bf-v-color;
2
+ @use '../mixins/mixin-dark' as bf-mix-dark;
3
+ @use 'utility-global-dark-scrollbars' as bfUtilGlobalDarkScrollbars;
4
+ @include bf-mix-dark.bf-global-dark;
@@ -1,3 +1,3 @@
1
- @media (prefers-color-scheme: dark) {
2
- @import 'utilities/utility-global-dark-classless';
3
- }
1
+ @use "../variables/variables-colors" as bf-v-color;
2
+ @use "../mixins/mixin-dark-prefers" as bf-mix-dark-prefers;
3
+ @include bf-mix-dark-prefers.bf-global-dark-classless-prefers;
@@ -1,3 +1,3 @@
1
- @media (prefers-color-scheme: dark) {
2
- @import 'utilities/utility-global-dark';
3
- }
1
+ @use "../variables/variables-colors" as bf-v-color;
2
+ @use "../mixins/mixin-dark-prefers" as bf-mix-dark-prefers;
3
+ @include bf-mix-dark-prefers.bf-global-dark-prefers;
@@ -1,154 +1,104 @@
1
+ @use '../variables/variables-spacing' as bf-v-space;
2
+ @use '../variables/variables-breakpoints' as bf-v-bp;
3
+
1
4
  .bf-container,
2
5
  .bf-container--fluid {
3
- // avoid IE8 issue with 'box-sizing: border-box' in combination
4
- // with max/min-width and max/min-height
5
- // https://github.com/twbs/bootstrap/issues/10014
6
- //
7
- box-sizing: content-box;
8
-
9
- // you could add these classes to an inline/inline-block element
10
- // but it's not recommended
6
+ box-sizing: border-box;
11
7
  display: block;
12
-
13
- // centering
14
8
  margin-right: auto;
15
9
  margin-left: auto;
16
-
17
- // spacing
18
- //
19
- // match the default Bootstrap Grid gutter width
20
- // https://getbootstrap.com/docs/3.4/css/#grid-options
21
- padding-left: $bf-spacing-grid-gutter-px;
22
- padding-left: $bf-spacing-grid-gutter-rem;
23
- padding-right: $bf-spacing-grid-gutter-px;
24
- padding-right: $bf-spacing-grid-gutter-rem;
25
-
26
- // clearfix
27
- &:before,
28
- &:after {
29
- display: table;
30
- content: ' ';
31
- }
32
-
33
- &:after {
34
- clear: both;
35
- }
10
+ padding-left: bf-v-space.$bf-spacing-grid-gutter-rem;
11
+ padding-right: bf-v-space.$bf-spacing-grid-gutter-rem;
36
12
  }
37
13
 
38
14
  .bf-container {
39
- max-width: 1140px; // 1140 + 15 + 15 = 1170
40
15
  max-width: 114rem;
41
16
  }
42
17
 
43
18
  .bf-row {
44
- display: block;
45
-
46
- margin-left: -$bf-spacing-grid-gutter-px;
47
- margin-left: -$bf-spacing-grid-gutter-rem;
48
- margin-right: -$bf-spacing-grid-gutter-px;
49
- margin-right: -$bf-spacing-grid-gutter-rem;
50
-
51
- // clearfix
52
- &:before,
53
- &:after {
54
- content: ' ';
55
- display: table;
56
- }
57
-
58
- &:after {
59
- clear: both;
60
- }
19
+ display: flex;
20
+ flex-wrap: wrap;
21
+ margin-left: calc(-1 * bf-v-space.$bf-spacing-grid-gutter-rem);
22
+ margin-right: calc(-1 * bf-v-space.$bf-spacing-grid-gutter-rem);
61
23
  }
62
24
 
63
25
  [class^='bf-col-'] {
64
- // the block display is triggered by 'float: left'
65
- // display: block;
66
-
67
- float: left;
68
26
  position: relative;
69
27
  min-height: 1px;
70
-
71
- padding-left: $bf-spacing-grid-gutter-px;
72
- padding-left: $bf-spacing-grid-gutter-rem;
73
- padding-right: $bf-spacing-grid-gutter-px;
74
- padding-right: $bf-spacing-grid-gutter-rem;
28
+ padding-left: bf-v-space.$bf-spacing-grid-gutter-rem;
29
+ padding-right: bf-v-space.$bf-spacing-grid-gutter-rem;
30
+ flex-grow: 0;
31
+ flex-shrink: 0;
75
32
  }
76
33
 
77
34
  .bf-no-gutters {
78
35
  margin-right: 0;
79
36
  margin-left: 0;
37
+ > [class^='bf-col'] {
38
+ padding-right: 0;
39
+ padding-left: 0;
40
+ }
80
41
  }
81
42
 
82
- .bf-no-gutters > [class^='bf-col'] {
83
- padding-right: 0;
84
- padding-left: 0;
85
- }
86
-
43
+ // Column widths
87
44
  .bf-col-12 {
88
- width: 100%;
45
+ flex-basis: 100%;
46
+ max-width: 100%;
89
47
  }
90
-
91
48
  .bf-col-11 {
92
- width: 91.66666666666666%;
49
+ flex-basis: 91.6667%;
50
+ max-width: 91.6667%;
93
51
  }
94
-
95
52
  .bf-col-10 {
96
- width: 83.33333333333334%;
53
+ flex-basis: 83.3333%;
54
+ max-width: 83.3333%;
97
55
  }
98
-
99
56
  .bf-col-9 {
100
- width: 75%;
57
+ flex-basis: 75%;
58
+ max-width: 75%;
101
59
  }
102
-
103
60
  .bf-col-8 {
104
- width: 66.66666666666666%;
61
+ flex-basis: 66.6667%;
62
+ max-width: 66.6667%;
105
63
  }
106
-
107
64
  .bf-col-7 {
108
- width: 58.333333333333336%;
65
+ flex-basis: 58.3333%;
66
+ max-width: 58.3333%;
109
67
  }
110
-
111
68
  .bf-col-6 {
112
- width: 50%;
69
+ flex-basis: 50%;
70
+ max-width: 50%;
113
71
  }
114
-
115
72
  .bf-col-5 {
116
- width: 41.66666666666667%;
73
+ flex-basis: 41.6667%;
74
+ max-width: 41.6667%;
117
75
  }
118
-
119
76
  .bf-col-4 {
120
- width: 33.33333333333333%;
77
+ flex-basis: 33.3333%;
78
+ max-width: 33.3333%;
121
79
  }
122
-
123
80
  .bf-col-3 {
124
- width: 25%;
81
+ flex-basis: 25%;
82
+ max-width: 25%;
125
83
  }
126
-
127
84
  .bf-col-2 {
128
- width: 16.666666666666664%;
85
+ flex-basis: 16.6667%;
86
+ max-width: 16.6667%;
129
87
  }
130
-
131
88
  .bf-col-1 {
132
- width: 8.3333%;
89
+ flex-basis: 8.3333%;
90
+ max-width: 8.3333%;
133
91
  }
134
92
 
135
- // ! this is IE9+
136
- // if you need CSS3 Media Queries support in IE8
137
- // you could use the respond.js polyfll https://github.com/scottjehl/Respond
138
- //
139
- // ! but there are some important caveats
140
- // https://github.com/scottjehl/Respond#support--caveats
141
-
142
- // 'break' the grid and make the columns full-width
93
+ // Responsive breakpoints: stack columns
143
94
  @media (max-width: 575px) {
144
95
  .bf-container--break-xs .bf-row {
145
96
  margin-left: 0;
146
97
  margin-right: 0;
147
98
  }
148
-
149
99
  .bf-container--break-xs [class^='bf-col'] {
150
- width: 100%;
151
- float: none;
100
+ flex-basis: 100%;
101
+ max-width: 100%;
152
102
  margin-left: 0;
153
103
  padding-left: 0;
154
104
  padding-right: 0;
@@ -160,10 +110,9 @@
160
110
  margin-left: 0;
161
111
  margin-right: 0;
162
112
  }
163
-
164
113
  .bf-container--break-md [class^='bf-col'] {
165
- width: 100%;
166
- float: none;
114
+ flex-basis: 100%;
115
+ max-width: 100%;
167
116
  margin-left: 0;
168
117
  padding-left: 0;
169
118
  padding-right: 0;
@@ -175,30 +124,17 @@
175
124
  margin-left: 0;
176
125
  margin-right: 0;
177
126
  }
178
-
179
127
  .bf-container--break-lg [class^='bf-col'] {
180
- width: 100%;
181
- float: none;
128
+ flex-basis: 100%;
129
+ max-width: 100%;
182
130
  margin-left: 0;
183
131
  padding-left: 0;
184
132
  padding-right: 0;
185
133
  }
186
134
  }
187
135
 
188
- // fix missing table cell borders when using 'bf-col-' classes for column sizing
189
- // https://github.com/twbs/bootstrap/issues/11623
136
+ // Table fix (not needed for flexbox, but kept for compatibility with Bullframe v4.x)
190
137
  table td[class^='bf-col'],
191
138
  table th[class^='bf-col'] {
192
139
  position: static;
193
140
  }
194
-
195
- // Need more?
196
- //
197
- // IE8+
198
- // Pure CSS grids (ex YUI library) https://purecss.io/grids/
199
- //
200
- // IE8+ (with JS polyfill)
201
- // Bootstrap v3 grid system https://getbootstrap.com/docs/3.4/css/#grid
202
- //
203
- // moder browsers only (partial IE11 support)
204
- // Bulma Flexbox grid system https://bulma.io/documentation/columns/
@@ -1,12 +1,12 @@
1
1
  // micro-clearfix
2
2
  // http://nicolasgallagher.com/micro-clearfix-hack/
3
- .bf-clearfix:before,
4
- .bf-clearfix:after {
5
- content: ' ';
3
+ .bf-clearfix::before,
4
+ .bf-clearfix::after {
5
+ content: " ";
6
6
  display: table;
7
7
  }
8
8
 
9
- .bf-clearfix:after {
9
+ .bf-clearfix::after {
10
10
  clear: both;
11
11
  }
12
12
 
@@ -33,7 +33,7 @@
33
33
 
34
34
  /*
35
35
  // taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css
36
- //
36
+ //
37
37
  * Hide only visually, but have it available for screen readers:
38
38
  * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
39
39
  *
@@ -55,7 +55,7 @@
55
55
 
56
56
  /*
57
57
  // taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css
58
- //
58
+ //
59
59
  * Extends the .sr-only class to allow the element
60
60
  * to be focusable when navigated to via the keyboard:
61
61
  * https://www.drupal.org/node/897638
@@ -98,9 +98,6 @@
98
98
  display: inline-block !important;
99
99
  }
100
100
 
101
- // IE10+
102
- // https://caniuse.com/#feat=flexbox
103
-
104
101
  .bf-display-flex {
105
102
  display: flex !important;
106
103
  }
@@ -136,9 +133,6 @@
136
133
  .bf-float-right {
137
134
  float: right !important;
138
135
  }
139
-
140
- // ≠ IE
141
- // https://caniuse.com/css-sticky
142
136
  .bf-position-fixed {
143
137
  position: fixed !important;
144
138
  }
@@ -149,8 +143,6 @@
149
143
  }
150
144
 
151
145
  // https://css-tricks.com/centering-css-complete-guide
152
- // Is the element of unknown width and height?
153
- // ! 'transform' is IE10 + https://caniuse.com/#feat=transforms2d
154
146
  .bf-align-center-unknown {
155
147
  position: relative !important;
156
148
  }
@@ -175,7 +167,7 @@
175
167
  }
176
168
 
177
169
  .bf-width-33 {
178
- width: 33.33333333333333% !important;
170
+ width: 33.3333% !important;
179
171
  }
180
172
 
181
173
  .bf-width-50 {
@@ -22,20 +22,20 @@
22
22
  }
23
23
 
24
24
  a[href]::after {
25
- content: ' (' attr(href) ')';
25
+ content: " (" attr(href) ")";
26
26
  }
27
27
 
28
28
  abbr[title]::after {
29
- content: ' (' attr(title) ')';
29
+ content: " (" attr(title) ")";
30
30
  }
31
31
 
32
32
  /*
33
33
  * Don't show links that are fragment identifiers,
34
34
  * or use the `javascript:` pseudo protocol
35
35
  */
36
- a[href^='#']::after,
37
- a[href^='javascript:']::after {
38
- content: '';
36
+ a[href^="#"]::after,
37
+ a[href^="javascript:"]::after {
38
+ content: "";
39
39
  }
40
40
 
41
41
  pre {