Once nice thing about Hobo is the stylesheet separation from the HTML
generation.

We should develop a new set to share for mobile devices.  See this:

http://perishablepress.com/press/2009/08/02/the-5-minute-css-mobile-makeover/

The order of execution of the "cascade" in Hobo for the standard
"clean" theme is:

1. reset.css
2. clean.css
3. rapid-ui.css
4. application.css

You can see this by viewing the source of a Hobo page...

Note that "appllcation.css". the last file, is empty by default.  It
is there as a convenience for the developer.  Any CSS you put here
will override what is in the other stylesheets.
.
Having said that, it would be great if we, as a community, could come
up with a "clean-handheld" theme, or themes specific to Android,
iPhone, etc.

I am a novice at this, so others who know more should chime in...

-Owen


On Jun 30, 7:28 am, Duncan Bayne <[email protected]> wrote:
> Hi All,
>
> I'm (very) new to Hobo, & as a learning experience I'm writing a web-
> based media player for my Westiamp project:
>
> http://westiamp.blogspot.com/
>
> As I have an Android phone, I'd like to develop views specific to
> mobile devices.  Essentially what I'd like to do is detect the mobile
> user agent, and serve up a significantly different UI to mobile users
> (with a link to the full UI, of course).
>
> Is there an idiomatic way of doing this in Hobo?  I've seen it done in
> RoR but thought it might be something that Hobo handles out of the
> box ...
>
> Yours,
> Duncan Bayne

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to