middleman-oulu 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/stylesheets/_oulu-base.sass +1 -0
- data/assets/stylesheets/helpers/_typoglaphy.sass +13 -15
- data/assets/stylesheets/modules/buttons/_button-base.sass +0 -1
- data/assets/stylesheets/modules/buttons/_button-helper.sass +7 -1
- data/assets/stylesheets/modules/buttons/_buttons.sass +5 -7
- data/assets/stylesheets/modules/buttons/styles/_border.sass +0 -19
- data/assets/stylesheets/modules/buttons/styles/_flat-emboss.sass +0 -28
- data/assets/stylesheets/modules/buttons/styles/_flat-round.sass +23 -0
- data/assets/stylesheets/modules/navs/_tabs-nav.sass +0 -1
- data/assets/stylesheets/settings/functions/_display.sass +2 -2
- data/assets/stylesheets/settings/mixins/_block.sass +0 -2
- data/assets/stylesheets/settings/mixins/_grid.sass +9 -4
- data/assets/stylesheets/settings/mixins/_rem.sass +1 -1
- data/assets/stylesheets/settings/mixins/_resets.sass +0 -1
- data/assets/stylesheets/settings/mixins/_table.sass +0 -1
- data/assets/stylesheets/settings/mixins/_text.sass +1 -1
- data/assets/stylesheets/settings/variables/_default.sass +1 -1
- data/lib/middleman-oulu/version.rb +1 -1
- metadata +3 -39
- data/assets/javascripts/oulu/helpers/js-autosize.js.coffee +0 -2
- data/assets/javascripts/oulu/helpers/js-checkbox.js.coffee +0 -6
- data/assets/javascripts/oulu/helpers/js-click-animate.js.coffee +0 -8
- data/assets/javascripts/oulu/helpers/js-delay-hidden.js.coffee +0 -4
- data/assets/javascripts/oulu/helpers/js-focused.js.coffee +0 -7
- data/assets/javascripts/oulu/helpers/js-hack.js.coffee +0 -8
- data/assets/javascripts/oulu/helpers/js-hide-after.j.coffee +0 -5
- data/assets/javascripts/oulu/helpers/js-hover-z-index.js.coffee +0 -5
- data/assets/javascripts/oulu/helpers/js-hovered.js.coffee +0 -17
- data/assets/javascripts/oulu/helpers/js-one-animate.js.coffee +0 -5
- data/assets/javascripts/oulu/helpers/js-open-children.js.coffee +0 -28
- data/assets/javascripts/oulu/helpers/js-open.js.coffee +0 -51
- data/assets/javascripts/oulu/helpers/js-scroll-to-top.js.coffee +0 -11
- data/assets/javascripts/oulu/helpers/js-scroll.js.coffee +0 -9
- data/assets/javascripts/oulu/helpers/js-side-slide.js.coffee +0 -6
- data/assets/javascripts/oulu/helpers/js-window-loading.js.coffee +0 -15
- data/assets/javascripts/oulu/helpers/js-window-sizes.js.coffee +0 -6
- data/assets/javascripts/oulu/helpers/open-close.js.coffee +0 -23
- data/assets/javascripts/oulu/ie/PIE_IE678.js +0 -72
- data/assets/javascripts/oulu/ie/PIE_IE9.js +0 -46
- data/assets/javascripts/oulu/ie/ie-selectors.js.coffee +0 -3
- data/assets/javascripts/oulu/ie/ie8-selectors.js.coffee +0 -3
- data/assets/javascripts/oulu/ie/ie9-selectors.js.coffee +0 -6
- data/assets/javascripts/oulu/ie/jquery.belatedPNG.min.js +0 -29
- data/assets/javascripts/oulu/ie/jquery.linkscubber.js +0 -7
- data/assets/javascripts/oulu/ie/svgeezy.min.js +0 -12
- data/assets/javascripts/oulu/plugins/check-box.js.coffee +0 -34
- data/assets/javascripts/oulu/plugins/footerFixed.js +0 -74
- data/assets/javascripts/oulu/plugins/jquery.autosize.min.js +0 -7
- data/assets/javascripts/oulu/plugins/jquery.cheat-code.js +0 -63
- data/assets/javascripts/oulu/plugins/jquery.css3form.js +0 -195
- data/assets/javascripts/oulu/plugins/jquery.depend.min.js +0 -13
- data/assets/javascripts/oulu/plugins/sns-buttons.js +0 -339
- data/assets/javascripts/oulu/plugins/waves.js +0 -338
- data/assets/javascripts/oulu-ie8.js +0 -6
- data/assets/javascripts/oulu-ie9.js +0 -2
- data/assets/javascripts/oulu.js +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b49953e672b7176c8efe90c02e45bb85bc98f166
|
4
|
+
data.tar.gz: eb7d573538a3c6c7ee91360565dab62c18aec226
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef0a3664acdf4124ee40f32061af2bf69c65bcfae191474764fc84f0096aa7f836b75cca0b8e60ca48fc91137fa0732a9b28351b06fc79c395fc2b523246e83c
|
7
|
+
data.tar.gz: 565f4829b749ce59e17dd674195862348aa208415e02b3e0e5617fe2372cfbb6709d998537a9d8e7f659c8cfb6bfd978410ca5495dedd9d97b56b1c45ef86c81
|
@@ -9,20 +9,18 @@ body
|
|
9
9
|
.is-serif
|
10
10
|
+serif
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
letter-
|
15
|
-
|
16
|
-
letter-
|
17
|
-
|
12
|
+
@for $i from 0 through 24
|
13
|
+
$value: $i/10
|
14
|
+
.is-letter-specing-#{$i}px
|
15
|
+
letter-spacing: $value
|
16
|
+
.is-letter-specing-center-#{$i}px
|
17
|
+
letter-spacing: $value
|
18
|
+
text-indent: $value
|
18
19
|
|
19
|
-
|
20
|
-
.is-center-align
|
21
|
-
text-align: center
|
22
|
-
.is-right-align
|
23
|
-
text-align: right
|
24
|
-
.is-left-align
|
25
|
-
text-align: left
|
26
|
-
|
27
|
-
.is-nowrap
|
20
|
+
.is-white-space-nowrap
|
28
21
|
white-space: nowrap
|
22
|
+
|
23
|
+
$positions: left center right
|
24
|
+
@each $position in $positions
|
25
|
+
.is-text-align-#{$position}
|
26
|
+
text-align: $position
|
@@ -9,6 +9,12 @@
|
|
9
9
|
+inline-block
|
10
10
|
+rem('font-size', 12px)
|
11
11
|
+rem('margin-left', 6px)
|
12
|
+
&.is-disabled,
|
13
|
+
&:disabled
|
14
|
+
pointer-events: none
|
15
|
+
cursor: default
|
16
|
+
select
|
17
|
+
cursor: default
|
12
18
|
|
13
19
|
// button-group
|
14
20
|
.is-button-group
|
@@ -18,7 +24,7 @@
|
|
18
24
|
letter-spacing: normal
|
19
25
|
font-size: 0
|
20
26
|
[class^="is-button"]
|
21
|
-
|
27
|
+
border-radius: 0
|
22
28
|
&:first-child
|
23
29
|
[class^="is-button"]
|
24
30
|
+border-radius(left, 4px)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
$button-sizes: xs, sm, md, lg, xl !default
|
2
2
|
$button-color-names: default, primary, success, warning, danger !default
|
3
|
-
$button-styles: normal, border, bold-border, flat-emboss, material !default
|
3
|
+
$button-styles: normal, border, bold-border, flat-emboss, material, flat-round !default
|
4
4
|
|
5
5
|
@import button-base
|
6
6
|
|
@@ -9,15 +9,10 @@ $button-styles: normal, border, bold-border, flat-emboss, material !default
|
|
9
9
|
@import styles/border
|
10
10
|
@import styles/flat-emboss
|
11
11
|
@import styles/material
|
12
|
+
@import styles/flat-round
|
12
13
|
|
13
14
|
@import button-helper
|
14
15
|
|
15
|
-
// inputのスタイルを継承させる
|
16
|
-
input[type= submit]
|
17
|
-
color: inherit
|
18
|
-
font-size: inherit
|
19
|
-
font-weight: inherit
|
20
|
-
|
21
16
|
=button($style, $size, $color, $options: false)
|
22
17
|
+button-base
|
23
18
|
@if $style == normal
|
@@ -35,6 +30,9 @@ input[type= submit]
|
|
35
30
|
@else if $style == material
|
36
31
|
+button-size($size, false, false)
|
37
32
|
+material-button($color)
|
33
|
+
@else if $style == flat-round
|
34
|
+
+button-size($size, false, false)
|
35
|
+
+flat-round-button($color)
|
38
36
|
@each $option in $options
|
39
37
|
@if $option == 'left'
|
40
38
|
text-align: left
|
@@ -22,22 +22,3 @@
|
|
22
22
|
&.is-checked
|
23
23
|
color: $default-text-reversal
|
24
24
|
background-color: $color
|
25
|
-
&.is-disabled
|
26
|
-
border-color: desaturate($color, 50%)
|
27
|
-
color: desaturate($color, 50%)
|
28
|
-
cursor: default !important
|
29
|
-
opacity: .6
|
30
|
-
pointer-events: none
|
31
|
-
*
|
32
|
-
cursor: default !important
|
33
|
-
&:hover,
|
34
|
-
&.hover,
|
35
|
-
&.is-hover,
|
36
|
-
&:active,
|
37
|
-
&.active,
|
38
|
-
&.is-active
|
39
|
-
border-color: desaturate($color, 50%)
|
40
|
-
color: desaturate($color, 50%)
|
41
|
-
cursor: default !important
|
42
|
-
opacity: .6
|
43
|
-
pointer-events: none
|
@@ -1,8 +1,4 @@
|
|
1
1
|
=flat-emboss-button($color: blue)
|
2
|
-
@if luma($color) > 90
|
3
|
-
$color: #f2f2f2
|
4
|
-
@else
|
5
|
-
$color: $color
|
6
2
|
+transition(.5s (background-image))
|
7
3
|
background-color: $color
|
8
4
|
color: luma_contrast_color($color)
|
@@ -26,27 +22,3 @@
|
|
26
22
|
background-color: $color
|
27
23
|
box-shadow: shade($color, 18%) 0 2px 0
|
28
24
|
+top(1px)
|
29
|
-
&.is-disabled
|
30
|
-
@if luma($color) > 90
|
31
|
-
$color: #f2f2f2
|
32
|
-
@else
|
33
|
-
$color: $color
|
34
|
-
$color: desaturate($color, 10%)
|
35
|
-
cursor: default
|
36
|
-
color: rgba(luma_contrast_color($color), .7)
|
37
|
-
background-color: $color
|
38
|
-
box-shadow: shade($color, 10%) 0 0 0 1px inset
|
39
|
-
text-shadow: none
|
40
|
-
&:hover,
|
41
|
-
&.hover,
|
42
|
-
&.is-hover,
|
43
|
-
&:active,
|
44
|
-
&.active,
|
45
|
-
&.is-active
|
46
|
-
cursor: default
|
47
|
-
color: rgba(luma_contrast_color($color), .7)
|
48
|
-
background-color: $color
|
49
|
-
box-shadow: shade($color, 10%) 0 0 0 1px inset
|
50
|
-
text-shadow: none
|
51
|
-
+top(0)
|
52
|
-
pointer-events: none
|
@@ -0,0 +1,23 @@
|
|
1
|
+
=flat-round-button($color: blue)
|
2
|
+
+transition(.5s (background-image))
|
3
|
+
background-color: $color
|
4
|
+
color: luma_contrast_color($color)
|
5
|
+
font-weight: bold
|
6
|
+
border-radius: 1000px
|
7
|
+
&:hover,
|
8
|
+
&.hover,
|
9
|
+
&.is-hover
|
10
|
+
$color: lighten($color, 6%)
|
11
|
+
@if luma($color) > 90
|
12
|
+
background-color: #f2f2f2
|
13
|
+
@else
|
14
|
+
background-color: $color
|
15
|
+
&:active,
|
16
|
+
&.active,
|
17
|
+
&.is-active
|
18
|
+
$color: lighten($color, 6%)
|
19
|
+
@if luma($color) > 90
|
20
|
+
background-color: #f2f2f2
|
21
|
+
@else
|
22
|
+
background-color: $color
|
23
|
+
+top(1px)
|
@@ -26,7 +26,6 @@ $tabs-nav-current-font-color: red !default
|
|
26
26
|
+rem('padding-bottom', $tabs-nav-border-width)
|
27
27
|
+text-block($tabs-nav-font-size round($tabs-nav-font-size*2.6), center $tabs-nav-font-color)
|
28
28
|
+padding(horizontal, $tabs-nav-font-size*1.6)
|
29
|
-
box-sizing: border-box
|
30
29
|
position: relative
|
31
30
|
&:before
|
32
31
|
display: block
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@function display($value)
|
2
|
-
@if $value ==
|
3
|
-
|
2
|
+
@if $value == "inline" or $value == "block" or $value == "list-item" or $value == "run-in" or $value == "inline-block" or $value == "table" or $value == "inline-table" or $value == "table-row-group" or $value == "table-header-group" or $value == "table-footer-group" or $value == "table-row" or $value == "table-column-group" or $value == "table-column" or $value == "table-cell" or $value == "table-caption" or $value == "none"
|
3
|
+
@return true
|
4
4
|
@else
|
5
5
|
@return null
|
@@ -14,7 +14,6 @@
|
|
14
14
|
+fixed(left 50%, top 50%, $block-z-index)
|
15
15
|
+rem('margin-top', $block-height / 2 * -1)
|
16
16
|
+rem('margin-left', $block-width / 2 * -1)
|
17
|
-
box-sizing: border-box
|
18
17
|
|
19
18
|
=horizontal-center-block($values)
|
20
19
|
$block-width: optional_nth($values, 1)
|
@@ -22,7 +21,6 @@
|
|
22
21
|
+rem('width', $block-width)
|
23
22
|
+fixed(left 50%, $block-z-index)
|
24
23
|
+rem('margin-left', $block-width / 2 * -1)
|
25
|
-
box-sizing: border-box
|
26
24
|
|
27
25
|
=square-block($values)
|
28
26
|
$square-block-size: optional_nth($values, 1)
|
@@ -77,12 +77,17 @@
|
|
77
77
|
@media (min-width: $screen-lg-min)
|
78
78
|
+make-grid(lg)
|
79
79
|
|
80
|
-
.row,
|
81
|
-
[class^="col-"]
|
82
|
-
box-sizing: border-box
|
83
|
-
|
84
80
|
=grid($gutter-size)
|
85
81
|
&.row
|
86
82
|
+margin(horizontal, $gutter-size/2 * -1)
|
87
83
|
>*
|
88
84
|
+padding(horizontal, $gutter-size/2)
|
85
|
+
|
86
|
+
// helper
|
87
|
+
.row
|
88
|
+
@for $i from 0 through 16
|
89
|
+
$gutter-size: $i * 4
|
90
|
+
&.is-gutter-width-#{$gutter-size}px
|
91
|
+
+margin(horizontal, $gutter-size / 2 * -1px)
|
92
|
+
>*
|
93
|
+
+padding(horizontal, $gutter-size / 2 * 1px)
|
@@ -12,7 +12,7 @@ $baseline-px: 10px !default
|
|
12
12
|
font-size: strip_unit($baseline-px / 10) * 1rem
|
13
13
|
|
14
14
|
=rem($property, $px-values, $important: null)
|
15
|
-
@if $rem == true and px($px-values) or list($px-values)
|
15
|
+
@if $rem == true and (px($px-values) or list($px-values))
|
16
16
|
@if $property == "font-size" and $px-values < 10px
|
17
17
|
// 9px以下のfont-sizeを使う設定(IE8不可)
|
18
18
|
+base-font-size
|
@@ -23,7 +23,6 @@
|
|
23
23
|
|
24
24
|
// +table-cell(middle (12px 16px) no_wrap $white, (14px 1.8 1.4em, black bold center), (bottom, solid 1px black))
|
25
25
|
=table-cell($value1: null, $value2: null, $value3: null)
|
26
|
-
box-sizing: border-box
|
27
26
|
@if $value1
|
28
27
|
@for $i from 1 through length($value1)
|
29
28
|
+table-cell-assign(nth($value1, $i))
|
@@ -5,7 +5,7 @@
|
|
5
5
|
color: if(color($value), $value, null)
|
6
6
|
white-space: if(white_space($value), $value, null)
|
7
7
|
display: if(display($value), $value, null)
|
8
|
-
@if
|
8
|
+
@if number($value)
|
9
9
|
+top($value, null)
|
10
10
|
|
11
11
|
// +text-block($font-size $line-height $margin-bottom, $font-weight $text-align $color $top)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-oulu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- machida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -78,43 +78,6 @@ files:
|
|
78
78
|
- LICENSE.txt
|
79
79
|
- README.md
|
80
80
|
- Rakefile
|
81
|
-
- assets/javascripts/oulu-ie8.js
|
82
|
-
- assets/javascripts/oulu-ie9.js
|
83
|
-
- assets/javascripts/oulu.js
|
84
|
-
- assets/javascripts/oulu/helpers/js-autosize.js.coffee
|
85
|
-
- assets/javascripts/oulu/helpers/js-checkbox.js.coffee
|
86
|
-
- assets/javascripts/oulu/helpers/js-click-animate.js.coffee
|
87
|
-
- assets/javascripts/oulu/helpers/js-delay-hidden.js.coffee
|
88
|
-
- assets/javascripts/oulu/helpers/js-focused.js.coffee
|
89
|
-
- assets/javascripts/oulu/helpers/js-hack.js.coffee
|
90
|
-
- assets/javascripts/oulu/helpers/js-hide-after.j.coffee
|
91
|
-
- assets/javascripts/oulu/helpers/js-hover-z-index.js.coffee
|
92
|
-
- assets/javascripts/oulu/helpers/js-hovered.js.coffee
|
93
|
-
- assets/javascripts/oulu/helpers/js-one-animate.js.coffee
|
94
|
-
- assets/javascripts/oulu/helpers/js-open-children.js.coffee
|
95
|
-
- assets/javascripts/oulu/helpers/js-open.js.coffee
|
96
|
-
- assets/javascripts/oulu/helpers/js-scroll-to-top.js.coffee
|
97
|
-
- assets/javascripts/oulu/helpers/js-scroll.js.coffee
|
98
|
-
- assets/javascripts/oulu/helpers/js-side-slide.js.coffee
|
99
|
-
- assets/javascripts/oulu/helpers/js-window-loading.js.coffee
|
100
|
-
- assets/javascripts/oulu/helpers/js-window-sizes.js.coffee
|
101
|
-
- assets/javascripts/oulu/helpers/open-close.js.coffee
|
102
|
-
- assets/javascripts/oulu/ie/PIE_IE678.js
|
103
|
-
- assets/javascripts/oulu/ie/PIE_IE9.js
|
104
|
-
- assets/javascripts/oulu/ie/ie-selectors.js.coffee
|
105
|
-
- assets/javascripts/oulu/ie/ie8-selectors.js.coffee
|
106
|
-
- assets/javascripts/oulu/ie/ie9-selectors.js.coffee
|
107
|
-
- assets/javascripts/oulu/ie/jquery.belatedPNG.min.js
|
108
|
-
- assets/javascripts/oulu/ie/jquery.linkscubber.js
|
109
|
-
- assets/javascripts/oulu/ie/svgeezy.min.js
|
110
|
-
- assets/javascripts/oulu/plugins/check-box.js.coffee
|
111
|
-
- assets/javascripts/oulu/plugins/footerFixed.js
|
112
|
-
- assets/javascripts/oulu/plugins/jquery.autosize.min.js
|
113
|
-
- assets/javascripts/oulu/plugins/jquery.cheat-code.js
|
114
|
-
- assets/javascripts/oulu/plugins/jquery.css3form.js
|
115
|
-
- assets/javascripts/oulu/plugins/jquery.depend.min.js
|
116
|
-
- assets/javascripts/oulu/plugins/sns-buttons.js
|
117
|
-
- assets/javascripts/oulu/plugins/waves.js
|
118
81
|
- assets/stylesheets/_oulu-base.sass
|
119
82
|
- assets/stylesheets/_oulu.sass
|
120
83
|
- assets/stylesheets/helpers/_block.sass
|
@@ -128,6 +91,7 @@ files:
|
|
128
91
|
- assets/stylesheets/modules/buttons/_buttons.sass
|
129
92
|
- assets/stylesheets/modules/buttons/styles/_border.sass
|
130
93
|
- assets/stylesheets/modules/buttons/styles/_flat-emboss.sass
|
94
|
+
- assets/stylesheets/modules/buttons/styles/_flat-round.sass
|
131
95
|
- assets/stylesheets/modules/buttons/styles/_material.sass
|
132
96
|
- assets/stylesheets/modules/buttons/styles/_normal.sass
|
133
97
|
- assets/stylesheets/modules/navs/_tabs-nav.sass
|
@@ -1,17 +0,0 @@
|
|
1
|
-
$ ->
|
2
|
-
$('.js-hover').hover (->
|
3
|
-
$(this).addClass('is-hovered')
|
4
|
-
), ->
|
5
|
-
$(this).removeClass('is-hovered')
|
6
|
-
|
7
|
-
$ ->
|
8
|
-
$('.js-next-hover').hover (->
|
9
|
-
$(this).next().addClass('is-hover')
|
10
|
-
), ->
|
11
|
-
$(this).next().removeClass('is-hover')
|
12
|
-
|
13
|
-
$ ->
|
14
|
-
$('.js-child-hover-show').hover (->
|
15
|
-
$(this).find('.js-child-hover-show-target').removeClass('is-hidden')
|
16
|
-
), ->
|
17
|
-
$(this).find('.js-child-hover-show-target').addClass('is-hidden')
|
@@ -1,28 +0,0 @@
|
|
1
|
-
$ ->
|
2
|
-
$(".js-show-child").click ->
|
3
|
-
if $(this).hasClass("selected")
|
4
|
-
|
5
|
-
# メニュー非表示
|
6
|
-
$(this).removeClass("selected")
|
7
|
-
$(this).find(".is-shown").addClass('is-hidden')
|
8
|
-
$(this).find(".is-shown").removeClass('is-shown')
|
9
|
-
else
|
10
|
-
|
11
|
-
# 表示しているメニューを閉じる
|
12
|
-
$(".js-show-child").removeClass "selected"
|
13
|
-
$(".js-show-child ul").addClass('is-hidden')
|
14
|
-
$(".js-show-child ul").removeClass('is-shown')
|
15
|
-
|
16
|
-
# メニュー表示
|
17
|
-
$(this).addClass("selected").find("ul").addClass('is-shown')
|
18
|
-
$(this).addClass("selected").find("ul").removeClass('is-hidden')
|
19
|
-
|
20
|
-
# メニュー外でクリックすると閉じる
|
21
|
-
$(".js-show-child").hover (->
|
22
|
-
$("body").addClass('js-keep-child')
|
23
|
-
), ->
|
24
|
-
$("body").removeClass('js-keep-child')
|
25
|
-
$("body").click ->
|
26
|
-
if not $("body").hasClass("js-keep-child")
|
27
|
-
$(".js-child").addClass('is-hidden')
|
28
|
-
$(".js-child").removeClass('is-shown')
|
@@ -1,51 +0,0 @@
|
|
1
|
-
$ ->
|
2
|
-
$('.js-open-me').click ->
|
3
|
-
$(this).toggleClass('is-closed')
|
4
|
-
$(this).toggleClass('is-opend')
|
5
|
-
|
6
|
-
$ ->
|
7
|
-
$('.js-open').click ->
|
8
|
-
$(this).parents('.js-open-parent').find('.js-open-target').toggleClass('is-closed')
|
9
|
-
$(this).parents('.js-open-parent').find('.js-open-target').toggleClass('is-opend')
|
10
|
-
|
11
|
-
$ ->
|
12
|
-
$('.js-open-parent').click ->
|
13
|
-
$(this).parent('.js-open-parent-target').toggleClass('is-closed')
|
14
|
-
$(this).parent('.js-open-parent-target').toggleClass('is-opend')
|
15
|
-
|
16
|
-
$ ->
|
17
|
-
$('.js-open-parents').click ->
|
18
|
-
$(this).parents('.js-open-parents-target').toggleClass('is-closed')
|
19
|
-
$(this).parents('.js-open-parents-target').toggleClass('is-opend')
|
20
|
-
|
21
|
-
$ ->
|
22
|
-
$('.js-open-prev').click ->
|
23
|
-
$(this).prev().toggleClass('is-closed')
|
24
|
-
$(this).prev().toggleClass('is-opend')
|
25
|
-
|
26
|
-
$ ->
|
27
|
-
$('.js-open-prevAll').click ->
|
28
|
-
$(this).prevAll('.js-open-prevAll-target').toggleClass('is-closed')
|
29
|
-
$(this).prevAll('.js-open-prevAll-target').toggleClass('is-opend')
|
30
|
-
|
31
|
-
$ ->
|
32
|
-
$('.js-open-closest').click ->
|
33
|
-
$(this).closest('.js-open-closest-target').toggleClass('is-closed')
|
34
|
-
$(this).closest('.js-open-closest-target').toggleClass('is-opend')
|
35
|
-
|
36
|
-
$ ->
|
37
|
-
$('.js-open-closest').click ->
|
38
|
-
$(this).closest('.js-open-closest-target').toggleClass('is-closed')
|
39
|
-
$(this).closest('.js-open-closest-target').toggleClass('is-opend')
|
40
|
-
|
41
|
-
$ ->
|
42
|
-
$('.js-open-target').click ->
|
43
|
-
$('.js-open-target-target').toggleClass('is-closed')
|
44
|
-
$('.js-open-target-target').toggleClass('is-opend')
|
45
|
-
|
46
|
-
$ ->
|
47
|
-
$('.js-horizontal-open').click ->
|
48
|
-
$(this).parents('.js-horizontal-open-parent').find('.js-horizontal-target').toggleClass('is-closed')
|
49
|
-
$(this).parents('.js-horizontal-open-parent').find('.js-horizontal-target').toggleClass('is-opend')
|
50
|
-
$(this).parents('.js-horizontal-open-parent').toggleClass('child-is-opend')
|
51
|
-
$(this).parents('.js-horizontal-open-parent').toggleClass('child-is-closed')
|
@@ -1,11 +0,0 @@
|
|
1
|
-
$ ->
|
2
|
-
$(window).scroll ->
|
3
|
-
headerHight = $('.header').height()
|
4
|
-
heroHeight= $('.hero').height()
|
5
|
-
postion = headerHight + heroHeight
|
6
|
-
scrollY = $(this).scrollTop()
|
7
|
-
if scrollY > postion
|
8
|
-
$('.js-scroll-to-top').addClass('is-actived')
|
9
|
-
else
|
10
|
-
$('.js-scroll-to-top').removeClass('is-actived')
|
11
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
$('.page').ready ->
|
2
|
-
$ ->
|
3
|
-
$('.js-window-loading').fadeOut()
|
4
|
-
$('.page').fadeIn()
|
5
|
-
return
|
6
|
-
return
|
7
|
-
|
8
|
-
$ ->
|
9
|
-
$('a').not("a[href^=#]").click ->
|
10
|
-
$('.js-window-loading').fadeIn()
|
11
|
-
return
|
12
|
-
|
13
|
-
$(document).bind "page:restore", handler ->
|
14
|
-
$('.js-window-loading').fadeOut()
|
15
|
-
|
@@ -1,23 +0,0 @@
|
|
1
|
-
$ ->
|
2
|
-
$('.js-hide').click ->
|
3
|
-
$(this).parent().find('.js-hidden').addClass('is-hidden')
|
4
|
-
$(this).parent().find('.js-hidden').removeClass('is-shown')
|
5
|
-
$(this).addClass('is-hidden')
|
6
|
-
$(this).next('.js-show').removeClass('is-hidden')
|
7
|
-
$ ->
|
8
|
-
$('.js-show').click ->
|
9
|
-
$(this).parent().find('.js-shown').addClass('is-shown')
|
10
|
-
$(this).parent().find('.js-shown').removeClass('is-hidden')
|
11
|
-
$(this).addClass('is-hidden')
|
12
|
-
$(this).prev('.js-hide').removeClass('is-hidden')
|
13
|
-
$ ->
|
14
|
-
$('.js-parent-close').click ->
|
15
|
-
$(this).parent('.js-hidden').addClass('is-hidden')
|
16
|
-
$(this).parent('.js-hidden').removeClass('is-shown')
|
17
|
-
$(this).addClass('is-hidden')
|
18
|
-
|
19
|
-
$ ->
|
20
|
-
$('.js-parents-close').click ->
|
21
|
-
$(this).parents('.js-hidden').addClass('is-hidden')
|
22
|
-
$(this).parents('.js-hidden').removeClass('is-shown')
|
23
|
-
$(this).addClass('is-hidden')
|