Comments (5)
step by step guide (not sure if something is missing):
- remove line
Line 152 in c0d23fc
- add following code to your userChrome.css:
/* Client Side Decorations / Window Controls */
/* reserve space for buttons */
#nav-bar {
margin-right: 92px;
}
/* move buttons next to menu button */
#TabsToolbar .titlebar-buttonbox-container {
visibility: visible !important;
position: absolute;
display:block;
top: 8px;
right: 0;
}
/* fix ugly background color */
#navigator-toolbox {
background-color: #484d51 !important;
}
/* hide buttons in fullscreen mode (video player and F11) */
#main-window[inFullscreen="true"] .titlebar-buttonbox-container,
#main-window[inDOMFullscreen="true"] .titlebar-buttonbox-container {
/* display: none !important; */
visibility: hidden !important;
}
/* remove empty space when in fullscreen mode (F11) */
#main-window[inFullscreen="true"] #nav-bar {
margin-right: 0px !important;;
}
/* END Client Side Decorations / Window Controls */
from firefoxsidebar.
I am a little confused. But I'll try to answer this? Maybe?
If you want the minimize/max/close buttons, you will need to click on the hamburger menu (top right) -> More Tools -> Customize Toolbar, and then at the bottom left of the screen enable the titlebar.
I am not a 100% if this is what you are looking for, I am a bit frazzled at the moment but hopefully this helps!
from firefoxsidebar.
Yes just like that
I prefer my controls on the left, so I Have made the following adjustment to the above given code.
/* Client Side Decorations / Window Controls */
/* reserve space for buttons */
#nav-bar {
margin-left: 150px;
}
/* move buttons next to menu button */
#TabsToolbar .titlebar-buttonbox-container {
visibility: visible !important;
position: absolute;
display:block;
top: 10px;
left: 50px;
}
/* fix ugly background color */
#navigator-toolbox {
background-color: #484d51 !important;
}
/* hide buttons in fullscreen mode (video player and F11) */
#main-window[inFullscreen="true"] .titlebar-buttonbox-container,
#main-window[inDOMFullscreen="true"] .titlebar-buttonbox-container {
/* display: none !important; */
visibility: hidden !important;
}
/* remove empty space when in fullscreen mode (F11) */
#main-window[inFullscreen="true"] #nav-bar {
margin-right: 0px !important;;
}
/* END Client Side Decorations / Window Controls */
Thank you @Mr-nUUb
from firefoxsidebar.
@Xanaxus please see my PR for updated code which doesn't involve deleting line #152 ;-)
@drannex42 I hope my PR fits your needs. As I'm not a CSS guru, I don't know how to make all this optional. It seems nested comments aren't possible (to enable/disable everything at once without deleting tons of comments). Maybe we should put it in another file and add something like add contents of userChrome.csd.css to the end of userChrome.css to enable CSD
to the readme?
from firefoxsidebar.
@Xanaxus @Mr-nUUb I have broken the entire extension into components for easier adding and removal of features, along with a designated preferences folder. I have made a new branch below for testing purposes. I have merged this with the main branch. I have also made it easier to specify if the CSd extension is on the left or right side, and removed the need for that background on the titlebar buttons.
from firefoxsidebar.
Related Issues (20)
- how to use the extension ? HOT 1
- ./extensions/window_controls.css is bugged HOT 4
- Audio svg change background color when using dark mode HOT 2
- Always Extend Option HOT 2
- does not work properly with Firefox 107 HOT 13
- Moving scrollbar to the left and reducing its width HOT 3
- sideberry-data.json is misspelled HOT 1
- New sidebar.css in v12022.11.21 is very buggy. HOT 3
- Issue with the sidebar and Sidebery menu (icon) HOT 4
- Option to hide the titlebar aswell HOT 1
- Sidebar is buggy in Waterfox HOT 1
- Multiple glitches lately HOT 2
- Sidebar overlaps firefox buttons HOT 12
- Sidebery 5.0.0 was released today [Working Thread: New Style Inside for Testing] HOT 14
- Visual glitches on navigation bar HOT 2
- Shifting page content when changing sidebar width HOT 1
- Browser overlaps sidebar HOT 2
- Sidebar Not Collapsing and Tabs Still on Top HOT 3
- Pinned tab is not flowing down as a column, instead its coming as a row HOT 2
- Sidebar switchbox is hidden under Firefox titlebar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firefoxsidebar.