bullframe.css 3.8.0 → 4.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 (103) hide show
  1. package/.browserslistrc +5 -5
  2. package/.stylelintrc.json +10 -0
  3. package/CHANGELOG.md +28 -7
  4. package/LICENSE +20 -20
  5. package/README.md +25 -171
  6. package/dist/css/bullframe-classless-dark-prefers.css +357 -434
  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 -421
  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 -302
  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 -642
  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 -602
  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 -464
  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 -7
  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 +18 -18
  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 -36
  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 -1330
  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 -1310
  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 -1093
  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 -2578
  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 -2550
  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 -2259
  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,63 +1,63 @@
1
- // custom <select> arrow and appearance with a base64 embedded SVG icon
2
- // https://css-tricks.com/probably-dont-base64-svg/#article-header-id-2
3
- //
4
- // this is inspired from https://github.com/kognise/water.css
5
- // and from Bootstrap custom select
6
- // https://getbootstrap.com/docs/4.4/components/input-group/#custom-select
7
-
8
- // ! :not and calc() are IE9+
9
- // https://caniuse.com/#feat=mdn-css_selectors_not
10
- // https://caniuse.com/#feat=calc
11
- //
12
- // ! 12px = the icon width/height, and must be in pixels because
13
- // calc() is just for values
14
- // https://css-tricks.com/a-complete-guide-to-calc-in-css/#0-calc-is-for-values
15
- //
16
- // a select with a [multiple] attribute doesn't show an arrow by default
17
- // a select with a [size] attribute gets and arrow on iOS (Webkit) for instance
18
- // but on Chrome and FF desktop
19
- // so, is not safe to style every kind of <select>
20
- //
21
- // remove the arrow and the appearance, especially on Webkit
22
- select:not([size]):not([multiple]) {
23
- appearance: none;
24
- }
25
-
26
- // IE10+
27
- // The '::-ms-expand' CSS pseudo-element is a Microsoft extension that represents
28
- // the button of a <select> menu control that opens or closes the drop-down
29
- // menu. Typically it is a triangle that points downward.
30
- // https://developer.mozilla.org/en-US/docs/Web/CSS/::-ms-expand
31
- select::-ms-expand {
32
- display: none;
33
- }
34
-
35
- select:not([size]):not([multiple]) {
36
- background: $bf-white
37
- 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='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
38
- no-repeat right .85rem center/8px 10px;
39
-
40
- padding-right: $bf-spacing-lg-px + $bf-spacing-lg-px;
41
- padding-right: $bf-spacing-lg-rem + $bf-spacing-lg-rem;
42
- }
43
-
44
- // add support for RTL languages
45
- // 'appearance: none' removes the default styling but introduces a bug
46
- // that occurs when a right to the left language (e.g. Arabic) is set
47
- //
48
- // Read more
49
- // 1. http://bootstrap.rtlcss.com
50
- // 2. https://rtlstyling.com/
51
- *[dir='rtl'] select:not([size]):not([multiple]),
52
- select[dir='rtl']:not([size]):not([multiple]) {
53
- // move the arrow icon to the left
54
- background-position: left .85rem top 50%;
55
-
56
- // go back to default forms padding
57
- padding-right: ($bf-spacing-lg-px * .75);
58
- padding-right: ($bf-spacing-lg-rem * .75);
59
-
60
- // add custom left padding, matching the custom LTR one
61
- padding-left: $bf-spacing-lg-px + $bf-spacing-lg-px;
62
- padding-left: $bf-spacing-lg-rem + $bf-spacing-lg-rem;
63
- }
1
+ // custom <select> arrow and appearance with a base64 embedded SVG icon
2
+ // https://css-tricks.com/probably-dont-base64-svg/#article-header-id-2
3
+ //
4
+ // this is inspired from https://github.com/kognise/water.css
5
+ // and from Bootstrap custom select
6
+ // https://getbootstrap.com/docs/4.4/components/input-group/#custom-select
7
+
8
+ // ! :not and calc() are IE9+
9
+ // https://caniuse.com/#feat=mdn-css_selectors_not
10
+ // https://caniuse.com/#feat=calc
11
+ //
12
+ // ! 12px = the icon width/height, and must be in pixels because
13
+ // calc() is just for values
14
+ // https://css-tricks.com/a-complete-guide-to-calc-in-css/#0-calc-is-for-values
15
+ //
16
+ // a select with a [multiple] attribute doesn't show an arrow by default
17
+ // a select with a [size] attribute gets and arrow on iOS (Webkit) for instance
18
+ // but on Chrome and FF desktop
19
+ // so, is not safe to style every kind of <select>
20
+ //
21
+ // remove the arrow and the appearance, especially on Webkit
22
+ select:not([size]):not([multiple]) {
23
+ appearance: none;
24
+
25
+ // add a new svg arrow
26
+ background: $bf-white
27
+ 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='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
28
+ no-repeat right 0.85rem center/8px 10px;
29
+
30
+ // space the arrow
31
+ padding-right: $bf-spacing-lg-px + $bf-spacing-lg-px;
32
+ padding-right: $bf-spacing-lg-rem + $bf-spacing-lg-rem;
33
+ }
34
+
35
+ // IE10+
36
+ // The '::-ms-expand' CSS pseudo-element is a Microsoft extension that represents
37
+ // the button of a <select> menu control that opens or closes the drop-down
38
+ // menu. Typically it is a triangle that points downward.
39
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/::-ms-expand
40
+ select::-ms-expand {
41
+ display: none;
42
+ }
43
+
44
+ // add support for RTL languages
45
+ // 'appearance: none' removes the default styling but introduces a bug
46
+ // that occurs when a right to the left language (e.g. Arabic) is set
47
+ //
48
+ // Read more
49
+ // 1. http://bootstrap.rtlcss.com
50
+ // 2. https://rtlstyling.com/
51
+ *[dir='rtl'] select:not([size]):not([multiple]),
52
+ select[dir='rtl']:not([size]):not([multiple]) {
53
+ // move the arrow icon to the left
54
+ background-position: left 0.85rem top 50%;
55
+
56
+ // go back to default forms padding
57
+ padding-right: ($bf-spacing-lg-px * 0.75);
58
+ padding-right: ($bf-spacing-lg-rem * 0.75);
59
+
60
+ // add custom left padding, matching the custom LTR one
61
+ padding-left: $bf-spacing-lg-px + $bf-spacing-lg-px;
62
+ padding-left: $bf-spacing-lg-rem + $bf-spacing-lg-rem;
63
+ }
@@ -1,121 +1,119 @@
1
- [type='email'],
2
- [type='number'],
3
- [type='password'],
4
- [type='tel'],
5
- [type='search'],
6
- [type='text'],
7
- [type='date'],
8
- [type='datetime-local'],
9
- [type='month'],
10
- [type='time'],
11
- [type='week'],
12
- [type='time'],
13
- [type='url'],
14
- input[list],
15
- select,
16
- textarea {
17
- background-color: $bf-white;
18
- border: 1px solid $bf-gray;
19
- padding: $bf-spacing-md-px ($bf-spacing-lg-px * .75);
20
- padding: $bf-spacing-md-rem ($bf-spacing-lg-rem * .75);
21
- }
22
-
23
- // Old browsers and Opera Mini don't fully support all type of inputs
24
- // e.g. [type="range"]
25
- // so, let's try to add styles carefully and selective
26
- [type='email'],
27
- [type='number'],
28
- [type='password'],
29
- [type='tel'],
30
- [type='search'],
31
- [type='text'],
32
- [type='date'],
33
- [type='datetime-local'],
34
- [type='month'],
35
- [type='time'],
36
- [type='week'],
37
- [type='time'],
38
- [type='url'],
39
- input[list],
40
- select,
41
- textarea,
42
- [type='radio'],
43
- [type='checkbox'] {
44
- &:active,
45
- &:focus {
46
- transition: border .2s, background-color .2s, box-shadow .2s;
47
- border-color: $bf-blue;
48
- box-shadow: 0 0 0 3px rgba(0, 86, 179, .25);
49
- }
50
- }
51
-
52
- button,
53
- [type='button'],
54
- [type='reset'],
55
- [type='submit'] {
56
- color: $bf-dark;
57
- padding: ($bf-spacing-xl-px / 3) (($bf-spacing-xl-px / 3) * 2); // 8px 16px
58
- padding: ($bf-spacing-xl-rem / 3) (($bf-spacing-xl-rem / 3) * 2);
59
- background: $bf-gray-light;
60
- transition: color .2s, background .2s, box-shadow .2s;
61
-
62
- &:hover,
63
- &:active,
64
- &:focus {
65
- text-decoration: none;
66
- color: $bf-dark;
67
- background: darken($bf-gray-light, 10%);
68
- }
69
-
70
- &:active,
71
- &:focus {
72
- box-shadow: 0 0 0 3px rgba(0, 0, 0, .15);
73
- }
74
- }
75
-
76
- // disabled groups
77
- fieldset[disabled] button,
78
- fieldset[disabled] input,
79
- fieldset[disabled] input:after,
80
- fieldset[disabled] input:before,
81
- fieldset[disabled] input:checked,
82
- fieldset[disabled] select,
83
- fieldset[disabled] textarea,
84
- fieldset[disabled] label,
85
-
86
- // disabled singles
87
- button[disabled],
88
- input[disabled],
89
- input[disabled]:after,
90
- input[disabled]:before,
91
- input[disabled]:checked,
92
- select[disabled],
93
- textarea[disabled],
94
- label[disabled],
95
-
96
- // pseudo class
97
- button:disabled,
98
- input:disabled,
99
- input:disabled:after,
100
- input:disabled:before,
101
- input:disabled:checked,
102
- select:disabled,
103
- textarea:disabled,
104
- label:disabled,
105
-
106
- // aria
107
- button[aria-disabled="true"],
108
- input[aria-disabled="true"],
109
- input[aria-disabled="true"]:after,
110
- input[aria-disabled="true"]:before,
111
- input[aria-disabled="true"]:checked,
112
- select[aria-disabled="true"],
113
- textarea[aria-disabled="true"],
114
- label[aria-disabled="true"] {
115
- cursor: default !important; // fallback
116
- cursor: not-allowed !important;
117
- pointer-events: none !important;
118
- user-select: none !important;
119
- box-shadow: none !important;
120
- opacity: .5 !important;
121
- }
1
+ [type='email'],
2
+ [type='number'],
3
+ [type='password'],
4
+ [type='tel'],
5
+ [type='search'],
6
+ [type='text'],
7
+ [type='date'],
8
+ [type='datetime-local'],
9
+ [type='month'],
10
+ [type='week'],
11
+ [type='time'],
12
+ [type='url'],
13
+ input[list],
14
+ select,
15
+ textarea {
16
+ background-color: $bf-white;
17
+ border: 1px solid $bf-gray;
18
+ padding: $bf-spacing-md-px ($bf-spacing-lg-px * 0.75);
19
+ padding: $bf-spacing-md-rem ($bf-spacing-lg-rem * 0.75);
20
+ }
21
+
22
+ // Old browsers and Opera Mini don't fully support all type of inputs
23
+ // e.g. [type="range"]
24
+ // so, let's try to add styles carefully and selective
25
+ [type='email'],
26
+ [type='number'],
27
+ [type='password'],
28
+ [type='tel'],
29
+ [type='search'],
30
+ [type='text'],
31
+ [type='date'],
32
+ [type='datetime-local'],
33
+ [type='month'],
34
+ [type='week'],
35
+ [type='time'],
36
+ [type='url'],
37
+ input[list],
38
+ select,
39
+ textarea,
40
+ [type='radio'],
41
+ [type='checkbox'] {
42
+ &:active,
43
+ &:focus {
44
+ transition: border 0.2s, background-color 0.2s, box-shadow 0.2s;
45
+ border-color: $bf-blue;
46
+ box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25);
47
+ }
48
+ }
49
+
50
+ button,
51
+ [type='button'],
52
+ [type='reset'],
53
+ [type='submit'] {
54
+ color: $bf-dark;
55
+ padding: calc($bf-spacing-xl-px / 3) (calc($bf-spacing-xl-px / 3) * 2); // 8px 16px
56
+ padding: calc($bf-spacing-xl-rem / 3) (calc($bf-spacing-xl-rem / 3) * 2);
57
+ background: $bf-gray-light;
58
+ transition: color 0.2s, background 0.2s, box-shadow 0.2s;
59
+
60
+ &:hover,
61
+ &:active,
62
+ &:focus {
63
+ text-decoration: none;
64
+ color: $bf-dark;
65
+ background: darken($bf-gray-light, 10%);
66
+ }
67
+
68
+ &:active,
69
+ &:focus {
70
+ box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
71
+ }
72
+ }
73
+
74
+ // disabled groups
75
+ fieldset[disabled] button,
76
+ fieldset[disabled] input,
77
+ fieldset[disabled] input:after,
78
+ fieldset[disabled] input:before,
79
+ fieldset[disabled] input:checked,
80
+ fieldset[disabled] select,
81
+ fieldset[disabled] textarea,
82
+ fieldset[disabled] label,
83
+
84
+ // disabled singles
85
+ button[disabled],
86
+ input[disabled],
87
+ input[disabled]:after,
88
+ input[disabled]:before,
89
+ input[disabled]:checked,
90
+ select[disabled],
91
+ textarea[disabled],
92
+ label[disabled],
93
+
94
+ // pseudo class
95
+ button:disabled,
96
+ input:disabled,
97
+ input:disabled:after,
98
+ input:disabled:before,
99
+ input:disabled:checked,
100
+ select:disabled,
101
+ textarea:disabled,
102
+ label:disabled,
103
+
104
+ // aria
105
+ button[aria-disabled="true"],
106
+ input[aria-disabled="true"],
107
+ input[aria-disabled="true"]:after,
108
+ input[aria-disabled="true"]:before,
109
+ input[aria-disabled="true"]:checked,
110
+ select[aria-disabled="true"],
111
+ textarea[aria-disabled="true"],
112
+ label[aria-disabled="true"] {
113
+ cursor: default !important; // fallback
114
+ cursor: not-allowed !important;
115
+ pointer-events: none !important;
116
+ user-select: none !important;
117
+ box-shadow: none !important;
118
+ opacity: 0.5 !important;
119
+ }
@@ -85,7 +85,6 @@ button,
85
85
  [type='month'],
