Advertisement
towkir

bookmark-toolbar-icon

Sep 29th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 7.88 KB | None | 0 0
  1. diff --git a/browser/themes/shared/places/bookmarksMenu.svg b/browser/themes/shared/places/bookmarksMenu.svg
  2. --- a/browser/themes/shared/places/bookmarksMenu.svg
  3. +++ b/browser/themes/shared/places/bookmarksMenu.svg
  4. @@ -1,7 +1,7 @@
  5.  <!-- This Source Code Form is subject to the terms of the Mozilla Public
  6.     - License, v. 2.0. If a copy of the MPL was not distributed with this
  7.     - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  8. -<svg width="16" height="16" viewBox="0 0 16 16" fill="context-fill" xmlns="http://www.w3.org/2000/svg">
  9. +<svg width="16" height="16" viewBox="0 0 16 16" fill="context-fill" fill-opacity="context-fill-opacity" xmlns="http://www.w3.org/2000/svg">
  10.    <path fill-opacity=".05" d="M15,2H1v12c0,0.6,0.5,1,1,1h12c0.6,0,1-0.4,1-1V2L15,2z"/>
  11.    <path d="M3,5v1h2V5H3z M3,9h2V8H3V9z M3,12h2v-1H3V12z"/>
  12.    <path fill-opacity=".9" d="M6,5v1h7V5H6z M12,8H6v1h6V8z M6,12h7v-1H6V12z"/>
  13. diff --git a/browser/themes/shared/places/bookmarksToolbar.svg b/browser/themes/shared/places/bookmarksToolbar.svg
  14. --- a/browser/themes/shared/places/bookmarksToolbar.svg
  15. +++ b/browser/themes/shared/places/bookmarksToolbar.svg
  16. @@ -1,7 +1,7 @@
  17.  <!-- This Source Code Form is subject to the terms of the Mozilla Public
  18.     - License, v. 2.0. If a copy of the MPL was not distributed with this
  19.     - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  20. -<svg width="16" height="16" viewBox="0 0 16 16" fill="context-fill" xmlns="http://www.w3.org/2000/svg">
  21. +<svg width="16" height="16" viewBox="0 0 16 16" fill="context-fill" fill-opacity="context-fill-opacity" xmlns="http://www.w3.org/2000/svg">
  22.    <path fill-opacity=".15" d="M15,14H1c-0.6,0-1-0.4-1-1V3c0-0.5,0.4-1,1-1h14c0.6,0,1,0.5,1,1v10C16,13.6,15.6,14,15,14z"/>
  23.    <path d="M8.4,4.2l1,2.1l2.3,0.3c0.3,0,0.5,0.4,0.2,0.7l-1.7,1.7l0.4,2.4c0.1,0.3-0.3,0.6-0.6,0.4L8,10.8L6,12 c-0.3,0.1-0.6-0.1-0.6-0.4l0.4-2.4L4.1,7.4C3.9,7.2,4,6.8,4.3,6.7l2.3-0.3l1-2.1C7.8,3.9,8.2,3.9,8.4,4.2z"/>
  24.    <path d="M15,2H1C0.5,2,0,2.5,0,3v10c0,0.5,0.5,1,1,1h14c0.5,0,1-0.5,1-1V3C16,2.5,15.5,2,15,2z M15,12.5 c0,0.3-0.2,0.5-0.5,0.5h-13C1.2,13,1,12.8,1,12.5v-9C1,3.2,1.2,3,1.5,3h13C14.8,3,15,3.2,15,3.5V12.5z"/>
  25. diff --git a/browser/themes/shared/places/folder-live.svg b/browser/themes/shared/places/folder-live.svg
  26. --- a/browser/themes/shared/places/folder-live.svg
  27. +++ b/browser/themes/shared/places/folder-live.svg
  28. @@ -1,6 +1,6 @@
  29.  <!-- This Source Code Form is subject to the terms of the Mozilla Public
  30.     - License, v. 2.0. If a copy of the MPL was not distributed with this
  31.     - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  32. -<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
  33. -  <path fill="context-fill" d="M3.5,10A2.5,2.5,0,1,0,6,12.5,2.5,2.5,0,0,0,3.5,10ZM2,1A1,1,0,0,0,2,3,10.883,10.883,0,0,1,13,14a1,1,0,0,0,2,0A12.862,12.862,0,0,0,2,1ZM2,5A1,1,0,0,0,2,7a6.926,6.926,0,0,1,7,7,1,1,0,0,0,2,0A8.9,8.9,0,0,0,2,5Z"/>
  34. +<svg width="16" height="16" viewBox="0 0 16 16" fill="context-fill" fill-opacity="context-fill-opacity" xmlns="http://www.w3.org/2000/svg">
  35. +  <path d="M3.5,10A2.5,2.5,0,1,0,6,12.5,2.5,2.5,0,0,0,3.5,10ZM2,1A1,1,0,0,0,2,3,10.883,10.883,0,0,1,13,14a1,1,0,0,0,2,0A12.862,12.862,0,0,0,2,1ZM2,5A1,1,0,0,0,2,7a6.926,6.926,0,0,1,7,7,1,1,0,0,0,2,0A8.9,8.9,0,0,0,2,5Z"/>
  36.  </svg>
  37. diff --git a/browser/themes/shared/places/folder-smart.svg b/browser/themes/shared/places/folder-smart.svg
  38. --- a/browser/themes/shared/places/folder-smart.svg
  39. +++ b/browser/themes/shared/places/folder-smart.svg
  40. @@ -1,6 +1,6 @@
  41.  <!-- This Source Code Form is subject to the terms of the Mozilla Public
  42.     - License, v. 2.0. If a copy of the MPL was not distributed with this
  43.     - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  44. -<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
  45. -  <path fill="context-fill" d="M14,7H12.9a4.967,4.967,0,0,0-.732-1.753l.782-.783A1,1,0,1,0,11.535,3.05l-.782.783A4.968,4.968,0,0,0,9,3.1V2A1,1,0,0,0,7,2V3.1a4.968,4.968,0,0,0-1.753.732L4.464,3.05A1,1,0,0,0,3.05,4.464l.783.783A4.968,4.968,0,0,0,3.1,7H2A1,1,0,0,0,2,9H3.1a4.968,4.968,0,0,0,.732,1.753l-.783.782a1,1,0,1,0,1.414,1.414l.783-.782A4.967,4.967,0,0,0,7,12.9V14a1,1,0,0,0,2,0V12.9a4.968,4.968,0,0,0,1.753-.732l.782.782a1,1,0,0,0,1.414-1.414l-.782-.782A4.968,4.968,0,0,0,12.9,9H14a1,1,0,0,0,0-2ZM8,11a3,3,0,1,1,3-3A3,3,0,0,1,8,11Z"/>
  46. +<svg width="16" height="16" viewBox="0 0 16 16" fill="context-fill" fill-opacity="context-fill-opacity" xmlns="http://www.w3.org/2000/svg">
  47. +  <path d="M14,7H12.9a4.967,4.967,0,0,0-.732-1.753l.782-.783A1,1,0,1,0,11.535,3.05l-.782.783A4.968,4.968,0,0,0,9,3.1V2A1,1,0,0,0,7,2V3.1a4.968,4.968,0,0,0-1.753.732L4.464,3.05A1,1,0,0,0,3.05,4.464l.783.783A4.968,4.968,0,0,0,3.1,7H2A1,1,0,0,0,2,9H3.1a4.968,4.968,0,0,0,.732,1.753l-.783.782a1,1,0,1,0,1.414,1.414l.783-.782A4.967,4.967,0,0,0,7,12.9V14a1,1,0,0,0,2,0V12.9a4.968,4.968,0,0,0,1.753-.732l.782.782a1,1,0,0,0,1.414-1.414l-.782-.782A4.968,4.968,0,0,0,12.9,9H14a1,1,0,0,0,0-2ZM8,11a3,3,0,1,1,3-3A3,3,0,0,1,8,11Z"/>
  48.  </svg>
  49. diff --git a/browser/themes/shared/places/folder.svg b/browser/themes/shared/places/folder.svg
  50. --- a/browser/themes/shared/places/folder.svg
  51. +++ b/browser/themes/shared/places/folder.svg
  52. @@ -1,7 +1,7 @@
  53.  <!-- This Source Code Form is subject to the terms of the Mozilla Public
  54.     - License, v. 2.0. If a copy of the MPL was not distributed with this
  55.     - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  56. -<svg width="16" height="16" viewBox="0 0 16 16" fill="context-fill" xmlns="http://www.w3.org/2000/svg">
  57. +<svg width="16" height="16" viewBox="0 0 16 16" fill="context-fill" fill-opacity="context-fill-opacity" xmlns="http://www.w3.org/2000/svg">
  58.    <path fill-opacity=".15" d="M5,1H1C0.4,1,0,1.4,0,2v12.1C0,14.6,0.4,15,0.9,15h14.2c0.5,0,0.9-0.4,0.9-0.9V3.9C16,3.4,15.6,3,15.1,3H7 L6.2,1.9C6.2,1.9,5.6,1,5,1L5,1z"/>
  59.    <path d="M4.9,2C5,2.1,5.2,2.3,5.4,2.5l0.8,1.1L6.5,4H7h7.5C14.8,4,15,4.2,15,4.5v9c0,0.3-0.2,0.5-0.5,0.5h-13 C1.2,14,1,13.8,1,13.5v-11C1,2.2,1.2,2,1.5,2H4.9 M5,1H1C0.4,1,0,1.4,0,2v12.1C0,14.6,0.4,15,0.9,15h14.2c0.5,0,0.9-0.4,0.9-0.9V3.9 C16,3.4,15.6,3,15.1,3H7L6.2,1.9C6.2,1.9,5.6,1,5,1L5,1z"/>
  60.    <path fill-opacity=".15" d="M14,5H2C0.9,5,0,5.9,0,7v7c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1V7C16,5.9,15.1,5,14,5L14,5z"/>
  61. diff --git a/browser/themes/shared/places/unfiledBookmarks.svg b/browser/themes/shared/places/unfiledBookmarks.svg
  62. --- a/browser/themes/shared/places/unfiledBookmarks.svg
  63. +++ b/browser/themes/shared/places/unfiledBookmarks.svg
  64. @@ -1,7 +1,7 @@
  65.  <!-- This Source Code Form is subject to the terms of the Mozilla Public
  66.     - License, v. 2.0. If a copy of the MPL was not distributed with this
  67.     - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  68. -<svg width="16" height="16" viewBox="0 0 16 16" fill="context-fill" xmlns="http://www.w3.org/2000/svg">
  69. +<svg width="16" height="16" viewBox="0 0 16 16" fill="context-fill" fill-opacity="context-fill-opacity" xmlns="http://www.w3.org/2000/svg">
  70.    <path fill-opacity=".05" d="M12.7,1H3.3l-.2.6L.1,9,0,9.2V13a2.006,2.006,0,0,0,2,2H14a2.006,2.006,0,0,0,2-2V9.2L15.9,9l-3-7.4L12.7,1Z"/>
  71.    <path d="M12,2l3,7.4V13a.945.945,0,0,1-1,1H2a.945.945,0,0,1-1-1V9.4L4,2h8m.7-1H3.3L.1,9.1,0,9.2V13a2.006,2.006,0,0,0,2,2H14a2.006,2.006,0,0,0,2-2V9.2L15.9,9,12.7,1Z"/>
  72.    <path fill-opacity=".05" d="M14.988,9,12,2H4L.851,9H5.023A2.931,2.931,0,0,0,8,11.6,2.889,2.889,0,0,0,11.012,9Z"/>
  73. diff --git a/browser/themes/shared/toolbarbutton-icons.inc.css b/browser/themes/shared/toolbarbutton-icons.inc.css
  74. --- a/browser/themes/shared/toolbarbutton-icons.inc.css
  75. +++ b/browser/themes/shared/toolbarbutton-icons.inc.css
  76. @@ -526,8 +526,9 @@ toolbar[brighttext] {
  77.  
  78.  .bookmark-item {
  79.    list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.svg");
  80. -  -moz-context-properties: fill;
  81. +  -moz-context-properties: fill, fill-opacity;
  82.    fill: currentColor;
  83. +  fill-opacity: var(--toolbarbutton-icon-fill-opacity);
  84.  }
  85.  
  86.  .bookmark-item[container] {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement