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.
- package/.browserslistrc +10 -6
- package/.stylelintrc.json +10 -0
- package/CHANGELOG.md +20 -4
- package/LICENSE +20 -20
- package/README.md +28 -179
- package/dist/css/bullframe-classless-dark-prefers.css +357 -425
- package/dist/css/bullframe-classless-dark-prefers.min.css +2 -3
- package/dist/css/bullframe-classless-dark-prefers.min.css.map +1 -1
- package/dist/css/bullframe-classless-dark.css +328 -412
- package/dist/css/bullframe-classless-dark.min.css +2 -3
- package/dist/css/bullframe-classless-dark.min.css.map +1 -1
- package/dist/css/bullframe-classless.css +237 -293
- package/dist/css/bullframe-classless.min.css +2 -2
- package/dist/css/bullframe-classless.min.css.map +1 -1
- package/dist/css/bullframe-dark-prefers.css +468 -633
- package/dist/css/bullframe-dark-prefers.min.css +2 -2
- package/dist/css/bullframe-dark-prefers.min.css.map +1 -1
- package/dist/css/bullframe-dark.css +402 -593
- package/dist/css/bullframe-dark.min.css +2 -2
- package/dist/css/bullframe-dark.min.css.map +1 -1
- package/dist/css/bullframe-utilities.css +87 -125
- package/dist/css/bullframe-utilities.min.css +1 -1
- package/dist/css/bullframe-utilities.min.css.map +1 -1
- package/dist/css/bullframe.css +288 -455
- package/dist/css/bullframe.min.css +1 -1
- package/dist/css/bullframe.min.css.map +1 -1
- package/docs/test/css/style.css +130 -130
- package/docs/test/icons/safari-pinned-tab.svg +28 -28
- package/docs/test/js/vendor/html5shiv.js +335 -335
- package/docs/test/js/vendor/ie10-viewport-bug-workaround.js +20 -20
- package/gulpfile.js +5 -2
- package/index.html +1214 -1223
- package/package.json +14 -11
- package/src/scss/bullframe-classless-dark-prefers.scss +5 -5
- package/src/scss/bullframe-classless-dark.scss +5 -5
- package/src/scss/bullframe-classless.scss +1 -9
- package/src/scss/bullframe-dark-prefers.scss +4 -4
- package/src/scss/bullframe-dark.scss +4 -4
- package/src/scss/bullframe-utilities.scss +1 -1
- package/src/scss/bullframe.scss +0 -7
- package/src/scss/forms/_forms-normalization.scss +4 -2
- package/src/scss/forms/_forms-styling-radio-checkbox.scss +84 -85
- package/src/scss/forms/_forms-styling-range.scss +99 -103
- package/src/scss/forms/_forms-styling-select.scss +63 -63
- package/src/scss/forms/_forms-styling.scss +119 -121
- package/src/scss/miscellaneous/_misc-focus.scss +0 -1
- package/src/scss/miscellaneous/_misc-layout.scss +1 -24
- package/src/scss/mixins/_mixin-grid-flex.scss +83 -83
- package/src/scss/mixins/_mixin-layout.scss +42 -42
- package/src/scss/mixins/_mixin-texts.scss +38 -37
- package/src/scss/typography/_typography-blockquotes.scss +23 -23
- package/src/scss/typography/_typography-headings.scss +43 -43
- package/src/scss/typography/_typography-html-body.scss +72 -72
- package/src/scss/typography/_typography-misc.scss +3 -3
- package/src/scss/typography/_typography-monospaced-elements.scss +50 -56
- package/src/scss/utilities/_utility-buttons.scss +71 -71
- package/src/scss/utilities/_utility-embeds.scss +34 -34
- package/src/scss/utilities/_utility-filters.scss +24 -24
- package/src/scss/utilities/_utility-form-states.scss +80 -80
- package/src/scss/utilities/_utility-global-dark-classless.scss +157 -169
- package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +3 -3
- package/src/scss/utilities/_utility-global-dark-prefers.scss +3 -3
- package/src/scss/utilities/_utility-global-dark-scrollbars.scss +29 -29
- package/src/scss/utilities/_utility-global-dark.scss +213 -224
- package/src/scss/utilities/_utility-grid-system.scss +204 -204
- package/src/scss/utilities/_utility-layout.scss +195 -196
- package/src/scss/utilities/_utility-lists.scss +17 -17
- package/src/scss/utilities/_utility-print.scss +101 -111
- package/src/scss/utilities/_utility-reduced-motion.scss +29 -29
- package/src/scss/utilities/_utility-tables.scss +40 -40
- package/src/scss/utilities/_utility-texts.scss +199 -199
- package/src/scss/utilities/_utility-z-index.scss +82 -82
- package/src/scss/variables/_variables-breakpoints.scss +5 -5
- package/src/scss/variables/_variables-colors.scss +31 -31
- package/src/scss/variables/_variables-spacing.scss +25 -25
- package/src/scss/variables/_variables-texts.scss +12 -12
- package/dist/css/bullframe-classless-dark-ie10+.css +0 -1321
- package/dist/css/bullframe-classless-dark-ie10+.min.css +0 -4
- package/dist/css/bullframe-classless-dark-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-classless-dark-prefers-ie10+.css +0 -1301
- package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css +0 -4
- package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-classless-ie10+.css +0 -1084
- package/dist/css/bullframe-classless-ie10+.min.css +0 -3
- package/dist/css/bullframe-classless-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-dark-ie10+.css +0 -2569
- package/dist/css/bullframe-dark-ie10+.min.css +0 -3
- package/dist/css/bullframe-dark-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-dark-prefers-ie10+.css +0 -2541
- package/dist/css/bullframe-dark-prefers-ie10+.min.css +0 -3
- package/dist/css/bullframe-dark-prefers-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-ie10+.css +0 -2250
- package/dist/css/bullframe-ie10+.min.css +0 -2
- package/dist/css/bullframe-ie10+.min.css.map +0 -1
- package/docs/images-readme/browserstack-logo.png +0 -0
- package/src/scss/bullframe-classless-dark-ie10+.scss +0 -5
- package/src/scss/bullframe-classless-dark-prefers-ie10+.scss +0 -5
- package/src/scss/bullframe-classless-ie10+.scss +0 -43
- package/src/scss/bullframe-dark-ie10+.scss +0 -4
- package/src/scss/bullframe-dark-prefers-ie10+.scss +0 -4
- package/src/scss/bullframe-ie10+.scss +0 -121
- package/src/scss/forms/_forms-styling-ie-hacks.scss +0 -56
- 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='
|
|
11
|
-
[type='
|
|
12
|
-
[type='
|
|
13
|
-
[
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
padding: $bf-spacing-md-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
|
|
26
|
-
[type='
|
|
27
|
-
[type='
|
|
28
|
-
[type='
|
|
29
|
-
[type='
|
|
30
|
-
[type='
|
|
31
|
-
[type='
|
|
32
|
-
[type='
|
|
33
|
-
[type='
|
|
34
|
-
[type='
|
|
35
|
-
[type='time'],
|
|
36
|
-
[type='
|
|
37
|
-
[
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
[type='
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
&:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
fieldset[disabled]
|
|
78
|
-
fieldset[disabled] input,
|
|
79
|
-
fieldset[disabled] input:
|
|
80
|
-
fieldset[disabled]
|
|
81
|
-
fieldset[disabled]
|
|
82
|
-
fieldset[disabled]
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
input[disabled],
|
|
89
|
-
input[disabled]:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
input:disabled,
|
|
99
|
-
input:disabled:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
input[aria-disabled="true"],
|
|
109
|
-
input[aria-disabled="true"]:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
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
|
+
}
|
|
@@ -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
|
-
//
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
//
|
|
21
|
-
//
|
|
22
|
-
//
|
|
23
|
-
//
|
|
24
|
-
//
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-webkit-
|
|
31
|
-
-webkit-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
-
|
|
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
|
+
}
|