107 lines
No EOL
3.3 KiB
CSS
107 lines
No EOL
3.3 KiB
CSS
@-moz-document url("about:newtab"), url(about:home) {
|
|
.icon.icon-settings {
|
|
background-image: url(../icons/settings.svg) !important;
|
|
background-size: 20px !important;
|
|
}
|
|
.search-wrapper .search-button {
|
|
background-image: url(../icons/search.svg) !important;
|
|
background-size: 20px !important;
|
|
}
|
|
.search-wrapper input {
|
|
border: 0 !important;
|
|
box-shadow: none !important;
|
|
fill: var(--newtab-search-icon-color);
|
|
border-radius: 4px !important;
|
|
outline: none !important;
|
|
}
|
|
.search-inner-wrapper input {
|
|
transition: box-shadow .2s ease-in-out !important;
|
|
box-shadow: 0px 1.6px 3.6px rgb(0 0 0 / 13%), 0px 0px 2.9px rgb(0 0 0 / 11%) !important;
|
|
}
|
|
.search-inner-wrapper:hover input {
|
|
box-shadow: 0px 3.2px 7.2px rgb(0 0 0 / 13%), 0px 0px 3.8px rgb(0 0 0 / 11%) !important;
|
|
}
|
|
.search-wrapper :is(input, button) {
|
|
height: 44px !important;
|
|
}
|
|
#searchSubmit {
|
|
width: 68px !important;
|
|
background-color: var(--search-button-bg) !important;
|
|
}
|
|
#searchSubmit:hover {
|
|
background-color: var(--search-button-bg-hover) !important;
|
|
}
|
|
.top-site-outer .tile, .screenshot, .top-site-icon {
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
body:not([lwt-newtab], [style*="color"]) {
|
|
--newtab-background-color: #f5f5f5 !important;
|
|
--newtab-text-primary-color: #000 !important;
|
|
--newtab-textbox-background-color: #fff !important;
|
|
--newtab-topsites-background-color: #fff !important;
|
|
|
|
--search-button-bg: #0078D4;
|
|
--search-button-bg-hover: #006CBE;
|
|
--newtab-search-icon-color: #fff !important;
|
|
}
|
|
body[style*="--newtab-background-color:rgba(42, 42, 46, 1); --newtab-text-primary-color:rgba(249, 249, 250, 1);"] {
|
|
--newtab-background-color: #242424 !important;
|
|
--newtab-text-primary-color: #fff !important;
|
|
--newtab-textbox-background-color: #424242 !important;
|
|
--newtab-topsites-background-color: #424242 !important;
|
|
|
|
--search-button-bg: #006CBE;
|
|
--search-button-bg-hover: #0078D4;
|
|
--newtab-search-icon-color: #fff !important;
|
|
}
|
|
}
|
|
|
|
@-moz-document url(about:privatebrowsing) {
|
|
html.private {
|
|
--in-content-page-color: #000d !important;
|
|
--in-content-text-color: #000 !important;
|
|
--in-content-page-background: #f5f5f5 !important;
|
|
}
|
|
.wordmark {
|
|
fill: #737373 !important;
|
|
}
|
|
.info {
|
|
background-color: #fff !important;
|
|
background-image: url(../icons/incognito.svg) !important;
|
|
}
|
|
.search-handoff-button {
|
|
background-color: #fff !important;
|
|
color: #000 !important;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
html.private {
|
|
--in-content-page-color: #fffd !important;
|
|
--in-content-text-color: #fff !important;
|
|
--in-content-page-background: #242424 !important;
|
|
}
|
|
.wordmark {
|
|
fill: #f5f5f5 !important;
|
|
}
|
|
.info {
|
|
background-color: #2b2b2b !important;
|
|
}
|
|
.search-handoff-button {
|
|
background-color: #424242 !important;
|
|
color: #fff !important;
|
|
}
|
|
}
|
|
.fake-textbox {
|
|
color: inherit !important;
|
|
}
|
|
.search-handoff-button {
|
|
border: 0 !important;
|
|
border-radius: 4px !important;
|
|
height: 44px !important;
|
|
transition: box-shadow .2s ease-in-out !important;
|
|
box-shadow: 0px 1.6px 3.6px rgb(0 0 0 / 13%), 0px 0px 2.9px rgb(0 0 0 / 11%) !important;
|
|
}
|
|
.search-handoff-button:hover {
|
|
box-shadow: 0px 3.2px 7.2px rgb(0 0 0 / 13%), 0px 0px 3.8px rgb(0 0 0 / 11%) !important;
|
|
}
|
|
} |