diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 9e49a65..1bccfa0 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -3818,7 +3818,7 @@ } } /*= Tab Bar - Oneliner =======================================================*/ -@supports -moz-bool-pref("userChrome.tab.one_line") { +@supports -moz-bool-pref("userChrome.tab.one_liner") { :root { --uc-navbar-size: 40vw; --uc-tabbar-size: calc(100vw - var(--uc-navbar-size)); @@ -3841,7 +3841,7 @@ display: none !important; } - @supports not -moz-bool-pref("userChrome.tab.one_line.tabbar_first") { + @supports not -moz-bool-pref("userChrome.tab.one_liner.tabbar_first") { #TabsToolbar { margin-inline-start: var(--uc-navbar-size) !important; } @@ -3854,7 +3854,7 @@ display: none !important; } } - @supports -moz-bool-pref("userChrome.tab.one_line.tabbar_first") { + @supports -moz-bool-pref("userChrome.tab.one_liner.tabbar_first") { #TabsToolbar { margin-inline-end: var(--uc-navbar-size) !important; } @@ -3869,7 +3869,7 @@ } } /*= Tab Bar - Shared Layout ==================================================*/ -@supports -moz-bool-pref("userChrome.tab.on_bottom") or -moz-bool-pref("userChrome.tab.one_line") { +@supports -moz-bool-pref("userChrome.tab.on_bottom") or -moz-bool-pref("userChrome.tab.one_liner") { @supports -moz-bool-pref("userChrome.tab.on_bottom") or -moz-bool-pref("userChrome.tab.one_line.tabbar_first") { /*= Windows Control - Move to toolbar ========================================*/ /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tabs_on_bottom.css made available under Mozilla Public License v. 2.0 diff --git a/src/tabbar/_index.scss b/src/tabbar/_index.scss index fe5808f..4914d4a 100644 --- a/src/tabbar/_index.scss +++ b/src/tabbar/_index.scss @@ -24,12 +24,12 @@ } /*= Tab Bar - Oneliner =======================================================*/ -@include Option("userChrome.tab.one_line") { - @import "one_line"; +@include Option("userChrome.tab.one_liner") { + @import "one_liner"; } /*= Tab Bar - Shared Layout ==================================================*/ -@include Option("userChrome.tab.on_bottom", "userChrome.tab.one_line") { +@include Option("userChrome.tab.on_bottom", "userChrome.tab.one_liner") { @import "layout"; } diff --git a/src/tabbar/_one_line.scss b/src/tabbar/_one_liner.scss similarity index 87% rename from src/tabbar/_one_line.scss rename to src/tabbar/_one_liner.scss index 1508165..8eed94d 100644 --- a/src/tabbar/_one_line.scss +++ b/src/tabbar/_one_liner.scss @@ -20,7 +20,7 @@ toolbarspring.chromeclass-toolbar-additional { display: none !important; } -@include NotOption("userChrome.tab.one_line.tabbar_first") { +@include NotOption("userChrome.tab.one_liner.tabbar_first") { #TabsToolbar { margin-inline-start: var(--uc-navbar-size) !important; } @@ -31,7 +31,7 @@ toolbarspring.chromeclass-toolbar-additional { display: none !important; } } -@include Option("userChrome.tab.one_line.tabbar_first") { +@include Option("userChrome.tab.one_liner.tabbar_first") { #TabsToolbar { margin-inline-end: var(--uc-navbar-size) !important; } diff --git a/user.js b/user.js index b158b79..fbaa1f5 100644 --- a/user.js +++ b/user.js @@ -98,8 +98,8 @@ user_pref("userChrome.tab.bottom_rounded_corner", true); // user_pref("userChrome.tab.on_bottom", true); // user_pref("userChrome.tab.on_bottom.above_bookmark", true); // Need on_bottom // user_pref("userChrome.tab.on_bottom.menubar_on_top", true); // Need on_bottom -// user_pref("userChrome.tab.one_line", true); -// user_pref("userChrome.tab.one_line.tabbar_first", true); +// user_pref("userChrome.tab.one_liner", true); +// user_pref("userChrome.tab.one_liner.tabbar_first", true); // user_pref("userChrome.tab.as_titlebar", true); // user_pref("userChrome.tab.always_show_tab_icon", true); // user_pref("userChrome.tab.close_button_at_pinned", true);