CustomCSSforFx icon indicating copy to clipboard operation
CustomCSSforFx copied to clipboard

[!] GENERAL discussion, feedback, questions belong here! (v9)

Open Aris-t2 opened this issue 7 years ago • 316 comments

Make sure you have updated your configuration to the most recent version of this projects files and are using the latest version of the "options" required by your Firefox version >before< reporting problems!

Continued from https://github.com/Aris-t2/CustomCSSforFx/issues/3, https://github.com/Aris-t2/CustomCSSforFx/issues/41, https://github.com/Aris-t2/CustomCSSforFx/issues/88, https://github.com/Aris-t2/CustomCSSforFx/issues/109, https://github.com/Aris-t2/CustomCSSforFx/issues/133, https://github.com/Aris-t2/CustomCSSforFx/issues/163, https://github.com/Aris-t2/CustomCSSforFx/issues/189 and https://github.com/Aris-t2/CustomCSSforFx/issues/211.

Instead of opening new "issues" for general talk we can use this area for discussions, feedback and questions. Open new "issues" for real bugs and problems.

Custom JS scripts to restore more classic features https://github.com/Aris-t2/CustomJSforFx

Things this project will not target/recreate

  • a CTR like plugin/application to generate ready-to-use CSS
  • curved tabs (thanks those are finally gone!)
  • old complete themes

Things not possible with CSS

  • more toolbars like add-on/status bar (CSS can not create new toolbars)
    • displaying full sized status popup below window content is possible
    • bookmarks toolbar at windows bottom is possible (simulated addon-bar)
  • new buttons (CSS can not create new buttons)
  • additional menuitems (CSS can not create new items)
  • custom/new/different functions for buttons/menuitems/menus
  • activity indicator (see 'custom JS scripts')
  • preference/options window
  • additional location bar
  • favicon in location bars identity box (see 'custom JS scripts')
  • moving menubar items to a different toolbar
  • restart button (see 'custom JS scripts')
  • ... many more

Aris-t2 avatar Oct 25 '19 09:10 Aris-t2

First time commenter, bear with me.

With Fx70, the font size of URLs in the locationbar autocomplete popup got smaller. How can I change it? I tried both the ac_popup_classic_with_url_only_fx68.css and ac_popup_url_and_title_50percent_width.css options. kép

In addition, in the ac_popup_url_and_title_50percent_width.css option, the search engine button line at the bottom of the popup is apparently sized at 50% width (extending from 25% to 75%), with a line break. kép

Are any of these two bugs worth reporting, or did I just miss some setting possibility?

m4n8tpr4 avatar Oct 25 '19 19:10 m4n8tpr4

How do I set the config to default? And I applied the red colour to the toolbar and header via the Windows personalization colour settings. Should I set the window colour back to its default value in Settings?

Infernoflower avatar Oct 25 '19 21:10 Infernoflower

Hey Aris, is there a way to have this dark blue highlight color that happens when you type, be of a different color, preferably light grey or light blue, like what my green arrow points to.

https://i.imgur.com/1t0DUVo.png

ImSpecial avatar Oct 26 '19 01:10 ImSpecial

In web developer tools (Ctrl + Shift + I), that is - NOT for Browser Toolbox, in Firefox quantum is it possible to permanently change font size, name (e.g., Liberation mono), font weight without massive effort?

I was able to change font size, weight, etc., in some modules of browser toolbox using fairly simple CSS (from Mozilla support site).
They said CSS changes for browser toolbox had to go in the profile, under a created directory, "chrome_debugger_profile/chrome/userChrome.css".

But nothing I've read or tried says it's as easy to change these things in web developer tools. CSS for it goes in the usual path for userChrome.css.
At least, not easy to change fonts in all the modules (Inspector, Debugger, DOM, etc. Many commented they just used Ctrl and '+' key to increase font size in web devtools. Doing that every time gets annoying & after every restart.

Ctrl and + increases the font size in all displayed panes, but doesn't allow specifying monospace or a particular font, where certain letters & numerals don't look identical. It also increases size of window controls, scroll bars along w/ text or code, which isn't wanted.

If I could set the web devtools font properties in Inspector, Debugger, Style Editor & hopefully DOM, that would help a lot.

bendover22 avatar Oct 26 '19 02:10 bendover22

@m4n8tpr4 The width is controlled by --ac_popup_width variable, you will have to modify it.

The search area at the bottom does not get crushed in my tests. I will add some more tweaks on next update, that might improve things. Test this code:

/* reduce space around search engines */
#urlbar .search-one-offs {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  padding-inline-start: 4px !important;
  padding-inline-end: 0px !important;
}

@Infernoflower For testing purposes disable inside your Windows 10 ui/color settings to colorization of titlebar. I'm still not sure, if that is what causing the glitch. Have you tested a new CustomCSSforFx setup of your /chrome/ folder?

@Imspecial You can set different colors here https://github.com/Aris-t2/CustomCSSforFx/blob/master/classic/css/locationbar/ac_popup_classic_with_url_only_fx68.css#L132 and here https://github.com/Aris-t2/CustomCSSforFx/blob/master/classic/css/locationbar/ac_popup_classic_with_url_only_fx68.css#L144

@bendover22 Worked fine for me (in Fx72 Nightly). I used "Freestyle Script" for this example and every area of developer tools was affected.

\chrome_debugger_profile\chrome\userChrome.css -->

* {
  font-size: 14pt !important;
  font-family: "Freestyle Script" !important;
  font-style: italic !important; 
}

-->

font

Aris-t2 avatar Oct 26 '19 09:10 Aris-t2

Hello.

  1. Is there any website where you can download configurations with photos of what it looks like.
  2. Is it possible to make this modification in the same way as the "Enterprise Policy Generator" plugin is made in which options are selected and a file with these settings is generated later. It would be similar to the old CTR.

