@pmidc/upyog-css 1.2.18 → 1.2.20

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": "@pmidc/upyog-css",
3
- "version": "1.2.18",
3
+ "version": "1.2.20",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "engines": {
@@ -722,7 +722,7 @@ button.card-link.submit-bar {
722
722
 
723
723
 
724
724
  .employee .employeeCard .field {
725
- width: 40%;
725
+ width: 100%;
726
726
  }
727
727
  .employee .employeeCard .form-field {
728
728
  width: 100%;
package/src/index.scss CHANGED
@@ -139,7 +139,7 @@
139
139
 
140
140
  @import "./modules/adv/index.scss";
141
141
  @import "./modules/hrms/index.scss";
142
- @import "./pages/employee/EmployeeQuickServicesCard.scss";
142
+
143
143
  .display-none {
144
144
  display: none;
145
145
  }
@@ -172,6 +172,7 @@ $hrms-radius-lg: 16px;
172
172
  padding: $hrms-space-base $hrms-space-lg $hrms-space-sm $hrms-space-lg;
173
173
  border-bottom: 1px solid $hrms-border-light;
174
174
  background: $hrms-bg-white;
175
+ margin-top:3rem;
175
176
 
176
177
  @media (max-width: 768px) {
177
178
  padding: $hrms-space-md;
@@ -757,3 +757,203 @@
757
757
  .filter-card{
758
758
  padding: 1rem !important;
759
759
  }
760
+
761
+ .employee-quick-service-link {
762
+ text-decoration: none;
763
+ display: block;
764
+ }
765
+
766
+ .employee-quick-service-card {
767
+ display: flex;
768
+ align-items: stretch;
769
+ border-radius: 16px;
770
+ overflow: hidden;
771
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
772
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
773
+ transform: translateY(0) scale(1);
774
+ background: white;
775
+ position: relative;
776
+ border: 2px solid transparent;
777
+ width: 400px;
778
+ height: 140px;
779
+ min-height: 140px;
780
+ max-height: 140px;
781
+
782
+ @media (max-width: 768px) {
783
+ width: 100%;
784
+ height: 120px;
785
+ min-height: 120px;
786
+ max-height: 120px;
787
+ }
788
+
789
+ &.hovered {
790
+ box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
791
+ transform: translateY(-4px) scale(1.02);
792
+ border: 2px solid rgba(79, 101, 216, 0.3);
793
+ }
794
+ }
795
+
796
+ .card-icon-container {
797
+ display: flex;
798
+ justify-content: center;
799
+ align-items: center;
800
+ min-width: 120px;
801
+ width: 120px;
802
+ padding: 24px;
803
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
804
+ position: relative;
805
+ overflow: hidden;
806
+
807
+ @media (max-width: 768px) {
808
+ min-width: 80px;
809
+ width: 80px;
810
+ padding: 16px;
811
+ }
812
+ .employee-quick-service-link {
813
+ width: 100%;
814
+
815
+ }
816
+ }
817
+
818
+ .card-background-circle {
819
+ position: absolute;
820
+ width: 150px;
821
+ height: 150px;
822
+ background: rgba(255, 255, 255, 0.1);
823
+ border-radius: 50%;
824
+ top: -50px;
825
+ right: -50px;
826
+ transition: transform 0.5s ease;
827
+ transform: scale(1);
828
+
829
+ @media (max-width: 768px) {
830
+ width: 100px;
831
+ height: 100px;
832
+ top: -40px;
833
+ right: -40px;
834
+ }
835
+
836
+ .hovered & {
837
+ transform: scale(1.5);
838
+ }
839
+ }
840
+
841
+ .card-icon-wrapper {
842
+ transform: scale(1) rotate(0deg);
843
+ transition: transform 0.3s ease;
844
+ z-index: 1;
845
+ filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
846
+
847
+ .hovered & {
848
+ transform: scale(1.15) rotate(5deg);
849
+ }
850
+ }
851
+
852
+ .card-content-container {
853
+ flex: 1;
854
+ display: flex;
855
+ align-items: center;
856
+ justify-content: space-between;
857
+ padding: 24px 32px;
858
+ background: white;
859
+
860
+ @media (max-width: 768px) {
861
+ padding: 16px 20px;
862
+ }
863
+ }
864
+
865
+ .card-text-content {
866
+ flex: 1;
867
+ }
868
+
869
+ .card-module-title {
870
+ font-size: 22px;
871
+ font-weight: 700;
872
+ color: #1a202c;
873
+ margin: 0;
874
+ line-height: 1.3;
875
+ transition: color 0.3s ease;
876
+ overflow: hidden;
877
+ text-overflow: ellipsis;
878
+ white-space: normal;
879
+
880
+ @media (max-width: 768px) {
881
+ font-size: 16px;
882
+ white-space: nowrap;
883
+ }
884
+ }
885
+
886
+ .card-module-description {
887
+ font-size: 14px;
888
+ color: #718096;
889
+ margin: 6px 0 0 0;
890
+ font-weight: 400;
891
+ display: block;
892
+
893
+ @media (max-width: 768px) {
894
+ font-size: 12px;
895
+ display: none;
896
+ }
897
+ }
898
+
899
+ .card-arrow-container {
900
+ display: flex;
901
+ align-items: center;
902
+ justify-content: center;
903
+ width: 40px;
904
+ height: 40px;
905
+ border-radius: 50%;
906
+ background: #f7fafc;
907
+ transition: all 0.3s ease;
908
+ transform: translateX(0);
909
+
910
+ @media (max-width: 768px) {
911
+ width: 32px;
912
+ height: 32px;
913
+ }
914
+
915
+ .hovered & {
916
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
917
+ transform: translateX(4px);
918
+ }
919
+ }
920
+
921
+ .card-arrow-svg {
922
+ transition: transform 0.3s ease;
923
+ transform: translateX(0);
924
+
925
+ .hovered & {
926
+ transform: translateX(2px);
927
+ }
928
+ }
929
+
930
+ .card-arrow-path {
931
+ stroke: #4a5568;
932
+ stroke-width: 2;
933
+ stroke-linecap: round;
934
+ stroke-linejoin: round;
935
+
936
+ .hovered & {
937
+ stroke: white;
938
+ }
939
+ }
940
+
941
+ .card-shine-effect {
942
+ position: absolute;
943
+ top: 0;
944
+ left: -100%;
945
+ width: 100%;
946
+ height: 100%;
947
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
948
+ animation: shine 0.6s ease;
949
+ pointer-events: none;
950
+ }
951
+
952
+ @keyframes shine {
953
+ 0% {
954
+ left: -100%;
955
+ }
956
+ 100% {
957
+ left: 100%;
958
+ }
959
+ }
@@ -1,199 +0,0 @@
1
- .employee-quick-service-link {
2
- text-decoration: none;
3
- display: block;
4
- }
5
-
6
- .employee-quick-service-card {
7
- display: flex;
8
- align-items: stretch;
9
- border-radius: 16px;
10
- overflow: hidden;
11
- box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
12
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
13
- transform: translateY(0) scale(1);
14
- background: white;
15
- position: relative;
16
- border: 2px solid transparent;
17
- width: 400px;
18
- height: 140px;
19
- min-height: 140px;
20
- max-height: 140px;
21
-
22
- @media (max-width: 768px) {
23
- width: 100%;
24
- height: 120px;
25
- min-height: 120px;
26
- max-height: 120px;
27
- }
28
-
29
- &.hovered {
30
- box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
31
- transform: translateY(-4px) scale(1.02);
32
- border: 2px solid rgba(79, 101, 216, 0.3);
33
- }
34
- }
35
-
36
- .card-icon-container {
37
- display: flex;
38
- justify-content: center;
39
- align-items: center;
40
- min-width: 120px;
41
- width: 120px;
42
- padding: 24px;
43
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
44
- position: relative;
45
- overflow: hidden;
46
-
47
- @media (max-width: 768px) {
48
- min-width: 80px;
49
- width: 80px;
50
- padding: 16px;
51
- }
52
- .employee-quick-service-link {
53
- width: 100%;
54
-
55
- }
56
- }
57
-
58
- .card-background-circle {
59
- position: absolute;
60
- width: 150px;
61
- height: 150px;
62
- background: rgba(255, 255, 255, 0.1);
63
- border-radius: 50%;
64
- top: -50px;
65
- right: -50px;
66
- transition: transform 0.5s ease;
67
- transform: scale(1);
68
-
69
- @media (max-width: 768px) {
70
- width: 100px;
71
- height: 100px;
72
- top: -40px;
73
- right: -40px;
74
- }
75
-
76
- .hovered & {
77
- transform: scale(1.5);
78
- }
79
- }
80
-
81
- .card-icon-wrapper {
82
- transform: scale(1) rotate(0deg);
83
- transition: transform 0.3s ease;
84
- z-index: 1;
85
- filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
86
-
87
- .hovered & {
88
- transform: scale(1.15) rotate(5deg);
89
- }
90
- }
91
-
92
- .card-content-container {
93
- flex: 1;
94
- display: flex;
95
- align-items: center;
96
- justify-content: space-between;
97
- padding: 24px 32px;
98
- background: white;
99
-
100
- @media (max-width: 768px) {
101
- padding: 16px 20px;
102
- }
103
- }
104
-
105
- .card-text-content {
106
- flex: 1;
107
- }
108
-
109
- .card-module-title {
110
- font-size: 22px;
111
- font-weight: 700;
112
- color: #1a202c;
113
- margin: 0;
114
- line-height: 1.3;
115
- transition: color 0.3s ease;
116
- overflow: hidden;
117
- text-overflow: ellipsis;
118
- white-space: normal;
119
-
120
- @media (max-width: 768px) {
121
- font-size: 16px;
122
- white-space: nowrap;
123
- }
124
- }
125
-
126
- .card-module-description {
127
- font-size: 14px;
128
- color: #718096;
129
- margin: 6px 0 0 0;
130
- font-weight: 400;
131
- display: block;
132
-
133
- @media (max-width: 768px) {
134
- font-size: 12px;
135
- display: none;
136
- }
137
- }
138
-
139
- .card-arrow-container {
140
- display: flex;
141
- align-items: center;
142
- justify-content: center;
143
- width: 40px;
144
- height: 40px;
145
- border-radius: 50%;
146
- background: #f7fafc;
147
- transition: all 0.3s ease;
148
- transform: translateX(0);
149
-
150
- @media (max-width: 768px) {
151
- width: 32px;
152
- height: 32px;
153
- }
154
-
155
- .hovered & {
156
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
157
- transform: translateX(4px);
158
- }
159
- }
160
-
161
- .card-arrow-svg {
162
- transition: transform 0.3s ease;
163
- transform: translateX(0);
164
-
165
- .hovered & {
166
- transform: translateX(2px);
167
- }
168
- }
169
-
170
- .card-arrow-path {
171
- stroke: #4a5568;
172
- stroke-width: 2;
173
- stroke-linecap: round;
174
- stroke-linejoin: round;
175
-
176
- .hovered & {
177
- stroke: white;
178
- }
179
- }
180
-
181
- .card-shine-effect {
182
- position: absolute;
183
- top: 0;
184
- left: -100%;
185
- width: 100%;
186
- height: 100%;
187
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
188
- animation: shine 0.6s ease;
189
- pointer-events: none;
190
- }
191
-
192
- @keyframes shine {
193
- 0% {
194
- left: -100%;
195
- }
196
- 100% {
197
- left: 100%;
198
- }
199
- }