@tattvafoundation/upyog-css 1.0.42 → 1.0.43

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": "@tattvafoundation/upyog-css",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "engines": {
@@ -1626,283 +1626,60 @@ body {
1626
1626
  font-weight: 100;
1627
1627
  }
1628
1628
 
1629
- /* ============================================
1630
- CITIZEN SIDEBAR - Collapsed/Expanded Design
1631
- ============================================ */
1632
-
1633
- /* --- SideBarStatic container (outer wrapper in flex layout) --- */
1634
1629
  .SideBarStatic {
1635
1630
  width: 60px;
1636
- overflow: visible;
1631
+ transition: all linear 0.5s;
1632
+ overflow: hidden;
1637
1633
  height: 100%;
1638
- z-index: 100;
1639
- flex-shrink: 0;
1640
1634
  }
1641
1635
 
1642
- /* --- drawer-desktop (the actual fixed sidebar panel) --- */
1636
+ /* The expanded state of sidebar on hover */
1643
1637
  .drawer-desktop {
1644
1638
  width: 60px;
1645
- transition: width 0.3s ease;
1639
+ transition: all linear 0.5s;
1646
1640
  height: 100%;
1647
- overflow: hidden;
1648
- overflow-y: auto;
1649
- font-family: 'Open Sans', sans-serif;
1650
- background-color: #f5eacd;
1651
- position: fixed;
1652
- top: 0;
1653
- bottom: 0;
1654
- left: 0;
1655
- padding-top: 80px;
1656
- z-index: 100;
1657
- box-shadow: 2px 0 8px rgba(0, 0, 0, 0.06);
1658
1641
  }
1659
1642
 
1660
1643
  .drawer-desktop:hover {
1661
- width: 220px;
1662
- box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
1663
- }
1664
-
1665
- /* --- Profile Section --- */
1666
- .drawer-desktop .profile-section {
1667
- display: flex;
1668
- flex-direction: column;
1669
- align-items: center;
1670
- padding: 16px 8px 0 8px;
1671
- background-color: transparent;
1644
+ width: 200px;
1645
+ /* Sidebar expands on hover */
1672
1646
  }
1673
1647
 
1674
- /* Profile image - collapsed: small circle centered in 60px */
1675
- .drawer-desktop .profile-section img {
1676
- width: 36px !important;
1677
- height: 36px !important;
1678
- object-fit: cover;
1679
- object-position: center;
1680
- border-radius: 50%;
1681
- margin: 0 auto 8px !important;
1682
- transition: width 0.3s ease, height 0.3s ease;
1683
- border: 2px solid #C8850A;
1684
- }
1685
-
1686
- /* Profile image - expanded: larger */
1687
- .drawer-desktop:hover .profile-section img {
1688
- width: 72px !important;
1689
- height: 72px !important;
1690
- margin-bottom: 12px !important;
1648
+ .drawer-desktop:hover .profile-section {
1649
+ display: block;
1650
+ /* Show profile when expanded */
1691
1651
  }
1692
1652
 
1693
- /* Profile name - hidden when collapsed */
1694
1653
  .drawer-desktop .profile-section .name-Profile {
1695
1654
  display: none;
1655
+ /* Hide profile name when collapsed */
1696
1656
  }
1697
1657
 
1698
1658
  .drawer-desktop:hover .profile-section .name-Profile {
1699
1659
  display: block;
1660
+ /* Show profile name when expanded */
1700
1661
  }
1701
1662
 
1702
- .drawer-desktop .profile-section .name-Profile .label-text {
1703
- text-align: center;
1704
- font-weight: 700;
1705
- font-size: 15px;
1706
- color: #0b0c0c;
1707
- letter-spacing: 0.3px;
1708
- line-height: 1.3;
1709
- white-space: nowrap;
1710
- overflow: hidden;
1711
- text-overflow: ellipsis;
1712
- max-width: 190px;
1713
- }
1714
-
1715
- /* Profile location/phone - hidden when collapsed */
1716
1663
  .drawer-desktop .profile-section .loc-Profile {
1717
1664
  display: none;
1665
+ /* Hide profile location when collapsed */
1718
1666
  }
1719
1667
 
1720
1668
  .drawer-desktop:hover .profile-section .loc-Profile {
1721
1669
  display: block;
1670
+ /* Show profile location when expanded */
1722
1671
  }
1723
1672
 
1724
- .drawer-desktop .profile-section .loc-Profile .label-text {
1673
+ .drawer-desktop .profile-section .label-text {
1725
1674
  text-align: center;
1726
- font-size: 13px;
1727
- color: #767676;
1728
- white-space: nowrap;
1729
- overflow: hidden;
1730
- text-overflow: ellipsis;
1731
- max-width: 190px;
1732
- }
1733
-
1734
- /* Profile divider - hidden when collapsed */
1735
- .drawer-desktop .profile-section .profile-divider {
1736
- display: none;
1737
- }
1738
-
1739
- .drawer-desktop:hover .profile-section .profile-divider {
1740
- display: block;
1741
- border-top: 1px solid #d6d5d4;
1742
- width: 85%;
1743
- margin: 12px auto 4px;
1744
- }
1745
-
1746
- /* --- Menu Items --- */
1747
-
1748
- .drawer-desktop .sidebar-list {
1749
- padding: 4px 8px !important;
1750
- margin: 0;
1751
- border-left: none !important;
1752
1675
  }
1753
1676
 
1754
- .drawer-desktop .sidebar-list.active {
1755
- border-left: none !important;
1756
- padding-left: 8px !important;
1677
+ .SideBarStatic:hover {
1678
+ width: 200px;
1757
1679
  }
1758
1680
 
1759
- .drawer-desktop .sidebar-list.active .menu-label {
1760
- color: #b08905;
1761
- font-weight: 600;
1762
- }
1763
-
1764
- .drawer-desktop .sidebar-list.active .icon {
1765
- fill: #b08905 !important;
1766
- color: #b08905 !important;
1767
- }
1768
-
1769
- .drawer-desktop .menu-item {
1770
- display: flex !important;
1771
- align-items: center;
1772
- min-height: 42px;
1773
- line-height: 42px;
1774
- padding: 0;
1775
- cursor: pointer;
1776
- border-radius: 10px;
1777
- transition: background-color 0.2s ease;
1778
- }
1779
-
1780
- .drawer-desktop .menu-item:hover {
1781
- background-color: rgba(200, 133, 10, 0.08);
1782
- }
1783
-
1784
- /* Active: gold-tinted pill background on the menu-item */
1785
- .drawer-desktop .sidebar-list.active .menu-item {
1786
- background-color: rgba(176, 137, 5, 0.14);
1787
- }
1788
-
1789
- /* Icon - centered in 60px when collapsed */
1790
- .drawer-desktop .menu-item .icon {
1791
- display: flex !important;
1792
- align-items: center;
1793
- justify-content: center;
1794
- float: none !important;
1795
- width: 21px !important;
1796
- height: 21px !important;
1797
- min-width: 21px;
1798
- margin: 0 !important;
1799
- margin-left: 11px !important;
1800
- margin-right: 11px !important;
1801
- fill: rgb(117, 117, 117);
1802
- color: rgb(117, 117, 117);
1803
- transition: fill 0.2s ease, color 0.2s ease, margin 0.3s ease;
1804
- }
1805
-
1806
- /* Menu label - hidden when collapsed */
1807
- .drawer-desktop .menu-item .menu-label {
1808
- display: none;
1809
- margin-left: 0;
1810
- font-size: 14px;
1811
- color: #5f5c62;
1812
- white-space: normal !important;
1813
- word-wrap: break-word;
1814
- overflow: visible !important;
1815
- text-overflow: unset !important;
1816
- line-height: 1.3;
1817
- }
1818
-
1819
- /* Show labels on hover (expanded state) */
1820
- .drawer-desktop:hover .menu-item .menu-label {
1821
- display: block;
1822
- }
1823
-
1824
- /* Adjust icon margin when expanded */
1825
- .drawer-desktop:hover .menu-item .icon {
1826
- margin-left: 12px !important;
1827
- margin-right: 10px !important;
1828
- }
1829
-
1830
- /* Expanded: add left border indicator to active item */
1831
- .drawer-desktop:hover .sidebar-list.active {
1832
- border-left: 3px solid #b08905;
1833
- padding-left: 5px;
1834
- border-radius: 0 10px 10px 0;
1835
- }
1836
-
1837
- /* --- Scrollbar styling --- */
1838
- .drawer-desktop::-webkit-scrollbar {
1839
- width: 4px;
1840
- }
1841
-
1842
- .drawer-desktop::-webkit-scrollbar-track {
1843
- background: transparent;
1844
- }
1845
-
1846
- .drawer-desktop::-webkit-scrollbar-thumb {
1847
- background-color: rgba(176, 137, 5, 0.3);
1848
- border-radius: 4px;
1849
- }
1850
-
1851
- .drawer-desktop::-webkit-scrollbar-thumb:hover {
1852
- background-color: rgba(176, 137, 5, 0.5);
1853
- }
1854
-
1855
- /* --- Link styling --- */
1856
- .drawer-desktop .sidebar-list a {
1857
- text-decoration: none;
1858
- color: inherit;
1859
- display: block;
1860
- width: 100%;
1861
- }
1862
-
1863
- /* Menu wrapper */
1864
- .drawer-desktop .drawer-menu-list {
1865
- padding-top: 4px;
1866
- background-color: #f5eacd;
1867
- }
1868
-
1869
- /* --- Content width overrides (sidebar is 60px, not 219px) --- */
1870
- @media (min-width: 780px) {
1871
- .SideBarStatic {
1872
- width: 60px;
1873
- background: transparent;
1874
- margin-top: -24px;
1875
- }
1876
-
1877
- .moduleLinkHomePage {
1878
- width: calc(100% - 60px) !important;
1879
- }
1880
-
1881
- .citizen-form-wrapper {
1882
- width: calc(100% - 60px) !important;
1883
- }
1884
-
1885
- .citizen-obps-wrapper,
1886
- .selection-card-wrapper,
1887
- .fsm-citizen-wrapper,
1888
- .pgr-citizen-wrapper,
1889
- .pt-citizen,
1890
- .bill-citizen,
1891
- .bills-citizen-wrapper,
1892
- .payer-bills-citizen-wrapper,
1893
- .engagement-citizen-wrapper,
1894
- .citizen-all-services-wrapper,
1895
- .mcollect-citizen,
1896
- .ws-citizen-wrapper,
1897
- .tl-citizen {
1898
- width: calc(100% - 60px) !important;
1899
- }
1900
- }
1901
-
1902
- @media (max-width: 780px) {
1903
- .SideBarStatic {
1904
- display: none;
1905
- }
1681
+ .SideBarStatic:hover .drawer-desktop {
1682
+ width: 200px;
1906
1683
  }
1907
1684
 
1908
1685
  .card p.message-text {
@@ -2169,148 +1946,6 @@ button.submit-bar:hover {
2169
1946
  width: auto;
2170
1947
  padding: 0;
2171
1948
  }
2172
- .deonar-flowchart .employee .ground-container {
2173
- margin-bottom: 0px !important;
2174
- }
2175
- .flowchart-header {
2176
- --r: 70px;
2177
-
2178
- line-height: 3;
2179
- padding-inline: 1em;
2180
- border-inline: var(--r) solid #0000;
2181
- border-radius: calc(2*var(--r)) calc(2*var(--r)) 0 0/var(--r);
2182
- mask:
2183
- radial-gradient(var(--r) at var(--r) 0,#0000 98%,#000 101%)
2184
- calc(-1*var(--r)) 100%/100% var(--r) repeat-x,
2185
- conic-gradient(#000 0 0) padding-box;
2186
- background: #bd5532 border-box;
2187
- width: fit-content;
2188
- background-color: rgb(229 116 0);
2189
- color: white;
2190
- font-weight: 700;
2191
- }
2192
- .verify-receipt-page .citizen .main {
2193
- width: 100%;
2194
- padding-top: 82px;
2195
- justify-content: center;
2196
- }
2197
- .verify-receipt-page .verify-reciept-main {
2198
- max-width: 700px;
2199
- width: 100%;
2200
- padding: 12px;
2201
- background-color: #f3f4f6;
2202
- box-sizing: border-box;
2203
- }
2204
-
2205
- .verify-receipt-page .verify-reciept-card {
2206
- padding: 16px;
2207
- border-radius: 12px;
2208
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
2209
- background-color: #ffffff;
2210
- width: 100%;
2211
- box-sizing: border-box;
2212
- overflow-x: hidden;
2213
- }
2214
-
2215
- .verify-receipt-page .verify-reciept-card-header {
2216
- color: #1f2937;
2217
- border-bottom: 1px solid #e5e7eb;
2218
- padding-bottom: 12px;
2219
- margin-bottom: 16px;
2220
- font-size: clamp(16px, 4vw, 20px);
2221
- font-weight: 700;
2222
- display: flex;
2223
- align-items: center;
2224
- gap: 8px;
2225
- }
2226
-
2227
- .verify-receipt-page .verify-reciept-header-icon {
2228
- width: 28px;
2229
- height: 28px;
2230
- border-radius: 50%;
2231
- background-color: #2563eb;
2232
- display: inline-flex;
2233
- align-items: center;
2234
- justify-content: center;
2235
- flex-shrink: 0;
2236
- }
2237
-
2238
- .verify-receipt-page .verify-reciept-row {
2239
- display: flex;
2240
- flex-direction: row;
2241
- justify-content: space-between;
2242
- align-items: flex-start;
2243
- padding: 10px 0;
2244
- border-bottom: 1px solid #f3f4f6;
2245
- gap: 8px;
2246
- flex-wrap: wrap;
2247
- }
2248
-
2249
- .verify-receipt-page .verify-reciept-row.last {
2250
- border-bottom: none;
2251
- }
2252
-
2253
- .verify-receipt-page .verify-reciept-label {
2254
- font-size: clamp(12px, 3vw, 14px);
2255
- color: #6b7280;
2256
- font-weight: 500;
2257
- flex: 1 1 40%;
2258
- min-width: 120px;
2259
- }
2260
-
2261
- .verify-receipt-page .verify-reciept-value {
2262
- font-size: clamp(12px, 3vw, 14px);
2263
- color: #1f2937;
2264
- font-weight: 400;
2265
- flex: 1 1 50%;
2266
- text-align: right;
2267
- word-break: break-word;
2268
- }
2269
-
2270
- .verify-receipt-page .verify-reciept-value.bold {
2271
- font-weight: 600;
2272
- }
2273
-
2274
- .verify-receipt-page .verify-reciept-badge {
2275
- font-weight: 700;
2276
- color: #2563eb;
2277
- font-size: clamp(13px, 3.5vw, 15px);
2278
- background: #eff6ff;
2279
- padding: 2px 8px;
2280
- border-radius: 6px;
2281
- display: inline-block;
2282
- }
2283
-
2284
- .verify-receipt-page .verify-reciept-amount {
2285
- color: #059669;
2286
- font-weight: 700;
2287
- font-size: clamp(14px, 4vw, 18px);
2288
- }
2289
-
2290
- .verify-receipt-page .verify-reciept-error-card {
2291
- padding: 20px;
2292
- border-radius: 12px;
2293
- margin: 16px;
2294
- background-color: #fff5f5;
2295
- border: 1px solid #fecaca;
2296
- }
2297
-
2298
- .verify-receipt-page .verify-reciept-error-label {
2299
- color: #dc2626;
2300
- font-weight: 600;
2301
- text-align: center;
2302
- font-size: clamp(13px, 3.5vw, 15px);
2303
- }
2304
-
2305
- .verify-receipt-page .verify-reciept-section-title {
2306
- font-size: 11px;
2307
- font-weight: 600;
2308
- color: #9ca3af;
2309
- text-transform: uppercase;
2310
- letter-spacing: 0.08em;
2311
- padding: 10px 0 4px;
2312
- }
2313
-
2314
1949
  /* Extra Small Mobile Phones (up to 320px) */
2315
1950
  @media screen and (max-width: 320px) {
2316
1951
  .mobile-CardWrapper {
@@ -2394,13 +2029,3 @@ button.submit-bar:hover {
2394
2029
  }
2395
2030
  }
2396
2031
 
2397
-
2398
-
2399
- @media screen and (max-width: 400px) {
2400
- .verify-receipt-page .verify-reciept-value {
2401
- text-align: left;
2402
- }
2403
- .verify-receipt-page .citizen .main {
2404
- padding-top: 60px;
2405
- }
2406
- }
@@ -129,15 +129,14 @@ body {
129
129
  .inventory_form-select,
130
130
  .inventory_form-textarea {
131
131
  width: 100%;
132
- padding: 10px;
133
- border: 1px solid #000;
134
- border-radius: 0px;
135
- font-size: 16px;
132
+ padding: 0.875rem 1rem;
133
+ border: 2px solid var(--border-color);
134
+ border-radius: 8px;
135
+ font-size: 1rem;
136
136
  transition: all 0.3s ease;
137
- background: #e8f0fe;
138
- color: #000;
137
+ background: white;
138
+ color: var(--text-primary);
139
139
  line-height: normal;
140
- height: 44px;
141
140
  }
142
141
 
143
142
  .inventory_form-input:focus,