summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLootyhoof <lootyhoofer@gmail.com>2018-06-22 22:30:54 +0100
committerLootyhoof <lootyhoofer@gmail.com>2018-06-22 22:30:54 +0100
commit87eaf4410455694b3337fd145d9b157c289babd5 (patch)
tree291c9fd838583899ced65ca16ea0b851bc451728
parente6f765a27070a6b922742e61d0a14dcc2c18baba (diff)
downloadUXP-87eaf4410455694b3337fd145d9b157c289babd5.tar
UXP-87eaf4410455694b3337fd145d9b157c289babd5.tar.gz
UXP-87eaf4410455694b3337fd145d9b157c289babd5.tar.lz
UXP-87eaf4410455694b3337fd145d9b157c289babd5.tar.xz
UXP-87eaf4410455694b3337fd145d9b157c289babd5.zip
Add new close icons and make current icons Basilisk-specific
-rw-r--r--application/palemoon/themes/windows/browser.css8
-rw-r--r--toolkit/themes/linux/global/global.css6
-rw-r--r--toolkit/themes/linux/global/jar.mn2
-rw-r--r--toolkit/themes/windows/global/global.css15
-rw-r--r--toolkit/themes/windows/global/icons/close-inverted.svg19
-rw-r--r--toolkit/themes/windows/global/icons/close.svg19
-rw-r--r--toolkit/themes/windows/global/jar.mn2
7 files changed, 66 insertions, 5 deletions
diff --git a/application/palemoon/themes/windows/browser.css b/application/palemoon/themes/windows/browser.css
index db60a6fa7..099382a5a 100644
--- a/application/palemoon/themes/windows/browser.css
+++ b/application/palemoon/themes/windows/browser.css
@@ -2015,7 +2015,7 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
}
.tab-close-button:-moz-lwtheme-brighttext {
- list-style-image: url("chrome://global/skin/icons/close-inverted.png");
+ list-style-image: url("chrome://global/skin/icons/close-inverted.svg");
}
/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
@@ -2163,7 +2163,7 @@ toolbar[brighttext] #alltabs-button[type="menu"] {
}
toolbar[brighttext] .tabs-closebutton {
- list-style-image: url("chrome://global/skin/icons/close-inverted.png");
+ list-style-image: url("chrome://global/skin/icons/close-inverted.svg");
}
.tabs-closebutton > .toolbarbutton-icon {
@@ -2697,7 +2697,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
/* Make sure the allTab previews always have regular close buttons */
#allTabs-tab-close-button:-moz-lwtheme-brighttext {
- list-style-image: url("chrome://global/skin/icons/close.png");
+ list-style-image: url("chrome://global/skin/icons/close.svg");
}
.allTabs-favicon[src] {
@@ -2770,7 +2770,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
}
toolbar[brighttext] #addonbar-closebutton {
- list-style-image: url("chrome://global/skin/icons/close-inverted.png");
+ list-style-image: url("chrome://global/skin/icons/close-inverted.svg");
}
/* Status panel */
diff --git a/toolkit/themes/linux/global/global.css b/toolkit/themes/linux/global/global.css
index 1f9e7e458..9553725d6 100644
--- a/toolkit/themes/linux/global/global.css
+++ b/toolkit/themes/linux/global/global.css
@@ -316,6 +316,7 @@ popupnotificationcontent {
/* :::::: Close button icons ::::: */
+%ifdef MC_BASILISK
.close-icon {
-moz-appearance: none;
height: 16px;
@@ -332,3 +333,8 @@ popupnotificationcontent {
.close-icon:hover:active {
background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 48, 16, 32);
}
+%else
+.close-icon {
+ list-style-image: url("moz-icon://stock/gtk-close?size=menu");
+}
+%endif
diff --git a/toolkit/themes/linux/global/jar.mn b/toolkit/themes/linux/global/jar.mn
index 6a053dec6..b161f8cae 100644
--- a/toolkit/themes/linux/global/jar.mn
+++ b/toolkit/themes/linux/global/jar.mn
@@ -14,7 +14,7 @@ toolkit.jar:
skin/classic/global/filepicker.css
skin/classic/global/Filepicker.png (filepicker/Filepicker.png)
skin/classic/global/findBar.css
- skin/classic/global/global.css
+* skin/classic/global/global.css
skin/classic/global/groupbox.css
skin/classic/global/inContentUI.css
skin/classic/global/listbox.css
diff --git a/toolkit/themes/windows/global/global.css b/toolkit/themes/windows/global/global.css
index aaddef882..416321041 100644
--- a/toolkit/themes/windows/global/global.css
+++ b/toolkit/themes/windows/global/global.css
@@ -331,6 +331,7 @@ popupnotificationcontent {
/* :::::: Close button icons ::::: */
+%ifdef MC_BASILISK
.close-icon {
list-style-image: url("chrome://global/skin/icons/close.png");
-moz-image-region: rect(0, 20px, 20px, 0);
@@ -398,3 +399,17 @@ popupnotificationcontent {
}
}
}
+%else
+.close-icon {
+ list-style-image: url("chrome://global/skin/icons/close.svg");
+ -moz-image-region: rect(0, 16px, 16px, 0);
+}
+
+.close-icon:hover {
+ -moz-image-region: rect(0, 32px, 16px, 16px);
+}
+
+.close-icon:hover:active {
+ -moz-image-region: rect(0, 48px, 16px, 32px);
+}
+%endif
diff --git a/toolkit/themes/windows/global/icons/close-inverted.svg b/toolkit/themes/windows/global/icons/close-inverted.svg
new file mode 100644
index 000000000..ac2bd887d
--- /dev/null
+++ b/toolkit/themes/windows/global/icons/close-inverted.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="64" height="16" version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+ <linearGradient id="d" x1="5.5" x2="5.5" y1="1" y2="7" gradientTransform="translate(17,1)" gradientUnits="userSpaceOnUse">
+ <stop stop-color="#e35d5d" offset="0"/>
+ <stop stop-color="#e35d5d" stop-opacity="0" offset="1"/>
+ </linearGradient>
+ </defs>
+ <g>
+ <rect x="17" y="1" width="14" height="14" rx="2.5" ry="2.5" fill="#b00021" fill-rule="evenodd"/>
+ <rect id="a" x="18" y="2" width="12" height="12" rx="1.5" ry="1.5" color="#000000" color-rendering="auto" fill="url(#d)" image-rendering="auto" shape-rendering="auto" solid-color="#000000" style="isolation:auto;mix-blend-mode:normal"/>
+ <path id="c" d="m26.8 5.2-5.6 5.6m0-5.6 5.6 5.6" fill="none" stroke="#fff" stroke-linecap="square" stroke-width="1.4"/>
+ <path id="b" d="m10.8 5.2-5.6 5.6m0-5.6 5.6 5.6" fill="none" stroke="#d0d0d0" stroke-linecap="square" stroke-width="1.4"/>
+ <rect x="33" y="1" width="14" height="14" rx="2" ry="2" fill="#800018" fill-rule="evenodd"/>
+ <use transform="translate(48)" width="100%" height="100%" opacity=".5" xlink:href="#b"/>
+ <use transform="translate(16)" width="100%" height="100%" opacity=".6" xlink:href="#a"/>
+ <use transform="translate(16)" width="100%" height="100%" opacity=".6" xlink:href="#c"/>
+ </g>
+</svg>
diff --git a/toolkit/themes/windows/global/icons/close.svg b/toolkit/themes/windows/global/icons/close.svg
new file mode 100644
index 000000000..4093c880d
--- /dev/null
+++ b/toolkit/themes/windows/global/icons/close.svg
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="64" height="16" version="1.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+ <linearGradient id="d" x1="5.5" x2="5.5" y1="1" y2="7" gradientTransform="translate(17,1)" gradientUnits="userSpaceOnUse">
+ <stop stop-color="#e35d5d" offset="0"/>
+ <stop stop-color="#e35d5d" stop-opacity="0" offset="1"/>
+ </linearGradient>
+ </defs>
+ <g>
+ <rect x="17" y="1" width="14" height="14" rx="2.5" ry="2.5" fill="#b00021" fill-rule="evenodd"/>
+ <rect id="a" x="18" y="2" width="12" height="12" rx="1.5" ry="1.5" color="#000000" color-rendering="auto" fill="url(#d)" image-rendering="auto" shape-rendering="auto" solid-color="#000000" style="isolation:auto;mix-blend-mode:normal"/>
+ <path id="c" d="m26.8 5.2-5.6 5.6m0-5.6 5.6 5.6" fill="none" stroke="#fff" stroke-linecap="square" stroke-width="1.4"/>
+ <path id="b" d="m10.8 5.2-5.6 5.6m0-5.6 5.6 5.6" fill="none" stroke="#303030" stroke-linecap="square" stroke-width="1.4"/>
+ <rect x="33" y="1" width="14" height="14" rx="2" ry="2" fill="#800018" fill-rule="evenodd"/>
+ <use transform="translate(48)" width="100%" height="100%" opacity=".5" xlink:href="#b"/>
+ <use transform="translate(16)" width="100%" height="100%" opacity=".6" xlink:href="#a"/>
+ <use transform="translate(16)" width="100%" height="100%" opacity=".6" xlink:href="#c"/>
+ </g>
+</svg>
diff --git a/toolkit/themes/windows/global/jar.mn b/toolkit/themes/windows/global/jar.mn
index 75f4cc650..a2cc9e2ea 100644
--- a/toolkit/themes/windows/global/jar.mn
+++ b/toolkit/themes/windows/global/jar.mn
@@ -45,6 +45,8 @@ toolkit.jar:
skin/classic/global/icons/autocomplete-search.svg (icons/autocomplete-search.svg)
skin/classic/global/icons/blacklist_favicon.png (icons/blacklist_favicon.png)
skin/classic/global/icons/blacklist_large.png (icons/blacklist_large.png)
+ skin/classic/global/icons/close.svg (icons/close.svg)
+ skin/classic/global/icons/close-inverted.svg (icons/close-inverted.svg)
skin/classic/global/icons/close-win7.png (icons/close-win7.png)
skin/classic/global/icons/close-win7@2x.png (icons/close-win7@2x.png)
skin/classic/global/icons/close-inverted-win7.png (icons/close-inverted-win7.png)