Browse Source

Merge pull request #10130 from Chocobo1/svg

Fix icon issues
adaptive-webui-19844
Mike Tzou 6 years ago committed by GitHub
parent
commit
2e5c09aeba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/icons/skin/completed.svg
  2. 4
      src/icons/skin/downloading.svg
  3. 2
      src/webui/www/private/index.html
  4. 4
      src/webui/www/private/preferences_content.html

4
src/icons/skin/completed.svg

@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23.7 18.1"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23.2 27.3">
<path d="M23 4.6L12.2 15.4l-2 2c-.2.2-.7.4-1 .4-.4 0-.7-.2-1-.4l-2-2L.8 10C.5 9.7.3 9.3.3 8.9s.2-.7.4-1l2-2c.2-.2.7-.4 1-.4.4 0 .7.2 1 .4l4.4 4.4L18.9.6c.2-.2.7-.4 1-.4.4 0 .7.2 1 .4l2 2c.4.2.6.6.6 1-.1.4-.2.7-.5 1z" fill="#375273"/> <path d="M22.7 9.2L11.9 20l-2 2c-.2.2-.7.4-1 .4-.4 0-.7-.2-1-.4l-2-2-5.4-5.4c-.3-.3-.5-.7-.5-1.1 0-.4.2-.7.4-1l2-2c.2-.2.7-.4 1-.4.4 0 .7.2 1 .4l4.4 4.4 9.8-9.7c.2-.2.7-.4 1-.4.4 0 .7.2 1 .4l2 2c.4.2.6.6.6 1-.1.4-.2.7-.5 1z" fill="#375273"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 308 B

After

Width:  |  Height:  |  Size: 316 B

4
src/icons/skin/downloading.svg

@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 21.2 22.4"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20.7 25.8">
<path d="M20.5 12.7l-9 9c-.3.3-.5.4-.9.4s-.7-.1-.9-.4l-9-9c-.4-.4-.5-.8-.3-1.5.3-.5.7-.8 1.2-.8h5.2V1.6c0-.4.1-.7.4-.9.3-.3.5-.4.9-.4h5.2c.4 0 .7.1.9.4.2.2.4.5.4.9v9h5.2c.5-.1.9.1 1.1.7.2.5 0 1-.4 1.4z" fill="#427337"/> <path d="M20.2 14.4l-9 9c-.3.3-.5.4-.9.4s-.7-.1-.9-.4l-9-9c-.4-.4-.5-.8-.3-1.5.3-.5.7-.8 1.2-.8h5.2V3.3c0-.4.1-.7.4-.9.3-.3.5-.4.9-.4H13c.4 0 .7.1.9.4.2.2.4.5.4.9v9h5.2c.5-.1.9.1 1.1.7.2.5 0 1-.4 1.4z" fill="#427337"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 294 B

After

Width:  |  Height:  |  Size: 293 B

2
src/webui/www/private/index.html

@ -189,7 +189,7 @@
<td class="statusBarSeparator"></td> <td class="statusBarSeparator"></td>
<td><img id="connectionStatus" alt="Connection Status" src="images/skin/firewalled.svg" style="height: 1.5em;" /></td> <td><img id="connectionStatus" alt="Connection Status" src="images/skin/firewalled.svg" style="height: 1.5em;" /></td>
<td class="statusBarSeparator"></td> <td class="statusBarSeparator"></td>
<td style="cursor:pointer;"><img id="alternativeSpeedLimits" alt="QBT_TR(Alternative speed limits)QBT_TR[CONTEXT=MainWindow]" src="images/slow_off.svg" style="height: 1.5em;"/></td> <td style="cursor:pointer;"><img id="alternativeSpeedLimits" alt="QBT_TR(Alternative speed limits)QBT_TR[CONTEXT=MainWindow]" src="images/slow_off.svg" style="height: 1em;"/></td>
<td class="statusBarSeparator"></td> <td class="statusBarSeparator"></td>
<td class="speedLabel"><img src="images/skin/download.svg" alt="" style="height: 1.4em; padding-right: 5px; margin-bottom: -4px;"><span id="DlInfos"></span></td> <td class="speedLabel"><img src="images/skin/download.svg" alt="" style="height: 1.4em; padding-right: 5px; margin-bottom: -4px;"><span id="DlInfos"></span></td>
<td class="statusBarSeparator"></td> <td class="statusBarSeparator"></td>

4
src/webui/www/private/preferences_content.html

@ -386,7 +386,7 @@
<table> <table>
<tr> <tr>
<td rowspan="2"> <td rowspan="2">
<img alt="QBT_TR(Alternative speed limits)QBT_TR[CONTEXT=MainWindow]" src="images/slow_off.png"> <img src="images/slow_off.svg" style="height: 1em;" alt="QBT_TR(Alternative speed limits)QBT_TR[CONTEXT=MainWindow]">
</td> </td>
<td><label for="up_limit_value">QBT_TR(Upload:)QBT_TR[CONTEXT=OptionsDialog]</label></td> <td><label for="up_limit_value">QBT_TR(Upload:)QBT_TR[CONTEXT=OptionsDialog]</label></td>
<td><input type="number" id="up_limit_value" style="width: 4em;" min="0" />&nbsp;&nbsp;QBT_TR(KiB/s)QBT_TR[CONTEXT=OptionsDialog]</td> <td><input type="number" id="up_limit_value" style="width: 4em;" min="0" />&nbsp;&nbsp;QBT_TR(KiB/s)QBT_TR[CONTEXT=OptionsDialog]</td>
@ -404,7 +404,7 @@
<table> <table>
<tr> <tr>
<td rowspan="2"> <td rowspan="2">
<img alt="QBT_TR(Alternative speed limits)QBT_TR[CONTEXT=MainWindow]" src="images/slow.png"> <img src="images/slow.svg" style="height: 1em;" alt="QBT_TR(Alternative speed limits)QBT_TR[CONTEXT=MainWindow]">
</td> </td>
<td><label for="alt_up_limit_value">QBT_TR(Upload:)QBT_TR[CONTEXT=OptionsDialog]</label></td> <td><label for="alt_up_limit_value">QBT_TR(Upload:)QBT_TR[CONTEXT=OptionsDialog]</label></td>
<td><input type="number" id="alt_up_limit_value" style="width: 4em;" min="0" />&nbsp;&nbsp;QBT_TR(KiB/s)QBT_TR[CONTEXT=OptionsDialog]</td> <td><input type="number" id="alt_up_limit_value" style="width: 4em;" min="0" />&nbsp;&nbsp;QBT_TR(KiB/s)QBT_TR[CONTEXT=OptionsDialog]</td>

Loading…
Cancel
Save