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,21 @@
1
+ .icon--arrow-left { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAHZJREFUSInt0LENglAUheFP3cMRGEVlEUcwIItRO4iNoSbYYEMCdkDeKyDvT2538p+TS2L3HBZk78jQ4YEm5JAK/SC/hBRP5d8Y8mdMeTmRX2PKb6HlxSBfe38cQ6+bS2F8UZ5Ktl1ympmr8cEbZ7zQLilK7JgfSnwyybQ2030AAAAASUVORK5CYII='); }
2
+
3
+
4
+ .icon--arrow-right { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAHFJREFUSIljYBgFwx4wk6BWlIGBoYeBgSGQgYFBjoGB4RQtHBTEwMDwm4GB4T8DA0MDLSwYXpYE08OSEHIs+U8BxrCEiXzH43QcVQFyENUNWcNraWl4zYAbzkiC4aIMkLBmZWBguMDAwDCDVNeNgmEKAEFqMEcKBBdeAAAAAElFTkSuQmCC'); }
5
+
6
+
7
+ .icon--close { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAIlJREFUSIntlMENgCAQBCe2gJQh9p+INSgN6UcSYgxwci9l38fMBi5Az28zAwtgKmYt4AEnEXjgALaCxALhml0kAgPs18EdGAvwUpHHjBlJMzwnUYOnkggM2vCYtLUIPmg1aMn9zjcUr+jpQWtW+DU8JrfCzXAVyVqAp5JYxEsEDvlnN0kEPR/KCbfDPoUgNcDqAAAAAElFTkSuQmCC'); }
8
+
9
+
10
+ .icon--download { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAJZJREFUSIntlVsKgCAQRY/RDlpXRCuq9tdHy+ixCPvogQjqSEwf0YUBR/QeHXzAL6FaYAFsIEagegKImV8xPYGkzHNjBRpNgD2rgnEAGjKFkvGtMmOs8XLRrtV38H3AwFF7v/44/YMEFDvPfWRen5grAoQgKfMsgA+RmFvIuwddoB3Va0/FpmC+uEmD7E+QxgzUCov+onZMPYrqvxLgPQAAAABJRU5ErkJggg=='); }
11
+
12
+
13
+ .icon--folder { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAJdJREFUSInt1TEOAUEUxvHfChWtTvYmonICp1G4CZ0r6B1B5wRaKolQUEnWZljLbEQyX/KS92a+vP/MK2ZI+rWyQt7DAkO0At4NJjh+CpvhWhFrdOs0bRfy/A3/CDucXnguWGJa3pirvkGdGBOedSzlTQOypgESIAH+EHCI3HtfXhhgK847tEKHx//gXvd9N7pz6PRJT3UDtv87FXT1figAAAAASUVORK5CYII='); }
14
+
15
+
16
+ .icon--menu { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAADBJREFUSIljYBgFo2AUDHXAiEfuPy3tYKKS4aNgFGCA0VQ9CoYfGE3Vo2AUjIKhBwCr2gMKDalJUgAAAABJRU5ErkJggg=='); }
17
+
18
+
19
+ .icon--search { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAOxJREFUSIntkz0OgkAQhb9APIbIISgslcRTeBO4ioWlhYYrmHgR7IjRTjv/ip0NhCjjgjbqSzaTzb55X1hm4a8OmgAZsAMuUldA3DW4B8yBW8Oaia+VbPgRSIAA8ICB7E8ViLMmlfDoiSeqQMaugEwaE8WXim/pCthJY6D4QvEVroCLNHqKzxffWQusBx2k9pU+e753BWykTpU+e77WAHXFmE8/oU/RFRi6AsDMt4WkmB/qS00pR3TeJhzMC7WQR+tK+RhzAbfSGDPnBWZaCmBBeS35OyBNCn8Dor3YV5QDI2D7hqxGhXzoir5cd56DUN0dOWjRAAAAAElFTkSuQmCC'); }
20
+
21
+
@@ -0,0 +1,21 @@
1
+ .icon--arrow-left { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M20%2011H7.8l5.6-5.6h-2.8L4%2012l6.6%206.6h2.8L7.8%2013H20v-2z%22%2F%3E%3C%2Fsvg%3E'); }
2
+
3
+
4
+ .icon--arrow-right { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M4%2013h12.2l-5.6%205.6h2.8L20%2012l-6.6-6.6h-2.8l5.6%205.6H4v2z%22%2F%3E%3C%2Fsvg%3E'); }
5
+
6
+
7
+ .icon--close { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M19%206.4L17.6%205%2012%2010.6%206.4%205%205%206.4l5.6%205.6L5%2017.6%206.4%2019l5.6-5.6%205.6%205.6%201.4-1.4-5.6-5.6z%22%2F%3E%3C%2Fsvg%3E'); }
8
+
9
+
10
+ .icon--download { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21%205h-9.6L9.7%203.3C9.5%203.1%209.3%203%209%203H3c-1.1%200-2%20.9-2%202v14c0%201.1.9%202%202%202h18c1.1%200%202-.9%202-2V7c0-1.1-.9-2-2-2zm-9%2013l-5-5h3V9h4v4h3l-5%205z%22%2F%3E%3C%2Fsvg%3E'); }
11
+
12
+
13
+ .icon--folder { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M10.4%204.1h-6c-1.1%200-2%20.9-2%202v12c0%201.1.9%202%202%202h16c1.1%200%202-.9%202-2v-10c0-1.1-.9-2-2-2h-8l-2-2z%22%2F%3E%3C%2Fsvg%3E'); }
14
+
15
+
16
+ .icon--menu { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20d%3D%22M6%208h18v2H6zm0%206h18v2H6zm0%206h18v2H6z%22%2F%3E%3C%2Fsvg%3E'); }
17
+
18
+
19
+ .icon--search { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M15.5%2014h-.8l-.3-.3c1-1.1%201.6-2.6%201.6-4.2C16%205.9%2013.1%203%209.5%203S3%205.9%203%209.5%205.9%2016%209.5%2016c1.6%200%203.1-.6%204.2-1.6l.3.3v.8l5%205%201.5-1.5-5-5zm-6%200C7%2014%205%2012%205%209.5S7%205%209.5%205%2014%207%2014%209.5%2012%2014%209.5%2014z%22%2F%3E%3C%2Fsvg%3E'); }
20
+
21
+
@@ -0,0 +1,21 @@
1
+ .icon--arrow-left { background-image: image-url('icons/png/arrow-left.png'); }
2
+
3
+
4
+ .icon--arrow-right { background-image: image-url('icons/png/arrow-right.png'); }
5
+
6
+
7
+ .icon--close { background-image: image-url('icons/png/close.png'); }
8
+
9
+
10
+ .icon--download { background-image: image-url('icons/png/download.png'); }
11
+
12
+
13
+ .icon--folder { background-image: image-url('icons/png/folder.png'); }
14
+
15
+
16
+ .icon--menu { background-image: image-url('icons/png/menu.png'); }
17
+
18
+
19
+ .icon--search { background-image: image-url('icons/png/search.png'); }
20
+
21
+
@@ -0,0 +1,18 @@
1
+ // Normalize CSS
2
+ #= require normalize-rails/normalize
3
+
4
+ // Bourbon imports
5
+ @import bourbon
6
+
7
+ // Project settings
8
+ @import neat-helpers
9
+ @import settings
10
+
11
+ // Bourbon Neat imports
12
+ @import neat
13
+
14
+ @import medium/typo
15
+
16
+ @import large/typo
17
+ @import large/layout
18
+ @import large/states
@@ -0,0 +1,3 @@
1
+ article,
2
+ .page__header
3
+ padding: 0 rem(24)
@@ -0,0 +1,21 @@
1
+ h1
2
+ font-size: $h1-font-size * 2
3
+ margin-bottom: rem(13)
4
+
5
+ h3
6
+ font-size: rem(24)
7
+
8
+ %h4-styles-l,
9
+ h4, h5, h6
10
+ font-size: $h4-font-size * 1.25
11
+ line-height: 1.2
12
+
13
+ p
14
+ font-size: $paragraph-font-size * 1.25
15
+
16
+ hr
17
+ margin-top: rem(24)
18
+ margin-bottom: rem(34)
19
+
20
+ blockquote
21
+ font-size: rem(20)
@@ -0,0 +1,19 @@
1
+ .accordion__title
2
+ min-height: rem(70)
3
+ padding-top: rem(24)
4
+ font-size: rem(20)
5
+ line-height: 1.2
6
+
7
+ &:before
8
+ top: rem(15)
9
+
10
+ &:after
11
+ top: rem(33)
12
+
13
+ // ----------------------------------------------------------
14
+ // STATES
15
+ // ----------------------------------------------------------
16
+ .accordion__item--open
17
+ .accordion__title
18
+ &:after
19
+ top: rem(32)
@@ -0,0 +1,2 @@
1
+ .breadcrumb
2
+ margin-bottom: rem(24)
@@ -0,0 +1,5 @@
1
+ .sc-content
2
+ max-width: rem(780)
3
+
4
+ .sc-lead
5
+ font-size: rem(24)
@@ -0,0 +1,2 @@
1
+ legend
2
+ @extend %h4-styles-l
@@ -0,0 +1,3 @@
1
+ .image
2
+ img
3
+ margin-bottom: rem(24)
@@ -0,0 +1,6 @@
1
+ .links__item
2
+ +span-columns(4)
3
+ +omega(3n)
4
+
5
+ &:nth-child(2n)
6
+ margin-right: +flex-gutter()
@@ -0,0 +1,2 @@
1
+ .readmore__button
2
+ font-size: $paragraph-font-size * 1.125
@@ -0,0 +1,47 @@
1
+ .slider__list
2
+ z-index: 1
3
+
4
+ .slider__controls
5
+ display: block
6
+
7
+ .slider__control-prev,
8
+ .slider__control-next
9
+ display: block
10
+ width: rem(42)
11
+ height: rem(42)
12
+ padding-top: rem(6)
13
+ margin-top: rem(-21)
14
+ position: absolute
15
+ top: 50%
16
+ background-color: $white
17
+ border: 0
18
+ border-radius: 100%
19
+ cursor: pointer
20
+ z-index: 10
21
+ color: $black
22
+
23
+ &:hover
24
+ color: $primary-color
25
+
26
+ .slider__control-prev
27
+ left: rem(20)
28
+
29
+ .slider__control-next
30
+ right: rem(20)
31
+
32
+ .slider__nav
33
+ position: absolute
34
+ margin: 0
35
+ bottom: rem(10)
36
+ left: 0
37
+ right: 0
38
+ z-index: 10
39
+
40
+ .slider__nav-item
41
+ margin: 0 rem(6)
42
+
43
+ &:hover
44
+ border-width: rem(4)
45
+ width: rem(20)
46
+ height: rem(20)
47
+ margin: 0 rem(8) rem(2) rem(8)
@@ -0,0 +1,8 @@
1
+ $tab-space: rem(24)
2
+ .tab__nav
3
+ margin-top: $tab-space
4
+ padding: 0 $tab-space
5
+
6
+ .tab__nav-item
7
+ margin: $tab-space $tab-space/2 0 0
8
+ font-size: rem(18)
@@ -0,0 +1,12 @@
1
+ .teaser--assets
2
+
3
+ .teaser__item
4
+ &:nth-child(3n)
5
+ margin-right: +flex-gutter()
6
+
7
+ .teaser__item
8
+ +span-columns(3)
9
+ +omega(4n)
10
+
11
+ .teaser__btn
12
+ font-size: rem(18)
@@ -0,0 +1,8 @@
1
+ .teaser--card
2
+ .teaser__item
3
+ &:nth-child(2n)
4
+ margin-right: +flex-gutter()
5
+
6
+ .teaser__item
7
+ +span-columns(4)
8
+ +omega(3n)
@@ -0,0 +1,11 @@
1
+ .teaser--list
2
+ .teaser__item
3
+ +span-columns(6)
4
+ +flex(0 1 auto)
5
+ +omega(2n)
6
+
7
+ .teaser__content
8
+ padding: space(1.5) space(2) 0 space(2)
9
+
10
+ p
11
+ font-size: $paragraph-font-size * 1.25
@@ -0,0 +1,10 @@
1
+ .teaser
2
+ padding: space(2) space(2) 0
3
+
4
+ .teaser__item
5
+ +span-columns(4)
6
+ +omega(3n)
7
+ margin-bottom: space(2)
8
+
9
+ .teaser__img
10
+ margin-bottom: space(1.5)
@@ -0,0 +1,65 @@
1
+ .topbar
2
+ font-size: rem(18)
3
+
4
+ .topbar__mobile-menu
5
+ display: none
6
+
7
+ .topbar__list
8
+ &,
9
+ .topbar--open &
10
+ +display(flex)
11
+ +align-items(center)
12
+ +flex-direction(row)
13
+
14
+ .topbar__item
15
+ position: relative
16
+ border-right: $topbar-border
17
+ +flex(1 1 auto)
18
+
19
+ > a
20
+ padding: rem(11) rem(18)
21
+ text-align: center
22
+
23
+ &:last-child
24
+ border-right: 0
25
+
26
+ .topbar__sub-list
27
+ right: 0
28
+ left: auto
29
+
30
+ .topbar__sub-list
31
+ position: absolute
32
+ left: rem(-1)
33
+ min-width: rem(230)
34
+ border: $topbar-border
35
+ border-top-width: 0
36
+ box-shadow: rem(2) rem(2) rem(3) 0 $grey-light
37
+
38
+ .topbar__sub-item
39
+ a
40
+ padding: rem(11) rem(18)
41
+
42
+ // ----------------------------------------------------------
43
+ // Flexbox Fallback
44
+ // ----------------------------------------------------------
45
+ .no-flexbox
46
+ .topbar__mobile-menu
47
+ display: none
48
+
49
+ .topbar__list
50
+ width: 100%
51
+
52
+ &,
53
+ .topbar--open &
54
+ display: table
55
+
56
+ .topbar__item
57
+ display: table-cell
58
+
59
+ // ----------------------------------------------------------
60
+ // No-JS Fallback
61
+ // ----------------------------------------------------------
62
+ .no-js
63
+ .topbar__item:hover
64
+ > .topbar__sub-list
65
+ display: block
@@ -0,0 +1,3 @@
1
+ .two-column__first,
2
+ .two-column__second
3
+ +span-columns(6)
@@ -0,0 +1,24 @@
1
+ h1
2
+ font-size: $h1-font-size * 1.5
3
+ margin-bottom: rem(14)
4
+
5
+ h2
6
+ font-size: $h2-font-size * 1.5
7
+ line-height: $h2-line-height
8
+
9
+ h3
10
+ font-size: rem(20)
11
+ line-height: $h3-line-height
12
+ margin-bottom: rem(6)
13
+
14
+ %h4-styles-m,
15
+ h4, h5, h6
16
+ font-size: $h4-font-size * 1.125
17
+ margin-bottom: rem(6)
18
+ line-height: 1
19
+
20
+ p
21
+ font-size: $paragraph-font-size * 1.125
22
+
23
+ blockquote
24
+ font-size: rem(18)
@@ -0,0 +1,2 @@
1
+ .sc-lead
2
+ font-size: rem(20)
@@ -0,0 +1,16 @@
1
+ legend
2
+ @extend %h4-styles-m
3
+
4
+ // ----------------------------------------------------------
5
+ // STATES
6
+ // ----------------------------------------------------------
7
+ .form--horizontal
8
+ +outer-container
9
+ margin-bottom: rem(18)
10
+
11
+ label
12
+ +span-columns(3)
13
+ padding-top: rem(9)
14
+ input,
15
+ select
16
+ +span-columns(9)
@@ -0,0 +1,7 @@
1
+ .iconbar__list
2
+ +align-items(center)
3
+ +flex-direction(row)
4
+
5
+ .iconbar__item
6
+ +flex(1 1 auto)
7
+ min-width: 0
@@ -0,0 +1,5 @@
1
+ .links__item
2
+ +span-columns(6)
3
+
4
+ &:nth-child(2n)
5
+ margin-right: 0
@@ -0,0 +1,15 @@
1
+ .teaser--assets
2
+ .teaser__item
3
+ &:nth-child(2n)
4
+ margin-right: +flex-gutter()
5
+
6
+ .teaser__item
7
+ +span-columns(4)
8
+ +omega(3n)
9
+
10
+ .teaser__btn
11
+ padding-right: 0
12
+ font-family: $body-font-family
13
+ font-size: rem(16)
14
+ font-weight: bold
15
+ line-height: 1.33
@@ -0,0 +1,7 @@
1
+ .teaser--card
2
+ .teaser__item
3
+ &:nth-child(3n)
4
+ margin-right: +flex-gutter()
5
+
6
+ .teaser__item
7
+ +omega(2n)
@@ -0,0 +1,9 @@
1
+ .teaser--list
2
+
3
+ .teaser__item
4
+ width: 100%
5
+ margin-right: 0
6
+
7
+ .teaser__content
8
+ p
9
+ font-size: $paragraph-font-size * 1.125
@@ -0,0 +1,13 @@
1
+ .teaser__container
2
+ +display(flex)
3
+ +flex-direction(row)
4
+ +flex-wrap(wrap)
5
+
6
+ .teaser__container-title
7
+ width: 100%
8
+
9
+ .teaser__item
10
+ +display(flex)
11
+ +span-columns(4)
12
+ +flex(0 1 auto)
13
+ +omega(3n)