Skip to content

Commit

Permalink
Fix: Compatibility - Prevent layout moving & consistently color for c…
Browse files Browse the repository at this point in the history
…ustom theme
  • Loading branch information
black7375 committed Aug 6, 2022
1 parent f945ac8 commit b7d3da3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css/leptonChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@
/* Legacy: v96 */
--lwt-tabs-border-color: rgba(0, 0, 0, 0.3);
}

/*= Findbar Border Color =====================================================*/
html|input.findbar-textbox {
border: 1px solid var(--input-border-color, var(--toolbar-field-border-color, ThreeDShadow)) !important;
/* Original: 1px solid var(--input-border-color, var(--toolbar-field-border-color)) */
}
}
/*= OS - Compatibility =======================================================*/
@supports -moz-bool-pref("userChrome.compatibility.os") {
Expand Down
5 changes: 5 additions & 0 deletions src/compatibility/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,8 @@ menu {
--tabs-border-color: rgba(0, 0, 0, 0.3); /* Legacy: v96 */
--lwt-tabs-border-color: rgba(0, 0, 0, 0.3);
}

/*= Findbar Border Color =====================================================*/
html|input.findbar-textbox {
border: 1px solid var(--input-border-color, var(--toolbar-field-border-color, ThreeDShadow)) !important; /* Original: 1px solid var(--input-border-color, var(--toolbar-field-border-color)) */
}

0 comments on commit b7d3da3

Please sign in to comment.