@djb25/digit-ui-css 1.0.6 → 1.0.7

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.6",
3
+ "version": "1.0.7",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -11,7 +11,7 @@
11
11
  "prefix": ""
12
12
  },
13
13
  "scripts": {
14
- "start": "gulp build",
14
+ "start": "gulp watch",
15
15
  "watch": "gulp watch",
16
16
  "build:prod": "NODE_ENV=production gulp build",
17
17
  "prepublish": "yarn build:prod",
@@ -472,15 +472,17 @@
472
472
 
473
473
 
474
474
  .new-employee-card {
475
- background-color: #ffffff;
475
+ background-image: url("https://objectstorage.ap-hyderabad-1.oraclecloud.com/n/axn3czn1s06y/b/djb-dev-asset-bucket/o/dashboard_card_img.png");
476
+ background-size: cover;
477
+ background-position: center;
476
478
  border: 1px solid #f3f4f6;
477
479
  border-radius: 12px;
478
- padding: 24px;
480
+ padding: 15px;
479
481
  display: flex;
480
482
  flex-direction: column;
481
483
  gap: 24px;
482
484
  width: 100%;
483
- max-width: 400px;
485
+ max-width: 426px;
484
486
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
485
487
  font-family: 'Inter', -apple-system, sans-serif;
486
488
  }
@@ -2,24 +2,29 @@
2
2
  position: fixed;
3
3
  top: 0;
4
4
  width: 100%;
5
- padding: 10px 24px;
5
+ padding: 10px 58px;
6
6
  background: white;
7
7
  box-shadow: rgba(0, 0, 0, 0.24) 0 1px 4px;
8
8
  z-index: 9999999;
9
9
  @apply flex items-center;
10
10
 
11
+ .topbar-content {
12
+ display: flex;
13
+ justify-content: space-between;
14
+ align-items: center;
15
+ width: 100%;
16
+ }
17
+
11
18
  img {
12
19
  display: inline;
13
20
 
14
21
  &.city {
15
- margin-right: 8px;
16
22
  height: 60px;
17
23
  }
18
24
 
19
25
  &.state {
20
26
  height: 50px;
21
27
  width: auto;
22
- object-fit: contain;
23
28
  }
24
29
  }
25
30
 
@@ -30,7 +35,6 @@
30
35
 
31
36
  .right {
32
37
  float: right;
33
- margin-top: 12px;
34
38
  position: relative;
35
39
 
36
40
  svg {
@@ -38,9 +42,9 @@
38
42
  }
39
43
 
40
44
  .user-img-txt {
41
- background: #a82227;
45
+ background: theme(colors.primary.main);
42
46
  padding: 10px 15px;
43
- border-radius: 2px;
47
+ border-radius: 8px;
44
48
  color: white;
45
49
  height: 43px;
46
50
  width: 43px;
@@ -154,4 +158,4 @@ video::-webkit-media-controls-panel {
154
158
 
155
159
  .topbarOptionsClassName {
156
160
  right: -3rem !important;
157
- }
161
+ }
@@ -36,13 +36,23 @@
36
36
  box-shadow: rgba(0, 0, 0, 0.24) 0 1px 4px;
37
37
  z-index: 9999;
38
38
 
39
+ .topbar-content {
40
+ display: flex;
41
+ justify-content: space-between;
42
+ align-items: center;
43
+ width: 100%;
44
+ }
45
+
39
46
  img {
40
47
  display: inline;
41
48
 
42
49
  &.city {
43
- margin-right: 8px;
44
50
  height: 60px;
45
- margin-left: 53px;
51
+ }
52
+
53
+ &.spect-icon {
54
+ width: auto;
55
+ max-height: 50px;
46
56
  }
47
57
 
48
58
  &.state {
@@ -58,14 +68,6 @@
58
68
 
59
69
  .right {
60
70
  float: right;
61
-
62
- .user-img-txt {
63
- background: theme(colors.primary.main);
64
- padding: 10px 15px;
65
- border-radius: 50%;
66
- color: white;
67
- font-weight: 700;
68
- }
69
71
  }
70
72
  }
71
73
 
@@ -259,7 +261,8 @@
259
261
  &.active {
260
262
  border-left: 4px solid theme(colors.primary.main);
261
263
 
262
- &.level-0 {}
264
+ &.level-0 {
265
+ }
263
266
 
264
267
  &.level-1 {
265
268
  border-left: 8.5px solid theme(colors.primary.main);
@@ -269,7 +272,8 @@
269
272
  border-left: 4px solid theme(colors.primary.main);
270
273
  }
271
274
 
272
- &.level-3 {}
275
+ &.level-3 {
276
+ }
273
277
 
274
278
  color: theme(colors.primary.main) !important;
275
279
  border-right: none;
@@ -429,32 +433,32 @@
429
433
  display: flex;
430
434
  justify-content: center;
431
435
  align-items: center;
436
+ padding-left: 30px;
437
+ padding-right: 30px;
432
438
  .header-top-section {
439
+ display: flex;
433
440
  width: 100%;
434
441
  background: linear-gradient(98deg, rgba(110, 192, 221, 0.71) -24.44%, rgba(97, 119, 236, 0.9) 93.53%);
435
442
  padding: 14px;
436
443
  border-radius: 11px;
437
444
 
438
- display: flex;
445
+ justify-content: space-between;
439
446
  align-items: center;
440
- justify-content: center;
441
447
 
442
448
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
443
449
 
444
450
  .title {
445
451
  margin: 0;
446
- font-size: 17px;
447
- font-weight: 500;
448
- color: #fff;
449
- letter-spacing: 0.3px;
450
-
451
- @media (min-width: 768px) {
452
- font-size: 18px;
453
- }
452
+ font-size: 25px;
453
+ font-weight: 700;
454
+ color: #0f172a;
455
+ }
454
456
 
455
- @media (min-width: 1024px) {
456
- font-size: 28px;
457
- }
457
+ .subtitle {
458
+ margin: 0;
459
+ font-size: 20px;
460
+ font-weight: 700;
461
+ color: #0f172a;
458
462
  }
459
463
  }
460
464
 
@@ -511,10 +515,6 @@
511
515
  .employee {
512
516
  .ground-container {
513
517
  /* @apply block; */
514
- display: flex;
515
- flex-wrap: wrap;
516
- gap: 10px;
517
-
518
518
  }
519
519
 
520
520
  .breadcrumb {
@@ -561,7 +561,8 @@
561
561
  justify-content: center;
562
562
  }
563
563
 
564
- .center-container {}
564
+ .center-container {
565
+ }
565
566
  }
566
567
  }
567
568
 
@@ -695,4 +696,4 @@
695
696
  /* TODO fix required NABEEL/ANIL for home screen card */
696
697
  .customEmployeeCard {
697
698
  @apply m-sm !important;
698
- }
699
+ }