summaryrefslogtreecommitdiffstats
path: root/browser/themes/shared/controlcenter/connection.svg
blob: 85396d68f14c9ad25e055786c0523dc299136bb3 (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
37
<?xml version="1.0" encoding="utf-8"?>
<!-- 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:xlink="http://www.w3.org/1999/xlink"
     width="24" height="24" viewBox="0 0 24 24">
#include ../icon-colors.inc.svg
  <style>
    svg > rect:not(:target) {
      display: none;
    }

    #connection-secure {
      fill: #4d9a26;
    }
  </style>

  <defs>
    <rect id="shape-lock-clasp-outer" x="5" y="1" width="14" height="20" rx="7" ry="7" />
    <rect id="shape-lock-clasp-inner" x="8" y="4" width="8" height="14" rx="4" ry="4" />
    <rect id="shape-lock-base" x="3" y="10" width="18" height="13" rx="1.5" ry="1.5" />

    <mask id="mask-clasp-cutout">
      <rect width="24" height="24" fill="#000" />
      <use xlink:href="#shape-lock-clasp-outer" fill="#fff" />
      <use xlink:href="#shape-lock-clasp-inner" fill="#000" />
    </mask>

    <mask id="mask-lock">
      <use xlink:href="#shape-lock-clasp-outer" mask="url(#mask-clasp-cutout)" fill="#fff"/>
      <use xlink:href="#shape-lock-base" fill="#fff"/>
    </mask>
  </defs>

  <rect id="connection-degraded" class="fieldtext" width="24" height="24" mask="url(#mask-lock)"/>
  <rect id="connection-secure" width="24" height="24" mask="url(#mask-lock)"/>
</svg>