@unopsitg/ux 21.0.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.
Files changed (77) hide show
  1. package/README.md +56 -0
  2. package/assets/_animations.scss +47 -0
  3. package/assets/_breadcrumb.scss +71 -0
  4. package/assets/_card.scss +11 -0
  5. package/assets/_config.scss +95 -0
  6. package/assets/_content.scss +55 -0
  7. package/assets/_fonts.scss +1 -0
  8. package/assets/_footer.scss +17 -0
  9. package/assets/_main.scss +38 -0
  10. package/assets/_mask.scss +7 -0
  11. package/assets/_paginator.scss +16 -0
  12. package/assets/_responsive.scss +203 -0
  13. package/assets/_sass_variables.scss +2 -0
  14. package/assets/_search.scss +35 -0
  15. package/assets/_tags.scss +90 -0
  16. package/assets/_topbar.scss +250 -0
  17. package/assets/_utils.scss +19 -0
  18. package/assets/fonts/InterDisplay-Black.otf +0 -0
  19. package/assets/fonts/InterDisplay-BlackItalic.otf +0 -0
  20. package/assets/fonts/InterDisplay-Bold.otf +0 -0
  21. package/assets/fonts/InterDisplay-BoldItalic.otf +0 -0
  22. package/assets/fonts/InterDisplay-ExtraBold.otf +0 -0
  23. package/assets/fonts/InterDisplay-ExtraBoldItalic.otf +0 -0
  24. package/assets/fonts/InterDisplay-ExtraLight.otf +0 -0
  25. package/assets/fonts/InterDisplay-ExtraLightItalic.otf +0 -0
  26. package/assets/fonts/InterDisplay-Italic.otf +0 -0
  27. package/assets/fonts/InterDisplay-Light.otf +0 -0
  28. package/assets/fonts/InterDisplay-LightItalic.otf +0 -0
  29. package/assets/fonts/InterDisplay-Medium.otf +0 -0
  30. package/assets/fonts/InterDisplay-MediumItalic.otf +0 -0
  31. package/assets/fonts/InterDisplay-Regular.otf +0 -0
  32. package/assets/fonts/InterDisplay-SemiBold.otf +0 -0
  33. package/assets/fonts/InterDisplay-SemiBoldItalic.otf +0 -0
  34. package/assets/fonts/InterDisplay-Thin.otf +0 -0
  35. package/assets/fonts/InterDisplay-ThinItalic.otf +0 -0
  36. package/assets/layout.scss +20 -0
  37. package/assets/opp/AppLogo/AppLogo-onDark_H.svg +55 -0
  38. package/assets/opp/AppLogo/AppLogo-onDark_V.svg +55 -0
  39. package/assets/opp/AppLogo/AppLogo-onDark_compact.svg +48 -0
  40. package/assets/opp/AppLogo/AppLogo-onLight_H.svg +55 -0
  41. package/assets/opp/AppLogo/AppLogo-onLight_V.svg +55 -0
  42. package/assets/opp/AppLogo-dark-vertical.svg +55 -0
  43. package/assets/opp/drive-download-20260421T141232Z-3-001.zip +0 -0
  44. package/assets/opp/favicon/apple-touch-icon.png +0 -0
  45. package/assets/opp/favicon/favicon-96x96.png +0 -0
  46. package/assets/opp/favicon/favicon.ico +0 -0
  47. package/assets/opp/favicon/favicon.svg +17 -0
  48. package/assets/opp/favicon/web-app-manifest-192x192.png +0 -0
  49. package/assets/opp/favicon/web-app-manifest-512x512.png +0 -0
  50. package/assets/opp/logo-dark-horizontal.svg +55 -0
  51. package/assets/opp/logo-light-horizontal.svg +55 -0
  52. package/assets/opp/unops-logo/UNOPS logo_vertical_RGB.png +0 -0
  53. package/assets/opp/unops-logo/UNOPS logo_vertical_RGB_black.png +0 -0
  54. package/assets/opp/unops-logo/UNOPS logo_vertical_RGB_white.png +0 -0
  55. package/assets/opp/unops-logo/unops-logo_ondark.svg +19 -0
  56. package/assets/opp/unops-logo/unops-logo_onlight.svg +10 -0
  57. package/assets/sidebar/_sidebar.scss +7 -0
  58. package/assets/sidebar/_sidebar_compact.scss +176 -0
  59. package/assets/sidebar/_sidebar_drawer.scss +200 -0
  60. package/assets/sidebar/_sidebar_horizontal.scss +220 -0
  61. package/assets/sidebar/_sidebar_reveal.scss +176 -0
  62. package/assets/sidebar/_sidebar_slim.scss +117 -0
  63. package/assets/sidebar/_sidebar_theme_core.scss +147 -0
  64. package/assets/sidebar/_sidebar_themes.scss +4 -0
  65. package/assets/sidebar/_sidebar_vertical.scss +392 -0
  66. package/assets/sidebar/themes/_dark.scss +31 -0
  67. package/assets/sidebar/themes/_light.scss +16 -0
  68. package/assets/sidebar/themes/_primary.scss +41 -0
  69. package/assets/styles.scss +1 -0
  70. package/assets/tailwind.css +679 -0
  71. package/assets/variables/_common.scss +21 -0
  72. package/assets/variables/_dark.scss +13 -0
  73. package/assets/variables/_light.scss +13 -0
  74. package/fesm2022/unopsitg-ux.mjs +2596 -0
  75. package/fesm2022/unopsitg-ux.mjs.map +1 -0
  76. package/package.json +46 -0
  77. package/types/unopsitg-ux.d.ts +878 -0
