Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ver 7.0.0 Feedback Thread #511

Merged
merged 98 commits into from
Dec 31, 2022
Merged

Ver 7.0.0 Feedback Thread #511

merged 98 commits into from
Dec 31, 2022

Conversation

black7375
Copy link
Owner

@black7375 black7375 commented Nov 21, 2022

Describe the PR

As mentioned in #453 , The purpose is to implement various UI.

Tab #326

  • userChrome.tab.bar_separator
  • userChrome.tab.bottom_rounded_corner.all
  • userChrome.tab.bottom_rounded_corner.australis
  • userChrome.tab.bottom_rounded_corner.edge
  • userChrome.tab.bottom_rounded_corner.chrome
  • userChrome.tab.bottom_rounded_corner.chrome_legacy
  • userChrome.tab.bottom_rounded_corner.wave
  • userChrome.tab.close_button_at_hover.with_selected

Tab Bar

URL Bar & View

  • userChrome.hidden.urlbar_iconbox.label_only
  • userChrome.rounding.square_urlView_item
  • userChrome.urlbar.iconbox_with_separator
  • userChrome.urlView.as_commandbar
  • userChrome.urlView.full_width_padding
  • userChrome.urlView.focus_item_border

Photon like components #399

  • userChrome.decoration.panel_button_separator
  • userChrome.decoration.panel_arrow

Counter

  • userChrome.counter.tab
  • userChrome.counter.bookmark_menu

Combined

  • userChrome.combined.nav_button
  • userChrome.combined.nav_button.home_button
  • userChrome.combined.urlbar.nav_button
  • userChrome.combined.urlbar.home_button
  • userChrome.combined.urlbar.reload_button
  • userChrome.combined.sub_button.none_background
  • userChrome.combined.sub_button.as_normal

Others

It is not yet stabilized API, and there may be changes before merging.


Setup - Please refer Wiki:Installation Guide

## First user ##################################################################
# At <FIREFOX_PROFILE_DIRECTORY>

# Original dev version
git clone https://github.com/black7375/Firefox-UI-Fix -b dev

# Photon style dev version
git clone https://github.com/black7375/Firefox-UI-Fix  chrome -b photon-style-dev

# Proton style dev version
git clone https://github.com/black7375/Firefox-UI-Fix chrome -b proton-style-dev

## Existing user ###############################################################
# At <FIREFOX_PROFILE_DIRECTORY>/chrome

# Original dev version
git checkout dev
git pull

# Proton style dev version
git checkout photon-style-dev
git pull

# Proton style dev version
git checkout proton-style-dev
git pull

Screenshots

I'd like to show you some use cases.

  • Keyboard browsing

Inspired by qutebrowser.

You can browse only with the keyboard using the Vim shortcut and Caret Browsing.

keyboard_browsing.mp4

If you want Status Bar, use Waterfox

user.js
// ** Browser Options **********************************************************
user_pref("browser.uidensity",                            1); // and urlbar spacing. The possible values are 0=normal, 1=compact, 2=touch.
user_pref("browser.tabs.inTitlebar",                      0); // no (0), yes (1), or default (2), which is true everywhere except Linux.
user_pref("accessibility.browsewithcaret",             true);

// Waterfox only
user_pref("browser.statusbar.enabled",                 true);
user_pref("browser.statusbar.appendStatusText",        true);

// == Theme Distribution Settings ==============================================
user_pref("userChrome.tab.connect_to_window",          true); // Original, Photon
user_pref("userChrome.tab.color_like_toolbar",         true); // Original, Photon

user_pref("userChrome.tab.lepton_like_padding",        true); // Original
user_pref("userChrome.tab.photon_like_padding",       false); // Photon

user_pref("userChrome.tab.dynamic_separator",         false); // Original, Proton
user_pref("userChrome.tab.static_separator",          false); // Photon
user_pref("userChrome.tab.static_separator.selected_accent", false); // Just option
user_pref("userChrome.tab.bar_separator",              true); // Just option

user_pref("userChrome.tab.newtab_button_like_tab",    false); // Original
user_pref("userChrome.tab.newtab_button_smaller",      true); // Photon
user_pref("userChrome.tab.newtab_button_proton",      false); // Proton

user_pref("userChrome.icon.panel_full",                true); // Original, Proton
user_pref("userChrome.icon.panel_photon",             false); // Photon
user_pref("userChrome.icon.panel_sparse",             false); // Just option

// Original Only
user_pref("userChrome.tab.box_shadow",                false);
user_pref("userChrome.tab.bottom_rounded_corner",     false);

// Photon Only
user_pref("userChrome.tab.photon_like_contextline",   false);
user_pref("userChrome.rounding.square_tab",            true);

