@pmidc/upyog-css 1.2.36-UAT.36 → 1.2.36-UAT.38

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,63 +1,63 @@
1
- {
2
- "name": "@pmidc/upyog-css",
3
- "version": "1.2.36-UAT.36",
4
- "license": "MIT",
5
- "author": "",
6
- "type": "commonjs",
7
- "main": "dist/index.css",
8
- "directories": {
9
- "example": "example"
10
- },
11
- "files": [
12
- "dist/index.min.css",
13
- "dist/index.css",
14
- "svg/**/*.svg",
15
- "img/**/*.png",
16
- "src/**/*.scss",
17
- "src/**/*.css"
18
- ],
19
- "scripts": {
20
- "start": "gulp build",
21
- "build:prod": "gulp build",
22
- "prepublish": "yarn build:prod",
23
- "deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
24
- },
25
- "dependencies": {
26
- "normalize.css": "8.0.1",
27
- "postcss-scss": "3.0.5",
28
- "tailwindcss": "^1.9.6",
29
- "yarn": "^1.22.22"
30
- },
31
- "devDependencies": {
32
- "autoprefixer": "^10.4.4",
33
- "cssnano": "4.1.11",
34
- "gh-pages": "3.2.3",
35
- "gulp": "4.0.2",
36
- "gulp-clean": "^0.4.0",
37
- "gulp-clean-css": "^4.3.0",
38
- "gulp-livereload": "^4.0.2",
39
- "gulp-postcss": "9.0.1",
40
- "gulp-rename": "^2.0.0",
41
- "gulp-sass": "^5.0.0",
42
- "postcss": "8.4.12",
43
- "postcss-cli": "8.3.1",
44
- "postcss-header": "2.0.0",
45
- "postcss-import": "^12.0.1",
46
- "postcss-prefixer": "2.1.3",
47
- "postcss-preset-env": "^6.7.1",
48
- "postcss-scss": "3.0.5",
49
- "sass": "1.49.11"
50
- },
51
- "engines": {
52
- "node": ">=10"
53
- },
54
- "cssConfig": {
55
- "prefix": ""
56
- },
57
- "browserslist": [
58
- "> 3%",
59
- "last 2 versions"
60
- ],
61
- "style": "./dist/index.css",
62
- "description": ""
63
- }
1
+ {
2
+ "name": "@pmidc/upyog-css",
3
+ "version": "1.2.36-UAT.38",
4
+ "license": "MIT",
5
+ "author": "",
6
+ "type": "commonjs",
7
+ "main": "dist/index.css",
8
+ "directories": {
9
+ "example": "example"
10
+ },
11
+ "files": [
12
+ "dist/index.min.css",
13
+ "dist/index.css",
14
+ "svg/**/*.svg",
15
+ "img/**/*.png",
16
+ "src/**/*.scss",
17
+ "src/**/*.css"
18
+ ],
19
+ "scripts": {
20
+ "start": "gulp build",
21
+ "build:prod": "gulp build",
22
+ "prepublish": "yarn build:prod",
23
+ "deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
24
+ },
25
+ "dependencies": {
26
+ "normalize.css": "8.0.1",
27
+ "postcss-scss": "3.0.5",
28
+ "tailwindcss": "^1.9.6",
29
+ "yarn": "^1.22.22"
30
+ },
31
+ "devDependencies": {
32
+ "autoprefixer": "^10.4.4",
33
+ "cssnano": "4.1.11",
34
+ "gh-pages": "3.2.3",
35
+ "gulp": "4.0.2",
36
+ "gulp-clean": "^0.4.0",
37
+ "gulp-clean-css": "^4.3.0",
38
+ "gulp-livereload": "^4.0.2",
39
+ "gulp-postcss": "9.0.1",
40
+ "gulp-rename": "^2.0.0",
41
+ "gulp-sass": "^5.0.0",
42
+ "postcss": "8.4.12",
43
+ "postcss-cli": "8.3.1",
44
+ "postcss-header": "2.0.0",
45
+ "postcss-import": "^12.0.1",
46
+ "postcss-prefixer": "2.1.3",
47
+ "postcss-preset-env": "^6.7.1",
48
+ "postcss-scss": "3.0.5",
49
+ "sass": "1.49.11"
50
+ },
51
+ "engines": {
52
+ "node": ">=10"
53
+ },
54
+ "cssConfig": {
55
+ "prefix": ""
56
+ },
57
+ "browserslist": [
58
+ "> 3%",
59
+ "last 2 versions"
60
+ ],
61
+ "style": "./dist/index.css",
62
+ "description": ""
63
+ }
package/src/index.scss CHANGED
@@ -2465,4 +2465,259 @@ input[type="date"] {
2465
2465
  padding: 0 10px 10px;
2466
2466
  font-size: 13px;
2467
2467
  color: #717171;
2468
- }
2468
+ }
2469
+
2470
+ /* Verify document page */
2471
+ .plinth-draft-page {
2472
+ width: 100%;
2473
+ max-width: 980px;
2474
+ margin: 0 auto;
2475
+ padding: 12px 16px 72px;
2476
+ box-sizing: border-box;
2477
+ }
2478
+
2479
+ .plinth-draft-back {
2480
+ border: none;
2481
+ background: transparent;
2482
+ color: #1d4ed8;
2483
+ font-size: 14px;
2484
+ font-weight: 600;
2485
+ cursor: pointer;
2486
+ padding: 0;
2487
+ margin-bottom: 16px;
2488
+ }
2489
+
2490
+ .plinth-draft-hero {
2491
+ background: linear-gradient(135deg, #0f2b5b 0%, #1e4a8a 55%, #0f766e 100%);
2492
+ border-radius: 16px;
2493
+ padding: 24px 28px;
2494
+ margin-bottom: 16px;
2495
+ color: #fff;
2496
+ box-shadow: 0 14px 34px rgba(15, 43, 91, 0.2);
2497
+ }
2498
+
2499
+ .plinth-draft-hero__eyebrow {
2500
+ margin: 0 0 8px;
2501
+ font-size: 12px;
2502
+ font-weight: 700;
2503
+ letter-spacing: 0.04em;
2504
+ text-transform: uppercase;
2505
+ opacity: 0.9;
2506
+ }
2507
+
2508
+ .plinth-draft-hero__title {
2509
+ margin: 0 0 8px;
2510
+ font-size: 26px;
2511
+ line-height: 1.2;
2512
+ font-weight: 700;
2513
+ }
2514
+
2515
+ .plinth-draft-hero__subtitle {
2516
+ margin: 0;
2517
+ max-width: 720px;
2518
+ font-size: 14px;
2519
+ line-height: 1.5;
2520
+ opacity: 0.92;
2521
+ }
2522
+
2523
+ .plinth-draft-form-card {
2524
+ background: #fff;
2525
+ border: 1px solid #e5e7eb;
2526
+ border-radius: 14px;
2527
+ padding: 24px;
2528
+ margin-bottom: 18px;
2529
+ box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
2530
+ }
2531
+
2532
+ .plinth-draft-form-grid {
2533
+ display: grid;
2534
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2535
+ gap: 20px 24px;
2536
+ }
2537
+
2538
+ .plinth-draft-field {
2539
+ min-width: 0;
2540
+ display: flex;
2541
+ flex-direction: column;
2542
+
2543
+ .card-label,
2544
+ label {
2545
+ margin-bottom: 8px;
2546
+ font-size: 14px;
2547
+ font-weight: 600;
2548
+ color: #111827;
2549
+ }
2550
+
2551
+ input,
2552
+ .employee-select-wrap,
2553
+ .select-wrap,
2554
+ .text-input,
2555
+ .citizen-card-input,
2556
+ .employee-card-input {
2557
+ width: 100%;
2558
+ }
2559
+
2560
+ .text-input,
2561
+ .text-input-width {
2562
+ width: 100% !important;
2563
+ }
2564
+ }
2565
+
2566
+ .plinth-draft-required {
2567
+ color: #b91c1c;
2568
+ margin-right: 2px;
2569
+ }
2570
+
2571
+ .plinth-draft-sanction-row {
2572
+ display: flex;
2573
+ gap: 10px;
2574
+ align-items: stretch;
2575
+
2576
+ .text-input,
2577
+ .text-input-width {
2578
+ flex: 1;
2579
+ width: auto !important;
2580
+ }
2581
+
2582
+ input {
2583
+ flex: 1;
2584
+ }
2585
+ }
2586
+
2587
+ .plinth-draft-btn {
2588
+ border: none;
2589
+ border-radius: 8px;
2590
+ padding: 0 18px;
2591
+ min-height: 42px;
2592
+ font-size: 14px;
2593
+ font-weight: 600;
2594
+ cursor: pointer;
2595
+ white-space: nowrap;
2596
+ }
2597
+
2598
+ .plinth-draft-btn:disabled {
2599
+ opacity: 0.55;
2600
+ cursor: not-allowed;
2601
+ }
2602
+
2603
+ .plinth-draft-btn--primary {
2604
+ background: #0f2b5b;
2605
+ color: #fff;
2606
+ }
2607
+
2608
+ .plinth-draft-empty {
2609
+ padding: 28px 18px;
2610
+ text-align: center;
2611
+ color: #6b7280;
2612
+ background: #f8fafc;
2613
+ border: 1px dashed #cbd5e1;
2614
+ border-radius: 12px;
2615
+ }
2616
+
2617
+ .plinth-draft-list-card {
2618
+ background: #fff;
2619
+ border: 1px solid #e5e7eb;
2620
+ border-radius: 12px;
2621
+ padding: 18px 20px 22px;
2622
+ box-shadow: 0 1px 2px rgba(15, 43, 91, 0.04);
2623
+ }
2624
+
2625
+ .plinth-draft-list-card__header {
2626
+ display: flex;
2627
+ flex-wrap: wrap;
2628
+ align-items: center;
2629
+ justify-content: space-between;
2630
+ gap: 12px;
2631
+ margin-bottom: 16px;
2632
+ }
2633
+
2634
+ .plinth-draft-list-card__title {
2635
+ margin: 0;
2636
+ font-size: 18px;
2637
+ font-weight: 700;
2638
+ color: #0f2b5b;
2639
+ }
2640
+
2641
+ .plinth-draft-list-card__actions {
2642
+ display: flex;
2643
+ flex-wrap: wrap;
2644
+ gap: 8px;
2645
+ }
2646
+
2647
+ .bpa-details-grid {
2648
+ display: grid;
2649
+ grid-template-columns: 1fr 1fr;
2650
+ gap: 0;
2651
+ border: 1px solid #e2e8f0;
2652
+ border-radius: 8px;
2653
+ overflow: hidden;
2654
+ }
2655
+
2656
+ .bpa-details-row {
2657
+ display: grid;
2658
+ grid-template-columns: 1fr 1fr;
2659
+ gap: 12px;
2660
+ padding: 12px 14px;
2661
+ border-bottom: 1px solid #f1f5f9;
2662
+ align-items: center;
2663
+ }
2664
+
2665
+ .bpa-details-row:last-child {
2666
+ border-bottom: none;
2667
+ }
2668
+
2669
+ .bpa-details-row:nth-child(odd) {
2670
+ background: #f8fafc;
2671
+ }
2672
+
2673
+ .bpa-details-row__label {
2674
+ font-size: 13px;
2675
+ font-weight: 600;
2676
+ color: #334155;
2677
+ }
2678
+
2679
+ .bpa-details-row__value {
2680
+ font-size: 13px;
2681
+ color: #2563eb;
2682
+ font-weight: 500;
2683
+ text-align: right;
2684
+ word-break: break-word;
2685
+ }
2686
+
2687
+ @media (max-width: 720px) {
2688
+ .plinth-draft-hero {
2689
+ padding: 20px 16px;
2690
+ }
2691
+
2692
+ .plinth-draft-hero__title {
2693
+ font-size: 22px;
2694
+ }
2695
+
2696
+ .plinth-draft-form-card {
2697
+ padding: 16px;
2698
+ }
2699
+
2700
+ .plinth-draft-form-grid,
2701
+ .bpa-details-grid,
2702
+ .bpa-details-row {
2703
+ grid-template-columns: 1fr;
2704
+ }
2705
+
2706
+ .plinth-draft-form-grid {
2707
+ gap: 16px;
2708
+ }
2709
+
2710
+ .plinth-draft-sanction-row {
2711
+ flex-direction: column;
2712
+ align-items: stretch;
2713
+ }
2714
+
2715
+ .plinth-draft-btn {
2716
+ width: 100%;
2717
+ }
2718
+
2719
+ .bpa-details-row__value {
2720
+ text-align: left;
2721
+ word-break: break-word;
2722
+ }
2723
+ }