summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/tab-selected.svg
blob: ca66d81166def22ca290a3e725e21c1db8ba8820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!-- 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 xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" width="30px" height="31px" preserveAspectRatio="none">
  <defs>
    <style>
%filter substitution
%ifdef XP_MACOSX
%include ../osx/shared.inc
%elif defined(MOZ_WIDGET_GTK)
%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 XP_WIN
      @media (-moz-windows-default-theme) and (-moz-os-version: windows-vista),
             (-moz-windows-default-theme) and (-moz-os-version: windows-win7) {
        #tab-background-fill {
          background-color: @customToolbarColor@;
        }
      }
%endif
    </style>
%include ../../base/content/tab-shape.inc.svg
  </defs>
  <foreignObject width="30" height="31" clip-path="url(#tab-curve-clip-path-@TAB_SIDE@)">
    <div id="tab-background-fill" xmlns="http://www.w3.org/1999/xhtml"></div>
  </foreignObject>
</svg>