Bonjour,
J'ai un souci avec la barre personnelle de mes marque-pages. J'ai mis dans le fichier userChrome.css ces lignes de codes ci-dessous pour avoir cette barre sur plusieurs lignes, et ça fonctionne très bien. Mais je me suis aperçu que si je déplace manuellement --click'n'drag-- (sans entrer dans "l'organisation des marque-pages"), et bien la première ligne n'est plus accessible, je ne peux plus cliquer sur les marque-pages de celle-ci, alors que ceux des lignes précédentes sont toujours cliquables. Je suis obligé de redémarrer FF pour que tout refonctionne. Ce n'est pas très long, me direz-vous, surtout avec l'option "restaurer la session précédente", mais quand on est en plein milieu d'une vidéo et qu'on veut naviguer en parallèle, c'est embêtant de devoir la finir avant de redémarrer FF ou de redémarrer tout de même et de remettre au minutage où on s'était arrêté-e.
Peut-être y a-t-il quelque chose à corriger dans mon code ? Apparemment j'ai 3 codes différents dans mon fichier, d'où les espaces importants entre deux blocs. Je pense que les deux premiers blocs sont pour le multi-lignes et le 3ème est pour resserrer les icônes. A voir donc quel bloc contient l'erreur. Probablement j'ai moyen de mettre des "titres" à mes blocs pour une meilleure reconnaissance personnelle à l'avenir ? Mais je ne veux pas casser mes codes donc je n'ose pas insérer quoi que ce soit de façon mal faite. Une aide sur ce point serait la bienvenue également.
Code : Tout sélectionner
#alltabs-button {display: none !important;}
/* 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 */
#PersonalToolbar{
--multirow-bmb-n-rows: 4; /* Control how many rows are shown before scrolling */
--multirow-bmb-row-margin: 0px; /* 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) * (5px + 1em + (2 * (var(--multirow-bmb-row-margin) + var(--uc-bm-padding,4px))))) !important;
overflow-y:auto;
scrollbar-color: var(--lwt-accent-color) 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) 0px !important; }
/* Onglets en dessous de la barre d'adresse */
:root{ --uc-titlebar-padding: 0px; }
@media (-moz-os-version: windows-win10){
:root[sizemode="maximized"][tabsintitlebar]{ --uc-titlebar-padding: 8px }
}
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container,
#TabsToolbar > .titlebar-buttonbox-container{
position: fixed;
display: block;
top: var(--uc-titlebar-padding,0px);
right:0;
height: 40px;
}
:root[uidensity="compact"] #TabsToolbar > .titlebar-buttonbox-container{ height: 32px }
#toolbar-menubar[inactive] > .titlebar-buttonbox-container{ opacity: 0 }
#navigator-toolbox{ padding-top: var(--uc-titlebar-padding,0px) !important; }
.titlebar-buttonbox-container > .titlebar-buttonbox{ height: 100%; }
#titlebar{
order: 2;
-moz-appearance: none !important;
--tabs-navbar-shadow-size: 0px;
}
.titlebar-placeholder,
#TabsToolbar .titlebar-spacer{ display: none; }
#navigator-toolbox::after{ display: none !important; }
@media (-moz-gtk-csd-close-button){ .titlebar-button{ flex-direction: column } }
:root{ --uc-window-control-width: 0px !important }
#navigator-toolbox{ padding-top: calc(29px + var(--uc-titlebar-padding,0px)) !important }
#toolbar-menubar{
position: fixed;
display: flex;
top: var(--uc-titlebar-padding,0px);
height: 29px;
width: 100%;
overflow: hidden;
}
#toolbar-menubar > .titlebar-buttonbox-container{ height: 29px; order: 100; }
#toolbar-menubar > [flex]{ flex-grow: 100; }
#toolbar-menubar > spacer[flex]{
order: 99;
flex-grow: 1;
min-width: var(--uc-window-drag-space-width,20px);
}
#toolbar-menubar .titlebar-button{ padding: 2px 17px !important; }
#toolbar-menubar .toolbarbutton-1 { --toolbarbutton-inner-padding: 3px }
/*** Proton Tabs Tweaks ***/
/* Adjust tab corner shape, optionally remove space below tabs */
#tabbrowser-tabs {
--user-tab-rounding: 4px;
}
.tab-background {
border-radius: var(--user-tab-rounding) !important;
}
/* 1/16/2022 Tone down the Fx96 tab border with add-on themes in certain fallback situations */
.tab-background:is([selected], [multiselected]):-moz-lwtheme {
--lwt-tabs-border-color: rgba(0, 0, 0, 0.5) !important;
}
[brighttext="true"] .tab-background:is([selected], [multiselected]):-moz-lwtheme {
--lwt-tabs-border-color: rgba(255, 255, 255, 0.5) !important;
}
/* Override Normal Density height to Compact Density height only for tabs */
#TabsToolbar, #tabbrowser-tabs {
--tab-min-height: 19px !important;
}
/* Tweak for covering a line at the bottom of the active tab on some themes 8/11/2021 */
#main-window[sizemode="normal"] #toolbar-menubar[autohide="true"] + #TabsToolbar,
#main-window[sizemode="normal"] #toolbar-menubar[autohide="true"] + #TabsToolbar #tabbrowser-tabs {
--tab-min-height: 30px !important;
}
#scrollbutton-up,
#scrollbutton-down {
border-top-width: 0 !important;
border-bottom-width: 0 !important;
}
/* Make sure tab attention dot isn't too high - 10 Dec 2022 */
.tabbrowser-tab:is([image], [pinned]) > .tab-stack > .tab-content[attention]:not([selected="true"]),
.tabbrowser-tab > .tab-stack > .tab-content[pinned][titlechanged]:not([selected="true"]),
#firefox-view-button[attention], .webextension-browser-action[attention="true"] {
background-position-y: bottom 5px !important;
}
/* Tweak Options as of 12/10/2022; Generated Tue May 16 2023 14:44:38 GMT+0200 (heure d’été d’Europe centrale) */
Merci de votre aide.