Bug 1390016 - Remove toolkit/themes/shared/filters.svg. r=dao
MozReview-Commit-ID: 7ETww8LzhxS --HG-- rename : browser/extensions/flyweb/skin/flyweb-icon.svg => browser/extensions/flyweb/skin/shared/icon.svg extra : rebase_source : 6d0cb5cf26c9f2ce3484e2a0d1d76d2b79e1f383
7
browser/extensions/flyweb/bootstrap.js
vendored
@ -136,7 +136,7 @@ const FlyWebPermissionPromptIntegration = (base) => ({
|
||||
get popupOptions() {
|
||||
return {
|
||||
learnMoreURL: "https://flyweb.github.io",
|
||||
popupIconURL: "chrome://flyweb/skin/icon-64.png",
|
||||
popupIconURL: "chrome://flyweb-shared/skin/icon.svg",
|
||||
};
|
||||
},
|
||||
get notificationID() {
|
||||
@ -152,13 +152,12 @@ const FlyWebPermissionPromptIntegration = (base) => ({
|
||||
let notificationIcon = chromeDoc.createElement("image");
|
||||
notificationIcon.id = kAnchorID;
|
||||
notificationIcon.setAttribute("src",
|
||||
"chrome://flyweb/skin/icon-64.png");
|
||||
"chrome://flyweb-shared/skin/icon.svg");
|
||||
notificationIcon.classList.add("notification-anchor-icon");
|
||||
notificationIcon.setAttribute("role", "button");
|
||||
notificationIcon.setAttribute("aria-label",
|
||||
"View the publish-server request");
|
||||
notificationIcon.style.filter =
|
||||
"url('chrome://global/skin/filters.svg#fill')";
|
||||
notificationIcon.style.mozContextProperties = "fill";
|
||||
notificationIcon.style.fill = "currentcolor";
|
||||
notificationIcon.style.opacity = "0.4";
|
||||
notificationPopupBox.appendChild(notificationIcon);
|
||||
|
@ -1,39 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="64px" height="64px" viewBox="0 0 64 64" enable-background="new 0 0 64 64" xml:space="preserve">
|
||||
<circle fill="#797C80" cx="32" cy="52" r="6"/>
|
||||
<g>
|
||||
<path fill="#797C80" d="M6.894,15.255c-2.254,1.547-4.386,3.304-6.361,5.279L0.18,20.887l3.536,3.536l0.354-0.354
|
||||
c1.621-1.62,3.363-3.072,5.196-4.369C8.126,18.464,7.296,16.943,6.894,15.255z"/>
|
||||
<path fill="#797C80" d="M63.465,20.532C55.061,12.128,43.887,7.5,32,7.5c-2.265,0-4.504,0.17-6.703,0.501
|
||||
c0.822,1.44,1.3,3.1,1.312,4.87C28.382,12.631,30.181,12.5,32,12.5c10.55,0,20.468,4.108,27.928,11.567l0.354,0.354l3.537-3.535
|
||||
L63.465,20.532z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#797C80" d="M16.613,10.94c1.103,0,2,0.897,2,2s-0.897,2-2,2s-2-0.897-2-2S15.51,10.94,16.613,10.94 M16.613,6.94
|
||||
c-3.313,0-6,2.687-6,6s2.687,6,6,6s6-2.687,6-6S19.926,6.94,16.613,6.94L16.613,6.94z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#797C80" d="M46.492,37.502c-1.853-1.852-4.002-3.292-6.334-4.305c0.031,0.324,0.05,0.652,0.05,0.984
|
||||
c0,1.477-0.33,2.874-0.906,4.137c1.329,0.712,2.561,1.623,3.657,2.719l0.354,0.354l3.533-3.535L46.492,37.502z"/>
|
||||
<path fill="#797C80" d="M20.262,35.207c-0.972,0.683-1.9,1.439-2.758,2.297l-0.354,0.354l3.536,3.537l0.354-0.354
|
||||
c0.35-0.35,0.715-0.679,1.091-0.99C21.118,38.66,20.446,37.007,20.262,35.207z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#797C80" d="M30.209,32.182c1.102,0,1.999,0.897,1.999,2s-0.896,2-1.999,2c-1.103,0-2-0.897-2-2
|
||||
S29.106,32.182,30.209,32.182 M30.209,28.182c-3.313,0-6,2.686-6,6c0,3.312,2.687,6,6,6c3.313,0,5.999-2.688,5.999-6
|
||||
C36.208,30.867,33.522,28.182,30.209,28.182L30.209,28.182z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#797C80" d="M32.207,23.716c0-1.497,0.34-2.912,0.932-4.188C32.76,19.515,32.381,19.5,32,19.5
|
||||
c-8.681,0-16.843,3.381-22.981,9.52l-0.354,0.354l3.535,3.535l0.354-0.354C17.748,27.36,24.654,24.5,32,24.5
|
||||
c0.083,0,0.165,0.005,0.247,0.006C32.227,24.245,32.207,23.982,32.207,23.716z"/>
|
||||
<path fill="#797C80" d="M54.98,29.018c-0.987-0.987-2.033-1.896-3.119-2.738c-0.447,1.68-1.313,3.188-2.491,4.399
|
||||
c0.717,0.586,1.409,1.21,2.073,1.874l0.354,0.354l3.537-3.535L54.98,29.018z"/>
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#797C80" d="M42.207,21.716c1.103,0,2,0.897,2,2s-0.897,2-2,2s-2-0.897-2-2S41.104,21.716,42.207,21.716 M42.207,17.716
|
||||
c-3.313,0-6,2.687-6,6s2.687,6,6,6s6-2.687,6-6S45.521,17.716,42.207,17.716L42.207,17.716z"/>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 699 B |
Before Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 3.1 KiB |
@ -14,41 +14,5 @@
|
||||
}
|
||||
|
||||
#flyweb-button {
|
||||
list-style-image: url("chrome://flyweb/skin/icon-16.png");
|
||||
}
|
||||
|
||||
#flyweb-button[cui-areatype="menu-panel"],
|
||||
toolbarpaletteitem[place="palette"] > #flyweb-button {
|
||||
list-style-image: url("chrome://flyweb/skin/icon-32.png");
|
||||
}
|
||||
|
||||
#flyweb-button[cui-areatype="menu-panel"][panel-multiview-anchor="true"] {
|
||||
list-style-image: url("chrome://flyweb/skin/icon-32-anchored.png");
|
||||
}
|
||||
|
||||
#flyweb-items > toolbarbutton {
|
||||
list-style-image: url("chrome://flyweb/skin/icon-16.png");
|
||||
}
|
||||
|
||||
@media (min-resolution: 2dppx) {
|
||||
#flyweb-button {
|
||||
list-style-image: url("chrome://flyweb/skin/icon-32.png");
|
||||
}
|
||||
|
||||
#flyweb-button[cui-areatype="menu-panel"],
|
||||
toolbarpaletteitem[place="palette"] > #flyweb-button {
|
||||
list-style-image: url("chrome://flyweb/skin/icon-64.png");
|
||||
}
|
||||
|
||||
#flyweb-button[cui-areatype="menu-panel"][panel-multiview-anchor="true"] {
|
||||
list-style-image: url("chrome://flyweb/skin/icon-64-anchored.png");
|
||||
}
|
||||
|
||||
#flyweb-items > toolbarbutton {
|
||||
list-style-image: url("chrome://flyweb/skin/icon-32.png");
|
||||
}
|
||||
|
||||
#flyweb-items > toolbarbutton > .toolbarbutton-icon {
|
||||
width: 16px;
|
||||
}
|
||||
list-style-image: url("chrome://flyweb-shared/skin/icon.svg");
|
||||
}
|
||||
|
6
browser/extensions/flyweb/skin/shared/icon.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="context-fill" width="64" height="64">
|
||||
<circle cx="32" cy="52" r="6"/>
|
||||
<path d="M6.894 15.255c-2.254 1.547-4.386 3.304-6.36 5.28l-.354.352 3.536 3.536.354-.354c1.62-1.62 3.363-3.074 5.196-4.37-1.14-1.237-1.97-2.758-2.372-4.446zm56.57 5.277C55.06 12.128 43.888 7.5 32 7.5c-2.265 0-4.504.17-6.703.5.822 1.44 1.3 3.1 1.312 4.87 1.77-.24 3.57-.37 5.39-.37 10.55 0 20.467 4.108 27.927 11.567l.354.354 3.538-3.533-.355-.354zM16.613 10.94c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2m0-4c-3.313 0-6 2.687-6 6s2.687 6 6 6 6-2.687 6-6-2.687-6-6-6zM46.492 37.502c-1.853-1.852-4.002-3.292-6.334-4.305.03.324.05.652.05.984 0 1.48-.33 2.876-.906 4.14 1.33.71 2.56 1.622 3.657 2.72l.352.352 3.533-3.534-.354-.354zm-26.23-2.295c-.972.683-1.9 1.44-2.758 2.297l-.354.354 3.536 3.537.354-.354c.35-.35.715-.677 1.09-.99-1.012-1.39-1.684-3.042-1.868-4.842zM30.21 32.182c1.1 0 1.998.897 1.998 2s-.896 2-2 2c-1.102 0-2-.897-2-2s.898-2 2-2m0-4c-3.312 0-6 2.686-6 6 0 3.312 2.688 6 6 6 3.314 0 6-2.688 6-6 0-3.315-2.686-6-6-6zM32.207 23.716c0-1.497.34-2.912.932-4.188-.38-.013-.76-.028-1.14-.028-8.68 0-16.844 3.38-22.98 9.52l-.356.354L12.2 32.91l.354-.355C17.748 27.36 24.654 24.5 32 24.5c.083 0 .165.005.247.006-.02-.26-.04-.524-.04-.79zm22.773 5.302c-.987-.987-2.033-1.896-3.12-2.738-.446 1.68-1.312 3.188-2.49 4.4.717.585 1.41 1.21 2.073 1.873l.354.354 3.537-3.535-.354-.354z"/>
|
||||
<path d="M42.207 21.716c1.103 0 2 .897 2 2s-.897 2-2 2-2-.897-2-2 .897-2 2-2m0-4c-3.313 0-6 2.687-6 6s2.687 6 6 6 6-2.687 6-6-2.686-6-6-6z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 699 B |
Before Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 1.3 KiB |
@ -42,13 +42,8 @@ radio[pane]:active:hover {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
radio[pane] > .paneButtonIcon {
|
||||
/* preload external filter file */
|
||||
background-image: url("chrome://global/skin/filters.svg");
|
||||
}
|
||||
|
||||
radio[pane]:active:hover > .paneButtonIcon {
|
||||
filter: url("chrome://global/skin/filters.svg#iconPressed");
|
||||
filter: brightness(0.55);
|
||||
}
|
||||
|
||||
radio[pane][selected="true"] {
|
||||
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- 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">
|
||||
<filter id="fill">
|
||||
<feComposite in="FillPaint" in2="SourceGraphic" operator="in"/>
|
||||
</filter>
|
||||
<filter id="iconPressed" color-interpolation-filters="sRGB">
|
||||
<!-- Multiply all components with 0.55. -->
|
||||
<feComponentTransfer>
|
||||
<feFuncR type="linear" slope=".55"/>
|
||||
<feFuncG type="linear" slope=".55"/>
|
||||
<feFuncB type="linear" slope=".55"/>
|
||||
</feComponentTransfer>
|
||||
</filter>
|
||||
</svg>
|
Before Width: | Height: | Size: 688 B |
@ -23,7 +23,6 @@ toolkit.jar:
|
||||
skin/classic/global/config.css (../../shared/config.css)
|
||||
skin/classic/global/datetimeinputpickers.css (../../shared/datetimeinputpickers.css)
|
||||
skin/classic/global/datetimepopup.css (../../shared/datetimepopup.css)
|
||||
skin/classic/global/filters.svg (../../shared/filters.svg)
|
||||
skin/classic/global/passwordmgr.css (../../shared/passwordmgr.css)
|
||||
skin/classic/global/scale.css (../../shared/scale.css)
|
||||
skin/classic/global/icons/calendar-arrow-left.svg (../../shared/icons/calendar-arrow-left.svg)
|
||||
|