ruby sidebar for firefox?

J

James Britt

Michal said:
It probabbly did not get to the list the first time (at least I do not
see it):

I posted to the mailing list, not Usenet.
The sidebar is very nice.

Thank you.
But to be useful for me I would have to see readable text in the sidebar
and the linked documentation.
Because the background is set to some light color or image, the text
color is not set on the web pages, and my default text color is light
the text is almost invisible.

All styles, including the background image, are set in an external CSS file.

What browser are you using that the default text color is a light color,
rather than, say, black?

Are you explicitly overriding page styles?

James
 
M

Michal 'hramrach' Suchanek

I posted to the mailing list, not Usenet.
I was speaking about my message I posted earlier.
Thank you.

All styles, including the background image, are set in an external CSS file.

What browser are you using that the default text color is a light color,
rather than, say, black?
It is not important which browser is it. Most work this way.
I set the default background to dark green and the text and link to
light yellowish color. The pages that do not have any style render in
these colors, those that have complete, correct style render in their own
colors, and those that have partial style (ie only background) render
partially with their own colors and partially with the default colors.
It is also not important if the style is in the page or an external
stylesheet, except the stylesheet is easier to fix.

I hope it is obvious that if the page has only partial style it may (and
will) break with default colors that are different from the author's
default colors.
Are you explicitly overriding page styles?
No. If I did that, I would see everything perfectly but all pages would
be the same.

Thanks

Michal Suchanek
 
J

James Britt

Michal said:
It is not important which browser is it. Most work this way.
I set the default background to dark green and the text and link to
light yellowish color. The pages that do not have any style render in
these colors, those that have complete, correct style render in their own
colors, and those that have partial style (ie only background) render
partially with their own colors and partially with the default colors.
It is also not important if the style is in the page or an external
stylesheet, except the stylesheet is easier to fix.

I hope it is obvious that if the page has only partial style it may (and
will) break with default colors that are different from the author's
default colors.


No. If I did that, I would see everything perfectly but all pages would
be the same.

OK, now I understand. Should be better now.

Thanks for pointing this out.


James
 
B

Brian Wisti

--- James Britt said:
Well, that won't do. I'll go fix it.

Thanks for the heads up.

James

... and some folks would like the results to stay in the sidebar. Any
hopes for configurability in future version?

Oh, by the way. The Ruby sidebar is incredibly awesome. I think it's
the most useful tool for me since the Developer sidebar from Devedge.
Nice job to all parties :)

-- Brian Wisti
http://coolnamehere.com/
 
J

James Britt

Brian said:
... and some folks would like the results to stay in the sidebar. Any
hopes for configurability in future version?

Well, the idea was to create a firefox sidebar, so the initial concern
was that it render well in firefox, and open links in the main window.

It also happens to work if you just load the pages int the main window.

Once the pages, and the code that generates them, settles down, I was
thinking of putting it on rubyforge. It's small, so we won't need
bittorrent.

Then folks who want a variation can just download and munge up the source.
Oh, by the way. The Ruby sidebar is incredibly awesome. I think it's
the most useful tool for me since the Developer sidebar from Devedge.
Nice job to all parties :)


Thanks, and thanks to all those providing the content.


James
 
M

Michal 'hramrach' Suchanek

OK, now I understand. Should be better now.

Thanks for pointing this out.

Thanks for fixing the sidebar.

However, the referenced documentation still suffers from this flaw in
most cases.

Of course, I have always some options if I decide I really want it
(like mirroring the docs and fixing them or overriding the style in the
browser).

Michal Suchanek
 
J

James Britt

Michal said:
Thanks for fixing the sidebar.

However, the referenced documentation still suffers from this flaw in
most cases.

Hmm. Things hosted on ruby-doc.org could be fixed; things hosted on
other sites are out of my control.

If I get some time I can see about changing the CSS for the copy of the
PickAxe (it apparently does not set the body text nor link colors); the
std-lib and core API docs are auto-generated. It seems they do not
explicitly set a body text color either.
Of course, I have always some options if I decide I really want it
(like mirroring the docs and fixing them or overriding the style in the
browser).

Before you do that, could I trouble you to list what specific problems
you see? Might be simpler all around to try to fix it at the source.



Thanks,


James
 
M

Michal 'hramrach' Suchanek

Michal 'hramrach' Suchanek wrote:

If I get some time I can see about changing the CSS for the copy of the
PickAxe (it apparently does not set the body text nor link colors); the
std-lib and core API docs are auto-generated. It seems they do not
explicitly set a body text color either.


Before you do that, could I trouble you to list what specific problems
you see? Might be simpler all around to try to fix it at the source.

In ProgrammingRuby all text and link colors are unspecified (except
headings) and the builtins.html has a built-in stylesheet and does not
use the global one.

In std and core text color is unspecified and links are fine. But the
link color and visited color are the same (or almost the same). I find
it sometimes helpful if I can see where I were.

Tutorial in ruby-doc-bundle has only link color. No text, background nor
visited.

The other references point to other sites so I will only say that the FXruby
book is ok and the ruby cookbook is only missing visited which is not so
bad.

Thanks

Michal Suchanek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,158
Messages
2,570,881
Members
47,414
Latest member
djangoframe

Latest Threads

Top