gecko-dev/browser/themes/shared/tab-selected.svg

55 lines
1.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
x="0px"
y="0px"
width="30px"
height="31px"
preserveAspectRatio="none"
xml:space="preserve">
<defs>
<style><![CDATA[
%filter substitution
%ifdef XP_MACOSX
%include ../osx/shared.inc
%elif defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_QT)
%include ../linux/linuxShared.inc
%else
%include ../windows/windowsShared.inc
%endif
#tab-background-fill {
background-color: @fgTabBackgroundColor@;
background-image: @fgTabTexture@;
background-repeat: no-repeat;
height: 100%;
width: 100%;
}
%ifdef WINDOWS_AERO
@media (-moz-windows-default-theme) {
#tab-background-fill {
background-color: @customToolbarColor@;
}
}
%endif
]]></style>
%include ../../base/content/tab-shape.inc.svg
</defs>
<foreignObject class="node" x="0" y="0" width="30" height="31" clip-path="url(#tab-curve-clip-path-@TAB_SIDE@)">
<body xmlns="http://www.w3.org/1999/xhtml" style="all:unset">
<div id="tab-background-fill"></div>
</body>
</foreignObject>
</svg>