Skip to content

Commit

Permalink
bump version: v0.1.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 29, 2023
1 parent d80ca46 commit 17769d5
Show file tree
Hide file tree
Showing 7 changed files with 98 additions and 25 deletions.
6 changes: 6 additions & 0 deletions chrome/resources/icons/more.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions chrome/resources/panels.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ panel toolbarseparator {
}
.menupopup-arrowscrollbox {
padding-inline: 0 !important;
padding-block: 4px !important;
}
menuitem[disabled="true"] {
pointer-events: none !important;
Expand Down Expand Up @@ -380,6 +381,8 @@ menuitem, menu {
}
#moz-toggle-button {
border-radius: 8px !important;
--toggle-width: 26px !important;
--toggle-height: 16px !important;
}
#moz-toggle-button::before {
background: white !important;
Expand Down
44 changes: 28 additions & 16 deletions chrome/resources/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,12 @@ input.findbar-textbox:focus {
:is(:root[style*="--lwt-accent-color: rgb(240, 240, 244); --lwt-text-color: rgba(21, 20, 26);"]) {
--lwt-accent-color: #d7d7db !important;
--toolbar-bgcolor: #f9f9fa !important;
--button-hover-bgcolor: #dddedf !important;
--button-active-bgcolor: #d2d3d4 !important;
--in-content-page-background: var(--toolbar-bgcolor) !important;
--arrowpanel-border-color: #cccccc !important;
--urlbar-box-text-color: #747576 !important;
--panel-separator-color: hsla(210,4%,10%,.14) !important;
--button-hover-bgcolor: #bdbec0 !important;
--button-active-bgcolor: #b3b4b6 !important;
--button-hover-bgcolor: hsla(0,0%,80%,.5) !important;
--button-active-bgcolor: hsla(0,0%,80%,.8) !important;
--link-color: var(--photon-accent-dark) !important;
--photon-tab-outline: var(--photon-accent-dark);
--sidebar-background: #fff !important;
Expand Down Expand Up @@ -92,14 +90,12 @@ input.findbar-textbox:focus {
:is(:root[style^="--lwt-accent-color: white; --lwt-text-color: rgba(0, 0, 0);"]) {
--lwt-accent-color: #202340 !important;
--toolbar-bgcolor: #f9f9fa !important;
--button-hover-bgcolor: #dddedf !important;
--button-active-bgcolor: #d2d3d4 !important;
--button-hover-bgcolor: hsla(0,0%,80%,.5) !important;
--in-content-page-background: var(--toolbar-bgcolor) !important;
--arrowpanel-border-color: #cccccc !important;
--urlbar-box-text-color: #747576 !important;
--panel-separator-color: hsla(210,4%,10%,.14) !important;
--button-hover-bgcolor: #bdbec0 !important;
--button-active-bgcolor: #b3b4b6 !important;
--button-active-bgcolor: hsla(0,0%,80%,.8) !important;
--link-color: var(--photon-accent-dark) !important;
--photon-tab-outline: var(--photon-accent-dark);
--sidebar-background: #fff !important;
Expand All @@ -118,6 +114,7 @@ input.findbar-textbox:focus {
--in-content-primary-button-background: var(--photon-accent) !important;
--in-content-primary-button-background-hover: color-mix(in srgb, var(--photon-accent) 80%, white) !important;
--in-content-primary-button-background-active: color-mix(in srgb, var(--photon-accent) 60%, white) !important;

#urlbar {
--urlbar-box-hover-bgcolor: hsla(0,0%,70%,.2) !important;
--urlbar-box-active-bgcolor: hsla(0,0%,70%,.3) !important;
Expand Down Expand Up @@ -173,15 +170,16 @@ input.findbar-textbox:focus {
--toolbar-bgcolor: #323234 !important;
--toolbar-field-background-color: #474749 !important;
--toolbar-field-border-color: #5a5a5c !important;
--button-hover-bgcolor: #aaa6 !important;
--button-hover-bgcolor: rgba(249,249,250,.1) !important;
--toolbarbutton-icon-fill: #bebebe !important;
--toolbar-field-focus-background-color: #474749 !important;
--button-bgcolor: rgb(55, 55, 55) !important;
--toolbarbutton-active-background: #7f7f80 !important;
--toolbarbutton-hover-background: hsla(0,0%,70%,.4) !important;
--toolbarbutton-active-background: hsla(0,0%,70%,.6) !important;
--arrowpanel-background: #4a4a4f !important;
--arrowpanel-border: #2a2a2e !important;
--arrowpanel-border-color: #27272b !important;
--button-active-bgcolor: rgb(92, 92, 94) !important;
--button-active-bgcolor: rgba(249,249,250,.15) !important;
--input-bgcolor: rgb(60, 60, 64) !important;
--input-border-color: rgb(90, 90, 94) !important;
--in-content-page-background: var(--toolbar-bgcolor) !important;
Expand All @@ -196,12 +194,16 @@ input.findbar-textbox:focus {
--toolbarbutton-icon-fill-attention: var(--photon-accent-light) !important;
--button-primary-bgcolor: var(--photon-accent-dark) !important;
--button-primary-color: #fff !important;
--lwt-toolbar-field-highlight: var(--photon-accent-dark);
--button-primary-active-bgcolor: var(--photon-accent-light) !important;
--button-primary-hover-bgcolor: color-mix(in hsl, var(--photon-accent-light) 50%, var(--photon-accent-dark)) !important;
--in-content-primary-button-background: var(--photon-accent) !important;
--in-content-primary-button-background-hover: color-mix(in srgb, var(--photon-accent) 80%, white) !important;
--in-content-primary-button-background-active: color-mix(in srgb, var(--photon-accent) 60%, white) !important;

&:not(:-moz-window-inactive) {
--lwt-toolbar-field-highlight: var(--photon-accent-dark);
}

#urlbar {
border-color: var(--toolbar-field-border-color) !important;
--toolbarbutton-icon-fill-attention: var(--photon-accent-dark) !important;
Expand Down Expand Up @@ -240,15 +242,16 @@ input.findbar-textbox:focus {
--toolbar-bgcolor: #323234 !important;
--toolbar-field-background-color: #474749 !important;
--toolbar-field-border-color: #5a5a5c !important;
--button-hover-bgcolor: #aaa6 !important;
--button-hover-bgcolor: rgba(249,249,250,.1) !important;
--toolbarbutton-icon-fill: #bebebe !important;
--toolbar-field-focus-background-color: #474749 !important;
--button-bgcolor: rgb(55, 55, 55) !important;
--toolbarbutton-active-background: #7f7f80 !important;
--toolbarbutton-hover-background: hsla(0,0%,70%,.4) !important;
--toolbarbutton-active-background: hsla(0,0%,70%,.6) !important;
--arrowpanel-background: #4a4a4f !important;
--arrowpanel-border: #2a2a2e !important;
--arrowpanel-border-color: #27272b !important;
--button-active-bgcolor: rgb(92, 92, 94) !important;
--button-active-bgcolor: rgba(249,249,250,.15) !important;
--input-bgcolor: rgb(60, 60, 64) !important;
--input-border-color: rgb(90, 90, 94) !important;
--in-content-page-background: var(--toolbar-bgcolor) !important;
Expand All @@ -263,12 +266,18 @@ input.findbar-textbox:focus {
--toolbarbutton-icon-fill-attention: var(--photon-accent-light) !important;
--button-primary-bgcolor: var(--photon-accent-dark) !important;
--button-primary-color: #fff !important;
--lwt-toolbar-field-highlight: var(--photon-accent-dark);
--button-primary-active-bgcolor: var(--photon-accent-light) !important;
--button-primary-hover-bgcolor: color-mix(in hsl, var(--photon-accent-light) 50%, var(--photon-accent-dark)) !important;
--in-content-primary-button-background: var(--photon-accent) !important;
--in-content-primary-button-background-hover: color-mix(in srgb, var(--photon-accent) 80%, white) !important;
--in-content-primary-button-background-active: color-mix(in srgb, var(--photon-accent) 60%, white) !important;
--sidebar-border-color: rgba(255, 255, 255, 0.1) !important;
&:not(:-moz-window-inactive) {
::selection {
background: var(--photon-accent-dark)
}
}

#urlbar {
border-color: var(--toolbar-field-border-color) !important;
--lwt-text-color: rgba(251, 251, 254) !important;
Expand All @@ -290,6 +299,9 @@ input.findbar-textbox:focus {
#firefox-view-button[open] .toolbarbutton-icon) {
background: #323234 !important;
}

#sidebar-header {
}
}
@media not (-moz-windows-accent-color-in-titlebar) {
:root[style^="--lwt-accent-color: white; --lwt-text-color: rgba(0, 0, 0);"] #navigator-toolbox {
Expand Down
57 changes: 50 additions & 7 deletions chrome/userContent.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@ button, input:is([type="button"], [type="submit"]) {
}
}
* {
--grey-90: rgba(12, 12, 13) !important;
--brand-color-accent: light-dark(#0a84ff, #0a84ff) !important;
--in-content-page-background: #f9f9fa !important;
--in-content-primary-button-text-color: white !important;
--newtab-primary-action-background: #0a84ff !important;
--toggle-background-color-pressed: #0a84ff !important;
--in-content-button-background: color-mix(in srgb, var(--grey-90) 10%, transparent) !important;
--in-content-button-background-hover: color-mix(in srgb, var(--grey-90) 20%, transparent) !important;
--in-content-button-background-active: color-mix(in srgb, var(--grey-90) 30%, transparent) !important;
}
@media (prefers-color-scheme: dark) {
* {
Expand All @@ -60,6 +64,8 @@ button, input:is([type="button"], [type="submit"]) {
--in-content-primary-button-background-hover: #003eaa !important;
--in-content-primary-button-background-active: #002275 !important;
--in-content-table-background: #202023 !important;
--color-accent-primary-hover: var(--in-content-primary-button-background) !important;
--color-accent-primary-active: var(--in-content-primary-button-background-hover) !important;
}
}
.dialogBox {
Expand Down Expand Up @@ -119,9 +125,20 @@ button, input:is([type="button"], [type="submit"]) {
#about-config-search {
background-image: url(./resources/icons/find-in-page.svg) !important;
}
button-group button {
button-group button, button[role="menuitem"] {
border-radius: 0 !important;
}
.toggle-button::before {
margin-inline: 2px !important;
width: 10px !important;
height: 10px !important;
outline: solid 1px var(--border-color);
}
.toggle-button {
--toggle-width: 26px !important;
--border-color: hsla(210,4%,10%,.14);
border-color: var(--border-color) !important;
}
}
@-moz-document url("about:privatebrowsing") {
* {
Expand All @@ -144,21 +161,40 @@ button, input:is([type="button"], [type="submit"]) {
.customize-menu :not(.switch *), .icon.icon-settings {
border-radius: var(--photon-secondary-border-radius) !important;
}
:root :is(.card-preview-image-outer, .card-preview-image) {
border-bottom-left-radius: 0px !important;
border-bottom-right-radius: 0px !important;
}
.icon-settings, .home-section .external-link {
background-image: url(./resources/icons/settings.svg) !important;
}
.icon.icon-history-item {
background-image: url("./resources/icons/history.svg") !important;
}
.icon.icon-bookmark-added {
background-image: url("./resources/icons/bookmark.svg") !important;
}
.ds-card .img-wrapper img {
border-radius: var(--photon-primary-border-radius) var(--photon-primary-border-radius) 0 0 !important;
}
.sponsored-label {
display: none !important;
}
.top-site-outer:hover {
.top-site-outer {
padding: 0 !important;
padding-bottom: 20px !important;
}
.top-site-outer:hover, .top-sites-list:not(.dnd-active) .top-site-outer:is(.active, :focus, :hover) {
background-color: transparent !important;
}
.top-site-outer .tile {
outline: 0px solid transparent !important;
transition: outline var(--photon-speed-1) ease !important;
width: 96px !important;
height: 96px !important;
}
.top-site-outer .title {
padding-top: 4px !important;
}
.top-site-outer:hover .tile {
outline: 5px solid var(--newtab-border-color) !important;
Expand Down Expand Up @@ -218,16 +254,18 @@ button, input:is([type="button"], [type="submit"]) {
background-color: var(--newtab-background-color-secondary) !important;
border: 1px solid var(--newtab-border-color) !important;
transition: var(--photon-speed-1) !important;
background-image: url("./resources/icons/more.svg") !important;
}
.top-site-outer .context-menu-button {
margin-top: 2px;
transition-delay: 333ms !important;
translate: -4px 2px;
}
.top-site-outer:not(:hover, .active) .context-menu-button {
width: 8px !important;
height: 8px !important;
background-size: 0px !important;
margin-inline-end: 8px;
margin-top: 10px;
margin-inline-end: 10px;
background-size: 2px !important;
}
:root:is(:not([lwt-newtab], [lwt-newtab-brighttext]), [style="--newtab-background-color: rgb(249, 249, 251);"][style*="--newtab-text-primary-color: rgba(21, 20, 26, 1);"][style*="--in-content-zap-gradient: linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%);"]) {
* {
Expand Down Expand Up @@ -483,6 +521,9 @@ button, input:is([type="button"], [type="submit"]) {
.more-options-button {
background-image: url(./resources/icons/settings.svg) !important
}
addon-card .more-options-button {
background-image: url(./resources/icons/more.svg) !important
}
#help-button img {
content: url(./resources/icons/help1.svg) !important;
}
Expand All @@ -503,15 +544,17 @@ button, input:is([type="button"], [type="submit"]) {
/* firefox view */
@-moz-document url-prefix("about:firefoxview") {
:root:is(:not([lwt-newtab], [lwt-newtab-brighttext]), [style="--newtab-background-color: rgb(249, 249, 251);"][style*="--newtab-text-primary-color: rgba(21, 20, 26, 1);"][style*="--in-content-zap-gradient: linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%);"]) {
* {
& {
--fxview-contrast-border: color-mix(in srgb, currentColor 9%, transparent);
}
}
:root:is(:not([style*="color"])[lwt-newtab-brighttext], [style*="--newtab-text-primary-color: rgba(251, 251, 254, 1);"][style*="--newtab-background-color: rgb(43, 42, 51);"][style*="--newtab-background-color-secondary: rgba(66, 65, 77, 1);"][style*="--in-content-zap-gradient: linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%);"][style*="--lwt-sidebar-background-color: rgb(56, 56, 61);"][style*="--lwt-sidebar-text-color: rgba(249, 249, 250, 1);"]) {
* {
& {
--fxview-background-color: #2a2a2e !important;
--newtab-background-color-secondary: rgba(249, 249, 250, 0.1) !important;
}
}
@media (prefers-color-scheme: dark) {
button[selected]:not(:hover) {
--in-content-accent-color: #74c0ff !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 @@ -6,7 +6,7 @@
background-position: 4px 0;
-moz-context-properties: fill;
fill: currentColor;
content: "zapsCoolPhotonTheme v0.1.10.1 (webextension)";
content: "zapsCoolPhotonTheme v0.1.10.2 (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": "zap's cool photon theme",
"short_name": "ZCPT",
"homepage_url": "https://github.com/zapSNH/zapsCoolPhotonTheme",
"version": "0.1.10.1",
"version": "0.1.10.2",
"author": "zapsnh",
"description": "a cool photon theme. webextension version based off of paxmod.",

Expand Down
9 changes: 9 additions & 0 deletions updates.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@
"strict_min_version": "121.0a1"
}
}
},
{
"version": "0.1.10.2",
"update_link": "https://github.com/zapSNH/zcpt-webextension/releases/download/v0.1.10.2/zapsCoolPhotonTheme.xpi",
"applications": {
"gecko": {
"strict_min_version": "121.0a1"
}
}
}
]
}
Expand Down

0 comments on commit 17769d5

Please sign in to comment.