Center the check in the dark theme checkboxes and remove the old PNGs

This commit is contained in:
Gaute Lindkvist 2020-10-02 13:16:26 +02:00 committed by Magne Sjaastad
parent b7ac99e53b
commit a796c5b340
13 changed files with 31 additions and 45 deletions

View File

@ -207,12 +207,6 @@
<file>themes/dark/expanded.svg</file>
<file>themes/dark/arrow-down.svg</file>
<file>themes/dark/arrow-up.svg</file>
<file>themes/dark/checkbox-unchecked-20x20.png</file>
<file>themes/dark/checkbox-checked-20x20.png</file>
<file>themes/dark/checkbox-indeterminate-20x20.png</file>
<file>themes/dark/checkbox-unchecked-disabled-20x20.png</file>
<file>themes/dark/checkbox-checked-disabled-20x20.png</file>
<file>themes/dark/checkbox-indeterminate-disabled-20x20.png</file>
<file>themes/dark/gripper.svg</file>
<file>themes/light/gripper.svg</file>
<file>themes/dark/checkbox-checked.svg</file>

View File

@ -27,38 +27,38 @@ $plotGridColor: #394046; // Plot grid color
$auxiliaryCurveColor: #000000; // Auxiliary curve color
$externalInputColor: #e82257; // External input background color
QCheckBox::indicator, QTreeView::indicator, QTableView::indicator {
QCheckBox::indicator, QTreeView::indicator, QTableView::indicator, QListWidget::indicator {
background-color: $backgroundColor1;
border-radius: 3px;
width: 16px;
height: 16px;
}
QCheckBox::indicator:unchecked, QTreeView::indicator:unchecked, QTableView::indicator:unchecked
QCheckBox::indicator:unchecked, QTreeView::indicator:unchecked, QTableView::indicator:unchecked, QListWidget::indicator:unchecked
{
image: url(:/themes/dark/checkbox-unchecked.svg);
}
QCheckBox::indicator:checked, QTreeView::indicator:checked, QTableView::indicator:checked
QCheckBox::indicator:checked, QTreeView::indicator:checked, QTableView::indicator:checked, QListWidget::indicator:checked
{
image: url(:/themes/dark/checkbox-checked.svg);
}
QCheckBox::indicator:indeterminate, QTreeView::indicator:indeterminate, QTableView::indicator:indeterminate
QCheckBox::indicator:indeterminate, QTreeView::indicator:indeterminate, QTableView::indicator:indeterminate, QListWidget::indicator:indeterminate
{
image: url(:/themes/dark/checkbox-indeterminate.svg);
}
QCheckBox::indicator:unchecked:disabled, QTreeView::indicator:unchecked:disabled, QTableView::indicator:unchecked:disabled
QCheckBox::indicator:unchecked:disabled, QTreeView::indicator:unchecked:disabled, QTableView::indicator:unchecked:disabled, QListWidget::indicator:unchecked:disabled
{
image: url(:/themes/dark/checkbox-unchecked-disabled.svg);
}
QCheckBox::indicator:checked:disabled, QTreeView::indicator:checked:disabled, QTableView::indicator:checked:disabled
QCheckBox::indicator:checked:disabled, QTreeView::indicator:checked:disabled, QTableView::indicator:checked:disabled, QListWidget::indicator:checked:disabled
{
image: url(:/themes/dark/checkbox-checked-disabled.svg);
}
QCheckBox::indicator:indeterminate:disabled, QTreeView::indicator:indeterminate:disabled, QTableView::indicator:indeterminate:disabled
QCheckBox::indicator:indeterminate:disabled, QTreeView::indicator:indeterminate:disabled, QTableView::indicator:indeterminate:disabled, QListWidget::indicator:indeterminate:disabled
{
image: url(:/themes/dark/checkbox-indeterminate-disabled.svg);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -1,13 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 12.9 12.9" style="enable-background:new 0 0 12.9 12.9;" xml:space="preserve">
<style type="text/css">
<svg version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 12.9 12.9" style="enable-background:new 0 0 12.9 12.9;" xmlns="http://www.w3.org/2000/svg">
<style type="text/css">
.st0{display:none;fill:#394046;}
.st1{fill:none;stroke:#5C6169;stroke-width:1.5;stroke-miterlimit:10;}
.st2{display:none;fill:#5C6169;}
</style>
<rect class="st0" width="12.9" height="12.9"/>
<polyline class="st1" points="2.7,6.8 5.6,9.7 11.3,4.1 "/>
<rect x="3" y="3" class="st2" width="7" height="7"/>
<rect class="st0" width="12.9" height="12.9"/>
<polyline class="st1" points="2.15 6.35 5.05 9.25 10.75 3.65"/>
<rect x="3" y="3" class="st2" width="7" height="7"/>
</svg>

Before

Width:  |  Height:  |  Size: 691 B

After

Width:  |  Height:  |  Size: 542 B

View File

@ -1,13 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 12.9 12.9" style="enable-background:new 0 0 12.9 12.9;" xml:space="preserve">
<style type="text/css">
<svg version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 12.9 12.9" style="enable-background:new 0 0 12.9 12.9;" xmlns="http://www.w3.org/2000/svg">
<style type="text/css">
.st0{display:none;fill:#394046;}
.st1{fill:none;stroke:#E8E8EA;stroke-width:1.5;stroke-miterlimit:10;}
.st2{display:none;fill:#E7E8EA;}
</style>
<rect class="st0" width="12.9" height="12.9"/>
<polyline class="st1" points="2.7,6.8 5.6,9.7 11.3,4.1 "/>
<rect x="2.9" y="2.9" class="st2" width="7" height="7"/>
<rect class="st0" width="12.9" height="12.9"/>
<polyline class="st1" points="2.15 6.35 5.05 9.25 10.75 3.65"/>
<rect x="2.9" y="2.9" class="st2" width="7" height="7"/>
</svg>

Before

Width:  |  Height:  |  Size: 695 B

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -1,13 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 12.9 12.9" style="enable-background:new 0 0 12.9 12.9;" xml:space="preserve">
<style type="text/css">
<svg version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 12.9 12.9" style="enable-background:new 0 0 12.9 12.9;" xmlns="http://www.w3.org/2000/svg">
<style type="text/css">
.st0{display:none;fill:#394046;}
.st1{display:none;fill:none;stroke:#E8E8EA;stroke-width:1.5;stroke-miterlimit:10;}
.st2{fill:#5C6169;}
</style>
<rect class="st0" width="12.9" height="12.9"/>
<polyline class="st1" points="2.7,6.8 5.6,9.7 11.3,4.1 "/>
<rect x="3" y="3" class="st2" width="7" height="7"/>
<rect class="st0" width="12.9" height="12.9"/>
<polyline class="st1" points="2.7,6.8 5.6,9.7 11.3,4.1 "/>
<rect x="2.95" y="2.95" class="st2" width="7" height="7"/>
</svg>

Before

Width:  |  Height:  |  Size: 691 B

After

Width:  |  Height:  |  Size: 543 B

View File

@ -1,13 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.1.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 12.9 12.9" style="enable-background:new 0 0 12.9 12.9;" xml:space="preserve">
<style type="text/css">
<svg version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 12.9 12.9" style="enable-background:new 0 0 12.9 12.9;" xmlns="http://www.w3.org/2000/svg">
<style type="text/css">
.st0{display:none;fill:#394046;}
.st1{display:none;fill:none;stroke:#E8E8EA;stroke-width:1.5;stroke-miterlimit:10;}
.st2{fill:#E7E8EA;}
</style>
<rect class="st0" width="12.9" height="12.9"/>
<polyline class="st1" points="2.7,6.8 5.6,9.7 11.3,4.1 "/>
<rect x="3" y="3" class="st2" width="7" height="7"/>
<rect class="st0" width="12.9" height="12.9"/>
<polyline class="st1" points="2.7,6.8 5.6,9.7 11.3,4.1 "/>
<rect x="2.95" y="2.95" class="st2" width="7" height="7"/>
</svg>

Before

Width:  |  Height:  |  Size: 691 B

After

Width:  |  Height:  |  Size: 543 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB