Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
deiutza20
Femeie
21 ani
Bacau
cauta Barbat
21 - 44 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [FIREFOX] Create userChrome.css to Make Custom Themes Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 739




Firefox CSS hacks


pus acum 1 an
   
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 739
Color active tab in red.

Add these to userChrome.css


/* color active tab; yellow */
.tab-background[selected="true"] { background-attachment: none!important; background-color: yellow!important; background-image: none!important;}

/* font color active tab; black */
.tabbrowser-tab[selected] {color: black!important;}

/* color non-active tabs; black */
.tab:not([selected="true"]) { background-color: rgb(0, 0, 0) !important; color: black !important;}

/* font color non-active tabs; white */
.tabbrowser-tab:not([selected="true"]) {color: rgb(255, 255, 255) !important;}


Source:


pus acum 1 an
   
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 739
This works for multiple rows bookmarks toolbar:


/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/multi-row_bookmarks.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */

/* Makes bookmarks toolbar span multiple rows */

/* Dummy variable to support versions 94-96, can be removed when 96 lands */
:root{ --lwt-frame: var(--lwt-accent-color) }

#PersonalToolbar{
  --multirow-bmb-n-rows: 3; /* Control how many rows are shown before scrolling */
  --multirow-bmb-row-margin: 2px; /* Control how much spacing is between rows */
  max-height: none !important;
}

#PlacesToolbar > hbox{
  display: block;
  width: 100vw;
}

#PlacesToolbarItems{
  display: flex;
  flex-wrap: wrap;
  /* --uc-bm-padding is defined in autohide_bookmarks_toolbar.css */
  max-height: calc(var(--multirow-bmb-n-rows) * (4px + 1em + (2 * (var(--multirow-bmb-row-margin) + var(--uc-bm-padding,var(--bookmark-block-padding)))))) !important;
  overflow-y:auto;
  scrollbar-color: var(--lwt-frame) var(--toolbar-bgcolor) ;
  scrollbar-width: thin;
}

/* Hide the all-bookmarks button */
#PlacesChevron{ display: none }

/* Add some spacing between rows */
#PlacesToolbarItems > .bookmark-item{ margin: var(--multirow-bmb-row-margin) 3px !important;  }


More:


pus acum 1 an
   
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 739
Scrollbar options

Install the following addin:

In order to always show scrollbars, in Windows 11 go to Settings - Accessibility - Visual Effects - Always show scrollbars

To change scrollbar width, you have to change them in Windows for the entire system - this way they will change for Firefox also.

Go to regedit, Computer\HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics

ScrollWidth:
Here, the default value is -255 and the ScrollWidth is based on the same formula: -15 multiplied by the size you want in pixels. So like in ScrollHeight, input a value between -120 (narrower) to -1500 (wider) for what you want, and click/tap on OK. In the screenshot below I've put the value as -750 for a wider scrollbar.


Source:
and


pus acum 1 an
   
Pagini: 1  

Mergi la