Skip to content

Commit

Permalink
bump version: v0.24.54
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 5, 2025
1 parent b1f3fee commit 7ad1037
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 22 deletions.
19 changes: 8 additions & 11 deletions chrome/resources/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -198,19 +198,16 @@
button-group button, button[role="menuitem"] {
border-radius: 0 !important;
}
.toggle-button::before {
margin-inline: 2px !important;
@media (prefers-color-scheme: light) {
margin-inline: 3px !important; /* i have no idea either */
}
width: 10px !important;
height: 10px !important;
outline: solid 1px var(--border-color);
}
.toggle-button {
--toggle-dot-background-color-on-pressed: white !important;
--toggle-dot-background-color: white !important;
--toggle-width: 26px !important;
--border-color: hsla(210,4%,10%,.14);
border-color: var(--border-color) !important;
--toggle-dot-margin: 2px !important;
--toggle-dot-height: calc(var(--toggle-height) - 2 * var(--toggle-dot-margin) - 2 * var(--toggle-border-width));
--toggle-dot-width: var(--toggle-dot-height) !important;
--toggle-dot-transform-x: calc(var(--toggle-width) - 3 * var(--toggle-dot-margin) - var(--toggle-dot-width)) !important;
--toggle-border-color: transparent !important;
min-width: var(--toggle-width) !important;
}
.checkbox-check, input[type="radio"]:not(.wallpaper-input), .radio-check, .checkbox-row input, input[type="checkbox"]:not(.reveal-password-checkbox) {
border-radius: var(--photon-secondary-border-radius) !important;
Expand Down
6 changes: 4 additions & 2 deletions chrome/resources/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -1164,6 +1164,7 @@ img[src="chrome://browser/content/shopping/assets/shopping.svg"] {
background-image: var(--avatar-image-url);
margin-inline-start: 11px !important;
outline: solid #ffffff33 1px;
z-index: 1;
}/*
:root #PanelUI-fxa #fxa-manage-account-button::after {
content: "";
Expand All @@ -1184,11 +1185,12 @@ img[src="chrome://browser/content/shopping/assets/shopping.svg"] {
padding-inline: var(--arrowpanel-menuitem-padding) !important;
padding-inline-start: 51px !important;
translate: -41px;
padding-block: 6px !important;
&:hover {
background-color: var(--panel-item-hover-bgcolor);
background-color: var(--panel-item-hover-bgcolor, var(--button-background-color-ghost-hover));
}
&:hover:active {
background-color: var(--panel-item-active-bgcolor);
background-color: var(--panel-item-active-bgcolor, var(--button-background-color-ghost-active));
}
min-width: calc(100% + 30px) !important;
}
Expand Down
19 changes: 17 additions & 2 deletions chrome/resources/panels.css
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,9 @@ menuitem, menu {
#appMenu-addon-banners:has(::after) {
margin-bottom: 4px;
}
.unified-extensions-item > .unified-extensions-item-row-wrapper > .unified-extensions-item-menu-button {
padding: 0 !important;
}
/* fxa menu monitor and relay ad- i mean "promotions" */
.ctaMenuLogo, #cta-menu-header-description {
margin-inline-start: 0 !important;
Expand Down Expand Up @@ -445,12 +448,24 @@ menuitem, menu {
background: white !important;
margin-inline: 2px !important;
}
.toggle-button {
--toggle-dot-background-color-on-pressed: white !important;
--toggle-dot-background-color: white !important;
--toggle-width: 26px !important;
--toggle-dot-margin: 2px !important;
--toggle-dot-height: calc(var(--toggle-height) - 2 * var(--toggle-dot-margin) - 2 * var(--toggle-border-width));
--toggle-dot-width: var(--toggle-dot-height) !important;
--toggle-dot-transform-x: calc(var(--toggle-width) - 3 * var(--toggle-dot-margin) - var(--toggle-dot-width)) !important;
--toggle-border-color: transparent !important;
min-width: var(--toggle-width) !important;
}
.toggle-button[aria-pressed="true"] {
border-color: color-mix(in srgb, black 20%, var(--photon-accent-dark)) !important;
background: var(--photon-accent-dark) !important;
#moz-toggle-label:hover & {
#moz-toggle-label:hover &, &:hover {
background: color-mix(in srgb, black 20%, var(--photon-accent-dark)) !important;
}
#moz-toggle-label:hover:active & {
#moz-toggle-label:hover:active &, &:hover:active {
background: color-mix(in srgb, black 30%, var(--photon-accent-dark)) !important;
}
}
Expand Down
2 changes: 1 addition & 1 deletion chrome/resources/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ toolbarbutton stack, toolbarbutton:not(#fxa-toolbar-menu-button, #back-button, .
#tabs-newtab-button image,
menupopup, panel, #PlacesChevron *:not(.menuitem-with-favicon, .bookmark-item), #editBookmarkPanelInfoArea *,
#scrollbutton-up, #scrollbutton-down,
button, button hbox, hbox menulist,
button:not([class="toggle-button"]), button hbox, hbox menulist,
#urlbar :is(button, .urlbarView-action),
findbar *, .bookmark-item:not(.menuitem-with-favicon), .toolbarbutton-1, .permission-popup-section *,
.dialogBox, #sidebar-switcher-target, .close-icon,
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.53 (webextension)";
content: "zapsCoolPhotonTheme v0.24.54 (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.53.1",
"version": "0.24.54.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.53",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.53/zapsCoolPhotonTheme-esr.xpi",
"version": "0.24.54",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.54/zapsCoolPhotonTheme-esr.xpi",
"applications": {
"gecko": {
"strict_min_version": "128.0",
Expand All @@ -13,8 +13,8 @@
}
},
{
"version": "0.24.53.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.53/zapsCoolPhotonTheme.xpi",
"version": "0.24.54.1",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.24.54/zapsCoolPhotonTheme.xpi",
"applications": {
"gecko": {
"strict_min_version": "129.0"
Expand Down

0 comments on commit 7ad1037

Please sign in to comment.