underoos 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. data/Gemfile +5 -0
  2. data/Gemfile.lock +21 -7
  3. data/README.md +85 -10
  4. data/Rakefile +36 -1
  5. data/app/assets/javascripts/docs.js +6 -0
  6. data/app/assets/javascripts/styleguide.coffee +162 -0
  7. data/app/assets/javascripts/underoos.js +0 -1
  8. data/app/assets/stylesheets/base/_base.sass +14 -0
  9. data/app/assets/stylesheets/base/_buttons.sass +68 -0
  10. data/app/assets/stylesheets/base/_forms.sass +313 -24
  11. data/app/assets/stylesheets/base/_helpers.sass +27 -13
  12. data/app/assets/stylesheets/base/_normalize.sass +17 -9
  13. data/app/assets/stylesheets/base/_scaffold.sass +85 -0
  14. data/app/assets/stylesheets/base/_tables.sass +77 -0
  15. data/app/assets/stylesheets/base/_transitions.sass +10 -2
  16. data/app/assets/stylesheets/base/_typography.sass +183 -21
  17. data/app/assets/stylesheets/components/_accordions.sass +38 -0
  18. data/app/assets/stylesheets/components/_breadcrumbs.sass +19 -5
  19. data/app/assets/stylesheets/components/_button-groups.sass +43 -0
  20. data/app/assets/stylesheets/components/_carets.sass +13 -2
  21. data/app/assets/stylesheets/components/_carousels.sass +32 -0
  22. data/app/assets/stylesheets/components/_close.sass +15 -2
  23. data/app/assets/stylesheets/components/_components.sass +28 -0
  24. data/app/assets/stylesheets/components/_decals.sass +14 -0
  25. data/app/assets/stylesheets/components/_dropdowns.sass +88 -4
  26. data/app/assets/stylesheets/components/_media.sass +36 -0
  27. data/app/assets/stylesheets/components/_modals.sass +29 -0
  28. data/app/assets/stylesheets/components/_nav-lists.sass +20 -0
  29. data/app/assets/stylesheets/components/_navbars.sass +64 -3
  30. data/app/assets/stylesheets/components/_notifications.sass +112 -16
  31. data/app/assets/stylesheets/components/_paddles.sass +26 -0
  32. data/app/assets/stylesheets/components/_pagination.sass +23 -3
  33. data/app/assets/stylesheets/components/_pills.sass +80 -0
  34. data/app/assets/stylesheets/components/_popovers.sass +28 -0
  35. data/app/assets/stylesheets/components/_progress-bars.sass +33 -1
  36. data/app/assets/stylesheets/components/_tabs.sass +79 -0
  37. data/app/assets/stylesheets/components/_tooltips.sass +26 -0
  38. data/app/assets/stylesheets/components/_wells.sass +9 -0
  39. data/app/assets/stylesheets/layouts/_containers.sass +12 -0
  40. data/app/assets/stylesheets/layouts/_layouts.sass +5 -0
  41. data/app/assets/stylesheets/layouts/_print.sass +5 -1
  42. data/app/assets/stylesheets/layouts/_queries.sass +18 -15
  43. data/app/assets/stylesheets/layouts/_upgrades.sass +51 -40
  44. data/app/assets/stylesheets/mixins/_arrows.sass +13 -1
  45. data/app/assets/stylesheets/mixins/_clearfixins.sass +18 -4
  46. data/app/assets/stylesheets/mixins/_coloring.sass +10 -1
  47. data/app/assets/stylesheets/mixins/_columns.sass +16 -3
  48. data/app/assets/stylesheets/mixins/_conversions.sass +18 -6
  49. data/app/assets/stylesheets/mixins/_font-size.sass +16 -1
  50. data/app/assets/stylesheets/mixins/_image-tools.sass +12 -1
  51. data/app/assets/stylesheets/mixins/_inline-block.sass +21 -0
  52. data/app/assets/stylesheets/mixins/_ir.sass +14 -1
  53. data/app/assets/stylesheets/mixins/_mixins.sass +6 -0
  54. data/app/assets/stylesheets/mixins/_responsive.sass +16 -0
  55. data/app/assets/stylesheets/mixins/_sticky-footer.sass +52 -0
  56. data/app/assets/stylesheets/mixins/_tab-focus.sass +8 -1
  57. data/app/assets/stylesheets/mixins/_timing-equations.sass +34 -1
  58. data/app/assets/stylesheets/mixins/_visibility.sass +18 -5
  59. data/app/assets/stylesheets/polyfills/_box-shadow.sass +10 -0
  60. data/app/assets/stylesheets/polyfills/_box-sizing.sass +10 -1
  61. data/app/assets/stylesheets/polyfills/_functions.sass +14 -1
  62. data/app/assets/stylesheets/polyfills/_opacity.sass +10 -1
  63. data/app/assets/stylesheets/polyfills/_polyfills.sass +9 -2
  64. data/app/assets/stylesheets/polyfills/_transition.sass +10 -0
  65. data/app/assets/stylesheets/polyfills/_user-select.sass +10 -0
  66. data/app/assets/stylesheets/settings/_config.sass +26 -0
  67. data/app/assets/stylesheets/settings/_settings.sass +7 -0
  68. data/app/assets/stylesheets/settings/_theme.sass +189 -0
  69. data/app/assets/stylesheets/{styleguide.sass → underoos-docs.sass} +20 -116
  70. data/app/assets/stylesheets/underoos.sass +5 -16
  71. data/config.ru +1 -3
  72. data/features/generator.feature +13 -4
  73. data/lib/generators/underoos/assets_generator.rb +4 -2
  74. data/lib/underoos/version.rb +1 -1
  75. data/public/images.html +157 -0
  76. data/public/index.html +149 -0
  77. data/public/sherpa.css +306 -0
  78. data/public/styles.html +5374 -0
  79. data/script/javascripts +0 -1
  80. data/sherpa/config.yml +96 -0
  81. data/sherpa/layouts/images.mustache +17 -0
  82. data/sherpa/layouts/layout.mustache +77 -0
  83. data/sherpa/layouts/overview.mustache +19 -0
  84. data/sherpa/layouts/raw.mustache +25 -0
  85. data/sherpa/layouts/section.mustache +67 -0
  86. data/underoos.gemspec +0 -2
  87. data/vendor/assets/javascripts/bootstrap-alert.js +28 -32
  88. data/vendor/assets/javascripts/bootstrap-button.js +29 -33
  89. data/vendor/assets/javascripts/bootstrap-collapse.js +45 -26
  90. data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
  91. data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
  92. data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
  93. data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
  94. data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
  95. data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
  96. data/vendor/assets/javascripts/bootstrap-typeahead.js +24 -10
  97. data/vendor/assets/javascripts/sherpa.coffee +78 -0
  98. metadata +34 -75
  99. data/app/assets/javascripts/styleguide.js +0 -132
  100. data/app/assets/stylesheets/base/_elements.sass +0 -61
  101. data/app/assets/stylesheets/polyfills/_inline-block.sass +0 -8
  102. data/app/assets/stylesheets/themes/_default.sass +0 -119
  103. data/app/controllers/underoos/styleguides_controller.rb +0 -79
  104. data/app/views/shared/_upgrades.html.haml +0 -12
  105. data/app/views/underoos/styleguides/_assets.haml +0 -42
  106. data/app/views/underoos/styleguides/_components.haml +0 -42
  107. data/app/views/underoos/styleguides/_elements.haml +0 -242
  108. data/app/views/underoos/styleguides/_forms.haml +0 -305
  109. data/app/views/underoos/styleguides/_layouts.haml +0 -76
  110. data/app/views/underoos/styleguides/_palettes.haml +0 -18
  111. data/app/views/underoos/styleguides/_resources.haml +0 -27
  112. data/app/views/underoos/styleguides/_tables.haml +0 -124
  113. data/app/views/underoos/styleguides/_typography.haml +0 -284
  114. data/app/views/underoos/styleguides/_utilities.haml +0 -270
  115. data/app/views/underoos/styleguides/components/_accordions.haml +0 -83
  116. data/app/views/underoos/styleguides/components/_breadcrumbs.haml +0 -42
  117. data/app/views/underoos/styleguides/components/_button-groups.haml +0 -162
  118. data/app/views/underoos/styleguides/components/_carets.haml +0 -28
  119. data/app/views/underoos/styleguides/components/_close.haml +0 -20
  120. data/app/views/underoos/styleguides/components/_decals.haml +0 -40
  121. data/app/views/underoos/styleguides/components/_dropdowns.haml +0 -189
  122. data/app/views/underoos/styleguides/components/_media.haml +0 -78
  123. data/app/views/underoos/styleguides/components/_modals.haml +0 -42
  124. data/app/views/underoos/styleguides/components/_nav-lists.haml +0 -52
  125. data/app/views/underoos/styleguides/components/_navbars.haml +0 -144
  126. data/app/views/underoos/styleguides/components/_navs-showcase.haml +0 -27
  127. data/app/views/underoos/styleguides/components/_notifications.haml +0 -169
  128. data/app/views/underoos/styleguides/components/_paddles.haml +0 -68
  129. data/app/views/underoos/styleguides/components/_pagination.haml +0 -64
  130. data/app/views/underoos/styleguides/components/_popovers.haml +0 -33
  131. data/app/views/underoos/styleguides/components/_progress-bars.haml +0 -72
  132. data/app/views/underoos/styleguides/components/_tabs-pills.haml +0 -241
  133. data/app/views/underoos/styleguides/components/_tooltips.haml +0 -37
  134. data/app/views/underoos/styleguides/components/_wells.haml +0 -29
  135. data/app/views/underoos/styleguides/index.html.haml +0 -259
  136. data/app/views/underoos/styleguides/partials/_form-template.haml +0 -171
  137. data/app/views/underoos/styleguides/partials/_table-data.haml +0 -33
  138. data/app/views/underoos/styleguides/partials/_transitions.haml +0 -136
  139. data/config/routes.rb +0 -3
  140. data/vendor/assets/javascripts/bootstrap-scrollspy.js +0 -125
@@ -1,76 +0,0 @@
1
-
2
- #layouts_containers.sg-spy-landing
3
- .sg-subsection
4
- %h3.sg-subheading Containers <span>containers.sass</span>
5
- %p(style="width:67%;") Containers are used to "contain" elements of content within a page or section. All containers inject a <a href="http://nicolasgallagher.com/micro-clearfix-hack/">micro clearfix</a> to clear any floats from interior elements.
6
- .sg-subsection
7
- %table.box.banded.thead-decorate
8
- %thead
9
- %tr
10
- %th Class
11
- %th Usage
12
- %tbody
13
- %tr
14
- %td
15
- %code .container
16
- %td The default container is a fluid width container with a <code>max-width</code> set to the <code>$base_width</code> variable.
17
- %tr
18
- %td
19
- %code .container.outer
20
- %td Adding the <code>.outer</code> class to a <code>container</code> adds left and right padding, which creates a little breathing room in fluid layouts from the browser's edges.
21
- %tr
22
- %td
23
- %code .container.fluid
24
- %td Adding the <code>.fluid</code> class to a <code>container</code> will remove the <code>max-width</code> setting and allow the container to fill the browser window.
25
- %tr
26
- %td
27
- %code .container.fixed
28
- %td Adding the <code>.fixed</code> class to a <code>container</code> will render it using fixed width pixels with no responsive behavior.
29
-
30
- #layouts_queries.sg-spy-landing
31
- .sg-subsection
32
- %h3.sg-subheading Media Queries <span>queries.sass</span>
33
- %p.sg-twothird.pull Some default media queries are put into place and are tuned for some of the components. These should be adjusted based on the application's needs. At the moment, we are not rolling mobile first, but rather override as the viewport becomes smaller.
34
- .sg-subsection
35
- %table.box.banded.thead-decorate
36
- %thead
37
- %tr
38
- %th Media Query
39
- %th Usage
40
- %tbody
41
- %tr
42
- %td
43
- %code @media min-width: 1200px
44
- %td Used for larger screens primarily on desktop and laptop devices.
45
- %tr
46
- %td
47
- %code @media min-width: 890px
48
- %td Smaller desktop, laptop devices, tablets, this number should change based on the type of navigation being rolled
49
- %tr
50
- %td
51
- %code @media max-width: 889px
52
- %td For this specific application, it's where the navigation breaks down and we need to go to the responsive "toggle" style
53
- %tr
54
- %td
55
- %code @media max-width: 768px
56
- %td Typically portrait tablet
57
- %tr
58
- %td
59
- %code @media max-width: 480px
60
- %td Typically landscape phones
61
- %tr
62
- %td
63
- %code @media max-width: 320px
64
- %td Typically portrait phones
65
- .notification.important.fade.in
66
- %p <strong>Note!</strong> Based on the design and needs of the application, you may need more queries put in place or less
67
-
68
- #layouts_upgrades.sg-spy-landing
69
- .sg-subsection
70
- %h3.sg-subheading Upgrade Messaging <span>upgrades.sass</span>
71
- .sg-half.pull
72
- %p Upgrade messaging is enabled if certain conditions are established by <a href="http://www.modernizr.com/">Modernizr</a>. Mainly it's testing for a certain threshold of Internet Explorer and if JavaScript is enabled. After clicking the test button, hover over the <span class="decal danger">!</span> icon to see the upgrade message.
73
- .sg-half.push
74
- .well
75
- %button.btn.primary#upgrade_test(href="#") Test Upgrade Message
76
-
@@ -1,18 +0,0 @@
1
-
2
- - @palettes.each do |palette|
3
- .sg-subsection
4
- %h4=palette[:title]
5
- %table.box.banded.thead-decorate
6
- %thead
7
- %tr
8
- %th Swatch
9
- %th Variable
10
- %th Hex
11
- %tbody
12
- - palette[:colors].each do |color|
13
- %tr
14
- %td
15
- %span.sg-swatch(style="background-color:#{color[:hex]};")
16
- %td <code>#{color[:prop]}</code>
17
- %td <code>#{color[:hex]}</code>
18
-
@@ -1,27 +0,0 @@
1
-
2
- .sg-subsection
3
- %h3.sg-subheading References
4
- .well
5
- %p &raquo; <a href="http://dochub.io/">Dochub search for HTML, CSS, JavaScript, DOM, jQuery</a>
6
- %p &raquo; <a href="http://www.w3schools.com/html5/default.asp">W3 Schools, for tag definitions</a>
7
- %p &raquo; <a href="http://sass-lang.com/">SASS</a>
8
- %p &raquo; <a href="http://compass-style.org/">Compass</a>
9
- %p &raquo; <a href="http://thoughtbot.com/bourbon/">Bourbon</a>
10
- %p &raquo; <a href="http://twitter.github.com/bootstrap/">Twitter's Bootstrap Library</a>
11
- %p &raquo; <a href="http://twitter.github.com/bootstrap/javascript.html">Twitter's Bootstrap JavaScript Library</a>
12
- %p &raquo; <a href="https://github.com/twitter/bootstrap">Twitter's Bootstrap Source Files</a>
13
- %p &raquo; <a href="https://www.pivotaltracker.com/projects/485221">Pivotal Tracker Project</a>
14
-
15
- .sg-subsection
16
- %h3.sg-subheading Tips
17
- .notification.important.fade.in
18
- %p <strong>Pro Tip!</strong> Type the bang symbol (<kbd>!</kbd>) to toggle all example markup between <code>html</code> and <code>haml</code>
19
-
20
- .sg-subsection
21
- %p
22
- %small The Bootstrap library is licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License v2.0</a>
23
- %p
24
- %small The Bootstrap documentation is licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>
25
- %p
26
- %small Anything created by <a href="http://www.modeset.com/">mode set</a> is <a href="https://raw.github.com/modeset/underoos/master/LICENSE">MIT Licensed</a>
27
-
@@ -1,124 +0,0 @@
1
-
2
- .sg-subsection
3
- %h3.sg-subheading Table styles <span>tables.sass</span>
4
- %p Building tables is additive around the classes applied to the top level <code>table</code> element.
5
-
6
- .sg-subsection
7
- .sg-onethird.pull
8
- %h4 Base
9
- %p The base table creates division in data with horizontal dividers.
10
- %pre.prettyprint.html
11
- = preserve do
12
- :escaped
13
- <table>
14
- ...
15
- </table>
16
- %pre.prettyprint.haml.hidden
17
- = preserve do
18
- :escaped
19
- %table
20
- ...
21
- .sg-twothird.push
22
- %table
23
- = render :partial => 'underoos/styleguides/partials/table-data'
24
-
25
- .sg-subsection
26
- .sg-onethird.pull
27
- %h4 Box
28
- %p Adding the <code>.box</code> class renders the table with exterior boundries for all <code>table rows</code>.
29
- %pre.prettyprint.html
30
- = preserve do
31
- :escaped
32
- <table class="box">
33
- ...
34
- </table>
35
- %pre.prettyprint.haml.hidden
36
- = preserve do
37
- :escaped
38
- %table.box
39
- ...
40
- .sg-twothird.push
41
- %table.box
42
- = render :partial => 'underoos/styleguides/partials/table-data'
43
-
44
- .sg-subsection
45
- .sg-onethird.pull
46
- %h4 Vertical border
47
- %p Adding the <code>.vborder</code> class renders the table with vertical divisions for <code>table data</code>.
48
- %pre.prettyprint.html
49
- = preserve do
50
- :escaped
51
- <table class="vborder">
52
- ...
53
- </table>
54
- %pre.prettyprint.haml.hidden
55
- = preserve do
56
- :escaped
57
- %table.vborder
58
- ...
59
- .sg-twothird.push
60
- %table.vborder
61
- = render :partial => 'underoos/styleguides/partials/table-data'
62
-
63
- .sg-subsection
64
- .sg-onethird.pull
65
- %h4 Box &amp; Vertical border
66
- %p Combining the <code>.box</code> class combined with the <code>.vborder</code> class renders the table with full borders around <code>tr</code> and <code>td</code> elements.
67
- %pre.prettyprint.html
68
- = preserve do
69
- :escaped
70
- <table class="box vborder">
71
- ...
72
- </table>
73
- %pre.prettyprint.haml.hidden
74
- = preserve do
75
- :escaped
76
- %table.box.vborder
77
- ...
78
- .sg-twothird.push
79
- %table.box.vborder
80
- = render :partial => 'underoos/styleguides/partials/table-data'
81
-
82
- .sg-subsection
83
- .sg-onethird.pull
84
- %h4 Banded
85
- %p To add coloring to alternate <code>tbody</code> rows, add the class <code>.banded</code>.
86
- %pre.prettyprint.html
87
- = preserve do
88
- :escaped
89
- <table class="banded">
90
- ...
91
- </table>
92
- %pre.prettyprint.haml.hidden
93
- = preserve do
94
- :escaped
95
- %table.banded
96
- ...
97
- .sg-twothird.push
98
- %table.banded
99
- = render :partial => 'underoos/styleguides/partials/table-data'
100
- .notification.important.fade.in
101
- %p <strong>Note!</strong> You can also add <code>.odd</code> or <code>.even</code> to <code>tr</code> instead of relying on <code>:nth-child(<em>odd|even</em>)</code>
102
-
103
-
104
- .sg-subsection
105
- .sg-onethird.pull
106
- %h4 Kitchen sink
107
- %p Combine all of the available classes including <code>thead-decorate</code> and <code>tfoot-decorate</code> to style the <code>thead</code> and <code>tfoot</code> elements.
108
- %pre.prettyprint.html
109
- = preserve do
110
- :escaped
111
- <table class="box vborder banded thead-decorate tfoot-decorate">
112
- ...
113
- </table>
114
- %pre.prettyprint.haml.hidden
115
- = preserve do
116
- :escaped
117
- %table.box.vborder.banded.thead-decorate.tfoot-decorate
118
- ...
119
- .sg-twothird.push
120
- %table.box.vborder.banded.thead-decorate.tfoot-decorate
121
- = render :partial => 'underoos/styleguides/partials/table-data'
122
- .notification.important.fade.in
123
- %p <strong>Note!</strong> Add <code>.ascending</code> or <code>.descending</code> to <code>th &gt; a</code> elements with enclosed <code>span caret</code> for sorting icons
124
-
@@ -1,284 +0,0 @@
1
-
2
- #type_headings.sg-spy-landing
3
- .sg-subsection
4
- %h3.sg-subheading Headings &amp; body copy <span>typography.sass</span>
5
- %h1 Google hearts h1 headings, but only use one per page.
6
- %p=@lorem
7
- %br
8
- %h2 Got sections? Try using h2 headings.
9
- %p=@lorem
10
- %br
11
- %h3 Good things come in threes, like tacos and h3 headings.
12
- %p=@lorem
13
- %br
14
- %h4 There's nothing clever to say about h4 headings.
15
- %p=@lorem
16
- %br
17
- %h5 Every time you use an h5 heading, Google kills a puppy. A tiny little puppy.
18
- %p=@lorem
19
- %br
20
- %h6 An h6 heading? Google just killed a litter of kittens.
21
- %p=@lorem
22
-
23
-
24
- #type_paragraphs.sg-spy-landing
25
- .sg-subsection
26
- %h3.sg-subheading Inline paragraph elements <span>typography.sass</span>
27
- %table.box.vborder.banded.thead-decorate
28
- %thead
29
- %tr
30
- %th Element
31
- %th Usage
32
- %tbody
33
- %tr
34
- %td.html <code>&lt;a&gt;</code>
35
- %td.haml.hidden <code>%a</code>
36
- %td The anchor element defines a <a href="http://www.modeset.com/">hyperlink</a>!
37
- %tr
38
- %td.html <code>&lt;em&gt;</code>
39
- %td.haml.hidden <code>%em</code>
40
- %td The em element is used to <em>emphasize</em> text
41
- %tr
42
- %td.html <code>&lt;strong&gt;</code>
43
- %td.haml.hidden <code>%strong</code>
44
- %td The strong element also <strong>emphasizes</strong> text, typically in <strong>bold</strong>
45
- %tr
46
- %td.html <code>&lt;small&gt;</code>
47
- %td.haml.hidden <code>%small</code>
48
- %td The small element renders text well, <small>smaller</small>
49
- %tr
50
- %td.html <code>&lt;sup&gt;</code>
51
- %td.haml.hidden <code>%sup</code>
52
- %td The superscript element is used to display text higher<sup>&reg;</sup> and smaller<sup>&trade;</sup>
53
- %tr
54
- %td.html <code>&lt;sub&gt;</code>
55
- %td.haml.hidden <code>%sub</code>
56
- %td The sub element is used to display text <sub>lower</sub> and <sub>smaller</sub>
57
- %tr
58
- %td.html <code>&lt;address&gt;</code>
59
- %td.haml.hidden <code>%address</code>
60
- %td For contact information related to the author of the document
61
- %tr
62
- %td.html <code>&lt;time&gt;</code>
63
- %td.haml.hidden <code>%time</code>
64
- %td Use for a <time>24-hour</time> clock or a precise date in the <a href="http://en.wikipedia.org/wiki/Gregorian_calendar">Gregorian calendar</a>
65
- %tr
66
- %td.html <code>&lt;abbr&gt;</code>
67
- %td.haml.hidden <code>%abbr</code>
68
- %td <abbr title="For Placement Only">FPO</abbr>. Describes an abbreviated phrase with the <code>title</code> attribute
69
- %tr
70
- %td.html <code>&lt;dfn&gt;</code>
71
- %td.haml.hidden <code>%dfn</code>
72
- %td <dfn title="This is a definition">DFN</dfn>. Describes the definition of a word or term with the <code>title</code> attribute
73
- %tr
74
- %td.html <code>&lt;ins&gt;</code>
75
- %td.haml.hidden <code>%ins</code>
76
- %td The ins element defines text that has been <ins>inserted into a document</ins>
77
- %tr
78
- %td.html <code>&lt;del&gt;</code>
79
- %td.haml.hidden <code>%del</code>
80
- %td The del tag defines text that has been <del>deleted from a document</del>
81
- %tr
82
- %td.html <code>&lt;mark&gt;</code>
83
- %td.haml.hidden <code>%mark</code>
84
- %td The mark element is used for indicating text as <mark>marked or highlighted for reference</mark> purposes
85
-
86
- .sg-subsection
87
- .sg-half.pull
88
- %h4 Inline elements examples
89
- %br
90
- %p Yeah, well, <em>listen</em>. You ought to <strong>ditch</strong> the <strong><em>two</em></strong> <a href="http://modeset.com/">geeks</a> you're in the <dfn title="motorized vehicle">car</dfn> with now and get <sub>in with</sub> us. But that's alright, <mark>we'll worry about</mark> that <time>later</time>. I will <small>see you</small> there. All right<sup>&trade;</sup>? <del>Man</del>, <ins>I love</ins> those <abbr title="Hotties">redheads</abbr>.
91
- %br
92
- %br
93
- %p <small>* See <a href="http://dochub.io/#html/">dochub.io</a> for other available elements</small>
94
- .sg-half.push
95
- %h4 Address examples
96
- %br
97
- %address
98
- <strong>Mr. Address Tag</strong>
99
- %br
100
- 1600 Pennsylvania Ave NW
101
- %br
102
- Washington D.C. DC 20500
103
- %br
104
- %br
105
- <strong>Email:</strong>
106
- %br
107
- %a(href="#") president@whitehouse.gov
108
-
109
- .sg-subsection
110
- %h3.sg-subheading Blockquotes <span>typography.sass</span>
111
- %blockquote
112
- %p &#8220;Let me tell you what Melba Toast is packin' right here, all right. We got 4:11 Positrac outback, 750 double pumper, Edelbrock intake, bored over 30, 11 to 1 pop-up pistons, turbo-jet 390 horsepower. We're talkin' some f***in' muscle.&#8221;
113
- %small David Wooderson, <cite title="link to source">Dazed &amp; Confused</cite>
114
- .sg-subsection
115
- %pre.prettyprint.html
116
- = preserve do
117
- :escaped
118
- <blockquote>
119
- <p>&#8220;Let me...&#8221;</p>
120
- <small>Author<cite title="resource">source...</cite></small>
121
- </blockquote>
122
- %pre.prettyprint.haml.hidden
123
- = preserve do
124
- :escaped
125
- %blockquote
126
- %p &#8220;Let me...&#8221;
127
- %small
128
- Author,
129
- %cite(title="resource") source...
130
-
131
- #type_rules.sg-spy-landing
132
- .sg-subsection
133
- %h3.sg-subheading Rules <span>typography.sass</span>
134
- %h4 Horizontal
135
- .sg-quarter.pull
136
- %code.html(style="line-height:5em") &lt;hr&gt;
137
- %code.haml.hidden(style="line-height:5em") %hr
138
- .sg-threequarter.push
139
- .well
140
- %hr
141
- .sg-quarter.pull
142
- %code.html(style="line-height:5em") &lt;hr class="dotted"&gt;
143
- %code.haml.hidden(style="line-height:5em") %hr.dotted
144
- .sg-threequarter.push
145
- .well
146
- %hr.dotted
147
- .sg-quarter.pull
148
- %code.html(style="line-height:5em") &lt;hr class="dashed"&gt;
149
- %code.haml.hidden(style="line-height:5em") %hr.dashed
150
- .sg-threequarter.push
151
- .well
152
- %hr.dashed
153
-
154
- #type_lists.sg-spy-landing
155
- .sg-subsection
156
- %h3.sg-subheading Lists <span>typography.sass</span>
157
- .sg-quarter.pull
158
- %p <strong>Unordered list:</strong>
159
- %p.html(style="margin-bottom:0.5em;") <code>&lt;ul&gt;</code>
160
- %p.haml.hidden(style="margin-bottom:0.5em;") <code>%ul</code>
161
- %ul
162
- %li Unordered list
163
- %li Unordered list
164
- %ul
165
- %li Nested unordered list
166
- %li Nested unordered list
167
- %li Nested unordered list
168
- %li Unordered list
169
- %ol
170
- %li Nested ordered list
171
- %li Nested ordered list
172
- %li Nested ordered list
173
- .sg-quarter
174
- %p <strong>Ordered list:</strong>
175
- %p.html(style="margin-bottom:0.5em;") <code>&lt;ol&gt;</code>
176
- %p.haml.hidden(style="margin-bottom:0.5em;") <code>%ol</code>
177
- %ol
178
- %li Ordered list
179
- %li Ordered list
180
- %ol
181
- %li Nested unordered list
182
- %li Nested unordered list
183
- %li Nested unordered list
184
- %li Ordered list
185
- %ul
186
- %li Nested ordered list
187
- %li Nested ordered list
188
- %li Nested ordered list
189
- .sg-quarter
190
- %p <strong>Unstyled list:</strong>
191
- %p.html(style="margin-bottom:0.5em;") <code>&lt;ul class="unstyled"&gt;</code>
192
- %p.haml.hidden(style="margin-bottom:0.5em;") <code>%ul.unstyled</code>
193
- %ul.unstyled
194
- %li Unordered list
195
- %li Unordered list
196
- %ul
197
- %li Nested unordered list
198
- %li Nested unordered list
199
- %li Nested unordered list
200
- %li Unordered list
201
- %ol
202
- %li Nested ordered list
203
- %li Nested ordered list
204
- %li Nested ordered list
205
- .sg-quarter.push
206
- %p <strong>Definition list:</strong>
207
- %p.html(style="margin-bottom:0.5em;") <code>&lt;dl&gt;</code>
208
- %p.haml.hidden(style="margin-bottom:0.5em;") <code>%dl</code>
209
- %dl
210
- %dt Definition Term
211
- %dd Definition Description #{@lorem_tiny}
212
- %dt Definition Term
213
- %dd Definition Description #{@lorem_tiny}
214
- %dt Definition Term
215
- %dd Definition Description #{@lorem_tiny}
216
-
217
- #type_code.sg-spy-landing
218
- .sg-subsection
219
- %h3.sg-subheading Code styles <span>typography.sass</span>
220
- %h4 Inline elements
221
- %table.box.vborder.banded.thead-decorate
222
- %thead
223
- %tr
224
- %th Element
225
- %th Usage
226
- %tbody
227
- %tr
228
- %td.html <code>&lt;code&gt;</code>
229
- %td.haml.hidden <code>%code</code>
230
- %td The <code>code</code> tag is used to show inline code
231
- %tr
232
- %td.html <code>&lt;kbd&gt;</code>
233
- %td.haml.hidden <code>%kbd</code>
234
- %td The <kbd>kbd</kbd> tag defines keyboard text
235
- %tr
236
- %td.html <code>&lt;samp&gt;</code>
237
- %td.haml.hidden <code>%samp</code>
238
- %td The <samp>samp</samp> tag defines sample computer code
239
-
240
- .sg-subsection
241
- .sg-half.pull
242
- %h4 The basic block
243
- %p Use the <code>pre</code> element for multiline code blocks.
244
- %pre.html
245
- = preserve do
246
- :escaped
247
- <!-- basic block -->
248
- <pre>
249
- <section>
250
- <h1>Heading</h1>
251
- <p>Some Copy...</p>
252
- </section>
253
- </pre>
254
- %pre.haml.hidden
255
- = preserve do
256
- :escaped
257
- <!-- basic block -->
258
- %pre
259
- %section
260
- %h1 Heading
261
- %p Some Copy...
262
- .sg-half.push
263
- %h4 Google's Prettify
264
- %p Add the <code>.prettyprint</code> class for basic syntax highlighting.
265
- %pre.prettyprint.html
266
- = preserve do
267
- :escaped
268
- <!-- make it pretty -->
269
- <pre class="prettyprint">
270
- <section>
271
- <h1>Heading</h1>
272
- <p>Some Copy...</p>
273
- </section>
274
- </pre>
275
- %pre.prettyprint.haml.hidden
276
- = preserve do
277
- :escaped
278
- <!-- make it pretty -->
279
- %pre.prettyprint
280
- %section
281
- %h1 Heading
282
- %p Some Copy...
283
-
284
-