@egovernments/digit-ui-components-css 0.0.2-beta.10 → 0.0.2-beta.11

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 (48) hide show
  1. package/CHANGELOG.md +88 -84
  2. package/README.md +80 -80
  3. package/dist/index.css +612 -26
  4. package/dist/index.min.css +2 -2
  5. package/package.json +69 -69
  6. package/src/digitv2/components/FormComposerV2.scss +118 -118
  7. package/src/digitv2/components/actionbarV2.scss +207 -0
  8. package/src/digitv2/components/backLinkV2.scss +36 -36
  9. package/src/digitv2/components/bodyContainerV2.scss +39 -39
  10. package/src/digitv2/components/breadcrumbV2.scss +56 -56
  11. package/src/digitv2/components/buttonsV2.scss +451 -426
  12. package/src/digitv2/components/cardV2.scss +497 -484
  13. package/src/digitv2/components/cardbasedoptionsV2.scss +46 -46
  14. package/src/digitv2/components/cardlabelV2.scss +7 -7
  15. package/src/digitv2/components/checkboxV2.scss +83 -83
  16. package/src/digitv2/components/chipV2.scss +129 -129
  17. package/src/digitv2/components/dividerV2.scss +10 -10
  18. package/src/digitv2/components/errorMessageV2.scss +20 -20
  19. package/src/digitv2/components/fieldV1.scss +96 -96
  20. package/src/digitv2/components/headerdropdownV2.scss +152 -0
  21. package/src/digitv2/components/infoCardV2.scss +139 -139
  22. package/src/digitv2/components/infobuttonV2.scss +75 -75
  23. package/src/digitv2/components/labelFieldPairV2.scss +66 -66
  24. package/src/digitv2/components/mobileNumberV2.scss +65 -65
  25. package/src/digitv2/components/multiSelectDropdownV2.scss +315 -315
  26. package/src/digitv2/components/panelCardV2.scss +160 -160
  27. package/src/digitv2/components/panelV2.scss +114 -114
  28. package/src/digitv2/components/popUpV2.scss +330 -319
  29. package/src/digitv2/components/radiobtnV2.scss +115 -115
  30. package/src/digitv2/components/selectDropdownV2.scss +364 -364
  31. package/src/digitv2/components/stepperV2.scss +147 -147
  32. package/src/digitv2/components/textInputV2.scss +462 -462
  33. package/src/digitv2/components/textareaV2.scss +99 -99
  34. package/src/digitv2/components/textblockV2.scss +46 -46
  35. package/src/digitv2/components/timelineV2.scss +171 -159
  36. package/src/digitv2/components/toastV2.scss +80 -80
  37. package/src/digitv2/components/toggleV2.scss +72 -72
  38. package/src/digitv2/components/topbarV2.scss +388 -0
  39. package/src/digitv2/components/treeSelectV2.scss +132 -132
  40. package/src/digitv2/components/uploaderV2.scss +556 -556
  41. package/src/digitv2/components/viewCardFieldPairV2.scss +44 -44
  42. package/src/digitv2/index.scss +169 -168
  43. package/src/digitv2/pages/employee/index.scss +1 -1
  44. package/src/digitv2/pages/employee/workbench.scss +615 -615
  45. package/src/digitv2/typography.scss +638 -638
  46. package/src/index.scss +681 -681
  47. package/src/pages/employee/index.scss +625 -625
  48. package/src/pages/employee/login.scss +220 -220