// == Theme Custom Settings ====================================================
// -- User Chrome --------------------------------------------------------------
user_pref("userChrome.theme.monospace",                     true);

user_pref("userChrome.hidden.navbar",                       true);

user_pref("userChrome.counter.tab",                         true);
user_pref("userChrome.counter.bookmark_menu",               true);

user_pref("userChrome.tabbar.fill_width",                   true);

// -- User Content -------------------------------------------------------------
user_pref("userContent.page.monospace",                     true);
  • Photon with multirow

Photon style to support multirow.

photon_with_multirow.mp4
user.js
// ** Browser Options **********************************************************
user_pref("browser.search.widget.inNavBar",            true);

// == Theme Distribution Settings ==============================================
user_pref("userChrome.tab.connect_to_window",          true); // Original, Photon
user_pref("userChrome.tab.color_like_toolbar",         true); // Original, Photon

user_pref("userChrome.tab.lepton_like_padding",       false); // Original
user_pref("userChrome.tab.photon_like_padding",        true); // Photon

user_pref("userChrome.tab.dynamic_separator",         false); // Original, Proton
user_pref("userChrome.tab.static_separator",           true); // Photon
user_pref("userChrome.tab.static_separator.selected_accent", false); // Just option

user_pref("userChrome.tab.newtab_button_like_tab",    false); // Original
user_pref("userChrome.tab.newtab_button_smaller",      true); // Photon
user_pref("userChrome.tab.newtab_button_proton",      false); // Proton

user_pref("userChrome.icon.panel_full",               false); // Original, Proton
user_pref("userChrome.icon.panel_photon",              true); // Photon

// Original Only
user_pref("userChrome.tab.box_shadow",                false);
user_pref("userChrome.tab.bottom_rounded_corner",     false);

// Photon Only
user_pref("userChrome.tab.photon_like_contextline",    true);
user_pref("userChrome.rounding.square_tab",            true);

// == Theme Custom Settings ====================================================
// -- User Chrome --------------------------------------------------------------
user_pref("userChrome.decoration.panel_button_separator",   true);
user_pref("userChrome.decoration.panel_arrow",              true);

user_pref("userChrome.combined.nav_button",                 true);
user_pref("userChrome.combined.sub_button.as_normal",       true);

user_pref("userChrome.padding.urlView_expanding",           true);
user_pref("userChrome.padding.urlView_result",              true);
user_pref("userChrome.padding.toolbar_button.compact",      true);

user_pref("userChrome.urlView.always_show_page_actions",    true);
user_pref("userChrome.urlView.move_icon_to_left",           true);

user_pref("userChrome.rounding.square_panel",               true);
user_pref("userChrome.rounding.square_panelitem",           true);

user_pref("userChrome.panel.full_width_separator",          true);
user_pref("userChrome.panel.full_width_padding",            true);

user_pref("userChrome.tabbar.multi_row",                    true);
user_pref("userChrome.bookmarkbar.multi_row",               true);
  • Australis like theme

Set up combined UI like Australis.
At the same time, it applies a gaming feeling like Opera GX.

australis_like_theme.mp4
user.js
// ** Browser Options **********************************************************
user_pref("browser.tabs.inTitlebar",                      1); // no (0), yes (1), or default (2), which is true everywhere except Linux.
user_pref("browser.search.widget.inNavBar",            true);

// == Theme Distribution Settings ==============================================
user_pref("userChrome.tab.connect_to_window",          true); // Original, Photon
user_pref("userChrome.tab.color_like_toolbar",         true); // Original, Photon

user_pref("userChrome.tab.lepton_like_padding",        true); // Original
user_pref("userChrome.tab.photon_like_padding",       false); // Photon

user_pref("userChrome.tab.dynamic_separator",          true); // Original, Proton
user_pref("userChrome.tab.static_separator",          false); // Photon
user_pref("userChrome.tab.static_separator.selected_accent", false); // Just option
user_pref("userChrome.tab.bar_separator",             false); // Just option

user_pref("userChrome.tab.newtab_button_like_tab",     true); // Original
user_pref("userChrome.tab.newtab_button_smaller",     false); // Photon
user_pref("userChrome.tab.newtab_button_proton",      false); // Proton

user_pref("userChrome.icon.panel_full",                true); // Original, Proton
user_pref("userChrome.icon.panel_photon",             false); // Photon
user_pref("userChrome.icon.panel_sparse",             false); // Just option

// Original Only
user_pref("userChrome.tab.box_shadow",                 true);
user_pref("userChrome.tab.bottom_rounded_corner",      true);

// Photon Only
user_pref("userChrome.tab.photon_like_contextline",   false);
user_pref("userChrome.rounding.square_tab",           false);

// == Theme Custom Settings ====================================================
// -- User Chrome --------------------------------------------------------------
user_pref("userChrome.autohide.forward_button",             true);

user_pref("userChrome.combined.urlbar.nav_button",          true);
user_pref("userChrome.combined.urlbar.reload_button",       true);

user_pref("userChrome.tab.bottom_rounded_corner.all",       true);
user_pref("userChrome.tab.bottom_rounded_corner.australis", true);

user_pref("userChrome.urlbar.iconbox_with_separator",       true);

// Option
// user_pref("userChrome.combined.urlbar.home_button",         true);
userChrome.css
/* Original:
At :root
  --toolbar-field-focus-border-color: rgba(0, 0, 0, 0);
  --buttons-destructive-active-bgcolor: #810220;
  --toolbar-field-background-color: rgba(0, 0, 0, 0);
  --arrowpanel-background: rgba(28, 23, 38, 0.9959999918937683);

At #navigator-toolbox
  --lwt-tabs-border-color: rgba(208, 26, 67, 0.6669999957084656);

At #TabsToolbar, Need hardcoded
  --lwt-tab-line-color: rgb(208, 26, 67);
  */

#nav-bar {
  --toolbar-field-focus-border-color: var(--buttons-destructive-active-bgcolor);
  --toolbar-field-background-color: var(--arrowpanel-background);
  --lwt-tabs-border-color: rgb(208, 26, 67);
}
  • Chrome like theme

Minimal settings to get a look and fill for Chrome.

chrome_like_theme.mp4
user.js
// ** Browser Options **********************************************************
user_pref("browser.tabs.inTitlebar",                      1); // no (0), yes (1), or default (2), which is true everywhere except Linux.

// Experimental settings for `userChrome.tabbar.unscroll`
user_pref("layout.css.container-queries.enabled",      true);
user_pref("layout.css.overflow-moz-hidden-unscrollable.enabled", true);
user_pref("browser.tabs.tabMinWidth",                     0);

// == Theme Distribution Settings ==============================================
user_pref("userChrome.tab.connect_to_window",          true); // Original, Photon
user_pref("userChrome.tab.color_like_toolbar",         true); // Original, Photon

user_pref("userChrome.tab.lepton_like_padding",        true); // Original
user_pref("userChrome.tab.photon_like_padding",       false); // Photon

user_pref("userChrome.tab.dynamic_separator",          true); // Original, Proton
user_pref("userChrome.tab.static_separator",          false); // Photon
user_pref("userChrome.tab.static_separator.selected_accent", false); // Just option
user_pref("userChrome.tab.bar_separator",             false); // Just option

user_pref("userChrome.tab.newtab_button_like_tab",    false); // Original
user_pref("userChrome.tab.newtab_button_smaller",      true); // Photon
user_pref("userChrome.tab.newtab_button_proton",      false); // Proton

user_pref("userChrome.icon.panel_full",                true); // Original, Proton
user_pref("userChrome.icon.panel_photon",             false); // Photon
user_pref("userChrome.icon.panel_sparse",             false); // Just option

// Original Only
user_pref("userChrome.tab.box_shadow",                 true);
user_pref("userChrome.tab.bottom_rounded_corner",      true);

// Photon Only
user_pref("userChrome.tab.photon_like_contextline",   false);
user_pref("userChrome.rounding.square_tab",           false);

// == Theme Custom Settings ====================================================
// -- User Chrome --------------------------------------------------------------
user_pref("userChrome.rounding.square_urlView_item",        true);

user_pref("userChrome.urlView.full_width_padding",          true);
user_pref("userChrome.urlView.focus_item_border",           true);

user_pref("userChrome.tab.bottom_rounded_corner.all",       true);
user_pref("userChrome.tab.bottom_rounded_corner.chrome",    true);

user_pref("userChrome.tabbar.unscroll",                     true);

user_pref("userChrome.urlbar.iconbox_with_separator",       true);

user_pref("userChrome.findbar.floating_on_top",             true);
  • Arc Browser like theme

Concept of proof for UI similar to Arc Browser.

arc_browser_like_theme.mp4

First, Open Customize toolbar, then activate Title Bar or Menu Bar.

Configs
  • userChrome.hidden.tabbar to true
  • userChrome.hidden.urlbar_iconbox to true
  • userChrome.hidden.urlbar_iconbox.label_only to true
  • userChrome.navbar.as_sidebar to true
  • userChrome.urlView.as_commandbar to true

Additional context

You can suggest compatibility issues, option names, etc.

@roland-5
Copy link
Contributor

Thanks, I understand now. I tested it and... looks very nice! It's nice addition to tridactyl. I use sway with hidden bar so it blends now even better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue::Enhancement New feature or request Priority::High Solve and focus on it first
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants