CustomCSSforFx icon indicating copy to clipboard operation
CustomCSSforFx copied to clipboard

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

Open Aris-t2 opened this issue 8 years ago • 300 comments

Make sure you updated to the most recent version of this projects files "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 and https://github.com/Aris-t2/CustomCSSforFx/issues/133.

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

Trying to make CSS code ready for Firefox Quantum (57+)? Remove all @namespace references. They are the reason, if your code refuses to work.

Application/hamburger button in tabs toolbar? Look here: #46

Things this project will not target/recreate

  • curved tabs
  • 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
    • moving bookmarks toolbar to windows bottom is possible
  • 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
  • preference/options window
  • additional location bar
  • favicon in location bars identity box
  • moving menubar items to a different toolbar
  • restart button
  • ... many more

Aris-t2 avatar Nov 06 '18 09:11 Aris-t2

Not a bug, but maybe an oversight/inconsistency I though I might as well report since I noticed it.

Using the latest v2.2.2, it looks like the hover effect on the New Tab's page search bar is missing... I'll just do pictures.

Search Bar no hover 1

Search Bar hover 2

For comparison: Location Bar no hover 3

Location Bar hover 4

There kinda inverses if you know what I mean.

ImSpecial avatar Nov 06 '18 21:11 ImSpecial

When Nightly upgraded to 65.0a1 I can no longer put the tabs under the main content or below the navigation and bookmark toolbar. Is there any fix for this?

aflove65 avatar Nov 07 '18 09:11 aflove65

@ImSpecial Do you think Mozilla will take care of this in the future?

@aflove65 This will be fixed on next update.

Aris-t2 avatar Nov 07 '18 14:11 Aris-t2

No idea on that, probably not... it's not a big deal either way, but I think what makes it more noticeable with CustomCSSforFX is that the tiny 1px grey border is being removed on hover when it dosn't with stock FF, also when the bar has the blue highlight effect it's not quite looking right either using CustomCSSforFX.

Stock FF, no chrome folder: 1 2 3 4

CustomCSSforFX: c1 c2 c3 c4

ImSpecial avatar Nov 07 '18 16:11 ImSpecial

If you are not using the old "dark appearance" for Firefox 60 on current Firefox versions, there is nothing, that can affect the about:newtab page.

Location and search bar buttons/icons get altered by @import "./css/locationbar/icons_colorized.css";, but without it, I see no difference compared to browsers Vanilla setup + dark theme (Fx65).

Aris-t2 avatar Nov 07 '18 16:11 Aris-t2

I am using "\css\aboutnewtab\dark_appearance.css" though...

ImSpecial avatar Nov 07 '18 17:11 ImSpecial

In the menu>submenu ,how can I change the color of the arrow and the shortcut? Eg.Menu>bookmarks> Show all bookmarks " Ctrl+Ahift+B " Menu>bookmarks>bookmarks folder ">" most visited

Crybal avatar Nov 07 '18 19:11 Crybal

OK, so, I am pretty sure Im blind but since updating to 2.2.2 and going through the options I cant find where to set some of the color options. I have tried changing settings in custom_tab_color_settings.css after removing the /* in userChrome.css to enable it but they dont seem to take effect.

Few things I would like to change in this screenshot: https://i.imgur.com/zKBR35y.png -Tab background colors (the light gray on the hovered tab and the darker gray on the other tabs. -Remove gradient from the selected tab, or at least just know where to remove it. -Tab border colors -The space between last tab and the minimize button (it seems to only be there in the multirow css file v1 but its not present in v2 for some reason. -The background color, and gradient for all the buttons on the toolbar -Is it possible to remove the line around the address bar?

It would be neat if the second and more tab rows could start at the edge of the screen instead of after the app button but Im sure thats probly not possible.

John0877 avatar Nov 07 '18 19:11 John0877

Is it still not possible to move the overflow menu button on the navigation bar? I can't for the life of me understand why they'd fix its position in that way.

That-Random-Guy avatar Nov 09 '18 17:11 That-Random-Guy

@ImSpecial

You don't need that on Firefox 61+, because default 'Dark' theme already styles newtab page automatically.

@Crybal To colorize the shortcut:

.menu-accel {
  color: red !important;
}

You can not change the color of the arrow. The image has to be switched.

.menu-right image {
}

@John0877 Tab colors If you are using the whole package, colors have to be configured within config/color_variables.css file.

Space between last tab and the minimize button Your tab dimensions do not allow another tab there, so it gets moved to next row. Try to set different min/max width values.

The background color, and gradient for all the buttons on the toolbar Disable @import "./css/buttons/buttons_on_navbar_classic_appearance.css";

Is it possible to remove the line around the address bar?

#urlbar {
  border: 0 !important;
  outline: unset !important;
  box-shadow: unset !important;
}

It would be neat if the second and more tab rows could start at the edge of the screen instead... Only possible, if the appbutton is not on titlebar.

@That-Random-Guy Please explain what you mean by that. The overflow button >> is on navigation toolbar by default. If you are talking about the application/Firefox button, you have to disable @import "./css/appbutton/appbutton_in_titlebar.css"; and @import "./css/appbutton/appbutton_in_titlebar_autocolor.css"; to get the default main menu button on navigation toolbar.

Aris-t2 avatar Nov 09 '18 21:11 Aris-t2

Yeah I suppose it does, but I like your colors better :), you use a lighter grey then default FF's dark mode, also I use your dark bookmark side menu and thus colors wont match because again you use a lighter grey, tabs and duckduckgo's dark mode also all match this way.

This is what things look like with your darkmode, and without.

CustomCSSforFX: https://i.imgur.com/ggz8Qoq.png

FF Dark Mode: https://i.imgur.com/GAF24Pv.png

ImSpecial avatar Nov 09 '18 21:11 ImSpecial

@That-Random-Guy Please explain what you mean by that. The overflow button >> is on navigation toolbar by default. If you are talking about the application/Firefox button, you have to disable @import "./css/appbutton/appbutton_in_titlebar.css"; and @import "./css/appbutton/appbutton_in_titlebar_autocolor.css"; to get the default main menu button on navigation toolbar.

@Aris-t2 I am indeed referring to the overflow menu button on navbar, or the '>>'. I'm wondering if there's any way to move its position via CSS and have it swap places with the downloads button. I asked this same question for an earlier release/build but after looking at the code available here, I thinking the answer to my question is still no. I'm just asking again to be 100% sure.

That-Random-Guy avatar Nov 09 '18 22:11 That-Random-Guy

@ImSpecial The colors indeed blend better, but I believe you only need pages background color from that file.

@That-Random-Guy You can only achieve this with Javascript and you have to know the button ids to place them in the correct order.

Navigation toolbar > main menu button, overflow button, downloads button:

setTimeout(function(){
  try{
	
	document.getElementById("nav-bar-customization-target").insertBefore(document.getElementById("PanelUI-button"),null);
	document.getElementById("nav-bar-customization-target").insertBefore(document.getElementById("nav-bar-overflow-button"),null);
	document.getElementById("nav-bar-customization-target").insertBefore(document.getElementById("downloads-button"),null);
	  
  } catch(e){}
},200);

grafik

https://github.com/Aris-t2/CustomJSforFx

Aris-t2 avatar Nov 09 '18 23:11 Aris-t2

Is that just the first few lines of the file?

@-moz-document url(about:newtab), url(about:home) {
  body {
	background-color: #323234 !important;
	color: #D1D1D1 !important;
  }

ImSpecial avatar Nov 10 '18 00:11 ImSpecial

Maybe the code is already published but I did'nt found. Is possible change the background and the text color of status panel?

status panelpng

happysurf avatar Nov 10 '18 17:11 happysurf

@Aris-t2 Thanks, mate. That did the trick!

That-Random-Guy avatar Nov 10 '18 18:11 That-Random-Guy

The icon for the MySessions extension keeps getting reset to black on browser restart in spite of changing the color in the settings dialog. I was wondering if there'd be a way to override its color since I am assuming its not an actual icon file since there's a color picker in its settings.

John0877 avatar Nov 11 '18 05:11 John0877

@happysurf

:-moz-any(statuspanel,#statuspanel) :-moz-any(#statuspanel-label,.statuspanel-label) {
  -moz-appearance: none !important;
  background: red !important;
  color: yellow !important;
}

@John0877 We can not override that buttons color with CSS, because the used SVG image does not allow it. The internal color changer always generates a new icon with the selected color.

But the internal icon color changer works for me. I enabled/disabled the option a few times and it started to do its job.

sss

Aris-t2 avatar Nov 11 '18 10:11 Aris-t2

@happysurf

:-moz-any(statuspanel,#statuspanel) :-moz-any(#statuspanel-label,.statuspanel-label) {
  -moz-appearance: none !important;
  background: red !important;
  color: yellow !important;
}

Thanks, but doesn't work on 64beta but this yes:

/* Status panel */
@media (-moz-windows-default-theme) {
#statuspanel-label {
   background-color: white !important;
   color: black !important;
}

Created looking chrome://browser/skin/browser.css code. :-)

happysurf avatar Nov 11 '18 17:11 happysurf

@happysurf

Works for me with every Firefox version I tested between 60 and 65 (ESR, release, beta, Nighty). I even added an option of this for next update.

Those nodes did not change for years. What OS / theme are you testing on?

Aris-t2 avatar Nov 11 '18 18:11 Aris-t2