How to overidine TW default gradient

5 views
Skip to first unread message

Clint Checketts

unread,
Nov 15, 2005, 10:46:46 AM11/15/05
to TiddlyWiki
Since around version 1.2.32 (we're now at 1.2.38) of TiddlyWiki there has been a nifty gradient in the sidebar options on the right side of the page.

Since the gradient is produced using JavaScript, you can't change its colors using normal old CSS. In fact in alternative CSS color schemes it kinda jumps out when you in paste over a new style sheet and everything changes, except that right sidebar.

So, here's a quick CSS tip:

div.gradient div{
 display: none;
}

By inserting this rule in any alternative CSS you can hide the gradients. To change the gradient colors you have to alter the shadow tiddler so thats a different topic, but this is just a quick way to hide the gradient so it won't clash with any styles you are developing.

-Clint

Bryan Price

unread,
Nov 15, 2005, 9:27:03 PM11/15/05
to TiddlyWiki
Interesting. But since I've upgraded, I've never seen the gradient in
my upgraded TW. My TW _says_ that's it's 1.2.37 (I haven't upgraded to
.38 yet, I know, I'm lame...) I've checked the code that seems to do
it, and it's present in my TW, but it just doesn't work for me. I just
saved a blank one for another use, and it seems to be working just
fine, so I don't know what the issue is.

Clint Checketts

unread,
Nov 15, 2005, 9:30:03 PM11/15/05
to Tiddl...@googlegroups.com
Do you by any chance have a tiddler titled 'SideBarOptions' ?

-Clint

Clint Checketts

unread,
Nov 15, 2005, 9:48:18 PM11/15/05
to Tiddl...@googlegroups.com
Wow, I just saw this thread's title. Not getting enough sleep is getting to me. Good grief.

-Clint

Bryan Price

unread,
Nov 16, 2005, 12:26:20 PM11/16/05
to TiddlyWiki
I sure did. Taking that out fixed it. Can't remember why I put that
in there. But I now have a nice gradient. :)

Thanks!

Reply all
Reply to author
Forward
0 new messages