Commit | Line | Data |
---|---|---|
d23bf94a RK |
1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- This Source Code Form is subject to the terms of the Mozilla Public | |
3 | - License, v. 2.0. If a copy of the MPL was not distributed with this | |
4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | |
5 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" | |
6 | width="16" height="16" viewBox="0 0 16 16"> | |
d23bf94a RK |
7 | <style> |
8 | g:not(:target) { | |
9 | display: none; | |
10 | } | |
11 | </style> | |
12 | ||
13 | <defs> | |
14 | <path id="shape-shield-outer" d="M8,1L2.8,1.9C2.4,1.9,2,2.4,2,2.8C2,4,2,6.1,2.1,7.1c0.3,2.7,0.8,4,1.9,5.6C5.6,14.7,8,15,8,15s2.4-0.3,4-2.4 c1.2-1.5,1.7-2.9,1.9-5.6C14,6.1,14,4,14,2.8c0-0.5-0.4-0.9-0.8-1L8,1L8,1z"/> | |
15 | <path id="shape-shield-inner" d="M8,2l5,0.8c0,2,0,3.5-0.1,4.1c-0.3,2.7-0.8,3.8-1.7,5.1c-1.1,1.5-2.7,1.9-3.2,2c-0.4-0.1-2.1-0.5-3.2-2 c-1-1.3-1.5-2.4-1.7-5.1C3,6.3,3,4.8,3,2.8L8,2"/> | |
16 | <path id="shape-shield-detail" d="M8,13c-0.5-0.1-1.6-0.5-2.4-1.5c-0.9-1.2-1.3-2.1-1.5-4.6C4,6.3,4,5.2,4,3.7L8,3 V13z"/> | |
17 | ||
18 | <mask id="mask-shield-cutout"> | |
19 | <rect width="16" height="16" fill="#000" /> | |
20 | <use xlink:href="#shape-shield-outer" fill="#fff" /> | |
21 | <use xlink:href="#shape-shield-inner" fill="#000" /> | |
22 | <use xlink:href="#shape-shield-detail" fill="#fff" /> | |
23 | </mask> | |
24 | ||
25 | <mask id="mask-shield-cutout-disabled"> | |
26 | <rect width="16" height="16" fill="#000"/> | |
27 | <use xlink:href="#shape-shield-outer" fill="#fff"/> | |
28 | <use xlink:href="#shape-shield-inner" fill="#000"/> | |
29 | <use xlink:href="#shape-shield-detail" fill="#fff"/> | |
30 | <line x1="3" y1="15" x2="15" y2="3" stroke="#000" stroke-width="2"/> | |
31 | </mask> | |
32 | ||
33 | <line id="strike-through-red" x1="3" y1="14" x2="15" y2="2" stroke="#FF0000" stroke-width="2"/> | |
34 | </defs> | |
35 | ||
36 | <g id="enabled"> | |
07296beb | 37 | <use fill="context-fill" xlink:href="#shape-shield-outer" mask="url(#mask-shield-cutout)"/> |
d23bf94a RK |
38 | </g> |
39 | ||
40 | <g id="disabled"> | |
07296beb | 41 | <use fill="context-fill" xlink:href="#shape-shield-outer" mask="url(#mask-shield-cutout-disabled)"/> |
d8502c35 | 42 | <use href="#strike-through-red"/> |
d23bf94a RK |
43 | </g> |
44 | </svg> |