86
86
  [type='time'],
87
87
  [type='week'],
88
- [type='time'],
89
88
  [type='url'],
90
89
  [type='radio'],
91
90
  [type='checkbox'],
@@ -1,18 +1,3 @@
1
- // stretch the body background and help with centering elements
2
-
3
- html,
4
- body {
5
- height: 100%;
6
- }
7
-
8
- body {
9
- min-height: 100%;
10
- }
11
-
12
-
13
- // known issues in IE8 and IE9 with box-sizing
14
- // https://css-tricks.com/box-sizing/#article-header-id-5
15
-
16
1
  *,
17
2
  *::before,
18
3
  *::after {
@@ -39,27 +24,7 @@ template {
39
24
  display: none;
40
25
  }
41
26
 
42
- // Remove the tapping delay in IE 10
43
- a,
44
- area,
45
- button,
46
- input,
47
- label,
48
- select,
49
- summary,
50
- textarea,
51
- [tabindex] {
52
- -ms-touch-action: manipulation;
53
- }
54
-
55
- // Always hide an element with the `hidden` HTML attribute (from PureCSS).
56
- // Needed for proper display in IE 10-. */
27
+ // Always hide an element with the `hidden` HTML attribute
57
28
  [hidden] {
58
29
  display: none !important;
59
30
  }
60
-
61
- // Fix IE 10 on Windows Phone 8 Viewport only
62
- // https://getbootstrap.com/docs/3.3/getting-started/#support-ie10-width
63
- @-ms-viewport {
64
- width: device-width;
65
- }
@@ -1,83 +1,83 @@
1
- // This is IE10+
2
- // https://caniuse.com/flexbox
3
-
4
- @mixin flex-container {
5
- display: flex !important;
6
- flex-wrap: wrap !important;
7
- }
8
-
9
- @mixin flex-100 {
10
- flex: 0 0 100% !important;
11
- }
12
-
13
- @mixin flex-80 {
14
- flex: 0 0 80% !important;
15
- }
16
-
17
- @mixin flex-75 {
18
- flex: 0 0 75% !important;
19
- }
20
-
21
- @mixin flex-70 {
22
- flex: 0 0 70% !important;
23
- }
24
-
25
- @mixin flex-66 {
26
- flex: 0 0 66.6666% !important;
27
- }
28
-
29
- @mixin flex-65 {
30
- flex: 0 0 65% !important;
31
- }
32
-
33
- @mixin flex-60 {
34
- flex: 0 0 60% !important;
35
- }
36
-
37
- @mixin flex-55 {
38
- flex: 0 0 55% !important;
39
- }
40
-
41
- @mixin flex-50 {
42
- flex: 0 0 50% !important;
43
- }
44
-
45
- @mixin flex-45 {
46
- flex: 0 0 45% !important;
47
- }
48
-
49
- @mixin flex-40 {
50
- flex: 0 0 40% !important;
51
- }
52
-
53
- @mixin flex-33 {
54
- flex: 0 0 33.3333% !important;
55
- }
56
-
57
- @mixin flex-30 {
58
- flex: 0 0 30% !important;
59
- }
60
-
61
- @mixin flex-25 {
62
- flex: 0 0 25% !important;
63
- }
64
-
65
- @mixin flex-20 {
66
- flex: 0 0 20% !important;
67
- }
68
-
69
- @mixin flex-17 {
70
- flex: 0 0 17% !important;
71
- }
72
-
73
- @mixin flex-16 {
74
- flex: 0 0 16.6666% !important;
75
- }
76
-
77
- @mixin flex-15 {
78
- flex: 0 0 15% !important;
79
- }
80
-
81
- @mixin flex-11 {
82
- flex: 0 0 11% !important;
83
- }
1
+ // This is IE10+
2
+ // https://caniuse.com/flexbox
3
+
4
+ @mixin flex-container {
5
+ display: flex !important;
6
+ flex-wrap: wrap !important;
7
+ }
8
+
9
+ @mixin flex-100 {
10
+ flex: 0 0 100% !important;
11
+ }
12
+
13
+ @mixin flex-80 {
14
+ flex: 0 0 80% !important;
15
+ }
16
+
17
+ @mixin flex-75 {
18
+ flex: 0 0 75% !important;
19
+ }
20
+
21
+ @mixin flex-70 {
22
+ flex: 0 0 70% !important;
23
+ }
24
+
25
+ @mixin flex-66 {
26
+ flex: 0 0 66.6666% !important;
27
+ }
28
+
29
+ @mixin flex-65 {
30
+ flex: 0 0 65% !important;
31
+ }
32
+
33
+ @mixin flex-60 {
34
+ flex: 0 0 60% !important;
35
+ }
36
+
37
+ @mixin flex-55 {
38
+ flex: 0 0 55% !important;
39
+ }
40
+
41
+ @mixin flex-50 {
42
+ flex: 0 0 50% !important;
43
+ }
44
+
45
+ @mixin flex-45 {
46
+ flex: 0 0 45% !important;
47
+ }
48
+
49
+ @mixin flex-40 {
50
+ flex: 0 0 40% !important;
51
+ }
52
+
53
+ @mixin flex-33 {
54
+ flex: 0 0 33.3333% !important;
55
+ }
56
+
57
+ @mixin flex-30 {
58
+ flex: 0 0 30% !important;
59
+ }
60
+
61
+ @mixin flex-25 {
62
+ flex: 0 0 25% !important;
63
+ }
64
+
65
+ @mixin flex-20 {
66
+ flex: 0 0 20% !important;
67
+ }
68
+
69
+ @mixin flex-17 {
70
+ flex: 0 0 17% !important;
71
+ }
72
+
73
+ @mixin flex-16 {
74
+ flex: 0 0 16.6666% !important;
75
+ }
76
+
77
+ @mixin flex-15 {
78
+ flex: 0 0 15% !important;
79
+ }
80
+
81
+ @mixin flex-11 {
82
+ flex: 0 0 11% !important;
83
+ }
@@ -1,42 +1,42 @@
1
- @mixin bf-hidden {
2
- display: none !important;
3
- visibility: hidden !important;
4
- }
5
-
6
- @mixin bf-sr-only {
7
- position: absolute !important;
8
- width: 1px !important;
9
- height: 1px !important;
10
- padding: 0 !important;
11
- margin: -1px !important;
12
- overflow: hidden !important;
13
- clip: rect(0, 0, 0, 0) !important;
14
- white-space: nowrap !important;
15
- border: 0 !important;
16
- }
17
-
18
- @mixin bf-sr-only-focusable {
19
- &:active,
20
- &:focus {
21
- @include bf-sr-only();
22
- clip: auto !important;
23
- height: auto !important;
24
- margin: 0 !important;
25
- overflow: visible !important;
26
- position: static !important;
27
- white-space: inherit !important;
28
- width: auto !important;
29
- }
30
- }
31
-
32
- @mixin bf-clearfix {
33
- &::before,
34
- &::after {
35
- content: ' ';
36
- display: table !important;
37
- }
38
-
39
- &::after {
40
- clear: both !important;
41
- }
42
- }
1
+ @mixin bf-hidden {
2
+ display: none !important;
3
+ visibility: hidden !important;
4
+ }
5
+
6
+ @mixin bf-sr-only {
7
+ position: absolute !important;
8
+ width: 1px !important;
9
+ height: 1px !important;
10
+ padding: 0 !important;
11
+ margin: -1px !important;
12
+ overflow: hidden !important;
13
+ clip: rect(0, 0, 0, 0) !important;
14
+ white-space: nowrap !important;
15
+ border: 0 !important;
16
+ }
17
+
18
+ @mixin bf-sr-only-focusable {
19
+ &:active,
20
+ &:focus {
21
+ @include bf-sr-only();
22
+ clip: auto !important;
23
+ height: auto !important;
24
+ margin: 0 !important;
25
+ overflow: visible !important;
26
+ position: static !important;
27
+ white-space: inherit !important;
28
+ width: auto !important;
29
+ }
30
+ }
31
+
32
+ @mixin bf-clearfix {
33
+ &::before,
34
+ &::after {
35
+ content: ' ';
36
+ display: table !important;
37
+ }
38
+
39
+ &::after {
40
+ clear: both !important;
41
+ }
42
+ }