Theme generation using preprocessor
UIO interactions with frameworks (features, positive/negative interactions, architecture)
Can we use a framework to remove our !important injection
responsive layouts
Questions:
Nice to have:
Common Features:
Frameworks considered
Bootstrap 3.0 | Foundation 4 | Pure 0.3.0 | YAML 4 | Inuit 5 | |
---|---|---|---|---|---|
Navigation Lists | |||||
Tabs | |||||
Pills | |||||
Vertical lists | |||||
Dropdowns | |||||
Forms: Right aligned labels | |||||
Anchor Buttons | |||||
Normalize | |||||
Clearfix | |||||
Progressive Enhancement | |||||
Fixed height / Grid item layouts | |||||
Progress Bars | |||||
Theming |
| PureCSS Skin Builder | |||
Accessibility Features | .sr-only class makes element visible to ATs only .hidden and .show hide or show content. See below for notes on sr-only class |
See notes below. | |||
Spacing unit | px | em | |||
Environment | LESS | Sass | Sass | Sass | |
Max Package Size* | 471,199 bytes | 1,028,053 bytes | 226,559 bytes | 1,196,192 bytes | |
License | Apache License v2.0 | MIT Open Source | BSD License | CC Attribution 2.0 | Apache License 2.0 |
Documentation | Friendly and thorough | Technical and thorough | Minimal, but complete. | Technical and thorough | Very minimal documentation. "There are no official docs for |
Community / Adoption | Active and widely adopted | Active and widely adopted | Active and widely adopted | ||
IE | |||||
6 | |||||
7 | |||||
8 |
* Un-minified
Bootstrap:
The following is Bootstrap's CSS for .sr-only screen reader visible markup
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } |
Foundation:
Purecss:
YAML
.ym-skip, .ym-hideme, .ym-print { left: -32768px; position: absolute; top: -32768px; } .ym-skiplinks .ym-skip:focus, .ym-skiplinks .ym-skip:active { left: 32768px; outline: 0 none; position: absolute; width: 100%; } .ym-skip:focus, .ym-skip:active { top: 0; } |
A quick examination of LESS.
A quick examination of SASS.
The following classes are used by UIO and Exploration Tool. The candidate framework should make it easy to create themes or customizations based on these classnames:
Links and Text:
.fl-link-enhanced
.fl-text-larger
Fonts:
.fl-font-uio-arial
.fl-font-prefsEditor-times
.fl-font-prefsEditor-comic-sans
.fl-font-prefsEditor-arial
.fl-font-prefsEditor-verdana
Theming:
.fl-inverted-color
.fl-theme-uio-bw
.fl-theme-uio-lgdg
.fl-theme-prefsEditor-[bw/wb/by/yb/lgdg]
.fl-preview-theme.fl-theme-prefsEditor-[bw/wb/by/yb/lgdg]
.fl-theme-prefsEditor-[bw/wb/by/yb/lgdg].fl-inverted-color
.fl-theme-prefsEditor-[wb/bw/wb/by/yb/lgdg] .fl-inverted-color
.fl-preview-theme.fl-theme-prefsEditor-[wb/bw/by/yb/lgdg].fl-inverted-color