package/package.json CHANGED
@@ -1,69 +1,69 @@
1
- {
2
- "name": "@egovernments/digit-ui-components-css",
3
- "version": "0.0.2-beta.10",
4
- "license": "MIT",
5
- "main": "dist/index.css",
6
- "author": "Jagankumar <jagan.kumar@egov.org.in>",
7
- "engines": {
8
- "node": ">=14"
9
- },
10
- "cssConfig": {
11
- "prefix": ""
12
- },
13
- "scripts": {
14
- "start": "gulp build",
15
- "build": "NODE_ENV=production gulp build",
16
- "build:prod": "NODE_ENV=production gulp build",
17
- "prepublish": "yarn build:prod",
18
- "publish:css-develop": "npm publish --tag core-v0.1",
19
- "publish:css": "npm publish --access public",
20
- "deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
21
- },
22
- "browserslist": [
23
- "> 3%",
24
- "last 2 versions"
25
- ],
26
- "style": "./dist/index.css",
27
- "dependencies": {
28
- "node-sass": "^4.14.1",
29
- "normalize.css": "^8.0.1",
30
- "postcss-scss": "^3.0.1",
31
- "tailwindcss": "^1.8.10"
32
- },
33
- "devDependencies": {
34
- "autoprefixer": "^10.0.0",
35
- "cssnano": "^4.1.10",
36
- "gh-pages": "3.1.0",
37
- "gulp": "^4.0.2",
38
- "gulp-clean": "^0.4.0",
39
- "gulp-clean-css": "^4.3.0",
40
- "gulp-livereload": "^4.0.2",
41
- "gulp-postcss": "9.0.0",
42
- "gulp-rename": "^2.0.0",
43
- "gulp-sass": "^4.1.0",
44
- "postcss": "8.3.11",
45
- "postcss-cli": "^8.0.0",
46
- "postcss-header": "^2.0.0",
47
- "postcss-import": "^12.0.1",
48
- "postcss-prefixer": "^2.1.2",
49
- "postcss-preset-env": "^6.7.0",
50
- "postcss-scss": "^3.0.1",
51
- "sass": "^1.26.11"
52
- },
53
- "files": [
54
- "dist/index.min.css",
55
- "dist/index.css",
56
- "svg/**/*.svg",
57
- "img/**/*.png",
58
- "src/**/*.scss",
59
- "src/**/*.css"
60
- ],
61
- "keywords": [
62
- "digit",
63
- "egov",
64
- "dpg",
65
- "digit-ui",
66
- "css",
67
- "digit-ui-components"
68
- ]
69
- }
1
+ {
2
+ "name": "@egovernments/digit-ui-components-css",
3
+ "version": "0.0.2-beta.11",
4
+ "license": "MIT",
5
+ "main": "dist/index.css",
6
+ "author": "Jagankumar <jagan.kumar@egov.org.in>",
7
+ "engines": {
8
+ "node": ">=14"
9
+ },
10
+ "cssConfig": {
11
+ "prefix": ""
12
+ },
13
+ "scripts": {
14
+ "start": "gulp build",
15
+ "build": "NODE_ENV=production gulp build",
16
+ "build:prod": "NODE_ENV=production gulp build",
17
+ "prepublish": "yarn build:prod",
18
+ "publish:css-develop": "npm publish --tag core-v0.1",
19
+ "publish:css": "npm publish --access public",
20
+ "deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
21
+ },
22
+ "browserslist": [
23
+ "> 3%",
24
+ "last 2 versions"
25
+ ],
26
+ "style": "./dist/index.css",
27
+ "dependencies": {
28
+ "node-sass": "^4.14.1",
29
+ "normalize.css": "^8.0.1",
30
+ "postcss-scss": "^3.0.1",
31
+ "tailwindcss": "^1.8.10"
32
+ },
33
+ "devDependencies": {
34
+ "autoprefixer": "^10.0.0",
35
+ "cssnano": "^4.1.10",
36
+ "gh-pages": "3.1.0",
37
+ "gulp": "^4.0.2",
38
+ "gulp-clean": "^0.4.0",
39
+ "gulp-clean-css": "^4.3.0",
40
+ "gulp-livereload": "^4.0.2",
41
+ "gulp-postcss": "9.0.0",
42
+ "gulp-rename": "^2.0.0",
43
+ "gulp-sass": "^4.1.0",
44
+ "postcss": "8.3.11",
45
+ "postcss-cli": "^8.0.0",
46
+ "postcss-header": "^2.0.0",
47
+ "postcss-import": "^12.0.1",
48
+ "postcss-prefixer": "^2.1.2",
49
+ "postcss-preset-env": "^6.7.0",
50
+ "postcss-scss": "^3.0.1",
51
+ "sass": "^1.26.11"
52
+ },
53
+ "files": [
54
+ "dist/index.min.css",
55
+ "dist/index.css",
56
+ "svg/**/*.svg",
57
+ "img/**/*.png",
58
+ "src/**/*.scss",
59
+ "src/**/*.css"
60
+ ],
61
+ "keywords": [
62
+ "digit",
63
+ "egov",
64
+ "dpg",
65
+ "digit-ui",
66
+ "css",
67
+ "digit-ui-components"
68
+ ]
69
+ }
@@ -1,118 +1,118 @@
1
- @import url("../index.scss");
2
-
3
- .digit-field-container {
4
- display: flex;
5
- align-items: center;
6
- @apply flex items-center;
7
-
8
- .component-in-front {
9
- @apply flex justify-center items-center;
10
- @extend .light-background;
11
- @extend .light-input-border;
12
- margin-top: 0;
13
- border: 1px solid;
14
- border-right: none;
15
- padding: 7px;
16
- }
17
- }
18
-
19
- .card-date-input {
20
- @extend .light-input-border;
21
- @apply absolute top-0 left-0 w-3/4 bg-white pl-sm border border-input-border border-solid border-r-0;
22
- outline: transparent solid 1px;
23
- height: 2.5rem;
24
- }
25
- .text-input-width {
26
- max-width: 540px;
27
- }
28
-
29
- .text-input {
30
- @apply relative w-full;
31
- input {
32
- background-color: transparent;
33
- &:hover {
34
- @extend .light-input-border;
35
- @apply border-2 border-solid border-primary-main;
36
- }
37
- }
38
- }
39
- .employee-card-input-error {
40
- @extend .light-input-border;
41
- @extend .alert-error;
42
- @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
43
- }
44
- .card-input-error {
45
- @extend .light-input-border;
46
- @extend .alert-error;
47
- @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
48
- }
49
-
50
- .employee-card-input {
51
- @extend .light-input-border;
52
- @apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
53
- }
54
- .employee-card-input:disabled {
55
- @extend .light-input-border;
56
- @extend .light-text-color-disabled;
57
- @apply border-grey-dark text-grey-dark !important;
58
- pointer-events: none !important;
59
- }
60
- .employee-card-input--front {
61
- @extend .light-background;
62
- width: fit-content !important;
63
- display: flex;
64
- align-items: center;
65
- /* background: theme(colors.grey.mid); */
66
- border-right: 0;
67
- padding-right: 5px;
68
- }
69
- .employee-card-input-error {
70
- @extend .light-input-border;
71
- @extend .alert-error;
72
- @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
73
- }
74
-
75
- .card-textarea,
76
- .employee-card-textarea {
77
- @extend .light-input-border;
78
- @apply block outline-none mt-md mb-lg border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm;
79
- }
80
- .employee-card-textarea {
81
- @apply w-full;
82
- }
83
-
84
- .citizen-card-input {
85
- @extend .light-input-border;
86
- @apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
87
- }
88
- .citizen-card-input--front {
89
- @extend .light-background;
90
- width: fit-content !important;
91
- display: flex;
92
- align-items: center;
93
- /* background: theme(colors.grey.mid); */
94
- border-right: 0;
95
- padding-right: 5px;
96
- }
97
-
98
- .break-line {
99
- @extend .light-input-border;
100
- @apply border-border my-lg;
101
- }
102
-
103
- .primary-label-btn {
104
- @extend .light-primary;
105
- @apply flex;
106
- cursor: pointer;
107
- font-weight: 500;
108
- width: fit-content;
109
- gap: 10px;
110
-
111
- svg {
112
- fill: theme(colors.primary.main);
113
- }
114
- }
115
-
116
- .digit-form-composer-header {
117
- font-size: theme(digitv2.fontSize.heading-l-dt);
118
- }
1
+ @import url("../index.scss");
2
+
3
+ .digit-field-container {
4
+ display: flex;
5
+ align-items: center;
6
+ @apply flex items-center;
7
+
8
+ .component-in-front {
9
+ @apply flex justify-center items-center;
10
+ @extend .light-background;
11
+ @extend .light-input-border;
12
+ margin-top: 0;
13
+ border: 1px solid;
14
+ border-right: none;
15
+ padding: 7px;
16
+ }
17
+ }
18
+
19
+ .card-date-input {
20
+ @extend .light-input-border;
21
+ @apply absolute top-0 left-0 w-3/4 bg-white pl-sm border border-input-border border-solid border-r-0;
22
+ outline: transparent solid 1px;
23
+ height: 2.5rem;
24
+ }
25
+ .text-input-width {
26
+ max-width: 540px;
27
+ }
28
+
29
+ .text-input {
30
+ @apply relative w-full;
31
+ input {
32
+ background-color: transparent;
33
+ &:hover {
34
+ @extend .light-input-border;
35
+ @apply border-2 border-solid border-primary-main;
36
+ }
37
+ }
38
+ }
39
+ .employee-card-input-error {
40
+ @extend .light-input-border;
41
+ @extend .alert-error;
42
+ @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
43
+ }
44
+ .card-input-error {
45
+ @extend .light-input-border;
46
+ @extend .alert-error;
47
+ @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
48
+ }
49
+
50
+ .employee-card-input {
51
+ @extend .light-input-border;
52
+ @apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
53
+ }
54
+ .employee-card-input:disabled {
55
+ @extend .light-input-border;
56
+ @extend .light-text-color-disabled;
57
+ @apply border-grey-dark text-grey-dark !important;
58
+ pointer-events: none !important;
59
+ }
60
+ .employee-card-input--front {
61
+ @extend .light-background;
62
+ width: fit-content !important;
63
+ display: flex;
64
+ align-items: center;
65
+ /* background: theme(colors.grey.mid); */
66
+ border-right: 0;
67
+ padding-right: 5px;
68
+ }
69
+ .employee-card-input-error {
70
+ @extend .light-input-border;
71
+ @extend .alert-error;
72
+ @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
73
+ }
74
+
75
+ .card-textarea,
76
+ .employee-card-textarea {
77
+ @extend .light-input-border;
78
+ @apply block outline-none mt-md mb-lg border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm;
79
+ }
80
+ .employee-card-textarea {
81
+ @apply w-full;
82
+ }
83
+
84
+ .citizen-card-input {
85
+ @extend .light-input-border;
86
+ @apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
87
+ }
88
+ .citizen-card-input--front {
89
+ @extend .light-background;
90
+ width: fit-content !important;
91
+ display: flex;
92
+ align-items: center;
93
+ /* background: theme(colors.grey.mid); */
94
+ border-right: 0;
95
+ padding-right: 5px;
96
+ }
97
+
98
+ .break-line {
99
+ @extend .light-input-border;
100
+ @apply border-border my-lg;
101
+ }
102
+
103
+ .primary-label-btn {
104
+ @extend .light-primary;
105
+ @apply flex;
106
+ cursor: pointer;
107
+ font-weight: 500;
108
+ width: fit-content;
109
+ gap: 10px;
110
+
111
+ svg {
112
+ fill: theme(colors.primary.main);
113
+ }
114
+ }
115
+
116
+ .digit-form-composer-header {
117
+ font-size: theme(digitv2.fontSize.heading-l-dt);
118
+ }
@@ -0,0 +1,207 @@
1
+ @import url("../index.scss");
2
+
3
+ /*.digit-action-bar-wrap {
4
+ @extend .light-text-color-primary;
5
+ @extend .light-paper-primary;
6
+ box-shadow: rgba(0, 0, 0, 0.16) 0 -2px 8px;
7
+ max-width: 100%;
8
+ z-index: 100;
9
+
10
+ @apply left-0 bottom-0 w-full bg-white py-sm px-sm fixed text-right;
11
+
12
+ div {
13
+ @apply w-full;
14
+ }
15
+
16
+ .digit-menu-wrap {
17
+ @extend .light-background;
18
+ @apply absolute bg-white text-left mb-xs z-30 cursor-pointer;
19
+ bottom: 45px;
20
+ box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
21
+ width: calc(100% - 16px);
22
+ right: 8px;
23
+
24
+ div {
25
+ @extend .light-primary;
26
+ @apply h-12 pl-sm py-md text-body-l text-text-primary;
27
+
28
+ &:hover {
29
+ @extend .light-background;
30
+ @apply bg-grey-mid w-full;
31
+ }
32
+ }
33
+ }
34
+ }
35
+
36
+ @screen dt {
37
+ .digit-action-bar-wrap {
38
+ box-shadow: rgba(0, 0, 0, 0.16) 0 -2px 8px;
39
+ left: 0;
40
+ max-width: none;
41
+ z-index: 999;
42
+
43
+ @apply fixed bottom-0 bg-white py-sm pr-lg text-right;
44
+
45
+ div {
46
+ width: calc(100% - 16px);
47
+ }
48
+
49
+ .digit-menu-wrap {
50
+ bottom: 45px;
51
+ top: unset;
52
+ box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
53
+ @apply absolute h-auto bg-white text-left mb-xs z-30;
54
+ width: 240px;
55
+ right: 24px;
56
+
57
+ div {
58
+ @apply h-12 pl-sm py-md text-body-l text-text-primary;
59
+
60
+ &:hover {
61
+ @apply bg-grey-mid w-full;
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+
68
+ .digit-action-bar-wrap-registry {
69
+ div {
70
+ @apply w-full;
71
+ }
72
+ .digit-menu-wrap {
73
+ @extend .light-background;
74
+ @apply absolute bg-white text-left mb-xs z-30 cursor-pointer;
75
+ box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
76
+ width: 160px;
77
+ right: 60px;
78
+
79
+ div {
80
+ @apply h-12 pl-sm py-md text-body-l text-text-primary;
81
+
82
+ &:hover {
83
+ @extend .light-background;
84
+ @apply bg-grey-mid w-full;
85
+ }
86
+ }
87
+ }
88
+
89
+ .digit-search-add {
90
+ @extend .light-primary;
91
+ padding: 12px 16px;
92
+ color: rgb(244, 119, 56);
93
+ display: flex;
94
+ cursor: pointer;
95
+ }
96
+
97
+ .digit-search-add-icon {
98
+ @extend .light-primary-button;
99
+ background: rgb(244, 119, 56);
100
+ border-radius: 50%;
101
+ height: 24px;
102
+ width: 24px;
103
+ display: flex;
104
+ justify-content: center;
105
+ align-items: center;
106
+ margin-left: 10px;
107
+ }
108
+ }
109
+ */
110
+
111
+ .digit-action-bar-wrap{
112
+ width: 100%;
113
+ max-width: 100%;
114
+ padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer8);
115
+ display: flex !important;
116
+ align-items: center;
117
+ justify-content: space-between;
118
+ box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000029;
119
+ background-color: theme(digitv2.lightTheme.paper-primary);
120
+ height: 4.5rem;
121
+ position: fixed;
122
+ bottom: 0;
123
+ left: 0;
124
+ right: 0;
125
+ z-index: 100;
126
+
127
+ @media (min-width: 48rem) {
128
+ gap: theme(digitv2.spacers.spacer6);
129
+ }
130
+
131
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
132
+ gap: theme(digitv2.spacers.spacer5);
133
+ }
134
+
135
+ @media (max-width: 30rem) {
136
+ gap: theme(digitv2.spacers.spacer4);
137
+ box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
138
+ height: 8rem;
139
+ padding: theme(digitv2.spacers.spacer4);
140
+ }
141
+
142
+ .digit-action-bar-fields{
143
+ display: flex;
144
+ justify-content: space-between;
145
+ flex-wrap: wrap;
146
+
147
+ @media (min-width: 48rem) {
148
+ gap: theme(digitv2.spacers.spacer6);
149
+ }
150
+
151
+ @media (min-width: 30.063rem) and (max-width: 47.938rem) {
152
+ gap: theme(digitv2.spacers.spacer5);
153
+ }
154
+
155
+ @media (max-width: 30rem) {
156
+ gap: theme(digitv2.spacers.spacer4);
157
+ flex-direction: column;
158
+
159
+ .action-bar-individual-action-field{
160
+ button{
161
+ width: 100%;
162
+ max-width: 100%;
163
+ }
164
+ }
165
+ }
166
+
167
+ &.toRight{
168
+ margin-left: auto;
169
+ }
170
+
171
+ &.toLeft{
172
+ justify-content: unset;
173
+ }
174
+
175
+ .action-bar-individual-action-field{
176
+ button{
177
+ flex: 1;
178
+ }
179
+ }
180
+
181
+ &:not(.toRight){
182
+ width: 100%;
183
+ }
184
+ }
185
+
186
+ .digit-dropdown-select-wrap,
187
+ .digit-employee-dropdown-select-wrap{
188
+ margin-bottom: 0rem;
189
+ }
190
+
191
+ .header-dropdown-container {
192
+ position: relative;
193
+ }
194
+
195
+ .header-dropdown-menu {
196
+ @apply absolute z-30;
197
+ bottom: theme(digitv2.spacers.spacer10);
198
+ right: 0;
199
+ max-height: unset;
200
+ margin-top: unset;
201
+
202
+ &.showBottom{
203
+ bottom: unset;
204
+ }
205
+ }
206
+
207
+ }
@@ -1,37 +1,37 @@
1
- .digit-back-link {
2
- gap: theme(digitv2.spacers.spacer1);
3
- display: flex;
4
- align-items: center;
5
-
6
- .digit-back-link-icon {
7
- flex-shrink: 0;
8
- width: theme(digitv2.spacers.spacer6);
9
- height: theme(digitv2.spacers.spacer6);
10
- cursor: pointer;
11
-
12
- @media (max-width: 30rem) {
13
- width: theme(digitv2.spacers.spacer5);
14
- height: theme(digitv2.spacers.spacer5);
15
- }
16
-
17
- }
18
-
19
- .digit-back-link-label {
20
- @extend .typography.body-l;
21
- color: theme(digitv2.lightTheme.primary-1);
22
- margin-top:0.063rem;
23
- cursor: pointer;
24
- }
25
-
26
- &.disabled{
27
- pointer-events: none;
28
- .digit-back-link-label{
29
- color: theme(digitv2.lightTheme.text-disabled);
30
- cursor: default;
31
- }
32
-
33
- .digit-back-link-icon{
34
- cursor: default;
35
- }
36
- }
1
+ .digit-back-link {
2
+ gap: theme(digitv2.spacers.spacer1);
3
+ display: flex;
4
+ align-items: center;
5
+
6
+ .digit-back-link-icon {
7
+ flex-shrink: 0;
8
+ width: theme(digitv2.spacers.spacer6);
9
+ height: theme(digitv2.spacers.spacer6);
10
+ cursor: pointer;
11
+
12
+ @media (max-width: 30rem) {
13
+ width: theme(digitv2.spacers.spacer5);
14
+ height: theme(digitv2.spacers.spacer5);
15
+ }
16
+
17
+ }
18
+
19
+ .digit-back-link-label {
20
+ @extend .typography.body-l;
21
+ color: theme(digitv2.lightTheme.primary-2);
22
+ margin-top:0.063rem;
23
+ cursor: pointer;
24
+ }
25
+
26
+ &.disabled{
27
+ pointer-events: none;
28
+ .digit-back-link-label{
29
+ color: theme(digitv2.lightTheme.text-disabled);
30
+ cursor: default;
31
+ }
32
+
33
+ .digit-back-link-icon{
34
+ cursor: default;
35
+ }
36
+ }
37
37
  }