@djb25/digit-ui-css 1.0.3 → 1.0.5

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,165 @@
1
+ .timeline-container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ position: relative;
5
+ margin: 20px 0;
6
+ padding-left: 20px;
7
+ }
8
+
9
+ .timeline-item {
10
+ display: flex;
11
+ position: relative;
12
+ padding-bottom: 20px;
13
+ }
14
+
15
+ .timeline-item:last-child {
16
+ padding-bottom: 0;
17
+ }
18
+
19
+ .timeline-marker {
20
+ display: flex;
21
+ flex-direction: column;
22
+ align-items: center;
23
+ margin-right: 15px;
24
+ position: relative;
25
+ }
26
+
27
+ .timeline-circle {
28
+ width: 16px;
29
+ height: 16px;
30
+ border-radius: 50%;
31
+ border: 2px solid #ccc;
32
+ background-color: #fff;
33
+ z-index: 10;
34
+ transition: all 0.3s ease;
35
+ }
36
+
37
+ .timeline-item.completed .timeline-circle {
38
+ background-color: #4caf50;
39
+ border-color: #4caf50;
40
+ }
41
+
42
+ .timeline-item.current .timeline-circle {
43
+ background-color: #2196f3;
44
+ border-color: #2196f3;
45
+ transform: scale(1.2);
46
+ }
47
+
48
+ .timeline-item.pending .timeline-circle {
49
+ background-color: #f5f5f5;
50
+ border-color: #ccc;
51
+ }
52
+
53
+ .timeline-line {
54
+ position: absolute;
55
+ top: 16px;
56
+ bottom: -20px;
57
+ /* Connect to next item */
58
+ width: 2px;
59
+ background-color: #e0e0e0;
60
+ z-index: 1;
61
+ }
62
+
63
+ .timeline-item:last-child .timeline-line {
64
+ display: none;
65
+ }
66
+
67
+ .timeline-content {
68
+ flex: 1;
69
+ background: #e8e8e8;
70
+ padding: 10px 15px;
71
+ border-radius: 8px;
72
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
73
+ transition: transform 0.2s;
74
+ }
75
+
76
+ .timeline-content:hover {
77
+ transform: translateX(5px);
78
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
79
+ }
80
+
81
+ .timeline-title {
82
+ font-weight: 600;
83
+ font-size: 14px;
84
+ color: #333;
85
+ margin-bottom: 4px;
86
+ }
87
+
88
+ .timeline-date {
89
+ font-size: 12px;
90
+ color: #000000;
91
+ margin-bottom: 6px;
92
+ display: block;
93
+ }
94
+
95
+ .timeline-comment {
96
+ font-size: 13px;
97
+ color: #555;
98
+ line-height: 1.4;
99
+ background-color: #f9f9f9;
100
+ padding: 8px;
101
+ border-radius: 4px;
102
+ margin-top: 5px;
103
+ }
104
+
105
+ .timeline-status-tag {
106
+ display: inline-block;
107
+ padding: 10px;
108
+ border-radius: 12px;
109
+ font-size: 11px;
110
+ font-weight: bold;
111
+ text-transform: uppercase;
112
+ margin-top: 5px;
113
+ }
114
+
115
+ .status-completed {
116
+ background-color: #e8f5e9;
117
+ color: #2e7d32;
118
+ }
119
+
120
+ .status-current {
121
+ background-color: #e3f2fd;
122
+ color: #1565c0;
123
+ }
124
+
125
+ .status-pending {
126
+ background-color: #f5f5f5;
127
+ color: #757575;
128
+ }
129
+
130
+ /* Animations */
131
+ @keyframes fadeIn {
132
+ from {
133
+ opacity: 0;
134
+ transform: translateY(10px);
135
+ }
136
+
137
+ to {
138
+ opacity: 1;
139
+ transform: translateY(0);
140
+ }
141
+ }
142
+
143
+ .timeline-item {
144
+ animation: fadeIn 0.5s ease-out forwards;
145
+ }
146
+
147
+ .timeline-item:nth-child(1) {
148
+ animation-delay: 0.1s;
149
+ }
150
+
151
+ .timeline-item:nth-child(2) {
152
+ animation-delay: 0.2s;
153
+ }
154
+
155
+ .timeline-item:nth-child(3) {
156
+ animation-delay: 0.3s;
157
+ }
158
+
159
+ .timeline-item:nth-child(4) {
160
+ animation-delay: 0.4s;
161
+ }
162
+
163
+ .timeline-item:nth-child(5) {
164
+ animation-delay: 0.5s;
165
+ }
@@ -100,9 +100,7 @@ body {
100
100
  h2 {
101
101
  text-align: left;
102
102
  }
103
- .field-container {
104
- max-width: 540px;
105
- }
103
+
106
104
  button {
107
105
  max-width: 240px;
108
106
  }
@@ -64,6 +64,7 @@
64
64
  .employeeCard {
65
65
  @apply bg-white shadow-card p-md mb-xl;
66
66
  border-radius: 4px;
67
+ background-color: brown;
67
68
 
68
69
  .card-header {
69
70
  @apply text-text-primary text-heading-xl font-bold font-rc align-middle text-left mb-md;
@@ -786,6 +786,7 @@
786
786
  margin: 0 !important;
787
787
  padding: 16px !important;
788
788
  box-sizing: border-box !important;
789
+ background-color: red
789
790
  }
790
791
 
791
792
  /* All form fields become full width */
@@ -12,6 +12,7 @@
12
12
  display: grid;
13
13
  grid-template-columns: 20% 1fr;
14
14
  .logo {
15
+ padding: 0px !important;
15
16
  display: flex;
16
17
  align-items: center;
17
18
  justify-content: flex-start;
@@ -2,7 +2,6 @@
2
2
  position: fixed;
3
3
  top: 0;
4
4
  width: 100%;
5
- padding: 10px 24px;
6
5
  background: white;
7
6
  box-shadow: rgba(0, 0, 0, 0.24) 0 1px 4px;
8
7
  z-index: 9999999;
@@ -12,13 +11,13 @@
12
11
  display: inline;
13
12
 
14
13
  &.city {
15
- margin-right: 8px;
16
- height: 60px;
14
+ margin-right: 8px;
15
+ height: 60px;
17
16
  }
18
17
 
19
18
  &.state {
20
- min-height: 50px;
21
- width: 80px;
19
+ min-height: 50px;
20
+ width: 80px;
22
21
  }
23
22
  }
24
23
 
@@ -37,10 +36,12 @@
37
36
  }
38
37
 
39
38
  .user-img-txt {
40
- background: theme(colors.primary.main);
39
+ background: #a82227;
41
40
  padding: 10px 15px;
42
- border-radius: 50%;
41
+ border-radius: 2px;
43
42
  color: white;
43
+ height: 43px;
44
+ width: 43px;
44
45
  font-weight: 700;
45
46
  }
46
47
  }
@@ -147,5 +148,5 @@ video::-webkit-media-controls-panel {
147
148
  }
148
149
 
149
150
  .topbarOptionsClassName {
150
- right: -3rem !important
151
- }
151
+ right: -3rem !important;
152
+ }
@@ -3,7 +3,6 @@
3
3
  .field-container {
4
4
  display: flex;
5
5
  align-items: center;
6
- max-width: 540px;
7
6
  @apply flex items-center;
8
7
 
9
8
  .component-in-front {
@@ -11,7 +11,6 @@
11
11
  text-align: left;
12
12
  }
13
13
  .field-container {
14
- max-width: 540px;
15
14
  }
16
15
  button {
17
16
  @extend .light-primary-button;
package/src/index.scss CHANGED
@@ -64,6 +64,7 @@
64
64
  @import "./components/CitizenHomeCard.scss";
65
65
  @import "./components/PropertySearchForm.scss";
66
66
  @import "./components/SearchForm.scss";
67
+ @import "./components/WorkflowTimeline.scss";
67
68
  @import "./components/cardHeaderWithOptions.scss";
68
69
  @import "./components/TimeLine.scss";
69
70
  @import "./components/PageBasedInput.scss";
@@ -169,6 +169,7 @@
169
169
  }
170
170
 
171
171
  .search-complaint-container {
172
+ width: 100%;
172
173
  @apply items-center bg-white p-md;
173
174
 
174
175
  .complaint-input-container {
@@ -33,7 +33,6 @@
33
33
  position: fixed;
34
34
  top: 0;
35
35
  width: 100%;
36
- padding: 10px 24px;
37
36
  background: white;
38
37
  box-shadow: rgba(0, 0, 0, 0.24) 0 1px 4px;
39
38
  z-index: 9999;