This commit is contained in:
NicKoehler 2023-02-15 11:40:17 +01:00
parent 491317bd6f
commit c5d39b0c10
No known key found for this signature in database
GPG Key ID: BAE01394EB51AC58
15 changed files with 125 additions and 46 deletions

View File

@ -1,3 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Gravit.io -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="490.359 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 496.884 536.93 L 516.385 536.93 C 518.111 536.93 519.771 537.619 520.996 538.844 C 522.221 540.062 522.91 541.722 522.91 543.455 L 522.91 562.405 C 522.91 564.138 522.221 565.798 520.996 567.016 C 519.771 568.241 518.111 568.93 516.385 568.93 L 496.884 568.93 C 495.158 568.93 493.498 568.241 492.273 567.016 C 491.048 565.798 490.359 564.138 490.359 562.405 L 490.359 543.455 C 490.359 541.722 491.048 540.062 492.273 538.844 C 493.498 537.619 495.158 536.93 496.884 536.93 Z M 508.388 551.016 L 509.259 542.964 C 509.395 541.704 508.98 541.565 508.332 542.655 L 501.475 554.186 C 501.259 554.549 501.427 554.844 501.85 554.844 L 504.881 554.844 L 504.011 562.896 C 503.874 564.156 504.29 564.295 504.938 563.205 L 511.794 551.674 C 512.01 551.311 511.842 551.016 511.42 551.016 L 508.388 551.016 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="496.063 521.772 32 32" width="32pt" height="32pt"><g><path d=" M 496.063 521.772 L 528.063 521.772 L 528.063 553.772 L 496.063 553.772 L 496.063 521.772 Z " fill="none"/><path d=" M 513.817 535.858 L 514.687 527.806 C 514.823 526.546 514.408 526.407 513.76 527.496 L 506.904 539.028 C 506.688 539.391 506.855 539.686 507.278 539.686 L 510.309 539.686 L 509.439 547.738 C 509.303 548.998 509.718 549.137 510.366 548.047 L 517.222 536.516 C 517.438 536.153 517.27 535.858 516.848 535.858 L 513.817 535.858 Z " fill="rgb(0,0,0)"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 710 B

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="578.672 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 585.197 536.93 L 604.698 536.93 C 606.424 536.93 608.084 537.619 609.309 538.844 C 610.534 540.062 611.223 541.722 611.223 543.455 L 611.223 562.405 C 611.223 564.138 610.534 565.798 609.309 567.016 C 608.084 568.241 606.424 568.93 604.698 568.93 L 585.197 568.93 C 583.471 568.93 581.811 568.241 580.586 567.016 C 579.361 565.798 578.672 564.138 578.672 562.405 L 578.672 543.455 C 578.672 541.722 579.361 540.062 580.586 538.844 C 581.811 537.619 583.471 536.93 585.197 536.93 Z M 592.959 558.623 L 600.583 558.623 C 601.628 558.623 602.63 558.209 603.368 557.471 C 604.106 556.733 604.524 555.73 604.524 554.685 L 604.524 547.472 C 604.524 546.427 604.106 545.424 603.368 544.686 C 602.63 543.944 601.628 543.53 600.583 543.53 L 589.312 543.53 C 588.267 543.53 587.265 543.944 586.527 544.686 C 585.789 545.424 585.371 546.427 585.371 547.472 L 585.371 554.685 C 585.371 555.73 585.789 556.733 586.527 557.471 C 587.014 557.958 587.617 558.304 588.271 558.483 L 588.271 561.026 C 588.271 562.439 589.059 562.752 590.029 561.725 L 592.959 558.623 Z M 591.365 550.955 C 591.365 550.955 591.365 550.955 591.365 550.955 C 590.954 550.544 590.722 549.981 590.722 549.398 C 590.722 548.815 590.954 548.256 591.367 547.843 L 591.908 547.302 C 592.042 547.168 592.223 547.092 592.413 547.094 C 592.602 547.094 592.784 547.168 592.918 547.302 Q 592.941 547.325 592.951 547.337 Q 594.088 548.576 592.905 549.799 C 592.722 549.988 592.724 550.293 592.91 550.479 L 595.302 552.871 C 595.488 553.057 595.793 553.059 595.982 552.876 Q 597.205 551.693 598.444 552.83 Q 598.456 552.84 598.479 552.863 C 598.613 552.998 598.687 553.179 598.687 553.368 C 598.689 553.558 598.613 553.739 598.479 553.873 L 597.938 554.414 C 597.525 554.827 596.966 555.059 596.383 555.059 C 595.8 555.059 595.237 554.827 594.826 554.416 C 594.826 554.416 594.826 554.416 594.826 554.416 L 591.365 550.955 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="587.811 521.772 32 32" width="32pt" height="32pt"><g><path d=" M 587.811 521.772 L 619.811 521.772 L 619.811 553.772 L 587.811 553.772 L 587.811 521.772 Z " fill="none"/><path d=" M 601.822 543.465 L 609.446 543.465 C 610.491 543.465 611.494 543.051 612.232 542.313 C 612.97 541.575 613.388 540.572 613.388 539.527 L 613.388 532.314 C 613.388 531.269 612.97 530.266 612.232 529.528 C 611.494 528.786 610.491 528.372 609.446 528.372 L 598.176 528.372 C 597.131 528.372 596.128 528.786 595.39 529.528 C 594.652 530.266 594.234 531.269 594.234 532.314 L 594.234 539.527 C 594.234 540.572 594.652 541.575 595.39 542.313 C 595.878 542.8 596.48 543.146 597.135 543.325 L 597.135 545.868 C 597.135 547.281 597.922 547.594 598.892 546.567 L 601.822 543.465 Z M 600.229 535.797 C 600.229 535.797 600.229 535.797 600.229 535.797 C 599.818 535.386 599.585 534.823 599.585 534.24 C 599.585 533.657 599.818 533.098 600.23 532.685 L 600.771 532.144 C 600.906 532.009 601.086 531.934 601.277 531.935 C 601.465 531.935 601.647 532.009 601.782 532.144 Q 601.804 532.167 601.815 532.179 Q 602.951 533.418 601.768 534.641 C 601.585 534.83 601.588 535.134 601.774 535.32 L 604.166 537.712 C 604.352 537.898 604.656 537.901 604.845 537.718 Q 606.069 536.535 607.307 537.672 Q 607.319 537.682 607.342 537.705 C 607.477 537.839 607.551 538.021 607.551 538.21 C 607.553 538.4 607.477 538.58 607.342 538.715 L 606.801 539.256 C 606.388 539.669 605.829 539.901 605.246 539.901 C 604.663 539.901 604.1 539.669 603.689 539.258 C 603.689 539.258 603.689 539.258 603.689 539.258 L 600.229 535.797 Z " fill-rule="evenodd" fill="rgb(0,0,0)"/></g></svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="666.985 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 673.51 536.93 L 693.011 536.93 C 694.737 536.93 696.397 537.619 697.622 538.844 C 698.847 540.062 699.536 541.722 699.536 543.455 L 699.536 562.405 C 699.536 564.138 698.847 565.798 697.622 567.016 C 696.397 568.241 694.737 568.93 693.011 568.93 L 673.51 568.93 C 671.784 568.93 670.124 568.241 668.899 567.016 C 667.674 565.798 666.985 564.138 666.985 562.405 L 666.985 543.455 C 666.985 541.722 667.674 540.062 668.899 538.844 C 670.124 537.619 671.784 536.93 673.51 536.93 Z M 683.26 551.192 L 677.955 545.887 C 677.476 545.407 676.697 545.407 676.217 545.887 L 676.217 545.887 C 675.738 546.367 675.738 547.145 676.217 547.625 L 681.522 552.93 L 676.217 558.235 C 675.738 558.715 675.738 559.493 676.217 559.973 L 676.217 559.973 C 676.697 560.453 677.476 560.453 677.955 559.973 L 683.26 554.668 L 688.565 559.973 C 689.045 560.453 689.824 560.453 690.304 559.973 L 690.304 559.973 C 690.783 559.493 690.783 558.715 690.304 558.235 L 684.999 552.93 L 690.304 547.625 C 690.783 547.145 690.783 546.367 690.304 545.887 L 690.304 545.887 C 689.824 545.407 689.045 545.407 688.565 545.887 L 683.26 551.192 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="679.559 521.772 32 32" width="32pt" height="32pt"><g><path d=" M 679.559 521.772 L 711.559 521.772 L 711.559 553.772 L 679.559 553.772 L 679.559 521.772 Z " fill="none"/><path d=" M 695.559 536.034 L 690.254 530.729 C 689.774 530.249 688.996 530.249 688.516 530.729 L 688.516 530.729 C 688.036 531.208 688.036 531.987 688.516 532.467 L 693.821 537.772 L 688.516 543.077 C 688.036 543.556 688.036 544.335 688.516 544.815 L 688.516 544.815 C 688.996 545.294 689.774 545.294 690.254 544.815 L 695.559 539.51 L 700.864 544.815 C 701.344 545.294 702.123 545.294 702.602 544.815 L 702.602 544.815 C 703.082 544.335 703.082 543.556 702.602 543.077 L 697.297 537.772 L 702.602 532.467 C 703.082 531.987 703.082 531.208 702.602 530.729 L 702.602 530.729 C 702.123 530.249 701.344 530.249 700.864 530.729 L 695.559 536.034 Z " fill="rgb(0,0,0)"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1019 B

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="446.203 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 452.727 536.93 L 472.229 536.93 C 473.954 536.93 475.615 537.619 476.84 538.844 C 478.065 540.062 478.754 541.722 478.754 543.455 L 478.754 562.405 C 478.754 564.138 478.065 565.798 476.84 567.016 C 475.615 568.241 473.954 568.93 472.229 568.93 L 452.727 568.93 C 451.002 568.93 449.342 568.241 448.117 567.016 C 446.891 565.798 446.203 564.138 446.203 562.405 L 446.203 543.455 C 446.203 541.722 446.891 540.062 448.117 538.844 C 449.342 537.619 451.002 536.93 452.727 536.93 Z M 455.395 544.796 L 469.561 544.796 C 469.967 544.796 470.351 544.963 470.641 545.245 C 470.924 545.535 471.091 545.92 471.091 546.326 L 471.091 555.395 C 471.091 555.801 470.924 556.185 470.641 556.475 C 470.351 556.758 469.967 556.925 469.561 556.925 L 455.395 556.925 C 454.989 556.925 454.605 556.758 454.315 556.475 C 454.032 556.185 453.866 555.801 453.866 555.395 L 453.866 546.326 C 453.866 545.92 454.032 545.535 454.315 545.245 C 454.605 544.963 454.989 544.796 455.395 544.796 L 455.395 544.796 L 455.395 544.796 Z M 466.766 560.549 L 469.561 560.549 C 470.924 560.549 472.236 560.006 473.2 559.034 C 474.172 558.07 474.716 556.758 474.716 555.395 L 474.716 546.326 C 474.716 544.963 474.172 543.65 473.2 542.686 C 472.236 541.715 470.924 541.171 469.561 541.171 L 455.395 541.171 L 455.395 541.171 C 454.032 541.171 452.72 541.715 451.756 542.686 C 450.784 543.65 450.241 544.963 450.241 546.326 L 450.241 555.395 C 450.241 556.758 450.784 558.07 451.756 559.034 C 452.72 560.006 454.032 560.549 455.395 560.549 L 458.19 560.549 L 458.19 561.783 C 458.19 563.558 459.631 564.999 461.406 564.999 L 463.55 564.999 C 465.325 564.999 466.766 563.558 466.766 561.783 L 466.766 560.549 L 466.766 560.549 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="450.189 521.772 32 32" width="32pt" height="32pt"><g><path d=" M 450.189 521.772 L 482.189 521.772 L 482.189 553.772 L 450.189 553.772 L 450.189 521.772 Z " fill="none"/><path d=" M 470.477 545.236 L 473.272 545.236 C 474.635 545.236 475.947 544.692 476.911 543.721 C 477.883 542.757 478.426 541.445 478.426 540.082 L 478.426 531.012 C 478.426 529.649 477.883 528.337 476.911 527.373 C 475.947 526.402 474.635 525.858 473.272 525.858 L 459.106 525.858 L 459.106 525.858 C 457.743 525.858 456.431 526.402 455.467 527.373 C 454.495 528.337 453.951 529.649 453.951 531.012 L 453.951 540.082 C 453.951 541.445 454.495 542.757 455.467 543.721 C 456.431 544.692 457.743 545.236 459.106 545.236 L 461.901 545.236 L 461.901 546.47 C 461.901 548.245 463.342 549.686 465.117 549.686 L 467.261 549.686 C 469.036 549.686 470.477 548.245 470.477 546.47 L 470.477 545.236 L 470.477 545.236 Z M 459.106 529.483 L 473.272 529.483 C 473.678 529.483 474.062 529.649 474.352 529.932 C 474.635 530.222 474.801 530.606 474.801 531.012 L 474.801 540.082 C 474.801 540.488 474.635 540.872 474.352 541.162 C 474.062 541.445 473.678 541.611 473.272 541.611 L 459.106 541.611 C 458.7 541.611 458.316 541.445 458.026 541.162 C 457.743 540.872 457.576 540.488 457.576 540.082 L 457.576 531.012 C 457.576 530.606 457.743 530.222 458.026 529.932 C 458.316 529.649 458.7 529.483 459.106 529.483 L 459.106 529.483 L 459.106 529.483 Z " fill-rule="evenodd" fill="rgb(0,0,0)"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="402.046 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 409.992 548.921 C 409.992 549.399 409.803 549.856 409.463 550.197 C 409.122 550.538 408.665 550.733 408.179 550.733 C 407.701 550.733 407.237 550.538 406.896 550.197 C 406.563 549.856 406.367 549.399 406.367 548.921 L 406.367 546.115 C 406.367 544.803 406.889 543.549 407.817 542.621 C 408.745 541.693 409.999 541.171 411.311 541.171 L 414.11 541.171 C 414.595 541.171 415.052 541.367 415.393 541.708 C 415.734 542.041 415.922 542.505 415.922 542.983 C 415.922 543.469 415.734 543.926 415.393 544.267 C 415.052 544.607 414.595 544.796 414.11 544.796 L 411.311 544.796 C 410.963 544.796 410.623 544.934 410.376 545.187 C 410.13 545.434 409.992 545.767 409.992 546.115 L 409.992 548.921 L 409.992 548.921 L 409.992 548.921 L 409.992 548.921 Z M 414.11 561.064 C 414.595 561.064 415.052 561.253 415.393 561.593 C 415.734 561.934 415.922 562.391 415.922 562.877 C 415.922 563.355 415.734 563.819 415.393 564.152 C 415.052 564.493 414.595 564.689 414.11 564.689 L 411.311 564.689 C 409.999 564.689 408.745 564.167 407.817 563.239 C 406.889 562.311 406.367 561.057 406.367 559.745 L 406.367 556.939 C 406.367 556.461 406.563 556.004 406.896 555.663 C 407.237 555.322 407.701 555.127 408.179 555.127 C 408.665 555.127 409.122 555.322 409.463 555.663 C 409.803 556.004 409.992 556.461 409.992 556.939 L 409.992 559.745 C 409.992 560.093 410.13 560.426 410.376 560.673 C 410.623 560.926 410.963 561.064 411.311 561.064 L 414.11 561.064 L 414.11 561.064 L 414.11 561.064 Z M 422.534 544.796 C 422.048 544.796 421.591 544.607 421.251 544.267 C 420.91 543.926 420.721 543.469 420.721 542.983 C 420.721 542.505 420.91 542.041 421.251 541.708 C 421.591 541.367 422.048 541.171 422.534 541.171 L 425.332 541.171 C 426.644 541.171 427.899 541.693 428.826 542.621 C 429.754 543.549 430.276 544.803 430.276 546.115 L 430.276 548.921 C 430.276 549.399 430.081 549.856 429.747 550.197 C 429.406 550.538 428.942 550.733 428.464 550.733 C 427.978 550.733 427.522 550.538 427.181 550.197 C 426.84 549.856 426.652 549.399 426.652 548.921 L 426.652 546.115 C 426.652 545.767 426.514 545.434 426.267 545.187 C 426.021 544.934 425.68 544.796 425.332 544.796 L 422.534 544.796 L 422.534 544.796 Z M 408.571 536.93 L 428.073 536.93 C 429.798 536.93 431.458 537.619 432.683 538.844 C 433.908 540.062 434.597 541.722 434.597 543.455 L 434.597 562.405 C 434.597 564.138 433.908 565.798 432.683 567.016 C 431.458 568.241 429.798 568.93 428.073 568.93 L 408.571 568.93 C 406.846 568.93 405.185 568.241 403.96 567.016 C 402.735 565.798 402.046 564.138 402.046 562.405 L 402.046 543.455 C 402.046 541.722 402.735 540.062 403.96 538.844 C 405.185 537.619 406.846 536.93 408.571 536.93 L 408.571 536.93 L 408.571 536.93 L 408.571 536.93 Z M 426.652 556.939 C 426.652 556.461 426.84 556.004 427.181 555.663 C 427.522 555.322 427.978 555.127 428.464 555.127 C 428.942 555.127 429.406 555.322 429.747 555.663 C 430.081 556.004 430.276 556.461 430.276 556.939 L 430.276 559.745 C 430.276 561.057 429.754 562.311 428.826 563.239 C 427.899 564.167 426.644 564.689 425.332 564.689 L 422.534 564.689 C 422.048 564.689 421.591 564.493 421.251 564.152 C 420.91 563.819 420.721 563.355 420.721 562.877 C 420.721 562.391 420.91 561.934 421.251 561.593 C 421.591 561.253 422.048 561.064 422.534 561.064 L 425.332 561.064 C 425.68 561.064 426.021 560.926 426.267 560.673 C 426.514 560.426 426.652 560.093 426.652 559.745 L 426.652 556.939 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="404.315 521.772 32 32" width="32pt" height="32pt"><g><path d=" M 411.985 533.763 C 411.985 534.241 411.797 534.698 411.456 535.039 C 411.115 535.379 410.658 535.575 410.173 535.575 C 409.694 535.575 409.23 535.379 408.889 535.039 C 408.556 534.698 408.36 534.241 408.36 533.763 L 408.36 530.957 C 408.36 529.645 408.882 528.391 409.81 527.463 C 410.738 526.535 411.992 526.013 413.304 526.013 L 416.103 526.013 C 416.589 526.013 417.045 526.209 417.386 526.549 C 417.727 526.883 417.915 527.347 417.915 527.825 C 417.915 528.311 417.727 528.768 417.386 529.108 C 417.045 529.449 416.589 529.638 416.103 529.638 L 413.304 529.638 C 412.956 529.638 412.616 529.775 412.369 530.029 C 412.123 530.276 411.985 530.609 411.985 530.957 L 411.985 533.763 L 411.985 533.763 L 411.985 533.763 L 411.985 533.763 Z M 416.103 545.906 C 416.589 545.906 417.045 546.094 417.386 546.435 C 417.727 546.776 417.915 547.233 417.915 547.718 C 417.915 548.197 417.727 548.661 417.386 548.994 C 417.045 549.335 416.589 549.531 416.103 549.531 L 413.304 549.531 C 411.992 549.531 410.738 549.009 409.81 548.081 C 408.882 547.153 408.36 545.899 408.36 544.586 L 408.36 541.781 C 408.36 541.302 408.556 540.846 408.889 540.505 C 409.23 540.164 409.694 539.968 410.173 539.968 C 410.658 539.968 411.115 540.164 411.456 540.505 C 411.797 540.846 411.985 541.302 411.985 541.781 L 411.985 544.586 C 411.985 544.934 412.123 545.268 412.369 545.514 C 412.616 545.768 412.956 545.906 413.304 545.906 L 416.103 545.906 L 416.103 545.906 L 416.103 545.906 Z M 424.527 529.638 C 424.041 529.638 423.584 529.449 423.244 529.108 C 422.903 528.768 422.715 528.311 422.715 527.825 C 422.715 527.347 422.903 526.883 423.244 526.549 C 423.584 526.209 424.041 526.013 424.527 526.013 L 427.325 526.013 C 428.637 526.013 429.892 526.535 430.82 527.463 C 431.748 528.391 432.27 529.645 432.27 530.957 L 432.27 533.763 C 432.27 534.241 432.074 534.698 431.74 535.039 C 431.4 535.379 430.936 535.575 430.457 535.575 C 429.971 535.575 429.515 535.379 429.174 535.039 C 428.833 534.698 428.645 534.241 428.645 533.763 L 428.645 530.957 C 428.645 530.609 428.507 530.276 428.26 530.029 C 428.014 529.775 427.673 529.638 427.325 529.638 L 424.527 529.638 L 424.527 529.638 Z M 428.645 541.781 C 428.645 541.302 428.833 540.846 429.174 540.505 C 429.515 540.164 429.971 539.968 430.457 539.968 C 430.936 539.968 431.4 540.164 431.74 540.505 C 432.074 540.846 432.27 541.302 432.27 541.781 L 432.27 544.586 C 432.27 545.899 431.748 547.153 430.82 548.081 C 429.892 549.009 428.637 549.531 427.325 549.531 L 424.527 549.531 C 424.041 549.531 423.584 549.335 423.244 548.994 C 422.903 548.661 422.715 548.197 422.715 547.718 C 422.715 547.233 422.903 546.776 423.244 546.435 C 423.584 546.094 424.041 545.906 424.527 545.906 L 427.325 545.906 C 427.673 545.906 428.014 545.768 428.26 545.514 C 428.507 545.268 428.645 544.934 428.645 544.586 L 428.645 541.781 Z " fill-rule="evenodd" fill="rgb(0,0,0)"/><path d=" M 404.315 521.772 L 436.315 521.772 L 436.315 553.772 L 404.315 553.772 L 404.315 521.772 Z " fill="none"/></g></svg>

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="402.046 578.084 32.551 32" width="32.551pt" height="32pt"><path d=" M 412.297 584.137 C 412.297 583.659 412.486 583.202 412.826 582.862 C 413.167 582.521 413.624 582.325 414.11 582.325 C 414.588 582.325 415.052 582.521 415.393 582.862 C 415.726 583.202 415.922 583.659 415.922 584.137 L 415.922 586.943 C 415.922 588.255 415.4 589.509 414.472 590.437 C 413.544 591.365 412.29 591.887 410.978 591.887 L 408.179 591.887 C 407.694 591.887 407.237 591.692 406.896 591.351 C 406.556 591.017 406.367 590.553 406.367 590.075 C 406.367 589.589 406.556 589.132 406.896 588.792 C 407.237 588.451 407.694 588.262 408.179 588.262 L 410.978 588.262 C 411.326 588.262 411.667 588.125 411.913 587.871 C 412.16 587.625 412.297 587.291 412.297 586.943 L 412.297 584.137 L 412.297 584.137 L 412.297 584.137 L 412.297 584.137 L 412.297 584.137 L 412.297 584.137 L 412.297 584.137 Z M 408.179 599.905 C 407.694 599.905 407.237 599.717 406.896 599.376 C 406.556 599.035 406.367 598.579 406.367 598.093 C 406.367 597.615 406.556 597.151 406.896 596.817 C 407.237 596.476 407.694 596.281 408.179 596.281 L 410.978 596.281 C 412.29 596.281 413.544 596.803 414.472 597.731 C 415.4 598.658 415.922 599.913 415.922 601.225 L 415.922 604.03 C 415.922 604.509 415.726 604.966 415.393 605.306 C 415.052 605.647 414.588 605.843 414.11 605.843 C 413.624 605.843 413.167 605.647 412.826 605.306 C 412.486 604.966 412.297 604.509 412.297 604.03 L 412.297 601.225 C 412.297 600.877 412.16 600.543 411.913 600.297 C 411.667 600.043 411.326 599.905 410.978 599.905 L 408.179 599.905 L 408.179 599.905 L 408.179 599.905 L 408.179 599.905 L 408.179 599.905 Z M 428.464 588.262 C 428.95 588.262 429.406 588.451 429.747 588.792 C 430.088 589.132 430.276 589.589 430.276 590.075 C 430.276 590.553 430.088 591.017 429.747 591.351 C 429.406 591.692 428.95 591.887 428.464 591.887 L 425.666 591.887 C 424.353 591.887 423.099 591.365 422.171 590.437 C 421.243 589.509 420.721 588.255 420.721 586.943 L 420.721 584.137 C 420.721 583.659 420.917 583.202 421.251 582.862 C 421.591 582.521 422.055 582.325 422.534 582.325 C 423.02 582.325 423.476 582.521 423.817 582.862 C 424.158 583.202 424.346 583.659 424.346 584.137 L 424.346 586.943 C 424.346 587.291 424.484 587.625 424.73 587.871 C 424.977 588.125 425.318 588.262 425.666 588.262 L 428.464 588.262 L 428.464 588.262 L 428.464 588.262 Z M 408.571 578.084 L 428.073 578.084 C 429.798 578.084 431.458 578.773 432.683 579.998 C 433.908 581.216 434.597 582.876 434.597 584.609 L 434.597 603.559 C 434.597 605.292 433.908 606.952 432.683 608.17 C 431.458 609.395 429.798 610.084 428.073 610.084 L 408.571 610.084 C 406.845 610.084 405.185 609.395 403.96 608.17 C 402.735 606.952 402.046 605.292 402.046 603.559 L 402.046 584.609 C 402.046 582.876 402.735 581.216 403.96 579.998 C 405.185 578.773 406.845 578.084 408.571 578.084 L 408.571 578.084 L 408.571 578.084 L 408.571 578.084 L 408.571 578.084 L 408.571 578.084 L 408.571 578.084 Z M 424.346 604.03 C 424.346 604.509 424.158 604.966 423.817 605.306 C 423.476 605.647 423.02 605.843 422.534 605.843 C 422.055 605.843 421.591 605.647 421.251 605.306 C 420.917 604.966 420.721 604.509 420.721 604.03 L 420.721 601.225 C 420.721 599.913 421.243 598.658 422.171 597.731 C 423.099 596.803 424.353 596.281 425.666 596.281 L 428.464 596.281 C 428.95 596.281 429.406 596.476 429.747 596.817 C 430.088 597.151 430.276 597.615 430.276 598.093 C 430.276 598.579 430.088 599.035 429.747 599.376 C 429.406 599.717 428.95 599.905 428.464 599.905 L 425.666 599.905 C 425.318 599.905 424.977 600.043 424.73 600.297 C 424.484 600.543 424.346 600.877 424.346 601.225 L 424.346 604.03 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="404.315 560.459 32 32" width="32pt" height="32pt"><g><path d=" M 404.315 560.459 L 436.315 560.459 L 436.315 592.459 L 404.315 592.459 L 404.315 560.459 Z " fill="none"/><path d=" M 414.29 566.512 C 414.29 566.034 414.479 565.577 414.82 565.237 C 415.16 564.896 415.617 564.7 416.103 564.7 C 416.581 564.7 417.045 564.896 417.386 565.237 C 417.719 565.577 417.915 566.034 417.915 566.512 L 417.915 569.318 C 417.915 570.63 417.393 571.884 416.465 572.812 C 415.537 573.74 414.283 574.262 412.971 574.262 L 410.173 574.262 C 409.687 574.262 409.23 574.067 408.889 573.726 C 408.549 573.392 408.36 572.928 408.36 572.45 C 408.36 571.964 408.549 571.507 408.889 571.167 C 409.23 570.826 409.687 570.637 410.173 570.637 L 412.971 570.637 C 413.319 570.637 413.66 570.5 413.906 570.246 C 414.153 570 414.29 569.666 414.29 569.318 L 414.29 566.512 L 414.29 566.512 L 414.29 566.512 L 414.29 566.512 L 414.29 566.512 L 414.29 566.512 L 414.29 566.512 Z M 410.173 582.28 C 409.687 582.28 409.23 582.092 408.889 581.751 C 408.549 581.41 408.36 580.954 408.36 580.468 C 408.36 579.99 408.549 579.526 408.889 579.192 C 409.23 578.851 409.687 578.656 410.173 578.656 L 412.971 578.656 C 414.283 578.656 415.537 579.178 416.465 580.105 C 417.393 581.033 417.915 582.288 417.915 583.6 L 417.915 586.405 C 417.915 586.884 417.719 587.341 417.386 587.681 C 417.045 588.022 416.581 588.218 416.103 588.218 C 415.617 588.218 415.16 588.022 414.82 587.681 C 414.479 587.341 414.29 586.884 414.29 586.405 L 414.29 583.6 C 414.29 583.252 414.153 582.918 413.906 582.672 C 413.66 582.418 413.319 582.28 412.971 582.28 L 410.173 582.28 L 410.173 582.28 L 410.173 582.28 L 410.173 582.28 L 410.173 582.28 Z M 430.457 570.637 C 430.943 570.637 431.4 570.826 431.74 571.167 C 432.081 571.507 432.27 571.964 432.27 572.45 C 432.27 572.928 432.081 573.392 431.74 573.726 C 431.4 574.067 430.943 574.262 430.457 574.262 L 427.659 574.262 C 426.347 574.262 425.092 573.74 424.164 572.812 C 423.236 571.884 422.715 570.63 422.715 569.318 L 422.715 566.512 C 422.715 566.034 422.91 565.577 423.244 565.237 C 423.584 564.896 424.048 564.7 424.527 564.7 C 425.013 564.7 425.469 564.896 425.81 565.237 C 426.151 565.577 426.339 566.034 426.339 566.512 L 426.339 569.318 C 426.339 569.666 426.477 570 426.724 570.246 C 426.97 570.5 427.311 570.637 427.659 570.637 L 430.457 570.637 L 430.457 570.637 L 430.457 570.637 Z M 426.339 586.405 C 426.339 586.884 426.151 587.341 425.81 587.681 C 425.469 588.022 425.013 588.218 424.527 588.218 C 424.048 588.218 423.584 588.022 423.244 587.681 C 422.91 587.341 422.715 586.884 422.715 586.405 L 422.715 583.6 C 422.715 582.288 423.236 581.033 424.164 580.105 C 425.092 579.178 426.347 578.656 427.659 578.656 L 430.457 578.656 C 430.943 578.656 431.4 578.851 431.74 579.192 C 432.081 579.526 432.27 579.99 432.27 580.468 C 432.27 580.954 432.081 581.41 431.74 581.751 C 431.4 582.092 430.943 582.28 430.457 582.28 L 427.659 582.28 C 427.311 582.28 426.97 582.418 426.724 582.672 C 426.477 582.918 426.339 583.252 426.339 583.6 L 426.339 586.405 Z " fill-rule="evenodd" fill="rgb(0,0,0)"/></g></svg>

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="313.733 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 320.258 536.93 L 339.76 536.93 C 341.485 536.93 343.145 537.619 344.37 538.844 C 345.596 540.062 346.284 541.722 346.284 543.455 L 346.284 562.405 C 346.284 564.138 345.596 565.798 344.37 567.016 C 343.145 568.241 341.485 568.93 339.76 568.93 L 320.258 568.93 C 318.533 568.93 316.872 568.241 315.647 567.016 C 314.422 565.798 313.733 564.138 313.733 562.405 L 313.733 543.455 C 313.733 541.722 314.422 540.062 315.647 538.844 C 316.872 537.619 318.533 536.93 320.258 536.93 Z M 327.553 556.411 L 322.362 561.602 C 322.08 561.885 321.62 561.885 321.337 561.602 L 321.337 561.602 C 321.054 561.319 321.054 560.859 321.337 560.576 L 326.528 555.386 L 324.195 553.054 C 323.063 551.922 323.44 550.901 325.036 550.776 L 326.485 550.662 C 326.884 550.63 327.437 550.375 327.72 550.092 L 330.629 547.184 C 330.912 546.901 330.912 546.442 330.629 546.159 L 330.372 545.902 C 329.948 545.478 329.948 544.789 330.372 544.364 L 330.372 544.364 C 330.797 543.94 331.486 543.94 331.91 544.364 L 338.574 551.029 C 338.999 551.453 338.999 552.142 338.574 552.567 L 338.574 552.567 C 338.15 552.991 337.461 552.991 337.036 552.567 L 336.78 552.31 C 336.497 552.027 336.038 552.027 335.755 552.31 L 332.847 555.218 C 332.564 555.501 332.309 556.055 332.277 556.454 L 332.163 557.903 C 332.038 559.499 331.017 559.875 329.885 558.744 L 327.553 556.411 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="358.441 560.459 32 32" width="32pt" height="32pt"><g><path d=" M 358.441 560.459 L 390.441 560.459 L 390.441 592.459 L 358.441 592.459 L 358.441 560.459 Z " fill="none"/><path d=" M 371.985 579.94 L 366.794 585.131 C 366.512 585.413 366.052 585.413 365.769 585.131 L 365.769 585.131 C 365.486 584.848 365.486 584.388 365.769 584.105 L 370.96 578.915 L 368.627 576.582 C 367.495 575.451 367.872 574.43 369.468 574.305 L 370.917 574.191 C 371.316 574.159 371.869 573.904 372.152 573.621 L 375.061 570.713 C 375.344 570.43 375.343 569.971 375.061 569.688 L 374.804 569.431 C 374.38 569.007 374.38 568.318 374.804 567.893 L 374.804 567.893 C 375.229 567.469 375.918 567.469 376.342 567.893 L 383.006 574.558 C 383.431 574.982 383.431 575.671 383.006 576.095 L 383.006 576.095 C 382.582 576.52 381.893 576.52 381.468 576.095 L 381.212 575.839 C 380.929 575.556 380.47 575.556 380.187 575.839 L 377.279 578.747 C 376.996 579.03 376.741 579.584 376.709 579.983 L 376.595 581.432 C 376.47 583.028 375.449 583.404 374.317 582.273 L 371.985 579.94 Z " fill="rgb(0,0,0)"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="357.89 536.93 32.551 32" width="32.551pt" height="32pt"><path d=" M 364.414 536.93 L 383.916 536.93 C 385.641 536.93 387.302 537.619 388.527 538.844 C 389.752 540.062 390.441 541.722 390.441 543.455 L 390.441 562.405 C 390.441 564.138 389.752 565.798 388.527 567.016 C 387.302 568.241 385.641 568.93 383.916 568.93 L 364.414 568.93 C 362.689 568.93 361.029 568.241 359.804 567.016 C 358.579 565.798 357.89 564.138 357.89 562.405 L 357.89 543.455 C 357.89 541.722 358.579 540.062 359.804 538.844 C 361.029 537.619 362.689 536.93 364.414 536.93 Z M 374.89 554.697 L 374.89 562.037 C 374.89 562.438 374.565 562.762 374.165 562.762 L 374.165 562.762 C 373.765 562.762 373.44 562.438 373.44 562.037 L 373.44 554.697 L 370.142 554.697 C 368.541 554.697 368.086 553.709 369.125 552.492 L 370.07 551.387 C 370.329 551.082 370.54 550.51 370.54 550.11 L 370.54 545.998 C 370.54 545.597 370.216 545.273 369.815 545.273 L 369.453 545.273 C 368.853 545.273 368.366 544.785 368.366 544.185 L 368.366 544.185 C 368.366 543.585 368.853 543.098 369.453 543.098 L 378.878 543.098 C 379.478 543.098 379.965 543.585 379.965 544.185 L 379.965 544.185 C 379.965 544.785 379.478 545.273 378.878 545.273 L 378.515 545.273 C 378.115 545.273 377.79 545.597 377.79 545.998 L 377.79 550.11 C 377.79 550.51 378.001 551.082 378.261 551.387 L 379.205 552.492 C 380.245 553.709 379.789 554.697 378.189 554.697 L 374.89 554.697 Z " fill-rule="evenodd" fill="rgb(0,113,255)"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="isolation:isolate" viewBox="358.441 521.772 32 32" width="32pt" height="32pt"><g><path d=" M 358.441 521.772 L 390.441 521.772 L 390.441 553.772 L 358.441 553.772 L 358.441 521.772 Z " fill="none"/><path d=" M 375.166 539.539 L 375.166 546.879 C 375.166 547.279 374.841 547.604 374.441 547.604 L 374.441 547.604 C 374.041 547.604 373.716 547.279 373.716 546.879 L 373.716 539.539 L 370.417 539.539 C 368.817 539.539 368.361 538.551 369.401 537.334 L 370.345 536.228 C 370.605 535.924 370.816 535.352 370.816 534.952 L 370.816 530.839 C 370.816 530.439 370.491 530.114 370.091 530.114 L 369.729 530.114 C 369.128 530.114 368.641 529.627 368.641 529.027 L 368.641 529.027 C 368.641 528.427 369.128 527.939 369.729 527.939 L 379.153 527.939 C 379.753 527.939 380.241 528.427 380.241 529.027 L 380.241 529.027 C 380.241 529.627 379.753 530.114 379.153 530.114 L 378.791 530.114 C 378.39 530.114 378.066 530.439 378.066 530.839 L 378.066 534.952 C 378.066 535.352 378.277 535.924 378.536 536.228 L 379.481 537.334 C 380.52 538.551 380.065 539.539 378.464 539.539 L 375.166 539.539 Z " fill="rgb(0,0,0)"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -201,7 +201,7 @@ class _RemotePageState extends State<RemotePage>
Widget buildBody(BuildContext context) {
return Scaffold(
backgroundColor: Theme.of(context).backgroundColor,
backgroundColor: Theme.of(context).colorScheme.background,
/// the Overlay key will be set with _blockableOverlayState in BlockableOverlay
/// see override build() in [BlockableOverlay]

View File

@ -22,7 +22,10 @@ import 'package:bot_toast/bot_toast.dart';
import '../../models/platform_model.dart';
class _MenuTheme {
static const Color commonColor = MyTheme.accent;
static const Color blueColor = MyTheme.button;
static const Color hoverBlueColor = MyTheme.accent;
static const Color redColor = Colors.redAccent;
static const Color hoverRedColor = Colors.red;
// kMinInteractiveDimension
static const double height = 20.0;
static const double dividerHeight = 12.0;
@ -134,7 +137,7 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
width: stateGlobal.windowBorderWidth.value),
),
child: Scaffold(
backgroundColor: Theme.of(context).backgroundColor,
backgroundColor: Theme.of(context).colorScheme.background,
body: DesktopTab(
controller: tabController,
onWindowCloseButton: handleWindowCloseButton,
@ -280,7 +283,7 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
.map((entry) => entry.build(
context,
const MenuConfig(
commonColor: _MenuTheme.commonColor,
commonColor: _MenuTheme.blueColor,
height: _MenuTheme.height,
dividerHeight: _MenuTheme.dividerHeight,
)))

View File

@ -5,6 +5,8 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/material.dart';
import 'package:flutter_hbb/common.dart';
import 'package:flutter_hbb/desktop/widgets/menu_button.dart';
// Examples can assume:
// enum Commands { heroAndScholar, hurricaneCame }
@ -1391,22 +1393,21 @@ class PopupMenuButtonState<T> extends State<PopupMenuButton<T>> {
onTap: widget.enabled ? showButtonMenu : null,
onHover: widget.onHover,
canRequestFocus: _canRequestFocus,
radius: widget.splashRadius,
enableFeedback: enableFeedback,
child: widget.child,
),
);
}
return IconButton(
return MenuButton(
icon: widget.icon ?? Icon(Icons.adaptive.more),
padding: widget.padding,
splashRadius: widget.splashRadius,
iconSize: widget.iconSize ?? iconTheme.size ?? _kDefaultIconSize,
tooltip:
widget.tooltip ?? MaterialLocalizations.of(context).showMenuTooltip,
onPressed: widget.enabled ? showButtonMenu : null,
enableFeedback: enableFeedback,
color: MyTheme.button,
hoverColor: MyTheme.accent,
);
}
}

View File

@ -0,0 +1,63 @@
import 'package:flutter/material.dart';
class MenuButton extends StatefulWidget {
final GestureTapCallback? onPressed;
final Color color;
final Color hoverColor;
final Color? splashColor;
final Widget icon;
final double iconSize;
final String tooltip;
final EdgeInsetsGeometry padding;
final bool enableFeedback;
const MenuButton({
super.key,
required this.onPressed,
required this.color,
required this.hoverColor,
required this.icon,
required this.iconSize,
required this.tooltip,
this.splashColor,
this.padding = const EdgeInsets.all(5),
this.enableFeedback = true,
});
@override
State<MenuButton> createState() => _MenuButtonState();
}
class _MenuButtonState extends State<MenuButton> {
bool _isHover = false;
@override
Widget build(BuildContext context) {
return Padding(
padding: widget.padding,
child: Tooltip(
message: widget.tooltip,
child: Material(
type: MaterialType.transparency,
child: Ink(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(5),
color: _isHover ? widget.hoverColor : widget.color,
),
child: InkWell(
onHover: (val) {
setState(() {
_isHover = val;
});
},
borderRadius: BorderRadius.circular(5),
splashColor: widget.splashColor,
enableFeedback: widget.enableFeedback,
onTap: widget.onPressed,
child: widget.icon,
),
),
),
),
);
}
}

