/* Ordre des barres */ /* This reorders toolbar to place tabs below other toolbars. Requires Firefox 133+ */ @media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"){ #nav-bar > .titlebar-buttonbox-container{ order: -1 !important; > .titlebar-buttonbox{ flex-direction: row-reverse; } } } @media not (-moz-bool-pref: "sidebar.verticalTabs"){ .global-notificationbox, #tab-notification-deck, #TabsToolbar{ order: 1; } #TabsToolbar > :is(.titlebar-spacer,.titlebar-buttonbox-container){ display: none; } :root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{ display: flex !important; } :root:is([tabsintitlebar],[customtitlebar]) #toolbar-menubar:not([autohide="false"]) ~ #nav-bar{ > .titlebar-buttonbox-container{ display: flex !important; } :root[sizemode="normal"] & { > .titlebar-spacer{ display: flex !important; } } :root[sizemode="maximized"] & { > .titlebar-spacer[type="post-tabs"]{ display: flex !important; } @media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"), (-moz-gtk-csd-reversed-placement), (-moz-platform: macos){ > .titlebar-spacer[type="post-tabs"]{ display: none !important; } > .titlebar-spacer[type="pre-tabs"]{ display: flex !important; } } } } } /* ************************************************ */ /* Onglets améliorés */ .tab-content { margin: 0 !important; } .tab-background{ outline: none !important; border: none !important; box-shadow: none !important; background-clip: padding-box; margin-bottom: 0 !important; padding: 0 !important; background-color: rgba(0, 0, 0, .3); border-radius: 1em 1em 0 0 !important; } .tab-background[selected]{ border-radius: 1em 1em 0 0 !important; } .tab-background[selected] > .tab-context-line { margin-top: -3px !important; } /* Marque-page de la barre de favoris : juste des icones, sauf au survol. */ #personal-bookmarks .bookmark-item > .toolbarbutton-text { display: none !important; /* Cache le texte */ } #personal-bookmarks .bookmark-item:hover > .toolbarbutton-text { display: inline !important; /* Affiche le texte au survol */ margin-left: 5px; /* Ajoute un petit espace entre l'icône et le texte */ vertical-align: middle !important; /* Aligne verticalement le texte avec l'icône */ } #personal-bookmarks .bookmark-item > .toolbarbutton-icon { vertical-align: middle !important; /* Aligne verticalement l'icône avec le texte */ } /* Ajuste globalement la hauteur des éléments pour éviter les sauts */ #personal-bookmarks .bookmark-item { line-height: 1.6 !important; /* Augmente la hauteur de ligne */ height: 32px !important; /* Assure une hauteur fixe pour éviter les sauts */ } /* Icones personnalisées */ #personal-bookmarks .bookmark-item:nth-child(2 of [container="true"])::before { content: "☀️ "; margin-right: 5px; } #personal-bookmarks .bookmark-item:nth-child(3 of [container="true"])::before { content: "🤖 "; margin-right: 5px; }