This commit is contained in:
vinceliuice
2020-07-31 17:30:07 +08:00
parent 002c9a4c85
commit fe188356e8
79 changed files with 4089 additions and 3303 deletions

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 119 KiB

View File

@@ -78,10 +78,3 @@ toggle-on
toggle-off
toggle-on-disabled
toggle-off-disabled
sidebar-view-hover
sidebar-view-active
sidebar-view-checked
sidebar-view-hover-dark
sidebar-view-active-dark
sidebar-view-checked-dark

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 B

View File

@@ -0,0 +1,36 @@
#! /bin/bash
INKSCAPE="/usr/bin/inkscape"
OPTIPNG="/usr/bin/optipng"
SRC_FILE="sidebar-assets.svg"
ASSETS_DIR="sidebar-assets"
INDEX="sidebar-assets.txt"
mkdir -p $ASSETS_DIR
for i in `cat $INDEX`
do
if [ -f $ASSETS_DIR/$i.png ]; then
echo $ASSETS_DIR/$i.png exists.
else
echo
echo Rendering $ASSETS_DIR/$i.png
$INKSCAPE --export-id=$i \
--export-id-only \
--export-filename=$ASSETS_DIR/$i.png $SRC_FILE >/dev/null
$OPTIPNG -o7 --quiet $ASSETS_DIR/$i.png
fi
if [ -f $ASSETS_DIR/$i@2.png ]; then
echo $ASSETS_DIR/$i@2.png exists.
else
echo
echo Rendering $ASSETS_DIR/$i@2.png
$INKSCAPE --export-id=$i \
--export-dpi=180 \
--export-id-only \
--export-filename=$ASSETS_DIR/$i@2.png $SRC_FILE >/dev/null
$OPTIPNG -o7 --quiet $ASSETS_DIR/$i@2.png
fi
done
exit 0

View File

