Fix: Icons - Other TabMixPlus icons

This commit is contained in:
alstjr7375 2022-11-06 09:34:44 +09:00
parent 3a8ce747f3
commit 000ae7bedd
9 changed files with 112 additions and 9 deletions

View file

@ -9935,13 +9935,30 @@
/*= Tab Mix Plus =============================================================*/ /*= Tab Mix Plus =============================================================*/
#context_openANewTab.tabmix-newtab-menu-icon { #context_openANewTab.tabmix-newtab-menu-icon {
list-style-image: var(--menuitem-image) !important; list-style-image: none !important;
}
@supports -moz-bool-pref("userChrome.icon.menu.full") {
#tm-duplicateinWin {
--menuitem-image: url("../icons/tab-desktop-multiple-bottom.svg");
}
#tm-mergeWindowsTab {
--menuitem-image: url("../icons/merge.svg");
}
}
#tm-renameTab {
--menuitem-image: url("chrome://global/skin/icons/edit.svg");
} }
#tm-copyTabUrl { #tm-copyTabUrl {
--menuitem-image: url("../icons/link.svg"); --menuitem-image: url("../icons/link.svg");
} }
#tm-autoreloadTab_menu {
--menuitem-image: url("../icons/timer10.svg");
}
#context_reloadTabOptions { #context_reloadTabOptions {
--menuitem-image: url("../icons/reload.svg"); --menuitem-image: url("../icons/reload.svg");
} }
@ -9956,6 +9973,14 @@
} }
} }
#tm-docShell {
--menuitem-image: url("chrome://browser/skin/permissions.svg");
}
#tm-freezeTab {
--menuitem-image: url("../icons/weather-snowflake.svg");
}
#tm-protectTab { #tm-protectTab {
--menuitem-image: url("../icons/shield-task.svg"); --menuitem-image: url("../icons/shield-task.svg");
} }
@ -10293,13 +10318,53 @@
} }
/*= Tab Mix Plus =============================================================*/ /*= Tab Mix Plus =============================================================*/
#tm-autoreload_menu { #tm-autoreload_menu {
--menuitem-image: url("../icons/reload-auto.svg"); --menuitem-image: url("../icons/timer10.svg");
}
#tm-linkWithhistory {
--menuitem-image: url("../icons/new-tab-skip-forward.svg");
} }
#tm-openAllLinks { #tm-openAllLinks {
--menuitem-image: url("../icons/new-tab-multiple.svg"); --menuitem-image: url("../icons/new-tab-multiple.svg");
} }
#tm-openinverselink {
--menuitem-image: url("../icons/new-tab-forward.svg");
}
#tm-content-closetab {
--menuitem-image: url("../icons/dismiss-filled.svg");
}
#tm-duplicateTabContext {
--menuitem-image: url("../icons/tab-copy.svg");
}
#tm-duplicateinWinContext {
--menuitem-image: url("../icons/tab-desktop-multiple-bottom.svg");
}
#tm-detachTabContext {
--menuitem-image: url("../icons/convert-range.svg");
}
#tm-mergeWindows {
--menuitem-image: url("../icons/merge.svg");
}
#tm-content-freezeTab {
--menuitem-image: url("../icons/weather-snowflake.svg");
}
#tm-content-protectTab {
--menuitem-image: url("../icons/shield-task.svg");
}
#tm-content-lockTab {
--menuitem-image: url("../icons/lock-closed.svg");
}
#tm-content-undoCloseTab { #tm-content-undoCloseTab {
--menuitem-image: url("../icons/undo.svg"); --menuitem-image: url("../icons/undo.svg");
} }

3
icons/merge.svg Normal file
View file

@ -0,0 +1,3 @@
<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">
<path fill="#212121" d="M0 3.789c0-.349.283-.632.632-.632h2.743c.838 0 1.64.333 2.233.925l2.484 2.485a2.74 2.74 0 0 0 1.936.801h3.816l-3.132-3.132a.632.632 0 1 1 .894-.894l4.21 4.211a.632.632 0 0 1 0 .894l-4.21 4.21a.631.631 0 1 1-.894-.893l3.132-3.132h-3.765a2.74 2.74 0 0 0-1.985.852L5.837 11.86a3.158 3.158 0 0 1-2.29.983H.632a.632.632 0 0 1 0-1.264h2.915c.52 0 1.016-.213 1.374-.59l2.257-2.376c.217-.228.458-.428.718-.597a4.004 4.004 0 0 1-.697-.556L4.715 4.976a1.895 1.895 0 0 0-1.34-.555H.632A.632.632 0 0 1 0 3.789Z" />
</svg>

After

Width:  |  Height:  |  Size: 676 B

View file

@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill="context-fill" fill-opacity="context-fill-opacity">
<path d="M4 3.192a2 2 0 0 0-2 2v4.585H1c-1.334 0-1.334 1.485 0 1.485h7v-.485a1 1 0 0 1 .872-.99h-5.64V7.34h.01V5.36a1.11 1.11 0 0 1 1.113-1.114h7.035a1.11 1.11 0 0 1 1.113 1.113v1.418h.496a1 1 0 0 1 1 1V5.192a2 2 0 0 0-2-2h-8z"/>
<path d="M8.695 10.604h6.186L12.528 8.25a.342.342 0 0 1 .484-.483L16 10.758v.376l-2.989 2.988a.34.34 0 0 1-.483 0 .343.343 0 0 1 0-.483l2.353-2.353H8.695a.341.341 0 0 1 0-.682z"/>
</svg>

After

Width:  |  Height:  |  Size: 561 B

View file

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill="context-fill" fill-opacity="context-fill-opacity">
<path d="M16 .655a.632.632 0 0 0-1.263 0v2.863C13.765 2.35 12.506 1.36 10.924.87a9.419 9.419 0 0 0-6.091.162C2.883 1.758 1.04 3.23.078 4.984a.632.632 0 1 0 1.107.607c.796-1.45 2.38-2.74 4.088-3.375a8.156 8.156 0 0 1 5.277-.139c1.433.444 2.586 1.401 3.477 2.578h-3.29a.632.632 0 0 0 0 1.264h4.631A.632.632 0 0 0 16 5.287zM4.037 6.939a2 2 0 0 0-2 2v4.089H.998c-1.332.002-1.332 1.527 0 1.527h14c1.335.002 1.335-1.527 0-1.527v.002h-1.3V8.938a2 2 0 0 0-2-2zm.407 1.065h6.818a1.11 1.11 0 0 1 1.113 1.113v3.913H3.33V9.117a1.11 1.11 0 0 1 1.114-1.113z"/>
</svg>

After

Width:  |  Height:  |  Size: 696 B

View file

@ -0,0 +1,3 @@
<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">
<path d="M3.207 2.4h1.207A1.4 1.4 0 0 1 5.8 1.2h6.4a2.6 2.6 0 0 1 2.6 2.6v6.4a1.4 1.4 0 0 1-1.2 1.386v1.206A2.6 2.6 0 0 0 16 10.2V3.8A3.8 3.8 0 0 0 12.2 0H5.8a2.6 2.6 0 0 0-2.593 2.4ZM0 5.8a2.6 2.6 0 0 1 2.6-2.6h7.6a2.6 2.6 0 0 1 2.6 2.6v7.6a2.6 2.6 0 0 1-2.6 2.6H2.6A2.6 2.6 0 0 1 0 13.4Zm2.6-1.4a1.4 1.4 0 0 0-1.4 1.4v5.8h4.6a1.8 1.8 0 0 1 1.8 1.8v1.4h2.6a1.4 1.4 0 0 0 1.4-1.4V5.8a1.4 1.4 0 0 0-1.4-1.4zm3.8 10.4v-1.4a.6.6 0 0 0-.6-.6H1.2v.6a1.4 1.4 0 0 0 1.4 1.4z"/>
</svg>

After

Width:  |  Height:  |  Size: 620 B

3
icons/timer10.svg Normal file
View file

@ -0,0 +1,3 @@
<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">
<path d="M7.024 1.951a6.636 6.636 0 0 1 6.538 5.5 3.34 3.34 0 0 0-1.184.037A5.465 5.465 0 0 0 1.56 8.585a5.463 5.463 0 0 0 5.854 5.45v1.173a6.634 6.634 0 1 1-.39-13.257zm.586 5.78V4.878l-.006-.08a.586.586 0 0 0-1.165.08V8.39l.005.07a1.36 1.36 0 0 1 .734-.585Zm4.993-5.691.064.047.904.752a.585.585 0 0 1-.684.947l-.065-.047-.904-.753a.585.585 0 0 1 .685-.946ZM8.78 0a.585.585 0 0 1 .08 1.165l-.08.006H5.268a.585.585 0 0 1-.08-1.166L5.269 0zm.343 8.306c.152.11.243.286.243.474v6.635a.585.585 0 0 1-1.17 0V9.593l-.401.133a.585.585 0 0 1-.37-1.11l1.17-.39a.585.585 0 0 1 .528.08zm1.414 2.426a2.537 2.537 0 0 1 5.073 0v2.731a2.537 2.537 0 0 1-5.073 0Zm2.536-1.366c-.754 0-1.366.611-1.366 1.366v2.731a1.366 1.366 0 1 0 2.732 0v-2.731c0-.755-.611-1.366-1.366-1.366z"/>
</svg>

After

Width:  |  Height:  |  Size: 911 B

View file

@ -0,0 +1,3 @@
<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">
<path d="M8 0c.312 0 .57.232.61.532l.005.083v2.746l1.782-1.565a.615.615 0 0 1 .813.924L8.615 5l-.001 2.384H11l2.28-2.594a.615.615 0 0 1 .796-.11l.073.055a.615.615 0 0 1 .11.795l-.054.073-1.566 1.78h2.745c.311 0 .569.232.61.532L16 8a.616.616 0 0 1-.532.61l-.083.005h-2.747l1.566 1.783a.615.615 0 0 1 .008.804l-.064.065a.615.615 0 0 1-.804.007l-.065-.063L11 8.615l-2.386-.001V11l2.597 2.28a.616.616 0 0 1 .11.796l-.054.073a.616.616 0 0 1-.796.111l-.073-.055-1.783-1.567-.001 2.747a.616.616 0 0 1-.532.61L7.997 16a.616.616 0 0 1-.61-.532l-.005-.083V12.64l-1.779 1.564a.615.615 0 0 1-.813-.924L7.382 11V8.615H5.18l-2.459 2.8a.615.615 0 0 1-.925-.813l1.746-1.987H.615a.616.616 0 0 1-.61-.531L0 8c0-.311.231-.569.532-.61l.083-.005H3.18L1.795 5.807a.615.615 0 0 1 .925-.811l2.096 2.388h2.567V4.998L4.79 2.718a.616.616 0 0 1-.11-.796l.055-.072a.616.616 0 0 1 .795-.111l.073.055 1.78 1.565.002-2.744c0-.283.191-.521.451-.593l.08-.016z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -264,34 +264,44 @@
/*= Tab Mix Plus =============================================================*/ /*= Tab Mix Plus =============================================================*/
#tm-autoreload_menu { #tm-autoreload_menu {
--menuitem-image: url("../icons/reload-auto.svg"); // --menuitem-image: url("../icons/reload-auto.svg");
--menuitem-image: url("../icons/timer10.svg");
} }
#tm-linkWithhistory { #tm-linkWithhistory {
// ic_fluent_skip_forward_tab_24_regular
--menuitem-image: url("../icons/new-tab-skip-forward.svg");
} }
#tm-openAllLinks { #tm-openAllLinks {
--menuitem-image: url("../icons/new-tab-multiple.svg"); --menuitem-image: url("../icons/new-tab-multiple.svg");
} }
#tm-openinverselink { #tm-openinverselink {
} --menuitem-image: url("../icons/new-tab-forward.svg");
#context-openlinkinusercontext-menu {
} }
#tm-content-closetab { #tm-content-closetab {
--menuitem-image: url("../icons/dismiss-filled.svg");
} }
#tm-duplicateTabContext { #tm-duplicateTabContext {
--menuitem-image: url("../icons/tab-copy.svg");
} }
#tm-duplicateinWinContext { #tm-duplicateinWinContext {
--menuitem-image: url("../icons/tab-desktop-multiple-bottom.svg");
} }
#tm-detachTabContext { #tm-detachTabContext {
--menuitem-image: url("../icons/convert-range.svg");
} }
#tm-mergeWindows { #tm-mergeWindows {
--menuitem-image: url("../icons/merge.svg");
} }
#tm-content-freezeTab { #tm-content-freezeTab {
--menuitem-image: url("../icons/weather-snowflake.svg");
} }
#tm-content-protectTab { #tm-content-protectTab {
--menuitem-image: url("../icons/shield-task.svg");
} }
#tm-content-lockTab { #tm-content-lockTab {
--menuitem-image: url("../icons/lock-closed.svg");
} }
#tm-tabsList { #tm-tabsList {
} }

View file

@ -222,19 +222,26 @@ menuitem.viewCustomizeToolbar {
/*= Tab Mix Plus =============================================================*/ /*= Tab Mix Plus =============================================================*/
#context_openANewTab.tabmix-newtab-menu-icon { #context_openANewTab.tabmix-newtab-menu-icon {
list-style-image: var(--menuitem-image) !important; list-style-image: none !important;
} }
#tm-duplicateinWin { @include Option("userChrome.icon.menu.full") {
} #tm-duplicateinWin {
#tm-mergeWindowsTab { --menuitem-image: url("../icons/tab-desktop-multiple-bottom.svg");
}
#tm-mergeWindowsTab {
--menuitem-image: url("../icons/merge.svg");
}
} }
#tm-renameTab { #tm-renameTab {
--menuitem-image: url("chrome://global/skin/icons/edit.svg");
} }
#tm-copyTabUrl { #tm-copyTabUrl {
--menuitem-image: url("../icons/link.svg"); --menuitem-image: url("../icons/link.svg");
} }
#tm-autoreloadTab_menu { #tm-autoreloadTab_menu {
// --menuitem-image: url("../icons/reload-auto.svg");
--menuitem-image: url("../icons/timer10.svg");
} }
#context_reloadTabOptions { #context_reloadTabOptions {
--menuitem-image: url("../icons/reload.svg"); --menuitem-image: url("../icons/reload.svg");
@ -252,8 +259,10 @@ menuitem.viewCustomizeToolbar {
} }
#tm-docShell { #tm-docShell {
--menuitem-image: url("chrome://browser/skin/permissions.svg");
} }
#tm-freezeTab { #tm-freezeTab {
--menuitem-image: url("../icons/weather-snowflake.svg");
} }
#tm-protectTab { #tm-protectTab {
--menuitem-image: url("../icons/shield-task.svg"); --menuitem-image: url("../icons/shield-task.svg");