SlideShare a Scribd company logo
mLearnCon 2014
A ResponsiveWeb Solution
for a Complex Online Educational Platform
Amy Rae Som, University of Arizona Center for Integrative Medicine
Overview
✤ Project background!
✤ Mobile learning delivery options!
✤ Responsive web design !
✤ Technology options for responsive web!
✤ Our design/development process
Project background
Just a bit about me
BA Studio Art Graphic & Web Design ~9 y
MSEd Instructional Systems Instructional Design ~6 y
01
Online learning
at AzCIM
✤ 2-year Fellowship program for physicians,
PAs, NPs (5 concurrent international cohorts)!
✤ 6-month IH program for licensed health
practitioners (2 cohorts/year)!
✤ 1-month Medical Student Rotation program
(2 cohorts/year)!
✤ 4-year Medical Student Distinction Track (4
concurrent cohorts)!
✤ 3-year Medical Residency program (over 50
sites across US)!
✤ 150+ students concurrently enrolled in stand-
alone courses
01
Usage Statistics
Based on video downloads. Excludes 5% video through iTunes.
iPad 14%
iPhone 2%
Android <1%
IE 9% (IE8 4.6%)
Chrome 19%
Safari 35%
Firefox 15%
01
Device support
Prior to Redesign Project!
✤ Any OS !
✤ Any browser (even IE 6!)!
After Redesign Launch!
✤ Any modern browser, with the
exception of IE 8+
Options for mobile delivery 

of AzCIM learning platform
01
Options for
mobile delivery
✤ Do nothing: 

same website for all!
✤ 2 websites: one mobile version,
one desktop (full) version!
✤ Native mobile app!
✤ Responsive web
Mobile option: 

Do nothing / Same site for all
✤ Deliver the same website to every device!
Do nothing +!
✤ Deliver the same website to every device, but use
mobile-accessible technologies: HTML 5 video,
eliminate Flash interactions
01
Mobile option:
Two websites
✤ Keep the current full website as
“desktop” version!
✤ Create a separate mobile
version of the site:
m.website.edu
01
Mobile option:
Native app
✤ Kind of like the 2 website
option, except the mobile
version is not web-based, but a
native app built for Android/
iOS!
✤ Or you can look at particular
use cases for a mobile app in
addition to the full website,
either second-screen or
separate experiences
Mobile option: Responsive web design
✤ Deliver the same website to every device, BUT!
✤ Visual display adapts to suit the device
Responsive web design:

What, how & why
01
What: One set of code, 

2 or more designs
✤ Initial design process is very
similar to designing for the 2
website option!
✤ Think about ideal experience
for phone, tablet, PC!
✤ May have 2 or more sets of UI
designs
01
How: 

Technology options
✤ From scratch: Use CSS media queries
to create custom responsive layouts!
✤ Use a framework: !
✤ Bootstrap!
✤ Foundation!
✤ many more:

22 Best Responsive Frameworks

HTML 5 Frameworks

Responsive Design Frameworks 