@@ -0,0 +1,671 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="sidebar-view.svg"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
id="svg1544"
version="1.1"
viewBox="0 0 201.08333 211.66667"
height="800"
width="760">
<defs
id="defs1538" />
<sodipodi:namedview
inkscape:window-maximized="1"
inkscape:window-y="28"
inkscape:window-x="0"
inkscape:window-height="1020"
inkscape:window-width="1920"
units="px"
inkscape:guide-bbox="true"
showguides="true"
showgrid="false"
inkscape:document-rotation="0"
inkscape:current-layer="layer1"
inkscape:document-units="px"
inkscape:cy="545.15991"
inkscape:cx="235.19645"
inkscape:zoom="0.98994949"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base">
<inkscape:grid
id="grid2147"
type="xygrid" />
</sodipodi:namedview>
<metadata
id="metadata1541">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:groupmode="layer"
inkscape:label="图层 1">
<rect
ry="0"
rx="0"
y="7.9375"
x="93.927086"
height="198.4375"
width="85.989571"
id="rect2149"
style="fill:#333333;stroke-width:0.61172;stroke-linecap:square" />
<g
style="display:inline"
transform="matrix(0.29398148,0,0,0.26458333,-202.25926,9.7895834)"
id="sidebar-view-hover-200px">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect5216"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.1;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect5214"
width="162"
height="28"
x="751"
y="8"
ry="5" />
</g>
<g
style="display:inline"
id="sidebar-view-active-200px"
transform="matrix(0.29398148,0,0,0.26458333,-202.25926,19.843753)">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect5224"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="751"
height="28"
width="162"
id="rect5226"
style="opacity:0.2;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
style="display:inline"
transform="matrix(0.29398148,0,0,0.26458333,-202.25926,30.427083)"
id="sidebar-view-checked-200px">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect5230"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.15;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect5232"
width="162"
height="28"
x="751"
y="8"
ry="5" />
</g>
<g
style="display:inline"
id="sidebar-view-hover-200px-dark"
transform="matrix(0.29398148,0,0,0.26458333,-120.23842,9.7895834)">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1524"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="751"
height="28"
width="162"
id="rect1526"
style="opacity:0.1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
style="display:inline"
transform="matrix(0.29398148,0,0,0.26458333,-120.23842,19.843746)"
id="sidebar-view-active-200px-dark">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect1530"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1532"
width="162"
height="28"
x="751"
y="8"
ry="5" />
</g>
<g
style="display:inline"
id="sidebar-view-checked-200px-dark"
transform="matrix(0.29398148,0,0,0.26458333,-120.23842,30.427086)">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1536"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="751"
height="28"
width="162"
id="rect1538"
style="opacity:0.15;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.57864;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
id="sidebar-view-hover-220px"
transform="matrix(0.32337963,0,0,0.26458333,-224.07269,48.683333)"
style="display:inline">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2151"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="750.18182"
height="28"
width="163.63634"
id="rect2153"
style="opacity:0.1;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
transform="matrix(0.32337963,0,0,0.26458333,-224.07269,58.737503)"
id="sidebar-view-active-220px"
style="display:inline">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2157"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.2;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2159"
width="163.63634"
height="28"
x="750.18182"
y="8"
ry="5" />
</g>
<g
id="sidebar-view-checked-220px"
transform="matrix(0.32337963,0,0,0.26458333,-224.07269,69.320833)"
style="display:inline">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2163"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="750.18182"
height="28"
width="163.63634"
id="rect2165"
style="opacity:0.15;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
style="display:inline"
transform="matrix(0.35277778,0,0,0.26458333,-245.88611,91.016667)"
id="sidebar-view-hover-240px">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2187"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.1;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2189"
width="165.00002"
height="28"
x="749.5"
y="8"
ry="5" />
</g>
<g
style="display:inline"
id="sidebar-view-active-240px"
transform="matrix(0.35277778,0,0,0.26458333,-245.88611,101.07084)">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2193"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="749.5"
height="28"
width="165.00002"
id="rect2195"
style="opacity:0.2;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
style="display:inline"
transform="matrix(0.35277778,0,0,0.26458333,-245.88611,111.65417)"
id="sidebar-view-checked-240px">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2199"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.15;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2201"
width="165.00002"
height="28"
x="749.5"
y="8"
ry="5" />
</g>
<g
id="sidebar-view-hover-260px"
transform="matrix(0.38217593,0,0,0.26458333,-267.69953,130.175)"
style="display:inline">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2223"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="748.92303"
height="28"
width="166.1539"
id="rect2225"
style="opacity:0.1;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
transform="matrix(0.38217593,0,0,0.26458333,-267.69953,140.22917)"
id="sidebar-view-active-260px"
style="display:inline">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2229"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.2;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2231"
width="166.1539"
height="28"
x="748.92303"
y="8"
ry="5" />
</g>
<g
id="sidebar-view-checked-260px"
transform="matrix(0.38217593,0,0,0.26458333,-267.69953,150.8125)"
style="display:inline">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2235"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="748.92303"
height="28"
width="166.1539"
id="rect2237"
style="opacity:0.15;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
style="display:inline"
transform="matrix(0.41157407,0,0,0.26458333,-289.51295,168.53958)"
id="sidebar-view-hover-280px">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2241"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.1;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2243"
width="167.1429"
height="28"
x="748.42853"
y="8"
ry="5" />
</g>
<g
style="display:inline"
id="sidebar-view-active-280px"
transform="matrix(0.41157407,0,0,0.26458333,-289.51295,178.59375)">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2247"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="748.42853"
height="28"
width="167.1429"
id="rect2249"
style="opacity:0.2;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
style="display:inline"
transform="matrix(0.41157407,0,0,0.26458333,-289.51295,189.17708)"
id="sidebar-view-checked-280px">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2253"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.15;fill:#00000c;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2255"
width="167.1429"
height="28"
x="748.42853"
y="8"
ry="5" />
</g>
<g
style="display:inline"
transform="matrix(0.32337963,0,0,0.26458333,-142.05185,48.683333)"
id="sidebar-view-hover-220px-dark">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2263"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2265"
width="163.63634"
height="28"
x="750.18182"
y="8"
ry="5" />
</g>
<g
style="display:inline"
id="sidebar-view-active-220px-dark"
transform="matrix(0.32337963,0,0,0.26458333,-142.05185,58.737503)">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2269"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="750.18182"
height="28"
width="163.63634"
id="rect2271"
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
style="display:inline"
transform="matrix(0.32337963,0,0,0.26458333,-142.05185,69.320833)"
id="sidebar-view-checked-220px-dark">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2275"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.15;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.59163;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2277"
width="163.63634"
height="28"
x="750.18182"
y="8"
ry="5" />
</g>
<g
id="sidebar-view-hover-240px-dark"
transform="matrix(0.35277778,0,0,0.26458333,-163.86527,91.016667)"
style="display:inline">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2281"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="749.5"
height="28"
width="165.00002"
id="rect2283"
style="opacity:0.1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
transform="matrix(0.35277778,0,0,0.26458333,-163.86527,101.07084)"
id="sidebar-view-active-240px-dark"
style="display:inline">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2287"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2289"
width="165.00002"
height="28"
x="749.5"
y="8"
ry="5" />
</g>
<g
id="sidebar-view-checked-240px-dark"
transform="matrix(0.35277778,0,0,0.26458333,-163.86527,111.65417)"
style="display:inline">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2293"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="749.5"
height="28"
width="165.00002"
id="rect2295"
style="opacity:0.15;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.60241;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
style="display:inline"
transform="matrix(0.38217593,0,0,0.26458333,-185.67869,130.175)"
id="sidebar-view-hover-260px-dark">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2299"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2301"
width="166.1539"
height="28"
x="748.92303"
y="8"
ry="5" />
</g>
<g
style="display:inline"
id="sidebar-view-active-260px-dark"
transform="matrix(0.38217593,0,0,0.26458333,-185.67869,140.22917)">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2305"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="748.92303"
height="28"
width="166.1539"
id="rect2307"
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
style="display:inline"
transform="matrix(0.38217593,0,0,0.26458333,-185.67869,150.8125)"
id="sidebar-view-checked-260px-dark">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2311"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.15;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61149;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2313"
width="166.1539"
height="28"
x="748.92303"
y="8"
ry="5" />
</g>
<g
id="sidebar-view-hover-280px-dark"
transform="matrix(0.41157407,0,0,0.26458333,-207.49211,168.53958)"
style="display:inline">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2317"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="748.42853"
height="28"
width="167.1429"
id="rect2319"
style="opacity:0.1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
transform="matrix(0.41157407,0,0,0.26458333,-207.49211,178.59375)"
id="sidebar-view-active-280px-dark"
style="display:inline">
<rect
y="8"
x="742"
height="28"
width="180"
id="rect2323"
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.2;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2325"
width="167.1429"
height="28"
x="748.42853"
y="8"
ry="5" />
</g>
<g
id="sidebar-view-checked-280px-dark"
transform="matrix(0.41157407,0,0,0.26458333,-207.49211,189.17708)"
style="display:inline">
<rect
style="opacity:0;fill:none;fill-opacity:1;stroke:none;stroke-width:2.71812;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect2329"
width="180"
height="28"
x="742"
y="8" />
<rect
ry="5"
y="8"
x="748.42853"
height="28"
width="167.1429"
id="rect2331"
style="opacity:0.15;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.61925;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -0,0 +1,30 @@
sidebar-view-hover-200px
sidebar-view-active-200px
sidebar-view-checked-200px
sidebar-view-hover-200px-dark
sidebar-view-active-200px-dark
sidebar-view-checked-200px-dark
sidebar-view-hover-220px
sidebar-view-active-220px
sidebar-view-checked-220px
sidebar-view-hover-220px-dark
sidebar-view-active-220px-dark
sidebar-view-checked-220px-dark
sidebar-view-hover-240px
sidebar-view-active-240px
sidebar-view-checked-240px
sidebar-view-hover-240px-dark
sidebar-view-active-240px-dark
sidebar-view-checked-240px-dark
sidebar-view-hover-260px
sidebar-view-active-260px
sidebar-view-checked-260px
sidebar-view-hover-260px-dark
sidebar-view-active-260px-dark
sidebar-view-checked-260px-dark
sidebar-view-hover-280px
sidebar-view-active-280px
sidebar-view-checked-280px
sidebar-view-hover-280px-dark
sidebar-view-active-280px-dark
sidebar-view-checked-280px-dark

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 527 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 466 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 466 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 B

View File

@@ -4845,7 +4845,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-color: transparent;
background-position: left center;
background-size: 200px 28px;
background-image: -gtk-scaled(url("assets/sidebar-view-hover-dark.png"), url("assets/sidebar-view-hover-dark@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-hover-200px-dark.png"), url("assets/sidebar-view-hover-200px-dark@2.png"));
}
@@ -4856,7 +4856,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-color: transparent;
background-position: left center;
background-size: 200px 28px;
background-image: -gtk-scaled(url("assets/sidebar-view-active-dark.png"), url("assets/sidebar-view-active-dark@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-active-200px-dark.png"), url("assets/sidebar-view-active-200px-dark@2.png"));
}
@@ -4869,7 +4869,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-position: left center;
background-size: 200px 28px;
background-color: transparent;
background-image: -gtk-scaled(url("assets/sidebar-view-checked-dark.png"), url("assets/sidebar-view-checked-dark@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-checked-200px-dark.png"), url("assets/sidebar-view-checked-200px-dark@2.png"));
}

View File

@@ -4845,7 +4845,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-color: transparent;
background-position: left center;
background-size: 200px 28px;
background-image: -gtk-scaled(url("assets/sidebar-view-hover-dark.png"), url("assets/sidebar-view-hover-dark@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-hover-200px-dark.png"), url("assets/sidebar-view-hover-200px-dark@2.png"));
}
@@ -4856,7 +4856,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-color: transparent;
background-position: left center;
background-size: 200px 28px;
background-image: -gtk-scaled(url("assets/sidebar-view-active-dark.png"), url("assets/sidebar-view-active-dark@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-active-200px-dark.png"), url("assets/sidebar-view-active-200px-dark@2.png"));
}
@@ -4869,7 +4869,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-position: left center;
background-size: 200px 28px;
background-color: transparent;
background-image: -gtk-scaled(url("assets/sidebar-view-checked-dark.png"), url("assets/sidebar-view-checked-dark@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-checked-200px-dark.png"), url("assets/sidebar-view-checked-200px-dark@2.png"));
}

