SlideShare uma empresa Scribd logo
1 de 32
Responsive 
Design in iMIS 
Part 2: Deep Dive 
Andrea Robertson 
Melissa Burpo
Agenda
Responsive design can be… 
overwhelming.
Where should you begin?
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/
Mobile First 
• For design and development, start with 
the smallest size and work your way up 
• Advantages: 
– Focus on the content that you really need 
– Faster performance for mobile
Mobile First Workflow 
Starting with a small piece of the overall design: 
1. Create sketches of the component at different 
screen sizes.
Mobile First Workflow 
Starting with a small piece of the overall design: 
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.
Demo 
.container { max-width: 960px; /* ... */ } 
@media (min-width: 500px) { 
.footer-content-section { 
float: left; 
width: 50%; 
} } 
@media (min-width: 768px) { 
.footer .footer-social { 
width: 33.3333333333%; 
} 
.footer .footer-promo-container { 
width: 66.6666666667%; 
} } 
@media (max-width: 768px) { 
.header-social { 
display: none !important; 
} }
Start with the small screen first, 
then expand until it looks like shit. 
Time for a breakpoint! 
Stephen Hay
Design Considerations 
You may want to consider: 
• Increasing base font size 
• Making buttons bigger 
• Providing secondary navigation 
• Increasing width of desktop layout
Design Considerations 
This is a good time to refactor: 
• Inline styling 
• Inline JavaScript 
• Tables for layouts 
• Text in images 
• Replace image gradients and rounded 
corners with CSS3
Internet Explorer 8 + 
Responsive Design 
• The problem: 
– IE8 does not support media queries 
– Only styles outside of a media query are 
interpreted 
– For mobile-first designs, they will get the 
mobile experience
Internet Explorer 8 
Using a fallback class 
• Our solution: 
– Use Modernizr to detect Media Query 
support 
– Add class ‘no-mqs’ to the <html> tag 
– Repeat any styles that apply to desktop 
using a .no-mqs wrapper
Internet Explorer 8 
Using a fallback class 
.nav-primary { 
text-transform: uppercase; 
} 
@media (min-width: 768px) { 
.nav-primary { 
float: right; 
clear: right; 
margin-top: 9px; 
} 
} 
.no-mqs .nav-primary { 
float: right; 
clear: right; 
margin-top: 9px; 
}
Sass + Breakpoint 
Use Sass and the Breakpoint plugin to 
quickly generate media queries and 
.no-mqs fallbacks
Sass + Breakpoint 
The Sass 
99-Austin.scss: 
$breakpoint-no-queries: false; 
$breakpoint-no-query-fallbacks: true; 
.nav-primary { 
text-transform: uppercase; 
} 
.nav-primary { 
@include breakpoint(min-width 768px; $no-query: '.no-mqs') { 
float: right; 
clear: right; 
margin-top: 9px; 
} 
}
.nav-primary { 
text-transform: uppercase; 
} 
@media (min-width: 768px) { 
.nav-primary { 
float: right; 
clear: right; 
margin-top: 9px; 
} 
} 
.no-mqs .nav-primary { 
float: right; 
clear: right; 
margin-top: 9px; 
} 
Sass + Breakpoint 
Compiled CSS 
99-Austin.css:
Testing
Testing 
Recommendations 
• Use real devices as much as possible 
• Test in a wide range of screen sizes 
• Try portrait and landscape orientations
Suggested Browsers and 
Devices 
• IE8, 9 and 11 
• Latest version of Firefox 
• Latest version of Chrome 
• Latest version of OSX Safari 
• Safari on one iOS device 
(iPhone, iPod, iPad, iPad Mini) 
• Default browser on one or two Android 
devices
Testing Tools
Chrome Developer Tools
Web Developer Extension
Ghostlab & 
Adobe Edge Inspect
Open Device Labs
Design is about making things 
good (and then better) and right 
(and fantastic) for the people who 
use and encounter them. 
Matt Beale
Recommended Resources 
Responsive Web Design 
by Ethan Marcotte 
A perfect place to begin for 
anyone who has never 
implemented a responsive 
design. 
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.
Thanks! 
Andrea Robertson 
@RoboAndie 
Melissa Burpo 
@MelissaBurpo

Mais conteúdo relacionado

Mais procurados

Responsive UI using CSS Media Query
Responsive UI using CSS Media QueryResponsive UI using CSS Media Query
Responsive UI using CSS Media QueryNeev Technologies
 
Mobile Monday Presentation: Responsive Web Design
Mobile Monday Presentation: Responsive Web DesignMobile Monday Presentation: Responsive Web Design
Mobile Monday Presentation: Responsive Web DesignCantina
 
Let's get accessible!
Let's get accessible!Let's get accessible!
Let's get accessible!Tady Walsh
 
Responsive webdesign WordCampNL 2012
Responsive webdesign WordCampNL 2012Responsive webdesign WordCampNL 2012
Responsive webdesign WordCampNL 2012Tom Hermans
 
Introduction to Responsive Web Design
Introduction to Responsive Web DesignIntroduction to Responsive Web Design
Introduction to Responsive Web DesignClarissa Peterson
 

Mais procurados (6)

Responsive UI using CSS Media Query
Responsive UI using CSS Media QueryResponsive UI using CSS Media Query
Responsive UI using CSS Media Query
 
Mobile Monday Presentation: Responsive Web Design
Mobile Monday Presentation: Responsive Web DesignMobile Monday Presentation: Responsive Web Design
Mobile Monday Presentation: Responsive Web Design
 
Let's get accessible!
Let's get accessible!Let's get accessible!
Let's get accessible!
 
Responsive webdesign WordCampNL 2012
Responsive webdesign WordCampNL 2012Responsive webdesign WordCampNL 2012
Responsive webdesign WordCampNL 2012
 
HCI: Design
HCI: DesignHCI: Design
HCI: Design
 
Introduction to Responsive Web Design
Introduction to Responsive Web DesignIntroduction to Responsive Web Design
Introduction to Responsive Web Design
 

Semelhante a Responsive Design in iMIS Part 2

Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web DesignJulia Vi
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web DesignMike Wilcox
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive WebsitesJoe Seifi
 
Responsive web design
Responsive web designResponsive web design
Responsive web designBen MacNeill
 
How to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive WebsiteHow to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive WebsiteJj Jurgens
 
Using Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work EverywhereUsing Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work EverywhereChris Love
 
Advancio, Inc. Academy: Responsive Web Design
Advancio, Inc. Academy: Responsive Web DesignAdvancio, Inc. Academy: Responsive Web Design
Advancio, Inc. Academy: Responsive Web DesignAdvancio
 
SEF 2014 - Responsive Design in SharePoint 2013
SEF 2014 - Responsive Design in SharePoint 2013SEF 2014 - Responsive Design in SharePoint 2013
SEF 2014 - Responsive Design in SharePoint 2013Marc D Anderson
 
FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFrédéric Harper
 
Introduction to Responsive Design v.2
Introduction to Responsive Design v.2Introduction to Responsive Design v.2
Introduction to Responsive Design v.2Clarissa Peterson
 
Responsive Web Design
Responsive Web Design Responsive Web Design
Responsive Web Design CLEVER°FRANKE
 
There Is No Mobile: An Introduction To Responsive Web Design
There Is No Mobile: An Introduction To Responsive Web DesignThere Is No Mobile: An Introduction To Responsive Web Design
There Is No Mobile: An Introduction To Responsive Web DesignChris Love
 
Mobile Best Practices
Mobile Best PracticesMobile Best Practices
Mobile Best Practicesmintersam
 
CSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive DesignCSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive DesignZoe Gillenwater
 
Responsive Web Design - Web & PHP Conference - 2013-09-18
Responsive Web Design - Web & PHP Conference - 2013-09-18Responsive Web Design - Web & PHP Conference - 2013-09-18
Responsive Web Design - Web & PHP Conference - 2013-09-18Frédéric Harper
 
Building Responsive Websites with Drupal
Building Responsive Websites with DrupalBuilding Responsive Websites with Drupal
Building Responsive Websites with DrupalSuzanne Dergacheva
 
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012Suzanne Dergacheva
 
Why should we build our website responsive
Why should we build our website responsiveWhy should we build our website responsive
Why should we build our website responsiveOmkarsoft Bangalore
 
CSS3: Using media queries to improve the web site experience
CSS3: Using media queries to improve the web site experienceCSS3: Using media queries to improve the web site experience
CSS3: Using media queries to improve the web site experienceZoe Gillenwater
 

Semelhante a Responsive Design in iMIS Part 2 (20)

Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Great Responsive-ability Web Design
Great Responsive-ability Web DesignGreat Responsive-ability Web Design
Great Responsive-ability Web Design
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive Websites
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
How to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive WebsiteHow to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive Website
 
Using Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work EverywhereUsing Responsive Web Design To Make Your Web Work Everywhere
Using Responsive Web Design To Make Your Web Work Everywhere
 
