senangwebs-aframe-editor 1.6.5

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 (104) hide show
  1. package/.babelrc +3 -0
  2. package/.editorconfig +12 -0
  3. package/.eslintignore +2 -0
  4. package/.eslintrc +40 -0
  5. package/.github/workflows/ci.yml +39 -0
  6. package/.husky/pre-commit +4 -0
  7. package/.prettierignore +1 -0
  8. package/.prettierrc.json +5 -0
  9. package/.stylelintrc +12 -0
  10. package/LICENSE +21 -0
  11. package/README.md +75 -0
  12. package/assets/gltf.svg +49 -0
  13. package/dist/aframe-inspector.js +106250 -0
  14. package/dist/aframe-inspector.js.map +1 -0
  15. package/dist/aframe-inspector.min.js +29040 -0
  16. package/dist/aframe-inspector.min.js.LICENSE.txt +56 -0
  17. package/dist/aframe-inspector.min.js.map +1 -0
  18. package/examples/360video.html +48 -0
  19. package/examples/colors.html +18 -0
  20. package/examples/controllers.html +60 -0
  21. package/examples/embedded-zoom.html +78 -0
  22. package/examples/embedded.html +79 -0
  23. package/examples/empty.html +13 -0
  24. package/examples/index-aframe.html +66 -0
  25. package/examples/index.html +71 -0
  26. package/examples/supercraft.html +6 -0
  27. package/index.html +8 -0
  28. package/package.json +84 -0
  29. package/senangwebs-webverse-editor.png +0 -0
  30. package/src/components/AwesomeIcon.js +53 -0
  31. package/src/components/Collapsible.js +57 -0
  32. package/src/components/EntityRepresentation.js +83 -0
  33. package/src/components/Main.js +222 -0
  34. package/src/components/__tests__/Collapsible.test.js +30 -0
  35. package/src/components/components/AddComponent.js +104 -0
  36. package/src/components/components/CommonComponents.js +160 -0
  37. package/src/components/components/Component.js +151 -0
  38. package/src/components/components/ComponentsContainer.js +52 -0
  39. package/src/components/components/DefaultComponents.js +1 -0
  40. package/src/components/components/Mixins.js +83 -0
  41. package/src/components/components/PropertyRow.js +145 -0
  42. package/src/components/components/Sidebar.js +51 -0
  43. package/src/components/icons/BackViewIcon.js +27 -0
  44. package/src/components/icons/BottomViewIcon.js +26 -0
  45. package/src/components/icons/FrontViewIcon.js +23 -0
  46. package/src/components/icons/LeftViewIcon.js +24 -0
  47. package/src/components/icons/PerspectiveIcon.js +23 -0
  48. package/src/components/icons/PrimitiveBoxIcon.js +143 -0
  49. package/src/components/icons/PrimitiveConeIcon.js +44 -0
  50. package/src/components/icons/PrimitiveCylinderIcon.js +51 -0
  51. package/src/components/icons/PrimitiveEmptyEntityIcon.js +78 -0
  52. package/src/components/icons/PrimitiveImageIcon.js +86 -0
  53. package/src/components/icons/PrimitiveLightIcon.js +107 -0
  54. package/src/components/icons/PrimitivePlaneIcon.js +87 -0
  55. package/src/components/icons/PrimitiveSphereIcon.js +39 -0
  56. package/src/components/icons/PrimitiveTextIcon.js +89 -0
  57. package/src/components/icons/PrimitiveTorusIcon.js +31 -0
  58. package/src/components/icons/RightViewIcon.js +24 -0
  59. package/src/components/icons/TopViewIcon.js +24 -0
  60. package/src/components/modals/Modal.js +107 -0
  61. package/src/components/modals/ModalHelp.js +97 -0
  62. package/src/components/modals/ModalPrimitive.js +114 -0
  63. package/src/components/modals/ModalTextures.js +430 -0
  64. package/src/components/scenegraph/Entity.js +142 -0
  65. package/src/components/scenegraph/SceneGraph.js +337 -0
  66. package/src/components/scenegraph/Toolbar.js +147 -0
  67. package/src/components/viewport/CameraToolbar.js +122 -0
  68. package/src/components/viewport/TransformToolbar.js +102 -0
  69. package/src/components/viewport/ViewportHUD.js +33 -0
  70. package/src/components/widgets/BooleanWidget.js +49 -0
  71. package/src/components/widgets/ColorWidget.js +89 -0
  72. package/src/components/widgets/InputWidget.js +42 -0
  73. package/src/components/widgets/NumberWidget.js +179 -0
  74. package/src/components/widgets/SelectWidget.js +58 -0
  75. package/src/components/widgets/TextureWidget.js +252 -0
  76. package/src/components/widgets/Vec2Widget.js +55 -0
  77. package/src/components/widgets/Vec3Widget.js +58 -0
  78. package/src/components/widgets/Vec4Widget.js +61 -0
  79. package/src/components/widgets/index.js +9 -0
  80. package/src/index.js +301 -0
  81. package/src/lib/EditorControls.js +336 -0
  82. package/src/lib/Events.js +6 -0
  83. package/src/lib/TransformControls.js +1365 -0
  84. package/src/lib/assetsLoader.js +43 -0
  85. package/src/lib/assetsUtils.js +30 -0
  86. package/src/lib/cameras.js +121 -0
  87. package/src/lib/entity.js +556 -0
  88. package/src/lib/history.js +30 -0
  89. package/src/lib/raycaster.js +129 -0
  90. package/src/lib/shortcuts.js +211 -0
  91. package/src/lib/utils.js +118 -0
  92. package/src/lib/viewport.js +268 -0
  93. package/src/style/components.styl +275 -0
  94. package/src/style/entity.styl +22 -0
  95. package/src/style/help.styl +40 -0
  96. package/src/style/index.styl +358 -0
  97. package/src/style/lib.styl +41 -0
  98. package/src/style/primitiveModal.styl +90 -0
  99. package/src/style/scenegraph.styl +173 -0
  100. package/src/style/select.styl +71 -0
  101. package/src/style/textureModal.styl +220 -0
  102. package/src/style/viewport.styl +168 -0
  103. package/src/style/widgets.styl +71 -0
  104. package/webpack.config.js +65 -0
@@ -0,0 +1,275 @@
1
+ @import './lib';
2
+
3
+ propertyRowDefined() {
4
+ .propertyRowDefined {
5
+ {block}
6
+ }
7
+ }
8
+
9
+ .sidebar-header
10
+ height 16px
11
+ font-weight 600
12
+ color white
13
+
14
+ .componentHeader.title
15
+ height 40px
16
+ width 100%
17
+ display flex
18
+ align-items center
19
+ justify-content space-between
20
+ background-color $bg
21
+
22
+ h3
23
+ margin 0px auto 0px 15px
24
+ font-size 14px
25
+ font-family ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
26
+
27
+ a
28
+ width 40px
29
+ height 40px
30
+ display flex
31
+ align-items center
32
+ justify-content center
33
+ font-size 16px
34
+ cursor pointer
35
+
36
+ .components
37
+ background-color $bg
38
+ color #A3A3A3
39
+ overflow auto
40
+ width 100%
41
+
42
+ div.vec2,
43
+ div.vec3,
44
+ div.vec4
45
+ display flex
46
+ gap 4px
47
+
48
+ .vec2 input.number,
49
+ .vec3 input.number
50
+ width 50px
51
+
52
+ .vec4 input.number
53
+ width 34px
54
+
55
+ .collapsible-header
56
+ align-items center
57
+ display flex
58
+ justify-content space-between
59
+ .entityPrint
60
+ color #fff
61
+
62
+ .collapsible-content
63
+ padding 5px 0
64
+ display flex
65
+ flex-direction column
66
+ gap 8px
67
+
68
+ .componentTitle span
69
+ max-width 200px
70
+ overflow hidden
71
+ text-overflow ellipsis
72
+ text-transform uppercase
73
+ white-space nowrap
74
+ color #fff
75
+ font-weight 600
76
+ vertical-align bottom !important
77
+ display flex
78
+
79
+ .collapsible .static
80
+ background $bglight
81
+ border-bottom 2px solid $bg
82
+ box-sizing content-box
83
+ cursor pointer
84
+ padding 12px 10px
85
+ vertical-align bottom
86
+ font-size 12px
87
+ &:hover
88
+ background $bglighter
89
+ /*
90
+ .collapsible
91
+ &.collapsed
92
+ background-color $grayalt
93
+ .static,
94
+ .componentHeaderActions
95
+ color #dedede
96
+ &:hover
97
+ background-color $grayhover
98
+ */
99
+ .collapsible .menu
100
+ text-align right
101
+
102
+ .collapsible .menuafter
103
+ color #bbb
104
+ content '\2807'
105
+ font-size 12px
106
+ padding 5px
107
+ text-align right
108
+
109
+ .collapsible .static
110
+ margin 0
111
+
112
+ .collapsible .static .collapse-button
113
+ border 6px solid transparent
114
+ float left
115
+ height 0
116
+ margin-right 10px
117
+ margin-left 2px
118
+ width 0
119
+
120
+ .collapsible.collapsed .static .collapse-button
121
+ border-left-color $white
122
+ margin-top 4px
123
+
124
+ .collapsible:not(.collapsed) .static .collapse-button
125
+ border-top-color $white
126
+ margin-top 7px
127
+
128
+ .propertyRow
129
+ display flex
130
+ flex-direction column
131
+ font-size 12px
132
+ min-height 30px
133
+ padding 2px 15px
134
+
135
+ .text
136
+ cursor default
137
+ display inline-block
138
+ overflow hidden
139
+ padding-bottom 4px
140
+ text-overflow ellipsis
141
+ vertical-align middle
142
+ width 180px
143
+ text-transform capitalize
144
+
145
+ .map_value
146
+ margin 0 0 0 5px
147
+ width 68px
148
+
149
+ .Select-control
150
+ font-size 11px
151
+ height 24px
152
+
153
+ .Select-placeholder,
154
+ .Select--single > .Select-control .Select-value
155
+ line-height 19px
156
+
157
+ .Select-input
158
+ height 22px
159
+
160
+ input[type=text],
161
+ input[type=number],
162
+ input.string,
163
+ input.number
164
+ background $bgdark
165
+ border-radius 8px
166
+ color white
167
+ min-height 32px
168
+ padding-bottom 1px
169
+ padding-left 8px
170
+ padding-right 8px
171
+ padding-top 1px
172
+ &:last-child
173
+ padding-right 0
174
+
175
+ input.string
176
+ padding-left 8px
177
+ box-sizing border-box
178
+ width 100%
179
+
180
+ input[type=text]:focus,
181
+ input.string:focus
182
+ box-shadow none
183
+
184
+ .color_value
185
+ margin 0 0 0 5px
186
+ width 68px
187
+ letter-spacing 1px
188
+
189
+ .propertyRowDefined .text
190
+ color $red
191
+ font-weight 500
192
+
193
+ .components *
194
+ vertical-align middle
195
+
196
+ span.subcomponent
197
+ color #999
198
+ float none !important
199
+ margin-left 10px
200
+ vertical-align top !important
201
+
202
+ a.help-link
203
+ opacity 0.4
204
+
205
+ a.help-linkhover
206
+ opacity 1
207
+
208
+ #addComponentContainer
209
+ align-items center
210
+ display flex
211
+ flex-direction column
212
+ justify-content center
213
+ padding 20px 10px
214
+ background $bgdark
215
+
216
+ #addComponent
217
+ text-align left
218
+ width 200px
219
+ .select__control
220
+ background #161616
221
+ height 35px
222
+ color $primary
223
+ .option
224
+ display flex
225
+ justify-content space-between
226
+ span
227
+ color $primary
228
+
229
+ #addComponentHeader
230
+ font-size 15px
231
+ margin 5px 0 10px 0
232
+
233
+ input[type=text]:focus
234
+ box-shadow none
235
+
236
+ .Select-menu-outer .is-focused span
237
+ color #fff
238
+
239
+ .component-title
240
+ align-items center
241
+ display flex
242
+
243
+ #componentEntityHeader
244
+ .collapsible-header
245
+ position relative
246
+ .collapse-button
247
+ display none
248
+ .static
249
+ height 14px
250
+ background $bgdark
251
+ .entityPrint
252
+ font-size 14px
253
+ padding-left 5px
254
+ .entityName
255
+ max-width 160px
256
+ top 0
257
+ .entityIcons
258
+ color #FAFAFA
259
+
260
+ #mixinSelect
261
+ width 100%
262
+
263
+ .propertyRow .texture
264
+ display flex
265
+ gap 4px
266
+ input
267
+ margin-left 0
268
+
269
+ #componentEntityHeader .gltfIcon img
270
+ top 0
271
+
272
+ svg
273
+ color $white
274
+ &:hover
275
+ color $primary
@@ -0,0 +1,22 @@
1
+ @import './lib';
2
+
3
+ .entityPrint
4
+ font-family $normalfont
5
+ line-height 1.15em
6
+
7
+ .entityName
8
+ display inline-block
9
+ overflow hidden
10
+ position relative
11
+ text-overflow ellipsis
12
+ top 3px
13
+ white-space nowrap
14
+
15
+ [data-entity-name-type="id"]
16
+ color $red
17
+
18
+ [data-entity-name-type="class"]
19
+ color $green
20
+
21
+ [data-entity-name-type="mixin"]
22
+ color $orange
@@ -0,0 +1,40 @@
1
+ .help-lists
2
+ display flex
3
+ justify-content space-around
4
+
5
+ .help-list
6
+ list-style none
7
+ margin 0
8
+ padding 0 0 10px
9
+ width 350px
10
+
11
+ .help-list li
12
+ margin-right 40px
13
+
14
+ .help-key-unit
15
+ line-height 1.8
16
+ margin-right 2em
17
+ padding 5px 0
18
+
19
+ .help-key
20
+ bottom 2px
21
+ margin-right 4px
22
+ min-width 60px
23
+ position relative
24
+
25
+ .help-key span
26
+ background-color #2e2e2e
27
+ background-repeat repeat-x
28
+ border 1px solid #666
29
+ border-radius 3px
30
+ box-shadow 0 0 5px #000
31
+ color #999
32
+ display inline-block
33
+ font-size 12px
34
+ padding 0 8px
35
+ text-align center
36
+
37
+ .help-key-def
38
+ color #bbb
39
+ display inline-block
40
+ margin-left 1em
@@ -0,0 +1,358 @@
1
+ @import './lib';
2
+
3
+ body.aframe-inspector-opened,
4
+ .toggle-edit
5
+ font-family BlinkMacSystemFont, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif
6
+
7
+ .wf-roboto-n4-active body.aframe-inspector-opened,
8
+ .wf-roboto-n4-active .toggle-edit
9
+ font-family BlinkMacSystemFont, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif
10
+
11
+ body.aframe-inspector-opened
12
+ background $bgdark
13
+ color #fff
14
+ font-size 12px
15
+ margin 0
16
+ overflow hidden
17
+
18
+ #aframeInspector
19
+ @import './scenegraph';
20
+ @import './components';
21
+ @import './entity';
22
+ @import './help';
23
+ @import './select';
24
+ @import './textureModal';
25
+ @import './viewport';
26
+ @import './widgets';
27
+ @import './primitiveModal';
28
+
29
+ .Select,
30
+ code,
31
+ pre,
32
+ input,
33
+ textarea,
34
+ select
35
+ font-family $monospace
36
+ font-size 14px
37
+
38
+ .wf-robotomono-n4-active .Select,
39
+ .wf-robotomono-n4-active code,
40
+ .wf-robotomono-n4-active pre,
41
+ .wf-robotomono-n4-active input,
42
+ .wf-robotomono-n4-active textarea,
43
+ .wf-robotomono-n4-active select
44
+ font-family Roboto Mono, Consolas, Andale Mono, Monaco, Courier New, monospace
45
+
46
+ hr
47
+ border 0
48
+ border-top 1px solid #ccc
49
+
50
+ a
51
+ cursor pointer
52
+
53
+ button
54
+ position relative
55
+
56
+ code
57
+ font-family Consolas, Andale Mono, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace
58
+
59
+ textarea
60
+ tab-size 4
61
+ white-space pre
62
+ word-wrap normal
63
+
64
+ textarea.success
65
+ border-color #8b8 !important
66
+
67
+ textarea.fail
68
+ background-color rgba(255, 0, 0, 0.05)
69
+ border-color #f00 !important
70
+
71
+ textarea,
72
+ input
73
+ outline none /* osx */
74
+
75
+ .gltfIcon img
76
+ box-sizing content-box
77
+ display inline
78
+ height 20px
79
+ left 5px
80
+ padding 0 5px
81
+ position relative
82
+ top 4px
83
+ vertical-align baseline
84
+ width 20px
85
+
86
+ #sidebar,
87
+ #scenegraph,
88
+ .panel
89
+ cursor default
90
+ user-select none
91
+
92
+ #sceneActions
93
+ display flex
94
+ flex-direction row
95
+ position absolute
96
+ bottom 0
97
+ z-index 40
98
+ width calc(20rem - 48px)
99
+ height 48px
100
+ background $bg
101
+ padding-left 48px
102
+
103
+ #sceneActions .sceneActionsTitle
104
+ letter-spacing 0.1em
105
+ line-height 1rem
106
+ font-size 0.75rem
107
+ padding 0.25rem
108
+ text-align center
109
+ background #303032
110
+ color #989899
111
+ font-weight 500
112
+
113
+ #sceneActions .sceneActionsButton
114
+ display flex
115
+
116
+ .toggle-edit
117
+ background-color $bg
118
+ box-sizing content-box
119
+ color white
120
+ font-size 12px
121
+ left 0px
122
+ bottom 0px
123
+ line-height normal
124
+ margin 0
125
+ position absolute
126
+ text-align center
127
+ text-decoration none
128
+ width 48px
129
+ height 48px
130
+ display flex
131
+ align-items center
132
+ justify-content center
133
+ z-index 40
134
+ border-top 1px solid $bgdark
135
+
136
+ .toggle-edit:hover
137
+ background-color #141417
138
+ color white
139
+
140
+ svg
141
+ color $red
142
+
143
+ .toggle-save,
144
+ .toggle-live
145
+ background-color $bg
146
+ color white
147
+ height 40px
148
+ display flex
149
+ align-items center
150
+ justify-content center
151
+ border 0
152
+ font-size 16px
153
+ font-weight 500
154
+ cursor pointer
155
+
156
+ .toggle-save:hover,
157
+ .toggle-live:hover
158
+ background-color $bgdark
159
+
160
+ #saveSceneBtn
161
+ width 10rem
162
+
163
+ #liveSceneBtn
164
+ width 10rem
165
+
166
+ input
167
+ border 1px solid #555
168
+ color #fff
169
+
170
+ input,
171
+ .texture canvas
172
+ transition 0.1s background-color ease-in-out, 0.1s border-color ease-in-out, 0.1s color ease-in-out
173
+
174
+ input[type=text],
175
+ input[type=number],
176
+ input.string,
177
+ input.number
178
+ min-height 14px
179
+ outline none
180
+
181
+ input[type="checkbox"]
182
+ appearance auto
183
+ cursor pointer
184
+ margin 0
185
+ height 18px
186
+ width 18px
187
+
188
+ input[type="checkbox"]:focus
189
+ box-shadow none
190
+
191
+ input.number
192
+ border 0
193
+ color white !important
194
+ cursor col-resize
195
+ font-size 14px
196
+ padding 2px
197
+
198
+ input.stringfocus,
199
+ input.numberfocus
200
+ border 1px solid #00FF99
201
+ color #fff
202
+ cursor auto
203
+
204
+ input.error
205
+ border 1px solid #a00
206
+
207
+ #sidebar
208
+ background $bg
209
+ width 100%
210
+ flex-grow 1
211
+ overflow-y auto
212
+
213
+ #sidebar *
214
+ vertical-align middle
215
+
216
+ input,
217
+ textarea,
218
+ select
219
+ background $black
220
+ border 1px solid transparent
221
+ color #888
222
+
223
+ select
224
+ background $bglighter
225
+
226
+ input[type=color]
227
+ background-color #333
228
+ border 1px solid #111
229
+ height 28px
230
+ cursor pointer
231
+
232
+ input[type=color]
233
+ cursor pointer
234
+ height 25px
235
+ padding 0
236
+ width 50px
237
+
238
+ /* Note these vendor-prefixed selectors cannot be grouped! */
239
+ input[type=color]-webkit-color-swatch
240
+ border 0 /* To remove the gray border. */
241
+
242
+ input[type=color]-webkit-color-swatch-wrapper
243
+ padding 0 /* To remove the inner padding. */
244
+
245
+ input[type=color]-moz-color-swatch
246
+ border 0
247
+
248
+ input[type=color]-moz-focus-inner
249
+ border 0 /* To remove the inner border (specific to Firefox). */
250
+ padding 0
251
+
252
+ .hidden
253
+ visibility hidden
254
+
255
+ a.button
256
+ color #A3A3A3
257
+ font-size 16px
258
+ margin-left 8px
259
+ display flex
260
+ align-items center
261
+ justify-content center
262
+ text-decoration none
263
+
264
+ a.buttonhover
265
+ color #00FF99
266
+
267
+ @keyframes animateopacity
268
+ from { opacity: 0 }
269
+ to { opacity: 1 }
270
+
271
+ .hide
272
+ display none
273
+
274
+ .a-canvas.state-dragging
275
+ cursor grabbing
276
+
277
+ #rightPanel
278
+ top 0
279
+ width 20rem
280
+ display flex
281
+ flex-direction column
282
+ height calc(100vh - 48px)
283
+
284
+ #actionBar
285
+ width 100vw
286
+ height 48px
287
+ background $bg
288
+ bottom 0
289
+ position absolute
290
+
291
+ #inspectorContainer
292
+ display flex
293
+ justify-content space-between
294
+ left 0
295
+ height 100%
296
+ pointer-events none
297
+ position fixed
298
+ top 0
299
+ width 100%
300
+ z-index 20
301
+
302
+ #scenegraph,
303
+ #viewportBar,
304
+ #actionBar,
305
+ #leftPanel,
306
+ #rightPanel
307
+ pointer-events all
308
+
309
+ .aframe-inspector-opened a-scene .a-canvas
310
+ background-color #191919
311
+ z-index 9999
312
+
313
+ .toggle-sidebar
314
+ align-items center
315
+ display flex
316
+ height 100%
317
+ position absolute
318
+ z-index 40
319
+
320
+ a
321
+ background-color #262626
322
+ color #A3A3A3
323
+ padding 5px
324
+ z-index 40
325
+
326
+ a.hover
327
+ background-color #007370
328
+ color #fff
329
+
330
+ .toggle-sidebar.left
331
+ top 0
332
+ left 0
333
+
334
+ .toggle-sidebar.right
335
+ top 0
336
+ right 0
337
+
338
+ #rightPanel ::-webkit-scrollbar
339
+ #leftPanel ::-webkit-scrollbar {
340
+ width: 8px;
341
+ height: 8px;
342
+ }
343
+
344
+ #rightPanel ::-webkit-scrollbar-track
345
+ #leftPanel ::-webkit-scrollbar-track {
346
+ background: #18181B;
347
+ }
348
+
349
+ #rightPanel ::-webkit-scrollbar-thumb
350
+ #leftPanel ::-webkit-scrollbar-thumb {
351
+ background: rgba(0, 0, 0, 0.5);
352
+ border-radius: 0;
353
+ }
354
+
355
+ #rightPanel ::-webkit-scrollbar-thumb:hover
356
+ #leftPanel ::-webkit-scrollbar-thumb:hover {
357
+ background: rgba(0, 0, 0, 0.75);
358
+ }
@@ -0,0 +1,41 @@
1
+ $primary=#00FF99
2
+ $primaryhover=lighten(#00FF99, 35%)
3
+
4
+ $bg=#18181B
5
+ $bgdark=#09090B
6
+ $bglight=#18181B
7
+ $bglighter=lighten(#18181B, 10%)
8
+
9
+ $red=#00FF99
10
+ $green=#22D3EE
11
+ $orange=#d66853
12
+
13
+ $black=#222
14
+ $gray=#262626
15
+ $grayalt=#323232
16
+ $grayhover=#444
17
+
18
+ $lightgray=#AAA
19
+ $white=#A3A3A3
20
+
21
+ $normalfont=system-ui, BlinkMacSystemFont, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif
22
+ $monospace=system-ui, BlinkMacSystemFont, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif
23
+
24
+ media--1024() {
25
+ @media (min-width: 1024px) {
26
+ {block}
27
+ }
28
+ }
29
+
30
+ /* CSS rules from the original FontAwesomeIcon component */
31
+ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
32
+ overflow: visible;
33
+ box-sizing: content-box;
34
+ }
35
+
36
+ .svg-inline--fa {
37
+ display: inline-block;
38
+ height: 1em;
39
+ overflow: visible;
40
+ vertical-align: -0.125em;
41
+ }