This commit is contained in:
vinceliuice 2023-05-27 22:42:41 +08:00
parent 664ec7cc04
commit b0cad32aa1
5 changed files with 37 additions and 44 deletions

View file

@ -75,7 +75,6 @@ tab[selected]:-moz-window-inactive .tab-label {
color: var(--gnome-inactive-tabbar-tab-active-color) !important; color: var(--gnome-inactive-tabbar-tab-active-color) !important;
} }
.close-icon { .close-icon {
height: 16px !important; height: 16px !important;
padding: 0 !important; padding: 0 !important;

View file

@ -100,9 +100,6 @@ tab[selected]:-moz-window-inactive {
.tabbrowser-tab[image="chrome://global/skin/icons/info.svg"]:not([pinned]):not([busy]):not([progress]) .tab-icon-stack::before { .tabbrowser-tab[image="chrome://global/skin/icons/info.svg"]:not([pinned]):not([busy]):not([progress]) .tab-icon-stack::before {
margin-inline-end: 5.5px; margin-inline-end: 5.5px;
} }
.tabbrowser-tab[image="chrome://global/skin/icons/info.svg"] .tab-icon-image {
display: none !important;
}
/* Prevent tab icons size breaking */ /* Prevent tab icons size breaking */
.tab-icon-image, .tab-icon-sound, .tab-throbber, .tab-throbber-fallback, .tab-close-button { .tab-icon-image, .tab-icon-sound, .tab-throbber, .tab-throbber-fallback, .tab-close-button {

View file

@ -5,7 +5,7 @@
version="1.1" version="1.1"
id="svg12" id="svg12"
sodipodi:docname="info-symbolic-light.svg" sodipodi:docname="info-symbolic-light.svg"
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)" inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
@ -23,12 +23,12 @@
inkscape:deskcolor="#d1d1d1" inkscape:deskcolor="#d1d1d1"
showgrid="true" showgrid="true"
inkscape:zoom="20.85965" inkscape:zoom="20.85965"
inkscape:cx="0.26366694" inkscape:cx="-9.3242216"
inkscape:cy="6.9991587" inkscape:cy="6.9991587"
inkscape:window-width="1280" inkscape:window-width="1920"
inkscape:window-height="650" inkscape:window-height="1000"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="34" inkscape:window-y="44"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg12"> inkscape:current-layer="svg12">
<inkscape:grid <inkscape:grid
@ -38,20 +38,20 @@
<path <path
d="M 8,0 A 8,8 0 0 0 0,8 8,8 0 0 0 8,16 8,8 0 0 0 16,8 8,8 0 0 0 8,0 Z M 8,1 A 7,7 0 0 1 15,8 7,7 0 0 1 8,15 7,7 0 0 1 1,8 7,7 0 0 1 8,1 Z" d="M 8,0 A 8,8 0 0 0 0,8 8,8 0 0 0 8,16 8,8 0 0 0 16,8 8,8 0 0 0 8,0 Z M 8,1 A 7,7 0 0 1 15,8 7,7 0 0 1 8,15 7,7 0 0 1 1,8 7,7 0 0 1 8,1 Z"
id="path2" id="path2"
style="color:#363636;fill:#cccccc;fill-opacity:1" /> style="color:#363636;fill:#dfdfdf;fill-opacity:1" />
<circle <circle
cx="8" cx="8"
cy="12" cy="4.5"
r="1" r="0.5"
id="circle6" id="circle6"
style="color:#363636;fill:#cccccc;fill-opacity:1" /> style="color:#363636;fill:#dfdfdf;fill-opacity:1;stroke-width:0.5" />
<rect <rect
id="rect346" id="rect346"
width="2" width="1"
height="7" height="6"
x="7" x="7.5"
y="3" y="6"
rx="1" rx="0.5"
ry="1" ry="0.42857143"
style="fill:#cccccc;fill-opacity:1" /> style="fill:#dfdfdf;fill-opacity:1;stroke-width:0.654654" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -5,7 +5,7 @@
version="1.1" version="1.1"
id="svg12" id="svg12"
sodipodi:docname="info-symbolic.svg" sodipodi:docname="info-symbolic.svg"
inkscape:version="1.2 (dc2aedaf03, 2022-05-15)" inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
@ -22,13 +22,13 @@
inkscape:pagecheckerboard="0" inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1" inkscape:deskcolor="#d1d1d1"
showgrid="true" showgrid="true"
inkscape:zoom="20.85965" inkscape:zoom="1.84375"
inkscape:cx="0.26366694" inkscape:cx="21.152542"
inkscape:cy="6.9991587" inkscape:cy="-5.4237288"
inkscape:window-width="1280" inkscape:window-width="1920"
inkscape:window-height="650" inkscape:window-height="1000"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="34" inkscape:window-y="44"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg12"> inkscape:current-layer="svg12">
<inkscape:grid <inkscape:grid
@ -41,17 +41,17 @@
style="color:#363636;fill:#333333;fill-opacity:1" /> style="color:#363636;fill:#333333;fill-opacity:1" />
<circle <circle
cx="8" cx="8"
cy="12" cy="4.5"
r="1" r="0.5"
id="circle6" id="circle6"
style="color:#363636;fill:#333333;fill-opacity:1" /> style="color:#363636;fill:#333333;fill-opacity:1;stroke-width:0.5" />
<rect <rect
id="rect346" id="rect346"
width="2" width="1"
height="7" height="6"
x="7" x="7.5"
y="3" y="6"
rx="1" rx="0.5"
ry="1" ry="0.42857143"
style="fill:#333333;fill-opacity:1" /> style="fill:#333333;fill-opacity:1;stroke-width:0.654654" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -553,11 +553,8 @@ toolbar:not([brighttext]) .webextension-browser-action:-moz-lwtheme {
list-style-image: url("../icons/info-symbolic.svg") !important; list-style-image: url("../icons/info-symbolic.svg") !important;
} }
.tabbrowser-tab[image="chrome://global/skin/icons/info.svg"]:not([busy]):not([progress]) .tab-icon-stack::before { .tabbrowser-tab[image="chrome://global/skin/icons/info.svg"]:not([busy]):not([progress]) .tab-icon-stack > .tab-icon-image {
content: ""; list-style-image: url("../icons/info-symbolic.svg") !important;
height: 16px;
width: 16px;
background-image: url("../icons/info-symbolic.svg") !important;
} }
/* Password */ /* Password */
@ -783,8 +780,8 @@ treechildren::-moz-tree-image {
list-style-image: url("../icons/preferences-system-time-symbolic-light.svg") !important; list-style-image: url("../icons/preferences-system-time-symbolic-light.svg") !important;
} }
.tabbrowser-tab[image="chrome://global/skin/icons/info.svg"]:not([busy]):not([progress]):not([crashed]) .tab-icon-stack::before { .tabbrowser-tab[image="chrome://global/skin/icons/info.svg"]:not([busy]):not([progress]):not([crashed]) .tab-icon-stack > .tab-icon-image {
background-image: url("../icons/info-symbolic-light.svg") !important; list-style-image: url("../icons/info-symbolic-light.svg") !important;
} }
#sidebar-box[sidebarcommand="viewTabsSidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon, #sidebar-box[sidebarcommand="viewTabsSidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon,