Remove the border line

This commit is contained in:
rekols 2021-06-02 14:16:52 +08:00
parent d3b3ed5beb
commit 3f40b9ca00
2 changed files with 7 additions and 18 deletions

11
images/rocket.svg Normal file → Executable file
View file

@ -12,7 +12,7 @@
height="64" height="64"
version="1.1" version="1.1"
id="svg16" id="svg16"
sodipodi:docname="rocket.svg" sodipodi:docname="preferences-system.svg"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)"> inkscape:version="1.0.2 (e86c870879, 2021-01-15)">
<metadata <metadata
id="metadata20"> id="metadata20">
@ -22,7 +22,6 @@
<dc:format>image/svg+xml</dc:format> <dc:format>image/svg+xml</dc:format>
<dc:type <dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work> </cc:Work>
</rdf:RDF> </rdf:RDF>
</metadata> </metadata>
@ -36,12 +35,12 @@
inkscape:pageopacity="0" inkscape:pageopacity="0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:window-width="2160" inkscape:window-width="2160"
inkscape:window-height="1247" inkscape:window-height="1258"
id="namedview18" id="namedview18"
showgrid="false" showgrid="false"
inkscape:zoom="11.484375" inkscape:zoom="11.484375"
inkscape:cx="-2.1768707" inkscape:cx="-17.986234"
inkscape:cy="32" inkscape:cy="24.26974"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="35" inkscape:window-y="35"
inkscape:window-maximized="1" inkscape:window-maximized="1"
@ -102,6 +101,6 @@
<path <path
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
style="opacity:0.5;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264071;image-rendering:optimizeSpeed" style="opacity:0.5;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264071;image-rendering:optimizeSpeed"
d="M 47.999954,15.9999 C 36.79558,15.9999 28.955289,26.510348 28.955289,26.510348 20.860209,27.600699 16,33.270533 16,33.270533 c 2.25171,-0.05274 4.492173,-0.493218 8.030336,-0.493218 3.538201,0 0.582265,3.33068 0.582265,3.33068 1.072216,2.180819 4.148611,4.638413 4.148611,4.638413 1.447265,-1.581049 3.105378,-1.03611 3.105378,-1.03611 v 8.289803 c 5.682593,-4.96123 5.846795,-12.336175 5.846795,-12.336175 10.400213,-6.923905 10.286563,-19.663852 10.286563,-19.663852 z m -9.170568,6.538174 c 1.806072,0 3.27515,1.494124 3.27515,3.330799 0,1.836737 -1.469078,3.330742 -3.27515,3.330742 -1.806107,0 -3.275145,-1.494005 -3.275145,-3.330742 0,-1.836676 1.469038,-3.330799 3.275145,-3.330799 z M 23.059913,38.35313 c 0,0 -3.469262,3.376021 -3.469343,6.538177 3.162992,0 4.547769,-0.445184 6.477685,-3.552864 0,0 -1.111645,0.937464 -3.202417,0.937464 0,0 -0.55651,-1.251436 0.193911,-3.922777 z" d="M 47.999954,15.9999 C 36.79558,15.9999 28.955289,26.510347 28.955289,26.510347 20.860209,27.600698 16,33.270532 16,33.270532 c 2.25171,-0.05274 4.492173,-0.493218 8.030336,-0.493218 3.538201,0 0.582265,3.33068 0.582265,3.33068 1.072216,2.180819 4.148611,4.638413 4.148611,4.638413 1.447265,-1.581049 3.105378,-1.03611 3.105378,-1.03611 V 48.0001 C 37.549183,43.03887 37.713385,35.663925 37.713385,35.663925 48.113598,28.74002 47.999948,16.000074 47.999948,16.000074 Z m -9.170568,6.538173 c 1.806072,0 3.27515,1.494124 3.27515,3.330799 0,1.836737 -1.469078,3.330742 -3.27515,3.330742 -1.806107,0 -3.275145,-1.494005 -3.275145,-3.330742 0,-1.836676 1.469038,-3.330799 3.275145,-3.330799 z M 23.059913,38.353129 c 0,0 -3.469262,3.376021 -3.469343,6.538177 3.162992,0 4.547769,-0.445184 6.477685,-3.552864 0,0 -1.111645,0.937464 -3.202417,0.937464 0,0 -0.55651,-1.251436 0.193911,-3.922777 z"
id="path9721" /> id="path9721" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View file

@ -43,8 +43,8 @@ Item {
anchors.fill: parent anchors.fill: parent
border.width: 0 border.width: 0
radius: windowRadius radius: windowRadius
color: FishUI.Theme.backgroundColor color: FishUI.Theme.darkMode ? "#5E5E5E" : "#FFFFFF"
opacity: FishUI.Theme.darkMode ? 0.3 : 0.4 opacity: FishUI.Theme.darkMode ? 0.5 : 0.4
Behavior on color { Behavior on color {
ColorAnimation { ColorAnimation {
@ -54,16 +54,6 @@ Item {
} }
} }
Rectangle {
anchors.fill: parent
color: "transparent"
radius: windowRadius
border.width: 1
border.color: FishUI.Theme.darkMode ? Qt.rgba(255, 255, 255, 0.3) : Qt.rgba(0, 0, 0, 0.1)
antialiasing: true
smooth: true
}
FishUI.WindowShadow { FishUI.WindowShadow {
view: mainWindow view: mainWindow
geometry: Qt.rect(root.x, root.y, root.width, root.height) geometry: Qt.rect(root.x, root.y, root.width, root.height)