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
@@ -1,204 +1,204 @@
1
- .bf-container,
2
- .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
11
- display: block;
12
-
13
- // centering
14
- margin-right: auto;
15
- 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
- }
36
- }
37
-
38
- .bf-container {
39
- max-width: 1140px; // 1140 + 15 + 15 = 1170
40
- max-width: 114rem;
41
- }
42
-
43
- .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
- }
61
- }
62
-
63
- [class^='bf-col-'] {
64
- // the block display is triggered by 'float: left'
65
- // display: block;
66
-
67
- float: left;
68
- position: relative;
69
- 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;
75
- }
76
-
77
- .bf-no-gutters {
78
- margin-right: 0;
79
- margin-left: 0;
80
- }
81
-
82
- .bf-no-gutters > [class^='bf-col'] {
83
- padding-right: 0;
84
- padding-left: 0;
85
- }
86
-
87
- .bf-col-12 {
88
- width: 100%;
89
- }
90
-
91
- .bf-col-11 {
92
- width: 91.66666666666666%;
93
- }
94
-
95
- .bf-col-10 {
96
- width: 83.33333333333334%;
97
- }
98
-
99
- .bf-col-9 {
100
- width: 75%;
101
- }
102
-
103
- .bf-col-8 {
104
- width: 66.66666666666666%;
105
- }
106
-
107
- .bf-col-7 {
108
- width: 58.333333333333336%;
109
- }
110
-
111
- .bf-col-6 {
112
- width: 50%;
113
- }
114
-
115
- .bf-col-5 {
116
- width: 41.66666666666667%;
117
- }
118
-
119
- .bf-col-4 {
120
- width: 33.33333333333333%;
121
- }
122
-
123
- .bf-col-3 {
124
- width: 25%;
125
- }
126
-
127
- .bf-col-2 {
128
- width: 16.666666666666664%;
129
- }
130
-
131
- .bf-col-1 {
132
- width: 8.3333%;
133
- }
134
-
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
143
- @media (max-width: 575px) {
144
- .bf-container--break-xs .bf-row {
145
- margin-left: 0;
146
- margin-right: 0;
147
- }
148
-
149
- .bf-container--break-xs [class^='bf-col'] {
150
- width: 100%;
151
- float: none;
152
- margin-left: 0;
153
- padding-left: 0;
154
- padding-right: 0;
155
- }
156
- }
157
-
158
- @media (max-width: 767px) {
159
- .bf-container--break-md .bf-row {
160
- margin-left: 0;
161
- margin-right: 0;
162
- }
163
-
164
- .bf-container--break-md [class^='bf-col'] {
165
- width: 100%;
166
- float: none;
167
- margin-left: 0;
168
- padding-left: 0;
169
- padding-right: 0;
170
- }
171
- }
172
-
173
- @media (max-width: 991px) {
174
- .bf-container--break-lg .bf-row {
175
- margin-left: 0;
176
- margin-right: 0;
177
- }
178
-
179
- .bf-container--break-lg [class^='bf-col'] {
180
- width: 100%;
181
- float: none;
182
- margin-left: 0;
183
- padding-left: 0;
184
- padding-right: 0;
185
- }
186
- }
187
-
188
- // fix missing table cell borders when using 'bf-col-' classes for column sizing
189
- // https://github.com/twbs/bootstrap/issues/11623
190
- table td[class^='bf-col'],
191
- table th[class^='bf-col'] {
192
- position: static;
193
- }
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
+ .bf-container,
2
+ .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
11
+ display: block;
12
+
13
+ // centering
14
+ margin-right: auto;
15
+ 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
+ }
36
+ }
37
+
38
+ .bf-container {
39
+ max-width: 1140px; // 1140 + 15 + 15 = 1170
40
+ max-width: 114rem;
41
+ }
42
+
43
+ .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
+ }
61
+ }
62
+
63
+ [class^='bf-col-'] {
64
+ // the block display is triggered by 'float: left'
65
+ // display: block;
66
+
67
+ float: left;
68
+ position: relative;
69
+ 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;
75
+ }
76
+
77
+ .bf-no-gutters {
78
+ margin-right: 0;
79
+ margin-left: 0;
80
+ }
81
+
82
+ .bf-no-gutters > [class^='bf-col'] {
83
+ padding-right: 0;
84
+ padding-left: 0;
85
+ }
86
+
87
+ .bf-col-12 {
88
+ width: 100%;
89
+ }
90
+
91
+ .bf-col-11 {
92
+ width: 91.66666666666666%;
93
+ }
94
+
95
+ .bf-col-10 {
96
+ width: 83.33333333333334%;
97
+ }
98
+
99
+ .bf-col-9 {
100
+ width: 75%;
101
+ }
102
+
103
+ .bf-col-8 {
104
+ width: 66.66666666666666%;
105
+ }
106
+
107
+ .bf-col-7 {
108
+ width: 58.333333333333336%;
109
+ }
110
+
111
+ .bf-col-6 {
112
+ width: 50%;
113
+ }
114
+
115
+ .bf-col-5 {
116
+ width: 41.66666666666667%;
117
+ }
118
+
119
+ .bf-col-4 {
120
+ width: 33.33333333333333%;
121
+ }
122
+
123
+ .bf-col-3 {
124
+ width: 25%;
125
+ }
126
+
127
+ .bf-col-2 {
128
+ width: 16.666666666666664%;
129
+ }
130
+
131
+ .bf-col-1 {
132
+ width: 8.3333%;
133
+ }
134
+
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
143
+ @media (max-width: 575px) {
144
+ .bf-container--break-xs .bf-row {
145
+ margin-left: 0;
146
+ margin-right: 0;
147
+ }
148
+
149
+ .bf-container--break-xs [class^='bf-col'] {
150
+ width: 100%;
151
+ float: none;
152
+ margin-left: 0;
153
+ padding-left: 0;
154
+ padding-right: 0;
155
+ }
156
+ }
157
+
158
+ @media (max-width: 767px) {
159
+ .bf-container--break-md .bf-row {
160
+ margin-left: 0;
161
+ margin-right: 0;
162
+ }
163
+
164
+ .bf-container--break-md [class^='bf-col'] {
165
+ width: 100%;
166
+ float: none;
167
+ margin-left: 0;
168
+ padding-left: 0;
169
+ padding-right: 0;
170
+ }
171
+ }
172
+
173
+ @media (max-width: 991px) {
174
+ .bf-container--break-lg .bf-row {
175
+ margin-left: 0;
176
+ margin-right: 0;
177
+ }
178
+
179
+ .bf-container--break-lg [class^='bf-col'] {
180
+ width: 100%;
181
+ float: none;
182
+ margin-left: 0;
183
+ padding-left: 0;
184
+ padding-right: 0;
185
+ }
186
+ }
187
+
188
+ // fix missing table cell borders when using 'bf-col-' classes for column sizing
189
+ // https://github.com/twbs/bootstrap/issues/11623
190
+ table td[class^='bf-col'],
191
+ table th[class^='bf-col'] {
192
+ position: static;
193
+ }
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/