View File

@ -5,6 +5,7 @@ import 'dart:ui' as ui;
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_hbb/desktop/widgets/menu_button.dart';
import 'package:flutter_hbb/models/chat_model.dart';
import 'package:flutter_hbb/models/state_model.dart';
import 'package:flutter_hbb/consts.dart';
@ -94,7 +95,10 @@ class MenubarState {
}
class _MenubarTheme {
static const Color commonColor = MyTheme.accent;
static const Color blueColor = MyTheme.button;
static const Color hoverBlueColor = MyTheme.accent;
static const Color redColor = Colors.redAccent;
static const Color hoverRedColor = Colors.red;
// kMinInteractiveDimension
static const double height = 20.0;
static const double dividerHeight = 12.0;
@ -412,7 +416,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
if (widget.ffi.ffiModel.isPeerAndroid) {
menubarItems.add(IconButton(
tooltip: translate('Mobile Actions'),
color: _MenubarTheme.commonColor,
color: _MenubarTheme.blueColor,
icon: const Icon(Icons.build),
onPressed: () {
widget.ffi.dialogManager
@ -433,7 +437,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
menubarItems.add(_buildClose(context, iconSize));
return PopupMenuTheme(
data: const PopupMenuThemeData(
textStyle: TextStyle(color: _MenubarTheme.commonColor)),
textStyle: TextStyle(color: _MenubarTheme.blueColor)),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
@ -457,8 +461,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
Widget _buildPinMenubar(BuildContext context, double iconSize) {
return Obx(
() => IconButton(
padding: EdgeInsets.zero,
() => MenuButton(
iconSize: iconSize,
tooltip: translate(pin ? 'Unpin menubar' : 'Pin menubar'),
onPressed: () {
@ -466,15 +469,16 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
},
icon: SvgPicture.asset(
pin ? "assets/pinned.svg" : "assets/unpinned.svg",
color: pin ? _MenubarTheme.commonColor : Colors.grey[800],
color: Colors.white,
),
color: pin ? _MenubarTheme.blueColor : Colors.grey[800]!,
hoverColor: pin ? _MenubarTheme.hoverBlueColor : Colors.grey[850]!,
),
);
}
Widget _buildFullscreen(BuildContext context, double iconSize) {
return IconButton(
padding: EdgeInsets.zero,
return MenuButton(
iconSize: iconSize,
tooltip: translate(isFullscreen ? 'Exit Fullscreen' : 'Fullscreen'),
onPressed: () {
@ -482,8 +486,10 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
},
icon: SvgPicture.asset(
isFullscreen ? "assets/fullscreen_exit.svg" : "assets/fullscreen.svg",
color: _MenubarTheme.commonColor,
color: Colors.white,
),
color: _MenubarTheme.blueColor,
hoverColor: _MenubarTheme.hoverBlueColor,
);
}
@ -492,14 +498,13 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
return mod_menu.PopupMenuButton(
iconSize: iconSize,
tooltip: translate('Select Monitor'),
padding: EdgeInsets.zero,
position: mod_menu.PopupMenuPosition.under,
icon: Stack(
alignment: Alignment.center,
children: [
SvgPicture.asset(
"assets/display.svg",
color: _MenubarTheme.commonColor,
color: Colors.white,
),
Padding(
padding: const EdgeInsets.only(bottom: 3.9),
@ -520,7 +525,10 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
Stack(
alignment: Alignment.center,
children: [
SvgPicture.asset("assets/display.svg"),
SvgPicture.asset(
"assets/display.svg",
color: Colors.white,
),
TextButton(
child: Container(
alignment: AlignmentDirectional.center,
@ -531,7 +539,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
child: Text(
(i + 1).toString(),
style: TextStyle(
color: Theme.of(context).scaffoldBackgroundColor,
color: Colors.white,
),
),
),
@ -573,7 +581,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
padding: EdgeInsets.zero,
icon: SvgPicture.asset(
"assets/actions.svg",
color: _MenubarTheme.commonColor,
color: Colors.white,
),
tooltip: translate('Control Actions'),
position: mod_menu.PopupMenuPosition.under,
@ -581,7 +589,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
.map((entry) => entry.build(
context,
const MenuConfig(
commonColor: _MenubarTheme.commonColor,
commonColor: _MenubarTheme.blueColor,
height: _MenubarTheme.height,
dividerHeight: _MenubarTheme.dividerHeight,
)))
@ -606,7 +614,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
padding: EdgeInsets.zero,
icon: SvgPicture.asset(
"assets/display.svg",
color: _MenubarTheme.commonColor,
color: Colors.white,
),
tooltip: translate('Display Settings'),
position: mod_menu.PopupMenuPosition.under,
@ -616,7 +624,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
.map((entry) => entry.build(
context,
const MenuConfig(
commonColor: _MenubarTheme.commonColor,
commonColor: _MenubarTheme.blueColor,
height: _MenubarTheme.height,
dividerHeight: _MenubarTheme.dividerHeight,
)))
@ -640,7 +648,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
padding: EdgeInsets.zero,
icon: SvgPicture.asset(
"assets/keyboard.svg",
color: _MenubarTheme.commonColor,
color: Colors.white,
),
tooltip: translate('Keyboard Settings'),
position: mod_menu.PopupMenuPosition.under,
@ -648,7 +656,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
.map((entry) => entry.build(
context,
const MenuConfig(
commonColor: _MenubarTheme.commonColor,
commonColor: _MenubarTheme.blueColor,
height: _MenubarTheme.height,
dividerHeight: _MenubarTheme.dividerHeight,
)))
@ -661,8 +669,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
return Consumer<FfiModel>(builder: ((context, value, child) {
if (value.permissions['recording'] != false) {
return Consumer<RecordingModel>(
builder: (context, value, child) => IconButton(
padding: EdgeInsets.zero,
builder: (context, value, child) => MenuButton(
iconSize: iconSize,
tooltip: value.start
? translate('Stop session recording')
@ -670,8 +677,13 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
onPressed: () => value.toggle(),
icon: SvgPicture.asset(
"assets/rec.svg",
color: value.start ? Colors.red : _MenubarTheme.commonColor,
color: Colors.white,
),
color:
value.start ? _MenubarTheme.redColor : _MenubarTheme.blueColor,
hoverColor: value.start
? _MenubarTheme.hoverRedColor
: _MenubarTheme.hoverBlueColor,
),
);
} else {
@ -681,17 +693,18 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
}
Widget _buildClose(BuildContext context, double iconSize) {
return IconButton(
return MenuButton(
iconSize: iconSize,
padding: EdgeInsets.zero,
tooltip: translate('Close'),
onPressed: () {
clientClose(widget.id, widget.ffi.dialogManager);
},
icon: SvgPicture.asset(
"assets/close.svg",
color: Colors.red,
color: Colors.white,
),
color: _MenubarTheme.redColor,
hoverColor: _MenubarTheme.hoverRedColor,
);
}
@ -704,7 +717,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
padding: EdgeInsets.zero,
icon: SvgPicture.asset(
"assets/chat.svg",
color: _MenubarTheme.commonColor,
color: Colors.white,
),
tooltip: translate('Chat'),
position: mod_menu.PopupMenuPosition.under,
@ -712,7 +725,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
.map((entry) => entry.build(
context,
const MenuConfig(
commonColor: _MenubarTheme.commonColor,
commonColor: _MenubarTheme.blueColor,
height: _MenubarTheme.height,
dividerHeight: _MenubarTheme.dividerHeight,
)))