Commit 6e660cfd authored by Noah Davis's avatar Noah Davis 🌵
Browse files

Fix background corners and PC3 ToolTip style

The sides and corners didn't have correct sizes relative to each other
and PC3 ToolTip didn't use a style like normal tooltips.

BUG: 442745
parent fc5a62ce
Pipeline #110716 failed with stage
in 7 minutes and 56 seconds
......@@ -55,7 +55,7 @@ T.ToolTip {
anchors.rightMargin: -margins.right
anchors.topMargin: -margins.top
anchors.bottomMargin: -margins.bottom
imagePath: "widgets/tooltip"
imagePath: "solid/widgets/tooltip"
prefix: "shadow"
colorGroup: PlasmaCore.Theme.ToolTipColorGroup
PlasmaCore.ColorScope.inherit: false
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg id="svg2" height="64" viewBox="0 0 157 64" width="157" inkscape:version="1.2-dev (942b66973d, 2021-09-28, custom)" sodipodi:docname="background.svg" version="1.1" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview id="namedview108" pagecolor="#ffffff" bordercolor="#111111" borderopacity="1" inkscape:pageshadow="0" inkscape:pageopacity="0" inkscape:pagecheckerboard="1" inkscape:blackoutopacity="0.0" showgrid="true" inkscape:current-layer="svg2">
<inkscape:grid type="xygrid" id="grid988" originx="0" originy="4" />
</sodipodi:namedview>
<defs id="defs15">
<style type="text/css" id="current-color-scheme">
.ColorScheme-Text {
color:#232629;
stop-color:#232629;
}
.ColorScheme-Background {
color:#eff0f1;
stop-color:#eff0f1;
}
</style>
<linearGradient id="shadow-side" gradientUnits="userSpaceOnUse">
<stop id="stop1762" offset="0" style="stop-color:#000;stop-opacity:.2" />
<stop id="stop1760" offset=".3333333333" style="stop-color:#000;stop-opacity:.1" />
<stop id="stop1758" offset=".5" style="stop-color:#000;stop-opacity:.05" />
<stop id="stop1756" offset=".5833333333" style="stop-color:#000;stop-opacity:.025" />
<stop id="stop1754" offset="1" style="stop-color:#000;stop-opacity:0" />
</linearGradient>
<linearGradient id="shadow-corner" gradientUnits="userSpaceOnUse">
<stop id="stop11958" offset="0" style="stop-color:#000;stop-opacity:1" />
<stop id="stop11960" offset=".2857142857" style="stop-color:#000;stop-opacity:.2" />
<stop id="stop11962" offset=".5238095238" style="stop-color:#000;stop-opacity:.1" />
<stop id="stop11966" offset=".6428571429" style="stop-color:#000;stop-opacity:.05" />
<stop id="stop11968" offset=".7023809524" style="stop-color:#000;stop-opacity:.025" />
<stop id="stop11970" offset="1" style="stop-color:#000;stop-opacity:0" />
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#shadow-side" id="linearGradient1734" gradientUnits="userSpaceOnUse" x1="16" y1="6" x2="16" y2="16" />
<linearGradient inkscape:collect="always" xlink:href="#shadow-side" id="linearGradient1984" gradientUnits="userSpaceOnUse" x1="12" y1="16" x2="2" y2="16" />
<linearGradient inkscape:collect="always" xlink:href="#shadow-side" id="linearGradient4945" gradientUnits="userSpaceOnUse" x1="15.9999990463" y1="13.9999980927" x2="15.9999990463" y2="4" />
<linearGradient inkscape:collect="always" xlink:href="#shadow-side" id="linearGradient8667" gradientUnits="userSpaceOnUse" x1="4" y1="16" x2="14" y2="16" />
<radialGradient inkscape:collect="always" xlink:href="#shadow-corner" id="radialGradient3268" cx="95" cy="50" fx="95" fy="50" r="6.5" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0,2.15384615385,-2.15384615385,0,107.692307692,-202.615384615)" />
<radialGradient inkscape:collect="always" xlink:href="#shadow-corner" id="radialGradient3268-4" cx="95" cy="50" fx="95" fy="50" r="6.5" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0,2.15384615385,-2.15384615385,0,107.692307692,-202.615384615)" />
<radialGradient inkscape:collect="always" xlink:href="#shadow-corner" id="radialGradient3268-6" cx="93.1428604126" cy="50" fx="93.1428604126" fy="50" r="6.5" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0,2.15384615385,-2.15384615385,0,107.692307692,-202.615384615)" />
<radialGradient inkscape:collect="always" xlink:href="#shadow-corner" id="radialGradient3268-6-6" cx="93.1428604126" cy="50" fx="93.1428604126" fy="50" r="6.5" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0,2.15384615385,-2.15384615385,0,107.692307692,-202.615384615)" />
</defs>
<rect id="hint-tile-center" height="5" style="fill:#ff6600" width="5" x="0" y="0" />
<g id="top" transform="translate(6,10)">
<rect id="rect4152" height="6" style="opacity:0.9;fill:currentColor" class="ColorScheme-Background" width="32" x="0" y="0" />
</g>
<g id="bottom" transform="translate(6,48)">
<rect id="rect4148" height="6" style="opacity:0.9;fill:currentColor" class="ColorScheme-Background" width="32" x="0" y="0" />
</g>
<g id="left" transform="translate(0,16)">
<rect id="rect4144" height="32" style="opacity:0.9;fill:currentColor" class="ColorScheme-Background" width="6" x="0" y="0" />
</g>
<g id="right" transform="translate(38,16)">
<rect id="rect4140" height="32" style="opacity:0.9;fill:currentColor" class="ColorScheme-Background" width="6" x="0" y="0" />
</g>
<g id="center" transform="translate(6,16)">
<rect id="rect4138" height="32" style="opacity:0.9;fill:currentColor" class="ColorScheme-Background" width="32" x="0" y="0" />
</g>
<g id="topleft" transform="translate(0,10)">
<path d="M 3,0 C 1.3431457511,0 0,1.34314575115 0,3 V 6 H 6 V 0 Z" style="opacity:0.9;fill:currentColor" class="ColorScheme-Background" id="path3115" />
</g>
<g id="topright" transform="translate(38,10)">
<path d="M 0,0 V 6 H 6 V 3 C 6,1.3431457512 4.6568542489,0 3,0 Z" style="opacity:0.9;fill:currentColor" class="ColorScheme-Background" id="path3118" sodipodi:nodetypes="cccccc" />
</g>
<g id="bottomleft" transform="translate(0,48)">
<path d="M 3,6 H 6 V 0 H 0 v 3 c 0,1.6568542489 1.3431457511,3 3,3 z" style="opacity:0.9;fill:currentColor" class="ColorScheme-Background" id="path3124" />
</g>
<g id="bottomright" transform="translate(38,48)">
<path d="M 3,6 H 0 V 0 H 6 V 3 C 6,4.65685424885 4.6568542489,6 3,6 Z" style="opacity:0.9;fill:currentColor" class="ColorScheme-Background" id="path3121" />
</g>
<rect id="hint-top-margin" height="6" style="fill:#ff00ff" width="4" x="20" y="10" />
<rect id="hint-bottom-margin" height="6" style="fill:#ff00ff" width="4" x="20" y="48" />
<rect id="hint-right-margin" height="4" style="fill:#ff00ff" width="6" x="38" y="30" />
<rect id="hint-left-margin" height="4" style="fill:#ff00ff" width="6" x="0" y="30" />
<rect id="hint-top-inset" height="9.99999993923e-09" style="fill:#00ff00" width="4" x="20" y="10" />
<rect id="hint-bottom-inset" height="9.99999993923e-09" style="fill:#00ff00" width="4" x="20" y="54" />
<rect id="hint-left-inset" height="4" style="fill:#00ff00" width="9.99999993923e-09" x="0" y="30" />
<rect id="hint-right-inset" height="4" style="fill:#00ff00" width="9.99999993923e-09" x="44" y="30" />
<rect id="mask-top" height="6.00002098083" width="31.9999904633" x="119" y="10" />
<rect id="mask-center" height="32" width="32" x="119" y="16" />
<rect id="mask-bottom" height="6.00002145767" transform="scale(1,-1)" width="32.0000076294" x="119" y="-54" />
<rect id="mask-left" height="32" width="6" x="113" y="16" />
<rect id="mask-right" height="32" width="6" x="151" y="16" />
<path id="mask-topleft" d="m 116,10 c -1.656854249,0 -3,1.3431457511 -3,3 v 3 h 6 v -6 z" />
<path id="mask-topright" d="m 151,10 v 6 h 6 v -3 c 0,-1.6568542488 -1.343145751,-3 -3,-3 z" />
<path id="mask-bottomleft" d="m 116,54 h 3 v -6 h -6 v 3 c 0,1.6568542489 1.343145751,3 3,3 z" />
<path id="mask-bottomright" d="m 154,54 h -3 v -6 h 6 v 3 c 0,1.6568542489 -1.343145751,3 -3,3 z" />
<rect id="rect30894" height="44" rx="3" style="fill:#ffff00;fill-rule:evenodd" width="44" x="57" y="10" ry="3" />
<g id="shadow-center" transform="translate(63,16)">
<rect id="rect4908" height="32" style="opacity:0.00100002;fill-opacity:0.0039215689;fill:#000000" width="32" x="0" y="0" />
</g>
<g id="shadow-top" transform="translate(63)">
<rect id="st" height="10" width="32" style="fill:url(#linearGradient4945);fill-opacity:1" x="0" y="0" />
<rect id="rect1546" height="6" style="opacity:0.00100002;fill:#000000;fill-opacity:0.0039215689;fill-rule:evenodd" width="32" y="10" x="0" />
</g>
<g id="shadow-bottom" transform="translate(63,48)">
<rect id="rect1546-6" height="6" style="opacity:0.00100002;fill:#000000;fill-opacity:0.0039215689;fill-rule:evenodd" width="32" x="0" y="0" />
<rect id="sb" height="10" width="32" y="6" style="fill:url(#linearGradient1734);fill-opacity:1" x="0" />
</g>
<g id="shadow-left" transform="translate(47,16)">
<rect id="sl" height="32" width="10" style="fill:url(#linearGradient1984);fill-opacity:1" x="0" y="0" />
<rect id="rect1546-3-7" height="32" style="opacity:0.00100002;fill:#000000;fill-opacity:0.0039215689;fill-rule:evenodd" width="6" x="10" y="0" />
</g>
<g id="shadow-right" transform="translate(95,16)">
<rect id="rect1546-3" height="32" style="opacity:0.00100002;fill:#000000;fill-opacity:0.0039215689;fill-rule:evenodd" width="6" x="0" y="0" />
<rect id="sr" height="32" width="10" x="6" style="fill:url(#linearGradient8667);fill-opacity:1" y="0" />
</g>
<rect id="shadow-hint-top-margin" height="10" style="fill:#ff00ff" width="2" x="76" y="0" />
<rect id="shadow-hint-bottom-margin" height="10" style="fill:#ff00ff" width="2" x="76" y="54" />
<rect id="shadow-hint-right-margin" height="2" style="fill:#ff00ff" width="10" x="101" y="33" />
<rect id="shadow-hint-left-margin" height="2" style="fill:#ff00ff" width="10" x="47" y="29" />
<rect id="shadow-hint-top-inset" height="10" style="fill:#00ff00" width="2" x="80" y="0" />
<rect id="shadow-hint-bottom-inset" height="10" style="fill:#00ff00" width="2" x="80" y="54" />
<rect id="shadow-hint-right-inset" height="2" style="fill:#00ff00" width="10" x="101" y="29" />
<rect id="shadow-hint-left-inset" height="2" style="fill:#00ff00" width="10" x="47" y="33" />
<g id="shadow-bottomright" transform="translate(95,48)">
<path d="M 3,6 H 0 V 0 H 6 V 3 C 6,4.6568542489 4.6568542489,6 3,6 Z" inkscape:label="#shadow-bottomright" style="fill:#000000;fill-opacity:0.0039215689;opacity:0.001" id="path95" />
<path id="path2368" style="fill:url(#radialGradient3268);fill-opacity:1;fill-rule:evenodd;stroke-width:0.999997" d="M 6,0 V 3 C 6,4.6568542489 4.6568542489,6 3,6 H 0 V 16 H 3 A 13,13 0 0 0 16,3 V 0 Z" />
</g>
<g id="shadow-bottomright-9" transform="translate(95,48)" />
<g id="shadow-bottomleft" transform="matrix(-1,0,0,1,63,48)">
<path d="M 3,6 H 0 V 0 H 6 V 3 C 6,4.6568542489 4.6568542489,6 3,6 Z" inkscape:label="#shadow-bottomright" style="opacity:0.00100002;fill:#000000;fill-opacity:0.0039215689" id="path95-1" />
<path id="path2368-0" style="fill:url(#radialGradient3268-4);fill-opacity:1;fill-rule:evenodd;stroke-width:0.999997" d="M 6,0 V 3 C 6,4.6568542489 4.6568542489,6 3,6 H 0 V 16 H 3 C 10.179701745,16 16,10.179701745 16,3 V 0 Z" sodipodi:nodetypes="cssccsscc" />
</g>
<g id="shadow-topright" transform="matrix(1,0,0,-1,95,16)">
<path d="M 3,6 H 0 V 0 H 6 V 3 C 6,4.6568542489 4.6568542489,6 3,6 Z" inkscape:label="#shadow-bottomright" style="opacity:0.00100002;fill:#000000;fill-opacity:0.0039215689" id="path95-4" sodipodi:nodetypes="scccss" />
<path id="path2368-7" style="fill:url(#radialGradient3268-6);fill-opacity:1;fill-rule:evenodd;stroke-width:0.999997" d="M 6,0 V 3 C 6,4.6568542489 4.6568542489,6 3,6 H 0 V 16 H 3 C 10.179701745,16 16,10.179701745 16,3 V 0 Z" sodipodi:nodetypes="cssccsscc" />
</g>
<g id="shadow-topleft" transform="rotate(180,31.5,8)">
<path d="M 3,6 H 0 V 0 H 6 V 3 C 6,4.6568542489 4.6568542489,6 3,6 Z" inkscape:label="#shadow-bottomright" style="opacity:0.00100002;fill:#000000;fill-opacity:0.0039215689" id="path95-4-2" />
<path id="path2368-7-5" style="fill:url(#radialGradient3268-6-6);fill-opacity:1;fill-rule:evenodd;stroke-width:0.999997" d="M 6,0 V 3 C 6,4.6568542489 4.6568542489,6 3,6 H 0 V 16 H 3 A 13,13 0 0 0 16,3 V 0 Z" />
</g>
<rect style="fill:#0000ff;fill-rule:evenodd" id="private-hint-use-shadow" width="5" height="5" x="-14" y="0" />
</svg>
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment