mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 10:41:18 -08:00
Add: Icon - Private tab, Restart menu icon
https://github.com/WaterfoxCo/Waterfox/issues/2584
This commit is contained in:
parent
83eb097557
commit
19e9f7ac35
3 changed files with 38 additions and 4 deletions
9
icons/priavate-favicon.svg
Normal file
9
icons/priavate-favicon.svg
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<!-- 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" width="16" height="16" viewBox="0 0 16 16" fill="context-fill" fill-opacity="context-fill-opacity">
|
||||||
|
<circle cx="8" cy="8" r="7.5"/>
|
||||||
|
<path filter="invert(100%) brightness(1.3)" d="M13.948 5.886c-1.143-1.501-3.388-1.693-4.785-.409l-.782.718-.765 0-.782-.718c-1.398-1.284-3.642-1.092-4.786.409-.148.585.081 2.745.21 3.085.26 1.372 1.382 2.404 2.726 2.404.671 0 1.279-.268 1.76-.697l.293-.251a1.451 1.451 0 0 1 1.883-.016l.44.364 0-.002a2.622 2.622 0 0 0 1.652.601c1.344 0 2.466-1.032 2.726-2.404.13-.339.367-2.49.21-3.084z"/>
|
||||||
|
<path d="M5.3 6.843c-.558 0-1.054.233-1.374.594a.519.519 0 0 0 0 .678c.32.362.816.594 1.374.594s1.054-.233 1.374-.594a.519.519 0 0 0 0-.678A1.828 1.828 0 0 0 5.3 6.843z"/>
|
||||||
|
<path d="M10.7 6.843c-.558 0-1.054.233-1.374.594a.519.519 0 0 0 0 .678c.32.362.816.594 1.374.594s1.054-.233 1.374-.594a.519.519 0 0 0 0-.678 1.828 1.828 0 0 0-1.374-.594z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
9
icons/refresh-cw.svg
Normal file
9
icons/refresh-cw.svg
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="context-fill" fill-opacity="context-fill-opacity" style="stroke-linecap:round;stroke-linejoin:round">
|
||||||
|
<clipPath id="a">
|
||||||
|
<path d="M.5 0h15v16H.5z"/>
|
||||||
|
</clipPath>
|
||||||
|
<g clip-path="url(#a)">
|
||||||
|
<path d="M14.875 2.667v4h-3.75M1.125 13.333v-4h3.75" style="fill:none;fill-rule:nonzero;stroke:context-fill;stroke-width:1.62px"/>
|
||||||
|
<path d="M2.694 6c.793-2.391 2.925-3.998 5.303-3.998 1.491 0 2.923.633 3.978 1.758l2.9 2.907M1.125 9.333l2.9 2.907c1.055 1.125 2.487 1.758 3.978 1.758 2.378 0 4.51-1.607 5.303-3.998" style="fill:none;fill-rule:nonzero;stroke:context-fill;stroke-width:1.62px"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 697 B |
|
|
@ -4542,7 +4542,8 @@ menupopup:is(#menu_FilePopup, #menu_EditPopup, #menu_viewPopup, #goPopup, #histo
|
||||||
menupopup:is(#organizeButtonPopup, #maintenanceButtonPopup) > menuitem,
|
menupopup:is(#organizeButtonPopup, #maintenanceButtonPopup) > menuitem,
|
||||||
menupopup:is(#viewMenuPopup, #maintenanceButtonPopup) > menu,
|
menupopup:is(#viewMenuPopup, #maintenanceButtonPopup) > menu,
|
||||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup) > menuitem,
|
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup) > menuitem,
|
||||||
#blockedPopupDontShowMessage {
|
#blockedPopupDontShowMessage,
|
||||||
|
menuitem.privatetab-icon /* Waterfox */ {
|
||||||
/* Color */
|
/* Color */
|
||||||
-moz-context-properties: fill, fill-opacity !important;
|
-moz-context-properties: fill, fill-opacity !important;
|
||||||
fill: currentColor !important;
|
fill: currentColor !important;
|
||||||
|
|
@ -4579,7 +4580,8 @@ menupopup:is(#menu_FilePopup, #menu_EditPopup, #menu_viewPopup, #goPopup, #histo
|
||||||
menupopup:is(#organizeButtonPopup, #maintenanceButtonPopup) > menuitem,
|
menupopup:is(#organizeButtonPopup, #maintenanceButtonPopup) > menuitem,
|
||||||
menupopup:is(#viewMenuPopup, #maintenanceButtonPopup) > menu,
|
menupopup:is(#viewMenuPopup, #maintenanceButtonPopup) > menu,
|
||||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup) > menuitem,
|
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup) > menuitem,
|
||||||
#blockedPopupDontShowMessage {
|
#blockedPopupDontShowMessage,
|
||||||
|
menuitem.privatetab-icon /* Waterfox */ {
|
||||||
background-position: left var(--context-menu-background-padding) center !important;
|
background-position: left var(--context-menu-background-padding) center !important;
|
||||||
padding-inline-start: var(--context-menu-background-padding) !important;
|
padding-inline-start: var(--context-menu-background-padding) !important;
|
||||||
}
|
}
|
||||||
|
|
@ -4640,7 +4642,8 @@ menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||||
menupopup:is(#organizeButtonPopup, #maintenanceButtonPopup) > menuitem,
|
menupopup:is(#organizeButtonPopup, #maintenanceButtonPopup) > menuitem,
|
||||||
menupopup:is(#viewMenuPopup, #maintenanceButtonPopup) > menu,
|
menupopup:is(#viewMenuPopup, #maintenanceButtonPopup) > menu,
|
||||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup) > menuitem,
|
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup) > menuitem,
|
||||||
#blockedPopupDontShowMessage {
|
#blockedPopupDontShowMessage,
|
||||||
|
menuitem.privatetab-icon /* Waterfox */ {
|
||||||
background-position: left var(--context-menu-background-padding) center !important;
|
background-position: left var(--context-menu-background-padding) center !important;
|
||||||
padding-inline-start: 0 !important;
|
padding-inline-start: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
@ -4666,7 +4669,8 @@ menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||||
menupopup:is(#organizeButtonPopup, #maintenanceButtonPopup) > menuitem,
|
menupopup:is(#organizeButtonPopup, #maintenanceButtonPopup) > menuitem,
|
||||||
menupopup:is(#viewMenuPopup, #maintenanceButtonPopup) > menu,
|
menupopup:is(#viewMenuPopup, #maintenanceButtonPopup) > menu,
|
||||||
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup) > menuitem,
|
menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup) > menuitem,
|
||||||
#blockedPopupDontShowMessage {
|
#blockedPopupDontShowMessage,
|
||||||
|
menuitem.privatetab-icon /* Waterfox */ {
|
||||||
padding-inline-start: var(--menu-background-padding-default) !important;
|
padding-inline-start: var(--menu-background-padding-default) !important;
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
@ -5878,3 +5882,15 @@ menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
||||||
#browserImport {
|
#browserImport {
|
||||||
--menuitem-image: url("chrome://browser/skin/import.svg");
|
--menuitem-image: url("chrome://browser/skin/import.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*= Waterfox =================================================================*/
|
||||||
|
#appMenu-restart-button {
|
||||||
|
list-style-image: url("./icons/refresh-cw.svg") !important;
|
||||||
|
}
|
||||||
|
#menu_FileRestartItem {
|
||||||
|
--menuitem-image: url("./icons/refresh-cw.svg");
|
||||||
|
}
|
||||||
|
|
||||||
|
menuitem.privatetab-icon {
|
||||||
|
--menuitem-image: url("./icons/priavate-favicon.svg");
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue