Initial commit

This commit is contained in:
Ivan Petrov
2025-12-24 19:19:01 +03:00
commit a7097c6178
19493 changed files with 94306 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-schema" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="white" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M5 2h5v4h-5z" />
<path d="M15 10h5v4h-5z" />
<path d="M5 18h5v4h-5z" />
<path d="M5 10h5v4h-5z" />
<path d="M10 12h5" />
<path d="M7.5 6v4" />
<path d="M7.5 14v4" />
</svg>

After

Width:  |  Height:  |  Size: 486 B

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="512" height="512" fill="#dfdfdf">
<path transform="scale(0.5 0.5)" d="M539.972 177.382L531.79 178.7C517.284 180.421 480.096 180.198 469.238 170.987C464.517 166.982 461.582 160.528 458.839 155.128C455.66 148.87 451.802 142.425 451.466 135.248C451.093 127.257 452.955 119.661 458.48 113.648C464.936 106.621 472.575 105.069 481.75 104.728C494.047 104.273 506.487 104.684 518.799 104.65C528.492 104.623 539.405 103.666 548.974 105.223C553.801 106.008 558.303 107.892 562.142 110.921C567.297 114.99 571.382 119.906 572.151 126.666L572.25 127.578C573.869 140.827 566.152 155.574 559.082 166.445C554.427 173.602 547.98 175.672 539.972 177.382Z"/>
<path transform="scale(0.5 0.5)" d="M240.117 303.395L238.704 303.545C228.521 304.521 219.819 302.268 211.929 295.683C205.348 290.191 201.069 281.46 200.464 272.906C199.593 260.581 200.243 248.939 208.755 239.221C213.401 233.917 219.032 229.099 224.04 224.108C227.714 220.447 231.407 216.805 235.121 213.185C237.512 210.855 239.865 208.262 242.626 206.372C248.636 202.257 255.844 200.196 263.036 199.713C271.005 198.866 282.335 201.114 289.17 205.276C294.045 208.244 298.693 214.379 299.918 219.93C300.038 220.474 300.143 220.939 300.35 221.459C301.659 224.749 302.04 228.845 302.75 232.358C304.091 238.993 304.375 244.398 300.266 250.145C297.932 253.411 294.3 256.164 291.5 259.102C280.745 270.39 269.731 281.138 258.454 291.899C255.872 294.363 253.501 297.666 250.75 299.856C247.93 302.101 243.599 302.799 240.117 303.395Z"/>
<path transform="scale(0.5 0.5)" d="M790.286 302.832C787.906 303.312 784.079 303.137 781.674 302.764L781 302.651C778.404 302.246 775.523 301.843 773.137 300.689C770.364 299.348 767.739 294.608 765.483 292.328C755.692 282.432 745.687 272.765 735.948 262.809C732.52 259.304 729.138 255.787 725.845 252.155C723.806 249.907 721.525 247.644 720.599 244.667C720.115 243.108 720.358 240.91 720.4 239.288C720.615 230.858 722.735 220.91 727.114 213.65C731.524 206.337 737.804 203.488 745.75 201.359C748.625 200.589 751.379 200.415 754.34 200.217C755.303 199.94 757.028 200.111 758.055 200.091C763.705 199.98 768.103 200.729 773.438 202.48C776.399 203.452 779.527 205.083 782 206.96C787.285 210.969 791.82 216.247 796.595 220.857C801.451 225.544 806.503 230.037 811.3 234.779C814.529 237.971 818.043 241.476 820.063 245.589L820.375 246.25C821.212 247.964 821.73 249.409 822.25 251.228C824.004 257.367 823.969 264.264 823.961 270.625C823.956 274.76 824.02 279.337 822.484 283.243L822.274 283.75C821.335 286.077 820.272 288.467 818.694 290.438C811.722 299.141 800.739 301.423 790.286 302.832Z"/>
<path transform="scale(0.5 0.5)" d="M513.773 621.845C484.933 622.144 456.087 621.883 427.246 621.913C416.865 621.923 406.485 621.968 396.104 622.014C391.273 622.035 386.313 622.34 381.5 622.11C380.302 622.053 379.272 621.727 378.232 621.124C376.254 619.976 374.639 617.676 374.134 615.451C373.565 612.944 373.599 610.507 374.786 608.186C378.63 600.675 384.135 593.204 388.796 586.129C396.356 574.656 403.677 562.958 411.128 551.405C423.998 531.449 436.485 511.238 449.175 491.166C460.141 473.822 471.597 456.696 482.131 439.094C486.691 431.475 491.417 423.924 496.141 416.405C498.358 412.876 500.517 408.578 503.385 405.589C505.284 403.609 507.194 402.737 509.818 402.08C513.37 401.904 516.736 402.079 519.482 404.578C523.441 408.181 526.407 414.986 529.338 419.623C538.558 434.21 547.77 448.803 556.93 463.429C560.663 469.389 564.889 475.03 568.75 480.903C578.637 495.941 588.256 511.246 597.997 526.388C612.129 548.357 625.532 570.805 638.956 593.212C640.928 596.504 643.037 599.684 645.188 602.861C647.24 605.891 649.792 609.042 649.978 612.824C650.109 615.483 649.643 617.736 647.726 619.72C646.504 620.984 645.261 621.749 643.497 621.945C638.704 622.477 633.433 622.052 628.604 622.037C618.542 622.006 608.48 621.945 598.418 621.887C570.201 621.722 541.99 621.995 513.773 621.845ZM511.242 470.611C509.236 471.076 506.492 471.665 505.43 473.637C502.595 478.9 505.284 524.954 505.593 534.357L513.724 534.548C515.231 534.4 516.912 534.092 518.413 534.205C518.789 521.477 519.032 508.755 519.306 496.025C519.442 489.658 520.162 482.518 519.454 476.25C519.313 475.001 518.872 474.066 518.046 473.134C516.593 471.496 513.331 470.91 511.242 470.611ZM509.283 553.686L505.226 554.229C503.994 558.541 504.699 563.313 504.81 567.75C504.971 574.186 505.019 580.625 505.182 587.063C505.287 591.193 504.777 595.911 505.51 599.916L516.125 600.369C517.164 600.393 517.692 600.646 518.544 600L519.031 554.066C515.707 553.673 512.627 553.482 509.283 553.686Z"/>
<path transform="scale(0.5 0.5)" d="M149.624 567.657C141.607 570.627 132.029 573.667 123.541 570.726L122.75 570.438C120.742 569.723 118.862 568.954 117.058 567.798C111.565 564.28 107.285 558.275 105.934 551.878L105.75 550.971L105.118 547.565C104.597 542.237 104.749 536.649 104.671 531.292C104.519 520.875 104.514 510.455 104.499 500.037C104.492 494.602 104.464 489.166 104.471 483.731C104.476 480.481 104.239 477 104.805 473.804C105.6 469.319 107.645 465.205 110.597 461.739C115.891 455.523 122.767 452.339 130.819 451.713C133.638 451.304 137.06 451.879 139.864 452.42C148.489 454.085 157.19 458.803 164.5 463.498C168.388 465.995 172.003 468.257 174.549 472.25C176.734 475.677 178.276 480.707 178.882 484.723C180.216 493.567 179.843 502.813 179.879 511.734C179.912 519.808 180.489 529.261 178.821 537.176C178.03 540.933 177.269 544.018 175.93 547.616C173.28 554.737 169.702 558.662 162.84 561.73L149.624 567.657Z"/>
<path transform="scale(0.5 0.5)" d="M879.748 569.123C871.267 566.254 861.291 562.516 853.935 557.373C848.517 553.585 846.669 543.11 845.341 537C843.231 527.29 844.087 515.955 844.15 505.959C844.192 499.328 843.65 491.642 845.304 485.2C846.46 480.696 847.502 476.192 850.105 472.25C856.159 463.084 876.655 454.173 887.277 452.109C892.56 451.729 898.187 451.433 903.093 453.681C910.107 456.896 915.126 462.696 918.031 469.75C918.541 470.987 918.895 471.963 919.014 473.316C920.342 488.423 919.422 504.314 919.525 519.492C919.587 528.615 920.851 538.311 919.719 547.351C919.479 549.265 919.298 551.23 918.776 553.091C916.971 559.518 912.116 564.753 906.432 568.047C897.534 573.204 889.109 571.599 879.748 569.123Z"/>
<path transform="scale(0.5 0.5)" d="M756.874 824.008C749.096 823.165 740.185 821.729 733.5 817.438C725.157 812.084 723.253 801.594 721.306 792.595L720.639 789C720.009 783.54 721.057 776.604 724.75 772.345C727.525 769.146 731.077 766.15 734.09 763.128C741.971 755.223 749.872 747.338 757.723 739.404C761.035 736.057 764.268 732.656 767.428 729.165C769.108 727.308 770.962 724.707 773.143 723.463C776.906 721.319 782.817 721 787.059 720.709C791.613 720.941 796.561 721.514 800.938 722.854C809.812 725.571 815.587 730.708 819.984 738.75C825.133 748.166 825.259 761.689 822.627 771.894C821.883 774.779 820.044 777.786 818.401 780.25C813.041 788.289 805.93 794.358 799.188 801.133C792.774 807.579 786.196 815.327 778.244 819.893L777.691 820.201C770.654 824.204 764.645 824.11 756.874 824.008Z"/>
<path transform="scale(0.5 0.5)" d="M271.451 823.602C261.527 824.446 250.732 824.266 242.5 817.982C233.869 811.395 226.671 802.658 219.116 794.896C214.262 789.909 208.155 785.12 204.709 779.066C202.229 774.709 201.242 769.19 200.645 764.25C199.529 755.009 199.665 740.474 205.788 733.037C212.851 724.46 223.431 722.479 233.805 721.205C238.232 720.79 245.133 721.576 249.155 723.266C250.003 723.622 250.827 723.911 251.5 724.559C253.602 726.584 255.314 729.056 257.406 731.13C267.453 741.089 277.594 750.83 287.499 760.951C291.108 764.639 295.231 767.957 298.702 771.75C300 773.169 301.042 775.098 301.717 776.893L302.018 777.75C302.749 779.668 303.051 781.251 303.276 783.297C304.006 789.945 302.073 797.259 300.026 803.5C298.823 807.169 297.392 811.275 294.843 814.25C289.182 820.855 279.674 822.853 271.451 823.602Z"/>
<path transform="scale(0.5 0.5)" d="M531.117 918.979C518.422 918.676 505.672 918.817 492.972 918.896C487.04 918.933 480.045 919.738 474.286 918.687C470.547 918.005 466.656 916.288 463.563 914.059C457.608 909.767 452.497 901.52 451.564 894.25C450.619 886.88 453.036 880.744 455.817 874.1C458.422 867.879 461.281 862.062 465.459 856.735C472.242 848.087 482.548 846.412 492.779 845.198C497.768 844.604 503.217 844.874 508.245 844.876C521.477 844.881 537.07 844.694 549.375 850.238C560.466 855.236 565.773 869.395 570.022 880C571.682 884.142 572.007 887.349 572.034 891.791C572.077 899.055 569.954 905.371 564.681 910.551C554.971 920.089 543.619 919.038 531.117 918.979Z"/>
</svg>

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-home" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="white" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M5 12l-2 0l9 -9l9 9l-2 0" />
<path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" />
<path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" />
</svg>