package/README.md ADDED
@@ -0,0 +1,56 @@
1
+ # @unopsitg/ux
2
+
3
+ Angular 21 library: UNOPS brand theme (PrimeNG / PrimeUIX), application layout shell, and shared demo types.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @unopsitg/ux
9
+ ```
10
+
11
+ ## Bootstrap
12
+
13
+ ```typescript
14
+ // app.config.ts
15
+ import { ApplicationConfig } from '@angular/core';
16
+ import { providePrimeNG } from 'primeng/config';
17
+ import { BrandSoft, MENU_MODEL, LayoutService } from '@unopsitg/ux';
18
+ import { createDemoAppMenu } from './app/config/app-menu';
19
+ import { environment } from './environments/environment';
20
+
21
+ export const appConfig: ApplicationConfig = {
22
+ providers: [
23
+ providePrimeNG({ theme: { preset: BrandSoft, options: { darkModeSelector: '.app-dark' } } }),
24
+ {
25
+ provide: MENU_MODEL,
26
+ useFactory: (layoutService: LayoutService) =>
27
+ createDemoAppMenu(layoutService, environment.storybookBaseUrl),
28
+ deps: [LayoutService]
29
+ }
30
+ ]
31
+ };
32
+ ```
33
+
34
+ ## Styles and assets
35
+
36
+ Reference library SCSS/Tailwind and copy bundled logos into your app output:
37
+
38
+ ```json
39
+ // angular.json — styles (library bundles layout SCSS via `assets/styles.scss`)
40
+ "styles": [
41
+ "node_modules/@unopsitg/ux/assets/styles.scss",
42
+ "node_modules/@unopsitg/ux/assets/tailwind.css",
43
+ "src/styles.scss"
44
+ ],
45
+ "assets": [
46
+ { "glob": "**/*", "input": "node_modules/@unopsitg/ux/assets/opp", "output": "assets/opp" }
47
+ ]
48
+ ```
49
+
50
+ When developing **inside this monorepo**, use paths under `projects/unops-ux/src/assets/` instead of `node_modules`.
51
+
52
+ ## Tokens
53
+
54
+ - `MENU_MODEL` — injectable menu tree (`MenuItem[]`).
55
+ - `SIDEBAR_LOGO` — expanded/compact logo URLs and `alt` text (defaults match UNOPS assets).
56
+ - `TOPBAR_MOBILE_LOGO` — light/dark mobile header logos.
@@ -0,0 +1,47 @@
1
+ @use './_sass_variables' as *;
2
+
3
+ router-outlet + * {
4
+ display: block;
5
+ animation: fade-in-up 0.35s ease-out both;
6
+ }
7
+
8
+ .card {
9
+ transition: box-shadow 0.25s ease;
10
+
11
+ &:hover {
12
+ box-shadow: $sidebarShadow;
13
+ }
14
+ }
15
+
16
+ /* ── Expand / collapse (grid-row technique) ── */
17
+ .expand-body {
18
+ display: grid;
19
+ grid-template-rows: 0fr;
20
+ opacity: 0;
21
+ transition:
22
+ grid-template-rows 0.3s ease-in,
23
+ opacity 0.3s ease-in;
24
+
25
+ &--open {
26
+ grid-template-rows: 1fr;
27
+ opacity: 1;
28
+ transition:
29
+ grid-template-rows 0.3s ease-out,
30
+ opacity 0.3s ease-out;
31
+ }
32
+
33
+ &__inner {
34
+ overflow: hidden;
35
+ min-height: 0;
36
+ }
37
+ }
38
+
39
+ @media (prefers-reduced-motion: reduce) {
40
+ *,
41
+ *::before,
42
+ *::after {
43
+ animation-duration: 0.01ms !important;
44
+ animation-iteration-count: 1 !important;
45
+ transition-duration: 0.01ms !important;
46
+ }
47
+ }
@@ -0,0 +1,71 @@
1
+ .layout-breadcrumb {
2
+ display: flex;
3
+ align-items: center;
4
+ gap: 0.5rem;
5
+ min-width: 0;
6
+ overflow: hidden;
7
+
8
+ @media screen and (min-width: 768px) {
9
+ gap: 1rem;
10
+ }
11
+
12
+ ol {
13
+ display: flex;
14
+ align-items: center;
15
+ margin: 0;
16
+ padding: 0;
17
+ list-style: none;
18
+ gap: 0.5rem;
19
+
20
+ li {
21
+ white-space: nowrap;
22
+ line-height: 1.5;
23
+ overflow: hidden;
24
+ text-overflow: ellipsis;
25
+ max-width: 10rem;
26
+
27
+ @media screen and (min-width: 768px) {
28
+ max-width: none;
29
+ }
30
+
31
+ a {
32
+ color: var(--p-text-color);
33
+ position: relative;
34
+ text-decoration: none;
35
+ z-index: 0;
36
+ cursor: pointer;
37
+
38
+ &::before {
39
+ background: var(--p-primary-200);
40
+ content: '';
41
+ inset: 0;
42
+ position: absolute;
43
+ transform: scaleX(0);
44
+ transform-origin: right;
45
+ transition: transform 0.3s ease-in-out;
46
+ z-index: -1;
47
+
48
+ .app-dark & {
49
+ background: var(--p-primary-800);
50
+ }
51
+ }
52
+
53
+ &:hover::before {
54
+ transform: scaleX(1);
55
+ transform-origin: left;
56
+ }
57
+
58
+ @media (prefers-reduced-motion: reduce) {
59
+ &::before {
60
+ transition: none;
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+
68
+ .content-breadcrumb {
69
+ margin-bottom: 2rem;
70
+ padding: 0 .5rem;
71
+ }
@@ -0,0 +1,11 @@
1
+ .card {
2
+ margin-bottom: 0;
3
+ }
4
+
5
+ .layout-card-filled .card{
6
+ background: var(--surface-card);
7
+ }
8
+
9
+ .layout-card-transparent .card{
10
+ background: transparent;
11
+ }
@@ -0,0 +1,95 @@
1
+ .layout-config-button {
2
+ display: block;
3
+ position: fixed;
4
+ width: 3rem;
5
+ height: 3rem;
6
+ line-height: 3rem;
7
+ background: var(--primary-color);
8
+ color: var(--primary-contrast-color);
9
+ text-align: center;
10
+ top: 50%;
11
+ right: 0;
12
+ margin-top: -1.5rem;
13
+ border-top-left-radius: var(--border-radius);
14
+ border-bottom-left-radius: var(--border-radius);
15
+ border-top-right-radius: 0;
16
+ border-bottom-right-radius: 0;
17
+ transition: background-color var(--transition-duration);
18
+ overflow: hidden;
19
+ cursor: pointer;
20
+ z-index: 999;
21
+ box-shadow: -0.25rem 0 1rem rgba(0, 0, 0, 0.15);
22
+
23
+ &.config-link {
24
+ font-size: 1rem;
25
+ font-family: 'Noto Sans', sans-serif;
26
+ border: none;
27
+ }
28
+
29
+ .config-link:focus {
30
+ outline: 0 none;
31
+ outline-offset: 0;
32
+ box-shadow: 0 0 0 1px var(--focus-ring-shadow);
33
+ }
34
+
35
+ i {
36
+ font-size: 2rem;
37
+ line-height: inherit;
38
+ transform: rotate(0deg);
39
+ transition: transform 1s;
40
+ }
41
+
42
+ &:hover {
43
+ background: var(--p-primary-400);
44
+ }
45
+ }
46
+
47
+ .app-config-button {
48
+ border: 1px solid var(--border-color);
49
+ background-color: var(--card-background);
50
+ position: relative;
51
+ z-index: 0;
52
+ border-radius: 0px;
53
+ width: 2.5rem;
54
+ height: 2.5rem;
55
+ line-height: 2.5rem;
56
+ text-align: center;
57
+ cursor: pointer;
58
+
59
+ i {
60
+ line-height: inherit;
61
+ font-size: 1.125rem;
62
+ }
63
+ &::before,
64
+ &::after {
65
+ content: '';
66
+ position: absolute;
67
+ inset: 0;
68
+ border: 1px solid var(--p-primary-color);
69
+ transition: all 0.5s;
70
+ animation: clippath 3s infinite linear;
71
+ border-radius: 4px;
72
+ opacity: 1;
73
+ }
74
+
75
+ &::after {
76
+ animation: clippath 3s infinite -1.5s linear;
77
+ }
78
+ }
79
+
80
+ @keyframes clippath {
81
+ 0%,
82
+ 100% {
83
+ clip-path: inset(0 0 90% 0);
84
+ }
85
+
86
+ 25% {
87
+ clip-path: inset(0 90% 0 0);
88
+ }
89
+ 50% {
90
+ clip-path: inset(90% 0 0 0);
91
+ }
92
+ 75% {
93
+ clip-path: inset(0 0 0 90%);
94
+ }
95
+ }
@@ -0,0 +1,55 @@
1
+ @use '_sass_variables' as *;
2
+
3
+ .layout-wrapper {
4
+ height: 100vh;
5
+ display: flex;
6
+ flex-direction: column;
7
+
8
+ > app-configurator,
9
+ > [app-search],
10
+ > [app-rightmenu] {
11
+ flex: none;
12
+ width: 0;
13
+ overflow: visible;
14
+ }
15
+
16
+ }
17
+
18
+ .layout-body {
19
+ flex: 1;
20
+ min-height: 0;
21
+ display: flex;
22
+ position: relative;
23
+ overflow: hidden;
24
+ }
25
+
26
+ .layout-content-wrapper {
27
+ flex: 1;
28
+ min-width: 0;
29
+ min-height: 0;
30
+ overflow-y: auto;
31
+ overflow-x: hidden;
32
+ z-index: 9;
33
+ }
34
+ .layout-content-wrapper-inside {
35
+ width: 100%;
36
+ max-width: 1540px;
37
+ margin-inline: auto;
38
+ min-height: 100%;
39
+ display: flex;
40
+ flex-direction: column;
41
+
42
+ }
43
+ .layout-content {
44
+ padding: 2rem;
45
+ flex: 1 1 auto;
46
+ position: relative;
47
+
48
+ @media screen and (min-width: 576px) {
49
+ padding: 1.5rem;
50
+ }
51
+
52
+ @media screen and (min-width: 992px) {
53
+ padding: 1.5rem;
54
+ }
55
+ }
@@ -0,0 +1 @@
1
+ /* Noto Sans is loaded via Google Fonts CDN in index.html */
@@ -0,0 +1,17 @@
1
+ .layout-footer {
2
+ height: 4rem;
3
+ padding: 1rem;
4
+ display: flex;
5
+ align-items: center;
6
+ justify-content: flex-end;
7
+ text-align: right;
8
+
9
+ @media screen and (min-width: 992px) {
10
+ padding: 2rem;
11
+ }
12
+
13
+ .footer-copyright {
14
+ font-size: var(--font-size-sm);
15
+ color: var(--text-muted-color);
16
+ }
17
+ }
@@ -0,0 +1,38 @@
1
+ @use '_sass_variables' as *;
2
+
3
+ html {
4
+ height: 100%;
5
+ font-size: 16px;
6
+ line-height: 1.5;
7
+ }
8
+
9
+ body {
10
+ font-family: 'Noto Sans', sans-serif;
11
+ font-weight: 400;
12
+ color: var(--text-color);
13
+ background-color: var(--surface-ground);
14
+ padding: 0;
15
+ margin: 0;
16
+ min-height: 100%;
17
+ -webkit-font-smoothing: antialiased;
18
+ -moz-osx-font-smoothing: grayscale;
19
+ }
20
+
21
+ @media screen and (min-width: $breakpoint) {
22
+ :root:not(.app-dark) body {
23
+ background: linear-gradient(355deg, var(--p-primary-100) 5%, var(--p-surface-100) 50%, var(--p-surface-50) 80%);
24
+ }
25
+
26
+ .app-dark body {
27
+ background: linear-gradient(355deg, var(--p-primary-800) 5%, var(--p-surface-900) 60%, var(--p-surface-950) 86%);
28
+ }
29
+ }
30
+
31
+ a {
32
+ text-decoration: none;
33
+ }
34
+
35
+ img {
36
+ max-width: 100%;
37
+ height: auto;
38
+ }
@@ -0,0 +1,7 @@
1
+ .layout-mask {
2
+ display: none;
3
+ position: absolute;
4
+ inset: 0;
5
+ background-color: var(--p-mask-background);
6
+ z-index: 998;
7
+ }
@@ -0,0 +1,16 @@
1
+ // PrimeUIX paginator defaults to flex-wrap: wrap, which splits << < 1 2 3 … > >> across
2
+ // lines in narrow cards. Keep one row; scroll horizontally only if still too tight.
3
+ .p-paginator.p-component {
4
+ flex-wrap: nowrap !important;
5
+ max-width: 100%;
6
+ min-width: 0;
7
+ overflow-x: auto;
8
+ overflow-y: hidden;
9
+ overscroll-behavior-x: contain;
10
+ scrollbar-width: thin;
11
+ }
12
+
13
+ .p-paginator-content {
14
+ flex-wrap: nowrap !important;
15
+ min-width: 0;
16
+ }
@@ -0,0 +1,203 @@
1
+ @use '_sass_variables' as *;
2
+
3
+ @media screen and (min-width: $breakpoint) {
4
+ .layout-static-inactive {
5
+ .layout-sidebar {
6
+ margin-left: -14rem;
7
+ }
8
+ .layout-topbar {
9
+ .menu-button {
10
+ i:before {
11
+ content: '\e901';
12
+ }
13
+ }
14
+ }
15
+ }
16
+
17
+ .layout-overlay {
18
+ .layout-topbar {
19
+ .menu-button {
20
+ i:before {
21
+ content: '\e901';
22
+ }
23
+ }
24
+ }
25
+ .layout-sidebar {
26
+ position: absolute;
27
+ left: 0;
28
+ transform: translateX(-100%);
29
+ background-color: var(--d-sidebar-bg-color);
30
+ z-index: 99999;
31
+ }
32
+ &.layout-overlay-active {
33
+ .layout-sidebar {
34
+ border-right: var(--d-sidebar-border);
35
+ position: absolute;
36
+ transform: translateX(0);
37
+ box-shadow: $sidebarShadow;
38
+ background-color: var(--d-sidebar-bg-color);
39
+ }
40
+ }
41
+ }
42
+
43
+ .layout-mask {
44
+ display: none;
45
+ }
46
+ }
47
+
48
+ @media screen and (max-width: ($breakpoint - 1)) {
49
+ .blocked-scroll {
50
+ overflow: hidden;
51
+ }
52
+
53
+ .layout-body {
54
+ flex: 1;
55
+ min-height: 0;
56
+ position: relative;
57
+ }
58
+
59
+ [app-topbar] {
60
+ height: fit-content;
61
+ }
62
+
63
+ .layout-topbar {
64
+ display: flex;
65
+ flex-direction: row;
66
+ align-items: center;
67
+ justify-content: space-between;
68
+ position: relative;
69
+ width: 100%;
70
+ padding: 0.75rem 1rem;
71
+ height: fit-content;
72
+
73
+ .topbar-left {
74
+ display: none;
75
+ }
76
+
77
+ .topbar-right {
78
+ display: flex;
79
+ align-items: center;
80
+ }
81
+
82
+ .menu-button {
83
+ i:before {
84
+ content: '\e91d';
85
+ }
86
+ }
87
+
88
+ .mobile-logo {
89
+ display: block;
90
+ position: absolute;
91
+ left: 50%;
92
+ top: 50%;
93
+ transform: translate(-50%, -50%);
94
+
95
+ img {
96
+ width: auto;
97
+ height: clamp(1.25rem, 2rem + 1vw, 2.5rem);
98
+ object-fit: contain;
99
+ }
100
+ }
101
+
102
+ .mobile-menu-button {
103
+ display: flex;
104
+ align-items: center;
105
+ justify-content: center;
106
+ width: 2.75rem;
107
+ height: 2.75rem;
108
+ border-radius: 2rem;
109
+ border: none;
110
+ background: transparent;
111
+ padding: 0;
112
+ color: var(--p-primary-600);
113
+ cursor: pointer;
114
+ transition: background-color var(--transition-duration);
115
+
116
+ &:hover {
117
+ background: var(--surface-hover);
118
+ }
119
+
120
+ i {
121
+ font-size: 1rem;
122
+ }
123
+ }
124
+
125
+ .viewname {
126
+ font-size: 1rem;
127
+ }
128
+
129
+ .topbar-menu {
130
+ justify-content: flex-end;
131
+ gap: 0.25rem;
132
+ > li {
133
+ margin-left: 0;
134
+
135
+ &.right-sidebar-item {
136
+ display: none;
137
+ }
138
+
139
+ &.profile-item {
140
+ border-left: 0;
141
+ border-right: 0;
142
+ padding: 0;
143
+ border-radius: 2rem;
144
+
145
+ > a {
146
+ padding: 0;
147
+ }
148
+
149
+ .profile-image {
150
+ width: 2rem;
151
+ height: 2rem;
152
+ margin: 0;
153
+ }
154
+
155
+ .profile-name {
156
+ display: none;
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+ .layout-sidebar {
163
+ position: absolute;
164
+ z-index: 999;
165
+ box-shadow: 0 0 1rem rgba(0, 0, 0, 0.15);
166
+ left: 0;
167
+ transform: translateX(-100%);
168
+
169
+ .layout-topbar {
170
+ display: none;
171
+ }
172
+ }
173
+
174
+ :root:not(.app-dark) .layout-sidebar {
175
+ background: var(--surface-ground);
176
+ }
177
+
178
+ .app-dark .layout-sidebar-dark .layout-sidebar,
179
+ .app-dark .layout-sidebar-light .layout-sidebar {
180
+ background: var(--d-sidebar-bg-color);
181
+ }
182
+
183
+ .layout-mobile-active {
184
+ .layout-sidebar {
185
+ transform: translateX(0);
186
+ }
187
+
188
+ .layout-mask {
189
+ display: block;
190
+ animation: fadein var(--layout-section-transition-duration);
191
+ }
192
+ }
193
+
194
+ .layout-search {
195
+ .search-container {
196
+ width: 90vw;
197
+
198
+ @media screen and (min-width: 576px) {
199
+ width: 75vw;
200
+ }
201
+ }
202
+ }
203
+ }
@@ -0,0 +1,2 @@
1
+ $breakpoint: 992px !default;
2
+ $sidebarShadow: 0px 1px 2px 0px rgba(18, 18, 23, 0.05) !default;
@@ -0,0 +1,35 @@
1
+ .search-container {
2
+ background: var(--surface-overlay);
3
+ display: flex;
4
+ align-items: center;
5
+ font-size: 1.5rem;
6
+ padding: 2rem;
7
+ border-radius: var(--border-radius);
8
+ position: relative;
9
+ box-shadow:
10
+ 0px 11px 15px -7px rgba(0, 0, 0, 0.2),
11
+ 0px 24px 38px 3px rgba(0, 0, 0, 0.14),
12
+ 0px 9px 46px 8px rgba(0, 0, 0, 0.12);
13
+ border: var(--surface-border);
14
+ -webkit-backface-visibility: hidden;
15
+ backface-visibility: hidden;
16
+ pointer-events: all;
17
+
18
+ input {
19
+ appearance: none;
20
+ font-size: 1.5rem;
21
+ text-indent: 2.5rem;
22
+ padding: 0.5rem;
23
+ width: 100%;
24
+ }
25
+
26
+ i {
27
+ color: var(--text-muted-color);
28
+ width: 2rem;
29
+ font-size: 1.5rem;
30
+ position: absolute;
31
+ top: 50%;
32
+ margin-top: -0.75rem;
33
+ margin-left: 1rem;
34
+ }
35
+ }