diff options
| author | Lootyhoof <lootyhoofer@gmail.com> | 2016-10-25 22:19:11 +0100 |
|---|---|---|
| committer | Lootyhoof <lootyhoofer@gmail.com> | 2016-10-25 22:19:11 +0100 |
| commit | a591627d63702bf6e00989bb65a538a8c4df2436 (patch) | |
| tree | 37f91b8f779d8453cf36ea60d31e41202ad4f5df /src | |
| parent | 54ccad67042c29569d72497a9582c502492485dc (diff) | |
Update /global icons to use SVG
Diffstat (limited to 'src')
35 files changed, 163 insertions, 31 deletions
diff --git a/src/chrome/browser/browser.css b/src/chrome/browser/browser.css index 00596f1..6b949da 100644 --- a/src/chrome/browser/browser.css +++ b/src/chrome/browser/browser.css | |||
| @@ -1434,18 +1434,18 @@ toolbarbutton[type="socialmark"] > .toolbarbutton-icon { | |||
| 1434 | padding: 0px; | 1434 | padding: 0px; |
| 1435 | } | 1435 | } |
| 1436 | 1436 | ||
| 1437 | .tabbrowser-tab:not(:hover):not([selected="true"]) .tab-close-button { | ||
| 1438 | opacity: .375; /* It is much faster to leave the normal image and change the opacity here --johnGraciliano */ | ||
| 1439 | } | ||
| 1440 | |||
| 1437 | .tab-close-button:-moz-lwtheme-darktext { | 1441 | .tab-close-button:-moz-lwtheme-darktext { |
| 1438 | list-style-image: url(chrome://global/skin/icons/close-bright.png); | 1442 | filter: url("chrome://global/skin/icons/invert.svg#invert"); |
| 1439 | } | 1443 | } |
| 1440 | 1444 | ||
| 1441 | .tab-close-button:-moz-system-metric(touch-enabled) { | 1445 | .tab-close-button:-moz-system-metric(touch-enabled) { |
| 1442 | -moz-transform: scale(1.2); | 1446 | -moz-transform: scale(1.2); |
| 1443 | } | 1447 | } |
| 1444 | 1448 | ||
| 1445 | .tab-close-button:not([selected]):not(:hover):not(:active) { | ||
| 1446 | -moz-image-region: rect(0, 64px, 16px, 48px); | ||
| 1447 | } | ||
| 1448 | |||
| 1449 | .tab-close-button:focus { | 1449 | .tab-close-button:focus { |
| 1450 | outline: none !important; | 1450 | outline: none !important; |
| 1451 | } | 1451 | } |
| @@ -1615,6 +1615,10 @@ toolbarbutton[type="socialmark"] > .toolbarbutton-icon { | |||
| 1615 | border: none; | 1615 | border: none; |
| 1616 | } | 1616 | } |
| 1617 | 1617 | ||
| 1618 | .tabs-closebutton:-moz-lwtheme-darktext { | ||
| 1619 | filter: url("chrome://global/skin/icons/invert.svg#invert"); | ||
| 1620 | } | ||
| 1621 | |||
| 1618 | .tabs-closebutton > .toolbarbutton-icon { | 1622 | .tabs-closebutton > .toolbarbutton-icon { |
| 1619 | -moz-margin-end: 0px !important; | 1623 | -moz-margin-end: 0px !important; |
| 1620 | -moz-padding-end: 2px !important; | 1624 | -moz-padding-end: 2px !important; |
| @@ -2216,6 +2220,10 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { | |||
| 2216 | -moz-appearance: none; | 2220 | -moz-appearance: none; |
| 2217 | } | 2221 | } |
| 2218 | 2222 | ||
| 2223 | #addonbar-closebutton:-moz-lwtheme-darktext { | ||
| 2224 | filter: url("chrome://global/skin/icons/invert.svg#invert"); | ||
| 2225 | } | ||
| 2226 | |||
| 2219 | .statuspanel-label { | 2227 | .statuspanel-label { |
| 2220 | margin: 0; | 2228 | margin: 0; |
| 2221 | padding: 2px 4px; | 2229 | padding: 2px 4px; |
diff --git a/src/chrome/browser/searchbar.css b/src/chrome/browser/searchbar.css index 86a4855..008644b 100644 --- a/src/chrome/browser/searchbar.css +++ b/src/chrome/browser/searchbar.css | |||
| @@ -60,20 +60,19 @@ | |||
| 60 | 60 | ||
| 61 | .search-go-button { | 61 | .search-go-button { |
| 62 | padding: 1px; | 62 | padding: 1px; |
| 63 | list-style-image: url("chrome://global/skin/icons/Search-glass.png"); | 63 | list-style-image: url("chrome://global/skin/icons/Search-glass.svg"); |
| 64 | -moz-image-region: rect(0px 16px 16px 0px); | ||
| 65 | } | 64 | } |
| 66 | 65 | ||
| 67 | .search-go-button:-moz-locale-dir(rtl) { | 66 | .search-go-button:-moz-locale-dir(rtl) { |
| 68 | transform: scaleX(-1); | 67 | transform: scaleX(-1); |
| 69 | } | 68 | } |
| 70 | 69 | ||
| 71 | .search-go-button:hover { | 70 | .search-go-button:not(:hover) { |
| 72 | -moz-image-region: rect(0px 32px 16px 16px); | 71 | opacity: .7; |
| 73 | } | 72 | } |
| 74 | 73 | ||
| 75 | .search-go-button:hover:active { | 74 | .search-go-button:hover:active { |
| 76 | -moz-image-region: rect(0px, 48px, 16px, 32px); | 75 | opacity: .8; |
| 77 | } | 76 | } |
| 78 | 77 | ||
| 79 | .searchbar-engine-menuitem[selected="true"] > .menu-iconic-text { | 78 | .searchbar-engine-menuitem[selected="true"] > .menu-iconic-text { |
diff --git a/src/chrome/global/findBar.css b/src/chrome/global/findBar.css index 7c1b1ef..6bfe333 100644 --- a/src/chrome/global/findBar.css +++ b/src/chrome/global/findBar.css | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | 4 | ||
| 5 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | 5 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 6 | 6 | ||
| 7 | .findbar-closebutton:-moz-lwtheme-brighttext { | ||
| 8 | filter: url("chrome://global/skin/icons/invert.svg#invert"); | ||
| 9 | } | ||
| 10 | |||
| 7 | findbar { | 11 | findbar { |
| 8 | padding: 4px 2px; | 12 | padding: 4px 2px; |
| 9 | box-shadow: 0 1px 1px rgba(0,0,0,.1) inset; | 13 | box-shadow: 0 1px 1px rgba(0,0,0,.1) inset; |
diff --git a/src/chrome/global/global.css b/src/chrome/global/global.css index 792d411..c092ec0 100644 --- a/src/chrome/global/global.css +++ b/src/chrome/global/global.css | |||
| @@ -58,19 +58,19 @@ window.dialog { | |||
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | .message-icon { | 60 | .message-icon { |
| 61 | list-style-image: url("chrome://global/skin/icons/information-32.png"); | 61 | list-style-image: url("chrome://global/skin/icons/information-16.svg"); |
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | .alert-icon { | 64 | .alert-icon { |
| 65 | list-style-image: url("chrome://global/skin/icons/Warning.png"); | 65 | list-style-image: url("chrome://global/skin/icons/warning-16.svg"); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | .error-icon { | 68 | .error-icon { |
| 69 | list-style-image: url("chrome://global/skin/icons/Error.png"); | 69 | list-style-image: url("chrome://global/skin/icons/error-16.svg"); |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | .question-icon { | 72 | .question-icon { |
| 73 | list-style-image: url("chrome://global/skin/icons/Question.png"); | 73 | list-style-image: url("chrome://global/skin/icons/question-16.svg"); |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | /* ::::: iframe ::::: */ | 76 | /* ::::: iframe ::::: */ |
| @@ -314,14 +314,13 @@ label[disabled="true"]:-moz-system-metric(windows-classic) { | |||
| 314 | /* :::::: Close button icons ::::: */ | 314 | /* :::::: Close button icons ::::: */ |
| 315 | 315 | ||
| 316 | .close-icon { | 316 | .close-icon { |
| 317 | list-style-image: url("chrome://global/skin/icons/close.png"); | 317 | list-style-image: url("chrome://global/skin/icons/close.svg#normal"); |
| 318 | -moz-image-region: rect(0, 16px, 16px, 0); | ||
| 319 | } | 318 | } |
| 320 | 319 | ||
| 321 | .close-icon:hover { | 320 | .close-icon:hover { |
| 322 | -moz-image-region: rect(0, 32px, 16px, 16px); | 321 | list-style-image: url("chrome://global/skin/icons/close.svg#hover"); |
| 323 | } | 322 | } |
| 324 | 323 | ||
| 325 | .close-icon:hover:active { | 324 | .close-icon:hover:active { |
| 326 | -moz-image-region: rect(0, 48px, 16px, 32px); | 325 | list-style-image: url("chrome://global/skin/icons/close.svg#active"); |
| 327 | } | 326 | } |
diff --git a/src/chrome/global/icons/Error.png b/src/chrome/global/icons/Error.png deleted file mode 100644 index 48317fd..0000000 --- a/src/chrome/global/icons/Error.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/Question.png b/src/chrome/global/icons/Question.png deleted file mode 100644 index efd80af..0000000 --- a/src/chrome/global/icons/Question.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/Search-glass.svg b/src/chrome/global/icons/Search-glass.svg new file mode 100644 index 0000000..9c9e5e4 --- /dev/null +++ b/src/chrome/global/icons/Search-glass.svg | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <svg xmlns="http://www.w3.org/2000/svg" | ||
| 3 | xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| 4 | x="0" | ||
| 5 | y="0" | ||
| 6 | width="16" | ||
| 7 | height="16" | ||
| 8 | viewBox="0 0 16 16"> | ||
| 9 | <circle cx="9" cy="7" r="4.5" stroke-width="1" stroke="#fff" fill="none"/> | ||
| 10 | <line x1="5.8" y1="10.2" x2="2" y2="14" stroke-width="1" stroke="#fff"/> | ||
| 11 | </svg> \ No newline at end of file | ||
diff --git a/src/chrome/global/icons/Warning.png b/src/chrome/global/icons/Warning.png deleted file mode 100644 index 3837276..0000000 --- a/src/chrome/global/icons/Warning.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/blacklist_favicon.png b/src/chrome/global/icons/blacklist_favicon.png index 4fa8151..2077166 100644 --- a/src/chrome/global/icons/blacklist_favicon.png +++ b/src/chrome/global/icons/blacklist_favicon.png | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/blacklist_favicon.svg b/src/chrome/global/icons/blacklist_favicon.svg new file mode 100644 index 0000000..c3e0d7b --- /dev/null +++ b/src/chrome/global/icons/blacklist_favicon.svg | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <svg xmlns="http://www.w3.org/2000/svg" | ||
| 3 | xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| 4 | x="0" | ||
| 5 | y="0" | ||
| 6 | width="16" | ||
| 7 | height="16" | ||
| 8 | viewBox="0 0 16 16"> | ||
| 9 | <rect x="0" y="0" width="16" height="16" rx="2" ry="2" stroke-width="0" fill="#b14646"/> | ||
| 10 | <circle cx="8" cy="8" r="5.5" stroke-width="1" stroke="#fff" fill="none"/> | ||
| 11 | <line x1="4.1" y1="4.1" x2="11.9" y2="11.9" stroke-width="1" stroke="#fff"/> | ||
| 12 | </svg> \ No newline at end of file | ||
diff --git a/src/chrome/global/icons/close.svg b/src/chrome/global/icons/close.svg new file mode 100644 index 0000000..0549552 --- /dev/null +++ b/src/chrome/global/icons/close.svg | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <svg xmlns="http://www.w3.org/2000/svg" | ||
| 3 | xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| 4 | x="0" | ||
| 5 | y="0" | ||
| 6 | width="16" | ||
| 7 | height="16" | ||
| 8 | viewBox="0 0 16 16" | ||
| 9 | shape-rendering="geometricPrecision"> | ||
| 10 | <style> | ||
| 11 | g:not([id$="-shape"]):not(:target) { | ||
| 12 | display: none; | ||
| 13 | } | ||
| 14 | </style> | ||
| 15 | <defs> | ||
| 16 | <g id="x-shape"> | ||
| 17 | <line x1="5" y1="5" x2="11" y2="11" stroke-width="0.757" stroke="#fff"/> | ||
| 18 | <line x1="5" y1="11" x2="11" y2="5" stroke-width="0.757" stroke="#fff"/> | ||
| 19 | </g> | ||
| 20 | <g id="hover-circle-shape"> | ||
| 21 | <circle cx="8" cy="8" r="5.62" stroke-width="1" stroke="#fff" fill="none" opacity="0.54"/> | ||
| 22 | </g> | ||
| 23 | <g id="active-circle-shape"> | ||
| 24 | <circle cx="8" cy="8" r="3.52" stroke-width="1" stroke="#fff" fill="none" opacity="0.78125"/> | ||
| 25 | </g> | ||
| 26 | </defs> | ||
| 27 | <g id="normal"> | ||
| 28 | <use xlink:href="#x-shape"/> | ||
| 29 | </g> | ||
| 30 | <g id="hover"> | ||
| 31 | <use xlink:href="#x-shape"/> | ||
| 32 | <use xlink:href="#hover-circle-shape"/> | ||
| 33 | </g> | ||
| 34 | <g id="active"> | ||
| 35 | <use xlink:href="#active-circle-shape"/> | ||
| 36 | </g> | ||
| 37 | <g id="disabled"> | ||
| 38 | <use xlink:href="#x-shape" opacity=".375"/> | ||
| 39 | </g> | ||
| 40 | </svg> \ No newline at end of file | ||
diff --git a/src/chrome/global/icons/error-16.png b/src/chrome/global/icons/error-16.png index 27a020f..e927397 100644 --- a/src/chrome/global/icons/error-16.png +++ b/src/chrome/global/icons/error-16.png | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/error-16.svg b/src/chrome/global/icons/error-16.svg new file mode 100644 index 0000000..23daf97 --- /dev/null +++ b/src/chrome/global/icons/error-16.svg | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <svg xmlns="http://www.w3.org/2000/svg" | ||
| 3 | xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| 4 | x="0" | ||
| 5 | y="0" | ||
| 6 | width="16" | ||
| 7 | height="16" | ||
| 8 | viewBox="0 0 16 16"> | ||
| 9 | <circle cx="7.5" cy="7.5" r="7" stroke-width="1" stroke="#ffffff" fill="none"/> | ||
| 10 | <line x1="2.6" y1="2.6" x2="12.1" y2="12.1" stroke-width="1" stroke="#ffffff"/> | ||
| 11 | </svg> \ No newline at end of file | ||
diff --git a/src/chrome/global/icons/error-24.png b/src/chrome/global/icons/error-24.png deleted file mode 100644 index cbb97e5..0000000 --- a/src/chrome/global/icons/error-24.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/error-48.png b/src/chrome/global/icons/error-48.png deleted file mode 100644 index ed30c0d..0000000 --- a/src/chrome/global/icons/error-48.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/error-64.png b/src/chrome/global/icons/error-64.png deleted file mode 100644 index 184fad4..0000000 --- a/src/chrome/global/icons/error-64.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/information-16.png b/src/chrome/global/icons/information-16.png index c112c9b..14a4983 100644 --- a/src/chrome/global/icons/information-16.png +++ b/src/chrome/global/icons/information-16.png | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/information-16.svg b/src/chrome/global/icons/information-16.svg new file mode 100644 index 0000000..2404990 --- /dev/null +++ b/src/chrome/global/icons/information-16.svg | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <svg xmlns="http://www.w3.org/2000/svg" | ||
| 3 | xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| 4 | x="0" | ||
| 5 | y="0" | ||
| 6 | width="16" | ||
| 7 | height="16" | ||
| 8 | viewBox="0 0 16 16"> | ||
| 9 | <circle cx="7.5" cy="7.5" r="7" stroke-width="1" stroke="#ffffff" fill="none"/> | ||
| 10 | <path d="m 7.5,3 l 0,2.25 m 0,.75 l 0,6" stroke-width="1" stroke="#ffffff" fill="none"/> | ||
| 11 | </svg> \ No newline at end of file | ||
diff --git a/src/chrome/global/icons/information-24.png b/src/chrome/global/icons/information-24.png deleted file mode 100644 index da744c8..0000000 --- a/src/chrome/global/icons/information-24.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/information-32.png b/src/chrome/global/icons/information-32.png deleted file mode 100644 index 1069c3e..0000000 --- a/src/chrome/global/icons/information-32.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/information-48.png b/src/chrome/global/icons/information-48.png deleted file mode 100644 index 6b1d401..0000000 --- a/src/chrome/global/icons/information-48.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/information-64.png b/src/chrome/global/icons/information-64.png deleted file mode 100644 index 44dd626..0000000 --- a/src/chrome/global/icons/information-64.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/invert.svg b/src/chrome/global/icons/invert.svg new file mode 100644 index 0000000..95b4104 --- /dev/null +++ b/src/chrome/global/icons/invert.svg | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | <svg height='0' | ||
| 2 | xmlns='http://www.w3.org/2000/svg'> | ||
| 3 | |||
| 4 | <filter id='invert'> | ||
| 5 | <feColorMatrix values='-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0'/> | ||
| 6 | </filter> | ||
| 7 | </svg> \ No newline at end of file | ||
diff --git a/src/chrome/global/icons/question-16.png b/src/chrome/global/icons/question-16.png index ee5982e..86902f5 100644 --- a/src/chrome/global/icons/question-16.png +++ b/src/chrome/global/icons/question-16.png | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/question-16.svg b/src/chrome/global/icons/question-16.svg new file mode 100644 index 0000000..85ada0e --- /dev/null +++ b/src/chrome/global/icons/question-16.svg | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <svg xmlns="http://www.w3.org/2000/svg" | ||
| 3 | xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| 4 | x="0" | ||
| 5 | y="0" | ||
| 6 | width="16" | ||
| 7 | height="16" | ||
| 8 | viewBox="0 0 16 16"> | ||
| 9 | <circle cx="7.5" cy="7.5" r="7" stroke-width="1" stroke="#ffffff" fill="none"/> | ||
| 10 | <path d="m 4.5,6 c 0,-2.3 1,-3.5 3,-3.5 c 1.8,0 3,1 3,2.5 c 0,2 -3,2 -3,4 l 0,1 m 0,1 l 0,1.25" stroke-width="1" stroke="#ffffff" fill="none"/> | ||
| 11 | </svg> \ No newline at end of file | ||
diff --git a/src/chrome/global/icons/question-24.png b/src/chrome/global/icons/question-24.png deleted file mode 100644 index 2d7a489..0000000 --- a/src/chrome/global/icons/question-24.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/question-48.png b/src/chrome/global/icons/question-48.png deleted file mode 100644 index 2780dda..0000000 --- a/src/chrome/global/icons/question-48.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/question-64.png b/src/chrome/global/icons/question-64.png deleted file mode 100644 index ef547e9..0000000 --- a/src/chrome/global/icons/question-64.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/warning-16.png b/src/chrome/global/icons/warning-16.png index d02a201..eafdb81 100644 --- a/src/chrome/global/icons/warning-16.png +++ b/src/chrome/global/icons/warning-16.png | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/warning-16.svg b/src/chrome/global/icons/warning-16.svg new file mode 100644 index 0000000..a07c1fe --- /dev/null +++ b/src/chrome/global/icons/warning-16.svg | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <svg xmlns="http://www.w3.org/2000/svg" | ||
| 3 | xmlns:xlink="http://www.w3.org/1999/xlink" | ||
| 4 | x="0" | ||
| 5 | y="0" | ||
| 6 | width="16" | ||
| 7 | height="16" | ||
| 8 | viewBox="0 0 16 16"> | ||
| 9 | <path d="m 0,13.5 m 2,0 c -1.4,0 -1.7,-0.52 -1,-1.73 l 5.5,-9.53 c .7,-1.21 1.3,-1.21 2,0 l 5.5,9.53 c .7,1.21 0.4,1.73 -1,1.73 l -11,0" stroke-width="1" stroke="#ffffff" fill="none"/> | ||
| 10 | <path d="m 7.5,4.75 l 0,5.25 m 0,.75 l 0,1.5" stroke-width="1" stroke="#ffffff" fill="none"/> | ||
| 11 | </svg> \ No newline at end of file | ||
diff --git a/src/chrome/global/icons/warning-24.png b/src/chrome/global/icons/warning-24.png deleted file mode 100644 index 8f4db3c..0000000 --- a/src/chrome/global/icons/warning-24.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/warning-64.png b/src/chrome/global/icons/warning-64.png deleted file mode 100644 index b8e7d7c..0000000 --- a/src/chrome/global/icons/warning-64.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/global/icons/warning-large.png b/src/chrome/global/icons/warning-large.png index 629d705..307a3d9 100644 --- a/src/chrome/global/icons/warning-large.png +++ b/src/chrome/global/icons/warning-large.png | |||
| Binary files differ | |||
diff --git a/src/chrome/global/notification.css b/src/chrome/global/notification.css index cbeab1a..91d1a37 100644 --- a/src/chrome/global/notification.css +++ b/src/chrome/global/notification.css | |||
| @@ -30,15 +30,15 @@ notification[type="critical"] { | |||
| 30 | /* Default icons for notifications */ | 30 | /* Default icons for notifications */ |
| 31 | 31 | ||
| 32 | .messageImage[type="info"] { | 32 | .messageImage[type="info"] { |
| 33 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | 33 | list-style-image: url("chrome://global/skin/icons/information-16.svg"); |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | .messageImage[type="warning"] { | 36 | .messageImage[type="warning"] { |
| 37 | list-style-image: url("chrome://global/skin/icons/warning-16.png"); | 37 | list-style-image: url("chrome://global/skin/icons/warning-16.svg"); |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | .messageImage[type="critical"] { | 40 | .messageImage[type="critical"] { |
| 41 | list-style-image: url("chrome://global/skin/icons/error-16.png"); | 41 | list-style-image: url("chrome://global/skin/icons/error-16.svg"); |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | .messageCloseButton { | 44 | .messageCloseButton { |
diff --git a/src/chrome/global/textbox.css b/src/chrome/global/textbox.css index 62acb23..2912d56 100644 --- a/src/chrome/global/textbox.css +++ b/src/chrome/global/textbox.css | |||
| @@ -68,8 +68,7 @@ textbox.plain { | |||
| 68 | /* ::::: search textbox ::::: */ | 68 | /* ::::: search textbox ::::: */ |
| 69 | 69 | ||
| 70 | .textbox-search-icon { | 70 | .textbox-search-icon { |
| 71 | list-style-image: url(chrome://global/skin/icons/Search-glass.png); | 71 | list-style-image: url(chrome://global/skin/icons/Search-glass.svg); |
| 72 | -moz-image-region: rect(0, 16px, 16px, 0); | ||
| 73 | } | 72 | } |
| 74 | 73 | ||
| 75 | .textbox-search-icon:-moz-locale-dir(rtl) { | 74 | .textbox-search-icon:-moz-locale-dir(rtl) { |
| @@ -80,23 +79,32 @@ textbox.plain { | |||
| 80 | cursor: pointer; | 79 | cursor: pointer; |
| 81 | } | 80 | } |
| 82 | 81 | ||
| 82 | .textbox-search-icon[searchbutton]:not([disabled]):active { | ||
| 83 | opacity: .8; | ||
| 84 | } | ||
| 85 | |||
| 86 | .textbox-search-icon[disabled], | ||
| 87 | .textbox-search-icon:not([searchbutton]), | ||
| 88 | .textbox-search-icon:not(:hover):not(:active) { | ||
| 89 | opacity: .7; | ||
| 90 | } | ||
| 91 | |||
| 92 | /* ::::: Search clear ::::: */ | ||
| 93 | |||
| 83 | .textbox-search-clear { | 94 | .textbox-search-clear { |
| 84 | list-style-image: url(chrome://global/skin/icons/Search-close.png); | 95 | list-style-image: url(chrome://global/skin/icons/close.svg#normal); |
| 85 | -moz-image-region: rect(0, 16px, 16px, 0); | ||
| 86 | } | 96 | } |
| 87 | 97 | ||
| 88 | .textbox-search-clear:not([disabled]) { | 98 | .textbox-search-clear:not([disabled]) { |
| 89 | cursor: default; | 99 | cursor: default; |
| 90 | } | 100 | } |
| 91 | 101 | ||
| 92 | .textbox-search-clear:not([disabled]):hover , | 102 | .textbox-search-clear:not([disabled]):hover { |
| 93 | .textbox-search-icon[searchbutton]:not([disabled]):hover { | 103 | list-style-image: url("chrome://global/skin/icons/close.svg#hover"); |
| 94 | -moz-image-region: rect(0, 32px, 16px, 16px); | ||
| 95 | } | 104 | } |
| 96 | 105 | ||
| 97 | .textbox-search-clear:not([disabled]):hover:active , | 106 | .textbox-search-clear:not([disabled]):hover:active { |
| 98 | .textbox-search-icon[searchbutton]:not([disabled]):hover:active { | 107 | list-style-image: url("chrome://global/skin/icons/close.svg#active"); |
| 99 | -moz-image-region: rect(0, 48px, 16px, 32px); | ||
| 100 | } | 108 | } |
| 101 | 109 | ||
| 102 | /* ::::: textboxes inside toolbarpaletteitems ::::: */ | 110 | /* ::::: textboxes inside toolbarpaletteitems ::::: */ |