After

Width:  |  Height:  |  Size: 442 B

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="512" height="512" fill="white">
<path transform="scale(0.5 0.5)" d="M632.12 497.675C625.111 499.223 617.897 500.829 610.728 501.429C600.93 502.25 590.96 502.119 581.135 502.237C564.94 502.432 548.745 502.516 532.549 502.535C519.618 502.55 506.688 502.551 493.757 502.526C483.408 502.507 473.073 502.609 462.757 501.622C458.878 501.25 454.606 500.304 450.925 499.017C440.189 495.265 430.523 487.807 425.639 477.338L425.324 476.647C422.676 470.986 421.905 465.525 421.289 459.36C420.733 453.794 420.875 448 420.776 442.402C420.594 431.972 420.549 421.542 420.523 411.109C420.502 402.48 420.492 393.85 420.521 385.221C420.543 378.572 420.386 371.702 421.596 365.139C422.869 358.231 425.456 351.439 430.101 346.062C437.864 337.075 449.239 333.059 460.822 332.206C478.851 331.173 497.332 332.103 515.409 332.101C529.189 332.099 542.97 332.034 556.75 332.114C570.309 332.192 584.088 332.18 597.409 335.052C622.139 340.383 646.351 358.613 659.824 379.858C664.037 386.502 667.285 392.845 670.007 400.25L671.519 404.75L674.175 414.008C677.97 425.766 677.73 442.556 674.189 454.329C672.413 460.234 670.289 465.87 667.14 471.194C659.287 484.473 647.05 493.929 632.12 497.675ZM475.483 384.25C474.348 389.298 475.501 395.912 475.471 401.168C475.359 421.041 475.276 440.875 475.44 460.751C475.494 467.289 474.457 474.623 475.531 481.014C497.687 481.066 519.841 481.324 542 481.396C556.141 481.443 571.745 482.61 585.638 479.815C594.138 478.105 602.585 473.88 609.313 468.455C618.448 460.367 623.807 449.591 624.529 437.346C624.838 432.093 624.997 426.356 623.687 421.25L623.488 420.445C620.165 407.386 611.671 397.487 600.202 390.778C594.354 387.357 587.052 385.115 580.344 384.198C574.744 383.432 568.748 383.806 563.108 383.877C555.325 383.974 547.543 383.971 539.759 383.962C524.807 383.945 509.854 383.91 494.902 383.89C490.527 383.884 486.148 383.851 481.773 383.908C479.728 383.935 477.465 383.766 475.483 384.25Z"/>
<path transform="scale(0.5 0.5)" d="M420.51 636.625C420.18 619.931 417.987 601.516 424.847 585.828C431.715 570.121 444.508 559.253 460.387 553.077C464.246 551.576 473.071 547.895 476.831 549.546C476.548 549.947 476.167 550.295 475.983 550.75C475.24 552.59 475.496 556.112 475.481 558.077C475.44 563.227 475.431 568.377 475.421 573.526C475.377 595.658 475.517 617.787 475.554 639.918C482.969 640.158 490.425 639.738 497.843 639.665C509.884 639.547 521.936 639.576 533.979 639.611C543.527 639.64 553.069 639.956 562.618 639.979C568.151 639.991 573.763 640.166 579.25 639.339C592.996 637.267 606.93 631.774 615.499 620.25C623.587 609.372 626.302 595.752 624.182 582.438L624.066 581.75C623.303 577.026 621.891 572.873 619.862 568.551C613.285 554.545 598.216 543.966 583.5 540.125C577.765 538.628 571.513 538.442 565.622 538.224C555.915 537.866 546.169 538.027 536.457 538.1C506.67 538.323 476.867 538.559 447.08 538.525C430.25 538.506 412.784 539.203 396.051 537.448C390.461 536.861 384.242 535.258 378.954 533.34C367.955 529.35 355.957 520.893 351.006 509.992C348.139 503.679 347.92 496.566 350.644 490.183C353.104 484.418 357.732 482.321 363.169 480.085C367.211 479.681 371.016 479.607 374.604 481.8C380.231 485.237 384.006 492.678 385.25 498.961L385.809 501.807C386.767 505.411 390.9 509.121 394.155 510.804L395.029 511.25C402.278 515.011 408.489 514.337 416.335 514.522C422.408 514.665 428.473 514.845 434.548 514.934C465.997 515.394 497.373 515.347 528.825 515.229C543.81 515.173 558.776 515.307 573.75 515.822C581.423 516.085 589.171 515.915 596.809 516.8C612.109 518.572 627.995 521.89 641.719 529.08C653.19 535.09 662.814 544.37 668.75 555.948C670.996 560.33 672.388 564.892 674.016 569.5C674.857 571.881 675.534 574.272 675.818 576.792C676.584 583.597 677.738 589.699 676.563 596.621C675.109 605.184 673.813 613.893 670.422 621.975C668.887 625.635 667.65 629.391 665.898 632.968C662.043 640.838 656.86 648.787 651.224 655.53C634.774 675.21 610.711 688.279 585.131 690.508C564.914 692.269 543.981 690.978 523.66 691.145C509.443 691.261 495.23 691.442 481.012 691.482C472.655 691.505 463.714 692.063 455.453 690.649C448.432 689.447 441.806 686.751 436.395 682.043C423.411 670.744 421.533 652.681 420.51 636.625Z"/>
</svg>

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="512" height="512" fill="#dfdfdf">
<path transform="scale(0.5 0.5)" d="M512.375 376.561C472.414 376.719 437.054 360.233 408.019 333.434C378.646 306.324 359.574 264.563 358.182 224.638C357.354 200.885 359.581 177.341 368.084 154.985C375.078 136.6 386.734 119.173 400.134 104.873C416.343 87.5755 437.674 72.5515 460.153 64.6905C476.579 58.9465 494.352 56.7758 511.642 56.2326C534.881 56.6737 555.079 60.4621 576.342 70.0315C582.779 72.9281 588.563 76.5979 594.436 80.4701C613.915 93.3114 630.22 109.584 642.624 129.414C648.12 138.201 652.209 147.652 656.012 157.25C666.39 183.44 668.084 213.727 664.263 241.476C663.456 247.336 662.576 253.795 660.533 259.359C658.039 266.153 656.09 273.172 653.359 279.911C646.134 297.743 634.601 314.322 621.252 328.113C608.151 341.647 592.235 354.54 575.232 362.734C570.282 365.119 565.054 366.818 559.836 368.495C544.347 373.473 528.645 376.296 512.375 376.561ZM512.121 119.75C509.443 122.889 508.497 125.893 506.719 129.474C504.493 133.958 502.089 138.383 499.711 142.788C494.153 153.086 488.052 162.892 482.275 173.031C480.751 175.706 479.389 178.456 477.825 181.115C477.563 181.56 476.859 183.11 476.482 183.386C474.635 184.741 470.903 185.458 468.75 186.023C457.677 188.927 446.493 190.27 435.234 192.172C428.198 193.36 421.097 195.2 414 195.871C411.939 196.065 409.77 195.68 408.085 197.051C407.984 198.33 407.879 198.741 408.621 199.871C411.144 203.718 416.485 207.373 419.896 210.608C426.474 216.846 432.666 223.481 439.104 229.865C445.144 235.854 452.838 242.035 457.524 249.105L448.626 318.668L449.085 318.399C457.791 313.414 468.002 310.466 477.147 306.238C485.598 302.331 494.151 298.536 502.522 294.466C505.293 293.119 507.997 290.959 510.854 289.919C512.089 289.469 513.43 289.865 514.645 290.19L515.197 290.438L576.557 321.02C576.156 312.868 574.391 304.887 573.081 296.848C571.124 284.843 569.248 272.809 567.68 260.75C567.317 257.959 565.858 251.419 566.71 248.846C567.273 247.146 569.319 244.909 570.494 243.619C581.721 231.295 594.714 220.451 606.463 208.594C610.001 205.024 613.904 201.697 616.909 197.663C610.502 195.563 603.066 194.848 596.38 193.716C584.033 191.624 571.689 189.596 559.354 187.409C556.986 186.989 550.598 186.513 548.988 185.235C545.994 182.858 543.164 176.445 541.312 173.151C536.261 164.17 531.161 155.188 526.493 146C523.683 140.469 520.752 135.003 517.942 129.474C516.6 126.832 514.848 121.128 512.121 119.75Z"/>
<path transform="scale(0.5 0.5)" d="M807.75 288.132C802.261 291.106 797.352 295.163 792.314 298.829C784.868 304.249 777.131 309.284 769.641 314.65C764.238 318.52 758.713 323.214 752.981 326.505C751.888 327.133 751.885 327.283 750.611 326.958C750.173 323.513 751.561 319.596 752.26 316.212C754.137 307.127 756.292 298.121 758.259 289.058C760.439 279.009 762.446 268.96 764.207 258.829C758.758 253.42 752.535 249.51 746.479 244.869C739.507 239.526 732.773 233.612 725.985 228.011C721.123 223.999 715.557 220.307 710.981 216.048C708.988 214.194 707.197 211.895 705.363 209.866C721.236 211.238 737.127 210.746 753.036 210.561C762.057 210.457 771.23 210.881 780.201 209.906L807.452 137.75L809.25 137.58C810.61 140.02 811.229 142.745 812.192 145.351C814.61 151.892 816.734 158.542 819.046 165.124C824.328 180.162 830.081 195.182 836.348 209.836L910.638 211.012L910.292 211.411C905.753 216.554 900.412 220.46 895.094 224.751C887.001 231.282 878.937 237.845 870.823 244.352C864.726 249.242 858.219 253.96 852.854 259.658C852.572 261.585 853.259 263.586 853.568 265.5C854.411 270.742 855.842 275.836 857.031 281C859.085 289.916 860.351 299.034 862.108 308C863.465 314.928 865.521 321.677 866.927 328.607C863.029 326.067 859.408 323.099 855.584 320.444C850.006 316.572 844.248 312.929 838.75 308.938C833.235 304.935 827.731 300.79 822.323 296.642C819.062 294.14 812.638 288.463 808.428 288.155L807.75 288.132Z"/>
<path transform="scale(0.5 0.5)" d="M188.229 205.88C192.788 195.127 196.975 184.244 200.8 173.208C203.966 164.074 207.002 154.911 210.231 145.793C211.06 143.45 211.65 140.025 213 138.016C213.533 138.17 214.007 138.279 214.5 138.561C216.21 139.541 217.171 144.273 217.824 146.168C222.845 160.725 228.401 175.036 234.326 189.25C235.888 192.998 237.357 196.806 238.943 200.536C239.99 202.999 241.466 205.655 242.059 208.263L242.25 209.176C246.704 211.113 253.814 210.332 258.75 210.507C271.183 210.947 283.735 211.434 296.175 211.295C303.731 211.211 311.251 210.622 318.805 210.475C313.259 216.276 307.192 220.544 301.021 225.537C294.429 230.871 287.967 236.414 281.195 241.519C273.548 247.284 265.885 252.616 259.348 259.688C259.73 267.858 262.558 276.462 264.504 284.406C266.617 293.031 268.148 301.831 270.002 310.5C271.226 316.224 272.741 321.629 273.497 327.478C268.985 324.941 264.792 321.396 260.5 318.469C251.676 312.452 242.751 306.565 234 300.445C227.796 296.106 222.058 291.475 215.104 288.33C209.628 290.541 205.12 294.146 200.356 297.548C189.586 305.24 179.462 313.736 168.655 321.389C165.771 323.432 162.727 326.295 159.5 327.654L158.25 327.134C157.831 326.055 157.737 325.487 157.865 324.308C158.249 320.78 159.231 317.222 159.959 313.75C161.287 307.413 162.593 301.109 164.044 294.797C166.781 282.89 169.163 270.913 171.053 258.844C167.177 255.506 162.923 252.618 158.885 249.479C151.184 243.489 143.602 237.386 135.956 231.335C130.373 226.917 124.49 222.8 119.091 218.155C116.377 215.821 113.994 213.056 111.449 210.536C119.727 210.374 128.024 210.796 136.306 210.853C146.972 210.926 157.659 210.642 168.327 210.533C172.622 210.489 176.934 210.496 181.225 210.279C182.773 210.2 184.871 210.342 186.297 209.685C187.069 209.329 187.865 206.749 188.229 205.88Z"/>
<path transform="scale(0.5 0.5)" d="M273.875 327.882L273.497 327.478L273.875 327.882Z"/>
<path transform="scale(0.5 0.5)" d="M608.272 963.536C604.99 964.788 601.944 965.529 598.5 966.168C593.302 967.132 588.27 967.02 583 967.038C576.295 967.06 569.591 967.083 562.886 967.099C539.469 967.158 516.051 967.096 492.634 967.137C478.773 967.161 464.907 967.014 451.047 967.084C443.381 967.123 434.794 968.248 427.254 966.712C419.044 965.04 411.861 961.902 405.672 956.069C400.223 950.933 395.716 944.25 394.311 936.778C392.799 928.737 393.85 919.236 393.891 911.016C393.968 895.782 393.916 880.547 393.897 865.313C393.846 822.979 393.9 780.646 393.848 738.311C393.817 713.366 394.089 688.41 393.401 663.471L391.908 665.75C386.766 672.783 379.481 677.891 370.708 679.158C363.439 680.208 356.289 678.44 350.383 673.967C344.123 669.227 337.43 661.115 336.415 653.051L336.351 652.5C335.121 643.804 336.097 633.978 336.111 625.168C336.14 606.355 336.082 587.541 336.07 568.728C336.056 545.878 336.129 523.024 336.007 500.174C335.967 492.48 335.897 484.784 335.888 477.089C335.883 472.348 335.675 467.391 336.343 462.69C338.91 444.628 346.619 428.653 358.631 414.997C374.11 397.401 395.496 389.177 418.393 387.716C425.205 386.634 433.448 387.398 440.402 387.38C459.439 387.333 478.442 387.803 497.468 387.884C523.742 387.994 550.004 387.268 576.286 387.473C587.357 387.56 598.651 387.411 609.688 388.221C617.906 388.825 626.231 390.808 634 393.519C652.163 399.857 670.657 416.998 678.841 434.238C683.674 444.419 687.522 455.748 688.655 466.979C689.536 475.714 688.826 484.963 688.668 493.75C688.375 510.114 688.221 526.482 688.109 542.848C687.953 565.756 688.022 588.645 688.271 611.551C688.392 622.585 689.01 633.766 688.791 644.783C688.709 648.877 688.482 653.555 687.072 657.422C683.855 666.243 678.474 672.194 669.826 675.988C663.213 678.888 653.342 679.979 646.5 677.222C639.56 674.426 633.602 669.535 630.709 662.54C630.413 661.827 630.652 662.054 630.167 661.757C630.599 668.659 629.93 676.111 629.939 683.098C629.962 699.346 630.125 715.592 630.118 731.842C630.099 776.877 630.421 821.917 630.158 866.947C630.073 881.62 630.22 896.33 630.505 911C630.649 918.381 631.8 926.427 630.74 933.723C630.229 937.236 629.689 940.155 628.394 943.48C624.916 952.408 616.945 959.752 608.272 963.536Z"/>
<path transform="scale(0.5 0.5)" d="M192.992 884.25C192.503 884.103 191.54 883.797 191 883.927C189.266 884.342 186.768 886.015 185.152 886.907C179.734 889.896 174.414 893.153 169.061 896.268C161.753 900.521 154.469 904.934 147.014 908.924C140.764 912.27 134.304 915.214 128.076 918.604C122.307 921.744 117.095 925.903 111.221 928.739L128.989 863.445C130.639 857.496 132.074 851.524 133.407 845.5C133.59 844.675 134.35 842.748 134.229 842.067C134.186 841.825 134.023 841.612 133.861 841.428C133.114 840.578 131.623 839.764 130.709 839.048C128.296 837.158 125.984 835.114 123.657 833.119C114.545 825.307 105.927 817.015 96.4572 809.623C92.0192 806.158 87.6137 802.586 83.0893 799.24C78.4792 795.831 73.8534 792.444 69.25 789.025C66.4113 786.917 63.0165 784.98 61.25 781.855C61.5833 781.58 61.8441 781.178 62.25 781.03C63.0224 780.748 64.9282 780.888 65.8099 780.84C68.7665 780.679 71.7222 780.511 74.6754 780.294C100.979 778.368 127.201 776.643 153.57 775.797C161.672 754.509 171.793 733.99 180.742 713.06C182.979 707.827 184.849 702.426 186.873 697.108C187.884 694.452 188.584 691.686 190.079 689.25C190.933 689.369 191.604 689.404 192.473 689.323L193.268 689.232C194.107 692.171 195.411 694.887 196.463 697.75C200.85 709.689 206.06 721.051 211.001 732.75C216.148 744.938 220.6 757.807 226.435 769.641C227.08 770.947 228.283 775.281 229.085 775.991C229.086 775.992 230.12 776.042 230.169 776.045C237.753 776.402 245.343 776.332 252.927 776.646C263.525 777.084 274.148 777.915 284.75 778.495C290.961 778.835 297.101 779.972 303.323 780.293C306.986 780.481 310.651 780.595 314.315 780.741C316.3 780.82 318.513 780.59 320.25 781.662L320.364 782.482C318.497 785.217 315.409 787.337 312.846 789.426C305.397 795.499 297.386 800.885 290 807.042C276.399 818.378 263.285 830.33 249.425 841.345L252.109 849.8C253.512 856.624 255.265 863.504 256.992 870.25C260.496 883.943 263.121 897.985 267.357 911.518C269.234 917.515 271.715 923.39 274.203 929.158L192.992 884.25ZM191.067 756.75C187.904 768.612 183.203 779.051 178.212 790.213C176.682 793.634 175.487 797.769 173.065 800.668C168.641 801.625 164.285 801.721 159.808 802.181C155.958 802.577 152.19 803.35 148.313 803.546C143.796 803.774 138.924 803.554 134.471 804.233C136.441 806.484 138.442 808.687 140.662 810.695C145.229 814.828 149.912 818.849 154.537 822.919C157.469 825.5 162.237 828.857 163.313 832.848C163.551 833.731 163.252 835.512 163.177 836.5C162.833 841.041 161.433 845.402 160.25 849.774C158.402 856.604 156.468 863.489 155.11 870.43C163.449 865.99 171.704 861.447 180.128 857.165C183.067 855.671 185.736 853.816 188.927 852.824C190.234 852.418 191.313 852.494 192.64 852.725C197.358 854.433 201.568 857.027 206.034 859.286C213.98 863.305 221.908 867.175 229.666 871.543C228.905 867.847 227.541 864.294 226.819 860.623C225.9 855.947 225.231 851.243 224.206 846.577C223.128 841.666 220.989 835.192 221.699 830.2C230.117 820.469 240.582 812.436 250.189 803.929C241.411 802.352 231.579 802.722 222.637 802.232C218.7 802.017 214.209 802.037 210.488 800.686C207.409 794.573 204.803 788.149 201.961 781.914C198.257 773.79 194.18 765.503 191.746 756.886L191.067 756.75Z"/>
<path transform="scale(0.5 0.5)" d="M836.036 886.029L830.712 883.688C828.584 884.314 826.415 885.877 824.5 886.997C820.618 889.27 816.775 891.596 812.863 893.818C797.645 902.464 782.381 910.903 767.051 919.349C761.692 922.301 756.562 925.669 751.103 928.424C751.558 924.74 753.042 921.695 754.126 918.2C755.815 912.751 757.321 907.218 758.752 901.697C762.517 887.169 766.171 872.554 769.757 857.981C771.137 852.372 772.094 846.681 773.693 841.127L703.487 784.25C702.776 783.366 702.732 782.324 702.735 781.25C704.816 780.343 707.075 780.576 709.307 780.511C712.332 780.423 715.363 780.249 718.382 780.045C732.016 779.123 745.641 777.874 759.3 777.159C770.863 776.554 782.658 776.622 794.142 775.325C796.336 767.8 799.983 760.743 803.122 753.582C807.361 743.907 811.152 734.029 815.422 724.368C820.326 713.268 826.37 701.593 829.633 689.892L829.804 689.25C830.818 689.616 831.372 689.81 832.474 689.668L833.25 689.523L869.25 775.947C878.099 776.456 886.973 776.256 895.815 776.757C901.05 777.053 906.269 777.693 911.5 777.989C916.756 778.286 922.038 778.275 927.287 778.693C931.982 779.067 936.602 779.859 941.315 780.118C945.972 780.374 950.64 780.416 955.302 780.482C957.937 780.519 961.174 780.166 963.593 781.25C963.091 782.688 961.973 783.519 960.826 784.447C956.413 788.02 951.449 790.991 946.982 794.593C932.016 806.658 916.961 818.658 902.046 830.785C897.774 834.258 893.9 838.199 889.597 841.683L890.341 844.043C892.179 849.31 892.728 855.082 893.997 860.5C895.286 866.004 897.045 871.926 897.763 877.521C898.354 882.126 900.155 887.132 901.352 891.669C904.516 903.661 907.234 916.243 912.496 927.5L912.25 928.058C909.07 927.181 906.915 925.212 904.271 923.357C902.004 921.768 899.571 920.386 897.157 919.036C884.481 911.946 871.581 905.209 858.785 898.338C851.189 894.258 843.758 889.866 836.036 886.029ZM831.085 757.25C829.633 761.413 828.645 765.802 827.127 769.901C824.562 776.824 821.065 783.287 818.031 790C816.42 793.563 815.207 797.285 813.534 800.817L775.508 804.524C780.247 809.804 785.448 814.837 790.608 819.707C793.853 822.769 800.163 827.249 801.805 831.347C802.498 833.075 802.054 836.648 801.945 838.519C801.772 841.51 801.059 844.533 800.21 847.401L794.623 870.633C802.428 866.471 810.055 861.947 817.819 857.694C820.727 856.101 826.198 852.479 829.446 852.295C830.546 852.233 833.295 853.389 834.457 853.763L835.086 853.978L835.729 854.232C838.558 855.373 841.066 856.917 843.808 858.205C852.43 862.255 861.061 866.261 869.048 871.482C868.311 867.961 867.194 864.515 866.491 861C865.559 856.336 864.969 851.603 864.024 846.939C863.263 843.185 859.814 833.214 862.021 829.799C863.347 827.75 865.821 825.813 867.591 824.092C872.862 818.966 878.319 814.255 883.937 809.518C885.879 807.881 888.628 806.035 890.156 804.065L850.658 801.373L831.608 757.449L831.085 757.25Z"/>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-settings" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#b5b5b5" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" />
<path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0" />
</svg>

After

Width:  |  Height:  |  Size: 880 B

View File

@@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-chart-candle" width="20" height="20" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M4 6m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v3a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z" />
<path d="M6 4l0 2" />
<path d="M6 11l0 9" />
<path d="M10 14m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v3a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z" />
<path d="M12 4l0 10" />
<path d="M12 19l0 1" />
<path d="M16 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z" />
<path d="M18 4l0 1" />
<path d="M18 11l0 9" />
</svg>

After

Width:  |  Height:  |  Size: 740 B

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,431 @@
var blockClose = false;
$(document).ready(function() {
loadWingman();
});
const loadWingman = () => {
consoleReport("Запускаю процессы.");
dataEditFormControl();
dataCreateFormControl();
navScrollbarControl();
editorControl();
floatingBlockCheck();
multifieldSortableControl();
hideMultifield();
searchControl();
tabsControl();
floatingBlockControl();
favoritesControl();
consoleReport("Процессы запущены.");
}
$(window).on('beforeunload', function(){
if (blockClose) return 'Are you sure you want to leave?';
});
const favoritesControl = () => {
consoleReport("Подключаем работу избранного.");
$(".favorite_button").each(function (index, el) {
$(el).unbind();
$(el).on("click", function (e) {
if($(el).hasClass("active")) removeFavoritePage(el)
else addFavoritePage(el);
});
});
}
const removeFavoritePage = (el) => {
const data = {
link: window.location.href,
}
$.ajax({
url: "/wingman/favorite_remove_page/",
method: "POST",
dataType: 'html',
data,
success: function(data){
$(el).removeClass("active");
}
});
}
const addFavoritePage = (el) => {
$(el).addClass("active");
const data = {
link: window.location.href,
name: $(el).attr("data-link-name")
}
$.ajax({
url: "/wingman/favorite_add_page/",
method: "POST",
dataType: 'html',
data,
success: function(data){}
});
}
var active_tabs = {};
const tabsControl = () => {
consoleReport("Перехватываю работу табов.");
$(".b_tabs").each(function () {
const tabs_wrapper = $(this);
const tabs_group = tabs_wrapper.attr("data-tabs-group");
tabs_wrapper.find(".b_tab[data-tabs-group='" + tabs_group + "']").each(function (index) {
const tab = $(this);
tab.unbind();
tab.on("click", function (){
consoleReport("Переключаю таб.");
activeTab(tabs_group, index);
active_tabs[tabs_group] = index;
})
});
if(active_tabs[tabs_group]) activeTab(tabs_group, active_tabs[tabs_group])
else activeTab(tabs_group, 0)
});
}
const activeTab = (tabs_group, index) => {
const tabs = $(".b_tab[data-tabs-group='" + tabs_group + "']");
const tabs_content = $(".b_tab_content[data-tabs-group='" + tabs_group + "']");
tabs.each(function () {
$(this).removeClass("active");
});
tabs_content.each(function () {
$(this).addClass("hide");
});
tabs.eq(index).addClass("active");
tabs_content.eq(index).removeClass("hide");
}
const searchControl = () => {
const search_input = $(".b-global-search > input");
search_input.unbind();
search_input.on("input", function (){
const search = $(this).val();
const page = $(".b-global-search").attr("data-page");
if(search.length > 0 && search.length < 3) return;
const data = { page, search }
$.ajax({
url: "/wingman/load_submenu_search/",
method: "POST",
dataType: 'html',
data,
success: function(data){
$(".admin-subnav > .nav-item__sub").replaceWith(data);
}
});
})
}
const dataEditFormControl = () => {
consoleReport("Перехватываю работу форм редактирования.");
$(".datatype-edit-wrapper .admin-data-form").each(function( index, el ) {
$(el).find("input").each(function( index, el ) {
$(el).unbind();
$(el).on("change", function (e) {
changeStatusBar("Не сохранено", "warning")
consoleReport("Блокирую выход.");
blockClose = true;
});
})
$(el).find("button[type=submit]").unbind();
$(el).find("button[type=submit]").click(function() {
$("button[type=submit]", $(this).parents("form")).removeAttr("clicked");
$(this).attr("clicked", "true");
});
$(this).unbind();
$(this).on("submit", function (e) {
e.preventDefault();
var form = $(el);
var formData = new FormData();
form.find('input, select, textarea').each(function() {
var field = $(this);
var fieldName = field.attr('name');
var fieldValue = field.val();
if(field.attr('type') === "checkbox" && !field.is(':checked')) return;
if(field.attr('type') === "radio" && !field.is(':checked')) return;
if(field.attr('type') === "file") {
if(!this.files.length) return;
const file = this.files[0];
formData.append(fieldName, file);
} else formData.append(fieldName, fieldValue);
});
const currentURL = getCurrentURL();
blockAllButtons(form.find("button"), "Кнопки");
blockAllButtons(form.find("input"), "Поля");
consoleReport("Отправляю форму.");
changeStatusBar("Сохраняем...", "warning")
formData.append("b_wingman", "true");
var clickedButton = $("button[type=submit][clicked=true]");
if(clickedButton && clickedButton.attr("name") && clickedButton.attr("value"))
formData.append(clickedButton.attr("name"), clickedButton.attr("value"));
$.ajax({
url: currentURL,
method: form.attr('method'),
processData: false,
contentType: false,
dataType: 'html',
data: formData,
success: function(data){
$(".datatype-edit-wrapper").replaceWith(data);
loadWingman();
changeStatusBar("Сохранено", "success")
consoleReport("Форма отправлена.");
unblockAllButtons(form.find("button"), "Кнопки");
unblockAllButtons(form.find("input"), "Поля");
blockClose = false;
}
});
});
});
}
const dataCreateFormControl = () => {
consoleReport("Перехватываю работу форм создания.");
$(".datatype-create-wrapper .admin-data-form").each(function( index, el ) {
$(el).find("input").each(function( index, el ) {
$(el).unbind();
$(el).on("change", function (e) {
changeStatusBar("Не сохранено", "warning")
consoleReport("Блокирую выход.");
blockClose = true;
});
})
$(el).find("button[type=submit]").unbind();
$(el).find("button[type=submit]").click(function() {
$("button[type=submit]", $(this).parents("form")).removeAttr("clicked");
$(this).attr("clicked", "true");
});
$(this).unbind();
$(this).on("submit", function (e) {
e.preventDefault();
var form = $(el);
var formData = new FormData();
form.find('input, select, textarea').each(function() {
var field = $(this);
var fieldName = field.attr('name');
var fieldValue = field.val();
if(field.attr('type') === "checkbox" && !field.is(':checked')) return;
if(field.attr('type') === "radio" && !field.is(':checked')) return;
if(field.attr('type') === "file") {
if(!this.files.length) return;
const file = this.files[0];
formData.append(fieldName, file);
} else formData.append(fieldName, fieldValue);
});
const currentURL = getCurrentURL();
blockAllButtons(form.find("button"), "Кнопки");
blockAllButtons(form.find("input"), "Поля");
changeStatusBar("Сохраняем...", "warning")
formData.append("b_wingman", "true");
var clickedButton = $("button[type=submit][clicked=true]");
if(clickedButton && clickedButton.attr("name") && clickedButton.attr("value"))
formData.append(clickedButton.attr("name"), clickedButton.attr("value"));
consoleReport("Отправляю форму.");
$.ajax({
url: currentURL,
method: form.attr('method'),
processData: false,
contentType: false,
data: formData,
success: function(data){
blockClose = false;
const json = JSON.parse(data);
window.location.replace(json.redirect);
}
});
});
});
}
const multifieldSortableControl = () => {
consoleReport("Возможности для сортировки списков.");
$(".bive-multifield__wrapper").each(function( index, el ) {
consoleReport("Нашел список, будем его сортировать.");
$(el).sortable({
handle: ".input-number", // Используем блок с классом "input-number" в качестве ручки для перетаскивания
update: function(event, ui) {
const row = $(ui.item[0]);
multifieldCalc(el);
changeStatusBar("Не сохранено", "warning")
consoleReport("Блокирую выход.");
blockClose = true;
row.addClass("active");
setTimeout(() => row.removeClass("active"), 3000)
}
});
});
}
const multifieldCalc = (el) => {
const multifield = $(el);
const level = multifield.attr("data-level");
multifield.children(".bive-multifield__row").each(function(index, el) {
const row = $(el);
const realNum = index;
row.children(".input-number").text(index);
row.find("input, select, textarea").each(function(index, el) {
const input = $(el)
const name = input.attr("name");
const newName = level + name.replace(level, "").replace(/\[\d+\]/, `[${realNum}]`);
input.attr("name", newName)
})
})
}
let multifieldOpen = {};
const hideMultifield = () => {
$(".bive-multifield").each(function( index, el ) {
consoleReport("Скрываю списки");
const rowsCount = $(el).children(".bive-multifield__wrapper").children(".bive-multifield__row").length;
if(!multifieldOpen[index] && rowsCount > 1) {
$(el).addClass("hide");
multifieldOpen[index] = false;
} else multifieldOpen[index] = true;
$(el).children(".bive-multifield__buttons").children(".bive-multifield__hide").unbind();
$(el).children(".bive-multifield__buttons").children(".bive-multifield__hide").on("click", function () {
$(el).addClass("hide");
multifieldOpen[index] = false;
})
$('<span>', {
class: 'bive-multifield__show',
click: function() {
$(el).removeClass("hide");
multifieldOpen[index] = true;
}
}).text('Содержимое списка скрыто. Нажмите чтобы окрыть.').appendTo(el);
});
}
const editorControl = () => {
$(".bive-textarea__content").each((index, el) => {
let editor = CKEDITOR.replace( $(el).attr("id") );
editor.on( 'change', function( evt ) {
$(el).html(evt.editor.getData());
});
})
}
const changeStatusBar = (status, name = null) => {
consoleReport("Изменяю статусбар.");
const statusBar = $(".admin-floating-status");
statusBar.removeClass("success");
statusBar.removeClass("cancel");
statusBar.removeClass("warning");
statusBar.text(status);
if (name) statusBar.addClass(name);
}
const navScrollbarControl = () => {
consoleReport("Скроллим меню относительно прокрутки страницы.");
let lastScrollTop = $(window).scrollTop();
$(window).on('scroll', function() {
let currentScrollTop = $(window).scrollTop();
let delta = currentScrollTop - lastScrollTop; // разница с прошлым значением
// двигаем меню на эту разницу
$('.admin-subnav').scrollTop(function(_, currentMenuScroll) {
return currentMenuScroll + delta;
});
lastScrollTop = currentScrollTop;
});
}
const floatingBlockControl = () => {
floatingBlockCheck();
consoleReport("Активирую плаващий блок.");
$(window).scroll(function() {
floatingBlockCheck();
});
}
const floatingBlockCheck = () => {
// consoleReport("Просчитываю плаващий блок.");
//
// var block = $('.admin-floating-block');
// var wrapper = $('.admin-floating-wrapper');
// if(!block.length || !wrapper.length) return;
//
// var windowTop = $(window).scrollTop();
// var windowHeight = $(window).height();
// var blockTop = wrapper.offset().top;
// var blockHeight = wrapper.outerHeight();
// var documentHeight = $(document).height();
//
// if (blockTop + blockHeight < windowTop || blockTop - 100 > windowTop + windowHeight) {
// // Блок вышел за пределы видимости
// block.css('position', 'fixed');
// block.css('bottom', '0');
// block.addClass("active");
// } else {
// block.removeClass("active");
// // Блок видим в окне просмотра
// block.css('position', 'static');
// }
//
// if (blockTop + blockHeight > documentHeight) {
// // Блок достиг нижней границы документа
// block.removeClass("active");
// block.css('position', 'static');
// block.css('top', documentHeight - blockHeight);
// }
}
const blockAllButtons = (selector, name) => {
consoleReport(`Блокирую ${name}.`);
selector.each(function() {
$(this).attr("disabled", true);
$(this).attr("readonly", true);
});
}
const unblockAllButtons = (selector, name) => {
consoleReport(`Разблокирую ${name}.`);
selector.each(function() {
$(this).attr("disabled", false);
$(this).attr("readonly", false);
});
}
const consoleReport = (message) => {
console.log("[Wingman] - " + message);
}
const getCurrentURL = () => {
return window.location.href;
}

View File

@@ -0,0 +1,148 @@
.b-col {
display: flex;
flex-direction: column;
width: 100%;
}
.b-row {
display: flex;
flex-direction: row;
}
.b-block-500 {
width: 500px;
}
.b-block-400 {
width: 400px;
}
.b-block-300 {
width: 300px;
}
.b-block-200 {
width: 200px;
}
.b-block-100 {
width: 100px;
}
.b_alerts {
margin-top: 20px;
margin-bottom: 15px;
}
.b_alert {
padding: 10px 10px 10px 25px;
border-radius: 10px;
border: 1px solid var(--root-border-color);
background-color: white;
box-sizing: border-box;
position: relative;
width: 100%;
margin-bottom: 5px;
}
.b_alert:before {
content: "";
position: absolute;
background-color: black;
width: 8px;
height: 8px;
border-radius: 50%;
top: 17px;
left: 10px;
}
.b_alert.error {
border: 1px solid #c52a2a;
background-color: #ffc5c5;
color: #a50000;
}
.b_alert.error:before {
content: "";
position: absolute;
background-color: #a50000;
width: 8px;
height: 8px;
border-radius: 50%;
top: 17px;
left: 10px;
}
.b_alert.warning {
border: 1px solid #ffc300;
background-color: #fff9c5;
color: #d3a100;
}
.b_alert.warning:before {
content: "";
position: absolute;
background-color: #d3a100;
width: 8px;
height: 8px;
border-radius: 50%;
top: 17px;
left: 10px;
}
.b-mb-1 {
margin-bottom: 10px;
}
.b-mb-2 {
margin-bottom: 20px;
}
.b-mb-3 {
margin-bottom: 30px;
}
.b-mb-4 {
margin-bottom: 40px;
}
.b-mt-1 {
margin-top: 10px;
}
.b-mt-2 {
margin-top: 20px;
}
.b-mt-3 {
margin-top: 30px;
}
.b-mt-4 {
margin-top: 40px;
}
.b-mr-1 {
margin-right: 10px;
}
.b-mr-2 {
margin-right: 20px;
}
.b-mr-3 {
margin-right: 30px;
}
.b-mr-4 {
margin-right: 40px;
}
.b-ml-1 {
margin-left: 10px;
}
.b-ml-2 {
margin-left: 20px;
}
.b-ml-3 {
margin-left: 30px;
}
.b-ml-4 {
margin-left: 40px;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,76 @@
html, body {
--root-visor-color: rgb(25 36 64 / 80%);
}
.bive-visor-wrapper {
height: 35px;
}
.bive-visor-inner {
width: 100%;
background: var(--root-visor-color);
height: 35px;
position: fixed;
z-index: 1000;
display: flex;
align-items: center;
justify-content: space-between;
left: 0;
top: 0;
backdrop-filter: saturate(180%) blur(10px);
}
.bive-visor-brand {
color: white;
font-size: 15px;
line-height: 100%;
width: 75px;
text-align: center;
}
.bive-visor-left {
display: flex;
align-items: center;
}
.bive-visor-switch {
margin: 0 10px;
border-radius: 8px;
border: 1px solid white;
display: flex;
overflow: auto;
height: 25px;
align-items: stretch;
line-height: 100%;
}
.bive-visor-switch > a {
padding: 3px 10px;
color: #ffffff;
display: flex;
align-items: center;
font-size: 10px;
font-weight: 300;
}
.bive-visor-switch > a.active, .bive-visor-switch > a:hover {
color: black;
background-color: white;
}
.bive-visor-account {
display: flex;
align-items: center;
}
.bive-visor-account__avatar {
width: 20px;
height: 20px;
margin-right: 10px;
border-radius: 7px;
overflow: hidden;
position: relative;
display: flex;
}
.bive-visor-account__avatar > img {
width: 100%;
height: 100%;
}
.bive-visor-account__nick {
color: white;
margin-right: 10px;
font-weight: 200;
font-size: 13px;
}