Improve gtk2 scrollbars style

This commit is contained in:
EliverLara
2019-07-07 12:47:25 -05:00
parent f786ec9fa0
commit 059fee15bd
12 changed files with 39 additions and 35 deletions

View File

@@ -14,7 +14,7 @@
height="480px" height="480px"
id="svg3032" id="svg3032"
version="1.1" version="1.1"
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)" inkscape:version="0.92.4 (unknown)"
sodipodi:docname="assets.svg"> sodipodi:docname="assets.svg">
<title <title
id="title5071">EvoPop GTK2 Source</title> id="title5071">EvoPop GTK2 Source</title>
@@ -447,19 +447,19 @@
borderopacity="1" borderopacity="1"
inkscape:pageopacity="1" inkscape:pageopacity="1"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="3.1706945" inkscape:zoom="6.7005692"
inkscape:cx="550.31674" inkscape:cx="330.78315"
inkscape:cy="397.66718" inkscape:cy="454.37878"
inkscape:current-layer="menu-radio-checked" inkscape:current-layer="layer1"
inkscape:document-units="px" inkscape:document-units="px"
showgrid="true" showgrid="true"
inkscape:snap-bbox="true" inkscape:snap-bbox="true"
inkscape:snap-global="true" inkscape:snap-global="true"
inkscape:snap-nodes="true" inkscape:snap-nodes="true"
inkscape:window-width="1366" inkscape:window-width="1366"
inkscape:window-height="656" inkscape:window-height="706"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="31" inkscape:window-y="30"
inkscape:window-maximized="1" inkscape:window-maximized="1"
showguides="false" showguides="false"
inkscape:guide-bbox="true" inkscape:guide-bbox="true"
@@ -1024,14 +1024,14 @@
transform="translate(-62,34)" transform="translate(-62,34)"
id="a5307"> id="a5307">
<rect <rect
style="fill:#999999;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:#7a7d81;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect5272" id="rect5272"
width="6" width="4"
height="7" height="7"
x="300" x="300"
y="0" y="0"
rx="0" rx="0"
ry="0" /> ry="2" />
</a> </a>
</g> </g>
<g <g
@@ -1051,14 +1051,14 @@
transform="translate(-46,34)" transform="translate(-46,34)"
id="a5307-0"> id="a5307-0">
<rect <rect
style="fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:#55595f;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect5272-4" id="rect5272-4"
width="6" width="5"
height="7" height="7"
x="300" x="300"
y="0" y="0"
rx="0" rx="0"
ry="0" /> ry="2" />
</a> </a>
</g> </g>
<g <g
@@ -1078,14 +1078,14 @@
transform="translate(-30,34)" transform="translate(-30,34)"
id="a5307-0-9"> id="a5307-0-9">
<rect <rect
style="fill:#E1A91F;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:#e1a91f;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect5272-4-2" id="rect5272-4-2"
width="6" width="5"
height="7" height="7"
x="300" x="300"
y="0" y="0"
rx="0" rx="0"
ry="0" /> ry="2" />
</a> </a>
</g> </g>
<g <g
@@ -1152,14 +1152,14 @@
inkscape:export-xdpi="90" inkscape:export-xdpi="90"
inkscape:export-ydpi="90"> inkscape:export-ydpi="90">
<rect <rect
ry="5.6843419e-14" ry="2"
rx="0" rx="0"
y="-1" y="-1"
x="300" x="300"
height="7" height="7"
width="6" width="4"
id="rect4717" id="rect4717"
style="fill:#999999;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> style="fill:#7a7d81;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</a> </a>
</g> </g>
<g <g
@@ -1180,14 +1180,14 @@
style="fill:#535859;fill-opacity:1" style="fill:#535859;fill-opacity:1"
inkscape:label="#a5307-0"> inkscape:label="#a5307-0">
<rect <rect
ry="0" ry="2"
rx="0" rx="0"
y="0" y="0"
x="300" x="300"
height="7" height="7"
width="6" width="5"
id="rect4725" id="rect4725"
style="fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> style="fill:#55595f;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</a> </a>
</g> </g>
<g <g
@@ -1208,14 +1208,14 @@
style="fill:#E1A91F;fill-opacity:1" style="fill:#E1A91F;fill-opacity:1"
inkscape:label="#a5307-0-9"> inkscape:label="#a5307-0-9">
<rect <rect
ry="0" ry="2"
rx="0" rx="0"
y="0" y="0"
x="300" x="300"
height="7" height="7"
width="6" width="5"
id="rect4733" id="rect4733"
style="fill:#E1A91F;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> style="fill:#e1a91f;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</a> </a>
</g> </g>
<rect <rect
@@ -3033,14 +3033,14 @@
x="234" x="234"
y="31" /> y="31" />
<rect <rect
style="fill:#999999;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:#7a7d81;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect5124" id="rect5124"
width="6" width="4"
height="7" height="7"
x="238" x="238"
y="34" y="34"
rx="0" rx="0"
ry="0" /> ry="2" />
</g> </g>
<g <g
inkscape:label="#g5134" inkscape:label="#g5134"
@@ -3054,14 +3054,14 @@
id="rect5128" id="rect5128"
style="fill:none;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> style="fill:none;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect <rect
style="fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:#55595f;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect5132" id="rect5132"
width="6" width="5"
height="7" height="7"
x="254" x="254"
y="34" y="34"
rx="0" rx="0"
ry="0" /> ry="2" />
</g> </g>
<g <g
inkscape:label="#g5142" inkscape:label="#g5142"
@@ -3080,14 +3080,14 @@
style="fill:#E1A91F;fill-opacity:1" style="fill:#E1A91F;fill-opacity:1"
inkscape:label="#a5307-0-9"> inkscape:label="#a5307-0-9">
<rect <rect
ry="0" ry="2"
rx="0" rx="0"
y="0" y="0"
x="300" x="300"
height="7" height="7"
width="6" width="5"
id="rect5140" id="rect5140"
style="fill:#E1A91F;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> style="fill:#e1a91f;fill-opacity:1;stroke:none;stroke-width:0.30000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</a> </a>
</g> </g>
<g <g