View File

@@ -4866,7 +4866,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-color: transparent;
background-position: left center;
background-size: 200px 28px;
background-image: -gtk-scaled(url("assets/sidebar-view-hover.png"), url("assets/sidebar-view-hover@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-hover-200px.png"), url("assets/sidebar-view-hover-200px@2.png"));
}
@@ -4877,7 +4877,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-color: transparent;
background-position: left center;
background-size: 200px 28px;
background-image: -gtk-scaled(url("assets/sidebar-view-active.png"), url("assets/sidebar-view-active@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-active-200px.png"), url("assets/sidebar-view-active-200px@2.png"));
}
@@ -4890,7 +4890,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-position: left center;
background-size: 200px 28px;
background-color: transparent;
background-image: -gtk-scaled(url("assets/sidebar-view-checked.png"), url("assets/sidebar-view-checked@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-checked-200px.png"), url("assets/sidebar-view-checked-200px@2.png"));
}

View File

@@ -4866,7 +4866,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-color: transparent;
background-position: left center;
background-size: 200px 28px;
background-image: -gtk-scaled(url("assets/sidebar-view-hover.png"), url("assets/sidebar-view-hover@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-hover-200px.png"), url("assets/sidebar-view-hover-200px@2.png"));
}
@@ -4877,7 +4877,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-color: transparent;
background-position: left center;
background-size: 200px 28px;
background-image: -gtk-scaled(url("assets/sidebar-view-active.png"), url("assets/sidebar-view-active@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-active-200px.png"), url("assets/sidebar-view-active-200px@2.png"));
}
@@ -4890,7 +4890,7 @@ label:disabled .nautilus-window placessidebar.sidebar selection.sidebar-row imag
background-position: left center;
background-size: 200px 28px;
background-color: transparent;
background-image: -gtk-scaled(url("assets/sidebar-view-checked.png"), url("assets/sidebar-view-checked@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-checked-200px.png"), url("assets/sidebar-view-checked-200px@2.png"));
}

View File

