Slide 1

Slide 1 text

TOOLSTRAP A front-end framework for Groupon internal tools

Slide 2

Slide 2 text

99 Problems • Developers spending time on CSS, not features • Designers spending time on CSS, not problem-solving • Inconsistency with brand, designs, etc. within apps • Inconsistency between apps • Developers blocked by lack of design/CSS

Slide 3

Slide 3 text

https://twitter.com/threedaymonk/status/174497507517267968

Slide 4

Slide 4 text

What is Toolstrap? http://twitter.github.com/bootstrap/ http://foundation.zurb.com/

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

https://styleguide.groupondev.com/

Slide 7

Slide 7 text

“WTF is up with that font?” - Steven Walker, probably

Slide 8

Slide 8 text

Layouts

Slide 9

Slide 9 text

Tables

Slide 10

Slide 10 text

Forms

Slide 11

Slide 11 text

Buttons & Labels

Slide 12

Slide 12 text

Navigation & Tabs

Slide 13

Slide 13 text

Modules • Modals • Tooltips • Alerts • Accordions

Slide 14

Slide 14 text

Who’s using Toolstrap? • Coffee • Perfect Pipeline • Deal Estate • Deal Wizard • AM Workbench • Sales Workbench • Quantum Lead • CS Tools

Slide 15

Slide 15 text

Coffee

Slide 16

Slide 16 text

Deal Wizard

Slide 17

Slide 17 text

Sales Workbench

Slide 18

Slide 18 text

Mo’ Toolstrap, Mo’ Problems • Dependencies - Rails, JUI, SASS, Compass • Versioning - constantly in flux • Specificity - app-specific styles not abstracted out • Images - backgrounds, logos, icons • JavaScript - limited

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

Compiled CSS/JS Only Toolstrap Toolstrap 2 YO DAWG, I HERD YOU LIKE FOLDERS...

Slide 22

Slide 22 text

http://smacss.com/

Slide 23

Slide 23 text

SMACCS - Categorizing CSS • Base - normalize.css; styling elements • Layout - grid, layouts • Module - reusable, modular design elements • State - active/inactive, hidden/visible; JS • Theme - added layer of design; multiple themes

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

Groupon Icon Font!

Slide 27

Slide 27 text

http://css-tricks.com/examples/IconFont/

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

http://icomoon.io/

Slide 32

Slide 32 text

• Groupon.eot (14k) Internet Explorer • Groupon.svg (74k) Webkit, Opera • Groupon.ttf (14k) Firefox 3.5, Webkit • Groupon.woff (26k) Firefox 3.6+ • style.css (5k) • lte-ie7.js (4k) 98 Icons

Slide 33

Slide 33 text

Category Icons

Slide 34

Slide 34 text

Form Input Icons

Slide 35

Slide 35 text

Spinner

Slide 36

Slide 36 text

Styles for Popular UI Libraries • jQuery UI • Select2 • ???

Slide 37

Slide 37 text

(but CSS ain’t one) https://github.groupondev.com/internal-tools-bootstrap/toolstrap https://github.groupondev.com/maparicio/toolstrap2 https://github.groupondev.com/maparicio/Groupon-Icon-Font

Slide 38

Slide 38 text

?uestions? Mike Aparicio maparicio@groupon.com http://idol.pe/toolstrap