mirror of
https://github.com/CaptaiNiveau/FirefoxSidebar.git
synced 2024-11-21 22:32:49 +00:00
d3f8439102
* Update userChrome.css * Update userChrome.css * formatting * make csd top configurable * fix Z index of CSD * fix background (and round corners in GNOME) * remove unnecessary background color fix * more formatting * move sidebar switcher code to css file * even more formatting, fix typos * remove ugly border near sidebar switcher * add custom presets * Revert "remove ugly border near sidebar switcher" This reverts commit b8fd71d97c23c860a84c68aba74fb8e4253aaa7f. * remove empty space in fullscreen mode, remove unnecessary stuff * heavy rework, add first theme * rename first theme, add second * add KDE Plastik (same spacing as Oxygen) * somehow my system messed up..., fixed theme names
73 lines
1.8 KiB
CSS
73 lines
1.8 KiB
CSS
/*
|
|
Extension: Superbox Removal (and compaction)
|
|
Description: This removes the superbox and fixes some padding around the urlbar.
|
|
Repository URL: https://github.com/drannex42/FirefoxSidebar
|
|
*/
|
|
|
|
/* --- Prevent enlargement */
|
|
#urlbar[breakout-extend] {
|
|
top: calc(
|
|
(var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2
|
|
) !important;
|
|
left: 0 !important;
|
|
width: 100% !important;
|
|
}
|
|
|
|
#urlbar[breakout-extend] #urlbar-input-container {
|
|
height: var(--urlbar-height) !important;
|
|
/* padding: 0px !important; */
|
|
padding-block: 0px !important;
|
|
padding-inline: 0px !important;
|
|
}
|
|
.urlbarView-row {
|
|
padding: 0px 2px 0px 2px;
|
|
}
|
|
/* END Prevent enlargement --- */
|
|
|
|
/*/* --- Reduce row paddings to make them more compact */
|
|
.urlbarView-row {
|
|
padding: 2px 0px !important;
|
|
line-height: 1.2em !important;
|
|
margin: -1px;
|
|
margin-bottom: 0px;
|
|
}
|
|
.urlbarView-row-inner {
|
|
padding-bottom: 6px !important;
|
|
}
|
|
.urlbarView {
|
|
margin: 0px !important;
|
|
width: 100% !important;
|
|
}
|
|
/* END Reduce row paddings to make them more compact --- */
|
|
|
|
/* Disable Urlbar Animation */
|
|
#urlbar[breakout][breakout-extend][breakout-extend-animate]
|
|
> #urlbar-background {
|
|
animation-name: none !important;
|
|
animation: none !important;
|
|
}
|
|
/* END Disable Urlbar Animation */
|
|
|
|
/* --- More compact "Search with Google" rows */
|
|
.urlbarView-row[dynamicType="onboardTabToSearch"] > .urlbarView-row-inner {
|
|
min-height: auto !important;
|
|
width: auto !important;
|
|
}
|
|
.urlbarView-row[dynamicType="onboardTabToSearch"]
|
|
> .urlbarView-row-inner
|
|
> .urlbarView-no-wrap
|
|
> .urlbarView-favicon {
|
|
margin-bottom: -1px;
|
|
}
|
|
/* END More compact "Search with Google" rows --- */
|
|
|
|
/* Remove active border on the addressbar when in focus */
|
|
#nav-bar {
|
|
--toolbar-field-focus-border-color: #ccc;
|
|
}
|
|
|
|
/* Remove box shadow on address bar */
|
|
#urlbar-background,
|
|
#searchbar {
|
|
box-shadow: none !important;
|
|
}
|