@djb25/digit-ui-css 1.0.29 → 1.0.31

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.
@@ -0,0 +1,235 @@
1
+ .profile-card {
2
+ position: relative;
3
+ display: flex;
4
+ justify-content: center;
5
+ align-items: center;
6
+ border-radius: 12px;
7
+ background: #fff;
8
+ width: fit-content;
9
+
10
+ &.employee {
11
+ @media (min-width: 768px) {
12
+ width: 33.33%;
13
+ height: fit-content;
14
+ min-width: 250px;
15
+ }
16
+ @media (max-width: 768px) {
17
+ width: 100%;
18
+ }
19
+ box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
20
+ padding: 8px;
21
+ }
22
+
23
+ &.citizen {
24
+ flex: 1;
25
+ box-shadow: none;
26
+ border: 8px solid #fff;
27
+ padding: 8px;
28
+ }
29
+ }
30
+
31
+ .profile-image-wrapper {
32
+ &.employee {
33
+ padding: 16px;
34
+ height: 100%;
35
+ width: 100%;
36
+ max-width: 450px;
37
+ aspect-ratio: 1/1;
38
+ }
39
+
40
+ &.citizen {
41
+ height: 114px;
42
+ width: 114px;
43
+ }
44
+ }
45
+
46
+ .profile-image {
47
+ margin: auto;
48
+ justify-content: center;
49
+ width: 100%;
50
+ aspect-ratio: 1/1;
51
+ object-fit: cover;
52
+ display: block;
53
+ border-radius: 50%;
54
+ z-index: 11;
55
+ position: inherit;
56
+ }
57
+
58
+ .profile-camera-btn {
59
+ position: absolute;
60
+ top: 0;
61
+ right: 0;
62
+ padding: 8px;
63
+ background: #82ade5;
64
+ border-radius: 50%;
65
+ z-index: 12;
66
+ &:hover {
67
+ background: #395dec;
68
+ }
69
+ }
70
+
71
+ .profile-action-bar {
72
+ height: 88px;
73
+ background-color: #ffffff;
74
+ display: flex;
75
+ justify-content: flex-end;
76
+ margin-top: 64px;
77
+ align-items: center;
78
+ }
79
+
80
+ .profile-save-btn {
81
+ margin-top: 24px;
82
+ background-color: #a82227;
83
+ height: 40px;
84
+ float: right;
85
+ color: white;
86
+ border-bottom: 1px solid black;
87
+ cursor: pointer;
88
+ z-index: 999;
89
+
90
+ &.desktop {
91
+ width: 248px;
92
+ margin-right: 31px;
93
+ }
94
+
95
+ &.mobile {
96
+ width: 100%;
97
+ margin: 0 16px;
98
+ margin-right: 16px;
99
+ }
100
+ }
101
+
102
+ .login {
103
+ display: flex;
104
+ flex-direction: column;
105
+ gap: 16px;
106
+ width: 100%;
107
+ padding-top: 16px;
108
+ padding-inline: 20px;
109
+ margin-bottom: 88px;
110
+
111
+ .generic-button {
112
+ color: #fff;
113
+ cursor: pointer;
114
+ position: relative;
115
+ border-radius: 10px;
116
+ background-color: #171f1d;
117
+ }
118
+ }
119
+
120
+ @media (min-width: 768px) {
121
+ .login {
122
+ padding-inline: 58px;
123
+ }
124
+ }
125
+
126
+ .user-profile-container {
127
+ margin: 24px;
128
+ position: relative;
129
+ }
130
+
131
+ .user-profile-wrapper {
132
+ display: flex;
133
+ flex: 1;
134
+ align-self: center;
135
+
136
+ @media (min-width: 768px) {
137
+ flex-direction: row;
138
+ }
139
+ @media (max-width: 768px) {
140
+ align-items: center;
141
+ }
142
+
143
+ .save-btn {
144
+ background-color: #7696e7 !important;
145
+ }
146
+
147
+ &.employee {
148
+ gap: 16px;
149
+ max-width: unset;
150
+ box-shadow: none;
151
+ background: none;
152
+ border-radius: 0;
153
+ width: 100%;
154
+
155
+ @media (max-width: 767px) {
156
+ margin: 24px;
157
+ flex-direction: column;
158
+ min-width: unset;
159
+ }
160
+ }
161
+
162
+ &.citizen {
163
+ @media (max-width: 767px) {
164
+ margin: 24px;
165
+ flex-direction: column;
166
+ min-width: unset;
167
+ }
168
+ margin: 8px;
169
+ gap: unset;
170
+ max-width: 960px;
171
+
172
+ &.default-tab {
173
+ box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
174
+ background: white;
175
+ border-radius: 4px;
176
+ }
177
+
178
+ &.address-tab {
179
+ box-shadow: none;
180
+ background: none;
181
+ border-radius: 0;
182
+ }
183
+ }
184
+ }
185
+
186
+ .profile-content {
187
+ display: flex;
188
+ flex-direction: column;
189
+ width: 100%;
190
+ height: fit-content;
191
+ padding-bottom: 20px;
192
+ gap: 8px;
193
+
194
+ &.employee {
195
+ flex: 7.5;
196
+ padding: 24px;
197
+ box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
198
+ }
199
+
200
+ &.citizen {
201
+ flex: 1;
202
+ padding: 8px;
203
+ box-shadow: none;
204
+ }
205
+
206
+ &.default-tab {
207
+ border-radius: 12px;
208
+ background: white;
209
+ }
210
+
211
+ &.address-tab {
212
+ border-radius: unset;
213
+ background: none;
214
+ }
215
+ }
216
+
217
+ .profile-image-background {
218
+ position: absolute;
219
+ top: 0;
220
+ left: 0;
221
+ width: 100%;
222
+ height: 50%;
223
+ background: #82ade5;
224
+ z-index: 10;
225
+ border-radius: 10px 10px 0 0;
226
+ }
227
+
228
+ .profile-circle-wrapper {
229
+ position: relative;
230
+ }
231
+
232
+ .save-button-wrapper {
233
+ display: flex;
234
+ justify-content: flex-end;
235
+ }