RafalRambo avatar Oct 26 '19 13:10 RafalRambo

@RafalRambo Short answer to both: no.

However there are a few screenshots here on Github: https://github.com/Aris-t2/CustomCSSforFx/issues/2

I do not have the time or the will to create a "generator"/software/plugin etc. for this projects files.

Aris-t2 avatar Oct 26 '19 17:10 Aris-t2

@Aris-t2 I just updated FF to v70.0 and updated CustomCSS to v2.7.9. Everything works, but as @m4n8tpr4 mentioned, the URL text on the left in the location bar dropdown is now way smaller (though the titles on the right seem possibly unchanged).

Is there a way to make the dropdown URLs text bigger, as it was before v70? image

jmcken1 avatar Oct 27 '19 01:10 jmcken1

@Aris-t2 First I want to thank you for all of the work you do to support Firefox :)

My question is: How do I change the text color in my bookmarks?

Since the update to Firefox 70 the background of my bookmarks is dark now, which I really like, but the text and arrows are still black and I would like to change it to White if I could.

Here is a pic of my browser with Bookmarks shown:

Bookmark Text Color

Thanks!!

AMGPilot avatar Oct 27 '19 02:10 AMGPilot

@jmcken1 I will add an option for this on next update. In my opinion the text size in general is too small inside that popup.

#urlbar-results :-moz-any(.urlbarView-tags, .urlbarView-action, .urlbarView-title, .urlbarView-url) {
  font-size: 10pt !important;
}

@AMGPilot Disable the rule bookmarks_menu_button_popup_classic_appearance.css in userChrome.css. It does not work correctly atm.

Aris-t2 avatar Oct 27 '19 08:10 Aris-t2

Dear @Aris-t2 Hi! I have a small strange question.
You can copy-paste this url below, and save it like a new bookmark, then you have a notepad. When open it you can write anything you want.

data:text/html,%20<html%20contenteditable>Notepad

Is that possible with css to change font family, size, color etc? 1

Achille-Grs avatar Oct 27 '19 10:10 Achille-Grs

@Aris-t2

@m4n8tpr4 The width is controlled by --ac_popup_width variable, you will have to modify it.

The search area at the bottom does not get crushed in my tests.

I forgot to mention: the search area crushing into the 25%-75% part only happens if I type in something in the location bar in a pseudo-tab (about:preferences or about:config).

Thanks for the font size solution!

m4n8tpr4 avatar Oct 27 '19 13:10 m4n8tpr4

@Achille-Grs

Add this to userContent.css (it will most likely affect other websites too):

html[contenteditable] body {
  font-size: 14pt !important;
  font-family: "Freestyle Script" !important;
  font-style: italic !important; 
}

@m4n8tpr4 Test the latest release. I can not reproduce this on Fx70 beta or 72 Nightly.

Aris-t2 avatar Oct 27 '19 15:10 Aris-t2

@AMGPilot Disable the rule bookmarks_menu_button_popup_classic_appearance.css in userChrome.css. It does not work correctly atm.

@Aris-t2 Thank you very much for the reply, it works great now! The text and arrows are white just like I wanted.

One more thing... after disabling the classic appearance I now have "Show All Bookmarks at the top and Bottom now. Is there a way top disable the one at the bottom?

Thank you for all of your hard work!!!

..............................Follow Up......................

Holy crap I figured it out on my own!! 🎉

Hopefully I did it correctly.

I added the code below to this file: "bookmarks_menu_button_popup_other_item_hidden.css"

#BMB_bookmarksShowAll, #BMB_viewBookmarksSidebar { display: none !important; }

This removed the "Show All Bookmarks" from the bottom of the Bookmarks popup.

AMGPilot avatar Oct 27 '19 16:10 AMGPilot

I just remembered that I actually applied the red colour to the toolbar and header via the Windows personalization colour settings. Should I set the window colour back to its default value in Settings so that the gap between the tabs and the toolbar goes away?

Infernoflower avatar Oct 27 '19 22:10 Infernoflower

image How to display and valid these messages? It appears too furtively and I can't click on "I understand". I don't know what keyword to search to fix that.

TroudhuK avatar Oct 27 '19 23:10 TroudhuK

@Aris-t2

@nollinvoyd

#PopupSearchAutoComplete,
#PopupSearchAutoComplete * {
  color: black !important;
}

The the suggestion font colors are dark, but the search engine colors didn't change. Also, how can this void below the suggestions be removed?

It doesn't allow me to see all my search engines.

search menu

nollinvoyd avatar Oct 27 '19 23:10 nollinvoyd

In v.68 esr the unread/unload color for tabs does not work.Is there a way to bring it back?

Crybal avatar Oct 27 '19 23:10 Crybal

@Infernoflower Try to set your settings back to default and test.

@TroudhuK Create a new browser profile and test.

@nollinvoyd Looks like you are using the wrong option.

/* @import "./css/generalui/searchbar_popup_engines_show_labels_fx66.css"; /**/
/* @import "./css/generalui/searchbar_popup_engines_show_labels_fx70.css"; /**/
/* @import "./css/generalui/searchbar_popup_engines_show_labels_fx72.css"; /**/

Make sure you have set the one required by your Fx version and also verify, that you are using the latest files.

About the text color, this is how applying the code looks for me: search

@Crybal "unread" state was removed in Fx 61/62 and we can not restore ist. "unload" state aka "pending" still works fine up to Fx72.

Aris-t2 avatar Oct 28 '19 07:10 Aris-t2

image (in a new profile) So it's because I hide this Chrome-like "hamburger" button. Can we find a way to fix that (hide button but show these bubbles)?

TroudhuK avatar Oct 28 '19 08:10 TroudhuK