cleanup files

This commit is contained in:
bmFtZQ 2021-12-04 20:00:08 +08:00
parent 3c71a8fd34
commit 837a6e6539
11 changed files with 435 additions and 418 deletions

View file

@ -12,7 +12,7 @@
--in-content-icon-color: #666 !important;
--in-content-accent-color: #006CBE !important;
--in-content-accent-color-active: #1683D8 !important;
--in-content-border-hover: rgba(0,0,0,0.5) !important;
--in-content-border-hover: rgba(0, 0, 0, 0.5) !important;
--in-content-border-invalid: var(--red-50) !important;
--in-content-border-color: #bebebe !important;
--in-content-error-text-color: #FF848A !important;
@ -38,7 +38,7 @@
--in-content-text-color: var(--in-content-page-color) !important;
scrollbar-color: rgba(37, 37, 37, 0.4) #f7f7f7 !important;
}
@media (prefers-color-scheme: dark) {
:root {
--in-content-page-background: #252525 !important;
@ -49,7 +49,7 @@
--in-content-box-info-background: rgba(255, 255, 255, 0.15) !important;
--in-content-border-color: rgba(255, 255, 255, 0.2) !important;
--in-content-border-hover: rgba(255, 255, 255, 0.3) !important;
--in-content-border-invalid: rgb(255,132,139) !important;
--in-content-border-invalid: rgb(255, 132, 139) !important;
--in-content-error-text-color: #FF9AA2 !important;
--in-content-button-background: #3B3B3B !important;
--in-content-button-background-hover: #545454 !important;
@ -72,13 +72,14 @@
--in-content-link-color-visited: var(--in-content-link-color) !important;
--card-outline-color: #555 !important;
--dialog-warning-text-color: var(--red-40) !important;
scrollbar-color: rgba(255,255,255,.4) #252525 !important;
scrollbar-color: rgba(255, 255, 255, .4) #252525 !important;
}
}
}
/* preferences */
@-moz-document url-prefix(about:preferences), url-prefix(about:addons) {
@-moz-document url-prefix(about:preferences),
url-prefix(about:addons) {
.category[selected] {
position: relative !important;
border-radius: 4px !important;

View file

@ -1,7 +1,8 @@
/* EdgeFr-Fox by bmFtZQ - content/newtab.css */
/* colours */
@-moz-document url-prefix("about:newtab"), url-prefix("about:home") {
@-moz-document url-prefix("about:newtab"),
url-prefix("about:home") {
body:not([lwt-newtab], [lwt-newtab-brighttext]) {
--newtab-background-color: #F7F7F7 !important;
--newtab-background-color-secondary: #fff !important;
@ -48,12 +49,14 @@
}
}
@-moz-document url-prefix("about:newtab"), url-prefix("about:home") {
@-moz-document url-prefix("about:newtab"),
url-prefix("about:home") {
/* hide pin */
.icon.icon-pin-small {
display: none !important;
}
/* unpinned sites have lower opacity title */
.top-site-button .title:not(.pinned) {
opacity: 0.6 !important;
@ -63,6 +66,7 @@
.search-wrapper .search-inner-wrapper {
min-height: 44px !important;
}
.search-handoff-button {
border-radius: 99px !important;
background-position: 12px !important;
@ -72,7 +76,7 @@
--elevation: 4;
box-shadow: 0 0 calc((var(--elevation) * 0.225px) + 2px) rgba(0, 0, 0, 0.11), 0 calc(var(--elevation) * 0.4px) calc((var(--elevation) * 0.9px)) rgba(0, 0, 0, 0.13) !important;
}
.search-handoff-button:hover {
--elevation: 6;
}