-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
96 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
current/css/toolbars/additional_bookmarks_toolbar_below_navbar.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/* Firefox userChrome.css tweaks ********************************************************/ | ||
/* Github: https://github.com/aris-t2/customcssforfx ************************************/ | ||
/****************************************************************************************/ | ||
|
||
|
||
#main-window:not([customizing="true"]) #nav-bar:has(#personal-bookmarks) { | ||
padding-bottom: 26px !important; | ||
} | ||
|
||
/* reduce maximum width of location bar and search bar on navigation toolbar */ | ||
#main-window:not([customizing="true"]) #nav-bar:has(#personal-bookmarks) :is(#urlbar-container, #urlbar, #search-container, #searchbar) { | ||
min-width: 50px !important; | ||
} | ||
|
||
/* move bookmarks to empty space below navigation toolbar, if on navigation toolbar */ | ||
#main-window:not([customizing="true"]) #nav-bar:has(#personal-bookmarks) #personal-bookmarks { | ||
position: absolute !important; | ||
display: block !important; | ||
/*bottom: 0px !important;*/ | ||
min-width: 0 !important; | ||
width: auto !important; | ||
max-width: 100vw !important; | ||
} | ||
|
||
#main-window:not([customizing="true"]) #nav-bar:has(#personal-bookmarks) #personal-bookmarks { | ||
margin-top: 37px !important; | ||
} | ||
|
||
#main-window:not([customizing="true"])[uidensity="compact"] #nav-bar:has(#personal-bookmarks) #personal-bookmarks { | ||
margin-top: 32px !important; | ||
} | ||
|
||
#main-window:not([customizing="true"])[uidensity="touch"] #nav-bar:has(#personal-bookmarks) #personal-bookmarks { | ||
margin-top: 41px !important; | ||
} | ||
|
||
/* reduce size of bookmarks 'more bookmarks' menu chevron and remove its background color on navigation toolbar */ | ||
#nav-bar:has(#personal-bookmarks) #personal-bookmarks #PlacesChevron .toolbarbutton-icon { | ||
min-width: 0px !important; | ||
min-height: 0px !important; | ||
width: 16px !important; | ||
height: 16px !important; | ||
padding: 0 !important; | ||
margin: 0 !important; | ||
background: unset !important; | ||
box-shadow: unset !important; | ||
} | ||
|
||
/* set minimum height for bookmarks, when on navigation toolbar */ | ||
#nav-bar:has(#personal-bookmarks) #personal-bookmarks toolbarbutton.bookmark-item:not(.subviewbutton) { | ||
min-height: 24px !important; | ||
} | ||
|
||
/* adjustments */ | ||
#nav-bar:has(#personal-bookmarks) #personal-bookmarks { | ||
min-width: 40px !important; | ||
width: auto !important; | ||
max-width: 50vw !important; | ||
} | ||
|
||
/* workaround for megabar_expanding_breakout_disabled.css */ | ||
#main-window #nav-bar:has(#personal-bookmarks) #urlbar[breakout], | ||
#main-window #nav-bar:has(#personal-bookmarks) #urlbar[breakout][breakout-extend] { | ||
top: calc(0px + ((var(--urlbar-container-height,--urlbar-toolbar-height) - var(--urlbar-height)) / 2)) !important; | ||
} | ||
|
||
#nav-bar:has(#personal-bookmarks) #personal-toolbar-empty-description, | ||
#nav-bar:has(#personal-bookmarks) #personal-bookmarks toolbarbutton.bookmark-item:not(.subviewbutton) { | ||
padding: 0 2px !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,7 +67,6 @@ | |
} | ||
} | ||
|
||
|
||
.browserContainer > findbar > #findbar-close-container { | ||
background-color: unset !important; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters