@djb25/digit-ui-css 1.0.44 → 1.0.46

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djb25/digit-ui-css",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -6,7 +6,8 @@
6
6
  border-radius: 12px;
7
7
  overflow-y: scroll;
8
8
  height: fit-content;
9
- @media (min-width: 768px) {
9
+
10
+ @media (min-width: 769px) {
10
11
  max-width: 25%;
11
12
  min-width: 250px;
12
13
  min-height: 500px;
@@ -17,7 +18,8 @@
17
18
  display: flex;
18
19
  position: relative;
19
20
  gap: 16px;
20
- @media (min-width: 768px) {
21
+
22
+ @media (min-width: 769px) {
21
23
  min-height: 80px;
22
24
  padding-bottom: 20px;
23
25
  }
@@ -86,7 +88,8 @@
86
88
  .vertical-timeline-content {
87
89
  display: flex;
88
90
  flex-direction: column;
89
- @media (min-width: 768px) {
91
+
92
+ @media (min-width: 769px) {
90
93
  min-height: 38px;
91
94
  margin-top: 10px;
92
95
  }
@@ -115,6 +118,9 @@
115
118
  gap: 12px;
116
119
  padding: 12px;
117
120
  height: fit-content;
121
+ max-width: 100%;
122
+ min-width: auto;
123
+ min-height: auto;
118
124
  }
119
125
 
120
126
  .vertical-timeline-wrapper {
@@ -143,9 +149,8 @@
143
149
  cursor: pointer;
144
150
  height: 2rem;
145
151
  padding-inline: 24px;
146
- @media (min-width: 768px) {
147
- min-width: 120px;
148
- }
152
+ flex-shrink: 0;
153
+ min-width: 120px;
149
154
  }
150
155
 
151
156
  /* 🔥 pill becomes tab */
@@ -181,4 +186,4 @@
181
186
  background-color: #1f5fa8;
182
187
  color: #fff;
183
188
  }
184
- }
189
+ }
@@ -145,7 +145,7 @@ body {
145
145
  gap: 12px;
146
146
 
147
147
  @media (min-width: 768px) {
148
- padding-right: 55px;
148
+ /* padding-right: 55px; // commented by avinash as it was giving padding right in user */
149
149
  }
150
150
 
151
151
  .header {
@@ -275,10 +275,10 @@
275
275
  @apply mb-md mx-md !important;
276
276
  */
277
277
 
278
- &.filter {
278
+ /* &.filter {
279
279
  margin-left: auto;
280
280
  margin-right: auto;
281
- }
281
+ } */
282
282
 
283
283
  .card-header {
284
284
  @apply text-heading-xl-dt;
@@ -529,10 +529,8 @@
529
529
  flex-direction: column;
530
530
  gap: 13px;
531
531
  width: 100%;
532
- max-height: 180px;
533
532
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
534
533
  font-family: inherit;
535
- overflow: hidden;
536
534
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
537
535
  }
538
536
 
@@ -735,13 +733,13 @@
735
733
 
736
734
  .footer-links {
737
735
  display: flex;
738
- flex-wrap: wrap;
736
+ flex-wrap: nowrap;
739
737
  gap: 8px;
740
738
  flex: 1;
741
739
  }
742
740
 
743
741
  .pill-link {
744
- color: #2563eb;
742
+ color: rgb(0, 51, 102);
745
743
  padding: 6px 14px;
746
744
  font-size: 13px;
747
745
  font-weight: 500;
@@ -8,7 +8,7 @@
8
8
 
9
9
  .header-top-section {
10
10
  width: 100%;
11
- background: linear-gradient(98deg, rgba(110, 192, 221, 0.71) -24.44%, rgba(97, 119, 236, 0.9) 93.53%);
11
+ background: linear-gradient(135deg,#1a67a3,#5282e6 40%,#5495fe);
12
12
  padding: 30px 50px;
13
13
  border-radius: 11px;
14
14
  margin-inline: 42px;
@@ -41,7 +41,7 @@
41
41
 
42
42
  .header-bottom-section {
43
43
  width: 100%;
44
- background: linear-gradient(278deg, rgba(110, 192, 221, 0.71) -24.44%, rgba(97, 119, 236, 0.9) 93.53%);
44
+ background: linear-gradient(135deg,#1a67a3,#5282e6 40%,#5495fe);
45
45
  padding: 5px 20px;
46
46
  border-radius: 11px;
47
47
  position: relative;
@@ -29,3 +29,51 @@
29
29
  left: calc(50% - 240px);
30
30
  }
31
31
  }
32
+
33
+ /* Toast base */
34
+ .toast-success {
35
+ display: flex;
36
+ align-items: center;
37
+ gap: 10px;
38
+
39
+ padding: 12px 16px;
40
+ border-radius: 8px;
41
+
42
+ color: #fff;
43
+ background-color: #22c55e;
44
+
45
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
46
+
47
+ z-index: 9999;
48
+
49
+ /* 👇 animation trigger */
50
+ animation: slideInRight 0.4s ease forwards;
51
+ }
52
+
53
+ /* Slide-in from right */
54
+ @keyframes slideInRight {
55
+ from {
56
+ transform: translateX(120%);
57
+ opacity: 0;
58
+ }
59
+ to {
60
+ transform: translateX(0);
61
+ opacity: 1;
62
+ }
63
+ }
64
+
65
+ /* Slide-out */
66
+ .toast-exit {
67
+ animation: slideOutRight 0.3s ease forwards;
68
+ }
69
+
70
+ @keyframes slideOutRight {
71
+ from {
72
+ transform: translateX(0);
73
+ opacity: 1;
74
+ }
75
+ to {
76
+ transform: translateX(120%);
77
+ opacity: 0;
78
+ }
79
+ }
@@ -15,7 +15,6 @@
15
15
  width: 100%;
16
16
  }
17
17
 
18
-
19
18
  .btx {
20
19
  display: flex;
21
20
  flex-direction: column;
@@ -128,6 +127,28 @@
128
127
  }
129
128
  }
130
129
 
130
+ @media (max-width: 1280px) {
131
+ padding: 10px 30px;
132
+
133
+ .brand {
134
+ gap: 8px !important;
135
+ }
136
+
137
+ .brand-mark {
138
+ width: 42px !important;
139
+ height: 42px !important;
140
+ }
141
+
142
+ .btx {
143
+ h1 {
144
+ font-size: 22px !important;
145
+ }
146
+ p {
147
+ font-size: 9px !important;
148
+ }
149
+ }
150
+ }
151
+
131
152
  @media (max-width: 780px) {
132
153
  padding: 10px 16px; // Reduce padding for mobile
133
154
 
@@ -281,6 +302,10 @@ video::-webkit-media-controls-panel {
281
302
  flex: 1;
282
303
  gap: 15px;
283
304
 
305
+ @media (max-width: 1280px) {
306
+ gap: 10px;
307
+ }
308
+
284
309
  @media (max-width: 1024px) {
285
310
  gap: 8px;
286
311
  margin-right: 0px !important;
@@ -371,6 +396,33 @@ video::-webkit-media-controls-panel {
371
396
  }
372
397
  }
373
398
 
399
+ @media (max-width: 1280px) {
400
+ .user-profile-pill {
401
+ padding: 4px 12px 4px 4px !important;
402
+ gap: 8px !important;
403
+
404
+ .user-profile-avatar,
405
+ .user-profile-img {
406
+ width: 36px !important;
407
+ height: 36px !important;
408
+ font-size: 15px !important;
409
+ }
410
+
411
+ .user-profile-info {
412
+ .user-profile-name {
413
+ font-size: 13px !important;
414
+ }
415
+ .user-profile-details {
416
+ font-size: 11px !important;
417
+ }
418
+ }
419
+ }
420
+
421
+ .topbar img.spect-icon {
422
+ max-height: 42px !important;
423
+ }
424
+ }
425
+
374
426
  @media (max-width: 1024px) {
375
427
  .user-profile-pill {
376
428
  padding: 4px !important;
package/src/index.scss CHANGED
@@ -913,6 +913,10 @@ input[type="number"] {
913
913
  height: 100%;
914
914
  }
915
915
 
916
+ .flex-box-col {
917
+ flex-direction: column;
918
+ }
919
+
916
920
  .flex-box-content-between {
917
921
  display: flex;
918
922
  justify-content: space-between;