1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-19 13:03:33 +08:00

Opt: Styles for dark mode

Theme support is not available in pywebio 1.4
You need to upgrade to 1.5 dev version manually by run
pip install -U https://code.aliyun.com/wang0618/pywebio/repository/archive.zip
This commit is contained in:
18870
2021-11-08 23:28:49 +08:00
parent 5f17cd71d5
commit c42691aeaa
13 changed files with 313 additions and 103 deletions

View File

@@ -1 +1 @@
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="2rem" height="2rem"><path d="M544 160v320h320v64H544v320h-64V544H160v-64h320V160h64z" fill="#000000"></path></svg>
<svg class="aside-icon aside-icon-add" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M544 160v320h320v64H544v320h-64V544H160v-64h320V160h64z"></path></svg>

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 191 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 164 KiB

View File

@@ -1 +1 @@
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="2rem" height="2rem"><path d="M867.555 773.654h-711.11C120.358 773.654 91 745.44 91 710.76V211.502c0-34.68 29.358-62.894 65.445-62.894h711.111c36.086 0 65.445 28.214 65.445 62.894V710.76c-0.001 34.68-29.359 62.894-65.446 62.894z m-702.555-74h694V222.608H165v477.046zM683.124 901H340.876c-20.435 0-37-16.565-37-37s16.565-37 37-37h342.247c20.435 0 37 16.565 37 37s-16.565 37-36.999 37z" p-id="3206" fill="#2c2c2c"></path><path d="M434.596 646.292a31.853 31.853 0 0 1-14.444-3.465c-15.763-7.992-22.063-27.249-14.072-43.012l154.757-305.259c7.991-15.763 27.249-22.063 43.011-14.072 15.763 7.992 22.063 27.249 14.072 43.012L463.163 628.755c-5.64 11.125-16.893 17.537-28.567 17.537zM666.61 589.038c-8.506 0.001-16.992-3.369-23.288-10.047-12.125-12.857-11.53-33.11 1.328-45.235l70.766-66.729-70.906-66.749c-12.868-12.113-13.48-32.365-1.366-45.233 12.114-12.871 32.367-13.479 45.234-1.366l95.637 90.029a31.998 31.998 0 0 1 0.02 46.582l-95.477 90.03a31.898 31.898 0 0 1-21.948 8.718zM357.39 589.037a31.89 31.89 0 0 1-21.948-8.718l-95.477-90.029a32.002 32.002 0 0 1 0.02-46.582l95.637-90.029c12.869-12.115 33.12-11.502 45.234 1.366 12.114 12.868 11.502 33.12-1.366 45.233l-70.906 66.749 70.766 66.728c12.858 12.125 13.453 32.377 1.328 45.235-6.296 6.677-14.783 10.047-23.288 10.047z" fill="#2c2c2c"></path></svg>
<svg class="aside-icon icon-develop" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M867.555 773.654h-711.11C120.358 773.654 91 745.44 91 710.76V211.502c0-34.68 29.358-62.894 65.445-62.894h711.111c36.086 0 65.445 28.214 65.445 62.894V710.76c-0.001 34.68-29.359 62.894-65.446 62.894z m-702.555-74h694V222.608H165v477.046zM683.124 901H340.876c-20.435 0-37-16.565-37-37s16.565-37 37-37h342.247c20.435 0 37 16.565 37 37s-16.565 37-36.999 37z"></path><path d="M434.596 646.292a31.853 31.853 0 0 1-14.444-3.465c-15.763-7.992-22.063-27.249-14.072-43.012l154.757-305.259c7.991-15.763 27.249-22.063 43.011-14.072 15.763 7.992 22.063 27.249 14.072 43.012L463.163 628.755c-5.64 11.125-16.893 17.537-28.567 17.537zM666.61 589.038c-8.506 0.001-16.992-3.369-23.288-10.047-12.125-12.857-11.53-33.11 1.328-45.235l70.766-66.729-70.906-66.749c-12.868-12.113-13.48-32.365-1.366-45.233 12.114-12.871 32.367-13.479 45.234-1.366l95.637 90.029a31.998 31.998 0 0 1 0.02 46.582l-95.477 90.03a31.898 31.898 0 0 1-21.948 8.718zM357.39 589.037a31.89 31.89 0 0 1-21.948-8.718l-95.477-90.029a32.002 32.002 0 0 1 0.02-46.582l95.637-90.029c12.869-12.115 33.12-11.502 45.234 1.366 12.114 12.868 11.502 33.12-1.366 45.233l-70.906 66.749 70.766 66.728c12.858 12.125 13.453 32.377 1.328 45.235-6.296 6.677-14.783 10.047-23.288 10.047z"></path></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -1 +0,0 @@
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="2rem" height="2rem"><path d="M853.333333 213.333333a42.666667 42.666667 0 0 1 42.666667 42.666667v597.333333a42.666667 42.666667 0 0 1-42.666667 42.666667H170.666667a42.666667 42.666667 0 0 1-42.666667-42.666667V256a42.666667 42.666667 0 0 1 42.666667-42.666667h213.333333v85.333334H213.333333v512h597.333334V298.666667h-170.666667V213.333333z" fill="#2c2c2c" p-id="4789"></path><path d="M351.829333 492.586667l20.053334-20.096c11.136-11.093333 29.141333-11.093333 40.277333 0l57.856 57.941333V114.474667c0-15.701333 12.8-28.416 28.458667-28.416h28.458666c15.701333 0 28.458667 12.714667 28.458667 28.416v415.914666l57.898667-57.898666c11.093333-11.093333 29.098667-11.093333 40.234666 0l20.096 20.096c11.093333 11.093333 11.093333 29.141333 0 40.234666l-140.8 140.8a28.458667 28.458667 0 0 1-40.234666 0l-140.8-140.8a28.458667 28.458667 0 0 1 0-40.234666z" fill="#2c2c2c"></path></svg>

Before

Width:  |  Height:  |  Size: 984 B

View File

@@ -1 +0,0 @@
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="2rem" height="2rem"><path d="M0 868h1024v56H0v-56z m56-568h160v496h-160v-496z m248-200h160v696h-160V100z m256 256h160v440h-160v-440z m248-192h160v632h-160V164z" fill="#2c2c2c"></path></svg>

Before

Width:  |  Height:  |  Size: 287 B

View File

@@ -1 +1 @@
<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="2rem" height="2rem"><path d="M213.333333 65.386667a85.333333 85.333333 0 0 1 43.904 12.16L859.370667 438.826667a85.333333 85.333333 0 0 1 0 146.346666L257.237333 946.453333A85.333333 85.333333 0 0 1 128 873.28V150.72a85.333333 85.333333 0 0 1 85.333333-85.333333z m0 64a21.333333 21.333333 0 0 0-21.184 18.837333L192 150.72v722.56a21.333333 21.333333 0 0 0 30.101333 19.456l2.197334-1.152L826.453333 530.282667a21.333333 21.333333 0 0 0 2.048-35.178667l-2.048-1.386667L224.298667 132.416A21.333333 21.333333 0 0 0 213.333333 129.386667z" fill="#2c2c2c"></path></svg>
<svg class="aside-icon icon-run" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M213.333333 65.386667a85.333333 85.333333 0 0 1 43.904 12.16L859.370667 438.826667a85.333333 85.333333 0 0 1 0 146.346666L257.237333 946.453333A85.333333 85.333333 0 0 1 128 873.28V150.72a85.333333 85.333333 0 0 1 85.333333-85.333333z m0 64a21.333333 21.333333 0 0 0-21.184 18.837333L192 150.72v722.56a21.333333 21.333333 0 0 0 30.101333 19.456l2.197334-1.152L826.453333 530.282667a21.333333 21.333333 0 0 0 2.048-35.178667l-2.048-1.386667L224.298667 132.416A21.333333 21.333333 0 0 0 213.333333 129.386667z"></path></svg>

Before

Width:  |  Height:  |  Size: 664 B

After

Width:  |  Height:  |  Size: 637 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB