Comments (21)
In order to have small icons which don't expand the statusline (similar to @c6parmak's), this style works for me:
#liberator-statusline toolbarbutton {
-moz-appearance: none !important;
border: 0px solid none;
}
Maybe it could be tweaked a little so that at least some hover effect is present.
from vimperator-labs.
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#liberator-bottombar toolbarbutton {
min-height: 32px;
padding:0;
margin:0;
}
This user script makes the statusline as it shows in "customize" mode.
from vimperator-labs.
While using DOM Inspector, I found that toolbarbutton
s has strange border-widths, I tried setting them to 0px without any success.
Giving negative margins to icons in toolbarbuttons seems to solve squeezing for me on Firefox 44, margin-right is ignored though.
Edit: Apply to children, not only icon.
/* #liberator-statusline toolbarbutton .toolbarbutton-icon */
#liberator-statusline toolbarbutton > * {
margin-top: -6px;
margin-right: -9px;
margin-bottom: -7px;
margin-left: -9px;
}
Let's put everything on statusline, yay! (statusline height is16px)
from vimperator-labs.
That's a firefox issue, and nothing we can fix, as fix the height of the statusbar, as it would be too high otherwise.
from vimperator-labs.
So you mean this can't be worked around? Why does it work with native Firefox toolbars or when toolbar editing mode is on?
from vimperator-labs.
When in editing mode, when you add the items into the toolbar, firefox will change the height of the toolbar to the tallest thing. When you save and exit that mode, vimperator will reset the height of the toolbar back to match the height that is set to match the text content.
Vimperator can do one of 3 things:
- nothing
- have firefox set the height of the toolbar
- give users the ability to set the height
Option 1 sucks for people like you. Option 2 sucks because firefox might not set the height to be small enough by default for the statusbar to look good. And option 3 sucks because it adds another option to vimperator.
from vimperator-labs.
At least I don't know a solution how to fix it and also not the reason why
it happens. But I know that our toolbar in "Customize" mode is not
different to the location bar apart from generally being less height.
But yeah, if somebody does know how to fix it without destroying the design
(in terms of padding/margins) of the default Vimperator status bar, please
fix it!
On Mon, Jul 28, 2014 at 5:41 PM, Andrew Shadura [email protected]
wrote:
So you mean this can't be worked around? Why does it work with native
Firefox toolbars or when toolbar editing mode is on?—
Reply to this email directly or view it on GitHub
#15 (comment)
.
from vimperator-labs.
Okay, if that can't be fixed easily, could you please write a CSS changing this so I can add it to userChrome.css? I'm fine with such a solution if it fixes the issue for me.
from vimperator-labs.
You can actually change it via the :highlight command
.
Tweak the pixel value below to be the height you like best.
:highlight CmdLine background: white; color: black; transition: all 0.25s; min-height: 32px !important;
PS.
If you open up chrome://browser/content/browser.xul
in a tab, you can then use the firefox developer tools to inspect the vimeprator toolbar directly. It's awesome.
from vimperator-labs.
I know I can. I never managed to tune it right, however. This line
doesn't work either, actually.
And yes, I know about XUL DOM inspector and friends, I played with
Mozilla extension development a bit in the past.
from vimperator-labs.
Wasn't even talking about the XUL DOM Inspector.
Anyway, what do you mean it doesn't work? It doesn't change the height of the status bar or it doesn't make the icons correct themselves?
from vimperator-labs.
Right, you weren't, I was. I meant I know how to debug XUL.
It changes the height of the status bar (it's giant now), but the icons remain as compressed vertically as they were previously.
from vimperator-labs.
Ah, interesting. It's possibly not targeting the right element either.
from vimperator-labs.
Still looking for a fix for this.
from vimperator-labs.
I played around with this a little bit, and it might seem that addons without icons at 24 px breaks, or if the addon doesn't use 24 px for its svg files. Can anyone confirm?
For example Self Destructing Cookies have an icon at 24 px, while µBlock does not and NoScript does not.
Tried to resize the icon in use by µBlock to 24x24, but didn't seem to help. I could have done something wrong though, or overseen some hardcoded 19 px in its source code. Here it is if anyone want to test:
https://github.com/gorhill/uBlock/blob/master/src/img/browsericons/icon19-off.png
For reference here is the icon used by Self Destructing Cookies in the screenshot, and the source code for the addon:
Information regarding addon icon sizes:
While a workaround could probably be made in Vimperator, it seems to me that the origin of this bug is poorly behaving addons, or have I misunderstood something?
from vimperator-labs.
The new version 0.4.7 of Self-Destructing cookies breaks with a large icon.
Diff can be found here if anyone feels like digging further:
from vimperator-labs.
After struggling a lot to try and make the vimperator statusline sane, I give up and moved to pentadactyl.
from vimperator-labs.
The following css fixes it:
#liberator-bottombar toolbarbutton {
-moz-appearance: none;
margin: 0px 2px;
}
from vimperator-labs.
@Stebalien You got more tipps? I'm getting this 😭
Trying this
#liberator-bottombar toolbarbutton, #liberator-statusline toolbarbutton {
-moz-appearance: none;
margin: 0px 2px;
}
from vimperator-labs.
For me, it works with noscript, ublock, and self-destructing cookies. I don't know what could be going wrong in your case. Sorry.
from vimperator-labs.
With this code:
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#liberator-bottombar toolbarbutton {
min-height: 24px;
padding: 0;
margin: 0;
}
from vimperator-labs.
Related Issues (20)
- Favicon (site icons in search) are not resized correctly HOT 4
- Hide scrollbars stopped working on Firefox 56 HOT 1
- styles.removeSheet not working
- Bookmark indicator not updated automatically HOT 1
- Can't change colourscheme, firefox error returned HOT 1
- vim vixen is good for ff-57+ HOT 4
- Can I emulate the action of clicking on the icon for "Add-ons"? Or, say, to have an extension run through a shortcut? HOT 1
- Support for basilisk browser HOT 3
- hlsearch documentation has incorrect default and should be updated
- Muttator Edit message Insert-Link via "Ctrl-K" is broken HOT 2
- Muttator on Thunderbird 52.5.2 broken? HOT 2
- Surfingkeys- a remarkable vimperator alternative for firefox 57+
- Compatibility issue with Waterfox 56.0.4 HOT 13
- open popup renders wrong HOT 3
- Muttator does not work in thunderbird-54.0a1.en-US.win64 HOT 4
- FF 60 HOT 3
- the Native / vim window does not follow UI scaling on Gnome3 HOT 1
- Can we config to make the hint stand behind the link?
- Vimperator is not dead : use the browser Waterfox-classic HOT 12
- Some issues on PaleMoon 28.6 HOT 9
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 vimperator-labs.