Before

Width:  |  Height:  |  Size: 195 KiB

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 379 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 377 B

View File

@@ -6,7 +6,7 @@ gtk-color-scheme = "fg_color:#31363d\nbg_color:#e6e6e6"
# Selection colors # Selection colors
gtk-color-scheme = "selected_fg_color:#fefefe\nselected_bg_color:#E1A91F" gtk-color-scheme = "selected_fg_color:#fefefe\nselected_bg_color:#E1A91F"
# Tooltip colors # Tooltip colors
gtk-color-scheme = "tooltip_fg_color:#2d2d2d\ntooltip_bg_color:#fefefe" gtk-color-scheme = "tooltip_fg_color:#ffffff\ntooltip_bg_color:#000000"
# Window colors # Window colors
gtk-color-scheme = "wm_color:#31363d\nunfocused_wm_color:#31363d" gtk-color-scheme = "wm_color:#31363d\nunfocused_wm_color:#31363d"
# Panel colors # Panel colors

View File

@@ -9,6 +9,9 @@ INDEX="assets.txt"
for i in `cat $INDEX` for i in `cat $INDEX`
do do
if [ -f $ASSETS_DIR/$i.png ]; then
echo $ASSETS_DIR/$i.png exists.
else
echo echo
echo Rendering $ASSETS_DIR/$i.png echo Rendering $ASSETS_DIR/$i.png
$INKSCAPE --export-id=$i \ $INKSCAPE --export-id=$i \
@@ -16,5 +19,6 @@ do
--export-background-opacity=0 \ --export-background-opacity=0 \
--export-png=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null \ --export-png=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null \
&& $OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png && $OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png
fi
done done
exit 0 exit 0