Advancio, Inc. Academy: Responsive Web Design
Advancio, Inc. Academy: Responsive Web DesignAdvancio, Inc. Academy: Responsive Web Design
Advancio, Inc. Academy: Responsive Web Design
 
SEF 2014 - Responsive Design in SharePoint 2013
SEF 2014 - Responsive Design in SharePoint 2013SEF 2014 - Responsive Design in SharePoint 2013
SEF 2014 - Responsive Design in SharePoint 2013
 
FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
 
Introduction to Responsive Design v.2
Introduction to Responsive Design v.2Introduction to Responsive Design v.2
Introduction to Responsive Design v.2
 
Responsive Web Design
Responsive Web Design Responsive Web Design
Responsive Web Design
 
There Is No Mobile: An Introduction To Responsive Web Design
There Is No Mobile: An Introduction To Responsive Web DesignThere Is No Mobile: An Introduction To Responsive Web Design
There Is No Mobile: An Introduction To Responsive Web Design
 
Mobile Best Practices
Mobile Best PracticesMobile Best Practices
Mobile Best Practices
 
CSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive DesignCSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive Design
 
Responsive Web Design - Web & PHP Conference - 2013-09-18
Responsive Web Design - Web & PHP Conference - 2013-09-18Responsive Web Design - Web & PHP Conference - 2013-09-18
Responsive Web Design - Web & PHP Conference - 2013-09-18
 
Building Responsive Websites with Drupal
Building Responsive Websites with DrupalBuilding Responsive Websites with Drupal
Building Responsive Websites with Drupal
 
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
Creating a Responsive Drupal Theme: Presentation from DrupalCamp Montreal 2012
 
Design responsively
Design responsivelyDesign responsively
Design responsively
 
Why should we build our website responsive
Why should we build our website responsiveWhy should we build our website responsive
Why should we build our website responsive
 
CSS3: Using media queries to improve the web site experience
CSS3: Using media queries to improve the web site experienceCSS3: Using media queries to improve the web site experience
CSS3: Using media queries to improve the web site experience
 

Mais de Andrea Robertson

Meet your members' expectations
Meet your members' expectationsMeet your members' expectations
Meet your members' expectationsAndrea Robertson
 
Achieving Performance Improvement with iMIS Scoring Plus
Achieving Performance Improvement with iMIS Scoring PlusAchieving Performance Improvement with iMIS Scoring Plus
Achieving Performance Improvement with iMIS Scoring PlusAndrea Robertson
 
Things you may not know about iMIS
Things you may not know about iMISThings you may not know about iMIS
Things you may not know about iMISAndrea Robertson
 
Form & Function: Creating Email Templates
Form & Function: Creating Email TemplatesForm & Function: Creating Email Templates
Form & Function: Creating Email TemplatesAndrea Robertson
 
How to get the most out of Process Automation (iNNOVATIONS 2015)
How to get the most out of Process Automation (iNNOVATIONS 2015)How to get the most out of Process Automation (iNNOVATIONS 2015)
How to get the most out of Process Automation (iNNOVATIONS 2015)Andrea Robertson
 
What's New in RiSE for Mobile (iNNOVATIONS 2015)
What's New in RiSE for Mobile (iNNOVATIONS 2015)What's New in RiSE for Mobile (iNNOVATIONS 2015)
What's New in RiSE for Mobile (iNNOVATIONS 2015)Andrea Robertson
 
Crafting a visually appealing website with iMIS
Crafting a visually appealing website with iMISCrafting a visually appealing website with iMIS
Crafting a visually appealing website with iMISAndrea Robertson
 
Preserving the iMIS Upgrade Path
Preserving the iMIS Upgrade PathPreserving the iMIS Upgrade Path
Preserving the iMIS Upgrade PathAndrea Robertson
 

Mais de Andrea Robertson (10)

Meet your members' expectations
Meet your members' expectationsMeet your members' expectations
Meet your members' expectations
 
Modern websites in RiSE
Modern websites in RiSEModern websites in RiSE
Modern websites in RiSE
 
Achieving Performance Improvement with iMIS Scoring Plus
Achieving Performance Improvement with iMIS Scoring PlusAchieving Performance Improvement with iMIS Scoring Plus
Achieving Performance Improvement with iMIS Scoring Plus
 
Things you may not know about iMIS
Things you may not know about iMISThings you may not know about iMIS
Things you may not know about iMIS
 
Form & Function: Creating Email Templates
Form & Function: Creating Email TemplatesForm & Function: Creating Email Templates
Form & Function: Creating Email Templates
 
How to get the most out of Process Automation (iNNOVATIONS 2015)
How to get the most out of Process Automation (iNNOVATIONS 2015)How to get the most out of Process Automation (iNNOVATIONS 2015)
How to get the most out of Process Automation (iNNOVATIONS 2015)
 
What's New in RiSE for Mobile (iNNOVATIONS 2015)
What's New in RiSE for Mobile (iNNOVATIONS 2015)What's New in RiSE for Mobile (iNNOVATIONS 2015)
What's New in RiSE for Mobile (iNNOVATIONS 2015)
 
Crafting a visually appealing website with iMIS
Crafting a visually appealing website with iMISCrafting a visually appealing website with iMIS
Crafting a visually appealing website with iMIS
 
Preserving the iMIS Upgrade Path
Preserving the iMIS Upgrade PathPreserving the iMIS Upgrade Path
Preserving the iMIS Upgrade Path
 
Breakpoint
BreakpointBreakpoint
Breakpoint
 

Último

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 

Último (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

Responsive Design in iMIS Part 2

  • 1. Responsive Design in iMIS Part 2: Deep Dive Andrea Robertson Melissa Burpo
  • 3. Responsive design can be… overwhelming.
  • 5. 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/
  • 6. Mobile First • For design and development, start with the smallest size and work your way up • Advantages: – Focus on the content that you really need – Faster performance for mobile
  • 7. Mobile First Workflow Starting with a small piece of the overall design: 1. Create sketches of the component at different screen sizes.
  • 8.
  • 9. Mobile First Workflow Starting with a small piece of the overall design: 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.
  • 10. Demo .container { max-width: 960px; /* ... */ } @media (min-width: 500px) { .footer-content-section { float: left; width: 50%; } } @media (min-width: 768px) { .footer .footer-social { width: 33.3333333333%; } .footer .footer-promo-container { width: 66.6666666667%; } } @media (max-width: 768px) { .header-social { display: none !important; } }
  • 11. Start with the small screen first, then expand until it looks like shit. Time for a breakpoint! Stephen Hay
  • 12. Design Considerations You may want to consider: • Increasing base font size • Making buttons bigger • Providing secondary navigation • Increasing width of desktop layout
  • 13. Design Considerations This is a good time to refactor: • Inline styling • Inline JavaScript • Tables for layouts • Text in images • Replace image gradients and rounded corners with CSS3
  • 14. Internet Explorer 8 + Responsive Design • The problem: – IE8 does not support media queries – Only styles outside of a media query are interpreted – For mobile-first designs, they will get the mobile experience
  • 15. Internet Explorer 8 Using a fallback class • Our solution: – Use Modernizr to detect Media Query support – Add class ‘no-mqs’ to the <html> tag – Repeat any styles that apply to desktop using a .no-mqs wrapper
  • 16. Internet Explorer 8 Using a fallback class .nav-primary { text-transform: uppercase; } @media (min-width: 768px) { .nav-primary { float: right; clear: right; margin-top: 9px; } } .no-mqs .nav-primary { float: right; clear: right; margin-top: 9px; }
  • 17. Sass + Breakpoint Use Sass and the Breakpoint plugin to quickly generate media queries and .no-mqs fallbacks
  • 18. Sass + Breakpoint The Sass 99-Austin.scss: $breakpoint-no-queries: false; $breakpoint-no-query-fallbacks: true; .nav-primary { text-transform: uppercase; } .nav-primary { @include breakpoint(min-width 768px; $no-query: '.no-mqs') { float: right; clear: right; margin-top: 9px; } }
  • 19. .nav-primary { text-transform: uppercase; } @media (min-width: 768px) { .nav-primary { float: right; clear: right; margin-top: 9px; } } .no-mqs .nav-primary { float: right; clear: right; margin-top: 9px; } Sass + Breakpoint Compiled CSS 99-Austin.css:
  • 21.
  • 22. Testing Recommendations • Use real devices as much as possible • Test in a wide range of screen sizes • Try portrait and landscape orientations
  • 23. Suggested Browsers and Devices • IE8, 9 and 11 • Latest version of Firefox • Latest version of Chrome • Latest version of OSX Safari • Safari on one iOS device (iPhone, iPod, iPad, iPad Mini) • Default browser on one or two Android devices
  • 27. Ghostlab & Adobe Edge Inspect
  • 29.
  • 30. Design is about making things good (and then better) and right (and fantastic) for the people who use and encounter them. Matt Beale
  • 31. Recommended Resources Responsive Web Design by Ethan Marcotte A perfect place to begin for anyone who has never implemented a responsive design. 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.
  • 32. Thanks! Andrea Robertson @RoboAndie Melissa Burpo @MelissaBurpo

Notas do Editor

  1. RWD can be overwhelming There is a plethora of devices out there Wide range of capabilities and screen sizes (page)
  2. But… what does that mean? (page)
  3. Mobile first means that when you are designing AND when you are coding, start with the smallest size and work your way up This leads to better focus on good content Better performance on mobile – only loads the styles it needs
  4. Example sketches we created of the navigation controls in the Austin theme Recommend sketching at least mobile and desktop size – middle will work itself out in the process Try to get out of the design process fast It’s easier to design for RWD in the browser – much more variable
  5. Process is very straight forward if you’re starting with a mobile theme and working your way up But also works for retrofitting a site designed for desktop (will show in demo)
  6. Setup Open Member Responsive with the Copy of Austin theme selected Show that it is not responsive. Set Responsive="True" in ThemeSettings.xml Show that the grid are collapsing, but it's not resizing. In masterpage-default.css, change width: 960px to max-width: 960px. Show that it's now resizing. Mention header – will come back to this. Footer Go to footer. Size down to min width of Chrome. Mention that it looks like crap. Comment out lines 232 – 242 in masterpage--default.css. Show that the footer is now stacking. Resize until it looks like crap (~500px?). Uncomment lines 232 – 235 & surround with media query Mention that this means the style will be honored by browsers > 500px wide Show in browser. Resize until it looks like crap (~768px?). Uncomment the rest of the footer layout and surround with media query. Show in browser. Show that it looks good at all resolutions. Header Show that it's messy when it's small. Hide social icons on screens < 768px wide Uncomment lines 79 – 83 in ma 0sterpage-default.css Mention that this query is similar to the hidden-xs, hidden-sm, etc. classes that are available out of the box. Open Austin.skin. Remove PageNavR and PageSubNav controls and uncomment commented portion. Mention the new MenuDisplayStyle option (Classic/Responsive) Mention EnableEmbeddedBaseStyleSheets and class "rmNeedBaseStyles". Toggle the responsive nav css files. Demo in browser.
  7. To summarize the whole process… "Start with the small screen first, then expand until it looks like shit. Time for a breakpoint!” – Stephen Hay
  8. Some other design considerations you may want to consider First 3 points – better for touch devices Increase the size available for touch, so your users are less like to fat finger Secondary nav – because drop-down functionality does not work on all touch devices – give your users another way to get to the secondary pages Last point – take better advantage of large screen sizes
  9. These things do not work well in RWD – time to refactor!
  10. The problem: IE8 does not support media queries This means that for mobile-first designs, IE8 will only see the mobile version of the theme For some people this is okay – but want to show our solution
  11. The solution: Several solutions available We chose Modernizr + .no-mqs wrapper class Repeat all styles that apply to 1024px width
  12. Width greater than 768px => applies to desktop Repeat styles from inside the media query, using the .no-mqs wrapper class
  13. We recommend using Sass with the Breakpoint plugin to quickly generate fallback styles for IE8 Don’t want to spend a lot of time on this – link is provided on iC resources page Sass CSS preprocessor Compiled into CSS All CSS is valid Sass We deliver our Sass – feel free to take a look
  14. Breakpoint plugin: Accepts 2 parameters: The screen size being targeted The fallback class name (‘no-mqs’)
  15. Emulators are great for development and debugging, but cannot replace testing on real devices Test as many devices as you can get your hands on Borrow from your coworkers, friends, family – even Best Buy
  16. IE10 is dying faster than any other version of IE, so you can probably skip it Unfortunately, XP users cannot upgrade beyond IE8, so it is still a widely used browser Each Android device is unique – try to test as many as possible
  17. Chrome’s emulator function is great for quick looks and some debugging
  18. Web Developer (extension for Chrome and FireFox) Gives you a view of many different screen sizes on a single page
  19. Ghostlab and Adobe Edge Inspect Synchronized browsing Hook up your devices to your desktop (via wifi) Browse, scroll, etc. on all your devices simultaneously
  20. Devices labs – open to the public – test your website on their devices for free Find one in your area!
  21. Responsive design is overwhelming. Take a deep breath. Don’t panic about trying to make the website perfect in every single device, browser, situation What’s important is giving your users the content they want (page)
  22. Focus instead on giving the best possible experience to the majority of your users