Done the various changes so please have a look. Will start working on the various polymer issues now.
Search
Yes, babbu is sitting on my lap (or more precise biḷārikā ), but I was not very clear in my question.
What exactly do you mean with: However the selector seems to be implemented differently than elsewhere.
One very minor issue: is it possible to swap the sequence when we have both .note and .bib? See the bottom of SuttaCentral
The .bib is really just an expansion of the basic reference, hence the … It makes more sense for that to be immediately after the references, with the “note” following. So on that page we would have, in the second last entry:
also cf. ix p. 394ff … note
Just that the HTML is different: here it is a <select> element in a <form>. Maybe that’s okay, as it is, after all, a search form.
In fact I think each dropdown is implemented in an entirely different way. Yay for diversity! If we can get just one Polymer element working, at least we’ll see what it involves.
I’ve made something on staging with a switch for Textual Information and the checkboxes, just with css rather than polymere. (small bug in the area where the switch is rounded, but that can be removed; this is just to show how it can be)
That’s nice, thanks. It is more clear about what each control does. The only thing is that Textual Information seems to be on by default: it should be off by default.
Also, I just noticed a small bug: when you open the “Languages” panel in sibebar>navigation, the external links display the “offsite” icon on a separate line. The bad CSS is:
#sidebar details[open] .language-dropdown li a {
display: block;
}
OK. All done now. It remembers the last user setting for Textual Info and the offsite icon is fixed.
I changed the background color of the checkboxes to grey. The yellow was a bit too much.
Thanks for the comment, and also thanks for the sensitivity!
Like all the elements on the site, this will be implemented following the Material design guidelines, which, like it or loathe it, at least lets us say, not our choice!
As for commenting on Dev channels, generally speaking they are for Devas to discuss among ourselves. But occasional, specific, and relevant comments, like yours, are fine.
I appreciate that occasional comment by the Nagas is not frowned upon
I appreciate the advantage of a consistent design frame. Yet, when this frame encompasses elements with counter-intuitive functionality, it might be worth questioning their implementation on one’s own site.
I have no personal experience with Android, but those living in an iOS environment would always expect a sliding switch element to be activated by, err, emm… well sliding.
The grey checkboxes on current staging are very pleasing aesthetically, however they might confuse many users:
Since the days of yore (i.e. first Windows & mac OS and also throughout most Linux desktops) greyed-out buttons and checkboxes denote options that might be present in principle but are unavailable for user interaction in the present context, which is not, I presume, what you want to convey with regard to these elements.
Furthermore, the preset grey tickmarks might rather suggest that the option is on by default.
For now, we’ll just stick as closely to the MD spec as we can. All of these things are discussed in detail there, if you’re interested.
MD is the basis for Android, which is 50% of all computing devices sold today: so it can’t be too bad. If we need to modify it, we can look at that further down the road.