twtd: (Default)
twtd ([personal profile] twtd) wrote in [community profile] style_system2011-04-27 10:09 am

expand cuts module

I'm using blanket and I was wondering if there was a way to add the expand all cuts module to my navigation bar where it would be far more useful. I don't even have the first idea about where I would start to get it there. Thanks in advance.
allen: (scientist)

[personal profile] allen 2011-04-28 04:55 pm (UTC)(link)
Not an easy way, sorry. It's only set up to be a module, and from what I can tell blanket won't let you put modules in the navigation bar.

...I mean, you could make a custom layer and override print_module_navlinks so that after the default set of links it adds the cuttag controls span (<span class="cutTagControls"><span style="font-size: smaller;">(your no-cut-tags-text here)</span></span>). That would probably work.
adalger: Earthrise as seen from the moon, captured on camera by the crew of Apollo 16 (Default)

[personal profile] adalger 2011-04-28 04:56 pm (UTC)(link)
The navigation bar (the fixed-position footer, right?) doesn't appear to be designed to hold anything but your nav links. You'd have to go into the blanket layer, find where all those decisions are made, and reprogram to make that module eligible to go in the footer by overriding in your own custom user layer.
foxfirefey: A fox colored like flame over an ornately framed globe (Default)

[personal profile] foxfirefey 2011-04-28 06:13 pm (UTC)(link)
So, can't put it in the navigation bar but we probably CAN put it up below the navigation bar near the top off to the side if that would work?

.module-cuttagcontrols {
position: absolute;
top: 21px;
right: 0px;
background-color: white;
border-left: 20px solid #099AAF;
padding: 5px;
}
Edited 2011-04-28 18:17 (UTC)
foxfirefey: Fox stealing an egg. (mischief)

[personal profile] foxfirefey 2011-04-28 06:18 pm (UTC)(link)
Alternatively, if you want it to stay at the top while you scroll down, use position: fixed; instead of position: absolute;
adalger: Earthrise as seen from the moon, captured on camera by the crew of Apollo 16 (Default)

[personal profile] adalger 2011-04-29 12:57 am (UTC)(link)
I think you're reading "navigation bar" differently than I am, because that CSS looks suspiciously like you're positioning to what I would call the control strip rather than the navigation bar. This is not, however, meant to take away at all from the genius of your idea.