Implements directory browser dialog, part 1: file system treeview

This commit is contained in:
BinaryAlley committed 2024-09-15 13:07:53 +03:00
1 parent 4a53348013
commit 4e4ecbbfca
318 files changed
+6012 -1184

No files matched your search

@@ -0,0 +1,34 @@
<!-- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"> -->
<!-- <defs> -->
<!-- <radialGradient id="circleGradient" cx="25%" cy="25%" r="75%" fx="30%" fy="15%"> -->
<!-- <stop offset="0%" stop-color="#C1D0E5"/> -->
<!-- <stop offset="100%" stop-color="#006CBE"/> -->
<!-- </radialGradient> -->
<!-- </defs> -->
<!-- <circle cx="150" cy="150" r="150" fill="url(#circleGradient)" /> -->
<!-- <path d="M180 75 L100 150 L180 225" fill="none" stroke="#FFFFFF" stroke-width="30" stroke-linecap="round" stroke-linejoin="round"/> -->
<!-- </svg> -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
<defs>
<radialGradient id="baseGradient" cx="10%" cy="10%" r="100%" fx="20%" fy="5%">
<stop offset="0%" stop-color="#76AD7D" stop-opacity="0.1"/>
<stop offset="50%" stop-color="#006B0E" stop-opacity="1"/>
</radialGradient>
<radialGradient id="highlightGradient" cx="75%" cy="95%" r="100%" fx="80%" fy="80%">
<stop offset="0%" stop-color="#91EF86" stop-opacity="0.9"/>
<stop offset="64%" stop-color="#54AC5F" stop-opacity="0.1"/>
<stop offset="65%" stop-color="#FFFFFF" stop-opacity="0.3"/>
<stop offset="100%" stop-color="#54AC5F" stop-opacity="0.3"/>
</radialGradient>
<radialGradient id="refractionGradient" cx="75%" cy="75%" r="50%">
<stop offset="0%" stop-color="#FFFFFF" stop-opacity="0.3"/>
<stop offset="100%" stop-color="transparent" stop-opacity="0"/>
</radialGradient>
</defs>
<circle cx="150" cy="150" r="150" fill="url(#baseGradient)" />
<circle cx="150" cy="150" r="150" fill="url(#highlightGradient)" />
<circle cx="150" cy="150" r="150" fill="url(#refractionGradient)" />
<path d="M180 75 L100 150 L180 225" fill="none" stroke="#FFFFFF" stroke-width="30" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

@@ -0,0 +1,17 @@
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100">
<defs>
<linearGradient id="starGradient" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#ffd700;stop-opacity:1" />
<stop offset="100%" style="stop-color:#ffaa00;stop-opacity:1" />
</linearGradient>
<filter id="innerShadow" x="-20%" y="-20%" width="140%" height="140%">
<feGaussianBlur in="SourceAlpha" stdDeviation="3" result="blur"/>
<feOffset dx="2" dy="2"/>
<feComposite in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowDiff"/>
<feFlood flood-color="#000000" flood-opacity="0.75"/>
<feComposite in2="shadowDiff" operator="in"/>
<feComposite in2="SourceGraphic" operator="over"/>
</filter>
</defs>
<path d="M50,0 L63,38 H100 L69,61 L81,100 L50,76 L19,100 L31,61 L0,38 H37 Z" fill="url(#starGradient)" filter="url(#innerShadow)"/>
</svg>

After

Width:  |  Height:  |  Size: 942 B

@@ -0,0 +1,22 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
<defs>
<radialGradient id="baseGradient" cx="10%" cy="10%" r="100%" fx="20%" fy="5%">
<stop offset="0%" stop-color="#76AD7D" stop-opacity="0.1"/>
<stop offset="50%" stop-color="#006B0E" stop-opacity="1"/>
</radialGradient>
<radialGradient id="highlightGradient" cx="75%" cy="95%" r="100%" fx="80%" fy="80%">
<stop offset="0%" stop-color="#91EF86" stop-opacity="0.9"/>
<stop offset="64%" stop-color="#54AC5F" stop-opacity="0.1"/>
<stop offset="65%" stop-color="#FFFFFF" stop-opacity="0.3"/>
<stop offset="100%" stop-color="#54AC5F" stop-opacity="0.3"/>
</radialGradient>
<radialGradient id="refractionGradient" cx="75%" cy="75%" r="50%">
<stop offset="0%" stop-color="#FFFFFF" stop-opacity="0.3"/>
<stop offset="100%" stop-color="transparent" stop-opacity="0"/>
</radialGradient>
</defs>
<circle cx="150" cy="150" r="150" fill="url(#baseGradient)" />
<circle cx="150" cy="150" r="150" fill="url(#highlightGradient)" />
<circle cx="150" cy="150" r="150" fill="url(#refractionGradient)" />
<path d="M120 75 L200 150 L120 225" fill="none" stroke="#FFFFFF" stroke-width="30" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@@ -0,0 +1,22 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
<defs>
<radialGradient id="baseGradient" cx="10%" cy="10%" r="100%" fx="20%" fy="5%">
<stop offset="0%" stop-color="#76AD7D" stop-opacity="0.1"/>
<stop offset="50%" stop-color="#006B0E" stop-opacity="1"/>
</radialGradient>
<radialGradient id="highlightGradient" cx="75%" cy="95%" r="100%" fx="80%" fy="80%">
<stop offset="0%" stop-color="#91EF86" stop-opacity="0.9"/>
<stop offset="64%" stop-color="#54AC5F" stop-opacity="0.1"/>
<stop offset="65%" stop-color="#FFFFFF" stop-opacity="0.3"/>
<stop offset="100%" stop-color="#54AC5F" stop-opacity="0.3"/>
</radialGradient>
<radialGradient id="refractionGradient" cx="75%" cy="75%" r="50%">
<stop offset="0%" stop-color="#FFFFFF" stop-opacity="0.3"/>
<stop offset="100%" stop-color="transparent" stop-opacity="0"/>
</radialGradient>
</defs>
<circle cx="150" cy="150" r="150" fill="url(#baseGradient)" />
<circle cx="150" cy="150" r="150" fill="url(#highlightGradient)" />
<circle cx="150" cy="150" r="150" fill="url(#refractionGradient)" />
<path d="M75 180 L150 100 L225 180" fill="none" stroke="#FFFFFF" stroke-width="30" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB