[personal profile] twtd posting in [community profile] style_system
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.

Date: 2011-04-28 04:55 pm (UTC)
allen: (scientist)
From: [personal profile] allen
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.

Date: 2011-04-28 04:56 pm (UTC)
adalger: Earthrise as seen from the moon, captured on camera by the crew of Apollo 16 (Default)
From: [personal profile] adalger
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.

Date: 2011-04-28 06:13 pm (UTC)
foxfirefey: A fox colored like flame over an ornately framed globe (Default)
From: [personal profile] foxfirefey
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 Date: 2011-04-28 06:17 pm (UTC)

Date: 2011-04-28 06:18 pm (UTC)
foxfirefey: Fox stealing an egg. (mischief)
From: [personal profile] foxfirefey
Alternatively, if you want it to stay at the top while you scroll down, use position: fixed; instead of position: absolute;

Date: 2011-04-29 12:57 am (UTC)
adalger: Earthrise as seen from the moon, captured on camera by the crew of Apollo 16 (Default)
From: [personal profile] adalger
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.

Profile

Dreamwidth style system discussion

October 2025

S M T W T F S
   1 234
567891011
12131415161718
19202122232425
262728293031 

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 17th, 2025 03:30 am
Powered by Dreamwidth Studios