GithubHelp home page GithubHelp logo

Comments (4)

MrOtherGuy avatar MrOtherGuy commented on June 12, 2024

There's bit of compatibility problem with some of those, but firstly, reorder them such that:

  1. window_control_placeholder_support.css is loaded first
  2. multi-row_tabs_window_control_patch.css is loaded after multi-row_tabs.css

That should make window control buttons show up in next to the main menu button like you wanted.

The compatibility problem then is between autohide_menubar.css and multi-row_tabs_window_control_patch.css. Both of these modify how menubar gets rendered and they're not going to work together - so umm I see two options:

  1. If you want autohide_menubar.css behavior then remove both window_control_placeholder_support.css and multi-row_tabs_window_control_patch.css
  2. If you don't want that, then remove autohide_menubar.css

I also updated multi-row_tabs_window_control_patch.css just now, so make sure that grab that. I made it depend on window_control_placeholder_support which should improve style and operating system compatibility a lot.

from firefox-csshacks.

RashiqAzhan avatar RashiqAzhan commented on June 12, 2024

Thank you for the reply. I've ordered the imports as advised but it seems the result is a bit unexpected.

Case 1

multi-row_tabs.css & autohide_menubar.css only.

@import url(chrome/multi-row_tabs.css);
@import url(chrome/autohide_menubar.css);
@import url(chrome/tab_close_button_always_on_hover.css);
@import url(chrome/tab_loading_progress_throbber.css);
@import url(chrome/button_effect_scale_onclick.css);
@import url(chrome/hide_toolbox_top_bottom_borders.css);
@import url(chrome/vertical_context_navigation.css);
@import url(chrome/minimal_popup_scrollbars.css);
@import url(chrome/dark_context_menus.css);
@import url(chrome/dark_additional_windows.css);
@import url(chrome/dark_checkboxes_and_radios.css);
@import url(chrome/urlbar_centered_text.css);
@import url(chrome/centered_statuspanel.css);
@import url(chrome/urlbar_popup_full_width.css);
@import url(chrome/compact_extensions_panel.css);
@import url(chrome/iconized_main_menu.css);
@import url(chrome/privatemode_indicator_as_menu_button.css);
@import url(chrome/minimal_in-UI_scrollbars.css);
@import url(chrome/loading_indicator_bouncing_line.css);

case_1

It looks good but the top area stills where the tabs are looks a bit underutilized. Are the window controls unmovable? If so then I guess this is the best solution for now.

Case 2

window_control_placeholder_support.css, multi-row_tabs.css, & multi-row_tabs_window_control_patch.css respectively.

@import url(chrome/window_control_placeholder_support.css);
@import url(chrome/multi-row_tabs.css);
@import url(chrome/multi-row_tabs_window_control_patch.css);
@import url(chrome/tab_close_button_always_on_hover.css);
@import url(chrome/tab_loading_progress_throbber.css);
@import url(chrome/button_effect_scale_onclick.css);
@import url(chrome/hide_toolbox_top_bottom_borders.css);
@import url(chrome/vertical_context_navigation.css);
@import url(chrome/minimal_popup_scrollbars.css);
@import url(chrome/dark_context_menus.css);
@import url(chrome/dark_additional_windows.css);
@import url(chrome/dark_checkboxes_and_radios.css);
@import url(chrome/urlbar_centered_text.css);
@import url(chrome/centered_statuspanel.css);
@import url(chrome/urlbar_popup_full_width.css);
@import url(chrome/compact_extensions_panel.css);
@import url(chrome/iconized_main_menu.css);
@import url(chrome/privatemode_indicator_as_menu_button.css);
@import url(chrome/minimal_in-UI_scrollbars.css);
@import url(chrome/loading_indicator_bouncing_line.css);

case_2
Still has that white space on the right besides the extensions with the window controls still with the tabs. Not sure if this is expected.

case_2_1
Also, a row of tabs seems to always be missing with these three styles. You can see the tabs on the left using sideberry but they're not at the top. Window control is occupying the empty space which is nice. Usability suffers due to the top row of tabs not being visible. Thoughts?

I'm on commit fc7b95c which should be the latest master at the time of writing.

from firefox-csshacks.

MrOtherGuy avatar MrOtherGuy commented on June 12, 2024

Case 1 looks as if you have not actually enabled menubar in Firefox. You must do that for autohide_menubar.css to work as expected.

And actually same applies to case 2 as well. Both images look what I would expect if menubar is disabled by Firefox options.

You can enable menubar by right-clicking the toolbar area and checking menubar option, or you can do it via cuatomize mode.

from firefox-csshacks.

RashiqAzhan avatar RashiqAzhan commented on June 12, 2024

That explains it. Thank you so much. It's working as expected now.

from firefox-csshacks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.