Skip to content

Commit

Permalink
bump version: v0.24.59
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 18, 2025
1 parent d01770f commit f4c78b8
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 11 deletions.
44 changes: 40 additions & 4 deletions chrome/resources/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
fill: currentColor !important;
fill-opacity: 1 !important;
stroke-linecap: round !important;
order: 2;
}
/* Info icon */
.panel-info-button image {
Expand All @@ -83,9 +84,30 @@
.tab-icon-overlay[pictureinpicture] {
list-style-image: url(./icons/pictureinpicture.svg) !important;
}
/* deal with this later */
/* deal with this now */
.tab-audio-button {
display: none !important;
--icon-size-default: 16px !important;
--button-size-icon-small: 16px !important;
--button-min-height-small: 16px !important;
--button-border-radius: var(--photon-border-radius) !important;
--tab-icon-end-margin: 4px !important;
translate: 0 -5px !important;
margin-inline-start: -16px !important;
order: 1;
height: 16px !important;
z-index: 1;
}
.tab-audio-button[soundplaying] {
--button-icon: url(./icons/tab-audio-playing.svg) !important;
}
.tab-audio-button[muted] {
--button-icon: url(./icons/tab-audio-muted.svg) !important;
}
.tab-audio-button[activemedia-blocked] {
--button-icon: url(./icons/tab-audio-blocked.svg) !important;
}
.tab-audio-button[pictureinpicture] {
--button-icon: url(./icons/pictureinpicture.svg) !important;
}
/* New tab icon */
#tabs-newtab-button, #new-tab-button {
Expand Down Expand Up @@ -522,10 +544,24 @@ img[src="chrome://browser/content/shopping/assets/shopping.svg"] {
#PanelUI-menu-button {
list-style-image: url(./icons/menu.svg) !important;
}
#PanelUI-menu-button[badge-status="update-available"], #PanelUI-menu-button[badge-status="update-downloading"],
#PanelUI-menu-button[badge-status="update-manual"], #PanelUI-menu-button[badge-status="update-restart"],
#PanelUI-menu-button[badge-status="update-unsupported"], #PanelUI-menu-button[badge-status="addon-alert"],
#PanelUI-menu-button[badge-status="fxa-needs-authentication"] {
list-style-image: url(./icons/menu-badged.svg) !important;
}
#PanelUI-menu-button .toolbarbutton-badge {
background: #74BF43 url(./icons/update-badge.svg) no-repeat center !important;
border-radius: 50% !important;
outline: 2px var(--toolbar-bgcolor) solid;
margin: -7px -3px 0 !important;
}
#appMenu-popup .panel-banner-item {
&[notificationid="update-available"], &[notificationid="update-downloading"], &[notificationid="update-manual"], &[notificationid="update-restart"] {
& > .toolbarbutton-icon {
background: #74BF43 url(./icons/update-badge.svg) no-repeat center !important;
border-radius: 50% !important;
}
}
}
.addon-banner-item {
&::after {
Expand Down Expand Up @@ -578,7 +614,7 @@ img[src="chrome://browser/content/shopping/assets/shopping.svg"] {
background: #74BF43 url(./icons/update-badge.svg) no-repeat center !important;
border-radius: 50% !important;
}
#appMenu-proton-update-banner::before {
:is(#appMenu-proton-update-banner, #appMenu-update-banner)::before {
background: no-repeat url(chrome://branding/content/icon16.png);
width: 16px;
height: 16px;
Expand Down
14 changes: 13 additions & 1 deletion chrome/resources/panels.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,26 @@ menuitem, menu {
margin-bottom: 4px !important;
margin-top: 1px !important;
}
#appMenu-proton-update-banner, #appMenu-proton-addon-banners .addon-banner-item {
#appMenu-update-banner, #appMenu-proton-update-banner, #appMenu-proton-addon-banners .addon-banner-item {
padding-block: 8px !important;
margin-top: -4px !important;
margin-bottom: 5px !important;
padding-inline-start: var(--appmenu-icon-inline-end) !important;
align-items: center !important;
outline: 1px solid var(--panel-separator-color);
}
#appMenu-update-banner, #appMenu-proton-update-banner {
background-color: rgba(48,230,11,.1) !important;
margin-bottom: 4px !important;
outline: none;
box-shadow: 0 -1px var(--panel-separator-color) inset !important;
&:hover:not([disabled]), &:focus:not([disabled]) {
background-color: rgba(48,230,11,.15) !important;
}
&:active:not([disabled]) {
background-color: rgba(48,230,11,.2) !important;
}
}
/* Makes the zoom controls align with the menu buttons */
#appMenu-zoom-controls2 {
margin: 0 !important;
Expand Down
2 changes: 1 addition & 1 deletion custom/resources/version.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
background-position: 4px 0;
-moz-context-properties: fill;
fill: currentColor;
content: "zapsCoolPhotonTheme v0.24.58 (webextension)";
content: "zapsCoolPhotonTheme v0.24.59 (webextension)";
position: absolute;
height: 48px;
overflow: visible;
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "__MSG_extensionName__",
"short_name": "__MSG_extensionShortName__",
"homepage_url": "https://github.com/zapSNH/zapsCoolPhotonTheme",
"version": "0.24.58.1",
"version": "0.24.59.1",
"author": "zapsnh",
"default_locale": "en",
"description": "__MSG_extensionDescription__",
Expand Down
8 changes: 4 additions & 4 deletions updates.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"coolPhotonTheme@zapsnh": {
"updates": [
{
"version": "0.24.58",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.58/zapsCoolPhotonTheme-esr.xpi",
"version": "0.24.59",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.59/zapsCoolPhotonTheme-esr.xpi",
"applications": {
"gecko": {
"strict_min_version": "128.0",
Expand All @@ -13,8 +13,8 @@
}
},
{
"version": "0.24.58.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.58/zapsCoolPhotonTheme.xpi",
"version": "0.24.59.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.59/zapsCoolPhotonTheme.xpi",
"applications": {
"gecko": {
"strict_min_version": "129.0"
Expand Down

0 comments on commit f4c78b8

Please sign in to comment.