partystreusel 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/.travis.yml +5 -2
- data/CHANGELOG.md +4 -0
- data/Gruntfile.coffee +86 -0
- data/README.md +10 -1
- data/app/assets/images/icons/icon-sprite.svg +1 -0
- data/app/assets/images/icons/png/arrow-left.png +0 -0
- data/app/assets/images/icons/png/arrow-right.png +0 -0
- data/app/assets/images/icons/png/close.png +0 -0
- data/app/assets/images/icons/png/download.png +0 -0
- data/app/assets/images/icons/png/folder.png +0 -0
- data/app/assets/images/icons/png/menu.png +0 -0
- data/app/assets/images/icons/png/search.png +0 -0
- data/app/assets/images/icons/source/arrow-left.svg +1 -0
- data/app/assets/images/icons/source/arrow-right.svg +1 -0
- data/app/assets/images/icons/source/close.svg +1 -0
- data/app/assets/images/icons/source/download.svg +1 -0
- data/app/assets/images/icons/source/folder.svg +1 -0
- data/app/assets/images/icons/source/menu.svg +1 -0
- data/app/assets/images/icons/source/search.svg +1 -0
- data/app/assets/javascripts/partystreusel/tab.js.coffee +1 -0
- data/app/assets/stylesheets/partystreusel.css.sass +1 -0
- data/app/controllers/partystreusel/styleguide_controller.rb +14 -0
- data/config/routes.rb +6 -0
- data/{Gemfile → jasmine/Gemfile} +2 -2
- data/{Guardfile → jasmine/Guardfile} +0 -0
- data/{config.ru → jasmine/config.ru} +0 -0
- data/lib/generators/partystreusel/styleguide_generator.rb +30 -0
- data/lib/partystreusel/engine.rb +18 -0
- data/lib/partystreusel/helpers/icon_helper.rb +9 -0
- data/lib/partystreusel/helpers.rb +1 -0
- data/lib/partystreusel/version.rb +1 -1
- data/lib/partystreusel.rb +4 -16
- data/package.json +22 -0
- data/partystreusel.gemspec +0 -1
- data/spec/javascripts/partystreusel/readmore_spec.js.coffee +1 -1
- data/styleguide/Gemfile +24 -0
- data/styleguide/config.rb +110 -0
- data/styleguide/source/index.html.haml +8 -0
- data/styleguide/source/javascripts/application.js.coffee +30 -0
- data/styleguide/source/javascripts/modernizr.js +306 -0
- data/styleguide/source/javascripts/views/_initializer.js.coffee +15 -0
- data/styleguide/source/layouts/_favicons.html.haml +3 -0
- data/styleguide/source/layouts/_icons.html.erb +31 -0
- data/styleguide/source/layouts/_typekit.html.haml +4 -0
- data/styleguide/source/layouts/application.html.haml +58 -0
- data/styleguide/source/partials/_footer.html.haml +0 -0
- data/styleguide/source/partials/_google_analytics.html.erb +9 -0
- data/styleguide/source/partials/_header.html.haml +3 -0
- data/styleguide/source/partials/_offcanvas.html.haml +6 -0
- data/styleguide/source/partials/_offcanvas_nav.html.haml +22 -0
- data/styleguide/source/styleguide/_styleguide_nav.html.haml +80 -0
- data/styleguide/source/styleguide/accordion.html.haml +27 -0
- data/styleguide/source/styleguide/breadcrumb.html.haml +18 -0
- data/styleguide/source/styleguide/buttons.html.haml +70 -0
- data/styleguide/source/styleguide/content.html.haml +20 -0
- data/styleguide/source/styleguide/dropdowns.html.haml +30 -0
- data/styleguide/source/styleguide/embeds.html.haml +12 -0
- data/styleguide/source/styleguide/form.html.haml +71 -0
- data/styleguide/source/styleguide/iconbar.html.haml +34 -0
- data/styleguide/source/styleguide/icons.html.haml +67 -0
- data/styleguide/source/styleguide/image.html.haml +17 -0
- data/styleguide/source/styleguide/index.html.haml +6 -0
- data/styleguide/source/styleguide/linklist.html.haml +47 -0
- data/styleguide/source/styleguide/options.html.haml +28 -0
- data/styleguide/source/styleguide/readmore.html.haml +21 -0
- data/styleguide/source/styleguide/slider.html.haml +21 -0
- data/styleguide/source/styleguide/switches.html.haml +10 -0
- data/styleguide/source/styleguide/tab.html.haml +34 -0
- data/styleguide/source/styleguide/table.html.haml +51 -0
- data/styleguide/source/styleguide/teaser.html.haml +55 -0
- data/styleguide/source/styleguide/teaser_assets.html.haml +55 -0
- data/styleguide/source/styleguide/teaser_card.html.haml +79 -0
- data/styleguide/source/styleguide/teaser_list.html.haml +55 -0
- data/styleguide/source/styleguide/topbar.html.haml +72 -0
- data/styleguide/source/styleguide/two_column.html.haml +18 -0
- data/styleguide/source/styleguide/typo.html.haml +71 -0
- data/styleguide/source/stylesheets/fallbacks/grunticon.loader.js +3 -0
- data/styleguide/source/stylesheets/partystreusel/_helpers.sass +10 -0
- data/styleguide/source/stylesheets/partystreusel/_mixins.sass +14 -0
- data/styleguide/source/stylesheets/partystreusel/_settings.sass +129 -0
- data/styleguide/source/stylesheets/partystreusel/_styleguide.sass +32 -0
- data/styleguide/source/stylesheets/partystreusel/all.css +55 -0
- data/styleguide/source/stylesheets/partystreusel/application.css.sass +94 -0
- data/styleguide/source/stylesheets/partystreusel/fallbacks/_icons_preview_template.hbs +25 -0
- data/styleguide/source/stylesheets/partystreusel/fallbacks/_icons_stylesheet_template.hbs +1 -0
- data/styleguide/source/stylesheets/partystreusel/fallbacks/icons.data.png.css +21 -0
- data/styleguide/source/stylesheets/partystreusel/fallbacks/icons.data.svg.css +21 -0
- data/styleguide/source/stylesheets/partystreusel/fallbacks/icons.fallback.css.scss +21 -0
- data/styleguide/source/stylesheets/partystreusel/ie8.css.sass +18 -0
- data/styleguide/source/stylesheets/partystreusel/large/_layout.sass +3 -0
- data/styleguide/source/stylesheets/partystreusel/large/_states.sass +0 -0
- data/styleguide/source/stylesheets/partystreusel/large/_typo.sass +21 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_accordion.sass +19 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_breadcrumb.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_content.sass +5 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_form.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_image.sass +3 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_links.sass +6 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_readmore.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_slider.sass +47 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_tab.sass +8 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser--assets.sass +12 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser--card.sass +8 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser--list.sass +11 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_teaser.sass +10 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_topbar.sass +65 -0
- data/styleguide/source/stylesheets/partystreusel/large/modules/_two_column.sass +3 -0
- data/styleguide/source/stylesheets/partystreusel/medium/_typo.sass +24 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_content.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_form.sass +16 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_iconbar.sass +7 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_links.sass +5 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--assets.sass +15 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--card.sass +7 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--list.sass +9 -0
- data/styleguide/source/stylesheets/partystreusel/medium/modules/_teaser.sass +13 -0
- data/styleguide/source/stylesheets/partystreusel/normalize.css +375 -0
- data/styleguide/source/stylesheets/partystreusel/partystreusel.css.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/small/_layout.sass +18 -0
- data/styleguide/source/stylesheets/partystreusel/small/_states.sass +0 -0
- data/styleguide/source/stylesheets/partystreusel/small/_typo.sass +81 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_accordion.sass +68 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_breadcrumb.sass +36 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_button.sass +145 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_content.sass +5 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_dropdown.sass +33 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_embeds.sass +24 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_form.sass +115 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_grid.sass +5 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_iconbar.sass +41 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_icons.sass +23 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_image.sass +18 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_links.sass +49 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_offcanvas.sass +109 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_offcanvas_nav.sass +35 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_options.sass +117 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_readmore.sass +36 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_slider.sass +49 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_switch.sass +70 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_tab.sass +39 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_table.sass +43 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser--assets.sass +57 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser--card.sass +18 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser--list.sass +20 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_teaser.sass +50 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_topbar.sass +80 -0
- data/styleguide/source/stylesheets/partystreusel/small/modules/_two_column.sass +2 -0
- data/styleguide/source/stylesheets/partystreusel/xlarge/modules/_teaser_assets.sass +9 -0
- data/styleguide/source/stylesheets/partystreusel/xlarge/modules/_teaser_card.sass +8 -0
- 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
|
File without changes
|
@@ -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,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,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,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,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,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
|