YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Responsive Web Design in iMIS (NiUG Austin 2015)

Responsive Design in iMIS

Andrea RobertsonUI/UX Developer

ASI

Page 2: Responsive Web Design in iMIS (NiUG Austin 2015)

Responsive web design is the practice of building a website suitable to work on every device and every screen size, no matter how large or small, mobile or desktop.

– Shay Howe, An Advanced Guide to HTML & CSS

Page 3: Responsive Web Design in iMIS (NiUG Austin 2015)
Page 4: Responsive Web Design in iMIS (NiUG Austin 2015)
Page 5: Responsive Web Design in iMIS (NiUG Austin 2015)
Page 6: Responsive Web Design in iMIS (NiUG Austin 2015)
Page 7: Responsive Web Design in iMIS (NiUG Austin 2015)

How we use our phones

source: http://pewrsr.ch/19JDwMd

Page 8: Responsive Web Design in iMIS (NiUG Austin 2015)

How we use our phones

94% use their phone to access the internet92% use it to place phone calls

source: http://pewrsr.ch/19JDwMd

Page 9: Responsive Web Design in iMIS (NiUG Austin 2015)

Where we use our phones

99% at home82% in car/public transportation69% at work53% waiting in line50% walking from place to place

source: http://pewrsr.ch/19JDwMd photo: https://flic.kr/p/q2RzMU

Page 10: Responsive Web Design in iMIS (NiUG Austin 2015)

"Users won't do that on mobile."

Page 11: Responsive Web Design in iMIS (NiUG Austin 2015)

"Users won't do that on mobile."

Page 12: Responsive Web Design in iMIS (NiUG Austin 2015)

13%of all US smartphone owners have

submitted a job application from their phone

source: http://pewrsr.ch/19JDwMd

Page 13: Responsive Web Design in iMIS (NiUG Austin 2015)

34%of US millennial smartphone owners have

submitted a job application from their phone

source: http://pewrsr.ch/19JDwMd

Page 14: Responsive Web Design in iMIS (NiUG Austin 2015)

If you're still not convinced...

Page 15: Responsive Web Design in iMIS (NiUG Austin 2015)
Page 16: Responsive Web Design in iMIS (NiUG Austin 2015)
Page 17: Responsive Web Design in iMIS (NiUG Austin 2015)

Why responsive?

Page 18: Responsive Web Design in iMIS (NiUG Austin 2015)

Android device fragmentation

source: http://bit.ly/1q4iXyk

Page 19: Responsive Web Design in iMIS (NiUG Austin 2015)

Android screen sizes

source: http://bit.ly/1q4iXyk

Page 20: Responsive Web Design in iMIS (NiUG Austin 2015)

photo: https://flic.kr/p/77mETv

RWD + Accessibility = .

Page 21: Responsive Web Design in iMIS (NiUG Austin 2015)
Page 22: Responsive Web Design in iMIS (NiUG Austin 2015)

Mobile is so important to your business that you can’t afford to be

sending people to a poor experience. So, my advice is to avoid building a

separate web application just for mobile sites. Just go responsive.

Dave AugustineEngineering manager at Airbnb

source: http://bit.ly/1GpfTag

Page 23: Responsive Web Design in iMIS (NiUG Austin 2015)

How to achieve RWD

Page 24: Responsive Web Design in iMIS (NiUG Austin 2015)

The Three Ingredients of RWD

1.Flexible layouts1

1

2 3 4

1

2

3

Page 25: Responsive Web Design in iMIS (NiUG Austin 2015)

The three ingredients of RWD

2. Flexible images and video

1

2 3 4

2

1

2

3

Page 26: Responsive Web Design in iMIS (NiUG Austin 2015)

3. CSS media queries

The three ingredients of RWD

.lead { margin-bottom: 1.5em; font-size: 115%; }@media (min-width: 768px) { .lead { font-size: 150%; }}

Register now for our Annual Conference!

2 3 4

3

Register now for our Annual Conference!

2

3

Page 27: Responsive Web Design in iMIS (NiUG Austin 2015)

Think Mobile First

Mobile First is the idea that web sites should first be designed for mobile devices, including only those tasks/items that website visitors use most. Then as screen real estate increases, add in tasks/features as needed based on user priority.

http://www.digitalgov.gov/2013/09/30/mobile-first/

Page 28: Responsive Web Design in iMIS (NiUG Austin 2015)

source: http://bit.ly/1GpjsNy

Page 29: Responsive Web Design in iMIS (NiUG Austin 2015)

Mobile First workflowStarting with a small piece of the overall design:

1. Create sketches of the component at different screen sizes.

Page 30: Responsive Web Design in iMIS (NiUG Austin 2015)
Page 31: Responsive Web Design in iMIS (NiUG Austin 2015)

Mobile First workflow

1. Create sketches of the component at different screen sizes.

2. Open the component in the browser at ~320px and make it look good.

3. Make the browser wider until the component looks bad. Use media queries to fix it.

4. Repeat step 3 until you reach the widest width.

5. Check to make sure all screen sizes still look good in your browser.

6. Test in real devices. Fix any issues.

Starting with a small piece of the overall design:

Page 32: Responsive Web Design in iMIS (NiUG Austin 2015)

Start with the small screen first,then expand until it looks like shit.

Time for a breakpoint!Stephen Hay

Page 33: Responsive Web Design in iMIS (NiUG Austin 2015)

RWD tools in iMIS

Page 34: Responsive Web Design in iMIS (NiUG Austin 2015)

Austin Responsive

available in 20.1.13 and later

Page 35: Responsive Web Design in iMIS (NiUG Austin 2015)

London Responsive

available in 20.1.13 and later

Page 36: Responsive Web Design in iMIS (NiUG Austin 2015)

Toronto Responsive

available in 20.2 and later

Page 37: Responsive Web Design in iMIS (NiUG Austin 2015)

Orion

available in the next release

Page 38: Responsive Web Design in iMIS (NiUG Austin 2015)

iMIS RWD Toolkit: Grids

getbootstrap.com/css/#grid

Page 39: Responsive Web Design in iMIS (NiUG Austin 2015)

iMIS RWD Toolkit: Hiding Content

iPart config options:

Utility classes:

Page 40: Responsive Web Design in iMIS (NiUG Austin 2015)

Don't forget!

Page 41: Responsive Web Design in iMIS (NiUG Austin 2015)

Good content is good content.

Page 42: Responsive Web Design in iMIS (NiUG Austin 2015)

Think about performance.

Page 43: Responsive Web Design in iMIS (NiUG Austin 2015)

Demo

Page 44: Responsive Web Design in iMIS (NiUG Austin 2015)

Primary Navigation

Page 45: Responsive Web Design in iMIS (NiUG Austin 2015)

Auxiliary Navigation

Page 46: Responsive Web Design in iMIS (NiUG Austin 2015)
Page 47: Responsive Web Design in iMIS (NiUG Austin 2015)

nav-aux-accountnav-aux-button

nav-aux-cartnav-aux-button

Page 48: Responsive Web Design in iMIS (NiUG Austin 2015)

nav-aux-primary-switch +

Page 49: Responsive Web Design in iMIS (NiUG Austin 2015)

Demo

Page 50: Responsive Web Design in iMIS (NiUG Austin 2015)

Code Demo: Footer<footer id="ft" class="footer"> <div class="footer-content"> <div class="container"> <div class="row"> <!-- begin FooterCommunications content area --> <div class="footer-content-section footer-social"> <h2>Connect with us</h2> <!-- social icons go here --> </div> <div class="footer-content-section footer-promo-container"> <div class="promo"> <p class="lead">Join us for the upcoming Annual Conference</p> <a href="[~]iMISAnnualConference" class="TextButton">Go to Annual Conference site »</a> </div> </div> <!-- end FooterCommunications content area --> </div> </div> </div> <!-- .footer-nav-copyright goes here --></footer>

Page 51: Responsive Web Design in iMIS (NiUG Austin 2015)

Code Demo: Footer

Screen size: < 500px

Page 52: Responsive Web Design in iMIS (NiUG Austin 2015)

Code Demo: Footer

Screen size: 500px - 767px

Page 53: Responsive Web Design in iMIS (NiUG Austin 2015)

Code Demo: Footer@media (min-width: 500px) {

.footer-content-section {

float: left;

width: 50%;

} }

Page 54: Responsive Web Design in iMIS (NiUG Austin 2015)

Code Demo: Footer

Screen size: > 767px

Page 55: Responsive Web Design in iMIS (NiUG Austin 2015)

Code Demo: Footer@media (min-width: 480px) {

.footer-content-section {

float: left;

width: 50%;

} }

@media (min-width: 768px) {

.footer .footer-social {

width: 33.3333333333%;

}

.footer .footer-promo-container {

width: 66.6666666667%;

} }

Page 56: Responsive Web Design in iMIS (NiUG Austin 2015)

A note about IE8

IE8 does not support media queries

...which means...

IE8 does not support responsive

design

Page 57: Responsive Web Design in iMIS (NiUG Austin 2015)

IE8 solution:Fallback class

.no-mqs

@media (min-width: 480px) {

.footer-content-section {

float: left;

width: 50%;

} }

@media (min-width: 768px) {

.footer .footer-social {

width: 33.3333333333%;

}

.footer .footer-promo-container {

width: 66.6666666667%;

} }

.no-mqs .footer-content-section {

float: left;

}

.no-mqs .footer .footer-social {

width: 33.3333333333%;

}

.no-mqs .footer .footer-promo-container {

width: 66.6666666667%;

}

Page 58: Responsive Web Design in iMIS (NiUG Austin 2015)

Making it a little easier...

+

Page 59: Responsive Web Design in iMIS (NiUG Austin 2015)

Sass + BreakpointThe Sass

$breakpoint-no-queries: true;$breakpoint-no-query-fallbacks: false;

.footer-content-section {

@include breakpoint(min-width 480px, $no-query '.no-mqs') {

float: left;

width: 50%;

} }

.footer {

@include breakpoint(min-width 768px, $no-query '.no-mqs') {

.footer-social {

width: 33.3333333333%;

}

.footer-promo-container {

width: 66.6666666667%; }

} }

99-Austin.scss

Page 60: Responsive Web Design in iMIS (NiUG Austin 2015)

Sass + BreakpointThe CSS

@media (min-width: 480px) {

.footer-content-section {

float: left;

width: 50%;

} }

@media (min-width: 768px) {

.footer .footer-social {

width: 33.3333333333%;

}

.footer .footer-promo-container {

width: 66.6666666667%;

} }

99-Austin.css

.no-mqs .footer-content-section {

float: left;

width: 50%;

}

.no-mqs .footer .footer-social {

width: 33.3333333333%;

}

.no-mqs .footer .footer-promo-container {

width: 66.6666666667%;

}

Page 61: Responsive Web Design in iMIS (NiUG Austin 2015)

Testing

Page 62: Responsive Web Design in iMIS (NiUG Austin 2015)
Page 63: Responsive Web Design in iMIS (NiUG Austin 2015)

photo: http://bit.ly/1IOZ4TB

Page 64: Responsive Web Design in iMIS (NiUG Austin 2015)
Page 65: Responsive Web Design in iMIS (NiUG Austin 2015)

Testing recommendations

● Use real devices as much as possible.

● Test in a wide range of screen sizes.

● Try portrait and landscape orientations.

Page 66: Responsive Web Design in iMIS (NiUG Austin 2015)

Suggested browsers & devices

● IE8 and 11 (time permitting, also test 9 & 10)

● Latest version of Firefox● Latest version of Chrome● Latest version of Safari on OSX● Safari on iOS (iPhone, iPod, iPad, iPad

Mini)● Chrome on Android● Android stock browser

Page 67: Responsive Web Design in iMIS (NiUG Austin 2015)

Testing Tools

Page 68: Responsive Web Design in iMIS (NiUG Austin 2015)

Chrome Developer Tools

Page 69: Responsive Web Design in iMIS (NiUG Austin 2015)

Web Developer Extension

Page 70: Responsive Web Design in iMIS (NiUG Austin 2015)

Open Device Labs

Page 71: Responsive Web Design in iMIS (NiUG Austin 2015)

Have no fear of perfection.You'll never reach it.

Salvador Dali

Page 72: Responsive Web Design in iMIS (NiUG Austin 2015)

Design is about making things good (and then better) and right (and

fantastic) for the people who use and encounter them.

Matt Beale

Page 73: Responsive Web Design in iMIS (NiUG Austin 2015)

Resources

Responsive Web Design by Ethan Marcotte

A perfect place to begin for anyone who has never implemented a responsive design.Also check out the article and the podcast.

This is Responsive by Brad Frost

Large collection of responsive patterns and resources.

Bootstrap Responsive front-end framework

Used sparingly in iMIS. Great source of code snippets and components.

Page 74: Responsive Web Design in iMIS (NiUG Austin 2015)

Resources

iMIS Helphelp.imis.com/20.2

Lots of great articles and resources to make the most of RWD in iMIS.

Roanokeon iMIS Community

Barebones responsive theme for the Cities Responsive master page.

iMIS Website PortfolioRiSE Website Showcase

A few responsive RiSE sites are featured here. Lots of good ideas to borrow!

Page 75: Responsive Web Design in iMIS (NiUG Austin 2015)

Thank you!

Andrea Robertson@RoboAndie

Page 76: Responsive Web Design in iMIS (NiUG Austin 2015)

Join us for usability testing!

Sign up at the ASI table by registration


Related Documents