partystreusel 1.1.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/.ruby-version +1 -1
  4. data/.travis.yml +5 -2
  5. data/CHANGELOG.md +4 -0
  6. data/Gruntfile.coffee +86 -0
  7. data/README.md +10 -1
  8. data/app/assets/images/icons/icon-sprite.svg +1 -0
  9. data/app/assets/images/icons/png/arrow-left.png +0 -0
  10. data/app/assets/images/icons/png/arrow-right.png +0 -0
  11. data/app/assets/images/icons/png/close.png +0 -0
  12. data/app/assets/images/icons/png/download.png +0 -0
  13. data/app/assets/images/icons/png/folder.png +0 -0
  14. data/app/assets/images/icons/png/menu.png +0 -0
  15. data/app/assets/images/icons/png/search.png +0 -0
  16. data/app/assets/images/icons/source/arrow-left.svg +1 -0
  17. data/app/assets/images/icons/source/arrow-right.svg +1 -0
  18. data/app/assets/images/icons/source/close.svg +1 -0
  19. data/app/assets/images/icons/source/download.svg +1 -0
  20. data/app/assets/images/icons/source/folder.svg +1 -0
  21. data/app/assets/images/icons/source/menu.svg +1 -0
  22. data/app/assets/images/icons/source/search.svg +1 -0
  23. data/app/assets/javascripts/partystreusel/tab.js.coffee +1 -0
  24. data/app/assets/stylesheets/partystreusel.css.sass +1 -0
  25. data/app/controllers/partystreusel/styleguide_controller.rb +14 -0
  26. data/config/routes.rb +6 -0
  27. data/{Gemfile → jasmine/Gemfile} +2 -2
  28. data/{Guardfile → jasmine/Guardfile} +0 -0
  29. data/{config.ru → jasmine/config.ru} +0 -0
  30. data/lib/generators/partystreusel/styleguide_generator.rb +30 -0
  31. data/lib/partystreusel/engine.rb +18 -0
  32. data/lib/partystreusel/helpers/icon_helper.rb +9 -0
  33. data/lib/partystreusel/helpers.rb +1 -0
  34. data/lib/partystreusel/version.rb +1 -1
  35. data/lib/partystreusel.rb +4 -16
  36. data/package.json +22 -0
  37. data/partystreusel.gemspec +0 -1
  38. data/spec/javascripts/partystreusel/readmore_spec.js.coffee +1 -1
  39. data/styleguide/Gemfile +24 -0
  40. data/styleguide/config.rb +110 -0
  41. data/styleguide/source/index.html.haml +8 -0
  42. data/styleguide/source/javascripts/application.js.coffee +30 -0
  43. data/styleguide/source/javascripts/modernizr.js +306 -0
  44. data/styleguide/source/javascripts/views/_initializer.js.coffee +15 -0
  45. data/styleguide/source/layouts/_favicons.html.haml +3 -0
  46. data/styleguide/source/layouts/_icons.html.erb +31 -0
  47. data/styleguide/source/layouts/_typekit.html.haml +4 -0
  48. data/styleguide/source/layouts/application.html.haml +58 -0
  49. data/styleguide/source/partials/_footer.html.haml +0 -0
  50. data/styleguide/source/partials/_google_analytics.html.erb +9 -0
  51. data/styleguide/source/partials/_header.html.haml +3 -0
  52. data/styleguide/source/partials/_offcanvas.html.haml +6 -0
  53. data/styleguide/source/partials/_offcanvas_nav.html.haml +22 -0
  54. data/styleguide/source/styleguide/_styleguide_nav.html.haml +80 -0
  55. data/styleguide/source/styleguide/accordion.html.haml +27 -0
  56. data/styleguide/source/styleguide/breadcrumb.html.haml +18 -0
  57. data/styleguide/source/styleguide/buttons.html.haml +70 -0
  58. data/styleguide/source/styleguide/content.html.haml +20 -0
  59. data/styleguide/source/styleguide/dropdowns.html.haml +30 -0
  60. data/styleguide/source/styleguide/embeds.html.haml +12 -0
  61. data/styleguide/source/styleguide/form.html.haml +71 -0
  62. data/styleguide/source/styleguide/iconbar.html.haml +34 -0
  63. data/styleguide/source/styleguide/icons.html.haml +67 -0
  64. data/styleguide/source/styleguide/image.html.haml +17 -0
  65. data/styleguide/source/styleguide/index.html.haml +6 -0
  66. data/styleguide/source/styleguide/linklist.html.haml +47 -0
  67. data/styleguide/source/styleguide/options.html.haml +28 -0
  68. data/styleguide/source/styleguide/readmore.html.haml +21 -0
  69. data/styleguide/source/styleguide/slider.html.haml +21 -0
  70. data/styleguide/source/styleguide/switches.html.haml +10 -0
  71. data/styleguide/source/styleguide/tab.html.haml +34 -0
  72. data/styleguide/source/styleguide/table.html.haml +51 -0
  73. data/styleguide/source/styleguide/teaser.html.haml +55 -0
  74. data/styleguide/source/styleguide/teaser_assets.html.haml +55 -0
  75. data/styleguide/source/styleguide/teaser_card.html.haml +79 -0
  76. data/styleguide/source/styleguide/teaser_list.html.haml +55 -0
  77. data/styleguide/source/styleguide/topbar.html.haml +72 -0
  78. data/styleguide/source/styleguide/two_column.html.haml +18 -0
  79. data/styleguide/source/styleguide/typo.html.haml +71 -0
  80. data/styleguide/source/stylesheets/fallbacks/grunticon.loader.js +3 -0
  81. data/styleguide/source/stylesheets/partystreusel/_helpers.sass +10 -0
  82. data/styleguide/source/stylesheets/partystreusel/_mixins.sass +14 -0
  83. data/styleguide/source/stylesheets/partystreusel/_settings.sass +129 -0
  84. data/styleguide/source/stylesheets/partystreusel/_styleguide.sass +32 -0
  85. data/styleguide/source/stylesheets/partystreusel/all.css +55 -0
  86. data/styleguide/source/stylesheets/partystreusel/application.css.sass +94 -0
  87. data/styleguide/source/stylesheets/partystreusel/fallbacks/_icons_preview_template.hbs +25 -0
  88. data/styleguide/source/stylesheets/partystreusel/fallbacks/_icons_stylesheet_template.hbs +1 -0
  89. data/styleguide/source/stylesheets/partystreusel/fallbacks/icons.data.png.css +21 -0
  90. data/styleguide/source/stylesheets/partystreusel/fallbacks/icons.data.svg.css +21 -0
  91. data/styleguide/source/stylesheets/partystreusel/fallbacks/icons.fallback.css.scss +21 -0
  92. data/styleguide/source/stylesheets/partystreusel/ie8.css.sass +18 -0
  93. data/styleguide/source/stylesheets/partystreusel/large/_layout.sass +3 -0
  94. data/styleguide/source/stylesheets/partystreusel/large/_states.sass +0 -0
  95. data/styleguide/source/stylesheets/partystreusel/large/_typo.sass +21 -0
  96. data/styleguide/source/stylesheets/partystreusel/large/modules/_accordion.sass +19 -0
  97. data/styleguide/source/stylesheets/partystreusel/large/modules/_breadcrumb.sass +2 -0
  98. data/styleguide/source/stylesheets/partystreusel/large/modules/_content.sass +5 -0
  99. data/styleguide/source/stylesheets/partystreusel/large/modules/_form.sass +2 -0
  100. data/styleguide/source/stylesheets/partystreusel/large/modules/_image.sass +3 -0
  101. data/styleguide/source/stylesheets/partystreusel/large/modules/_links.sass +6 -0
  102. data/styleguide/source/stylesheets/partystreusel/large/modules/_readmore.sass +2 -0
  103. data/styleguide/source/stylesheets/partystreusel/large/modules/_slider.sass +47 -0
  104. data/styleguide/source/stylesheets/partystreusel/large/modules/_tab.sass +8 -0
  105. data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser--assets.sass +12 -0
  106. data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser--card.sass +8 -0
  107. data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser--list.sass +11 -0
  108. data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser.sass +10 -0
  109. data/styleguide/source/stylesheets/partystreusel/large/modules/_topbar.sass +65 -0
  110. data/styleguide/source/stylesheets/partystreusel/large/modules/_two_column.sass +3 -0
  111. data/styleguide/source/stylesheets/partystreusel/medium/_typo.sass +24 -0
  112. data/styleguide/source/stylesheets/partystreusel/medium/modules/_content.sass +2 -0
  113. data/styleguide/source/stylesheets/partystreusel/medium/modules/_form.sass +16 -0
  114. data/styleguide/source/stylesheets/partystreusel/medium/modules/_iconbar.sass +7 -0
  115. data/styleguide/source/stylesheets/partystreusel/medium/modules/_links.sass +5 -0
  116. data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--assets.sass +15 -0
  117. data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--card.sass +7 -0
  118. data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--list.sass +9 -0
  119. data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser.sass +13 -0
  120. data/styleguide/source/stylesheets/partystreusel/normalize.css +375 -0
  121. data/styleguide/source/stylesheets/partystreusel/partystreusel.css.sass +2 -0
  122. data/styleguide/source/stylesheets/partystreusel/small/_layout.sass +18 -0
  123. data/styleguide/source/stylesheets/partystreusel/small/_states.sass +0 -0
  124. data/styleguide/source/stylesheets/partystreusel/small/_typo.sass +81 -0
  125. data/styleguide/source/stylesheets/partystreusel/small/modules/_accordion.sass +68 -0
  126. data/styleguide/source/stylesheets/partystreusel/small/modules/_breadcrumb.sass +36 -0
  127. data/styleguide/source/stylesheets/partystreusel/small/modules/_button.sass +145 -0
  128. data/styleguide/source/stylesheets/partystreusel/small/modules/_content.sass +5 -0
  129. data/styleguide/source/stylesheets/partystreusel/small/modules/_dropdown.sass +33 -0
  130. data/styleguide/source/stylesheets/partystreusel/small/modules/_embeds.sass +24 -0
  131. data/styleguide/source/stylesheets/partystreusel/small/modules/_form.sass +115 -0
  132. data/styleguide/source/stylesheets/partystreusel/small/modules/_grid.sass +5 -0
  133. data/styleguide/source/stylesheets/partystreusel/small/modules/_iconbar.sass +41 -0
  134. data/styleguide/source/stylesheets/partystreusel/small/modules/_icons.sass +23 -0
  135. data/styleguide/source/stylesheets/partystreusel/small/modules/_image.sass +18 -0
  136. data/styleguide/source/stylesheets/partystreusel/small/modules/_links.sass +49 -0
  137. data/styleguide/source/stylesheets/partystreusel/small/modules/_offcanvas.sass +109 -0
  138. data/styleguide/source/stylesheets/partystreusel/small/modules/_offcanvas_nav.sass +35 -0
  139. data/styleguide/source/stylesheets/partystreusel/small/modules/_options.sass +117 -0
  140. data/styleguide/source/stylesheets/partystreusel/small/modules/_readmore.sass +36 -0
  141. data/styleguide/source/stylesheets/partystreusel/small/modules/_slider.sass +49 -0
  142. data/styleguide/source/stylesheets/partystreusel/small/modules/_switch.sass +70 -0
  143. data/styleguide/source/stylesheets/partystreusel/small/modules/_tab.sass +39 -0
  144. data/styleguide/source/stylesheets/partystreusel/small/modules/_table.sass +43 -0
  145. data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser--assets.sass +57 -0
  146. data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser--card.sass +18 -0
  147. data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser--list.sass +20 -0
  148. data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser.sass +50 -0
  149. data/styleguide/source/stylesheets/partystreusel/small/modules/_topbar.sass +80 -0
  150. data/styleguide/source/stylesheets/partystreusel/small/modules/_two_column.sass +2 -0
  151. data/styleguide/source/stylesheets/partystreusel/xlarge/modules/_teaser_assets.sass +9 -0
  152. data/styleguide/source/stylesheets/partystreusel/xlarge/modules/_teaser_card.sass +8 -0
  153. metadata +148 -38
@@ -0,0 +1,20 @@
1
+ %article
2
+ %header
3
+ %h1 CONTENT
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %pre A section with class .sc-content (max-width 780px). A paragraph with class .sc-lead
7
+ %section.sc-content
8
+ %h1 Lorem ipsum dolor sit amet
9
+ %p.sc-lead
10
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
11
+ %p
12
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
13
+ %h2 Lorem ipsum dolor sit amet
14
+ %p
15
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
16
+ %hr
17
+ %section.sc-content
18
+ %h2 Lorem ipsum dolor sit amet
19
+ %p
20
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
@@ -0,0 +1,30 @@
1
+ %article
2
+ %header
3
+ %h1 Buttons
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %section
7
+ .dropdown
8
+ %button.btn.js-dropdown__toggler{ href: '#', id: 'dropdownMenu1'} Dropdown Button
9
+ %ul.dropdown__menu{ role: 'menu', :'aria-labelledby' => 'dropdownMenu1'}
10
+ %li{ role: 'presentation'}
11
+ %a{ role: 'menuitem', href: '#'} Action
12
+ %li{ role: 'presentation'}
13
+ %a{ role: 'menuitem', href: '#'} Another action
14
+ %li{ role: 'presentation'}
15
+ %a{ role: 'menuitem', href: '#'} Something else here
16
+ %li{ role: 'presentation'}
17
+ %a{ role: 'menuitem', href: '#'} Separated link
18
+
19
+ %section
20
+ .dropdown.dropdown--open
21
+ %button.btn.btn--active.js-dropdown__toggler{href: '#', id: 'dropdownMenu1'} Dropdown Button
22
+ %ul.dropdown__menu{ role: 'menu', :'aria-labelledby' => 'dropdownMenu1'}
23
+ %li{ role: 'presentation'}
24
+ %a{ role: 'menuitem', href: '#'} Action
25
+ %li{ role: 'presentation'}
26
+ %a{ role: 'menuitem', href: '#'} Another action
27
+ %li{ role: 'presentation'}
28
+ %a{ role: 'menuitem', href: '#'} Something else here
29
+ %li{ role: 'presentation'}
30
+ %a{ role: 'menuitem', href: '#'} Separated link
@@ -0,0 +1,12 @@
1
+ %article
2
+ %header
3
+ %h1 Embeds
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %pre .embeds class and .embeds--widescreen
7
+ .embeds.embeds--widescreen
8
+ %iframe{allowfullscreen: "", frameborder: "0", height: "720", mozallowfullscreen: "", src: "https://player.vimeo.com/video/27246366?color=ffffff", webkitallowfullscreen: "", width: "1280"}
9
+
10
+ %hr
11
+ .embeds.embeds--widescreen
12
+ %iframe{allowfullscreen: "", frameborder: "0", height: "720", src: "https://www.youtube.com/embed/A3PDXmYoF5U", width: "1280"}
@@ -0,0 +1,71 @@
1
+ %article
2
+ %header
3
+ %h1 BASE FORM STYLES
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %section.sc-content
7
+ %form
8
+ %p Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
9
+ %p
10
+ %label{ for: 'input1'} Label 1
11
+ %input{ id: 'input1', type: 'text', name: 'input1', placeholder: 'input1 placeholder'}
12
+ %p
13
+ %label{ for: 'input2'} Label 2
14
+ %input{ id: 'input2', type: 'text', name: 'input2', placeholder: 'input2 placeholder', value: 'Input ausgefüllt'}
15
+ %p.form--field-error
16
+ %label{ for: 'input2'} Label Error Invalid entry
17
+ %input{ id: 'input2', type: 'text', name: 'input2', placeholder: 'input2 placeholder', value: 'Input ausgefüllt'}
18
+ %hr.sc-hr-alternate
19
+ %section.sc-content
20
+ %form
21
+ %p.form--horizontal
22
+ %label{ for: 'input1'} Label 1
23
+ %input{ id: 'input1', type: 'text', name: 'input1', placeholder: 'input1 placeholder'}
24
+ %p.form--horizontal
25
+ %label{ for: 'select1'} Label
26
+ %select{ id: 'select1' }
27
+ %option{ value: "husker"} Husker
28
+ %option{ value: "starbuck"} Starbuck
29
+ %option{ value: "hotdog"} Hot Dog
30
+ %option{ value: "apollo"} Apollo
31
+ %hr.sc-hr-alternate
32
+ %section.sc-content
33
+ %form
34
+ %fieldset
35
+ %legend Fieldset Legend Titel 1
36
+ %p
37
+ %label{ for: 'input1'} Label 1
38
+ %input{ id: 'input1', type: 'text', name: 'input1', placeholder: 'input1 placeholder'}
39
+ %p
40
+ %label{ for: 'input2'} Label 2
41
+ %input{ id: 'input2', type: 'text', name: 'input2', placeholder: 'input2 placeholder', value: 'Input ausgefüllt'}
42
+ %fieldset
43
+ %legend Fieldset Legend Titel 2
44
+ %p
45
+ %label{ for: 'input1'} Label 1
46
+ %input{ id: 'input1', type: 'text', name: 'input1', placeholder: 'input1 placeholder'}
47
+ %p
48
+ %label{ for: 'input2'} Label 2
49
+ %input{ id: 'input2', type: 'text', name: 'input2', placeholder: 'input2 placeholder', value: 'Input ausgefüllt'}
50
+ %fieldset
51
+ %legend Inputs with Buttons
52
+ %p
53
+ %label{ for: 'input1'} Label 1
54
+ %span.input-addon
55
+ %input.input-addon__field{ id: 'input1', type: 'text', name: 'input1', placeholder: 'input1 placeholder'}
56
+ %button.btn.input-addon__item{href: '#'} Search
57
+
58
+ %p.input-overlay
59
+ %label{ for: 'input2'} Label 2
60
+ %input.input-overlay__input{ id: 'input2', type: 'search', name: 'input2', placeholder: 'input2 placeholder'}
61
+ %button.btn.btn--icon.input-overlay__button{href: '#'}
62
+ - streusel_icon( 'search')
63
+ %fieldset
64
+ %legend Select
65
+ %p
66
+ %label{ for: 'select1'} Label
67
+ %select{ id: 'select1' }
68
+ %option{ value: "husker"} Husker
69
+ %option{ value: "starbuck"} Starbuck
70
+ %option{ value: "hotdog"} Hot Dog
71
+ %option{ value: "apollo"} Apollo
@@ -0,0 +1,34 @@
1
+ %article
2
+ %header
3
+ %h1 IconBar
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %nav.iconbar{role: 'navigation'}
7
+ %ul.iconbar__list
8
+ %li.iconbar__item
9
+ %a{ href: '#'}
10
+ - streusel_icon( 'folder')
11
+ Photo
12
+ %li.iconbar__item.iconbar__item--active
13
+ %a{ href: '#'}
14
+ - streusel_icon( 'folder')
15
+ TechSpec
16
+ %li.iconbar__item
17
+ %a{ href: '#'}
18
+ - streusel_icon( 'folder')
19
+ Articles
20
+ %li.iconbar__item
21
+ %a{ href: '#'}
22
+ - streusel_icon( 'folder')
23
+ Favorites
24
+ %li.iconbar__item
25
+ %a{ href: '#'}
26
+ - streusel_icon( 'folder')
27
+ Links
28
+ %li.iconbar__item
29
+ %a{ href: '#'}
30
+ - streusel_icon( 'folder')
31
+ Documents
32
+
33
+ %hr.sc-hr-alternate
34
+
@@ -0,0 +1,67 @@
1
+ %article
2
+ %header
3
+ %h1 Icons
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %section.sc-content
7
+ %p.sc-lead
8
+ %strong This file is generated by Grunt.JS task. Don't change this file!
9
+ %br
10
+ %br
11
+ Use the following helper to include a icon:
12
+ %pre - streusel_icon( 'NAME' )
13
+ %p.sc-lead
14
+ Use the modifier classes "icon--m" & "icon--l" for different sizes:
15
+ %pre - streusel_icon( 'NAME', 'icon--m')
16
+
17
+ %hr
18
+
19
+ %div
20
+ %pre
21
+ %code arrow-left
22
+ - streusel_icon( 'arrow-left')
23
+ - streusel_icon( 'arrow-left', 'icon--m')
24
+ - streusel_icon( 'arrow-left', 'icon--l')
25
+ %hr
26
+ %div
27
+ %pre
28
+ %code arrow-right
29
+ - streusel_icon( 'arrow-right')
30
+ - streusel_icon( 'arrow-right', 'icon--m')
31
+ - streusel_icon( 'arrow-right', 'icon--l')
32
+ %hr
33
+ %div
34
+ %pre
35
+ %code close
36
+ - streusel_icon( 'close')
37
+ - streusel_icon( 'close', 'icon--m')
38
+ - streusel_icon( 'close', 'icon--l')
39
+ %hr
40
+ %div
41
+ %pre
42
+ %code download
43
+ - streusel_icon( 'download')
44
+ - streusel_icon( 'download', 'icon--m')
45
+ - streusel_icon( 'download', 'icon--l')
46
+ %hr
47
+ %div
48
+ %pre
49
+ %code folder
50
+ - streusel_icon( 'folder')
51
+ - streusel_icon( 'folder', 'icon--m')
52
+ - streusel_icon( 'folder', 'icon--l')
53
+ %hr
54
+ %div
55
+ %pre
56
+ %code menu
57
+ - streusel_icon( 'menu')
58
+ - streusel_icon( 'menu', 'icon--m')
59
+ - streusel_icon( 'menu', 'icon--l')
60
+ %hr
61
+ %div
62
+ %pre
63
+ %code search
64
+ - streusel_icon( 'search')
65
+ - streusel_icon( 'search', 'icon--m')
66
+ - streusel_icon( 'search', 'icon--l')
67
+ %hr
@@ -0,0 +1,17 @@
1
+ %article
2
+ %header
3
+ %h1 CONTENT
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+
7
+ %pre image without caption = img tag
8
+ .image
9
+ %img{ src: 'http://placevaughnandfranco.it/img/1200/800'}
10
+
11
+ %hr
12
+
13
+ %pre image with caption = figure with figcaption
14
+ %figure.image
15
+ %img{ src: 'http://placevaughnandfranco.it/img/1200/800'}
16
+ %figcaption.image__caption
17
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore
@@ -0,0 +1,6 @@
1
+ %article
2
+ %header
3
+ %h1 STYLEGUIDE PAGES
4
+ %hr
5
+ %section.styleguide-nav
6
+ = render 'partials/offcanvas_nav'
@@ -0,0 +1,47 @@
1
+ %article
2
+ %header
3
+ %h1 LINKLIST
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+
7
+ .links
8
+ %ul.links__list
9
+ %li.links__item
10
+ %a.links__link{ href: '#'}
11
+ .btn.btn--icon
12
+ - streusel_icon( 'download')
13
+ .links__text
14
+ Media Pressrelease
15
+ %small 132KB / jpg - free to use
16
+
17
+ %li.links__item
18
+ %a.links__link{ href: '#'}
19
+ .btn.btn--icon
20
+ - streusel_icon( 'download')
21
+ .links__text
22
+ Media Pressrelease
23
+ %small 132KB / jpg - free to use
24
+
25
+ %li.links__item
26
+ %a.links__link{ href: '#'}
27
+ .btn.btn--icon
28
+ - streusel_icon( 'download')
29
+ .links__text
30
+ Media Pressrelease
31
+ %small 132KB / jpg - free to use
32
+
33
+ %li.links__item
34
+ %a.links__link{ href: '#'}
35
+ .btn.btn--icon
36
+ - streusel_icon( 'download')
37
+ .links__text
38
+ Media Pressrelease
39
+ %small 132KB / jpg - free to use
40
+
41
+ %li.links__item
42
+ %a.links__link{ href: '#'}
43
+ .btn.btn--icon
44
+ - streusel_icon( 'download')
45
+ .links__text
46
+ Media Pressrelease
47
+ %small 132KB / jpg - free to use
@@ -0,0 +1,28 @@
1
+ %article
2
+ %header
3
+ %h1 Options (radio/checkbox)
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %section.sc-content
7
+ %form
8
+ %input{ type: 'radio', name: 'dummy', id: 'radio1' }
9
+ %label{ for: 'radio1' }
10
+ %i
11
+ Label for Radio 1
12
+ %input{ type: 'radio', name: 'dummy', id: 'radio2' }
13
+ %label{ for: 'radio2' }
14
+ %i
15
+ Label for Radio 2
16
+ %hr.sc-hr-alternate
17
+ %section.sc-content
18
+ %form
19
+ %input{ type: 'checkbox', id: 'checkbox1' }
20
+ %label{ for: 'checkbox1' }
21
+ %i
22
+ Label for Checkbox 1
23
+
24
+ %input{ type: 'checkbox', id: 'checkbox2' }
25
+ %label{ for: 'checkbox2' }
26
+ %i
27
+ Label for Checkbox 2
28
+
@@ -0,0 +1,21 @@
1
+ %article
2
+ %header
3
+ %h1 CONTENT
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %pre sc-content with readmore
7
+ %section.sc-content
8
+ %h2 Lorem ipsum dolor sit amet
9
+ %p
10
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
11
+ %div.js-readmore.readmore
12
+ %p Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
13
+
14
+ %hr
15
+ %pre sc-content with readmore open
16
+ %section.sc-content
17
+ %h2 Lorem ipsum dolor sit amet
18
+ %p
19
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
20
+ %div.js-readmore.readmore.readmore--opened
21
+ %p Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
@@ -0,0 +1,21 @@
1
+ %article
2
+ %header
3
+ %h1 Slider
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %section.slider.js-slider
7
+ %ul.slider__list
8
+ %li.slider__item
9
+ %img{ src: 'http://placehold.it/1200x675&text=slide1', width: '1200', height: '675'}
10
+ %li.slider__item
11
+ %img{ src: 'http://placehold.it/1200x675&text=slide2', width: '1200', height: '675'}
12
+ %li.slider__item
13
+ %img{ src: 'http://placehold.it/1200x675&text=slide3', width: '1200', height: '675'}
14
+
15
+ .slider__controls
16
+ .slider__control-prev
17
+ - streusel_icon( 'arrow-left')
18
+ .slider__control-next
19
+ - streusel_icon( 'arrow-right')
20
+
21
+ .slider__nav
@@ -0,0 +1,10 @@
1
+ %article
2
+ %header
3
+ %h1 Switches
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %section
7
+ .switch
8
+ %input{ type: 'checkbox', name: "Switch 1", id: 'switch1'}
9
+ %label{for: 'switch1'}
10
+ Published
@@ -0,0 +1,34 @@
1
+ %article
2
+ %header
3
+ %h1 Tab
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %section
7
+ .tab.js-tab
8
+ %ul.tab__nav{ role: 'tablist'}
9
+ %li.tab__nav-item{ role: 'presentation' }
10
+ %a{ href: '#panel1', role: 'tab'} Tab titel 1
11
+ %li.tab__nav-item{ role: 'presentation' }
12
+ %a{ href: '#panel2', role: 'tab'} Tab second 2
13
+ %li.tab__nav-item.tab__nav-item--active{ role: 'presentation' }
14
+ %a{ href: '#panel3', role: 'tab'} Tab active 3
15
+ %li.tab__nav-item{ role: 'presentation' }
16
+ %a{ href: '#panel4', role: 'tab'} Tab long title 4
17
+ %li.tab__nav-item{ role: 'presentation' }
18
+ %a{ href: '#panel5', role: 'tab'} Tab long title 5
19
+
20
+ .tab__panels
21
+ %section.tab__panel{ role: 'tabpanel', id: 'panel1'}
22
+ %section.sc-content
23
+ %p Content 1! Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
24
+ %section.tab__panel{ role: 'tabpanel', id: 'panel2'}
25
+ %section.sc-content
26
+ %p Content 2! Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
27
+ %section.tab__panel.tab__panel--active{ role: 'tabpanel', id: 'panel3'}
28
+ %section.sc-content
29
+ %p Content 3! Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
30
+ %section.tab__panel{ role: 'tabpanel', id: 'panel4'}
31
+ %section.sc-content
32
+ %p Content 4! Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
33
+ %section.tab__panel{ role: 'tabpanel', id: 'panel5'}
34
+ %p Content 5! Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
@@ -0,0 +1,51 @@
1
+ %article
2
+ %header
3
+ %h1 Tables
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ .sc-table
7
+ %table
8
+ %thead
9
+ %tr
10
+ %th A
11
+ %th B
12
+ %th C
13
+ %th D
14
+ %th E
15
+ %tbody
16
+ %tr
17
+ %td Row 1 with long copy
18
+ %td Row 1
19
+ %td Row 1 with long
20
+ %td Row 1
21
+ %td Row 1
22
+ %tr
23
+ %td Row 2 with long copy
24
+ %td Row 2
25
+ %td Row 2 with long
26
+ %td Row 2
27
+ %td Row 2
28
+ %tr
29
+ %td Row 3 with long copy
30
+ %td Row 3
31
+ %td Row 3 with long
32
+ %td Row 3
33
+ %td Row 3
34
+ %tr
35
+ %td Row 4 with long copy
36
+ %td Row 4
37
+ %td Row 4 with long
38
+ %td Row 4
39
+ %td Row 4
40
+ %tr
41
+ %td Row 5 with long copy
42
+ %td Row 5
43
+ %td Row 5 with long
44
+ %td Row 5
45
+ %td Row 5
46
+ %tr
47
+ %td Row 6 with long copy
48
+ %td Row 6
49
+ %td Row 6 with long
50
+ %td Row 6
51
+ %td Row 6
@@ -0,0 +1,55 @@
1
+ %article
2
+ %header
3
+ %h1 Teaser
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %aside.teaser
7
+ .teaser__container
8
+ %section.teaser__item
9
+ %a.teaser__link{ href: '#'}
10
+ %img.teaser__img{ src: 'http://placehold.it/370x210&text=teaser'}
11
+ .teaser__content
12
+ %p.teaser__subtitle Subtitel
13
+ %h3 Aktuelles
14
+ %p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
15
+ %button.btn.btn--tertiary.teaser__btn lesen Sie mehr darüber
16
+ %section.teaser__item
17
+ %a.teaser__link{ href: '#'}
18
+ %img.teaser__img{ src: 'http://placehold.it/370x210&text=teaser'}
19
+ .teaser__content
20
+ %p.teaser__subtitle Subtitel
21
+ %h3 Aktuelles
22
+ %p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
23
+ %button.btn.btn--tertiary.teaser__btn lesen Sie mehr darüber
24
+ %section.teaser__item
25
+ %a.teaser__link{ href: '#'}
26
+ %img.teaser__img{ src: 'http://placehold.it/370x210&text=teaser'}
27
+ .teaser__content
28
+ %p.teaser__subtitle Subtitel
29
+ %h3 Aktuelles
30
+ %p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
31
+ %button.btn.btn--tertiary.teaser__btn lesen Sie mehr darüber
32
+ %section.teaser__item
33
+ %a.teaser__link{ href: '#'}
34
+ %img.teaser__img{ src: 'http://placehold.it/370x210&text=teaser'}
35
+ .teaser__content
36
+ %p.teaser__subtitle Subtitel
37
+ %h3 Aktuelles
38
+ %p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
39
+ %button.btn.btn--tertiary.teaser__btn lesen Sie mehr darüber
40
+ %section.teaser__item
41
+ %a.teaser__link{ href: '#'}
42
+ %img.teaser__img{ src: 'http://placehold.it/370x210&text=teaser'}
43
+ .teaser__content
44
+ %p.teaser__subtitle Subtitel
45
+ %h3 Aktuelles
46
+ %p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
47
+ %button.btn.btn--tertiary.teaser__btn lesen Sie mehr darüber
48
+ %section.teaser__item
49
+ %a.teaser__link{ href: '#'}
50
+ %img.teaser__img{ src: 'http://placehold.it/370x210&text=teaser'}
51
+ .teaser__content
52
+ %p.teaser__subtitle Subtitel
53
+ %h3 Aktuelles
54
+ %p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
55
+ %button.btn.btn--tertiary.teaser__btn lesen Sie mehr darüber
@@ -0,0 +1,55 @@
1
+ %article
2
+ %header
3
+ %h1 Teaser Assets
4
+ %a{ href: '/styleguide/' } Back to Index
5
+ %hr
6
+ %aside.teaser.teaser--assets
7
+ .teaser__container
8
+ %section.teaser__item
9
+ %a.teaser__link{ href: '#'}
10
+ .teaser__img
11
+ %img{ src: 'http://placehold.it/200x200&text=teaser'}
12
+ %p.teaser__content Bildbeschreibung oder Legende
13
+ %button.btn.btn--tertiary.teaser__btn
14
+ Download
15
+ - streusel_icon( 'download')
16
+ %section.teaser__item
17
+ %a.teaser__link{ href: '#'}
18
+ .teaser__img
19
+ %img{ src: 'http://placehold.it/200x200&text=teaser'}
20
+ %p.teaser__content Bildbeschreibung oder Legende
21
+ %button.btn.btn--tertiary.teaser__btn
22
+ Download
23
+ - streusel_icon( 'download')
24
+ %section.teaser__item
25
+ %a.teaser__link{ href: '#'}
26
+ .teaser__img
27
+ %img{ src: 'http://placehold.it/200x200&text=teaser'}
28
+ %p.teaser__content Bildbeschreibung oder Legende
29
+ %button.btn.btn--tertiary.teaser__btn
30
+ Download
31
+ - streusel_icon( 'download')
32
+ %section.teaser__item
33
+ %a.teaser__link{ href: '#'}
34
+ .teaser__img
35
+ %img{ src: 'http://placehold.it/200x200&text=teaser'}
36
+ %p.teaser__content Bildbeschreibung oder Legende
37
+ %button.btn.btn--tertiary.teaser__btn
38
+ Download
39
+ - streusel_icon( 'download')
40
+ %section.teaser__item
41
+ %a.teaser__link{ href: '#'}
42
+ .teaser__img
43
+ %img{ src: 'http://placehold.it/200x200&text=teaser'}
44
+ %p.teaser__content Bildbeschreibung oder Legende
45
+ %button.btn.btn--tertiary.teaser__btn
46
+ Download
47
+ - streusel_icon( 'download')
48
+ %section.teaser__item
49
+ %a.teaser__link{ href: '#'}
50
+ .teaser__img
51
+ %img{ src: 'http://placehold.it/200x200&text=teaser'}
52
+ %p.teaser__content Bildbeschreibung oder Legende
53
+ %button.btn.btn--tertiary.teaser__btn
54
+ Download
55
+ - streusel_icon( 'download')