diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2018-11-16 20:59:11 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2018-11-16 20:59:11 +0800 |
commit | becd71a8600c7229f765d8eda21c1843c4f4adf1 (patch) | |
tree | 71cd3aa344b8b966dc158774ab94a367fa65f3de /application/palemoon/themes/shared | |
parent | c94825c861795cc2bb0b98483143f277eb3f5060 (diff) | |
download | UXP-becd71a8600c7229f765d8eda21c1843c4f4adf1.tar UXP-becd71a8600c7229f765d8eda21c1843c4f4adf1.tar.gz UXP-becd71a8600c7229f765d8eda21c1843c4f4adf1.tar.lz UXP-becd71a8600c7229f765d8eda21c1843c4f4adf1.tar.xz UXP-becd71a8600c7229f765d8eda21c1843c4f4adf1.zip |
Issue #638 - Part 1: Provide a visual indicator for muting/unmuting tabs
Diffstat (limited to 'application/palemoon/themes/shared')
-rw-r--r-- | application/palemoon/themes/shared/tabbrowser/tab-audio-small.svg | 85 | ||||
-rw-r--r-- | application/palemoon/themes/shared/tabbrowser/tab-audio.svg | 86 |
2 files changed, 171 insertions, 0 deletions
diff --git a/application/palemoon/themes/shared/tabbrowser/tab-audio-small.svg b/application/palemoon/themes/shared/tabbrowser/tab-audio-small.svg new file mode 100644 index 000000000..da4ad3ef9 --- /dev/null +++ b/application/palemoon/themes/shared/tabbrowser/tab-audio-small.svg @@ -0,0 +1,85 @@ +<?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="16" height="16" viewBox="0 0 16 16"> + <style> + use:not(:target) { + display: none; + } + .icon { + fill: #4d4d4d; + } + .icon.hover { + fill: #333333; + } + .icon.pressed { + fill: #000; + } + .icon.dark { + fill: #ccc; + } + .icon.dark.hover { + fill: #b2b2b2; + } + .icon.dark.pressed { + fill: #fff; + } + .muted { + opacity: .7; + stroke: #4d4d4d; + stroke-width: 0; + } + .muted.hover { + opacity: .85; + stroke: #333333; + } + .muted.pressed { + opacity: 1; + stroke: #000; + } + .muted.dark { + stroke: #ccc; + } + .muted.dark.hover { + stroke: #b2b2b2; + } + .muted.dark.pressed { + stroke: #fff; + } + </style> + <defs> + <clipPath id="clip-wave"> + <path d="M 11,7 l 3,-8 l 2,0 l 0,18 l -2,0 l -3,-8 z" /> + </clipPath> + <mask id="disabled-cutout"> + <rect width="16" height="16" fill="#fff" /> + <line x1="4" y1="14" x2="14" y2="4" stroke="#000" stroke-width="2" /> + </mask> + <g id="shape-tab-audio"> + <rect x="3" y="6" width="5" height="4" rx="1" ry="1" /> + <polygon points="5.5,6.5 9,3 9,13 5.5,9.5" /> + <path d="M 10,6.5 a 1.5 1.5 0 0,1 0,3 z" /> + <path d="M 10,4 a 4 4 0 0,1 0,8 l 0,-1 a 3 3 0 0,0 0,-6 z" clip-path="url(#clip-wave)" /> + </g> + <g id="shape-tab-audio-muted"> + <g mask="url(#disabled-cutout)"> + <rect x="4" y="6" width="5" height="4" rx="1" ry="1" /> + <polygon points="6.5,6.5 10,3 10,13 6.5,9.5" /> + </g> + <line x1="3" y1="14" x2="13" y2="4" stroke-width="1.5" /> + </g> + </defs> + <use id="tab-audio" class="icon" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-hover" class="icon hover" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-pressed" class="icon pressed" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-muted" class="icon muted" xlink:href="#shape-tab-audio-muted" /> + <use id="tab-audio-muted-hover" class="icon muted hover" xlink:href="#shape-tab-audio-muted" /> + <use id="tab-audio-muted-pressed" class="icon muted pressed" xlink:href="#shape-tab-audio-muted" /> + <use id="tab-audio-dark" class="icon dark" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-dark-hover" class="icon hover dark" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-dark-pressed" class="icon pressed dark" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-muted-dark" class="icon muted dark" xlink:href="#shape-tab-audio-muted" /> + <use id="tab-audio-muted-dark-hover" class="icon muted hover dark" xlink:href="#shape-tab-audio-muted" /> + <use id="tab-audio-muted-dark-pressed" class="icon muted pressed dark" xlink:href="#shape-tab-audio-muted" /> +</svg>
\ No newline at end of file diff --git a/application/palemoon/themes/shared/tabbrowser/tab-audio.svg b/application/palemoon/themes/shared/tabbrowser/tab-audio.svg new file mode 100644 index 000000000..1949c0595 --- /dev/null +++ b/application/palemoon/themes/shared/tabbrowser/tab-audio.svg @@ -0,0 +1,86 @@ +<?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="16" height="16" viewBox="0 0 16 16"> + <style> + use:not(:target) { + display: none; + } + .icon { + fill: #666; + } + .icon.hover { + fill: #4d4d4d; + } + .icon.pressed { + fill: #000; + } + .icon.dark { + fill: #999; + } + .icon.dark.hover { + fill: #b2b2b2; + } + .icon.dark.pressed { + fill: #fff; + } + .muted { + opacity: .7; + stroke: #666; + stroke-width: 0; + } + .muted.hover { + opacity: .85; + stroke: #4d4d4d; + } + .muted.pressed { + opacity: 1; + stroke: #000; + } + .muted.dark { + stroke: #999; + } + .muted.dark.hover { + stroke: #b2b2b2; + } + .muted.dark.pressed { + stroke: #fff; + } + </style> + <defs> + <clipPath id="clip-wave"> + <path d="M 10,7 l 3,-8 l 2,0 l 0,18 l -2,0 l -3,-8 z" /> + </clipPath> + <mask id="disabled-cutout"> + <rect width="16" height="16" fill="#fff" /> + <line x1="4" y1="14" x2="14" y2="4" stroke="#000" stroke-width="2" /> + </mask> + <g id="shape-tab-audio"> + <rect x="2" y="5" width="6" height="6" rx="2" ry="2" /> + <polygon points="4,6 9,2 9,14 4,10" /> + <path d="M 10,7 a 1 1 0 0,1 0,2 z" /> + <path d="M 10,5 a 3 3 0 0,1 0,6 l 0,-1 a 2 2 0 0,0 0,-4 z" clip-path="url(#clip-wave)" /> + <path d="M 10,3 a 5 5 0 0,1 0,10 l 0,-1 a 4 4 0 0,0 0,-8 z" clip-path="url(#clip-wave)" /> + </g> + <g id="shape-tab-audio-muted"> + <g mask="url(#disabled-cutout)"> + <rect x="3" y="5" width="6" height="6" rx="2" ry="2" /> + <polygon points="5,6 10,2 10,14 5,10" /> + </g> + <line x1="2" y1="13" x2="14" y2="3" stroke-width="1.5" /> + </g> + </defs> + <use id="tab-audio" class="icon" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-hover" class="icon hover" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-pressed" class="icon pressed" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-muted" class="icon muted" xlink:href="#shape-tab-audio-muted" /> + <use id="tab-audio-muted-hover" class="icon muted hover" xlink:href="#shape-tab-audio-muted" /> + <use id="tab-audio-muted-pressed" class="icon muted pressed" xlink:href="#shape-tab-audio-muted" /> + <use id="tab-audio-dark" class="icon dark" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-dark-hover" class="icon hover dark" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-dark-pressed" class="icon pressed dark" xlink:href="#shape-tab-audio"/> + <use id="tab-audio-muted-dark" class="icon muted dark" xlink:href="#shape-tab-audio-muted" /> + <use id="tab-audio-muted-dark-hover" class="icon muted hover dark" xlink:href="#shape-tab-audio-muted" /> + <use id="tab-audio-muted-dark-pressed" class="icon muted pressed dark" xlink:href="#shape-tab-audio-muted" /> +</svg>
\ No newline at end of file |