diff options
| author | Lootyhoof <lootyhoofer@gmail.com> | 2016-10-25 23:45:48 +0100 |
|---|---|---|
| committer | Lootyhoof <lootyhoofer@gmail.com> | 2016-10-25 23:45:48 +0100 |
| commit | 4ffd86837efb3a6c4ad2e20bd112a6049e32485a (patch) | |
| tree | eb5962501fbddc50e86dfcc94b3933c31e42f5ee /src | |
| parent | 4dd6216efe4dab171460a5e5269bfcff8cc52776 (diff) | |
Improve about:addons notification appearance
Diffstat (limited to 'src')
| -rw-r--r-- | src/chrome/mozapps/extensions/alerticon-error.png | bin | 3402 -> 0 bytes | |||
| -rw-r--r-- | src/chrome/mozapps/extensions/alerticon-error.svg | 6 | ||||
| -rw-r--r-- | src/chrome/mozapps/extensions/alerticon-info-negative.png | bin | 1564 -> 0 bytes | |||
| -rw-r--r-- | src/chrome/mozapps/extensions/alerticon-info-negative.svg | 6 | ||||
| -rw-r--r-- | src/chrome/mozapps/extensions/alerticon-info-positive.png | bin | 1338 -> 0 bytes | |||
| -rw-r--r-- | src/chrome/mozapps/extensions/alerticon-info-positive.svg | 6 | ||||
| -rw-r--r-- | src/chrome/mozapps/extensions/alerticon-warning.png | bin | 1567 -> 0 bytes | |||
| -rw-r--r-- | src/chrome/mozapps/extensions/alerticon-warning.svg | 6 | ||||
| -rw-r--r-- | src/chrome/mozapps/extensions/extensions.css | 14 |
9 files changed, 31 insertions, 7 deletions
diff --git a/src/chrome/mozapps/extensions/alerticon-error.png b/src/chrome/mozapps/extensions/alerticon-error.png deleted file mode 100644 index 8740e49..0000000 --- a/src/chrome/mozapps/extensions/alerticon-error.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/mozapps/extensions/alerticon-error.svg b/src/chrome/mozapps/extensions/alerticon-error.svg new file mode 100644 index 0000000..04acb4f --- /dev/null +++ b/src/chrome/mozapps/extensions/alerticon-error.svg | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | <!-- This Source Code Form is subject to the terms of the Mozilla Public | ||
| 2 | - License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| 3 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | ||
| 4 | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 18 18"> | ||
| 5 | <path fill="#e62117" d="M10.124,1.324l7.705,14.127c0.234,0.421,0.228,0.843-0.019,1.264c-0.114,0.193-0.271,0.347-0.467,0.461c-0.198,0.114-0.41,0.171-0.638,0.171H1.294c-0.228,0-0.44-0.057-0.636-0.171c-0.198-0.114-0.353-0.268-0.467-0.461c-0.247-0.421-0.254-0.843-0.02-1.264L7.876,1.324C7.99,1.117,8.147,0.953,8.348,0.833C8.548,0.712,8.766,0.652,9,0.652c0.234,0,0.451,0.06,0.652,0.181C9.853,0.953,10.009,1.117,10.124,1.324z M10.264,10.695l0.181-4.605c0-0.08-0.034-0.143-0.1-0.191c-0.087-0.073-0.168-0.11-0.241-0.11H7.896c-0.073,0-0.154,0.037-0.241,0.11c-0.067,0.048-0.1,0.118-0.1,0.211l0.17,4.586c0,0.067,0.034,0.122,0.1,0.165c0.067,0.044,0.147,0.065,0.241,0.065h1.856c0.094,0,0.172-0.021,0.236-0.065C10.222,10.818,10.258,10.762,10.264,10.695z M10.284,14.448v-1.907c0-0.094-0.031-0.172-0.095-0.236c-0.064-0.064-0.139-0.095-0.225-0.095H8.036c-0.087,0-0.162,0.031-0.225,0.095c-0.064,0.064-0.095,0.142-0.095,0.236v1.907c0,0.094,0.031,0.173,0.095,0.236c0.064,0.064,0.138,0.095,0.225,0.095h1.927c0.086,0,0.162-0.031,0.225-0.095C10.252,14.621,10.284,14.542,10.284,14.448z"/> | ||
| 6 | </svg> | ||
diff --git a/src/chrome/mozapps/extensions/alerticon-info-negative.png b/src/chrome/mozapps/extensions/alerticon-info-negative.png deleted file mode 100644 index 2c5f628..0000000 --- a/src/chrome/mozapps/extensions/alerticon-info-negative.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/mozapps/extensions/alerticon-info-negative.svg b/src/chrome/mozapps/extensions/alerticon-info-negative.svg new file mode 100644 index 0000000..5175b25 --- /dev/null +++ b/src/chrome/mozapps/extensions/alerticon-info-negative.svg | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | <!-- This Source Code Form is subject to the terms of the Mozilla Public | ||
| 2 | - License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| 3 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | ||
| 4 | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 18 18"> | ||
| 5 | <path fill="#828282" d="M10.124,1.324l7.705,14.127c0.234,0.421,0.228,0.843-0.019,1.264c-0.114,0.193-0.271,0.347-0.467,0.461c-0.198,0.114-0.41,0.171-0.638,0.171H1.294c-0.228,0-0.44-0.057-0.636-0.171c-0.198-0.114-0.353-0.268-0.467-0.461c-0.247-0.421-0.254-0.843-0.02-1.264L7.876,1.324C7.99,1.117,8.147,0.953,8.348,0.833C8.548,0.712,8.766,0.652,9,0.652c0.234,0,0.451,0.06,0.652,0.181C9.853,0.953,10.009,1.117,10.124,1.324z M10.264,10.695l0.181-4.605c0-0.08-0.034-0.143-0.1-0.191c-0.087-0.073-0.168-0.11-0.241-0.11H7.896c-0.073,0-0.154,0.037-0.241,0.11c-0.067,0.048-0.1,0.118-0.1,0.211l0.17,4.586c0,0.067,0.034,0.122,0.1,0.165c0.067,0.044,0.147,0.065,0.241,0.065h1.856c0.094,0,0.172-0.021,0.236-0.065C10.222,10.818,10.258,10.762,10.264,10.695z M10.284,14.448v-1.907c0-0.094-0.031-0.172-0.095-0.236c-0.064-0.064-0.139-0.095-0.225-0.095H8.036c-0.087,0-0.162,0.031-0.225,0.095c-0.064,0.064-0.095,0.142-0.095,0.236v1.907c0,0.094,0.031,0.173,0.095,0.236c0.064,0.064,0.138,0.095,0.225,0.095h1.927c0.086,0,0.162-0.031,0.225-0.095C10.252,14.621,10.284,14.542,10.284,14.448z"/> | ||
| 6 | </svg> | ||
diff --git a/src/chrome/mozapps/extensions/alerticon-info-positive.png b/src/chrome/mozapps/extensions/alerticon-info-positive.png deleted file mode 100644 index a186c6b..0000000 --- a/src/chrome/mozapps/extensions/alerticon-info-positive.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/mozapps/extensions/alerticon-info-positive.svg b/src/chrome/mozapps/extensions/alerticon-info-positive.svg new file mode 100644 index 0000000..dec3698 --- /dev/null +++ b/src/chrome/mozapps/extensions/alerticon-info-positive.svg | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | <!-- This Source Code Form is subject to the terms of the Mozilla Public | ||
| 2 | - License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| 3 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | ||
| 4 | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 18 18"> | ||
| 5 | <path fill="#51A040" d="M18,4.796c0,0.31-0.109,0.573-0.325,0.79l-8.408,8.406l-1.579,1.58c-0.217,0.217-0.48,0.325-0.789,0.325c-0.31,0-0.573-0.108-0.79-0.325l-1.579-1.58L0.325,9.79C0.108,9.573,0,9.31,0,9s0.108-0.573,0.325-0.79l1.58-1.579c0.216-0.217,0.479-0.325,0.789-0.325s0.573,0.108,0.79,0.325l3.414,3.426l7.617-7.63c0.217-0.216,0.48-0.325,0.79-0.325c0.309,0,0.572,0.109,0.789,0.325l1.58,1.58C17.891,4.224,18,4.487,18,4.796z"/> | ||
| 6 | </svg> | ||
diff --git a/src/chrome/mozapps/extensions/alerticon-warning.png b/src/chrome/mozapps/extensions/alerticon-warning.png deleted file mode 100644 index 75ea826..0000000 --- a/src/chrome/mozapps/extensions/alerticon-warning.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/chrome/mozapps/extensions/alerticon-warning.svg b/src/chrome/mozapps/extensions/alerticon-warning.svg new file mode 100644 index 0000000..5c21e28 --- /dev/null +++ b/src/chrome/mozapps/extensions/alerticon-warning.svg | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | <!-- This Source Code Form is subject to the terms of the Mozilla Public | ||
| 2 | - License, v. 2.0. If a copy of the MPL was not distributed with this | ||
| 3 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | ||
| 4 | <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 18 18"> | ||
| 5 | <path fill="#E0BF2C" d="M10.124,1.324l7.705,14.127c0.234,0.421,0.228,0.843-0.019,1.264c-0.114,0.193-0.271,0.347-0.467,0.461c-0.198,0.114-0.41,0.171-0.638,0.171H1.294c-0.228,0-0.44-0.057-0.636-0.171c-0.198-0.114-0.353-0.268-0.467-0.461c-0.247-0.421-0.254-0.843-0.02-1.264L7.876,1.324C7.99,1.117,8.147,0.953,8.348,0.833C8.548,0.712,8.766,0.652,9,0.652c0.234,0,0.451,0.06,0.652,0.181C9.853,0.953,10.009,1.117,10.124,1.324z M10.264,10.695l0.181-4.605c0-0.08-0.034-0.143-0.1-0.191c-0.087-0.073-0.168-0.11-0.241-0.11H7.896c-0.073,0-0.154,0.037-0.241,0.11c-0.067,0.048-0.1,0.118-0.1,0.211l0.17,4.586c0,0.067,0.034,0.122,0.1,0.165c0.067,0.044,0.147,0.065,0.241,0.065h1.856c0.094,0,0.172-0.021,0.236-0.065C10.222,10.818,10.258,10.762,10.264,10.695z M10.284,14.448v-1.907c0-0.094-0.031-0.172-0.095-0.236c-0.064-0.064-0.139-0.095-0.225-0.095H8.036c-0.087,0-0.162,0.031-0.225,0.095c-0.064,0.064-0.095,0.142-0.095,0.236v1.907c0,0.094,0.031,0.173,0.095,0.236c0.064,0.064,0.138,0.095,0.225,0.095h1.927c0.086,0,0.162-0.031,0.225-0.095C10.252,14.621,10.284,14.542,10.284,14.448z"/> | ||
| 6 | </svg> | ||
diff --git a/src/chrome/mozapps/extensions/extensions.css b/src/chrome/mozapps/extensions/extensions.css index 2f1b984..7aef586 100644 --- a/src/chrome/mozapps/extensions/extensions.css +++ b/src/chrome/mozapps/extensions/extensions.css | |||
| @@ -86,14 +86,14 @@ | |||
| 86 | /*** notification icons ***/ | 86 | /*** notification icons ***/ |
| 87 | 87 | ||
| 88 | .warning-icon { | 88 | .warning-icon { |
| 89 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.png"); | 89 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-warning.svg"); |
| 90 | width: 16px; | 90 | width: 16px; |
| 91 | height: 15px; | 91 | height: 15px; |
| 92 | margin: 3px 0; | 92 | margin: 3px 0; |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | .error-icon { | 95 | .error-icon { |
| 96 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-error.png"); | 96 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-error.svg"); |
| 97 | width: 16px; | 97 | width: 16px; |
| 98 | height: 15px; | 98 | height: 15px; |
| 99 | margin: 3px 0; | 99 | margin: 3px 0; |
| @@ -101,7 +101,7 @@ | |||
| 101 | 101 | ||
| 102 | .pending-icon, | 102 | .pending-icon, |
| 103 | .info-icon { | 103 | .info-icon { |
| 104 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-positive.png"); | 104 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-positive.svg"); |
| 105 | width: 16px; | 105 | width: 16px; |
| 106 | height: 15px; | 106 | height: 15px; |
| 107 | margin: 3px 0; | 107 | margin: 3px 0; |
| @@ -109,7 +109,7 @@ | |||
| 109 | 109 | ||
| 110 | .addon-view[pending="disable"] .pending-icon, | 110 | .addon-view[pending="disable"] .pending-icon, |
| 111 | .addon-view[pending="uninstall"] .pending-icon { | 111 | .addon-view[pending="uninstall"] .pending-icon { |
| 112 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); | 112 | list-style-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.svg"); |
| 113 | width: 16px; | 113 | width: 16px; |
| 114 | height: 15px; | 114 | height: 15px; |
| 115 | margin: 3px 0; | 115 | margin: 3px 0; |
| @@ -525,15 +525,15 @@ | |||
| 525 | } | 525 | } |
| 526 | 526 | ||
| 527 | .addon-view .warning { | 527 | .addon-view .warning { |
| 528 | color: #916D15; | 528 | color: #d8b826; |
| 529 | } | 529 | } |
| 530 | 530 | ||
| 531 | .addon-view .error { | 531 | .addon-view .error { |
| 532 | color: #864441; | 532 | color: #e62117; |
| 533 | } | 533 | } |
| 534 | 534 | ||
| 535 | .addon-view .pending { | 535 | .addon-view .pending { |
| 536 | color: #1B7123; | 536 | color: #62c44e; |
| 537 | } | 537 | } |
| 538 | 538 | ||
| 539 | .addon-view[pending="disable"] .pending, | 539 | .addon-view[pending="disable"] .pending, |
