Skip to content

Commit bfc9d94

Browse files
committed
Fix: TitleBar - Remove native titlebar button style at linux
The title bar is not visible in v140 mozilla/gecko-dev@5ce8bb7
1 parent 1d535c5 commit bfc9d94

4 files changed

Lines changed: 0 additions & 87 deletions

File tree

css/leptonChrome.css

Lines changed: 0 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/leptonChromeESR.css

Lines changed: 0 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/compatibility/_os.scss

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -167,31 +167,6 @@
167167
color: inherit !important; /* Original: -moz-menubarhovertext */
168168
background-color: color-mix(in srgb, currentColor 20%, transparent) !important; /* Original: -moz-menuhover */
169169
}
170-
171-
/*= Linux - Titlebar button at lwtheme =====================================*/
172-
@include NotOption("userChrome.compatibility.os.linux_non_native_titlebar_button") {
173-
@include lwtheme {
174-
.titlebar-button {
175-
appearance: none !important;
176-
> .toolbarbutton-icon {
177-
appearance: auto !important;
178-
width: unset !important;
179-
height: unset !important;
180-
}
181-
}
182-
.titlebar-min,
183-
.titlebar-max,
184-
.titlebar-restore,
185-
.titlebar-close {
186-
list-style-image: none !important;
187-
}
188-
.titlebar-button,
189-
.titlebar-button:hover:active {
190-
background-color: unset !important;
191-
color: unset !important;
192-
}
193-
}
194-
}
195170
}
196171

197172
/*= Linux - Light System Default Theme's Selected Tab ========================*/

user.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ user_pref("userChrome.rounding.square_tab", false);
5757
// user_pref("userChrome.compatibility.navbar_top_border", true);
5858
// user_pref("userChrome.compatibility.dynamic_separator", true); // Need dynamic_separator
5959

60-
// user_pref("userChrome.compatibility.os.linux_non_native_titlebar_button", true);
6160
// user_pref("userChrome.compatibility.os.windows_maximized", true);
6261
// user_pref("userChrome.compatibility.os.win11", true);
6362

0 commit comments

Comments
 (0)