-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Proposal] Desktop theme #380
Comments
Do you have an example of change what would be good to desktop environment? |
I think what mobile first (http://www.uxmatters.com/mt/archives/2012/03/mobile-first-what-does-it-mean.php) is a good way and I think what the Mat theme looks like a good option for this |
Btw I'm not arguing against mobile first or anything like that. I just think having a desktop theme which sets some useful defaults for desktop web apps would be nice. |
Very nice @Sopamo, I believe you know what can do this with some css class, or even a global screen size detector to manipulate components with v-if. Obviously what resources to simplify sounds like good ; ) |
Interesting. I believe the navbar tabs should pull right, once the screen size hits a certain width. I could swear that was happening in my app. (I'll be honest I've been testing only for smaller screen sizes first.) I'll check again, when I get home. The main content width looks like a good enhancement. Also sidebar menus in a drawer component will be shown automatically for wide screens. You actually have to add "swipe-only" to hide it. Scott |
Hy guys, just letting you know I will join the discussion in a few days once I'm done working on current new features (form related). |
I can confirm with a Scott |
@smolinari Why do you say they pull right? |
@Sopamo Correct me if I'm wrong but wouldn't compiling builds specially designed for desktops go against responsive design principles? @rstoenescu it's true that the experience for desktop (larger screens) could be improved. For instance no drawer shadow, like in Scott's Google+ screenshot. |
@rstoenescu - Good question......hmmm...... I need to go and check that maybe I changed that myself. LOL! Sorry about that. I am forgetful like that sometimes. Edit: Or maybe I am using a toolbar? Scott |
@laurentpayot You might be correct, I didn't really think about that but was worried about stuffing all the desktop related stuff in a build for a mobile device which will never use it. Maybe a desktop build would be good which extends the normal mat/ios themes with the large screen related styling - but doesn't remove the styles for small screens? This way you could still access the website on your mobile device while also having a lighter build for the apps. |
@laurentpayot About the drawer shadow. This was changed recently and I think it's a good improvement. This can be turned off with Take @Sopamo's example (nice app btw): Can't possibly know what the page content will be. For a list, as an example, you'd have to set a max-length or something. What if instead of a list we have a picture gallery. So there's no one solution to fit all needs. @ all If on the other hand, there's something that can be improved to the "standard/default/generic" CSS that would benefit most use-cases then we have a go. |
@rstoenescu I get your point. I'm going to optimize my app for desktop usage and will report any possible general improvements I see while doing so. I think it would be great to have some desktop usable theme in quasar which can be used. This way quasar could position itself more as an all-arounder and less as a mobile only framework. I was recently looking for some alternatives to quasar but almost all frameworks are mobile only which is a pity when you want to build a larger app which should also be available on desktop. Edit: Imo this could be closed - I'd open separate issues for each improvement I'd like to suggest. |
@Sopamo Great. Looking forward to your suggestions. Can we discuss them on the forum first, before opening new issues? |
@rstoenescu Sure, I wasn't aware that quasar has a forum. See you there :) |
It would be nice to have a desktop theme which has an improved layout on larger screens so the app can be used on normal desktop computers as well.
Currently the mat and ios themes are optimized for small screens only and aren't really usable on large screens. I think it might be sufficient to set some width limits for the main content and resize the header & Footer a bit.
If you want I can submit a pull request for such a theme as I have to build one anyway for an app I'm building with Quasar.
The text was updated successfully, but these errors were encountered: