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,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,6 +1,3 @@
1
- // known issues in IE8 and IE9 with box-sizing
2
- // https://css-tricks.com/box-sizing/#article-header-id-5
3
-
4
1
  *,
5
2
  *::before,
6
3
  *::after {
@@ -27,27 +24,7 @@ template {
27
24
  display: none;
28
25
  }
29
26
 
30
- // Remove the tapping delay in IE 10
31
- a,
32
- area,
33
- button,
34
- input,
35
- label,
36
- select,
37
- summary,
38
- textarea,
39
- [tabindex] {
40
- -ms-touch-action: manipulation;
41
- }
42
-
43
- // Always hide an element with the `hidden` HTML attribute (from PureCSS).
44
- // Needed for proper display in IE 10-. */
27
+ // Always hide an element with the `hidden` HTML attribute
45
28
  [hidden] {
46
29
  display: none !important;
47
30
  }
48
-
49
- // Fix IE 10 on Windows Phone 8 Viewport only
50
- // https://getbootstrap.com/docs/3.3/getting-started/#support-ie10-width
51
- @-ms-viewport {
52
- width: device-width;
53
- }
@@ -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
+ }
@@ -1,37 +1,38 @@
1
- @mixin bf-text-hide {
2
- font: 0/0 a !important;
3
- color: transparent !important;
4
- text-shadow: none !important;
5
- background-color: transparent !important;
6
- border: 0 !important;
7
- margin: 0 !important;
8
- padding: 0 !important;
9
- }
10
-
11
- @mixin bf-text-truncate {
12
- max-width: 100% !important;
13
- overflow: hidden !important;
14
- text-overflow: ellipsis !important;
15
- white-space: nowrap !important;
16
- word-wrap: normal !important;
17
- }
18
-
19
- // truncate a multiline text via line-clamp
20
- //
21
- // no IE support
22
- // https://caniuse.com/css-line-clamp
23
- //
24
- // demo https://codepen.io/devam-soni/pen/PoqaKWm
25
-
26
- @mixin bf-text-truncate--multiline-2 {
27
- overflow: hidden !important;
28
- text-overflow: ellipsis !important;
29
- display: -webkit-box !important;
30
- -webkit-line-clamp: 2 !important;
31
- -webkit-box-orient: vertical !important;
32
- }
33
-
34
- @mixin bf-text-truncate--multiline-3 {
35
- @include bf-text-truncate--multiline-2;
36
- -webkit-line-clamp: 3 !important;
37
- }
1
+ @mixin bf-text-hide {
2
+ /* stylelint-disable-next-line */
3
+ font: 0/0 a !important;
4
+ color: transparent !important;
5
+ text-shadow: none !important;
6
+ background-color: transparent !important;
7
+ border: 0 !important;
8
+ margin: 0 !important;
9
+ padding: 0 !important;
10
+ }
11
+
12
+ @mixin bf-text-truncate {
13
+ max-width: 100% !important;
14
+ overflow: hidden !important;
15
+ text-overflow: ellipsis !important;
16
+ white-space: nowrap !important;
17
+ word-wrap: normal !important;
18
+ }
19
+
20
+ // truncate a multiline text via line-clamp
21
+ //
22
+ // no IE support
23
+ // https://caniuse.com/css-line-clamp
24
+ //
25
+ // demo https://codepen.io/devam-soni/pen/PoqaKWm
26
+
27
+ @mixin bf-text-truncate--multiline-2 {
28
+ overflow: hidden !important;
29
+ text-overflow: ellipsis !important;
30
+ display: -webkit-box !important;
31
+ -webkit-line-clamp: 2 !important;
32
+ -webkit-box-orient: vertical !important;
33
+ }
34
+
35
+ @mixin bf-text-truncate--multiline-3 {
36
+ @include bf-text-truncate--multiline-2;
37
+ -webkit-line-clamp: 3 !important;
38
+ }
@@ -1,23 +1,23 @@
1
- blockquote {
2
- margin: 0 0 $bf-spacing-xl-px 0;
3
- margin-bottom: $bf-spacing-xl-rem;
4
- padding-left: 0;
5
- font-style: italic;
6
- }
7
-
8
- blockquote p {
9
- margin-bottom: 0;
10
- }
11
-
12
- blockquote small {
13
- color: $bf-gray;
14
- display: block;
15
- }
16
-
17
- blockquote small:before {
18
- content: '\2014 \00A0';
19
- }
20
-
21
- q {
22
- quotes: '\201C''\201D''\2018''\2019';
23
- }
1
+ blockquote {
2
+ margin: 0 0 $bf-spacing-xl-px 0;
3
+ margin-bottom: $bf-spacing-xl-rem;
4
+ padding-left: 0;
5
+ font-style: italic;
6
+ }
7
+
8
+ blockquote p {
9
+ margin-bottom: 0;
10
+ }
11
+
12
+ blockquote small {
13
+ color: $bf-gray;
14
+ display: block;
15
+ }
16
+
17
+ blockquote small:before {
18
+ content: '\2014 \00A0';
19
+ }
20
+
21
+ q {
22
+ quotes: '\201C''\201D''\2018''\2019';
23
+ }