@media only screen and (min-width: 769px)	
{	
.block1 {	
	 position: relative; 	
	 width: 20%;	
	 padding: 5%;	
	 margin-right: 5%;	
	 float: left;	
	 overflow: auto;	
}	
}	
@media only screen and (maz-device-width:768px)	
{	
.block1 {	
	 position: relative;	
	 width: 90%;	
	 padding: 5%;	
	 margin-bottom: 5%;	
	 overflow:auto;	
}	
}
01
Why from
scratch?
✤ You and your team are design
ninjas and CSS gurus!
✤ You can design a solution
exactly to your specifications,
with no extraneous features or
code bloat
@media only screen and (min-width: 769px)	
{	
.block1 {	
	 position: relative; 	
	 width: 20%;	
	 padding: 5%;	
	 margin-right: 5%;	
	 float: left;	
	 overflow: auto;	
}	
.block2 {	
	 position: relative;	
	 width: 20%;	
	 padding: 5%;	
	 margin-right: 5%;	
	 float:left;	
	 overflow: auto;	
}	
}	
@media only screen and (maz-device-width:768px)	
{	
.block1 {	
	 position: relative;	
	 width: 90%;	
	 padding: 5%;	
	 margin-bottom: 5%;	
	 overflow:auto;	
}
01
Why use a
framework?
✤ Documented browser support:
less debugging required!
✤ Can reduce development time: !
✤ Grid system already built!
✤ CSS/JS schema devised
AzCIM design 

& development process
Steps in our process
✤ Survey different learner / user groups!
✤ Start designing for different groups with pencil sketches!
✤ Create more refined layout drawings in Adobe
Fireworks/Photoshop!
✤ Choose a framework!
✤ Rapid prototype in HTML/CSS/JS
01
Pencil sketches
✤ Pencil sketches were the genesis
of reimagining the entire UI and
UX of our learning website!
✤ Sketch templates:!
✤ http://www.looks.gd/
design/sketchbooks-of-a-web-
developer!
✤ http://www.hongkiat.com/
blog/useful-offline-utensils-
and-toolkits-for-designers/
Digital layout drawings
✤ Digital layout drawings were more refined than pencil
sketches, but not polished design comps
01
Choose a
framework: skelJS
✤ Flexible grid system!
✤ Lightweight (20k)!
✤ Compatible with jQuery!
✤ Works in the browsers that we
need to support!
✤ Has a useful Panels plug-in!
✤ Good documentation!
✤ Easy to learn
01
Rapid prototype
in HTML
✤ Create static HTML pages in
skelJS to represent site
templates!
✤ Create system templates in
skelJS!
✤ Iterate layers of visual
refinement with CSS
Phone layout
Tablet layout
PC layout (Fellowship program)
PC layout (medical student rotation)
Two core technologies: skelJS and Less
Less: CSS preprocessorskelJS: responsive web framework
Overview: skelJS
How to: skelJS
✤ Define grid-based layouts in HTML!
✤ Define breakpoints for skel!
✤ Create stylesheets for different breakpoints!
✤ Define content for Panels plug-in
01
Define grid-based
layout in HTML
<div class="row">	
<div class="12u">12u</div>	
</div>	
<div class="row">	
<div class="3u">3u</div>	
<div class="9u">9u</div>	
</div>	
<div class="row">	
<div class="6u">6u</div>	
<div class="6u">6u</div>	
</div>	
<div class="row">	
<div class="6u">6u</div>	
<div class="6u">6u</div>	
</div>
✤ “row” is the fundamental structure
for the grid!
✤ each row is 12 units (“12u”) wide
Define display-size breakpoints
window._skel_config = {	
	 prefix: "/css/style",	
preloadStyleSheets: true,	
resetCSS: true,	
boxModel: "border",	
grid: { gutters: 15 },	
breakpoints: {	
wide: { range: "1200-", containers: 'fluid', grid: { gutters: 30 } },	
notnarrow: { range: "801-1199", containers: 'fluid' },	
narrow: { range: "591-800", containers: 'fluid' },	
mobile: { range: "-590", containers: "fluid", lockViewport: true, grid:
{ gutters: 0, collapse: true } }	
}	
};
Create stylesheets for different
display-size breakpoints
✤ If three breakpoints, e.g., !
✤ mobile !
✤ narrow!
✤ wide!
!
✤ Need stylesheets for each
breakpoint!
✤ style-mobile.css!
✤ style-narrow.css!
✤ style-wide.css!
✤ plus a general
stylesheet, style.css.
AzCIM site setup
✤ Four breakpoints:!
✤ mobile (-590 px)!
✤ narrow (591-800 px)!
✤ notnarrow 

(801-1199 px)!
✤ wide (1200- px)!
✤ Two color palettes:!
✤ Community!
✤ Curriculum program
AzCIM site—mobile
AzCIM site—tablet
AzCIM site—PC (“not narrow”)
AzCIM site—PC
Overview: Less
Less: a CSS preprocessor
✤ Less extends CSS with !
✤ variables!
✤ mixins !
✤ functions!
!
✤ Write styles in Less,
compile to CSS!
✤ Allows for development
in discrete chunks and
deployment of compiled
minified files
Variables
@default_font: 'Source Sans Pro', sans-serif;	
!
/* colors */	
@center_taupe: #7b7464;	
@center_light_green: #68a957;	
@center_dark_green: #134c36;	
!
/* paragraph formatting */	
@default_type_size: 1.6rem;	
@default_line_height: 1.4;	
@para_space_after: 6px;	
!
/* block formatting */	
@gutter_size: 15px;	
@default_padding: 6px;
Mixins
.linkTextNoDeco {	
text-decoration: none;	
color: @default_txt_color;	
}	
.basicBlock {	
	 padding: @default_padding;	
	 border: @default_border;	
}	
.featuredBlock {	
	 background: @featured_bg;	
.basicBlock;	
.boxShadow(14px, -2px);	
}

.toolBlock {	
	 background: @button_bg;	
	 font-weight: 600;	
.basicBlock;	
.linkTextNoDeco;	
a {	
.linkTextNoDeco;	
}	
}	
.specialToolBlock {	
.toolBlock;	
background: @special_btn_bg;	
}
Functions
.roundedCorners (@radius: 6px) {	
-webkit-border-radius: @radius;	
-moz-border-radius: @radius;	
-ms-border-radius: @radius;	
-o-border-radius: @radius;	
border-radius: @radius;	
}	
.boxShadow (@shadow_blur: 10px, @shadow_spread: 0) {	
box-shadow: 1px 1px @shadow_blur @shadow_spread #555;	
}	
.textShadow (@shadow_blur: 12px, @shadow_color: #333) {	
text-shadow: 1px 1px @shadow_blur @shadow_color;	
}
Discrete development files,
compiled deployment files
style.less:!
@import "common_vars.less";	
@import "campus_skin.less";	
@import "default_sizes.less";	
@import "default_styles.less";	
style-mobile.less:!
@import "common_vars.less";	
@import "campus_skin.less";	
@import "mobile_sizes.less";	
@import "mobile_styles.less";	
style-programs.less:!
@import "common_vars.less";	
@import "programs_skin.less";	
@import "default_sizes.less";	
@import "default_styles.less";
Less files in Crunch
AzCIM site—mobile
AzCIM site—tablet
AzCIM site—PC (“not narrow”)
AzCIM site—PC
skelJS panels
Panels plug-in
Panels code
window._skel_panels_config = {	
panels: {	
leftPanel: {	
breakpoints: 'mobile',	
position: "left",	
size: 200,	
style: 'push',	
html: '<div data-action="moveCell" data-args="mainNav,mainSection"></div>'	
}	
},	
overlays: {	
	 menuToggler: {	
	 breakpoints: "mobile",	
	 position: "middle-left",	
	 width: 88,	
	 height: 48,	
	 html: '<div class="toggle" data-action="togglePanel" data-args="leftPanel">Site
Navigation</div>'	
	 }	
	 }	
};
skelJS Panels plug-in
✤ Includes two UI elements:!
✤ Panels!
✤ Areas that can slide in/out from the sides of the
viewport!
✤ Overlays!
✤ Always-visible areas anchored to the edges of the
viewport
AzCIM Panels
✤ Linked to the “mobile” breakpoint, so they only appear on
small-screen devices!
✤ Important options:!
✤ Position (“left”, “middle-left”)!
✤ Size (“size: 200”, “width: 88, height: 48”)!
✤ Style (“push”—slides panel in, pushes the page over)!
✤ Action (“moveCell”, “togglePanel”)
“Rich media” elements
Learning interactions and
information viewers
✤ Flex ➛ HTML
conversions!
!
!
!
!
✤ HTML ➛ jQueryMobile
jQueryMobile 

for information viewers
Old version: 

HTML with JS behaviors
New version: 

jQueryMobile inside <iframe>
Fluid video
Ideally, video in a responsive design will resize fluidly as
the container resizes.!
✤ SublimeVideo http://sublimevideo.net/ !
<script type="text/javascript" src="//
cdn.sublimevideo.net/js/[YOUR_KEY].js"></script>	
<video src="/path/to/video.mp4" type="video/mp4"
class="sublime" data-autoresize="fit"
preload="none"></video>
Questions?
Contact me:
Amy Rae Som!
asom@email.arizona.edu!
twitter.com/avisualmind!
avisualmind.tumblr.com

More Related Content

PDF
Responsive Websites
ODP
Responsive Web Design - but for real!
PDF
RESS: An Evolution of Responsive Web Design
PPTX
Rethinking accessibility related best practices for CSS in the modern age
PPT
Web design services
PDF
NewBCamp08: Intro to Web Standards
PDF
Front end developer responsibilities what does a front-end developer do?
PDF
Fundamental Progressive Enhancement [Web Design World Boston 2008]
Responsive Websites
Responsive Web Design - but for real!
RESS: An Evolution of Responsive Web Design
Rethinking accessibility related best practices for CSS in the modern age
Web design services
NewBCamp08: Intro to Web Standards
Front end developer responsibilities what does a front-end developer do?
Fundamental Progressive Enhancement [Web Design World Boston 2008]

What's hot (9)

PDF
Beyond Responsive Workshop [Beyond Tellerrand 2014]
PPTX
Wordcamp rochester-2017-accessibility-johnson-steigelman
PPTX
Progressive Enhancement
PDF
Planning Your Progressive Web App
PPT
student innovation 2014
PPTX
Silverlight FireStarter DC Keynote
PDF
Wordcamp rochester-2017-accessibility-johnson-steigelman
PDF
vishvakumar-ui-web
PPTX
website
Beyond Responsive Workshop [Beyond Tellerrand 2014]
Wordcamp rochester-2017-accessibility-johnson-steigelman
Progressive Enhancement
Planning Your Progressive Web App
student innovation 2014
Silverlight FireStarter DC Keynote
Wordcamp rochester-2017-accessibility-johnson-steigelman
vishvakumar-ui-web
website
Ad

Viewers also liked (20)

PDF
bul TELE-audiovision-1309
PPT
Gkpres2010
PDF
Nidec asi capability overview for lng and oil&gas applications
DOC
Info sacu
PDF
20150305_Infoday regional SECTOR QUÍMICO_Juan José González
PDF
Course 1 - 1st session
PPT
Copy of biographical account of dr begg /certified fixed orthodontic courses ...
PDF
Bodensee-Forum 2012 - Ehses-Flohr
PDF
La newsletter de Mar Traducciones. Volumen 1, año 2012
PPTX
Profesionales pocket care
PDF
2º básico a semana del 12 al 16
PDF
Tech Savvy Site Inspections with @PYMLive
PDF
Factores Atención en Banksy-revisión 2016
PPTX
Aboriginal Boots on the Ground - MNP
PPTX
Analisis del manejo de la imagen virtual utp
PPTX
Història geològica bcn_web
PPT
Eclecticismo Arquitectónico en Europa y el Perú.
PDF
2014 S.C. Press Association Annual Meeting & Awards Program
PPT
IHS Annual Conference 2011: Managing and Maximizing Your Volunteers
PPTX
Cáncer de colon incipiente
bul TELE-audiovision-1309
Gkpres2010
Nidec asi capability overview for lng and oil&gas applications
Info sacu
20150305_Infoday regional SECTOR QUÍMICO_Juan José González
Course 1 - 1st session
Copy of biographical account of dr begg /certified fixed orthodontic courses ...
Bodensee-Forum 2012 - Ehses-Flohr
La newsletter de Mar Traducciones. Volumen 1, año 2012
Profesionales pocket care
2º básico a semana del 12 al 16
Tech Savvy Site Inspections with @PYMLive
Factores Atención en Banksy-revisión 2016
Aboriginal Boots on the Ground - MNP
Analisis del manejo de la imagen virtual utp
Història geològica bcn_web
Eclecticismo Arquitectónico en Europa y el Perú.
2014 S.C. Press Association Annual Meeting & Awards Program
IHS Annual Conference 2011: Managing and Maximizing Your Volunteers
Cáncer de colon incipiente
Ad

Similar to mLearnCon 2014 - A responsive web solution for a complex online educational platform (20)

PPTX
MCA Society Project Seminar.pptx
PDF
Best Search Engine Optimization Online Course
PPTX
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptx
PPTX
RWD - Bootstrap
PPTX
SEF 2014 - Responsive Design in SharePoint 2013
PDF
front end presentation ppt for front end development with sample project
PPTX
MobileStore.pptx
PPTX
E learning website
PDF
Responsive Process HOW Interactive
PPTX
Tech Stack & Web App Development For Startups
KEY
Team styles
PDF
Win j svsphonegap-damyan-petev-mihail-mateev
PDF
Great Responsive-ability Web Design
PDF
Design4Drupal Boston 2013 - Bumps in the Road to Responsive
PDF
0 uprise u_coding major overview 20210105
PDF
Creating a Business Oriented UI in APEX
PDF
How to Learn Web Designing Step by Step From Basics in 2018
PDF
Crafting Digital Experiences with Innovative Web Designing”
PDF
How to Become a Front-End Developer? Step-by-Step Guide by Careervira
PPTX
Eyal Ellenbogen: Building a UI Foundation for Scalability - Architecture Next 20
MCA Society Project Seminar.pptx
Best Search Engine Optimization Online Course
LATEST_TRENDS_IN_WEBSITE_DEVELOPMENT.pptx
RWD - Bootstrap
SEF 2014 - Responsive Design in SharePoint 2013
front end presentation ppt for front end development with sample project
MobileStore.pptx
E learning website
Responsive Process HOW Interactive
Tech Stack & Web App Development For Startups
Team styles
Win j svsphonegap-damyan-petev-mihail-mateev
Great Responsive-ability Web Design
Design4Drupal Boston 2013 - Bumps in the Road to Responsive
0 uprise u_coding major overview 20210105
Creating a Business Oriented UI in APEX
How to Learn Web Designing Step by Step From Basics in 2018
Crafting Digital Experiences with Innovative Web Designing”
How to Become a Front-End Developer? Step-by-Step Guide by Careervira
Eyal Ellenbogen: Building a UI Foundation for Scalability - Architecture Next 20

Recently uploaded (20)

PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Basic Mud Logging Guide for educational purpose
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
GDM (1) (1).pptx small presentation for students
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
The Final Stretch: How to Release a Game and Not Die in the Process.
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Open Quiz Monsoon Mind Game Prelims.pptx
PPTX
COMPUTERS AS DATA ANALYSIS IN PRECLINICAL DEVELOPMENT.pptx
PDF
Introduction-to-Social-Work-by-Leonora-Serafeca-De-Guzman-Group-2.pdf
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Basic Mud Logging Guide for educational purpose
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
GDM (1) (1).pptx small presentation for students
O7-L3 Supply Chain Operations - ICLT Program
Microbial diseases, their pathogenesis and prophylaxis
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
The Final Stretch: How to Release a Game and Not Die in the Process.
PPH.pptx obstetrics and gynecology in nursing
STATICS OF THE RIGID BODIES Hibbelers.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Open Quiz Monsoon Mind Game Prelims.pptx
COMPUTERS AS DATA ANALYSIS IN PRECLINICAL DEVELOPMENT.pptx
Introduction-to-Social-Work-by-Leonora-Serafeca-De-Guzman-Group-2.pdf
Week 4 Term 3 Study Techniques revisited.pptx

mLearnCon 2014 - A responsive web solution for a complex online educational platform

  • 1. mLearnCon 2014 A ResponsiveWeb Solution for a Complex Online Educational Platform Amy Rae Som, University of Arizona Center for Integrative Medicine
  • 2. Overview ✤ Project background! ✤ Mobile learning delivery options! ✤ Responsive web design ! ✤ Technology options for responsive web! ✤ Our design/development process
  • 4. Just a bit about me BA Studio Art Graphic & Web Design ~9 y MSEd Instructional Systems Instructional Design ~6 y
  • 5. 01 Online learning at AzCIM ✤ 2-year Fellowship program for physicians, PAs, NPs (5 concurrent international cohorts)! ✤ 6-month IH program for licensed health practitioners (2 cohorts/year)! ✤ 1-month Medical Student Rotation program (2 cohorts/year)! ✤ 4-year Medical Student Distinction Track (4 concurrent cohorts)! ✤ 3-year Medical Residency program (over 50 sites across US)! ✤ 150+ students concurrently enrolled in stand- alone courses
  • 6. 01 Usage Statistics Based on video downloads. Excludes 5% video through iTunes. iPad 14% iPhone 2% Android <1% IE 9% (IE8 4.6%) Chrome 19% Safari 35% Firefox 15%
  • 7. 01 Device support Prior to Redesign Project! ✤ Any OS ! ✤ Any browser (even IE 6!)! After Redesign Launch! ✤ Any modern browser, with the exception of IE 8+
  • 8. Options for mobile delivery 
 of AzCIM learning platform
  • 9. 01 Options for mobile delivery ✤ Do nothing: 
 same website for all! ✤ 2 websites: one mobile version, one desktop (full) version! ✤ Native mobile app! ✤ Responsive web
  • 10. Mobile option: 
 Do nothing / Same site for all ✤ Deliver the same website to every device! Do nothing +! ✤ Deliver the same website to every device, but use mobile-accessible technologies: HTML 5 video, eliminate Flash interactions
  • 11. 01 Mobile option: Two websites ✤ Keep the current full website as “desktop” version! ✤ Create a separate mobile version of the site: m.website.edu
  • 12. 01 Mobile option: Native app ✤ Kind of like the 2 website option, except the mobile version is not web-based, but a native app built for Android/ iOS! ✤ Or you can look at particular use cases for a mobile app in addition to the full website, either second-screen or separate experiences
  • 13. Mobile option: Responsive web design ✤ Deliver the same website to every device, BUT! ✤ Visual display adapts to suit the device
  • 15. 01 What: One set of code, 
 2 or more designs ✤ Initial design process is very similar to designing for the 2 website option! ✤ Think about ideal experience for phone, tablet, PC! ✤ May have 2 or more sets of UI designs
  • 16. 01 How: 
 Technology options ✤ From scratch: Use CSS media queries to create custom responsive layouts! ✤ Use a framework: ! ✤ Bootstrap! ✤ Foundation! ✤ many more:
 22 Best Responsive Frameworks
 HTML 5 Frameworks
 Responsive Design Frameworks 
 @media only screen and (min-width: 769px) { .block1 { position: relative; width: 20%; padding: 5%; margin-right: 5%; float: left; overflow: auto; } } @media only screen and (maz-device-width:768px) { .block1 { position: relative; width: 90%; padding: 5%; margin-bottom: 5%; overflow:auto; } }
  • 17. 01 Why from scratch? ✤ You and your team are design ninjas and CSS gurus! ✤ You can design a solution exactly to your specifications, with no extraneous features or code bloat @media only screen and (min-width: 769px) { .block1 { position: relative; width: 20%; padding: 5%; margin-right: 5%; float: left; overflow: auto; } .block2 { position: relative; width: 20%; padding: 5%; margin-right: 5%; float:left; overflow: auto; } } @media only screen and (maz-device-width:768px) { .block1 { position: relative; width: 90%; padding: 5%; margin-bottom: 5%; overflow:auto; }
  • 18. 01 Why use a framework? ✤ Documented browser support: less debugging required! ✤ Can reduce development time: ! ✤ Grid system already built! ✤ CSS/JS schema devised
  • 19. AzCIM design 
 & development process
  • 20. Steps in our process ✤ Survey different learner / user groups! ✤ Start designing for different groups with pencil sketches! ✤ Create more refined layout drawings in Adobe Fireworks/Photoshop! ✤ Choose a framework! ✤ Rapid prototype in HTML/CSS/JS
  • 21. 01 Pencil sketches ✤ Pencil sketches were the genesis of reimagining the entire UI and UX of our learning website! ✤ Sketch templates:! ✤ http://www.looks.gd/ design/sketchbooks-of-a-web- developer! ✤ http://www.hongkiat.com/ blog/useful-offline-utensils- and-toolkits-for-designers/
  • 22. Digital layout drawings ✤ Digital layout drawings were more refined than pencil sketches, but not polished design comps
  • 23. 01 Choose a framework: skelJS ✤ Flexible grid system! ✤ Lightweight (20k)! ✤ Compatible with jQuery! ✤ Works in the browsers that we need to support! ✤ Has a useful Panels plug-in! ✤ Good documentation! ✤ Easy to learn
  • 24. 01 Rapid prototype in HTML ✤ Create static HTML pages in skelJS to represent site templates! ✤ Create system templates in skelJS! ✤ Iterate layers of visual refinement with CSS
  • 28. PC layout (medical student rotation)
  • 29. Two core technologies: skelJS and Less Less: CSS preprocessorskelJS: responsive web framework
  • 31. How to: skelJS ✤ Define grid-based layouts in HTML! ✤ Define breakpoints for skel! ✤ Create stylesheets for different breakpoints! ✤ Define content for Panels plug-in
  • 32. 01 Define grid-based layout in HTML <div class="row"> <div class="12u">12u</div> </div> <div class="row"> <div class="3u">3u</div> <div class="9u">9u</div> </div> <div class="row"> <div class="6u">6u</div> <div class="6u">6u</div> </div> <div class="row"> <div class="6u">6u</div> <div class="6u">6u</div> </div> ✤ “row” is the fundamental structure for the grid! ✤ each row is 12 units (“12u”) wide
  • 33. Define display-size breakpoints window._skel_config = { prefix: "/css/style", preloadStyleSheets: true, resetCSS: true, boxModel: "border", grid: { gutters: 15 }, breakpoints: { wide: { range: "1200-", containers: 'fluid', grid: { gutters: 30 } }, notnarrow: { range: "801-1199", containers: 'fluid' }, narrow: { range: "591-800", containers: 'fluid' }, mobile: { range: "-590", containers: "fluid", lockViewport: true, grid: { gutters: 0, collapse: true } } } };
  • 34. Create stylesheets for different display-size breakpoints ✤ If three breakpoints, e.g., ! ✤ mobile ! ✤ narrow! ✤ wide! ! ✤ Need stylesheets for each breakpoint! ✤ style-mobile.css! ✤ style-narrow.css! ✤ style-wide.css! ✤ plus a general stylesheet, style.css.
  • 35. AzCIM site setup ✤ Four breakpoints:! ✤ mobile (-590 px)! ✤ narrow (591-800 px)! ✤ notnarrow 
 (801-1199 px)! ✤ wide (1200- px)! ✤ Two color palettes:! ✤ Community! ✤ Curriculum program
  • 41. Less: a CSS preprocessor ✤ Less extends CSS with ! ✤ variables! ✤ mixins ! ✤ functions! ! ✤ Write styles in Less, compile to CSS! ✤ Allows for development in discrete chunks and deployment of compiled minified files
  • 42. Variables @default_font: 'Source Sans Pro', sans-serif; ! /* colors */ @center_taupe: #7b7464; @center_light_green: #68a957; @center_dark_green: #134c36; ! /* paragraph formatting */ @default_type_size: 1.6rem; @default_line_height: 1.4; @para_space_after: 6px; ! /* block formatting */ @gutter_size: 15px; @default_padding: 6px;
  • 43. Mixins .linkTextNoDeco { text-decoration: none; color: @default_txt_color; } .basicBlock { padding: @default_padding; border: @default_border; } .featuredBlock { background: @featured_bg; .basicBlock; .boxShadow(14px, -2px); }
 .toolBlock { background: @button_bg; font-weight: 600; .basicBlock; .linkTextNoDeco; a { .linkTextNoDeco; } } .specialToolBlock { .toolBlock; background: @special_btn_bg; }
  • 44. Functions .roundedCorners (@radius: 6px) { -webkit-border-radius: @radius; -moz-border-radius: @radius; -ms-border-radius: @radius; -o-border-radius: @radius; border-radius: @radius; } .boxShadow (@shadow_blur: 10px, @shadow_spread: 0) { box-shadow: 1px 1px @shadow_blur @shadow_spread #555; } .textShadow (@shadow_blur: 12px, @shadow_color: #333) { text-shadow: 1px 1px @shadow_blur @shadow_color; }
  • 45. Discrete development files, compiled deployment files style.less:! @import "common_vars.less"; @import "campus_skin.less"; @import "default_sizes.less"; @import "default_styles.less"; style-mobile.less:! @import "common_vars.less"; @import "campus_skin.less"; @import "mobile_sizes.less"; @import "mobile_styles.less"; style-programs.less:! @import "common_vars.less"; @import "programs_skin.less"; @import "default_sizes.less"; @import "default_styles.less";
  • 46. Less files in Crunch
  • 53. Panels code window._skel_panels_config = { panels: { leftPanel: { breakpoints: 'mobile', position: "left", size: 200, style: 'push', html: '<div data-action="moveCell" data-args="mainNav,mainSection"></div>' } }, overlays: { menuToggler: { breakpoints: "mobile", position: "middle-left", width: 88, height: 48, html: '<div class="toggle" data-action="togglePanel" data-args="leftPanel">Site Navigation</div>' } } };
  • 54. skelJS Panels plug-in ✤ Includes two UI elements:! ✤ Panels! ✤ Areas that can slide in/out from the sides of the viewport! ✤ Overlays! ✤ Always-visible areas anchored to the edges of the viewport
  • 55. AzCIM Panels ✤ Linked to the “mobile” breakpoint, so they only appear on small-screen devices! ✤ Important options:! ✤ Position (“left”, “middle-left”)! ✤ Size (“size: 200”, “width: 88, height: 48”)! ✤ Style (“push”—slides panel in, pushes the page over)! ✤ Action (“moveCell”, “togglePanel”)
  • 57. Learning interactions and information viewers ✤ Flex ➛ HTML conversions! ! ! ! ! ✤ HTML ➛ jQueryMobile
  • 58. jQueryMobile 
 for information viewers Old version: 
 HTML with JS behaviors New version: 
 jQueryMobile inside <iframe>
  • 59. Fluid video Ideally, video in a responsive design will resize fluidly as the container resizes.! ✤ SublimeVideo http://sublimevideo.net/ ! <script type="text/javascript" src="// cdn.sublimevideo.net/js/[YOUR_KEY].js"></script> <video src="/path/to/video.mp4" type="video/mp4" class="sublime" data-autoresize="fit" preload="none"></video>
  • 61. Contact me: Amy Rae Som! asom@email.arizona.edu! twitter.com/avisualmind! avisualmind.tumblr.com