Skip to content

Commit

Permalink
Fix: Compatibility - Tab background color #867
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Feb 12, 2024
1 parent 772cba2 commit a25a088
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 13 deletions.
32 changes: 24 additions & 8 deletions css/leptonChrome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 11 additions & 4 deletions css/leptonChromeESR.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion src/compatibility/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,18 @@ menu {

/*= Light Weight Theme =======================================================*/
/* Header Image */
:root[lwtheme-image] {
:root[lwtheme-image] > body {
// Linux compatibility:
// :root[tabsintitlebar][sizemode="normal"]:not([gtktiledwindow="true"]) {
// appearance: auto;
// }
background-image: var(--lwt-header-image) !important; /* Original: var(--lwt-header-image) */
background-repeat: no-repeat !important;
background-position: right top !important;
background-color: var(--lwt-accent-color, Window) !important;
&:-moz-window-inactive {
background-color: var(--lwt-accent-color-inactive, var(--lwt-accent-color)) !important;
}

// For high-resolution screen's image ratio
@media (min-width: 2500px) {
Expand All @@ -122,6 +130,10 @@ menu {
--lwt-tabs-border-color: rgba(0, 0, 0, 0.4);
}

#customization-container {
background-color: transparent !important; /* Original: color-mix(in srgb, -moz-dialog 85%, white) */
}

/*= 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)) */
Expand Down

0 comments on commit a25a088

Please sign in to comment.