Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Plus/minus signs in expandable side menus [3373]
It’s not quite as simple as Jukka suggests but still pretty easy. I did think about 2-line entries. Do you want me to get on with it?
Last edited by thebombsite (2010-08-06 13:38:34)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Plus/minus signs in expandable side menus [3373]
thebombsite wrote:
It’s not quite as simple as Jukka suggests but still pretty easy. I did think about 2-line entries. Do you want me to get on with it?
Yes please. I’ve been tinkering for the past few minutes but haven’t come up with anything useful. I even went as far as labelling the div groups (textile_group, advanced_group, etc) with class="collapsible" in case I could attach any rules there that might help inner content — stuff in the expanded state — from lining up with levers and non-levers.
So far no luck. Man my CSS sucks.
Last edited by Bloke (2010-08-06 14:04:12)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Plus/minus signs in expandable side menus [3373]
Ha haa. Sent. :)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Plus/minus signs in expandable side menus [3373]
Thanks Stuart, and everyone who contributed to the discussion. r3380 contains version two.
Real shame we can’t use negative margins so the content itself (when expanded) lines up with the text instead of lining up with the +/- signs. Maybe some day…
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Plus/minus signs in expandable side menus [3373]
Well it can line up:-
.toggle {
padding-left: 10px;
}
seems to do the trick. I simply popped it under the “lever” and “expanded” selectors. The only problem with that is you are effectively reducing the menu width by 10px which can be a problem with items such as keywords and article_image. It is particularly noticeable in the left menus. I think the right ones are wide enough. So if you could find 10px to add to the left menus I’d go with it otherwise I don’t think it is worth the agro.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Plus/minus signs in expandable side menus [3373]
Bloke wrote:
the problem is not one of whether plugins can fall into line with TXP, it’s the fundamental nature of that sidebar. Not all plugins that add stuff to the sidebar will have what I term ‘twisties’ — yet all of the existing things reveal other options when the link is clicked.
To make things look neater, would a negative left margin on the +/- symbol work better in the CSS so at least the left edges of all text items lined up, regardless of whether they revealed additional content or not?
It’s late and perhaps that’s a solved issue, but one comment only — I am not sure that the +/- symbols add much clarity to me. Yes, people have already learned to expect the plus to reveal subs but they do now without those indicators. If the “main points” are styled differently so that you know they contain a sub, this should be enough. In cases when there is a link that does not open a sub or a pop-up, leaving it styled a sub, should be enough. I generally think of contained functionality and direct functionality. Damn. Wonder if this makes sense. Bottom line – the more bells you put before the main points, the more confusing it gets, especially if you have double-liners like in those lovely long German titles.
Offline
Re: Plus/minus signs in expandable side menus [3373]
total useless tangent:
but a thought/reminder fwiw
the +/- is much more a windows convention. macs use the rotating arrow head. No big deal, but as a mac guy, I find the arrows more elegant in a user interface. ;)
as I said, totally a useless tangent. resume your normal programming:)
Last edited by maverick (2010-08-22 23:37:14)
Offline
#23 2010-08-23 07:18:51
- candyman
- Member

- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: Plus/minus signs in expandable side menus [3373]
I agree with maverick: rotating arrow head is far away better!
+1 for > ;)
Offline
Re: Plus/minus signs in expandable side menus [3373]
Whatever it is, I’d stick a class so that theme designers could disable it or change it.
Offline
Re: Plus/minus signs in expandable side menus [3373]
maverick wrote:
the +/- is much more a windows convention.
Shhhhhh… you’ve just exposed Stuart as a Windows guy :-)
After one minute in photoshop with a copy of Remora’s expandcollapse.gif I made plus-minus as arrows. I dunno if it’s as pretty as it could be or if the axis of twistiness is quite right — I’m sure interface gurus will tell me — but if you drop that in your textpattern/theme/classic folder it’ll give instant arrow-based gratification from which better efforts can spawn.
If the arrows make more sense I’m sure someone with a good eye for graphics could make a gif we could include instead of the plus/minus. And perhaps with a more semantic filename! Any takers?
datorhaexa wrote:
Whatever it is, I’d stick a class so that theme designers could disable it or change it.
It’s already part of a rule in classic’s textpattern.css. If you don’t like it, make a theme without it. smd_admin_themes can help.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Plus/minus signs in expandable side menus [3373]
Bloke wrote:
It’s already part of a rule in classic’s textpattern.css. If you don’t like it, make a theme without it. smd_admin_themes can help.
I’m glad this will remain so. As for making a theme, I already did at least once :)
Offline
Re: Plus/minus signs in expandable side menus [3373]
Bloke
You go above and beyond everyday! Totally unexpected :)
Thanks
Mike
Offline
Re: Plus/minus signs in expandable side menus [3373]
Bloke wrote:
Shhhhhh… you’ve just exposed Stuart as a Windows guy :-)
oops! sorry Stuart.
(cough) I’m sure there a Windows Anonymous for that (cough)
I’m just saying ;-P
Offline
Re: Plus/minus signs in expandable side menus [3373]
Ha haa. Actually I’m an XP and Ubuntu guy. Both at the same time. I’d love a Mac if someone wants to send me one. At £1200, that’s pounds not dollars, I find them a tad expensive when I can kit myself out for around £350. But please, a 24”, not one of those piffling laptop thingymajigs. I like big monitors and big speakers, none of this fold-up stuff.
In any case there’s nothing wrong with XP sp3 and I’m proud to be a user, plus I’m loving my 24” wide-screen HD monitor and this rather solid speaker system. You don’t have to own a Mac to own the best you know. ;)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Plus/minus signs in expandable side menus [3373]
Youch – £1200; They are beauties, but that’s a killer price spread. Sorry I can drop one in the mail to you ;)
From the little bit I’ve seen, I actually find XP and Win7 to be not so bad :D
But I’m an old dog I guess. I’ll stick with Apple for a bit longer :)
Offline