413 points · by patrickaljord · 14y ago · 137 comments
Couple thoughts:
Maybe its just me but I think the docs site a huge step backwards in usability. The dark blue <-> red graphics offset by the blue of their primary buttons is a little...gross. I am also not at all a fan of the left hand navigation panel, I get that they are trying to show off the affix component but I'd rather have the content be full width as its all I am really there for. I found the sliding top sub navbar far less obtrusive and easier to navigate. Also: so white is the default for the navbar but the demo site is still using black?
Edit: Also, the side nav came first, then the affix plugin. Originally I was proposing a fixed, independently-scrolling left sidebar, which we may still get to, but it felt decidedly un-Bootstrap-like for the time being.
Like you, I still appreciate the new functionality and continued development.
EDIT: Went back and the styling of the docs changed again (was I hitting a cached page?). The subtopic navigation is back and on the left now. Still takes a while to scroll but it's an improvement.
It make me close it in 10s and I use TB in 2 of my projects and I love it, but that layout is simple terrible for people with smaller than 20" screens... please provide us another site with more reading area and minus menu.
Anyway thanks a lot for this, I love TB it's great and you guys are my heroes :D
For example skimming through the table css options, you see a lot less on one screen.
2.1 seems solid though, invaluable tool at my job.
Pictures: http://imgur.com/a/pSDOo
+--------+
| parent |
| +--------+
| /|submenu |
| / | |
|=====/==| |
|=====\==| |
| \ | |
+------ \| |
+--------+
and close immediately when not inside the triangle.Also, if in the parent there's another menu item with submenu somewhere on the path of mouse inside this triangle, ignore this item.
For best results, if mouse was inside the submenu for a moment, keep the submenu open until clicking away from it or moving over a different item in the parent menu. So many details!
Just requires a timeout for the onmouseover event. jQuery's hover intent would work wonders.
Basically show the submenu onmouseover of parent and if no mouseover is detected on the submenu within 400ms => hide the submenu.
It gives the user a slight bit of time to move the mouse to the submenu rather than relying on perfect mouse movements.
In addition, given how Twitter's bootstrap's look & feel is starting to influence web design at large, I wonder if there is a case for other large web-players to make their own css framework to impact the look and feel of sites to their favor. Think of it as disguised propaganda.
tl;dr on your average blog I agree, but in a web app I don't.
If the most common use case involves many quick jumps across the page hierarchy, fixed header can be a good fit (though an affixed side-nav might be better for wide screens). But if the most common case is drilling down to a specific page and spending a little time there, then fixed headers just create noise and get in the way.
Why LESS?
One of Bootstrap's creators wrote a quick blog post [2] about this, summarized here:
- Bootstrap compiles faster ~6x faster with Less compared to Sass
- Less is written in JavaScript, making it easier to us to dive in and patch compared to Ruby with Sass.
- Less is more; we want to feel like we're writing CSS and making Bootstrap approachable to all.
I'm in the optional semi-colons camp, and it is a bug in the minifier :)
How can that possibly be not obvious?
BTW, I found almost all Bootstrap-powered websites I visited uses sticky top navigation, which wastes considerable amount of my precious vertical screen estate.
Another wide-screen wasting example is the new Gmail and Google Groups - and what's even worse is that they force you to use the new UI.
I find sticky top navigation is annoying and nothing else, I just don't get it, aren't many people using width screens nowadays? Or is it just me?
Maybe Bootstrap's nav should be non-sticky by default?
If the team making it reads this, thank you. I owe you many beers for what you've given us.
Thank you for handing out coloring papers to the devs. Seriously, this will make the entire web 10% more unique.
That aside, thanks for creating this. Bootstrap makes prototyping a pleasure.
i.icon-blend { opacity:0.8; }