@unlk/keymaster 1.0.11 → 1.0.13
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/CHANGELOG.md +11 -4
- package/dist/css/keymaster.css +24315 -26427
- package/dist/css/keymaster.css.map +1 -1
- package/dist/css/keymaster.min.css +69 -29
- package/dist/css/keymaster.min.css.map +1 -1
- package/dist/js/keymaster.js +35 -31
- package/dist/js/keymaster.js.map +1 -1
- package/dist/js/keymaster.min.js +25 -25
- package/dist/js/keymaster.min.js.map +1 -1
- package/fonts/fa-brands-400.woff2 +0 -0
- package/fonts/fa-duotone-900.woff2 +0 -0
- package/fonts/fa-duotone-light-300.woff2 +0 -0
- package/fonts/fa-duotone-regular-400.woff2 +0 -0
- package/fonts/fa-duotone-thin-100.woff2 +0 -0
- package/fonts/fa-light-300.woff2 +0 -0
- package/fonts/fa-regular-400.woff2 +0 -0
- package/fonts/fa-sharp-duotone-light-300.woff2 +0 -0
- package/fonts/fa-sharp-duotone-regular-400.woff2 +0 -0
- package/fonts/fa-sharp-duotone-solid-900.woff2 +0 -0
- package/fonts/fa-sharp-duotone-thin-100.woff2 +0 -0
- package/fonts/fa-sharp-light-300.woff2 +0 -0
- package/fonts/fa-sharp-regular-400.woff2 +0 -0
- package/fonts/fa-sharp-solid-900.woff2 +0 -0
- package/fonts/fa-sharp-thin-100.woff2 +0 -0
- package/fonts/fa-solid-900.woff2 +0 -0
- package/fonts/fa-thin-100.woff2 +0 -0
- package/fonts/fa-v4compatibility.woff2 +0 -0
- package/package.json +2 -2
- package/scss/_fontawesome.scss +21 -0
- package/scss/assets/bootstrap5/_card.scss +8 -8
- package/scss/assets/bootstrap5/mixins/_banner.scss +1 -1
- package/scss/assets/bootstrap5/mixins/_box-shadow.scss +11 -5
- package/scss/assets/bootstrap5/mixins/_visually-hidden.scss +5 -0
- package/scss/assets/fontawesome/_animated.scss +86 -88
- package/scss/assets/fontawesome/_bordered.scss +24 -0
- package/scss/assets/fontawesome/_core.scss +119 -130
- package/scss/assets/fontawesome/_fa.scss +3 -0
- package/scss/assets/fontawesome/_functions.scss +3 -52
- package/scss/assets/fontawesome/_icons.scss +7 -5
- package/scss/assets/fontawesome/_list.scss +7 -6
- package/scss/assets/fontawesome/_mixins.scss +14 -75
- package/scss/assets/fontawesome/_pulled.scss +15 -0
- package/scss/assets/fontawesome/_rotated-flipped.scss +10 -9
- package/scss/assets/fontawesome/_shims.scss +1557 -942
- package/scss/assets/fontawesome/_sizing.scss +6 -4
- package/scss/assets/fontawesome/_stacked.scss +11 -10
- package/scss/assets/fontawesome/_variables.scss +10495 -9713
- package/scss/assets/fontawesome/_widths.scss +12 -0
- package/scss/assets/fontawesome/brands.scss +29 -14
- package/scss/assets/fontawesome/duotone-light.scss +66 -39
- package/scss/assets/fontawesome/duotone-regular.scss +66 -39
- package/scss/assets/fontawesome/duotone-thin.scss +66 -39
- package/scss/assets/fontawesome/duotone.scss +56 -34
- package/scss/assets/fontawesome/fontawesome.scss +12 -15
- package/scss/assets/fontawesome/light.scss +37 -13
- package/scss/assets/fontawesome/regular.scss +37 -13
- package/scss/assets/fontawesome/sharp-duotone-light.scss +66 -39
- package/scss/assets/fontawesome/sharp-duotone-regular.scss +66 -39
- package/scss/assets/fontawesome/sharp-duotone-solid.scss +66 -47
- package/scss/assets/fontawesome/sharp-duotone-thin.scss +66 -39
- package/scss/assets/fontawesome/sharp-light.scss +37 -13
- package/scss/assets/fontawesome/sharp-regular.scss +37 -13
- package/scss/assets/fontawesome/sharp-solid.scss +37 -13
- package/scss/assets/fontawesome/sharp-thin.scss +37 -13
- package/scss/assets/fontawesome/solid.scss +37 -13
- package/scss/assets/fontawesome/thin.scss +37 -13
- package/scss/assets/fontawesome/v4-shims.scss +5 -5
- package/scss/keymaster.scss +1 -8
- package/scss/theme/_typography.scss +5 -5
- package/scss/theme/_variables-overrides.scss +1 -3
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
package/fonts/fa-light-300.woff2
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
package/fonts/fa-solid-900.woff2
CHANGED
Binary file
|
package/fonts/fa-thin-100.woff2
CHANGED
Binary file
|
Binary file
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@unlk/keymaster",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.13",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -55,7 +55,7 @@
|
|
55
55
|
"devDependencies": {
|
56
56
|
"@babel/core": "^7.27.1",
|
57
57
|
"@babel/preset-env": "^7.27.2",
|
58
|
-
"@fortawesome/fontawesome-pro": "^
|
58
|
+
"@fortawesome/fontawesome-pro": "^7.0.0",
|
59
59
|
"@popperjs/core": "^2.11.8",
|
60
60
|
"@rollup/plugin-babel": "^6.0.4",
|
61
61
|
"@rollup/plugin-commonjs": "^28.0.3",
|
@@ -0,0 +1,21 @@
|
|
1
|
+
@use "assets/fontawesome/variables" with (
|
2
|
+
$font-path: "../../../fonts"
|
3
|
+
);
|
4
|
+
@use "assets/fontawesome/fontawesome";
|
5
|
+
@use "assets/fontawesome/thin";
|
6
|
+
@use "assets/fontawesome/light";
|
7
|
+
@use "assets/fontawesome/regular";
|
8
|
+
@use "assets/fontawesome/solid";
|
9
|
+
@use "assets/fontawesome/sharp-thin";
|
10
|
+
@use "assets/fontawesome/sharp-light";
|
11
|
+
@use "assets/fontawesome/sharp-regular";
|
12
|
+
@use "assets/fontawesome/sharp-solid";
|
13
|
+
@use "assets/fontawesome/duotone";
|
14
|
+
@use "assets/fontawesome/duotone-thin";
|
15
|
+
@use "assets/fontawesome/duotone-light";
|
16
|
+
@use "assets/fontawesome/duotone-regular";
|
17
|
+
@use "assets/fontawesome/sharp-duotone-thin";
|
18
|
+
@use "assets/fontawesome/sharp-duotone-light";
|
19
|
+
@use "assets/fontawesome/sharp-duotone-regular";
|
20
|
+
@use "assets/fontawesome/sharp-duotone-solid";
|
21
|
+
@use "assets/fontawesome/brands";
|
@@ -206,13 +206,13 @@
|
|
206
206
|
&:not(:last-child) {
|
207
207
|
@include border-end-radius(0);
|
208
208
|
|
209
|
-
.card-img-top,
|
210
|
-
.card-header {
|
209
|
+
> .card-img-top,
|
210
|
+
> .card-header {
|
211
211
|
// stylelint-disable-next-line property-disallowed-list
|
212
212
|
border-top-right-radius: 0;
|
213
213
|
}
|
214
|
-
.card-img-bottom,
|
215
|
-
.card-footer {
|
214
|
+
> .card-img-bottom,
|
215
|
+
> .card-footer {
|
216
216
|
// stylelint-disable-next-line property-disallowed-list
|
217
217
|
border-bottom-right-radius: 0;
|
218
218
|
}
|
@@ -221,13 +221,13 @@
|
|
221
221
|
&:not(:first-child) {
|
222
222
|
@include border-start-radius(0);
|
223
223
|
|
224
|
-
.card-img-top,
|
225
|
-
.card-header {
|
224
|
+
> .card-img-top,
|
225
|
+
> .card-header {
|
226
226
|
// stylelint-disable-next-line property-disallowed-list
|
227
227
|
border-top-left-radius: 0;
|
228
228
|
}
|
229
|
-
.card-img-bottom,
|
230
|
-
.card-footer {
|
229
|
+
> .card-img-bottom,
|
230
|
+
> .card-footer {
|
231
231
|
// stylelint-disable-next-line property-disallowed-list
|
232
232
|
border-bottom-left-radius: 0;
|
233
233
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@mixin bsBanner($file) {
|
2
2
|
/*!
|
3
|
-
* Bootstrap #{$file} v5.3.
|
3
|
+
* Bootstrap #{$file} v5.3.7 (https://getbootstrap.com/)
|
4
4
|
* Copyright 2011-2025 The Bootstrap Authors
|
5
5
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
6
6
|
*/
|
@@ -1,17 +1,23 @@
|
|
1
1
|
@mixin box-shadow($shadow...) {
|
2
2
|
@if $enable-shadows {
|
3
3
|
$result: ();
|
4
|
+
$has-single-value: false;
|
5
|
+
$single-value: null;
|
4
6
|
|
5
7
|
@each $value in $shadow {
|
6
8
|
@if $value != null {
|
7
|
-
$
|
8
|
-
|
9
|
-
|
10
|
-
@
|
9
|
+
@if $value == none or $value == initial or $value == inherit or $value == unset {
|
10
|
+
$has-single-value: true;
|
11
|
+
$single-value: $value;
|
12
|
+
} @else {
|
13
|
+
$result: append($result, $value, "comma");
|
14
|
+
}
|
11
15
|
}
|
12
16
|
}
|
13
17
|
|
14
|
-
@if
|
18
|
+
@if $has-single-value {
|
19
|
+
box-shadow: $single-value;
|
20
|
+
} @else if (length($result) > 0) {
|
15
21
|
box-shadow: $result;
|
16
22
|
}
|
17
23
|
}
|
@@ -19,6 +19,11 @@
|
|
19
19
|
&:not(caption) {
|
20
20
|
position: absolute !important;
|
21
21
|
}
|
22
|
+
|
23
|
+
// Fix to prevent overflowing children to become focusable
|
24
|
+
* {
|
25
|
+
overflow: hidden !important;
|
26
|
+
}
|
22
27
|
}
|
23
28
|
|
24
29
|
// Use to only display content when it's focused, or one of its child elements is focused
|
@@ -1,140 +1,138 @@
|
|
1
1
|
// animating icons
|
2
2
|
// --------------------------
|
3
|
+
@use 'variables' as v;
|
3
4
|
|
4
|
-
.#{
|
5
|
-
animation-name: #{
|
6
|
-
animation-delay: var(--#{
|
7
|
-
animation-direction: var(--#{
|
8
|
-
animation-duration: var(--#{
|
9
|
-
animation-iteration-count: var(--#{
|
10
|
-
animation-timing-function: var(--#{
|
5
|
+
.#{v.$css-prefix}-beat {
|
6
|
+
animation-name: #{v.$css-prefix}-beat;
|
7
|
+
animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
|
8
|
+
animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
|
9
|
+
animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
|
10
|
+
animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
|
11
|
+
animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-in-out);
|
11
12
|
}
|
12
13
|
|
13
|
-
.#{
|
14
|
-
animation-name: #{
|
15
|
-
animation-delay: var(--#{
|
16
|
-
animation-direction: var(--#{
|
17
|
-
animation-duration: var(--#{
|
18
|
-
animation-iteration-count: var(--#{
|
19
|
-
animation-timing-function: var(--#{
|
14
|
+
.#{v.$css-prefix}-bounce {
|
15
|
+
animation-name: #{v.$css-prefix}-bounce;
|
16
|
+
animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
|
17
|
+
animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
|
18
|
+
animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
|
19
|
+
animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
|
20
|
+
animation-timing-function: var(--#{v.$css-prefix}-animation-timing, cubic-bezier(0.280, 0.840, 0.420, 1));
|
20
21
|
}
|
21
22
|
|
22
|
-
.#{
|
23
|
-
animation-name: #{
|
24
|
-
animation-delay: var(--#{
|
25
|
-
animation-direction: var(--#{
|
26
|
-
animation-duration: var(--#{
|
27
|
-
animation-iteration-count: var(--#{
|
28
|
-
animation-timing-function: var(--#{
|
23
|
+
.#{v.$css-prefix}-fade {
|
24
|
+
animation-name: #{v.$css-prefix}-fade;
|
25
|
+
animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
|
26
|
+
animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
|
27
|
+
animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
|
28
|
+
animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
|
29
|
+
animation-timing-function: var(--#{v.$css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1));
|
29
30
|
}
|
30
31
|
|
31
|
-
.#{
|
32
|
-
animation-name: #{
|
33
|
-
animation-delay: var(--#{
|
34
|
-
animation-direction: var(--#{
|
35
|
-
animation-duration: var(--#{
|
36
|
-
animation-iteration-count: var(--#{
|
37
|
-
animation-timing-function: var(--#{
|
32
|
+
.#{v.$css-prefix}-beat-fade {
|
33
|
+
animation-name: #{v.$css-prefix}-beat-fade;
|
34
|
+
animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
|
35
|
+
animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
|
36
|
+
animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
|
37
|
+
animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
|
38
|
+
animation-timing-function: var(--#{v.$css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1));
|
38
39
|
}
|
39
40
|
|
40
|
-
.#{
|
41
|
-
animation-name: #{
|
42
|
-
animation-delay: var(--#{
|
43
|
-
animation-direction: var(--#{
|
44
|
-
animation-duration: var(--#{
|
45
|
-
animation-iteration-count: var(--#{
|
46
|
-
animation-timing-function: var(--#{
|
41
|
+
.#{v.$css-prefix}-flip {
|
42
|
+
animation-name: #{v.$css-prefix}-flip;
|
43
|
+
animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
|
44
|
+
animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
|
45
|
+
animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
|
46
|
+
animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
|
47
|
+
animation-timing-function: var(--#{v.$css-prefix}-animation-timing, ease-in-out);
|
47
48
|
}
|
48
49
|
|
49
|
-
.#{
|
50
|
-
animation-name: #{
|
51
|
-
animation-delay: var(--#{
|
52
|
-
animation-direction: var(--#{
|
53
|
-
animation-duration: var(--#{
|
54
|
-
animation-iteration-count: var(--#{
|
55
|
-
animation-timing-function: var(--#{
|
50
|
+
.#{v.$css-prefix}-shake {
|
51
|
+
animation-name: #{v.$css-prefix}-shake;
|
52
|
+
animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
|
53
|
+
animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
|
54
|
+
animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
|
55
|
+
animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
|
56
|
+
animation-timing-function: var(--#{v.$css-prefix}-animation-timing, linear);
|
56
57
|
}
|
57
58
|
|
58
|
-
.#{
|
59
|
-
animation-name: #{
|
60
|
-
animation-delay: var(--#{
|
61
|
-
animation-direction: var(--#{
|
62
|
-
animation-duration: var(--#{
|
63
|
-
animation-iteration-count: var(--#{
|
64
|
-
animation-timing-function: var(--#{
|
59
|
+
.#{v.$css-prefix}-spin {
|
60
|
+
animation-name: #{v.$css-prefix}-spin;
|
61
|
+
animation-delay: var(--#{v.$css-prefix}-animation-delay, 0s);
|
62
|
+
animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
|
63
|
+
animation-duration: var(--#{v.$css-prefix}-animation-duration, 2s);
|
64
|
+
animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
|
65
|
+
animation-timing-function: var(--#{v.$css-prefix}-animation-timing, linear);
|
65
66
|
}
|
66
67
|
|
67
|
-
.#{
|
68
|
-
--#{
|
68
|
+
.#{v.$css-prefix}-spin-reverse {
|
69
|
+
--#{v.$css-prefix}-animation-direction: reverse;
|
69
70
|
}
|
70
71
|
|
71
|
-
.#{
|
72
|
-
.#{
|
73
|
-
animation-name: #{
|
74
|
-
animation-direction: var(--#{
|
75
|
-
animation-duration: var(--#{
|
76
|
-
animation-iteration-count: var(--#{
|
77
|
-
animation-timing-function: var(--#{
|
72
|
+
.#{v.$css-prefix}-pulse,
|
73
|
+
.#{v.$css-prefix}-spin-pulse {
|
74
|
+
animation-name: #{v.$css-prefix}-spin;
|
75
|
+
animation-direction: var(--#{v.$css-prefix}-animation-direction, normal);
|
76
|
+
animation-duration: var(--#{v.$css-prefix}-animation-duration, 1s);
|
77
|
+
animation-iteration-count: var(--#{v.$css-prefix}-animation-iteration-count, infinite);
|
78
|
+
animation-timing-function: var(--#{v.$css-prefix}-animation-timing, steps(8));
|
78
79
|
}
|
79
80
|
|
80
81
|
// if agent or operating system prefers reduced motion, disable animations
|
81
82
|
// see: https://www.smashingmagazine.com/2020/09/design-reduced-motion-sensitivities/
|
82
83
|
// see: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
|
83
84
|
@media (prefers-reduced-motion: reduce) {
|
84
|
-
.#{
|
85
|
-
.#{
|
86
|
-
.#{
|
87
|
-
.#{
|
88
|
-
.#{
|
89
|
-
.#{
|
90
|
-
.#{
|
91
|
-
.#{
|
92
|
-
.#{
|
93
|
-
animation
|
94
|
-
|
95
|
-
animation-iteration-count: 1;
|
96
|
-
transition-delay: 0s;
|
97
|
-
transition-duration: 0s;
|
85
|
+
.#{v.$css-prefix}-beat,
|
86
|
+
.#{v.$css-prefix}-bounce,
|
87
|
+
.#{v.$css-prefix}-fade,
|
88
|
+
.#{v.$css-prefix}-beat-fade,
|
89
|
+
.#{v.$css-prefix}-flip,
|
90
|
+
.#{v.$css-prefix}-pulse,
|
91
|
+
.#{v.$css-prefix}-shake,
|
92
|
+
.#{v.$css-prefix}-spin,
|
93
|
+
.#{v.$css-prefix}-spin-pulse {
|
94
|
+
animation: none !important;
|
95
|
+
transition: none !important;
|
98
96
|
}
|
99
97
|
}
|
100
98
|
|
101
|
-
@keyframes #{
|
99
|
+
@keyframes #{v.$css-prefix}-beat {
|
102
100
|
0%, 90% { transform: scale(1); }
|
103
|
-
45% { transform: scale(var(--#{
|
101
|
+
45% { transform: scale(var(--#{v.$css-prefix}-beat-scale, 1.25)); }
|
104
102
|
}
|
105
103
|
|
106
|
-
@keyframes #{
|
104
|
+
@keyframes #{v.$css-prefix}-bounce {
|
107
105
|
0% { transform: scale(1,1) translateY(0); }
|
108
|
-
10% { transform: scale(var(--#{
|
109
|
-
30% { transform: scale(var(--#{
|
110
|
-
50% { transform: scale(var(--#{
|
111
|
-
57% { transform: scale(1,1) translateY(var(--#{
|
106
|
+
10% { transform: scale(var(--#{v.$css-prefix}-bounce-start-scale-x, 1.1),var(--#{v.$css-prefix}-bounce-start-scale-y, 0.9)) translateY(0); }
|
107
|
+
30% { transform: scale(var(--#{v.$css-prefix}-bounce-jump-scale-x, 0.9),var(--#{v.$css-prefix}-bounce-jump-scale-y, 1.1)) translateY(var(--#{v.$css-prefix}-bounce-height, -0.5em)); }
|
108
|
+
50% { transform: scale(var(--#{v.$css-prefix}-bounce-land-scale-x, 1.05),var(--#{v.$css-prefix}-bounce-land-scale-y, 0.95)) translateY(0); }
|
109
|
+
57% { transform: scale(1,1) translateY(var(--#{v.$css-prefix}-bounce-rebound, -0.125em)); }
|
112
110
|
64% { transform: scale(1,1) translateY(0); }
|
113
111
|
100% { transform: scale(1,1) translateY(0); }
|
114
112
|
}
|
115
113
|
|
116
|
-
@keyframes #{
|
117
|
-
50% { opacity: var(--#{
|
114
|
+
@keyframes #{v.$css-prefix}-fade {
|
115
|
+
50% { opacity: var(--#{v.$css-prefix}-fade-opacity, 0.4); }
|
118
116
|
}
|
119
117
|
|
120
|
-
@keyframes #{
|
118
|
+
@keyframes #{v.$css-prefix}-beat-fade {
|
121
119
|
0%, 100% {
|
122
|
-
opacity: var(--#{
|
120
|
+
opacity: var(--#{v.$css-prefix}-beat-fade-opacity, 0.4);
|
123
121
|
transform: scale(1);
|
124
122
|
}
|
125
123
|
50% {
|
126
124
|
opacity: 1;
|
127
|
-
transform: scale(var(--#{
|
125
|
+
transform: scale(var(--#{v.$css-prefix}-beat-fade-scale, 1.125));
|
128
126
|
}
|
129
127
|
}
|
130
128
|
|
131
|
-
@keyframes #{
|
129
|
+
@keyframes #{v.$css-prefix}-flip {
|
132
130
|
50% {
|
133
|
-
transform: rotate3d(var(--#{
|
131
|
+
transform: rotate3d(var(--#{v.$css-prefix}-flip-x, 0), var(--#{v.$css-prefix}-flip-y, 1), var(--#{v.$css-prefix}-flip-z, 0), var(--#{v.$css-prefix}-flip-angle, -180deg));
|
134
132
|
}
|
135
133
|
}
|
136
134
|
|
137
|
-
@keyframes #{
|
135
|
+
@keyframes #{v.$css-prefix}-shake {
|
138
136
|
0% { transform: rotate(-15deg); }
|
139
137
|
4% { transform: rotate(15deg); }
|
140
138
|
8%, 24% { transform: rotate(-18deg); }
|
@@ -146,7 +144,7 @@
|
|
146
144
|
40%, 100% { transform: rotate(0deg); }
|
147
145
|
}
|
148
146
|
|
149
|
-
@keyframes #{
|
147
|
+
@keyframes #{v.$css-prefix}-spin {
|
150
148
|
0% { transform: rotate(0deg); }
|
151
149
|
100% { transform: rotate(360deg); }
|
152
150
|
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
// bordered icons
|
2
|
+
// -------------------------
|
3
|
+
@use 'variables' as v;
|
4
|
+
|
5
|
+
/* Heads Up: Bordered Icons will not be supported in the future!
|
6
|
+
- This feature will be deprecated in the next major release of Font Awesome (v8)!
|
7
|
+
- You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* Notes:
|
11
|
+
* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)
|
12
|
+
* --@{v.$css-prefix}-border-padding =
|
13
|
+
** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it's vertical alignment)
|
14
|
+
** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)
|
15
|
+
*/
|
16
|
+
|
17
|
+
.#{v.$css-prefix}-border {
|
18
|
+
border-color: var(--#{v.$css-prefix}-border-color, #{v.$border-color});
|
19
|
+
border-radius: var(--#{v.$css-prefix}-border-radius, #{v.$border-radius});
|
20
|
+
border-style: var(--#{v.$css-prefix}-border-style, #{v.$border-style});
|
21
|
+
border-width: var(--#{v.$css-prefix}-border-width, #{v.$border-width});
|
22
|
+
box-sizing: var(--#{v.$css-prefix}-border-box-sizing, #{v.$border-box-sizing});
|
23
|
+
padding: var(--#{v.$css-prefix}-border-padding, #{v.$border-padding});
|
24
|
+
}
|