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,70 @@
|
|
1
|
+
$switch-width: rem(54)
|
2
|
+
$switch-height: rem(30)
|
3
|
+
$switch-inner-space: rem(4)
|
4
|
+
|
5
|
+
$switch-radius: $switch-height
|
6
|
+
$switch-knob-size: $switch-height - ($switch-inner-space * 2)
|
7
|
+
|
8
|
+
.switch
|
9
|
+
display: inline-block
|
10
|
+
position: relative
|
11
|
+
margin-bottom: rem(18)
|
12
|
+
cursor: pointer
|
13
|
+
height: $switch-height
|
14
|
+
width: $switch-width
|
15
|
+
+user-select(none)
|
16
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0)
|
17
|
+
|
18
|
+
input
|
19
|
+
display: none
|
20
|
+
|
21
|
+
+ label
|
22
|
+
display: block
|
23
|
+
position: relative
|
24
|
+
height: $switch-height
|
25
|
+
width: 100%
|
26
|
+
cursor: pointer
|
27
|
+
background: $grey
|
28
|
+
border-radius: $switch-radius
|
29
|
+
+transition(all .15s ease-out)
|
30
|
+
+transform( translate3d(0, 0, 0) )
|
31
|
+
+hide-text
|
32
|
+
|
33
|
+
&:after
|
34
|
+
content: ""
|
35
|
+
display: block
|
36
|
+
background: $white
|
37
|
+
position: absolute
|
38
|
+
top: $switch-inner-space
|
39
|
+
left: $switch-inner-space
|
40
|
+
width: $switch-knob-size
|
41
|
+
height: $switch-knob-size
|
42
|
+
border-radius: $switch-radius
|
43
|
+
+transition(all .15s ease-out)
|
44
|
+
|
45
|
+
// ----------------------------------------------------------
|
46
|
+
// STATES
|
47
|
+
// ----------------------------------------------------------
|
48
|
+
.switch:hover
|
49
|
+
label
|
50
|
+
background: $grey-dark
|
51
|
+
|
52
|
+
.switch
|
53
|
+
input:checked
|
54
|
+
|
55
|
+
+ label
|
56
|
+
background: $primary-color
|
57
|
+
|
58
|
+
&:after
|
59
|
+
left: $switch-width - $switch-knob-size - ($switch-inner-space)
|
60
|
+
|
61
|
+
// ----------------------------------------------------------
|
62
|
+
// IE8 Fallback
|
63
|
+
// ----------------------------------------------------------
|
64
|
+
.lt-ie9
|
65
|
+
.switch
|
66
|
+
input
|
67
|
+
display: block
|
68
|
+
|
69
|
+
+ label
|
70
|
+
display: none
|
@@ -0,0 +1,39 @@
|
|
1
|
+
$tab-space: rem(12)
|
2
|
+
.tab__nav
|
3
|
+
+clearfix
|
4
|
+
display: block
|
5
|
+
list-style: none
|
6
|
+
padding: 0 $tab-space $tab-space $tab-space
|
7
|
+
margin: $tab-space 0 $tab-space*2
|
8
|
+
background-color: $secondary-color
|
9
|
+
|
10
|
+
.tab__nav-item
|
11
|
+
display: block
|
12
|
+
float: left
|
13
|
+
margin: $tab-space $tab-space 0 0
|
14
|
+
|
15
|
+
&:last-child
|
16
|
+
margin-right: 0
|
17
|
+
|
18
|
+
a
|
19
|
+
display: block
|
20
|
+
background-color: $grey-light
|
21
|
+
color: $grey-dark
|
22
|
+
padding: $tab-space
|
23
|
+
|
24
|
+
&:hover
|
25
|
+
color: $tertiary-color
|
26
|
+
|
27
|
+
.tab__panel
|
28
|
+
display: none
|
29
|
+
|
30
|
+
// ----------------------------------------------------------
|
31
|
+
// STATES
|
32
|
+
// ----------------------------------------------------------
|
33
|
+
.tab__nav-item--active
|
34
|
+
a
|
35
|
+
background-color: $white
|
36
|
+
color: $primary-color
|
37
|
+
|
38
|
+
.tab__panel--active
|
39
|
+
display: block
|
@@ -0,0 +1,43 @@
|
|
1
|
+
$table-space: rem(8)
|
2
|
+
|
3
|
+
.sc-table
|
4
|
+
margin: rem(24) 0
|
5
|
+
overflow-x: scroll
|
6
|
+
-webkit-overflow-scrolling: touch
|
7
|
+
|
8
|
+
table
|
9
|
+
width: 100%
|
10
|
+
|
11
|
+
thead
|
12
|
+
color: $white
|
13
|
+
text-align: left
|
14
|
+
|
15
|
+
th
|
16
|
+
background-color: $primary-color
|
17
|
+
|
18
|
+
&:first-of-type
|
19
|
+
border-radius: $table-space*2 0 0 0
|
20
|
+
&:last-of-type
|
21
|
+
border-radius: 0 $table-space*2 0 0
|
22
|
+
|
23
|
+
tbody
|
24
|
+
tr
|
25
|
+
background-color: $secondary-color
|
26
|
+
+transition( all .1s linear )
|
27
|
+
|
28
|
+
&:nth-child(odd)
|
29
|
+
background-color: $grey-light
|
30
|
+
color: $grey-dark
|
31
|
+
|
32
|
+
&:hover
|
33
|
+
background-color: $white
|
34
|
+
color: $body-font-color
|
35
|
+
|
36
|
+
td,
|
37
|
+
th
|
38
|
+
min-width: rem(100)
|
39
|
+
padding: $table-space $table-space $table-space $table-space
|
40
|
+
border-right: rem(2) solid $grey-dark
|
41
|
+
|
42
|
+
&:last-child
|
43
|
+
border-right: 0
|
@@ -0,0 +1,57 @@
|
|
1
|
+
.teaser--assets
|
2
|
+
.teaser__container
|
3
|
+
+display(flex)
|
4
|
+
+flex-direction(row)
|
5
|
+
+flex-wrap(wrap)
|
6
|
+
|
7
|
+
.teaser__item
|
8
|
+
+display(flex)
|
9
|
+
+span-columns(6)
|
10
|
+
+flex(0 1 auto)
|
11
|
+
+omega(2n)
|
12
|
+
|
13
|
+
.teaser__img
|
14
|
+
position: relative
|
15
|
+
margin-bottom: space(.5)
|
16
|
+
overflow: hidden
|
17
|
+
|
18
|
+
img
|
19
|
+
display: block
|
20
|
+
|
21
|
+
.teaser__content
|
22
|
+
display: block
|
23
|
+
width: 100%
|
24
|
+
position: absolute
|
25
|
+
bottom: 0
|
26
|
+
margin-bottom: 0
|
27
|
+
padding: space(1)
|
28
|
+
font-size: rem(16)
|
29
|
+
background-color: rgba($white, 0.5)
|
30
|
+
+transform(translate3d(0,100%,0))
|
31
|
+
+transition(transform 0.35s)
|
32
|
+
|
33
|
+
.teaser__btn
|
34
|
+
display: block
|
35
|
+
margin: 0
|
36
|
+
font: 0/0 a
|
37
|
+
text-shadow: none
|
38
|
+
|
39
|
+
// ----------------------------------------------------------
|
40
|
+
// STATES
|
41
|
+
// ----------------------------------------------------------
|
42
|
+
.teaser--assets
|
43
|
+
.teaser__link:hover
|
44
|
+
.teaser__content
|
45
|
+
+transform(translate3d(0,0,0))
|
46
|
+
|
47
|
+
// ----------------------------------------------------------
|
48
|
+
// NO CSS TRANSFORM Fallback
|
49
|
+
// ----------------------------------------------------------
|
50
|
+
.no-csstransforms3d
|
51
|
+
.teaser--assets
|
52
|
+
.teaser__content
|
53
|
+
display: none
|
54
|
+
|
55
|
+
.teaser__link:hover
|
56
|
+
.teaser__content
|
57
|
+
display: block
|
@@ -0,0 +1,18 @@
|
|
1
|
+
.teaser--card
|
2
|
+
|
3
|
+
.teaser__container
|
4
|
+
+display(flex)
|
5
|
+
+flex-direction(row)
|
6
|
+
+flex-wrap(wrap)
|
7
|
+
|
8
|
+
.teaser__item
|
9
|
+
position: relative
|
10
|
+
+display(flex)
|
11
|
+
+span-columns(6)
|
12
|
+
+flex(0 1 auto)
|
13
|
+
+omega(2n)
|
14
|
+
|
15
|
+
.teaser__link--secondary
|
16
|
+
position: absolute
|
17
|
+
bottom: 0
|
18
|
+
right: space(1)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.teaser--list
|
2
|
+
|
3
|
+
.teaser__img,
|
4
|
+
.teaser__content
|
5
|
+
display: table-cell
|
6
|
+
vertical-align: top
|
7
|
+
|
8
|
+
.teaser__img
|
9
|
+
width: 25%
|
10
|
+
margin-right: space(1)
|
11
|
+
margin-bottom: 0
|
12
|
+
|
13
|
+
img
|
14
|
+
width: 100%
|
15
|
+
display: block
|
16
|
+
|
17
|
+
.teaser__content
|
18
|
+
padding: space(1) space(1) 0 space(1)
|
19
|
+
overflow: hidden
|
20
|
+
|
@@ -0,0 +1,50 @@
|
|
1
|
+
.teaser
|
2
|
+
+outer-container
|
3
|
+
background-color: $grey-light
|
4
|
+
padding: space(1) space(1) 0
|
5
|
+
|
6
|
+
.teaser__item
|
7
|
+
margin: 0 0 space(1) 0
|
8
|
+
background-color: $white
|
9
|
+
box-shadow: mix($grey, white, 60%) rem(2) rem(2) rem(3) 0
|
10
|
+
|
11
|
+
.teaser__content
|
12
|
+
padding: 0 space(1)
|
13
|
+
|
14
|
+
h3,
|
15
|
+
p
|
16
|
+
margin: 0
|
17
|
+
|
18
|
+
p
|
19
|
+
font-size: $paragraph-font-size
|
20
|
+
font-weight: 200
|
21
|
+
|
22
|
+
.teaser__btn
|
23
|
+
padding-left: 0
|
24
|
+
text-align: left
|
25
|
+
|
26
|
+
.teaser__subtitle
|
27
|
+
margin-bottom: space(.5)
|
28
|
+
color: $grey-dark
|
29
|
+
|
30
|
+
.teaser__link
|
31
|
+
display: block
|
32
|
+
color: currentColor
|
33
|
+
|
34
|
+
.teaser__img
|
35
|
+
width: 100%
|
36
|
+
height: auto
|
37
|
+
margin-bottom: space(.5)
|
38
|
+
|
39
|
+
// ----------------------------------------------------------
|
40
|
+
// STATES
|
41
|
+
// ----------------------------------------------------------
|
42
|
+
.teaser__item:hover
|
43
|
+
box-shadow: none
|
44
|
+
|
45
|
+
.teaser__link
|
46
|
+
color: currentColor
|
47
|
+
|
48
|
+
.teaser__img
|
49
|
+
opacity: .8
|
50
|
+
|
@@ -0,0 +1,80 @@
|
|
1
|
+
$topbar-border: rem(1) solid $grey
|
2
|
+
|
3
|
+
.topbar__mobile-menu
|
4
|
+
display: block
|
5
|
+
padding: 0 rem(12)
|
6
|
+
background-color: $grey-light
|
7
|
+
border-bottom: $topbar-border
|
8
|
+
color: $grey-dark
|
9
|
+
text-align: right
|
10
|
+
|
11
|
+
button
|
12
|
+
border: 0
|
13
|
+
background-color: $grey-light
|
14
|
+
position: relative
|
15
|
+
color: $body-font-color
|
16
|
+
padding: rem(7) 0 rem(6) rem(6)
|
17
|
+
outline: none
|
18
|
+
|
19
|
+
&:hover
|
20
|
+
color: $grey-dark
|
21
|
+
|
22
|
+
.topbar__list,
|
23
|
+
.topbar__sub-list
|
24
|
+
display: none
|
25
|
+
list-style: none
|
26
|
+
padding: 0
|
27
|
+
margin: 0
|
28
|
+
|
29
|
+
.topbar__item
|
30
|
+
display: block
|
31
|
+
background-color: $grey-light
|
32
|
+
|
33
|
+
a
|
34
|
+
display: block
|
35
|
+
padding: rem(12)
|
36
|
+
border-bottom: $topbar-border
|
37
|
+
|
38
|
+
> a
|
39
|
+
color: $grey-dark
|
40
|
+
|
41
|
+
&:hover
|
42
|
+
background-color: $white
|
43
|
+
+transition( all .1s linear )
|
44
|
+
|
45
|
+
> a
|
46
|
+
color: $body-font-color
|
47
|
+
|
48
|
+
.topbar__sub-list
|
49
|
+
padding: 0
|
50
|
+
|
51
|
+
.topbar__sub-item
|
52
|
+
display: block
|
53
|
+
|
54
|
+
> a
|
55
|
+
padding-left: rem(30)
|
56
|
+
background-color: $white
|
57
|
+
border-color: $white
|
58
|
+
color: $grey-dark
|
59
|
+
|
60
|
+
&:hover
|
61
|
+
color: $body-font-color
|
62
|
+
|
63
|
+
// ----------------------------------------------------------
|
64
|
+
// STATES
|
65
|
+
// ----------------------------------------------------------
|
66
|
+
.topbar__item--active,
|
67
|
+
.topbar__item--active:hover
|
68
|
+
> a
|
69
|
+
background-color: $grey-light
|
70
|
+
color: $primary-color
|
71
|
+
|
72
|
+
&:hover
|
73
|
+
background-color: $white
|
74
|
+
|
75
|
+
.topbar--open
|
76
|
+
.topbar__list
|
77
|
+
display: block
|
78
|
+
|
79
|
+
.topbar__sub-list--open
|
80
|
+
display: block
|
metadata
CHANGED
@@ -1,46 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: partystreusel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Flavio Pellanda
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2015-
|
11
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: railties
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
13
|
- !ruby/object:Gem::Dependency
|
31
14
|
name: i18n-js
|
32
15
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
16
|
requirements:
|
35
|
-
- -
|
17
|
+
- - '>='
|
36
18
|
- !ruby/object:Gem::Version
|
37
19
|
version: '0'
|
38
20
|
type: :runtime
|
39
21
|
prerelease: false
|
40
22
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
23
|
requirements:
|
43
|
-
- -
|
24
|
+
- - '>='
|
44
25
|
- !ruby/object:Gem::Version
|
45
26
|
version: '0'
|
46
27
|
description: Contains sliders, accordions, expandable contents and any other component
|
@@ -55,10 +36,24 @@ files:
|
|
55
36
|
- .ruby-version
|
56
37
|
- .travis.yml
|
57
38
|
- CHANGELOG.md
|
58
|
-
-
|
59
|
-
- Guardfile
|
39
|
+
- Gruntfile.coffee
|
60
40
|
- README.md
|
61
41
|
- Rakefile
|
42
|
+
- app/assets/images/icons/icon-sprite.svg
|
43
|
+
- app/assets/images/icons/png/arrow-left.png
|
44
|
+
- app/assets/images/icons/png/arrow-right.png
|
45
|
+
- app/assets/images/icons/png/close.png
|
46
|
+
- app/assets/images/icons/png/download.png
|
47
|
+
- app/assets/images/icons/png/folder.png
|
48
|
+
- app/assets/images/icons/png/menu.png
|
49
|
+
- app/assets/images/icons/png/search.png
|
50
|
+
- app/assets/images/icons/source/arrow-left.svg
|
51
|
+
- app/assets/images/icons/source/arrow-right.svg
|
52
|
+
- app/assets/images/icons/source/close.svg
|
53
|
+
- app/assets/images/icons/source/download.svg
|
54
|
+
- app/assets/images/icons/source/folder.svg
|
55
|
+
- app/assets/images/icons/source/menu.svg
|
56
|
+
- app/assets/images/icons/source/search.svg
|
62
57
|
- app/assets/javascripts/partystreusel.js.coffee
|
63
58
|
- app/assets/javascripts/partystreusel/accordion.js.coffee
|
64
59
|
- app/assets/javascripts/partystreusel/all.js.coffee
|
@@ -74,11 +69,19 @@ files:
|
|
74
69
|
- app/assets/javascripts/partystreusel/topbar.js.coffee
|
75
70
|
- app/assets/javascripts/partystreusel/translations.js.coffee
|
76
71
|
- app/assets/stylesheets/partystreusel.css.sass
|
77
|
-
-
|
72
|
+
- app/controllers/partystreusel/styleguide_controller.rb
|
73
|
+
- config/routes.rb
|
74
|
+
- jasmine/Gemfile
|
75
|
+
- jasmine/Guardfile
|
76
|
+
- jasmine/config.ru
|
77
|
+
- lib/generators/partystreusel/styleguide_generator.rb
|
78
78
|
- lib/partystreusel.rb
|
79
|
+
- lib/partystreusel/engine.rb
|
79
80
|
- lib/partystreusel/helpers.rb
|
81
|
+
- lib/partystreusel/helpers/icon_helper.rb
|
80
82
|
- lib/partystreusel/helpers/readmore_helper.rb
|
81
83
|
- lib/partystreusel/version.rb
|
84
|
+
- package.json
|
82
85
|
- partystreusel.gemspec
|
83
86
|
- spec/javascripts/helpers/.gitkeep
|
84
87
|
- spec/javascripts/helpers/jasmine-fixture.js
|
@@ -93,37 +96,144 @@ files:
|
|
93
96
|
- spec/javascripts/spec.css
|
94
97
|
- spec/javascripts/spec.js.coffee
|
95
98
|
- spec/javascripts/support/jasmine_helper.rb
|
99
|
+
- styleguide/Gemfile
|
100
|
+
- styleguide/config.rb
|
101
|
+
- styleguide/source/index.html.haml
|
102
|
+
- styleguide/source/javascripts/application.js.coffee
|
103
|
+
- styleguide/source/javascripts/modernizr.js
|
104
|
+
- styleguide/source/javascripts/views/_initializer.js.coffee
|
105
|
+
- styleguide/source/layouts/_favicons.html.haml
|
106
|
+
- styleguide/source/layouts/_icons.html.erb
|
107
|
+
- styleguide/source/layouts/_typekit.html.haml
|
108
|
+
- styleguide/source/layouts/application.html.haml
|
109
|
+
- styleguide/source/partials/_footer.html.haml
|
110
|
+
- styleguide/source/partials/_google_analytics.html.erb
|
111
|
+
- styleguide/source/partials/_header.html.haml
|
112
|
+
- styleguide/source/partials/_offcanvas.html.haml
|
113
|
+
- styleguide/source/partials/_offcanvas_nav.html.haml
|
114
|
+
- styleguide/source/styleguide/_styleguide_nav.html.haml
|
115
|
+
- styleguide/source/styleguide/accordion.html.haml
|
116
|
+
- styleguide/source/styleguide/breadcrumb.html.haml
|
117
|
+
- styleguide/source/styleguide/buttons.html.haml
|
118
|
+
- styleguide/source/styleguide/content.html.haml
|
119
|
+
- styleguide/source/styleguide/dropdowns.html.haml
|
120
|
+
- styleguide/source/styleguide/embeds.html.haml
|
121
|
+
- styleguide/source/styleguide/form.html.haml
|
122
|
+
- styleguide/source/styleguide/iconbar.html.haml
|
123
|
+
- styleguide/source/styleguide/icons.html.haml
|
124
|
+
- styleguide/source/styleguide/image.html.haml
|
125
|
+
- styleguide/source/styleguide/index.html.haml
|
126
|
+
- styleguide/source/styleguide/linklist.html.haml
|
127
|
+
- styleguide/source/styleguide/options.html.haml
|
128
|
+
- styleguide/source/styleguide/readmore.html.haml
|
129
|
+
- styleguide/source/styleguide/slider.html.haml
|
130
|
+
- styleguide/source/styleguide/switches.html.haml
|
131
|
+
- styleguide/source/styleguide/tab.html.haml
|
132
|
+
- styleguide/source/styleguide/table.html.haml
|
133
|
+
- styleguide/source/styleguide/teaser.html.haml
|
134
|
+
- styleguide/source/styleguide/teaser_assets.html.haml
|
135
|
+
- styleguide/source/styleguide/teaser_card.html.haml
|
136
|
+
- styleguide/source/styleguide/teaser_list.html.haml
|
137
|
+
- styleguide/source/styleguide/topbar.html.haml
|
138
|
+
- styleguide/source/styleguide/two_column.html.haml
|
139
|
+
- styleguide/source/styleguide/typo.html.haml
|
140
|
+
- styleguide/source/stylesheets/fallbacks/grunticon.loader.js
|
141
|
+
- styleguide/source/stylesheets/partystreusel/_helpers.sass
|
142
|
+
- styleguide/source/stylesheets/partystreusel/_mixins.sass
|
143
|
+
- styleguide/source/stylesheets/partystreusel/_settings.sass
|
144
|
+
- styleguide/source/stylesheets/partystreusel/_styleguide.sass
|
145
|
+
- styleguide/source/stylesheets/partystreusel/all.css
|
146
|
+
- styleguide/source/stylesheets/partystreusel/application.css.sass
|
147
|
+
- styleguide/source/stylesheets/partystreusel/fallbacks/_icons_preview_template.hbs
|
148
|
+
- styleguide/source/stylesheets/partystreusel/fallbacks/_icons_stylesheet_template.hbs
|
149
|
+
- styleguide/source/stylesheets/partystreusel/fallbacks/icons.data.png.css
|
150
|
+
- styleguide/source/stylesheets/partystreusel/fallbacks/icons.data.svg.css
|
151
|
+
- styleguide/source/stylesheets/partystreusel/fallbacks/icons.fallback.css.scss
|
152
|
+
- styleguide/source/stylesheets/partystreusel/ie8.css.sass
|
153
|
+
- styleguide/source/stylesheets/partystreusel/large/_layout.sass
|
154
|
+
- styleguide/source/stylesheets/partystreusel/large/_states.sass
|
155
|
+
- styleguide/source/stylesheets/partystreusel/large/_typo.sass
|
156
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_accordion.sass
|
157
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_breadcrumb.sass
|
158
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_content.sass
|
159
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_form.sass
|
160
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_image.sass
|
161
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_links.sass
|
162
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_readmore.sass
|
163
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_slider.sass
|
164
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_tab.sass
|
165
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_teaser--assets.sass
|
166
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_teaser--card.sass
|
167
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_teaser--list.sass
|
168
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_teaser.sass
|
169
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_topbar.sass
|
170
|
+
- styleguide/source/stylesheets/partystreusel/large/modules/_two_column.sass
|
171
|
+
- styleguide/source/stylesheets/partystreusel/medium/_typo.sass
|
172
|
+
- styleguide/source/stylesheets/partystreusel/medium/modules/_content.sass
|
173
|
+
- styleguide/source/stylesheets/partystreusel/medium/modules/_form.sass
|
174
|
+
- styleguide/source/stylesheets/partystreusel/medium/modules/_iconbar.sass
|
175
|
+
- styleguide/source/stylesheets/partystreusel/medium/modules/_links.sass
|
176
|
+
- styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--assets.sass
|
177
|
+
- styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--card.sass
|
178
|
+
- styleguide/source/stylesheets/partystreusel/medium/modules/_teaser--list.sass
|
179
|
+
- styleguide/source/stylesheets/partystreusel/medium/modules/_teaser.sass
|
180
|
+
- styleguide/source/stylesheets/partystreusel/normalize.css
|
181
|
+
- styleguide/source/stylesheets/partystreusel/partystreusel.css.sass
|
182
|
+
- styleguide/source/stylesheets/partystreusel/small/_layout.sass
|
183
|
+
- styleguide/source/stylesheets/partystreusel/small/_states.sass
|
184
|
+
- styleguide/source/stylesheets/partystreusel/small/_typo.sass
|
185
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_accordion.sass
|
186
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_breadcrumb.sass
|
187
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_button.sass
|
188
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_content.sass
|
189
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_dropdown.sass
|
190
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_embeds.sass
|
191
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_form.sass
|
192
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_grid.sass
|
193
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_iconbar.sass
|
194
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_icons.sass
|
195
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_image.sass
|
196
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_links.sass
|
197
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_offcanvas.sass
|
198
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_offcanvas_nav.sass
|
199
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_options.sass
|
200
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_readmore.sass
|
201
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_slider.sass
|
202
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_switch.sass
|
203
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_tab.sass
|
204
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_table.sass
|
205
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_teaser--assets.sass
|
206
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_teaser--card.sass
|
207
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_teaser--list.sass
|
208
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_teaser.sass
|
209
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_topbar.sass
|
210
|
+
- styleguide/source/stylesheets/partystreusel/small/modules/_two_column.sass
|
211
|
+
- styleguide/source/stylesheets/partystreusel/xlarge/modules/_teaser_assets.sass
|
212
|
+
- styleguide/source/stylesheets/partystreusel/xlarge/modules/_teaser_card.sass
|
96
213
|
- vendor/assets/javascripts/jquery.cycle2.js
|
97
214
|
- vendor/assets/javascripts/jquery.cycle2.swipe.js
|
98
215
|
homepage: http://www.screenconcept.ch
|
99
216
|
licenses: []
|
217
|
+
metadata: {}
|
100
218
|
post_install_message:
|
101
219
|
rdoc_options: []
|
102
220
|
require_paths:
|
103
221
|
- lib
|
104
222
|
required_ruby_version: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
223
|
requirements:
|
107
|
-
- -
|
224
|
+
- - '>='
|
108
225
|
- !ruby/object:Gem::Version
|
109
226
|
version: '0'
|
110
|
-
segments:
|
111
|
-
- 0
|
112
|
-
hash: 8148936645550381
|
113
227
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
228
|
requirements:
|
116
|
-
- -
|
229
|
+
- - '>='
|
117
230
|
- !ruby/object:Gem::Version
|
118
231
|
version: '0'
|
119
|
-
segments:
|
120
|
-
- 0
|
121
|
-
hash: 8148936645550381
|
122
232
|
requirements: []
|
123
233
|
rubyforge_project: partystreusel
|
124
|
-
rubygems_version:
|
234
|
+
rubygems_version: 2.0.14
|
125
235
|
signing_key:
|
126
|
-
specification_version:
|
236
|
+
specification_version: 4
|
127
237
|
summary: A collection uf reusable javascript components by Screen Concept
|
128
238
|
test_files:
|
129
239
|
- spec/javascripts/helpers/.gitkeep
|