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,79 @@
|
|
1
|
+
%article
|
2
|
+
%header
|
3
|
+
%h1 Teaser Card
|
4
|
+
%a{ href: '/styleguide/' } Back to Index
|
5
|
+
%hr
|
6
|
+
%aside.teaser.teaser--card
|
7
|
+
.teaser__container
|
8
|
+
%section.teaser__item
|
9
|
+
%a.teaser__link{ href: '#'}
|
10
|
+
%img.teaser__img{ src: 'http://placehold.it/300x300&text=teaser'}
|
11
|
+
.teaser__content
|
12
|
+
%h3 Produkt oder Bereich
|
13
|
+
%p Preis 12 CHF oder ein Produkt Eigenschaft
|
14
|
+
%button.btn.btn--tertiary.teaser__btn Kaufen
|
15
|
+
%a.btn.btn--icon.teaser__link--secondary{ href: 'http://google.com' }
|
16
|
+
- streusel_icon( 'download')
|
17
|
+
%section.teaser__item
|
18
|
+
%a.teaser__link{ href: '#'}
|
19
|
+
%img.teaser__img{ src: 'http://placehold.it/300x300&text=teaser'}
|
20
|
+
.teaser__content
|
21
|
+
%h3 Produkt oder Bereich
|
22
|
+
%p Preis 12 CHF oder ein Produkt Eigenschaft
|
23
|
+
%button.btn.btn--tertiary.teaser__btn Kaufen
|
24
|
+
%a.btn.btn--icon.teaser__link--secondary{ href: 'http://google.com' }
|
25
|
+
- streusel_icon( 'download')
|
26
|
+
%section.teaser__item
|
27
|
+
%a.teaser__link{ href: '#'}
|
28
|
+
%img.teaser__img{ src: 'http://placehold.it/300x300&text=teaser'}
|
29
|
+
.teaser__content
|
30
|
+
%h3 Produkt oder Bereich
|
31
|
+
%p Preis 12 CHF oder ein Produkt Eigenschaft
|
32
|
+
%button.btn.btn--tertiary.teaser__btn Kaufen
|
33
|
+
%a.btn.btn--icon.teaser__link--secondary{ href: 'http://google.com' }
|
34
|
+
- streusel_icon( 'download')
|
35
|
+
%section.teaser__item
|
36
|
+
%a.teaser__link{ href: '#'}
|
37
|
+
%img.teaser__img{ src: 'http://placehold.it/300x300&text=teaser'}
|
38
|
+
.teaser__content
|
39
|
+
%h3 Produkt oder Bereich
|
40
|
+
%p Preis 12 CHF oder ein Produkt Eigenschaft
|
41
|
+
%button.btn.btn--tertiary.teaser__btn Kaufen
|
42
|
+
%a.btn.btn--icon.teaser__link--secondary{ href: 'http://google.com' }
|
43
|
+
- streusel_icon( 'download')
|
44
|
+
%section.teaser__item
|
45
|
+
%a.teaser__link{ href: '#'}
|
46
|
+
%img.teaser__img{ src: 'http://placehold.it/300x300&text=teaser'}
|
47
|
+
.teaser__content
|
48
|
+
%h3 Produkt oder Bereich
|
49
|
+
%p Preis 12 CHF oder ein Produkt Eigenschaft
|
50
|
+
%button.btn.btn--tertiary.teaser__btn Kaufen
|
51
|
+
%a.btn.btn--icon.teaser__link--secondary{ href: 'http://google.com' }
|
52
|
+
- streusel_icon( 'download')
|
53
|
+
%section.teaser__item
|
54
|
+
%a.teaser__link{ href: '#'}
|
55
|
+
%img.teaser__img{ src: 'http://placehold.it/300x300&text=teaser'}
|
56
|
+
.teaser__content
|
57
|
+
%h3 Produkt oder Bereich
|
58
|
+
%p Preis 12 CHF oder ein Produkt Eigenschaft
|
59
|
+
%button.btn.btn--tertiary.teaser__btn Kaufen
|
60
|
+
%a.btn.btn--icon.teaser__link--secondary{ href: 'http://google.com' }
|
61
|
+
- streusel_icon( 'download')
|
62
|
+
%section.teaser__item
|
63
|
+
%a.teaser__link{ href: '#'}
|
64
|
+
%img.teaser__img{ src: 'http://placehold.it/300x300&text=teaser'}
|
65
|
+
.teaser__content
|
66
|
+
%h3 Produkt oder Bereich
|
67
|
+
%p Preis 12 CHF oder ein Produkt Eigenschaft
|
68
|
+
%button.btn.btn--tertiary.teaser__btn Kaufen
|
69
|
+
%a.btn.btn--icon.teaser__link--secondary{ href: 'http://google.com' }
|
70
|
+
- streusel_icon( 'download')
|
71
|
+
%section.teaser__item
|
72
|
+
%a.teaser__link{ href: '#'}
|
73
|
+
%img.teaser__img{ src: 'http://placehold.it/300x300&text=teaser'}
|
74
|
+
.teaser__content
|
75
|
+
%h3 Produkt oder Bereich
|
76
|
+
%p Preis 12 CHF oder ein Produkt Eigenschaft
|
77
|
+
%button.btn.btn--tertiary.teaser__btn Kaufen
|
78
|
+
%a.btn.btn--icon.teaser__link--secondary{ href: 'http://google.com' }
|
79
|
+
- streusel_icon( 'download')
|
@@ -0,0 +1,55 @@
|
|
1
|
+
%article
|
2
|
+
%header
|
3
|
+
%h1 Teaser List
|
4
|
+
%a{ href: '/styleguide/' } Back to Index
|
5
|
+
%hr
|
6
|
+
%aside.teaser.teaser--list
|
7
|
+
.teaser__container
|
8
|
+
%section.teaser__item
|
9
|
+
%a.teaser__link{ href: '#'}
|
10
|
+
.teaser__img
|
11
|
+
%img{ src: 'http://placehold.it/140x210&text=4:6'}
|
12
|
+
.teaser__content
|
13
|
+
%h3 Aktuelles
|
14
|
+
%p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
|
15
|
+
%button.btn.btn--tertiary.teaser__btn Artikel lesen
|
16
|
+
%section.teaser__item
|
17
|
+
%a.teaser__link{ href: '#'}
|
18
|
+
.teaser__img
|
19
|
+
%img{ src: 'http://placehold.it/140x210&text=4:6'}
|
20
|
+
.teaser__content
|
21
|
+
%h3 Aktuelles
|
22
|
+
%p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
|
23
|
+
%button.btn.btn--tertiary.teaser__btn Artikel lesen
|
24
|
+
%section.teaser__item
|
25
|
+
%a.teaser__link{ href: '#'}
|
26
|
+
.teaser__img
|
27
|
+
%img{ src: 'http://placehold.it/140x210&text=4:6'}
|
28
|
+
.teaser__content
|
29
|
+
%h3 Aktuelles
|
30
|
+
%p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
|
31
|
+
%button.btn.btn--tertiary.teaser__btn Artikel lesen
|
32
|
+
%section.teaser__item
|
33
|
+
%a.teaser__link{ href: '#'}
|
34
|
+
.teaser__img
|
35
|
+
%img{ src: 'http://placehold.it/140x210&text=4:6'}
|
36
|
+
.teaser__content
|
37
|
+
%h3 Aktuelles
|
38
|
+
%p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
|
39
|
+
%button.btn.btn--tertiary.teaser__btn Artikel lesen
|
40
|
+
%section.teaser__item
|
41
|
+
%a.teaser__link{ href: '#'}
|
42
|
+
.teaser__img
|
43
|
+
%img{ src: 'http://placehold.it/140x210&text=4:6'}
|
44
|
+
.teaser__content
|
45
|
+
%h3 Aktuelles
|
46
|
+
%p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
|
47
|
+
%button.btn.btn--tertiary.teaser__btn Artikel lesen
|
48
|
+
%section.teaser__item
|
49
|
+
%a.teaser__link{ href: '#'}
|
50
|
+
.teaser__img
|
51
|
+
%img{ src: 'http://placehold.it/140x210&text=4:6'}
|
52
|
+
.teaser__content
|
53
|
+
%h3 Aktuelles
|
54
|
+
%p Uci samust autemos sitibus magnam solme dolupta quidenem a cor susam.
|
55
|
+
%button.btn.btn--tertiary.teaser__btn Artikel lesen
|
@@ -0,0 +1,72 @@
|
|
1
|
+
%article
|
2
|
+
%header
|
3
|
+
%h1 TopBar
|
4
|
+
%a{ href: '/styleguide/' } Back to Index
|
5
|
+
%hr
|
6
|
+
%pre closed on small
|
7
|
+
%nav.topbar.js-topbar{role: 'navigation'}
|
8
|
+
.topbar__mobile-menu
|
9
|
+
%button
|
10
|
+
Menu
|
11
|
+
- streusel_icon( 'menu')
|
12
|
+
%ul.topbar__list
|
13
|
+
%li.topbar__item
|
14
|
+
%a{ href: '#'} Nav content 1
|
15
|
+
%li.topbar__item.topbar__item--active
|
16
|
+
%a{ href: '#'} Nav active 1
|
17
|
+
%li.topbar__item
|
18
|
+
%a{ href: '#'} Nav long long 1
|
19
|
+
%li.topbar__item
|
20
|
+
%a{ href: '#'} Nav another 1
|
21
|
+
%li.topbar__item
|
22
|
+
%a{ href: '#'} Nav last 1
|
23
|
+
|
24
|
+
%hr.sc-hr-alternate
|
25
|
+
%pre 1lvl open on small (.topbar--open)
|
26
|
+
%nav.topbar.js-topbar.topbar--open{role: 'navigation'}
|
27
|
+
.topbar__mobile-menu
|
28
|
+
%button
|
29
|
+
Menu
|
30
|
+
- streusel_icon( 'menu')
|
31
|
+
%ul.topbar__list
|
32
|
+
%li.topbar__item
|
33
|
+
%a{ href: '#'} Nav content 1
|
34
|
+
%li.topbar__item.topbar__item--active
|
35
|
+
%a{ href: '#'} Nav active 1
|
36
|
+
%ul.topbar__sub-list
|
37
|
+
%li.topbar__sub-item
|
38
|
+
%a{ href: '#'} Nav content 1
|
39
|
+
%li.topbar__sub-item
|
40
|
+
%a{ href: '#'} Nav active 1
|
41
|
+
%li.topbar__item
|
42
|
+
%a{ href: '#'} Nav long long 1
|
43
|
+
%li.topbar__item
|
44
|
+
%a{ href: '#'} Nav another 1
|
45
|
+
%li.topbar__item
|
46
|
+
%a{ href: '#'} Nav last 1
|
47
|
+
|
48
|
+
%hr.sc-hr-alternate
|
49
|
+
%pre 1lvl open on small, 2lvl level open (.topbar__sub-list--open)
|
50
|
+
%nav.topbar.js-topbar.topbar--open{role: 'navigation'}
|
51
|
+
.topbar__mobile-menu
|
52
|
+
%button
|
53
|
+
Menu
|
54
|
+
- streusel_icon( 'menu')
|
55
|
+
%ul.topbar__list
|
56
|
+
%li.topbar__item
|
57
|
+
%a{ href: '#'} Nav with sub 1
|
58
|
+
%li.topbar__item.topbar__item--active
|
59
|
+
%a{ href: '#'} Nav with sub 1
|
60
|
+
%ul.topbar__sub-list.topbar__sub-list--open
|
61
|
+
%li.topbar__sub-item
|
62
|
+
%a{ href: '#'} Nav content 1
|
63
|
+
%li.topbar__sub-item
|
64
|
+
%a{ href: '#'} Nav active 1
|
65
|
+
%li.topbar__item
|
66
|
+
%a{ href: '#'} Nav long long 1 Nav long long 1 Nav long long 1
|
67
|
+
%li.topbar__item
|
68
|
+
%a{ href: '#'} Nav another 1
|
69
|
+
%li.topbar__item
|
70
|
+
%a{ href: '#'} Nav last 1
|
71
|
+
|
72
|
+
%hr.sc-hr-alternate
|
@@ -0,0 +1,18 @@
|
|
1
|
+
%article
|
2
|
+
%header
|
3
|
+
%h1 TWO COLUMN
|
4
|
+
%a{ href: '/styleguide/' } Back to Index
|
5
|
+
%hr
|
6
|
+
|
7
|
+
.two-column
|
8
|
+
.two-column__first
|
9
|
+
%section.sc-content
|
10
|
+
%h2 Lorem ipsum dolor sit amet
|
11
|
+
%p.sc-lead
|
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.
|
13
|
+
|
14
|
+
.two-column__second
|
15
|
+
%section.sc-content
|
16
|
+
%h2 Lorem ipsum dolor sit amet
|
17
|
+
%p
|
18
|
+
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,71 @@
|
|
1
|
+
%article
|
2
|
+
%header
|
3
|
+
%h1 TYPO
|
4
|
+
%a{ href: '/styleguide/' } Back to Index
|
5
|
+
%hr
|
6
|
+
%h1 h1 A short heading
|
7
|
+
%h2 h2 A short heading
|
8
|
+
%h3 h3 A short heading
|
9
|
+
%h4 h4 A short heading
|
10
|
+
%h5 h5 A short heading
|
11
|
+
%h6 h6 A short heading
|
12
|
+
%p
|
13
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
14
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
15
|
+
%h1 h1 A long heading A long heading A long heading
|
16
|
+
%p
|
17
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds. The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
18
|
+
%h2 h2 A short heading
|
19
|
+
%p
|
20
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds. The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
21
|
+
%h3 h3 A short heading
|
22
|
+
%p
|
23
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds. The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
24
|
+
%h4 h4 A short heading
|
25
|
+
%p
|
26
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds. The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
27
|
+
%h5 h5 A short heading
|
28
|
+
%p
|
29
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds. The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
30
|
+
%h6 h6 A short heading
|
31
|
+
%p
|
32
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds. The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
33
|
+
%p
|
34
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds. The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
35
|
+
%p
|
36
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds. The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
37
|
+
%a{ href: '#' }
|
38
|
+
color is preset
|
39
|
+
to the Foundation primary color.
|
40
|
+
%strong
|
41
|
+
make it bold! You can also you to
|
42
|
+
%em
|
43
|
+
italicize your words
|
44
|
+
%small
|
45
|
+
small typo
|
46
|
+
|
47
|
+
%ul
|
48
|
+
%li List item with a much longer description or more content.
|
49
|
+
%li List item
|
50
|
+
%li List item
|
51
|
+
%ul
|
52
|
+
%li Nested List Item
|
53
|
+
%li Nested List Item
|
54
|
+
%li Nested List Item
|
55
|
+
%li List item
|
56
|
+
%li List item
|
57
|
+
%li List item
|
58
|
+
|
59
|
+
%ol
|
60
|
+
%li List Item 1
|
61
|
+
%li List Item 2
|
62
|
+
%li List Item 3
|
63
|
+
|
64
|
+
%p
|
65
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds. The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
66
|
+
|
67
|
+
%blockquote
|
68
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
69
|
+
|
70
|
+
%p
|
71
|
+
The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds. The difficulty lies, not in the new ideas, but in escaping the old ones, which ramify, for those brought up as most of us have been, into every corner of our minds.
|
@@ -0,0 +1,3 @@
|
|
1
|
+
/*! grunt-grunticon Stylesheet Loader - v2.1.6 | https://github.com/filamentgroup/grunticon | (c) 2015 Scott Jehl, Filament Group, Inc. | MIT license. */
|
2
|
+
|
3
|
+
(function(e){function n(n,t,o,a){"use strict";var i=e.document.createElement("link"),r=t||e.document.getElementsByTagName("script")[0],d=e.document.styleSheets;return i.rel="stylesheet",i.href=n,i.media="only x",a&&(i.onload=a),r.parentNode.insertBefore(i,r),i.onloadcssdefined=function(e){for(var t,o=0;d.length>o;o++)d[o].href&&d[o].href.indexOf(n)>-1&&(t=!0);t?e():setTimeout(function(){i.onloadcssdefined(e)})},i.onloadcssdefined(function(){i.media=o||"all"}),i}function t(e,n){e.onload=function(){e.onload=null,n&&n.call(e)},"isApplicationInstalled"in navigator&&"onloadcssdefined"in e&&e.onloadcssdefined(n)}var o=function(a,i){"use strict";if(a&&3===a.length){var r=e.Image,d=!(!document.createElementNS||!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect||!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")||e.opera&&-1===navigator.userAgent.indexOf("Chrome")||-1!==navigator.userAgent.indexOf("Series40")),c=new r;c.onerror=function(){o.method="png",o.href=a[2],n(a[2])},c.onload=function(){var e=1===c.width&&1===c.height,r=a[e&&d?0:e?1:2];o.method=e&&d?"svg":e?"datapng":"png",o.href=r,t(n(r),i)},c.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",document.documentElement.className+=" grunticon"}};o.loadCSS=n,o.onloadCSS=t,e.grunticon=o})(this);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
@function space($factor)
|
2
|
+
@return rem($default-space-value) * ($factor)
|
3
|
+
|
4
|
+
=hide-text
|
5
|
+
font: 0/0 a
|
6
|
+
text-shadow: none
|
7
|
+
color: transparent
|
8
|
+
|
9
|
+
=omega-reset($nth)
|
10
|
+
&:nth-child(#{$nth})
|
11
|
+
margin-right: +flex-gutter()
|
12
|
+
|
13
|
+
&:nth-child(#{$nth}+1)
|
14
|
+
clear: none
|
@@ -0,0 +1,129 @@
|
|
1
|
+
// This is the the base for the em/rem mixins and the grid calculation.
|
2
|
+
$em-base: 16px
|
3
|
+
|
4
|
+
//////////////////////////////
|
5
|
+
// GRID
|
6
|
+
// --------------------------
|
7
|
+
|
8
|
+
// Since the typical default browser font-size is 16px,
|
9
|
+
// that makes the calculation for grid size.
|
10
|
+
$gutter: em(20)
|
11
|
+
$grid-columns: 12
|
12
|
+
$max-width: rem(1200)
|
13
|
+
$border-box-sizing: true
|
14
|
+
|
15
|
+
// Debug Grid
|
16
|
+
$visual-grid: false // a helper to show the columns
|
17
|
+
$visual-grid-color: #ff0000
|
18
|
+
$visual-grid-index: back // or front
|
19
|
+
$visual-grid-opacity: 0.1
|
20
|
+
|
21
|
+
//////////////////////////////
|
22
|
+
// MEDIA QUERIES & BREAKPOINTS
|
23
|
+
// --------------------------
|
24
|
+
|
25
|
+
// Media Query Ranges
|
26
|
+
$medium-point: 33.75em // 540px
|
27
|
+
$large-point: 50em // 800px
|
28
|
+
$xlarge-point: 75em // 1200px
|
29
|
+
|
30
|
+
$medium: new-breakpoint(min-width $medium-point 12)
|
31
|
+
$large: new-breakpoint(min-width $large-point 12)
|
32
|
+
$xlarge: new-breakpoint(min-width $xlarge-point 12)
|
33
|
+
|
34
|
+
//////////////////////////////
|
35
|
+
// COLOR & BASE
|
36
|
+
// --------------------------
|
37
|
+
|
38
|
+
// COLOR variables
|
39
|
+
$black: #333
|
40
|
+
$white: #fff
|
41
|
+
$grey-dark: rgb(172,172,172)
|
42
|
+
$grey: rgb(215,215,215)
|
43
|
+
$grey-light: rgb(240,240,240)
|
44
|
+
$orange: #F08A24
|
45
|
+
$red: #D60051
|
46
|
+
$blue-light: #A0D3E8
|
47
|
+
$green: #43AC6A
|
48
|
+
|
49
|
+
// COLOR NAMING
|
50
|
+
$primary-color: $red
|
51
|
+
$secondary-color: $grey
|
52
|
+
$tertiary-color: $black
|
53
|
+
$alert-color: $red
|
54
|
+
$success-color: $green
|
55
|
+
$warning-color: $orange
|
56
|
+
$info-color: $blue-light
|
57
|
+
|
58
|
+
// Use these to control various global styles
|
59
|
+
$body-bg: $white
|
60
|
+
$body-font-color: $black
|
61
|
+
$default-space-value: 12 // e.g. used for paddings
|
62
|
+
|
63
|
+
//////////////////////////////
|
64
|
+
// TYPOGRAPHY
|
65
|
+
// --------------------------
|
66
|
+
$line-height-factor: 1.2
|
67
|
+
|
68
|
+
$body-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif
|
69
|
+
$body-font-size: 100%
|
70
|
+
$body-font-weight: normal
|
71
|
+
$body-font-style: normal
|
72
|
+
$body-line-height: $line-height-factor
|
73
|
+
|
74
|
+
// HEADINGS font styles
|
75
|
+
$header-font-family: $body-font-family
|
76
|
+
$header-font-weight: 900
|
77
|
+
$header-font-style: normal
|
78
|
+
$header-font-color: $body-font-color
|
79
|
+
$header-text-rendering: optimizeLegibility
|
80
|
+
|
81
|
+
// HEADINGS sizes
|
82
|
+
// Set here the font-sizes for small,
|
83
|
+
// use the variable in small/base and redefine it in medium/large
|
84
|
+
$h1-font-size: rem(36)
|
85
|
+
$h2-font-size: rem(24)
|
86
|
+
$h3-font-size: rem(19)
|
87
|
+
$h4-font-size: rem(16)
|
88
|
+
|
89
|
+
// HEADINGS line-heights
|
90
|
+
$h1-line-height: 1
|
91
|
+
$h2-line-height: 1
|
92
|
+
$h3-line-height: 1.26
|
93
|
+
$h4-line-height: 1.125
|
94
|
+
|
95
|
+
// PARAGRAPHS
|
96
|
+
$paragraph-font-family: inherit
|
97
|
+
$paragraph-font-weight: normal
|
98
|
+
$paragraph-font-size: rem(16)
|
99
|
+
$paragraph-line-height: 1.5
|
100
|
+
$paragraph-margin-bottom: rem(12)
|
101
|
+
$paragraph-text-rendering: optimizeLegibility
|
102
|
+
|
103
|
+
// <SMALL>
|
104
|
+
$small-font-color: $grey-dark
|
105
|
+
|
106
|
+
// ANCHORS
|
107
|
+
$anchor-text-decoration: none
|
108
|
+
$anchor-font-color: $primary-color
|
109
|
+
$anchor-font-color-hover: $secondary-color
|
110
|
+
|
111
|
+
// <HR>
|
112
|
+
$hr-margin-top: rem(18)
|
113
|
+
$hr-margin-bottom: $hr-margin-top
|
114
|
+
$hr-border-width: rem(1)
|
115
|
+
$hr-border-style: solid
|
116
|
+
$hr-border-color: $body-font-color
|
117
|
+
|
118
|
+
// LISTS
|
119
|
+
$list-style-position: outside
|
120
|
+
$list-side-margin: 0
|
121
|
+
$list-nested-margin: 0
|
122
|
+
$list-side-padding: rem(18)
|
123
|
+
$list-ol-side-padding: rem(23)
|
124
|
+
|
125
|
+
// BLOCKQUOTE
|
126
|
+
$blockquote-font-family: inherit
|
127
|
+
$blockquote-font-size: rem(16)
|
128
|
+
$blockquote-font-style: italic
|
129
|
+
$blockquote-margin: 0 0 $paragraph-margin-bottom 0
|
@@ -0,0 +1,32 @@
|
|
1
|
+
.styleguide-nav
|
2
|
+
.offcanvas-nav
|
3
|
+
|
4
|
+
> li
|
5
|
+
padding-top: space(2)
|
6
|
+
margin-bottom: space(2)
|
7
|
+
border-top-color: $grey
|
8
|
+
border-top-width: rem(2)
|
9
|
+
|
10
|
+
&:first-child
|
11
|
+
border: 0
|
12
|
+
|
13
|
+
> a
|
14
|
+
font-weight: bold
|
15
|
+
font-size: rem(24)
|
16
|
+
pointer-events: none
|
17
|
+
|
18
|
+
&:hover
|
19
|
+
background-color: transparent
|
20
|
+
cursor: default
|
21
|
+
color: $body-font-color
|
22
|
+
|
23
|
+
.offcanvas-nav__sub
|
24
|
+
display: block
|
25
|
+
|
26
|
+
a
|
27
|
+
color: $primary-color
|
28
|
+
padding: space(.5) space(1) space(.5) space(2)
|
29
|
+
|
30
|
+
&:hover
|
31
|
+
background-color: transparent
|
32
|
+
color: $grey-dark
|
@@ -0,0 +1,55 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
body {
|
4
|
+
background: #d4d4d4 url("../images/background.png");
|
5
|
+
text-align: center;
|
6
|
+
font-family: sans-serif; }
|
7
|
+
|
8
|
+
h1 {
|
9
|
+
color: rgba(0, 0, 0, .3);
|
10
|
+
font-weight: bold;
|
11
|
+
font-size: 32px;
|
12
|
+
letter-spacing: -1px;
|
13
|
+
text-transform: uppercase;
|
14
|
+
text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
|
15
|
+
background: url("../images/middleman.png") no-repeat center 100px;
|
16
|
+
padding: 350px 0 10px;
|
17
|
+
margin: 0; }
|
18
|
+
|
19
|
+
.doc {
|
20
|
+
font-size: 14px;
|
21
|
+
margin: 0; }
|
22
|
+
.doc:before,
|
23
|
+
.doc:after {
|
24
|
+
opacity: .2;
|
25
|
+
padding: 6px;
|
26
|
+
font-style: normal;
|
27
|
+
position: relative;
|
28
|
+
content: "•"; }
|
29
|
+
.doc a {
|
30
|
+
color: rgba(0, 0, 0, 0.3); }
|
31
|
+
.doc a:hover {
|
32
|
+
color: #666; }
|
33
|
+
|
34
|
+
.welcome {
|
35
|
+
-webkit-animation-name: welcome;
|
36
|
+
-webkit-animation-duration: .9s; }
|
37
|
+
|
38
|
+
@-webkit-keyframes welcome {
|
39
|
+
from {
|
40
|
+
-webkit-transform: scale(0);
|
41
|
+
opacity: 0;
|
42
|
+
}
|
43
|
+
50% {
|
44
|
+
-webkit-transform: scale(0);
|
45
|
+
opacity: 0;
|
46
|
+
}
|
47
|
+
82.5% {
|
48
|
+
-webkit-transform: scale(1.03);
|
49
|
+
-webkit-animation-timing-function: ease-out;
|
50
|
+
opacity: 1;
|
51
|
+
}
|
52
|
+
to {
|
53
|
+
-webkit-transform: scale(1);
|
54
|
+
}
|
55
|
+
}
|
@@ -0,0 +1,94 @@
|
|
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
|
+
// Mixins & Helpers import
|
15
|
+
@import helpers
|
16
|
+
@import mixins
|
17
|
+
|
18
|
+
// Project base styles
|
19
|
+
@import small/typo
|
20
|
+
|
21
|
+
// Project layout styles
|
22
|
+
@import small/layout
|
23
|
+
@import small/states
|
24
|
+
|
25
|
+
// Project modules
|
26
|
+
@import small/modules/icons
|
27
|
+
@import small/modules/grid
|
28
|
+
@import small/modules/button
|
29
|
+
@import small/modules/dropdown
|
30
|
+
@import small/modules/table
|
31
|
+
@import small/modules/content
|
32
|
+
@import small/modules/readmore
|
33
|
+
@import small/modules/switch
|
34
|
+
@import small/modules/form
|
35
|
+
@import small/modules/options
|
36
|
+
@import small/modules/tab
|
37
|
+
@import small/modules/breadcrumb
|
38
|
+
@import small/modules/topbar
|
39
|
+
@import small/modules/iconbar
|
40
|
+
@import small/modules/offcanvas
|
41
|
+
@import small/modules/offcanvas_nav
|
42
|
+
@import small/modules/accordion
|
43
|
+
@import small/modules/slider
|
44
|
+
@import small/modules/embeds
|
45
|
+
@import small/modules/two_column
|
46
|
+
@import small/modules/image
|
47
|
+
@import small/modules/links
|
48
|
+
@import small/modules/teaser
|
49
|
+
@import small/modules/teaser--card
|
50
|
+
@import small/modules/teaser--list
|
51
|
+
@import small/modules/teaser--assets
|
52
|
+
|
53
|
+
// IMPORT STYLESHEETS FOR MEDIUM VIEWPORT */
|
54
|
+
@media screen and (min-width: #{$medium-point})
|
55
|
+
@import medium/typo
|
56
|
+
|
57
|
+
@import medium/modules/content
|
58
|
+
@import medium/modules/form
|
59
|
+
@import medium/modules/iconbar
|
60
|
+
@import medium/modules/links
|
61
|
+
@import medium/modules/teaser
|
62
|
+
@import medium/modules/teaser--card
|
63
|
+
@import medium/modules/teaser--list
|
64
|
+
@import medium/modules/teaser--assets
|
65
|
+
|
66
|
+
// IMPORT STYLESHEETS FOR LARGE VIEWPORT */
|
67
|
+
@media screen and (min-width: #{$large-point})
|
68
|
+
@import large/typo
|
69
|
+
@import large/layout
|
70
|
+
@import large/states
|
71
|
+
|
72
|
+
@import large/modules/content
|
73
|
+
@import large/modules/readmore
|
74
|
+
@import large/modules/form
|
75
|
+
@import large/modules/tab
|
76
|
+
@import large/modules/breadcrumb
|
77
|
+
@import large/modules/topbar
|
78
|
+
@import large/modules/accordion
|
79
|
+
@import large/modules/slider
|
80
|
+
@import large/modules/two_column
|
81
|
+
@import large/modules/image
|
82
|
+
@import large/modules/links
|
83
|
+
@import large/modules/teaser
|
84
|
+
@import large/modules/teaser--card
|
85
|
+
@import large/modules/teaser--list
|
86
|
+
@import large/modules/teaser--assets
|
87
|
+
|
88
|
+
// IMPORT STYLESHEETS FOR X-LARGE VIEWPORT */
|
89
|
+
@media screen and (min-width: #{$xlarge-point})
|
90
|
+
|
91
|
+
@import xlarge/modules/teaser_card
|
92
|
+
@import xlarge/modules/teaser_assets
|
93
|
+
|
94
|
+
@import styleguide
|
@@ -0,0 +1,25 @@
|
|
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
|
+
{{#each icons}}{{#with this}}
|
19
|
+
%div
|
20
|
+
%pre
|
21
|
+
%code {{name}}
|
22
|
+
- streusel_icon( '{{name}}')
|
23
|
+
- streusel_icon( '{{name}}', 'icon--m')
|
24
|
+
- streusel_icon( '{{name}}', 'icon--l')
|
25
|
+
%hr{{/with}}{{/each}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{{#each customselectors}}{{this}},{{/each}}{{prefix}}{{name}} { background-image: url('{{datauri}}'); }
|