add theme support to newtab page
This commit is contained in:
parent
96da48a617
commit
ac2689bcb2
1 changed files with 14 additions and 19 deletions
|
@ -8,7 +8,6 @@
|
|||
background-size: 20px !important;
|
||||
}
|
||||
.search-wrapper input {
|
||||
background-color: var(--search-bg) !important;
|
||||
border: 0 !important;
|
||||
box-shadow: none !important;
|
||||
fill: var(--newtab-search-icon-color);
|
||||
|
@ -28,7 +27,6 @@
|
|||
#searchSubmit {
|
||||
width: 68px !important;
|
||||
background-color: var(--search-button-bg) !important;
|
||||
fill: #fff !important;
|
||||
}
|
||||
#searchSubmit:hover {
|
||||
background-color: var(--search-button-bg-hover) !important;
|
||||
|
@ -37,27 +35,24 @@
|
|||
border-radius: 8px !important;
|
||||
}
|
||||
|
||||
.outer-wrapper > main {
|
||||
position: absolute !important;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
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;
|
||||
|
||||
body {
|
||||
background-color: #f5f5f5 !important;
|
||||
--search-bg: #fff;
|
||||
--search-button-bg: #0078D4;
|
||||
--search-button-bg-hover: #006CBE;
|
||||
--word-mark-color: #606060;
|
||||
|
||||
--newtab-topsites-background-color: var(--search-bg) !important;
|
||||
--newtab-search-icon-color: #fff !important;
|
||||
}
|
||||
body[lwt-newtab-brighttext] {
|
||||
background-color: #242424 !important;
|
||||
--search-bg: #424242;
|
||||
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;
|
||||
--word-mark-color: #f3f3f3;
|
||||
--newtab-search-icon-color: #fff !important;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue