Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Onglets en dessous la barre d'adresse */
- @import "./tabs_below_navigation_toolbar.css";
- /* move titlebar and its content (menubar, tabs toolbar) below navigation/bookmarks toolbar */
- #titlebar {
- -moz-box-ordinal-group: 100 !important;
- }
- /* space above tabs toolbar */
- #main-window[tabsintitlebar][sizemode="maximized"] * #titlebar {
- margin-top: -7px !important;
- margin-left: 0px;
- margin-right: 0px !important;
- }
- #main-window[tabsintitlebar][sizemode="normal"] * #titlebar {
- margin-top: -0px !important;
- margin-left: 0px;
- }
- #main-window[tabsintitlebar][sizemode="fullscreen"] * #titlebar {
- margin-left: 4px;
- }
- /* space for menubar above navigation toolbar (Firefox titlebar) */
- #main-window[tabsintitlebar]:not([sizemode="fullscreen"]) #nav-bar {
- margin-top: 0px !important;
- }
- #main-window[tabsintitlebar][sizemode="maximized"]:not([sizemode="fullscreen"]) #nav-bar {
- margin-top: 26px !important;
- }
- /* add 'drag' feature to space above navigation toolbar */
- #main-window[tabsintitlebar] #navigator-toolbox,
- #main-window[tabsintitlebar] #nav-bar {
- -moz-window-dragging: drag !important;
- }
- /* Windows */
- @media (-moz-os-version:windows-win10), (-moz-os-version:windows-win8), (-moz-os-version:windows-win7) {
- /* set to '0', if no menubar is used */
- #main-window:not([tabsintitlebar]):not([sizemode="fullscreen"]) #nav-bar {
- margin-top: 18px !important;
- }
- /* set to '0', if no menubar is used */
- #main-window[tabsintitlebar][sizemode="maximized"]:not([sizemode="fullscreen"]) #nav-bar {
- margin-top: 8px !important;
- margin-left: 34px !important;
- }
- #main-window[tabsintitlebar][sizemode="fullscreen"] #nav-bar {
- margin-top: 1px !important;
- margin-left: 34px !important;
- }
- #main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar {
- top: 8px !important;
- }
- #main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) .titlebar-buttonbox-container {
- top: 0px !important;
- }
- #main-window[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen="true"]) .titlebar-buttonbox-container {
- top: 8px !important;
- }
- }
- /* hide line above navigation toolbar appearing in some cases */
- #main-window:not([tabsintitlebar]) #nav-bar,
- #main-window:not([tabsintitlebar]) #navigator-toolbox {
- border-top: 0 !important;
- box-shadow: unset !important;
- }
- /* make sure button icon colors set correctly */
- #main-window:not(:-moz-lwtheme) #TabsToolbar-customization-target toolbarbutton .toolbarbutton-icon,
- #main-window:not([style*='--lwt-header-image']):-moz-lwtheme:-moz-lwtheme-darktext #TabsToolbar-customization-target toolbarbutton .toolbarbutton-icon {
- fill: var(--classic_squared_tabs_new_tab_icon_color) !important;
- color: var(--classic_squared_tabs_new_tab_icon_color) !important;
- }
- /* tweaks for fullscreen mode */
- #main-window[tabsintitlebar][sizemode="fullscreen"] * #TabsToolbar {
- -moz-padding-start: 0px !important;
- }
- /* tweaks for fullscreen mode */
- #main-window[tabsintitlebar][sizemode="fullscreen"]:not([inDOMFullscreen="true"]) .titlebar-buttonbox-container,
- #main-window[tabsintitlebar][sizemode="fullscreen"] #toolbar-menubar[autohide="true"] ~ #TabsToolbar .titlebar-buttonbox-container,
- #main-window[tabsintitlebar][sizemode="fullscreen"] #navigator-toolbox #PanelUI-button,
- #main-window #TabsToolbar #window-controls {
- display: none !important;
- }
- /* hide non-required items */
- #TabsToolbar .private-browsing-indicator,
- #TabsToolbar #window-controls,
- #TabsToolbar *[type="caption-buttons"],
- #TabsToolbar *[type="pre-tabs"],
- #TabsToolbar *[type="post-tabs"] {
- display: none !important;
- }
- /* Windows 10 extra tweaks */
- @media (-moz-os-version: windows-win10) {
- #main-window:not([tabsintitlebar]) menubar > menu:not(:-moz-lwtheme):hover:not([disabled="true"]),
- #main-window:not([tabsintitlebar]) menubar > menu:not(:-moz-lwtheme)[_moz-menuactive="true"]:not([disabled="true"]) {
- background-color: Highlight !important;
- color: HighlightText !important;
- }
- }
- /* disable Mozillas tab jumping nonsense when moving tabs */
- #navigator-toolbox[movingtab] > #titlebar > #TabsToolbar {
- padding-bottom: unset !important;
- }
- #navigator-toolbox[movingtab] #tabbrowser-tabs {
- padding-bottom: unset !important;
- margin-bottom: unset !important;
- }
- #navigator-toolbox[movingtab] > #nav-bar {
- margin-top: unset !important;
- }
- /* Leaves space for the window buttons */
- #nav-bar {
- margin-top: -18px;
- margin-right: 0px;
- margin-left: 35px;
- margin-bottom: -0px;
- }
- #TabsToolbar {
- height: 27px !important;
- }
- /* Croix de fermeture sur les onglets inactifs */
- .tab-close-button:not([selected]) {
- color: grey!important;
- }
- /* Croix Rouge sur onglet actif */
- .tab-close-button {
- color: red!important;
- }
- /* Position bouton minimiser / maximiser / fermer FF */
- #TabsToolbar > .titlebar-buttonbox-container{ display: none; }
- /* Changer la couleur de l'onglet actif (ok FF66 03.04.19) */
- .tab-background[selected="true"]
- {
- background-attachment: none!important;
- background-color: #FFFD !important;
- background-image: none!important;
- }
- /* Afficher en gras le texte de l'onglet courant */
- #TabsToolbar .tabbrowser-tab[selected] {
- color: black !important;
- font-weight: bold !important;
- }
- /* Couleur de la ligne supérieur sur l'onglet actif */
- #tabbrowser-tabs {
- --tab-line-color: blue !important;
- }
- /* Taille de la barre d'adresse */
- #nav-bar {
- height: 27px !important; /* don't go lower than 30 */
- }
- #urlbar {
- border: 0px solid #59444b !important;
- margin-top: 2px!important;
- font-size:13px!important;
- font-weight: bold !important;
- margin-left: 13px !important;
- margin-right: 0px !important;
- width: 730px !important;
- padding: 0px !important; */
- }
- /* Barre de recherche CTRL-F en haut et réduite */
- .browserContainer > findbar {
- margin-right: 734px !important;
- margin-left: 30px !important;
- -moz-box-ordinal-group: 0;
- }
- /* Couleur texte onglet actif */
- .tabbrowser-tab[selected] .tab-label {
- color: blue !important;
- }
- /* text shadow */
- .tabbrowser-tab[selected] .tab-label {
- text-shadow: 0px 1px 0px white,
- 0px 1px 4px white !important;
- }
- /*bold*/
- .tabbrowser-tab[selected] .tab-label {
- font-weight: bold !important;
- }
- /* italic *//*
- .tabbrowser-tab[selected] .tab-label {
- font-style: italic !important;
- }
- /* Masquer le bouton zoom dans la barre d'adresse */
- #urlbar-container #urlbar-zoom-button{
- visibility: collapse !important;
- }
- /* Supprimer la limitation de largeur de la barre latérale */
- #sidebar,
- #sidebar-header,
- #sidebar-box {
- overflow: hidden !important;
- min-width: 0px !important;
- max-width: 1234px !important;
- }
- /* Déplacer le bouton de menu Hamburger */
- #PanelUI-button {
- -moz-box-ordinal-group: 0;
- border-left: none !important;
- position: absolute;
- }
- :root[uidensity=compact]
- #PanelUI-button {
- margin-top: 0px;
- margin-left: -31px;
- }
- #PanelUI-button {
- margin-top: -30px;
- }
- :root[uidensity=touch] #PanelUI-button {
- margin-top: -36px;
- }
- #TabsToolbar {
- /* Ensure the padding is always present even when maximized */
- padding-inline-start: 4px !important;
- }
- /* Masquer le bouton de fermeture des onglets, apparait au survol de la souris */
- .tabbrowser-tab:not([pinned]):not(:hover) .tab-close-button {
- visibility: collapse !important;
- }
- .tabbrowser-tab:not([pinned]):hover .tab-close-button {
- visibility: visible !important;
- display: block !important;
- }
- /* Longueur min et max des onglets */
- :root {
- --tab_min_width: 157px;
- --tab_max_width: 157px;
- /* use 'about:config > browser.tabs.tabMinWidth' for tab min-width */
- }/* use 'about:config > browser.tabs.tabMinWidth' for tab min-width */
- /*
- .tabbrowser-tab:not([pinned]) {
- min-width: var(--tab_min_width) !important;
- clip-width: var(--tab_min_width) !important;
- }
- */
- /* tab max-width */
- #tabbrowser-tabs:not([overflow="true"]) .tabbrowser-tab[fadein]:not([pinned]) {
- max-width: var(--tab_max_width) !important;
- overflow: hidden !important;
- }
- /* Taille boutons back and forward */
- #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon, #back-button, #back-button .toolbarbutton-icon:hover, #back-button .toolbarbutton-icon, #forward-button .toolbarbutton-icon, #forward-button {
- border-radius: 0px !important;
- background: transparent !important;
- background-color: transparent !important;
- border: 0px solid #000 !important;
- margin-left: 4px; !important;
- margin-top: -2px; !important;
- padding: 2px !important;
- box-shadow: none !important;
- background-color: var(--url-bg) !important;
- max-width: 21px !important;
- }
- /* Bouton nouvel onglet, marge */
- .tabs-newtab-button {
- margin-left: 3px !important;
- }
- /* Bouton nouvel onglet */
- .tabs-newtab-button .toolbarbutton-icon {
- min-width: 0px !important;
- background-color: var(--url-bg) !important;
- min-height: 0px !important;
- width: 16px !important;
- height: 16px !important;
- margin: 0px !important;
- margin-bottom: 0px !important;
- margin-left: 1px !important;
- padding: 1px !important;
- box-shadow: unset !important;
- }
- /* Couleur bouton Add-ons */
- #add-ons-button {
- fill: grey !important;
- margin-bottom: 3px !important;
- margin-left: 3px !important;
- }
- /* Fix Hauteur barre personnelle et centrage des favoris */
- #personal-bookmarks {
- display: block;
- }
- #personal-bookmarks #PlacesToolbar {
- text-align: center !important;
- margin-top: 6px; !important;
- display: block;
- min-height: 21px;
- overflow-x: hidden;
- overflow-y: auto;
- max-height: 21px;
- }
- /* Supprimer pop up affichage plein écran sur YouTube */
- #fullscreen-warning { display: none !important; }
- /* Bouton liste onglets ouverts */
- #alltabs-button{
- visibility: visible !important;
- }
- /* Cacher la barre personnelle en mode maximized */
- #main-window[tabsintitlebar][sizemode="maximized"] * #PersonalToolbar{
- display: none !important; }
- /* Couleurs de l'onglet au passage de la souris */
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
- .tabbrowser-tab:not([selected]):hover .tab-content { /* highlight on mouseover */
- background-color:#f6f6f6 !important;
- color: #0233fc !important;
- font-weight: bold !important;
- font-size: 11.5px !important;
- }
- /* Barre d'onglets sur plusieurs lignes */
- :root{
- --multirow-n-rows: 3;
- --multirow-tab-min-width: 147px;
- --multirow-tab-dynamic-width: 1; /* Change to 0 for fixed-width tabs using the above width. */
- }
- #tabbrowser-tabs{
- min-height: unset !important;
- padding-inline-start: 0px !important;
- }
- /* Test for Firefox > 66 */
- @supports (inset-block:auto){
- #tabbrowser-tabs > .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox{
- display: flex;
- flex-wrap: wrap;
- overflow-y: auto;
- max-height: calc(var(--tab-min-height) * var(--multirow-n-rows));
- scrollbar-color: var(--toolbar-bgcolor) var(--lwt-accent-color);
- scrollbar-width: thin;
- }
- #tabbrowser-tabs > .tabbrowser-arrowscrollbox {
- overflow: -moz-hidden-unscrollable;
- display: block;
- }
- }
- /* Test for Firefox < 66 */
- @supports not (inset-block:auto){
- #tabbrowser-tabs > .tabbrowser-arrowscrollbox{
- min-height: unset !important;
- }
- #tabbrowser-tabs .scrollbox-innerbox{
- display: flex;
- flex-wrap: wrap;
- }
- #tabbrowser-tabs .arrowscrollbox-scrollbox {
- overflow: -moz-hidden-unscrollable;
- display: block;
- }
- }
- .tabbrowser-tab{ height: var(--tab-min-height); }
- #tabbrowser-tabs .tabbrowser-tab[pinned]{
- position: static !important;
- margin-inline-start: 0px !important;
- }
- .tabbrowser-tab[fadein]:not([pinned]){
- min-width: var(--multirow-tab-min-width) !important;
- flex-grow: var(--multirow-tab-dynamic-width);
- /* Uncomment to enable full-width tabs, also makes tab dragging a tiny bit more sensible
- Don't set to none or you'll see errors in console when closing tabs */
- /*max-width: 100vw !important;*/
- }
- .tabbrowser-tab > stack{ width: 100%; height: 100% }
- #tabbrowser-tabs .scrollbutton-up,
- #tabbrowser-tabs .scrollbutton-down,
- #alltabs-button,
- :root:not([customizing]) #TabsToolbar #new-tab-button,
- #tabbrowser-tabs spacer,
- .tabbrowser-tab::after{ display: none !important
- }
- /* Barre d'onglets - bordure droite et gauche */
- #tabbrowser-tabs .tabbrowser-tab {
- border-left-width: 1px !important;
- border-left-style: outset;
- border-right-width: 1px !important;
- border-right-style: outset;
- }
- /* Barre d'onglets - Hauteur mini et maxi */
- .tabbrowser-tab:not([pinned]) {
- min-height: 27px !important;
- max-height: 27px !important;
- }
- /* Barre d'onglets - bordure en bas et en haut */
- .tabs-newtab-button,
- .tabbrowser-tab {
- border-top: 0px solid var(--tabs-border-color) !important;
- border-bottom: 1px outset var(--tabs-border-color) !important;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement