SymphonyElectron/spec/__snapshots__/windowsTitleBar.spec.ts.snap

309 lines
6.6 KiB
Plaintext
Raw Normal View History

2019-03-20 00:16:01 -05:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`windows title bar should render correctly 1`] = `
<div
id="title-bar"
2019-03-20 00:16:01 -05:00
onDoubleClick={[Function]}
style={
Object {
"display": "flex",
}
}
>
<div
className="title-bar-button-container"
>
<button
className="hamburger-menu-button"
onClick={[Function]}
onMouseDown={[Function]}
title="Menu"
>
<svg
viewBox="0 0 15 10"
x="0px"
y="0px"
>
<rect
fill="rgba(255, 255, 255, 0.9)"
height="1"
width="15"
/>
<rect
fill="rgba(255, 255, 255, 0.9)"
height="1"
width="15"
y="4"
/>
<rect
fill="rgba(255, 255, 255, 0.9)"
height="1"
width="152"
y="8"
/>
</svg>
</button>
</div>
<div
className="title-container"
>
<svg
viewBox="0 0 19.7 32"
width={20}
>
<title>
Symphony_logo
</title>
<linearGradient
gradientTransform="matrix(7.6157 0 0 -3.458 -295.325 101.04)"
gradientUnits="userSpaceOnUse"
id="prefix__a"
x1={39.819}
x2={39.246}
y1={23.981}
y2={23.726}
>
<stop
offset={0}
stopColor="#197a68"
/>
<stop
offset={1}
stopColor="#329d87"
/>
</linearGradient>
<path
d="M2.4 17.4c0 1.2.3 2.4.8 3.5l6.8-3.5H2.4z"
fill="url(#prefix__a)"
/>
<linearGradient
gradientTransform="matrix(2.7978 0 0 -4.7596 -73.704 128.374)"
gradientUnits="userSpaceOnUse"
id="prefix__b"
x1={28.916}
x2={29.916}
y1={22.811}
y2={22.811}
>
<stop
offset={0}
stopColor="#1d7e7b"
/>
<stop
offset={1}
stopColor="#35b0b7"
/>
</linearGradient>
<path
d="M7.2 21.3c.8.6 1.8.9 2.8.9v-4.8l-2.8 3.9z"
fill="url(#prefix__b)"
/>
<linearGradient
gradientTransform="matrix(6.1591 0 0 -11.4226 -223.952 256.877)"
gradientUnits="userSpaceOnUse"
id="prefix__c"
x1={37.958}
x2={38.178}
y1={21.136}
y2={21.868}
>
<stop
offset={0}
stopColor="#175952"
/>
<stop
offset={1}
stopColor="#3a8f88"
/>
</linearGradient>
<path
d="M14.4 6.9C13 6.3 11.5 6 10 6c-.6 0-1.2 0-1.8.1L10 17.4l4.4-10.5z"
fill="url(#prefix__c)"
/>
<linearGradient
gradientTransform="matrix(9.5186 0 0 -5.5951 -373.339 140.324)"
gradientUnits="userSpaceOnUse"
id="prefix__d"
x1={40.569}
x2={41.029}
y1={22.098}
y2={22.377}
>
<stop
offset={0}
stopColor="#39a8ba"
/>
<stop
offset={1}
stopColor="#3992b4"
/>
</linearGradient>
<path
d="M10 17.4h9.5c0-2-.6-4-1.8-5.6L10 17.4z"
fill="url(#prefix__d)"
/>
<linearGradient
gradientTransform="matrix(9.9955 0 0 -5.2227 -404.796 132.876)"
gradientUnits="userSpaceOnUse"
id="prefix__e"
x1={41.214}
x2={40.706}
y1={22.325}
y2={22.548}
>
<stop
offset={0}
stopColor="#021c3c"
/>
<stop
offset={1}
stopColor="#215180"
/>
</linearGradient>
<path
d="M1.5 12.2C.5 13.8 0 15.6 0 17.4h10l-8.5-5.2z"
fill="url(#prefix__e)"
/>
<linearGradient
gradientTransform="matrix(3.9169 0 0 -6.6631 -125.178 161.684)"
gradientUnits="userSpaceOnUse"
id="prefix__f"
x1={33.511}
x2={34.511}
y1={22.151}
y2={22.151}
>
<stop
offset={0}
stopColor="#23796c"
/>
<stop
offset={1}
stopColor="#41beaf"
/>
</linearGradient>
<path
d="M10 10.8c-1.4 0-2.8.4-3.9 1.3l3.9 5.4v-6.7z"
fill="url(#prefix__f)"
/>
<linearGradient
gradientTransform="matrix(5.0353 0 0 -8.5671 -171.59 208.333)"
gradientUnits="userSpaceOnUse"
id="prefix__g"
x1={36.129}
x2={36.487}
y1={21.958}
y2={21.481}
>
<stop
offset={0}
stopColor="#14466a"
/>
<stop
offset={1}
stopColor="#286395"
/>
</linearGradient>
<path
d="M10 26c1.8 0 3.6-.6 5-1.6l-5-6.9V26z"
fill="url(#prefix__g)"
/>
<linearGradient
gradientTransform="matrix(6.663 0 0 -3.5931 -244.84 102.835)"
gradientUnits="userSpaceOnUse"
id="prefix__h"
x1={38.534}
x2={39.087}
y1={23.656}
y2={23.578}
>
<stop
offset={0}
stopColor="#261d49"
/>
<stop
offset={1}
stopColor="#483a6d"
/>
</linearGradient>
<path
d="M16.6 16.4l-6.6 1 6.2 2.6c.3-.8.5-1.7.5-2.6 0-.3-.1-.7-.1-1z"
fill="url(#prefix__h)"
/>
</svg>
2019-03-20 00:16:01 -05:00
<p
id="title-bar-title"
2019-03-20 00:16:01 -05:00
>
Symphony
</p>
</div>
<div
className="title-bar-button-container"
>
<button
className="title-bar-button"
onClick={[Function]}
onMouseDown={[Function]}
title="Minimize"
>
<svg
viewBox="0 0 14 1"
x="0px"
y="0px"
>
<rect
fill="rgba(255, 255, 255, 0.9)"
height="0.6"
width="14"
/>
</svg>
</button>
</div>
<div
className="title-bar-button-container"
>
<button
className="title-bar-button"
onClick={[Function]}
onMouseDown={[Function]}
title="Maximize"
2019-03-20 00:16:01 -05:00
>
<svg
viewBox="0 0 14 10.2"
x="0px"
y="0px"
>
<path
d="M0,0v10.1h10.2V0H0z M9.2,9.2H1.1V1h8.1V9.2z"
fill="rgba(255, 255, 255, 0.9)"
/>
</svg>
</button>
</div>
<div
className="title-bar-button-container"
>
<button
className="title-bar-button"
onClick={[Function]}
onMouseDown={[Function]}
title="Close"
>
<svg
viewBox="0 0 14 10.2"
x="0px"
y="0px"
>
<polygon
fill="rgba(255, 255, 255, 0.9)"
points="10.2,0.7 9.5,0 5.1,4.4 0.7,0 0,0.7 4.4,5.1 0,9.5 0.7,10.2 5.1,5.8 9.5,10.2 10.2,9.5 5.8,5.1 "
/>
</svg>
</button>
</div>
<div
className="branding-logo"
/>
</div>
`;