mirror of
https://github.com/CaptaiNiveau/FirefoxSidebar.git
synced 2024-11-25 00:02:09 +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
43 lines
1.4 KiB
CSS
43 lines
1.4 KiB
CSS
/*
|
|
Extension: Window Controls / Client Side Decorations (CSD)
|
|
Description: This brings the window controls into the main bar (where the address bar exists). Please see the prefs.css folder for switching the sides from left to right.
|
|
Repository URL: https://github.com/drannex42/FirefoxSidebar
|
|
Contributors: Mr-nUUb, Xanaxus, Drannex42
|
|
Issue URL: https://github.com/drannex42/FirefoxSidebar/issues/14
|
|
*/
|
|
|
|
/* allow the buttons to appear */
|
|
.browser-toolbar {
|
|
position: unset !important;
|
|
}
|
|
|
|
/* reserve space for buttons */
|
|
#nav-bar {
|
|
padding-right: var(--csd-margin-right) !important;
|
|
margin-left: var(--csd-margin-left) !important;
|
|
}
|
|
|
|
/* move buttons next to menu button */
|
|
.titlebar-buttonbox-container {
|
|
visibility: visible !important;
|
|
position: fixed !important;
|
|
display: block;
|
|
z-index: 999999999;
|
|
top: var(--csd-top, inherit);
|
|
right: var(--csd-right, inherit);
|
|
left: var(--csd-left, inherit);
|
|
max-width: var(--csd-width);
|
|
}
|
|
|
|
/* hide buttons in fullscreen mode (video player and F11) */
|
|
#main-window[inFullscreen="true"] .titlebar-buttonbox-container,
|
|
#main-window[inDOMFullscreen="true"] .titlebar-buttonbox-container {
|
|
visibility: hidden !important;
|
|
}
|
|
|
|
/* remove empty space when in fullscreen mode (F11) */
|
|
#main-window[inFullscreen="true"] #nav-bar {
|
|
padding-right: 0px !important;
|
|
margin-left: 0px !important;
|
|
}
|
|
/* END Client Side Decorations / Window Controls */
|