I've wrote an alternative CSS for Scaladoc. Original Scaladoc uses
many colors, but I don't like (yes, it's just a preference) this.
Then my version uses a few colors: white, black and gray. And I've
added button-like style for clickable area.
You can see my version at http://8-p.info/tmp/scaladoc/library/ and
you can clone from https://github.com/kzys/scala/tree/white.
Regards,
--
Kato Kazuyoshi
yes, I think everybody has been bothered by the "too many colors"
syndrome of the current scaladoc. I really like some of you changes.
:-)
Though, as far as I heard, Donna finally found someone with design
experience and that someone is currently creating a new layout for
scaladoc. We should probably put our css efforts on hold until we see
the results.
Also, currently it seems that at least three persons are trying to
change the css simultaneously, and that's probably not gonna work out
too well. :-)
Regards,
Rüdiger
2011/4/6 Kato Kazuyoshi <kato.ka...@gmail.com>:
Also, currently it seems that at least three persons are trying to
change the css simultaneously, and that's probably not gonna work out
too well. :-)
Hi,
I've wrote an alternative CSS for Scaladoc. Original Scaladoc uses
many colors, but I don't like (yes, it's just a preference) this.
Then my version uses a few colors: white, black and gray. And I've
added button-like style for clickable area.
Martin,
Can you be more specific about what you like about Kato's design? Personally, I like the reduced number of colors, the increased font size, the use of a different font for comments, and the fact that things that act like buttons look more like buttons. I also like the color coding of things like "def", "type", etc.
thanks,
DonnaI like your design, it brings out well what's important. One small problem I had is that on my browser (Firofox on MacOS) each class/trait/object symbol on the left appears in a box with a white background in a black frame. I assume that's not intentional?
VScaladoc2 was crearted with multi-skin in mind. so users can
customize layout of information, currently only for a local
installation but for every api.
If someone is interested by more details, ask me privatly or in an other thread.
/davidB
But there are also things I don't like. For one, the color coding of
the different types (class, object, trait) is missing and I think that
was a good thing in the old scaladoc. Also, for me, the suggested
design is missing a consistent style. Different areas seem to follow
different styles. Also, the various spacings in general seem a bit
random.
I'm also thinking about creating a completely overhauled layout, but
Donna says I should wait for the new layout by her secret design
contact. :-)
But, I feel we are getting closer to the real thing. A few more of
these iterations and we will have something really good.
Regards,
Rüdiger
2011/4/7 Donna Malayeri <lindy...@gmail.com>:
although a very reduced design can be good, i think the color coding of the 2.10.0 nightly that donna posted looks marvellous and underlines the creativity in scala that makes it different from the grey computer world. while i think the spaciousness in the class list on the left is improved in the kato design, in the main right frame it is a bit too exaggerated -- the ordering/ inherited/ visibility box takes like almost half of my browser height. also although i like the idea of the buttons i can barely see a difference between a selected and unselected button (again this might be a firefox problem).
the main issue imo is that the "concrete value members" are much less readable in the kato design -- the lines between each method are very useful (although they don't need to have such a big contrast) and the underlined slightly blueish argument types that link are more pleasant than having a slightly grey background. I also like the use of oblique type for the "Definition Classes".
on the left side the contrast of the packages is very low that makes reading very difficult. the white on blue is nice imo and consistent with the blue and blue-green colour scheme.
using the 2.8.1 docs all the time, i must say i'm very positively surprised by the current 2.10.0 look. the crispy slightly sharpened icons (O, C, t) are great, and the new colours, too. god job!!
the only thing that seems to have gone is the button to switch to the companion type -- i found that incredibly useful. why did it disappear?
all in all switchable CSS is the solution i think, because different people will have different scenarios ("creative" vs. "business" vs. "scientific")
best, -sciss-
I turned it into a link on the large class/trait/object name, next to the image. I was worried it wasn't noticeable enough, and it seems maybe I am right!
Donna
thank you for your detailed feedback! This kind of feedback is exactly
what we need to improve scaladoc further. Most people only say "i like
it" or "i don't like it", but they don't say what changes/elements
they like or dislike.
This is really appreciated!
Regards,
Rüdiger
2011/4/7 Sciss <con...@sciss.de>:
Great news! Donna, can you share the plan?
--
Kato Kazuyoshi
Sorry, My branch is forked from
http://lampsvn.epfl.ch/trac/scala/changeset/24687 and I haven't
rebased yet.
--
Kato Kazuyoshi
Thank you. I'm glad to hear from the designer of Scala!
However I can't reproduce the problem yet. What is the version of
Firefox you are using?
--
Kato Kazuyoshi
Daniel,
Which commit are you referring to? I don't see anything reverted.
I don't like the small trait/object/class icons too much. I find a
color gradient on this size (13x13?) makes the icons look blurred
somehow. As another point, for me it looks as if the anti-aliasing is
cut off at the borders, another pixel of white border would probably
help here.
With my limited ability as a designer I quickly hacked these together:
https://gist.github.com/909558
--
Johannes
-----------------------------------------------
Johannes Rudolph
http://virtual-void.net
What's the exact purpose of the rubber band below the alphabet short
cuts? Why would you want to use that?
I like the non-gradient icons better--they are indeed easier to read. I'm going to do another version similar to yours, without the gradient.
Donna
I uploaded a version with my icons:
http://jrudolph.github.com/scaladocs-proposal/
To me it seems Johannes icons are just missing a border?
Btw. experimenting with different shapes might be an idea, although i
fear it might just look odd.
Regards,
Rüdiger
2011/4/8 Kevin Wright <kev.lee...@gmail.com>:
Kato Kazuyoshi schrieb:
> > I've wrote an alternative CSS for Scaladoc. Original Scaladoc uses
> > many colors, but I don't like (yes, it's just a preference) this.
Sorry, I don't appreciate it.
If I open, for instance, the page of Math, all the 'def, def, def' jump
bold emphasized into my eye, and 'double, double, double, long, int'
with colored background. Repeated information I'm rarely looking for.
Instead the name of the methods should be emphasized: 'abs, acos, asin,
atan'. That's what I'm looking for.
Ergonomic aspects should lead, not so much aesthetical ones.
2011/4/8 Sciss <con...@sciss.de>:
> ah nooo. the cripsy new icons with gradients look absolute phantastic. they are somewhat sharpened compared to 2.8 and look absolutely not blurry here, and no pixels are cut off. maybe it's a problem with your browser? on ff4 they look very nice:
>
>
>
>
> improvement impossible :)
Yep, that's expected: Methods can have defaults; functions can't.
http://stackoverflow.com/questions/2529184/difference-between-method-and-function-in-scala
-jason
It depends on what you mean by "under the hood", but as to this
particular question, it's in the type signature.
> scala> def log(code:Int, msg:String = "ok") = {println(code + ", " + msg)}
> log: (code: Int,msg: String)Unit
That's a method type signature: (foo: Foo, bar: Bar)C
(Notice the names are in the signature.)
> scala> val entry = log _
> entry: (Int, String) => Unit = <function2>
That's a function type signature: (Foo, Bar) => C
(Notice the absence of names.)
Ah, yes, this one. Good to know, that it has some purpose at least.
However, I don't think this feature is useful or obvious enough to
warrant adding visual clutter. YMMV
Finally, it probably comes down to a matter of taste. However, it may
also depend on how far away you sit away from your monitor and what
the resolution of your monitor is. I agree, they look much better on
my 100 dpi monitor than at the other one I used when I made the other
comment. But that's probably exactly the problem with using
anti-aliasing and gradients with icons such small in size.