@@ -65,6 +65,8 @@
<file>assets/switch-insensitive@2.png</file>
<file>assets/switch-active-insensitive.png</file>
<file>assets/switch-active-insensitive@2.png</file>
<file>assets/switch-insensitive-dark.png</file>
<file>assets/switch-insensitive-dark@2.png</file>
<file>assets/slider-horz-scale-has-marks-below.png</file>
<file>assets/slider-horz-scale-has-marks-below@2.png</file>
<file>assets/slider-horz-scale-has-marks-below-hover.png</file>
@@ -145,18 +147,66 @@
<file>assets/toggle-on-disabled@2.png</file>
<file>assets/toggle-off-disabled.png</file>
<file>assets/toggle-off-disabled@2.png</file>
<file>assets/sidebar-view-hover.png</file>
<file>assets/sidebar-view-hover@2.png</file>
<file>assets/sidebar-view-active.png</file>
<file>assets/sidebar-view-active@2.png</file>
<file>assets/sidebar-view-checked.png</file>
<file>assets/sidebar-view-checked@2.png</file>
<file>assets/sidebar-view-hover-dark.png</file>
<file>assets/sidebar-view-hover-dark@2.png</file>
<file>assets/sidebar-view-active-dark.png</file>
<file>assets/sidebar-view-active-dark@2.png</file>
<file>assets/sidebar-view-checked-dark.png</file>
<file>assets/sidebar-view-checked-dark@2.png</file>
<file>assets/sidebar-view-hover-200px.png</file>
<file>assets/sidebar-view-hover-200px@2.png</file>
<file>assets/sidebar-view-active-200px.png</file>
<file>assets/sidebar-view-active-200px@2.png</file>
<file>assets/sidebar-view-checked-200px.png</file>
<file>assets/sidebar-view-checked-200px@2.png</file>
<file>assets/sidebar-view-hover-200px-dark.png</file>
<file>assets/sidebar-view-hover-200px-dark@2.png</file>
<file>assets/sidebar-view-active-200px-dark.png</file>
<file>assets/sidebar-view-active-200px-dark@2.png</file>
<file>assets/sidebar-view-checked-200px-dark.png</file>
<file>assets/sidebar-view-checked-200px-dark@2.png</file>
<file>assets/sidebar-view-hover-220px.png</file>
<file>assets/sidebar-view-hover-220px@2.png</file>
<file>assets/sidebar-view-active-220px.png</file>
<file>assets/sidebar-view-active-220px@2.png</file>
<file>assets/sidebar-view-checked-220px.png</file>
<file>assets/sidebar-view-checked-220px@2.png</file>
<file>assets/sidebar-view-hover-220px-dark.png</file>
<file>assets/sidebar-view-hover-220px-dark@2.png</file>
<file>assets/sidebar-view-active-220px-dark.png</file>
<file>assets/sidebar-view-active-220px-dark@2.png</file>
<file>assets/sidebar-view-checked-220px-dark.png</file>
<file>assets/sidebar-view-checked-220px-dark@2.png</file>
<file>assets/sidebar-view-hover-240px.png</file>
<file>assets/sidebar-view-hover-240px@2.png</file>
<file>assets/sidebar-view-active-240px.png</file>
<file>assets/sidebar-view-active-240px@2.png</file>
<file>assets/sidebar-view-checked-240px.png</file>
<file>assets/sidebar-view-checked-240px@2.png</file>
<file>assets/sidebar-view-hover-240px-dark.png</file>
<file>assets/sidebar-view-hover-240px-dark@2.png</file>
<file>assets/sidebar-view-active-240px-dark.png</file>
<file>assets/sidebar-view-active-240px-dark@2.png</file>
<file>assets/sidebar-view-checked-240px-dark.png</file>
<file>assets/sidebar-view-checked-240px-dark@2.png</file>
<file>assets/sidebar-view-hover-260px.png</file>
<file>assets/sidebar-view-hover-260px@2.png</file>
<file>assets/sidebar-view-active-260px.png</file>
<file>assets/sidebar-view-active-260px@2.png</file>
<file>assets/sidebar-view-checked-260px.png</file>
<file>assets/sidebar-view-checked-260px@2.png</file>
<file>assets/sidebar-view-hover-260px-dark.png</file>
<file>assets/sidebar-view-hover-260px-dark@2.png</file>
<file>assets/sidebar-view-active-260px-dark.png</file>
<file>assets/sidebar-view-active-260px-dark@2.png</file>
<file>assets/sidebar-view-checked-260px-dark.png</file>
<file>assets/sidebar-view-checked-260px-dark@2.png</file>
<file>assets/sidebar-view-hover-280px.png</file>
<file>assets/sidebar-view-hover-280px@2.png</file>
<file>assets/sidebar-view-active-280px.png</file>
<file>assets/sidebar-view-active-280px@2.png</file>
<file>assets/sidebar-view-checked-280px.png</file>
<file>assets/sidebar-view-checked-280px@2.png</file>
<file>assets/sidebar-view-hover-280px-dark.png</file>
<file>assets/sidebar-view-hover-280px-dark@2.png</file>
<file>assets/sidebar-view-active-280px-dark.png</file>
<file>assets/sidebar-view-active-280px-dark@2.png</file>
<file>assets/sidebar-view-checked-280px-dark.png</file>
<file>assets/sidebar-view-checked-280px-dark@2.png</file>
<file>windows-assets/titlebutton-close.png</file>
<file>windows-assets/titlebutton-close@2.png</file>
<file>windows-assets/titlebutton-close-dark.png</file>

View File

@@ -1,6 +1,7 @@
#! /bin/bash
INDEX="../../assets/gtk-3.0/common-assets/assets.txt"
SINDEX="../../assets/gtk-3.0/common-assets/sidebar-assets.txt"
WINDEX="../../assets/gtk-3.0/windows-assets/assets.txt"
if [ -f gtk.gresource.xml ]; then
@@ -17,6 +18,12 @@ do
echo " <file>assets/$i@2.png</file>" >> gtk.gresource.xml
done
for i in `cat $SINDEX`
do
echo " <file>assets/$i.png</file>" >> gtk.gresource.xml
echo " <file>assets/$i@2.png</file>" >> gtk.gresource.xml
done
for i in `cat $WINDEX`
do
echo " <file>windows-assets/$i.png</file>" >> gtk.gresource.xml

View File

@@ -126,7 +126,8 @@ filechooser placessidebar.sidebar.frame { border-right: 1px solid if($variant=='
background-color: transparent;
background-position: left center;
background-size: $nautilus_sidebar_size 28px;
background-image: -gtk-scaled(url("assets/sidebar-view-hover#{$asset_suffix}.png"), url("assets/sidebar-view-hover#{$asset_suffix}@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-hover-#{$nautilus_sidebar_size}#{$asset_suffix}.png"),
url("assets/sidebar-view-hover-#{$nautilus_sidebar_size}#{$asset_suffix}@2.png"));
}
&:active, &:active:hover {
@@ -135,7 +136,8 @@ filechooser placessidebar.sidebar.frame { border-right: 1px solid if($variant=='
background-color: transparent;
background-position: left center;
background-size: $nautilus_sidebar_size 28px;
background-image: -gtk-scaled(url("assets/sidebar-view-active#{$asset_suffix}.png"), url("assets/sidebar-view-active#{$asset_suffix}@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-active-#{$nautilus_sidebar_size}#{$asset_suffix}.png"),
url("assets/sidebar-view-active-#{$nautilus_sidebar_size}#{$asset_suffix}@2.png"));
}
&:selected.has-open-popup,
@@ -146,7 +148,8 @@ filechooser placessidebar.sidebar.frame { border-right: 1px solid if($variant=='
background-position: left center;
background-size: $nautilus_sidebar_size 28px;
background-color: transparent;
background-image: -gtk-scaled(url("assets/sidebar-view-checked#{$asset_suffix}.png"), url("assets/sidebar-view-checked#{$asset_suffix}@2.png"));
background-image: -gtk-scaled(url("assets/sidebar-view-checked-#{$nautilus_sidebar_size}#{$asset_suffix}.png"),
url("assets/sidebar-view-checked-#{$nautilus_sidebar_size}#{$asset_suffix}@2.png"));
&, label { color: $fg_color; }
}