@mediafly/js-ui 47.8.0-beta.0 → 48.0.0-beta.2
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/.stylelintignore +1 -1
- package/lib/fonts.css +7236 -0
- package/lib/metadata-form/metadata-form.html +11 -1
- package/lib/rich-text/rich-text.component.js +1 -6
- package/lib/rich-text/rich-text.component.js.map +1 -1
- package/lib/styles.css +0 -31088
- package/lib/tsconfig.deploy.tsbuildinfo +1 -1
- package/package.json +4 -1
- package/src/components/less/fonts/font-awesome.less +7146 -0
- package/src/components/less/fonts/index.less +1 -8
- package/src/components/less/standalone.less +0 -13
- package/src/components/metadata-form/metadata-form.html +11 -1
- package/src/components/metadata-form/metadata-form.less +1 -0
- package/src/components/rich-text/rich-text.component.ts +1 -8
- package/src/fonts/fa-brands-400.woff +0 -0
- package/src/fonts/fa-brands-400.woff2 +0 -0
- package/src/fonts/fa-light-300.woff +0 -0
- package/src/fonts/fa-light-300.woff2 +0 -0
- package/src/fonts/fa-regular-400.woff +0 -0
- package/src/fonts/fa-regular-400.woff2 +0 -0
- package/src/fonts/fa-solid-900.woff +0 -0
- package/src/fonts/fa-solid-900.woff2 +0 -0
- package/tsconfig.tsbuildinfo +8 -7
- package/webpack.config.js +1 -0
- package/src/components/less/fonts/font-awesome/_animated.less +0 -152
- package/src/components/less/fonts/font-awesome/_bordered-pulled.less +0 -20
- package/src/components/less/fonts/font-awesome/_core.less +0 -28
- package/src/components/less/fonts/font-awesome/_duotone-icons.less +0 -11
- package/src/components/less/fonts/font-awesome/_fixed-width.less +0 -7
- package/src/components/less/fonts/font-awesome/_icons.less +0 -9
- package/src/components/less/fonts/font-awesome/_list.less +0 -18
- package/src/components/less/fonts/font-awesome/_mixins.less +0 -103
- package/src/components/less/fonts/font-awesome/_rotated-flipped.less +0 -31
- package/src/components/less/fonts/font-awesome/_screen-reader.less +0 -14
- package/src/components/less/fonts/font-awesome/_shims.less +0 -2042
- package/src/components/less/fonts/font-awesome/_sizing.less +0 -19
- package/src/components/less/fonts/font-awesome/_stacked.less +0 -31
- package/src/components/less/fonts/font-awesome/_variables.less +0 -9283
- package/src/components/less/fonts/font-awesome/brands.less +0 -29
- package/src/components/less/fonts/font-awesome/duotone.less +0 -68
- package/src/components/less/fonts/font-awesome/fontawesome.less +0 -20
- package/src/components/less/fonts/font-awesome/light.less +0 -25
- package/src/components/less/fonts/font-awesome/regular.less +0 -25
- package/src/components/less/fonts/font-awesome/solid.less +0 -26
- package/src/components/less/fonts/font-awesome/thin.less +0 -25
- package/src/components/less/fonts/font-awesome/v4-shims.less +0 -10
- package/src/fonts/fa-brands-400.ttf +0 -0
- package/src/fonts/fa-duotone-900.ttf +0 -0
- package/src/fonts/fa-duotone-900.woff2 +0 -0
- package/src/fonts/fa-light-300.ttf +0 -0
- package/src/fonts/fa-regular-400.ttf +0 -0
- package/src/fonts/fa-solid-900.ttf +0 -0
- package/src/fonts/fa-thin-100.ttf +0 -0
- package/src/fonts/fa-thin-100.woff2 +0 -0
- package/src/fonts/fa-v4compatibility.ttf +0 -0
- package/src/fonts/fa-v4compatibility.woff2 +0 -0
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
@import './font-awesome
|
|
2
|
-
@import './font-awesome/brands';
|
|
3
|
-
@import './font-awesome/duotone';
|
|
4
|
-
@import './font-awesome/_duotone-icons';
|
|
5
|
-
@import './font-awesome/light';
|
|
6
|
-
@import './font-awesome/regular';
|
|
7
|
-
@import './font-awesome/solid';
|
|
8
|
-
@import './font-awesome/thin';
|
|
1
|
+
@import './font-awesome';
|
|
9
2
|
@import './mfly-webfont';
|
|
10
3
|
@import './poppins';
|
|
11
4
|
@import './roboto';
|
|
@@ -6,16 +6,3 @@
|
|
|
6
6
|
@import './objects/index';
|
|
7
7
|
@import './utilities/index';
|
|
8
8
|
@import './variables/index';
|
|
9
|
-
|
|
10
|
-
// Include fonts
|
|
11
|
-
@import './fonts/font-awesome/fontawesome';
|
|
12
|
-
@import './fonts/font-awesome/brands';
|
|
13
|
-
@import './fonts/font-awesome/duotone';
|
|
14
|
-
@import './fonts/font-awesome/_duotone-icons';
|
|
15
|
-
@import './fonts/font-awesome/light';
|
|
16
|
-
@import './fonts/font-awesome/regular';
|
|
17
|
-
@import './fonts/font-awesome/solid';
|
|
18
|
-
@import './fonts/font-awesome/thin';
|
|
19
|
-
@import './fonts/mfly-webfont';
|
|
20
|
-
@import './fonts/poppins';
|
|
21
|
-
@import './fonts/roboto';
|
|
@@ -383,7 +383,7 @@
|
|
|
383
383
|
</span>
|
|
384
384
|
|
|
385
385
|
<!-- Date picker -->
|
|
386
|
-
<div ng-if="schemaField.type === 'date'" class="c-metadata-form__date-input">
|
|
386
|
+
<div ng-if="schemaField.type === 'date' && !schemaField.required" class="c-metadata-form__date-input">
|
|
387
387
|
<mfly:date-input
|
|
388
388
|
input-id="{{ schemaField.name }}"
|
|
389
389
|
is-disabled="$ctrl.isDisabled || ($ctrl.isBulkEdit && !$ctrl.bulkEnabled[schemaField.name])"
|
|
@@ -392,6 +392,16 @@
|
|
|
392
392
|
</mfly:date-input>
|
|
393
393
|
</div>
|
|
394
394
|
|
|
395
|
+
<div ng-if="schemaField.type === 'date' && schemaField.required" class="c-metadata-form__date-input">
|
|
396
|
+
<mfly:date-input
|
|
397
|
+
input-id="{{ schemaField.name }}"
|
|
398
|
+
is-disabled="$ctrl.isDisabled || ($ctrl.isBulkEdit && !$ctrl.bulkEnabled[schemaField.name])"
|
|
399
|
+
ng-model="$ctrl.metadata[schemaField.name]"
|
|
400
|
+
on-change="$ctrl.change({ [schemaField.name]: value })"
|
|
401
|
+
required="schemaField.required && (!$ctrl.isBulkEdit || $ctrl.bulkEnabled[schemaField.name])">
|
|
402
|
+
</mfly:date-input>
|
|
403
|
+
</div>
|
|
404
|
+
|
|
395
405
|
<!-- Date / time / timezone picker -->
|
|
396
406
|
<div ng-if="schemaField.type === 'datetime'">
|
|
397
407
|
<mfly:date-time-zone-picker
|
|
@@ -139,6 +139,7 @@ export default class RichTextComponentController implements ng.IComponentControl
|
|
|
139
139
|
const userClearedEditor = (this.editor.root.innerHTML === `<p><br></p>`)
|
|
140
140
|
if (userClearedEditor) {
|
|
141
141
|
// reset the color picker to the default by passing an undefined range
|
|
142
|
+
this.editor.root.innerHTML = ''
|
|
142
143
|
this.updateColorDisplay(undefined)
|
|
143
144
|
this.ngModelCtrl.$setViewValue(undefined)
|
|
144
145
|
this.manageValidity()
|
|
@@ -169,14 +170,6 @@ export default class RichTextComponentController implements ng.IComponentControl
|
|
|
169
170
|
this.updateColorDisplay(range)
|
|
170
171
|
|
|
171
172
|
// if get format is empty we can switch to the defaults
|
|
172
|
-
if (!format.color && !this.selectedColor) {
|
|
173
|
-
this.editor.format('color', this.DEFAULT_COLOR)
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
if (!format.color && this.selectedColor) {
|
|
177
|
-
this.editor.format('color', this.selectedColor)
|
|
178
|
-
}
|
|
179
|
-
|
|
180
173
|
if (!format.size) {
|
|
181
174
|
$('.ql-size').val(this.DEFAULT_SIZE)
|
|
182
175
|
$('#editorSize .ql-picker-label').attr('data-value',this.DEFAULT_SIZE)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1467,7 +1467,7 @@
|
|
|
1467
1467
|
"affectsGlobalScope": false
|
|
1468
1468
|
},
|
|
1469
1469
|
"./src/app/forms/metadata/metadata.page.ts": {
|
|
1470
|
-
"version": "
|
|
1470
|
+
"version": "3a9cd0f108ed5681430e1a1776a42a98d04b96b572d3a12bf626893a1132dafa",
|
|
1471
1471
|
"signature": "6ced12f5d9fe1149bdc9fac45a81361f0ce97fc1f91b60f3976434254e10ab21",
|
|
1472
1472
|
"affectsGlobalScope": false
|
|
1473
1473
|
},
|
|
@@ -2012,7 +2012,7 @@
|
|
|
2012
2012
|
"affectsGlobalScope": false
|
|
2013
2013
|
},
|
|
2014
2014
|
"./src/components/rich-text/rich-text.component.ts": {
|
|
2015
|
-
"version": "
|
|
2015
|
+
"version": "7b14a97a30b1ca652187638d0f289bfea8d65ab787e52f3b4b9c6667fbad882d",
|
|
2016
2016
|
"signature": "5d72d8ee5085468e11eee646b9322ade6ae8b9739ef3c47fee36b7242923311a",
|
|
2017
2017
|
"affectsGlobalScope": false
|
|
2018
2018
|
},
|
|
@@ -2791,7 +2791,7 @@
|
|
|
2791
2791
|
"target": 2,
|
|
2792
2792
|
"inlineSourceMap": false,
|
|
2793
2793
|
"declarationMap": false,
|
|
2794
|
-
"pathsBasePath": "/Users/
|
|
2794
|
+
"pathsBasePath": "/Users/bling/code/js-ui",
|
|
2795
2795
|
"configFilePath": "./tsconfig.json"
|
|
2796
2796
|
},
|
|
2797
2797
|
"referencedMap": {
|
|
@@ -5481,7 +5481,7 @@
|
|
|
5481
5481
|
"./node_modules/fast-glob/out/index.d.ts"
|
|
5482
5482
|
],
|
|
5483
5483
|
"./node_modules/@types/uglify-js/index.d.ts": [
|
|
5484
|
-
"./node_modules
|
|
5484
|
+
"./node_modules/postcss/node_modules/source-map/source-map.d.ts"
|
|
5485
5485
|
],
|
|
5486
5486
|
"./node_modules/@types/webpack-sources/index.d.ts": [
|
|
5487
5487
|
"./node_modules/@types/node/index.d.ts",
|
|
@@ -5561,9 +5561,9 @@
|
|
|
5561
5561
|
"./node_modules/@types/node/index.d.ts",
|
|
5562
5562
|
"./node_modules/@types/tapable/index.d.ts",
|
|
5563
5563
|
"./node_modules/@types/uglify-js/index.d.ts",
|
|
5564
|
-
"./node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts",
|
|
5565
5564
|
"./node_modules/@types/webpack-sources/index.d.ts",
|
|
5566
|
-
"./node_modules/anymatch/index.d.ts"
|
|
5565
|
+
"./node_modules/anymatch/index.d.ts",
|
|
5566
|
+
"./node_modules/postcss/node_modules/source-map/source-map.d.ts"
|
|
5567
5567
|
],
|
|
5568
5568
|
"./node_modules/@uirouter/angularjs/lib/directives/viewDirective.d.ts": [
|
|
5569
5569
|
"./node_modules/@uirouter/angularjs/lib/directives/stateDirectives.d.ts",
|
|
@@ -6303,7 +6303,7 @@
|
|
|
6303
6303
|
"./src/app/forms/date-time-pickers/date-time-pickers.route.ts"
|
|
6304
6304
|
],
|
|
6305
6305
|
"./src/app/forms/date-tz-picker/date-tz-picker.page.ts": [
|
|
6306
|
-
"./node_modules/moment/moment.d.ts"
|
|
6306
|
+
"./node_modules/moment/ts3.1-typings/moment.d.ts"
|
|
6307
6307
|
],
|
|
6308
6308
|
"./src/app/forms/date-tz-picker/index.ts": [
|
|
6309
6309
|
"./src/app/forms/date-tz-picker/date-tz-picker.page.ts",
|
|
@@ -6452,6 +6452,7 @@
|
|
|
6452
6452
|
"./src/components/dropdown/dropdown.ts"
|
|
6453
6453
|
],
|
|
6454
6454
|
"./src/components/feedback/clipboard.service.ts": [
|
|
6455
|
+
"./node_modules/clipboard/src/clipboard.d.ts",
|
|
6455
6456
|
"./src/components/feedback/feedback.component.ts",
|
|
6456
6457
|
"./src/components/feedback/feedback.service.ts"
|
|
6457
6458
|
],
|
package/webpack.config.js
CHANGED
|
@@ -83,6 +83,7 @@ module.exports = (options = {}) => {
|
|
|
83
83
|
entry: {
|
|
84
84
|
bundle: './src/index.js',
|
|
85
85
|
components: './src/components/index.ts',
|
|
86
|
+
fonts: './src/components/less/fonts/index.less',
|
|
86
87
|
styles: './src/index.less',
|
|
87
88
|
standalone: './src/components/less/standalone.less',
|
|
88
89
|
},
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
// animating icons
|
|
2
|
-
// --------------------------
|
|
3
|
-
|
|
4
|
-
.@{fa-css-prefix}-beat {
|
|
5
|
-
animation-name: ~'@{fa-css-prefix}-beat';
|
|
6
|
-
animation-delay: ~'var(--@{fa-css-prefix}-animation-delay, 0)';
|
|
7
|
-
animation-direction: ~'var(--@{fa-css-prefix}-animation-direction, normal)';
|
|
8
|
-
animation-duration: ~'var(--@{fa-css-prefix}-animation-duration, 1s)';
|
|
9
|
-
animation-iteration-count: ~'var(--@{fa-css-prefix}-animation-iteration-count, infinite)';
|
|
10
|
-
animation-timing-function: ~'var(--@{fa-css-prefix}-animation-timing, ease-in-out)';
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.@{fa-css-prefix}-bounce {
|
|
14
|
-
animation-name: ~'@{fa-css-prefix}-beat';
|
|
15
|
-
animation-delay: ~'var(--@{fa-css-prefix}-animation-delay, 0)';
|
|
16
|
-
animation-direction: ~'var(--@{fa-css-prefix}-animation-direction, normal)';
|
|
17
|
-
animation-duration: ~'var(--@{fa-css-prefix}-animation-duration, 1s)';
|
|
18
|
-
animation-iteration-count: ~'var(--@{fa-css-prefix}-animation-iteration-count, infinite)';
|
|
19
|
-
animation-timing-function: ~'var(--@{fa-css-prefix}-animation-timing, cubic-bezier(0.280, 0.840, 0.420, 1))';
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.@{fa-css-prefix}-fade {
|
|
23
|
-
animation-name: ~'@{fa-css-prefix}-fade';
|
|
24
|
-
animation-delay: ~'var(--@{fa-css-prefix}-animation-delay, 0)';
|
|
25
|
-
animation-direction: ~'var(--@{fa-css-prefix}-animation-direction, normal)';
|
|
26
|
-
animation-duration: ~'var(--@{fa-css-prefix}-animation-duration, 1s)';
|
|
27
|
-
animation-iteration-count: ~'var(--@{fa-css-prefix}-animation-iteration-count, infinite)';
|
|
28
|
-
animation-timing-function: ~'var(--@{fa-css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1))';
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.@{fa-css-prefix}-beat-fade {
|
|
32
|
-
animation-name: ~'@{fa-css-prefix}-beat-fade';
|
|
33
|
-
animation-delay: ~'var(--@{fa-css-prefix}-animation-delay, 0)';
|
|
34
|
-
animation-direction: ~'var(--@{fa-css-prefix}-animation-direction, normal)';
|
|
35
|
-
animation-duration: ~'var(--@{fa-css-prefix}-animation-duration, 1s)';
|
|
36
|
-
animation-iteration-count: ~'var(--@{fa-css-prefix}-animation-iteration-count, infinite)';
|
|
37
|
-
animation-timing-function: ~'var(--@{fa-css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1))';
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.@{fa-css-prefix}-flip {
|
|
41
|
-
animation-name: ~'@{fa-css-prefix}-flip';
|
|
42
|
-
animation-delay: ~'var(--@{fa-css-prefix}-animation-delay, 0)';
|
|
43
|
-
animation-direction: ~'var(--@{fa-css-prefix}-animation-direction, normal)';
|
|
44
|
-
animation-duration: ~'var(--@{fa-css-prefix}-animation-duration, 1s)';
|
|
45
|
-
animation-iteration-count: ~'var(--@{fa-css-prefix}-animation-iteration-count, infinite)';
|
|
46
|
-
animation-timing-function: ~'var(--@{fa-css-prefix}-animation-timing, ease-in-out)';
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.@{fa-css-prefix}-shake {
|
|
50
|
-
animation-name: ~'@{fa-css-prefix}-shake';
|
|
51
|
-
animation-delay: ~'var(--@{fa-css-prefix}-animation-delay, 0)';
|
|
52
|
-
animation-direction: ~'var(--@{fa-css-prefix}-animation-direction, normal)';
|
|
53
|
-
animation-duration: ~'var(--@{fa-css-prefix}-animation-duration, 1s)';
|
|
54
|
-
animation-iteration-count: ~'var(--@{fa-css-prefix}-animation-iteration-count, infinite)';
|
|
55
|
-
animation-timing-function: ~'var(--@{fa-css-prefix}-animation-timing, ease-in-out)';
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.@{fa-css-prefix}-spin {
|
|
59
|
-
animation-name: ~'@{fa-css-prefix}-spin';
|
|
60
|
-
animation-delay: ~'var(--@{fa-css-prefix}-animation-delay, 0)';
|
|
61
|
-
animation-direction: ~'var(--@{fa-css-prefix}-animation-direction, normal)';
|
|
62
|
-
animation-duration: ~'var(--@{fa-css-prefix}-animation-duration, 2s)';
|
|
63
|
-
animation-iteration-count: ~'var(--@{fa-css-prefix}-animation-iteration-count, infinite)';
|
|
64
|
-
animation-timing-function: ~'var(--@{fa-css-prefix}-animation-timing, linear)';
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.@{fa-css-prefix}-spin-reverse {
|
|
68
|
-
--@{fa-css-prefix}-animation-direction: reverse;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.@{fa-css-prefix}-pulse,
|
|
72
|
-
.@{fa-css-prefix}-spin-pulse {
|
|
73
|
-
animation-name: ~'@{fa-css-prefix}-spin';
|
|
74
|
-
animation-direction: ~'var(--@{fa-css-prefix}-animation-direction, normal)';
|
|
75
|
-
animation-duration: ~'var(--@{fa-css-prefix}-animation-duration, 1s)';
|
|
76
|
-
animation-iteration-count: ~'var(--@{fa-css-prefix}-animation-iteration-count, infinite)';
|
|
77
|
-
animation-timing-function: ~'var(--@{fa-css-prefix}-animation-timing, steps(8));';
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// if agent or operating system prefers reduced motion, disable animations
|
|
81
|
-
// see: https://www.smashingmagazine.com/2020/09/design-reduced-motion-sensitivities/
|
|
82
|
-
// see: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
|
|
83
|
-
@media (prefers-reduced-motion: reduce) {
|
|
84
|
-
.@{fa-css-prefix}-beat,
|
|
85
|
-
.@{fa-css-prefix}-bounce,
|
|
86
|
-
.@{fa-css-prefix}-fade,
|
|
87
|
-
.@{fa-css-prefix}-beat-fade,
|
|
88
|
-
.@{fa-css-prefix}-flip,
|
|
89
|
-
.@{fa-css-prefix}-pulse,
|
|
90
|
-
.@{fa-css-prefix}-shake,
|
|
91
|
-
.@{fa-css-prefix}-spin,
|
|
92
|
-
.@{fa-css-prefix}-spin-pulse {
|
|
93
|
-
animation-delay: -1ms;
|
|
94
|
-
animation-duration: 1ms;
|
|
95
|
-
animation-iteration-count: 1;
|
|
96
|
-
transition-delay: 0s;
|
|
97
|
-
transition-duration: 0s;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@keyframes ~'@{fa-css-prefix}-beat' {
|
|
102
|
-
0%, 90% { transform: scale(1); }
|
|
103
|
-
45% { transform: ~'scale(var(--@{fa-css-prefix}-beat-scale, 1.25))'; }
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@keyframes ~'@{fa-css-prefix}-bounce' {
|
|
107
|
-
0% { transform: scale(1,1) translateY(0); }
|
|
108
|
-
10% { transform: ~'scale(var(--#{$fa-css-prefix}-bounce-start-scale-x, 1.1),var(--#{$fa-css-prefix}-bounce-start-scale-y, 0.9))' translateY(0); }
|
|
109
|
-
30% { transform: ~'scale(var(--#{$fa-css-prefix}-bounce-jump-scale-x, 0.9),var(--#{$fa-css-prefix}-bounce-jump-scale-y, 1.1))' ~'translateY(var(--#{$fa-css-prefix}-bounce-height, -0.5em))'; }
|
|
110
|
-
50% { transform: ~'scale(var(--#{$fa-css-prefix}-bounce-land-scale-x, 1.05),var(--#{$fa-css-prefix}-bounce-land-scale-y, 0.95))' translateY(0); }
|
|
111
|
-
57% { transform: ~'scale(1,1) translateY(var(--#{$fa-css-prefix}-bounce-rebound, -0.125em))'; }
|
|
112
|
-
64% { transform: scale(1,1) translateY(0); }
|
|
113
|
-
100% { transform: scale(1,1) translateY(0); }
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@keyframes ~'@{fa-css-prefix}-fade' {
|
|
117
|
-
50% { opacity: ~'var(--@{fa-css-prefix}-fade-opacity, 0.4)'; }
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@keyframes ~'@{fa-css-prefix}-beat-fade' {
|
|
121
|
-
0%, 100% {
|
|
122
|
-
opacity: ~'var(--@{fa-css-prefix}-beat-fade-opacity, 0.4)';
|
|
123
|
-
transform: scale(1);
|
|
124
|
-
}
|
|
125
|
-
50% {
|
|
126
|
-
opacity: 1;
|
|
127
|
-
transform: ~'scale(var(--@{fa-css-prefix}-beat-fade-scale, 1.125))';
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
@keyframes ~'@{fa-css-prefix}-flip' {
|
|
132
|
-
50% {
|
|
133
|
-
transform: ~'rotate3d(var(--@{fa-css-prefix}-flip-x, 0), var(--@{fa-css-prefix}-flip-y, 1), var(--@{fa-css-prefix}-flip-z, 0), var(--@{fa-css-prefix}-flip-angle, -180deg))';
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
@keyframes ~'@{fa-css-prefix}-shake' {
|
|
138
|
-
0% { transform: rotate(-15deg); }
|
|
139
|
-
4% { transform: rotate(15deg); }
|
|
140
|
-
8%, 24% { transform: rotate(-18deg); }
|
|
141
|
-
12%, 28% { transform: rotate(18deg); }
|
|
142
|
-
16% { transform: rotate(-22deg); }
|
|
143
|
-
20% { transform: rotate(22deg); }
|
|
144
|
-
32% { transform: rotate(-12deg); }
|
|
145
|
-
36% { transform: rotate(12deg); }
|
|
146
|
-
40%, 100% { transform: rotate(0deg); }
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
@keyframes ~'@{fa-css-prefix}-spin' {
|
|
150
|
-
0% { transform: rotate(0deg); }
|
|
151
|
-
100% { transform: rotate(360deg); }
|
|
152
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// bordered + pulled icons
|
|
2
|
-
// -------------------------
|
|
3
|
-
|
|
4
|
-
.@{fa-css-prefix}-border {
|
|
5
|
-
border-color: ~'var(--@{fa-css-prefix}-border-color, @{fa-border-color})';
|
|
6
|
-
border-radius: ~'var(--@{fa-css-prefix}-border-radius, @{fa-border-radius})';
|
|
7
|
-
border-style: ~'var(--@{fa-css-prefix}-border-style, @{fa-border-style})';
|
|
8
|
-
border-width: ~'var(--@{fa-css-prefix}-border-width, @{fa-border-width})';
|
|
9
|
-
padding: ~'var(--@{fa-css-prefix}-border-padding, @{fa-border-padding})';
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.@{fa-css-prefix}-pull-left {
|
|
13
|
-
float: left;
|
|
14
|
-
margin-right: ~'var(--@{fa-css-prefix}-pull-margin, @{fa-pull-margin})';
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.@{fa-css-prefix}-pull-right {
|
|
18
|
-
float: right;
|
|
19
|
-
margin-left: ~'var(--@{fa-css-prefix}-pull-margin, @{fa-pull-margin})';
|
|
20
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// base icon class definition
|
|
2
|
-
// -------------------------
|
|
3
|
-
|
|
4
|
-
.@{fa-css-prefix} {
|
|
5
|
-
font-family: ~'var(--@{fa-css-prefix}-style-family, @{fa-style-family})';
|
|
6
|
-
font-weight: ~'var(--@{fa-css-prefix}-style, @{fa-style})';
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.@{fa-css-prefix},
|
|
10
|
-
.fas,
|
|
11
|
-
.@{fa-css-prefix}-solid,
|
|
12
|
-
.far,
|
|
13
|
-
.@{fa-css-prefix}-regular,
|
|
14
|
-
.fal,
|
|
15
|
-
.@{fa-css-prefix}-light,
|
|
16
|
-
.fat,
|
|
17
|
-
.@{fa-css-prefix}-thin,
|
|
18
|
-
.fad,
|
|
19
|
-
.@{fa-css-prefix}-duotone,
|
|
20
|
-
.fab,
|
|
21
|
-
.@{fa-css-prefix}-brands {
|
|
22
|
-
-moz-osx-font-smoothing: grayscale;
|
|
23
|
-
-webkit-font-smoothing: antialiased;
|
|
24
|
-
display: ~'var(--@{fa-css-prefix}-display, @{fa-display})';
|
|
25
|
-
font-style: normal;
|
|
26
|
-
font-variant: normal;
|
|
27
|
-
text-rendering: auto;
|
|
28
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// specific duotone icon class definition
|
|
2
|
-
// -------------------------
|
|
3
|
-
|
|
4
|
-
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
|
5
|
-
readers do not read off random characters that represent icons */
|
|
6
|
-
|
|
7
|
-
each(.fa-icons(), {
|
|
8
|
-
.fad.@{fa-css-prefix}-@{key}::after, .@{fa-css-prefix}-duotone.@{fa-css-prefix}-@{key}::after {
|
|
9
|
-
content: %("%s%s", @value, @value);
|
|
10
|
-
}
|
|
11
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// specific icon class definition
|
|
2
|
-
// -------------------------
|
|
3
|
-
|
|
4
|
-
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
|
5
|
-
readers do not read off random characters that represent icons */
|
|
6
|
-
|
|
7
|
-
each(.fa-icons(), {
|
|
8
|
-
.@{fa-css-prefix}-@{key}::before { content: @value; }
|
|
9
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// icons in a list
|
|
2
|
-
// -------------------------
|
|
3
|
-
|
|
4
|
-
.@{fa-css-prefix}-ul {
|
|
5
|
-
list-style-type: none;
|
|
6
|
-
margin-left: ~'var(--@{fa-css-prefix}-li-margin, @{fa-li-margin})';
|
|
7
|
-
padding-left: 0;
|
|
8
|
-
|
|
9
|
-
> li { position: relative; }
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.@{fa-css-prefix}-li {
|
|
13
|
-
left: calc(~'var(--@{fa-css-prefix}-li-width, @{fa-li-width})' * -1);
|
|
14
|
-
position: absolute;
|
|
15
|
-
text-align: center;
|
|
16
|
-
width: ~'var(--@{fa-css-prefix}-li-width, @{fa-li-width})';
|
|
17
|
-
line-height: inherit;
|
|
18
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
// mixins
|
|
2
|
-
// --------------------------
|
|
3
|
-
|
|
4
|
-
// base rendering for an icon
|
|
5
|
-
.fa-icon() {
|
|
6
|
-
-moz-osx-font-smoothing: grayscale;
|
|
7
|
-
-webkit-font-smoothing: antialiased;
|
|
8
|
-
display: inline-block;
|
|
9
|
-
font-style: normal;
|
|
10
|
-
font-variant: normal;
|
|
11
|
-
font-weight: normal;
|
|
12
|
-
line-height: 1;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// sets relative font-sizing and alignment (in _sizing)
|
|
16
|
-
.fa-size(@font-size) {
|
|
17
|
-
font-size: (@font-size / @fa-size-scale-base) * 1em; // converts step in sizing scale into an em-based value that's relative to the scale's base
|
|
18
|
-
line-height: (1 / @font-size) * 1em; // sets the line-height of the icon back to that of it's parent
|
|
19
|
-
vertical-align: ((6 / @font-size) - (3 / 8)) * 1em; // vertically centers the icon taking into account the surrounding text's descender
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// only display content to screen readers
|
|
23
|
-
// see: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
|
|
24
|
-
// see: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/
|
|
25
|
-
.fa-sr-only() {
|
|
26
|
-
position: absolute;
|
|
27
|
-
width: 1px;
|
|
28
|
-
height: 1px;
|
|
29
|
-
padding: 0;
|
|
30
|
-
margin: -1px;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
clip: rect(0, 0, 0, 0);
|
|
33
|
-
white-space: nowrap;
|
|
34
|
-
border-width: 0;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// use in conjunction with .sr-only to only display content when it's focused
|
|
38
|
-
.fa-sr-only-focusable() {
|
|
39
|
-
&:not(:focus) {
|
|
40
|
-
.fa-sr-only();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// convenience mixins for declaring pseudo-elements by CSS variable,
|
|
45
|
-
// including all style-specific font properties, and both the ::before
|
|
46
|
-
// and ::after elements in the duotone case.
|
|
47
|
-
.fa-icon-solid(@fa-var) {
|
|
48
|
-
.fa-icon;
|
|
49
|
-
.fa-solid;
|
|
50
|
-
|
|
51
|
-
&::before {
|
|
52
|
-
content: @fa-var;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.fa-icon-regular(@fa-var) {
|
|
57
|
-
.fa-icon;
|
|
58
|
-
.fa-regular;
|
|
59
|
-
|
|
60
|
-
&::before {
|
|
61
|
-
content: @fa-var;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.fa-icon-light(@fa-var) {
|
|
66
|
-
.fa-icon;
|
|
67
|
-
.fa-light;
|
|
68
|
-
|
|
69
|
-
&::before {
|
|
70
|
-
content: @fa-var;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.fa-icon-thin(@fa-var) {
|
|
75
|
-
.fa-icon;
|
|
76
|
-
.fa-thin;
|
|
77
|
-
|
|
78
|
-
&::before {
|
|
79
|
-
content: @fa-var;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.fa-icon-duotone(@fa-var) {
|
|
84
|
-
.fa-icon;
|
|
85
|
-
&:extend(.fa-duotone all); // extends all pseudo-element selectors/rules inside of .fa-duotone
|
|
86
|
-
|
|
87
|
-
&::before {
|
|
88
|
-
content: @fa-var;
|
|
89
|
-
}
|
|
90
|
-
&::after {
|
|
91
|
-
content: %("%s%s", @fa-var, @fa-var);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.fa-icon-brands(@fa-var) {
|
|
96
|
-
.fa-icon;
|
|
97
|
-
.fa-brands;
|
|
98
|
-
|
|
99
|
-
&::before {
|
|
100
|
-
content: @fa-var;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// rotating + flipping icons
|
|
2
|
-
// -------------------------
|
|
3
|
-
|
|
4
|
-
.@{fa-css-prefix}-rotate-90 {
|
|
5
|
-
transform: rotate(90deg);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.@{fa-css-prefix}-rotate-180 {
|
|
9
|
-
transform: rotate(180deg);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.@{fa-css-prefix}-rotate-270 {
|
|
13
|
-
transform: rotate(270deg);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.@{fa-css-prefix}-flip-horizontal {
|
|
17
|
-
transform: scale(-1, 1);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.@{fa-css-prefix}-flip-vertical {
|
|
21
|
-
transform: scale(1, -1);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.@{fa-css-prefix}-flip-both,
|
|
25
|
-
.@{fa-css-prefix}-flip-horizontal.@{fa-css-prefix}-flip-vertical {
|
|
26
|
-
transform: scale(-1, -1);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.@{fa-css-prefix}-rotate-by {
|
|
30
|
-
transform: rotate(~'var(--@{fa-css-prefix}-rotate-angle, none)');
|
|
31
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// screen-reader utilities
|
|
2
|
-
// -------------------------
|
|
3
|
-
|
|
4
|
-
// only display content to screen readers
|
|
5
|
-
.sr-only,
|
|
6
|
-
.@{fa-css-prefix}-sr-only {
|
|
7
|
-
.fa-sr-only();
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// use in conjunction with .sr-only to only display content when it's focused
|
|
11
|
-
.sr-only-focusable,
|
|
12
|
-
.@{fa-css-prefix}-sr-only-focusable {
|
|
13
|
-
.fa-sr-only-focusable();
|
|
14
|
-
}
|