timequake 2.0.11 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -3
  3. data/Gemfile.lock +1 -96
  4. data/README.md +5 -22
  5. data/app/assets/stylesheets/timequake/layout.scss +10 -10
  6. data/lib/generators/timequake/install_generator.rb +0 -3
  7. data/lib/generators/timequake/templates/timequake_overrides.scss +1 -58
  8. data/lib/timequake/version.rb +1 -1
  9. data/lib/timequake.rb +0 -2
  10. data/timequake.gemspec +0 -3
  11. metadata +4 -68
  12. data/app/assets/config/timequake_manifest.js +0 -1
  13. data/app/assets/javascripts/timequake/modals.js +0 -19
  14. data/app/assets/javascripts/timequake.js +0 -4
  15. data/app/assets/stylesheets/hamburgers/_base.scss +0 -86
  16. data/app/assets/stylesheets/hamburgers/hamburgers.scss +0 -118
  17. data/app/assets/stylesheets/hamburgers/types/_3dx-r.scss +0 -35
  18. data/app/assets/stylesheets/hamburgers/types/_3dx.scss +0 -35
  19. data/app/assets/stylesheets/hamburgers/types/_3dxy-r.scss +0 -35
  20. data/app/assets/stylesheets/hamburgers/types/_3dxy.scss +0 -35
  21. data/app/assets/stylesheets/hamburgers/types/_3dy-r.scss +0 -35
  22. data/app/assets/stylesheets/hamburgers/types/_3dy.scss +0 -35
  23. data/app/assets/stylesheets/hamburgers/types/_arrow-r.scss +0 -16
  24. data/app/assets/stylesheets/hamburgers/types/_arrow.scss +0 -16
  25. data/app/assets/stylesheets/hamburgers/types/_arrowalt-r.scss +0 -36
  26. data/app/assets/stylesheets/hamburgers/types/_arrowalt.scss +0 -36
  27. data/app/assets/stylesheets/hamburgers/types/_arrowturn-r.scss +0 -18
  28. data/app/assets/stylesheets/hamburgers/types/_arrowturn.scss +0 -18
  29. data/app/assets/stylesheets/hamburgers/types/_boring.scss +0 -30
  30. data/app/assets/stylesheets/hamburgers/types/_collapse-r.scss +0 -47
  31. data/app/assets/stylesheets/hamburgers/types/_collapse.scss +0 -47
  32. data/app/assets/stylesheets/hamburgers/types/_elastic-r.scss +0 -41
  33. data/app/assets/stylesheets/hamburgers/types/_elastic.scss +0 -41
  34. data/app/assets/stylesheets/hamburgers/types/_emphatic-r.scss +0 -53
  35. data/app/assets/stylesheets/hamburgers/types/_emphatic.scss +0 -53
  36. data/app/assets/stylesheets/hamburgers/types/_minus.scss +0 -34
  37. data/app/assets/stylesheets/hamburgers/types/_slider-r.scss +0 -38
  38. data/app/assets/stylesheets/hamburgers/types/_slider.scss +0 -38
  39. data/app/assets/stylesheets/hamburgers/types/_spin-r.scss +0 -43
  40. data/app/assets/stylesheets/hamburgers/types/_spin.scss +0 -43
  41. data/app/assets/stylesheets/hamburgers/types/_spring-r.scss +0 -47
  42. data/app/assets/stylesheets/hamburgers/types/_spring.scss +0 -44
  43. data/app/assets/stylesheets/hamburgers/types/_squeeze.scss +0 -43
  44. data/app/assets/stylesheets/hamburgers/types/_stand-r.scss +0 -45
  45. data/app/assets/stylesheets/hamburgers/types/_stand.scss +0 -45
  46. data/app/assets/stylesheets/hamburgers/types/_vortex-r.scss +0 -48
  47. data/app/assets/stylesheets/hamburgers/types/_vortex.scss +0 -48
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa5956d164a95d1f61677b103337cd0c5d1e47ca29af1609ac3080c377e7ceae
4
- data.tar.gz: 365f970fcf17500352bcb6bd675dbce9c3a0264460db55c604a091ab3ea7f6e4
3
+ metadata.gz: 746f6d88e476ae128896b31ab0239fada02d785b8471ba1ff8bedc59888abb1f
4
+ data.tar.gz: 0673ef1fa9c1c74ae674cf8e7ea6b23a1f4097702c064591146d8c24cca5c8c7
5
5
  SHA512:
6
- metadata.gz: d1a42243a624cd77d59b98b0156bcfe35a43b2318cf003d5736d0a2677763eae9c23e6cbafb0124bef8ae952ce9edd9f3cc84065b980a92570c9aa65b2d8a829
7
- data.tar.gz: 98357297a9f04681eec1e46b86ef680c32513c5a126dcd9765346820e9b0747434e6cb68d5ffd18549fccc0901bd9b27a0b24fccf59e89047e839815c6727cb2
6
+ metadata.gz: d66c0e9a51a256ab2d4734357e688afd950485d17060b000d4896d3ddeeb4ad0d96c9f931ba1cce70eb22fe68c87346c65a01b537c4844befb8c09211ae0df22
7
+ data.tar.gz: ff801535b1964e5ad18cb0d6f7bcc7fe672a3dc2afcb207254ec7628e948a4f4103e4f623913d6f8efe665eeef832e6944efd361008bc30b6c637f9d01cbdd79
data/Gemfile CHANGED
@@ -2,6 +2,3 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in timequake.gemspec
4
4
  gemspec
5
-
6
- gem "rake", "~> 12.0"
7
- gem "rspec", "~> 3.0"
data/Gemfile.lock CHANGED
@@ -1,111 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- timequake (2.0.11)
5
- jquery-rails (~> 4.4)
6
- sass-rails (~> 6.0)
4
+ timequake (3.0.0)
7
5
 
8
6
  GEM
9
7
  remote: https://rubygems.org/
10
8
  specs:
11
- actionpack (7.0.4.2)
12
- actionview (= 7.0.4.2)
13
- activesupport (= 7.0.4.2)
14
- rack (~> 2.0, >= 2.2.0)
15
- rack-test (>= 0.6.3)
16
- rails-dom-testing (~> 2.0)
17
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (7.0.4.2)
19
- activesupport (= 7.0.4.2)
20
- builder (~> 3.1)
21
- erubi (~> 1.4)
22
- rails-dom-testing (~> 2.0)
23
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activesupport (7.0.4.2)
25
- concurrent-ruby (~> 1.0, >= 1.0.2)
26
- i18n (>= 1.6, < 2)
27
- minitest (>= 5.1)
28
- tzinfo (~> 2.0)
29
- builder (3.2.4)
30
- concurrent-ruby (1.2.0)
31
- crass (1.0.6)
32
- diff-lcs (1.5.0)
33
- erubi (1.12.0)
34
- ffi (1.15.5)
35
- i18n (1.12.0)
36
- concurrent-ruby (~> 1.0)
37
- jquery-rails (4.5.1)
38
- rails-dom-testing (>= 1, < 3)
39
- railties (>= 4.2.0)
40
- thor (>= 0.14, < 2.0)
41
- loofah (2.19.1)
42
- crass (~> 1.0.2)
43
- nokogiri (>= 1.5.9)
44
- method_source (1.0.0)
45
- mini_portile2 (2.8.1)
46
- minitest (5.17.0)
47
- nokogiri (1.14.1)
48
- mini_portile2 (~> 2.8.0)
49
- racc (~> 1.4)
50
- racc (1.6.2)
51
- rack (2.2.6.2)
52
- rack-test (2.0.2)
53
- rack (>= 1.3)
54
- rails-dom-testing (2.0.3)
55
- activesupport (>= 4.2.0)
56
- nokogiri (>= 1.6)
57
- rails-html-sanitizer (1.5.0)
58
- loofah (~> 2.19, >= 2.19.1)
59
- railties (7.0.4.2)
60
- actionpack (= 7.0.4.2)
61
- activesupport (= 7.0.4.2)
62
- method_source
63
- rake (>= 12.2)
64
- thor (~> 1.0)
65
- zeitwerk (~> 2.5)
66
- rake (12.3.3)
67
- rspec (3.11.0)
68
- rspec-core (~> 3.11.0)
69
- rspec-expectations (~> 3.11.0)
70
- rspec-mocks (~> 3.11.0)
71
- rspec-core (3.11.0)
72
- rspec-support (~> 3.11.0)
73
- rspec-expectations (3.11.1)
74
- diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.11.0)
76
- rspec-mocks (3.11.1)
77
- diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.11.0)
79
- rspec-support (3.11.0)
80
- sass-rails (6.0.0)
81
- sassc-rails (~> 2.1, >= 2.1.1)
82
- sassc (2.4.0)
83
- ffi (~> 1.9)
84
- sassc-rails (2.1.2)
85
- railties (>= 4.0.0)
86
- sassc (>= 2.0)
87
- sprockets (> 3.0)
88
- sprockets-rails
89
- tilt
90
- sprockets (4.2.0)
91
- concurrent-ruby (~> 1.0)
92
- rack (>= 2.2.4, < 4)
93
- sprockets-rails (3.4.2)
94
- actionpack (>= 5.2)
95
- activesupport (>= 5.2)
96
- sprockets (>= 3.0.0)
97
- thor (1.2.1)
98
- tilt (2.0.11)
99
- tzinfo (2.0.6)
100
- concurrent-ruby (~> 1.0)
101
- zeitwerk (2.6.6)
102
9
 
103
10
  PLATFORMS
104
11
  ruby
105
12
 
106
13
  DEPENDENCIES
107
- rake (~> 12.0)
108
- rspec (~> 3.0)
109
14
  timequake!
110
15
 
111
16
  BUNDLED WITH
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Timequake
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/timequake`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ A lightweight scss styles library
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,23 +20,8 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- To install run ```rails g timequake:install```
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
23
+ For rails 7 apps using dartsass-rails do the following:
24
+ Run ```bin/bundle add dartsass-rails```
25
+ Run ```bin/rails dartsass:install```
34
26
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/timequake. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/timequake/blob/master/CODE_OF_CONDUCT.md).
36
-
37
-
38
- ## License
39
-
40
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
41
-
42
- ## Code of Conduct
43
-
44
- Everyone interacting in the Timequake project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/timequake/blob/master/CODE_OF_CONDUCT.md).
27
+ To install run ```rails g timequake:install```
@@ -21,39 +21,39 @@ $desktop-gutter: 0 10px !default;
21
21
  }
22
22
 
23
23
  @for $i from 1 through 12 {
24
- .sm-#{$i} { width: 100% / 12 * $i; }
25
- .sm-offset-#{$i} { margin-left: 100% / 12 * $i; }
24
+ .sm-#{$i} { width: calc(100% / 12) * $i; }
25
+ .sm-offset-#{$i} { margin-left: calc(100% / 12) * $i; }
26
26
  .sm-order-#{$i} { order: $i; }
27
27
  }
28
28
 
29
29
  @media (min-width: $medium) {
30
30
  @for $i from 1 through 12 {
31
- .md-#{$i} { width: 100% / 12 * $i; }
32
- .md-offset-#{$i} { margin-left: 100% / 12 * $i; }
31
+ .md-#{$i} { width: calc(100% / 12) * $i; }
32
+ .md-offset-#{$i} { margin-left: calc(100% / 12) * $i; }
33
33
  .md-order-#{$i} { order: $i; }
34
34
  }
35
35
  }
36
36
 
37
37
  @media (min-width: $large) {
38
38
  @for $i from 1 through 12 {
39
- .lg-#{$i} { width: 100% / 12 * $i; }
40
- .lg-offset-#{$i} { margin-left: 100% / 12 * $i; }
39
+ .lg-#{$i} { width: calc(100% / 12) * $i; }
40
+ .lg-offset-#{$i} { margin-left: calc(100% / 12) * $i; }
41
41
  .lg-order-#{$i} { order: $i; }
42
42
  }
43
43
  }
44
44
 
45
45
  @media (min-width: $xlarge) {
46
46
  @for $i from 1 through 12 {
47
- .xlg-#{$i} { width: 100% / 12 * $i; }
48
- .xlg-offset-#{$i} { margin-left: 100% / 12 * $i; }
47
+ .xlg-#{$i} { width: calc(100% / 12) * $i; }
48
+ .xlg-offset-#{$i} { margin-left: calc(100% / 12) * $i; }
49
49
  .xlg-order-#{$i} { order: $i; }
50
50
  }
51
51
  }
52
52
 
53
53
  @media (min-width: $xxlarge) {
54
54
  @for $i from 1 through 12 {
55
- .xxlg-#{$i} { width: 100% / 12 * $i; }
56
- .xxlg-offset-#{$i} { margin-left: 100% / 12 * $i; }
55
+ .xxlg-#{$i} { width: calc(100% / 12) * $i; }
56
+ .xxlg-offset-#{$i} { margin-left: calc(100% / 12) * $i; }
57
57
  .xxlg-order-#{$i} { order: $i; }
58
58
  }
59
59
  }
@@ -14,9 +14,6 @@ module Timequake
14
14
  template "timequake_overrides.scss", File.join('app/assets/stylesheets', "timequake_overrides.scss")
15
15
 
16
16
  insert_into_file File.join('app/assets/stylesheets', "application.scss"), "@import 'timequake_overrides';\n"
17
- insert_into_file File.join('app/views/layouts', "application.html.erb"), "\n <meta name='viewport' content='width=device-width, initial-scale=1.0'>", after: "<head>"
18
- insert_into_file File.join('app/assets/javascripts', "application.js"), "//= require timequake\n", :before => "//= require_tree .\n"
19
- insert_into_file File.join('app/assets/config', "manifest.js"), "//= link timequake_manifest.js"
20
17
 
21
18
  # For webpacker
22
19
  # insert_into_file File.join('app/views/layouts', "application.html.erb"), " <%= javascript_include_tag 'timequake' %>\n", before: "</head>"
@@ -128,7 +128,7 @@ $table-font: $copy-font;
128
128
  $table-font-size: $copy-font-size;
129
129
 
130
130
  //UNIVERSAL
131
- $main-overflow: hidden;
131
+ $main-overflow: unset;
132
132
  $section-padding-desktop: 2rem 0;
133
133
  $section-padding-mobile: 1rem 0;
134
134
  $link-hover-color: $primary-color;
@@ -136,60 +136,3 @@ $mobile-list-padding: 10px;
136
136
  $desktop-list-padding: 10px;
137
137
 
138
138
  @import 'timequake/index';
139
-
140
- // HAMBURGERS
141
- $hamburger-padding-x : 15px;
142
- $hamburger-padding-y : 15px;
143
- $hamburger-layer-width : 40px;
144
- $hamburger-layer-height : 4px;
145
- $hamburger-layer-spacing : 6px;
146
- $hamburger-layer-color : #789798;
147
- $hamburger-layer-border-radius : 4px;
148
- $hamburger-hover-opacity : 0.7;
149
- $hamburger-active-layer-color : $hamburger-layer-color;
150
- $hamburger-active-hover-opacity: $hamburger-hover-opacity;
151
-
152
- // To use CSS filters as the hover effect instead of opacity,
153
- // set $hamburger-hover-use-filter as true and
154
- // change the value of $hamburger-hover-filter accordingly.
155
- $hamburger-hover-use-filter : false;
156
- $hamburger-hover-filter : opacity(0%);
157
- $hamburger-active-hover-filter: $hamburger-hover-filter;
158
-
159
- // Remove or comment out the hamburger types you don’t want
160
- // or need, so they get excluded from the compiled CSS.
161
- $hamburger-types: (
162
- 3dx,
163
- 3dx-r,
164
- 3dy,
165
- 3dy-r,
166
- 3dxy,
167
- 3dxy-r,
168
- arrow,
169
- arrow-r,
170
- arrowalt,
171
- arrowalt-r,
172
- arrowturn,
173
- arrowturn-r,
174
- boring,
175
- collapse,
176
- collapse-r,
177
- elastic,
178
- elastic-r,
179
- emphatic,
180
- emphatic-r,
181
- minus,
182
- slider,
183
- slider-r,
184
- spring,
185
- spring-r,
186
- stand,
187
- stand-r,
188
- spin,
189
- spin-r,
190
- squeeze,
191
- vortex,
192
- vortex-r
193
- );
194
-
195
- @import "hamburgers/hamburgers"
@@ -1,3 +1,3 @@
1
1
  module Timequake
2
- VERSION = "2.0.11"
2
+ VERSION = "3.0.0"
3
3
  end
data/lib/timequake.rb CHANGED
@@ -1,8 +1,6 @@
1
1
  require "timequake/version"
2
2
  require 'timequake/engine'
3
3
  require 'timequake/errors'
4
- require 'jquery-rails'
5
- require 'sass-rails'
6
4
 
7
5
  module Timequake
8
6
  end
data/timequake.gemspec CHANGED
@@ -17,9 +17,6 @@ Gem::Specification.new do |spec|
17
17
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
18
  end
19
19
 
20
- spec.add_dependency 'jquery-rails', '~> 4.4'
21
- spec.add_dependency 'sass-rails', '~> 6.0'
22
-
23
20
  spec.bindir = "exe"
24
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
22
  spec.require_paths = ["lib"]
metadata CHANGED
@@ -1,43 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timequake
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.11
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Morris
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-31 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: jquery-rails
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '4.4'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '4.4'
27
- - !ruby/object:Gem::Dependency
28
- name: sass-rails
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '6.0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '6.0'
11
+ date: 2024-02-19 00:00:00.000000000 Z
12
+ dependencies: []
41
13
  description: A lightweight css/sass framework with easy access to grids and class
42
14
  helpers
43
15
  email: gmorris1242@gmail.com
@@ -54,42 +26,6 @@ files:
54
26
  - LICENSE.txt
55
27
  - README.md
56
28
  - Rakefile
57
- - app/assets/config/timequake_manifest.js
58
- - app/assets/javascripts/timequake.js
59
- - app/assets/javascripts/timequake/modals.js
60
- - app/assets/stylesheets/hamburgers/_base.scss
61
- - app/assets/stylesheets/hamburgers/hamburgers.scss
62
- - app/assets/stylesheets/hamburgers/types/_3dx-r.scss
63
- - app/assets/stylesheets/hamburgers/types/_3dx.scss
64
- - app/assets/stylesheets/hamburgers/types/_3dxy-r.scss
65
- - app/assets/stylesheets/hamburgers/types/_3dxy.scss
66
- - app/assets/stylesheets/hamburgers/types/_3dy-r.scss
67
- - app/assets/stylesheets/hamburgers/types/_3dy.scss
68
- - app/assets/stylesheets/hamburgers/types/_arrow-r.scss
69
- - app/assets/stylesheets/hamburgers/types/_arrow.scss
70
- - app/assets/stylesheets/hamburgers/types/_arrowalt-r.scss
71
- - app/assets/stylesheets/hamburgers/types/_arrowalt.scss
72
- - app/assets/stylesheets/hamburgers/types/_arrowturn-r.scss
73
- - app/assets/stylesheets/hamburgers/types/_arrowturn.scss
74
- - app/assets/stylesheets/hamburgers/types/_boring.scss
75
- - app/assets/stylesheets/hamburgers/types/_collapse-r.scss
76
- - app/assets/stylesheets/hamburgers/types/_collapse.scss
77
- - app/assets/stylesheets/hamburgers/types/_elastic-r.scss
78
- - app/assets/stylesheets/hamburgers/types/_elastic.scss
79
- - app/assets/stylesheets/hamburgers/types/_emphatic-r.scss
80
- - app/assets/stylesheets/hamburgers/types/_emphatic.scss
81
- - app/assets/stylesheets/hamburgers/types/_minus.scss
82
- - app/assets/stylesheets/hamburgers/types/_slider-r.scss
83
- - app/assets/stylesheets/hamburgers/types/_slider.scss
84
- - app/assets/stylesheets/hamburgers/types/_spin-r.scss
85
- - app/assets/stylesheets/hamburgers/types/_spin.scss
86
- - app/assets/stylesheets/hamburgers/types/_spring-r.scss
87
- - app/assets/stylesheets/hamburgers/types/_spring.scss
88
- - app/assets/stylesheets/hamburgers/types/_squeeze.scss
89
- - app/assets/stylesheets/hamburgers/types/_stand-r.scss
90
- - app/assets/stylesheets/hamburgers/types/_stand.scss
91
- - app/assets/stylesheets/hamburgers/types/_vortex-r.scss
92
- - app/assets/stylesheets/hamburgers/types/_vortex.scss
93
29
  - app/assets/stylesheets/timequake/_index.scss
94
30
  - app/assets/stylesheets/timequake/breakpoints.scss
95
31
  - app/assets/stylesheets/timequake/buttons.scss
@@ -143,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
79
  - !ruby/object:Gem::Version
144
80
  version: '0'
145
81
  requirements: []
146
- rubygems_version: 3.3.7
82
+ rubygems_version: 3.5.6
147
83
  signing_key:
148
84
  specification_version: 4
149
85
  summary: Grid and class helper css/sass library
@@ -1 +0,0 @@
1
- //= link_directory ../javascripts .js
@@ -1,19 +0,0 @@
1
- $(document).ready(function() {
2
- $('.modal-open').click(function(e) {
3
- e.preventDefault();
4
- let model = $(this).data('modal');
5
- let needTallModal = window.innerHeight < $('.modal-content').height();
6
- let thisModal = $('.modal.' + model)
7
-
8
- thisModal.addClass('active');
9
- $('html, body').css('overflow', 'hidden');
10
- needTallModal ? thisModal.addClass('modal-tall') : thisModal.removeClass('modal-tall');
11
- })
12
-
13
- $('.modal .modal-content').click(e => e.stopPropagation());
14
-
15
- $('.modal, .modal-close').click(function() {
16
- $('.modal').removeClass('active');
17
- $('html, body').css('overflow', 'scroll');
18
- })
19
- })
@@ -1,4 +0,0 @@
1
- //= require jquery
2
- //= require_tree .
3
-
4
- function timequakeJS() { console.log('TIMEQUAKE JS CONNECTED') };
@@ -1,86 +0,0 @@
1
- // Hamburger
2
- // ==================================================
3
- .hamburger {
4
- padding: $hamburger-padding-y $hamburger-padding-x;
5
- display: inline-block;
6
- cursor: pointer;
7
-
8
- transition-property: opacity, filter;
9
- transition-duration: 0.15s;
10
- transition-timing-function: linear;
11
-
12
- // Normalize (<button>)
13
- font: inherit;
14
- color: inherit;
15
- text-transform: none;
16
- background-color: transparent;
17
- border: 0;
18
- margin: 0;
19
- overflow: visible;
20
-
21
- &:hover {
22
- @if $hamburger-hover-use-filter == true {
23
- filter: $hamburger-hover-filter;
24
- }
25
- @else {
26
- opacity: $hamburger-hover-opacity;
27
- }
28
- }
29
-
30
- &.is-active {
31
- &:hover {
32
- @if $hamburger-hover-use-filter == true {
33
- filter: $hamburger-active-hover-filter;
34
- }
35
- @else {
36
- opacity: $hamburger-active-hover-opacity;
37
- }
38
- }
39
-
40
- .hamburger-inner,
41
- .hamburger-inner::before,
42
- .hamburger-inner::after {
43
- background-color: $hamburger-active-layer-color;
44
- }
45
- }
46
- }
47
-
48
- .hamburger-box {
49
- width: $hamburger-layer-width;
50
- height: $hamburger-layer-height * 3 + $hamburger-layer-spacing * 2;
51
- display: inline-block;
52
- position: relative;
53
- }
54
-
55
- .hamburger-inner {
56
- display: block;
57
- top: 50%;
58
- margin-top: $hamburger-layer-height / -2;
59
-
60
- &,
61
- &::before,
62
- &::after {
63
- width: $hamburger-layer-width;
64
- height: $hamburger-layer-height;
65
- background-color: $hamburger-layer-color;
66
- border-radius: $hamburger-layer-border-radius;
67
- position: absolute;
68
- transition-property: transform;
69
- transition-duration: 0.15s;
70
- transition-timing-function: ease;
71
- }
72
-
73
- &::before,
74
- &::after {
75
- content: "";
76
- display: block;
77
- }
78
-
79
- &::before {
80
- top: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
81
- }
82
-
83
- &::after {
84
- bottom: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
85
- }
86
- }
@@ -1,118 +0,0 @@
1
- @charset "UTF-8";
2
- /*!
3
- * Hamburgers
4
- * @description Tasty CSS-animated hamburgers
5
- * @author Jonathan Suh @jonsuh
6
- * @site https://jonsuh.com/hamburgers
7
- * @link https://github.com/jonsuh/hamburgers
8
- */
9
-
10
- // Settings
11
- // ==================================================
12
- $hamburger-padding-x : 15px !default;
13
- $hamburger-padding-y : 15px !default;
14
- $hamburger-layer-width : 40px !default;
15
- $hamburger-layer-height : 4px !default;
16
- $hamburger-layer-spacing : 6px !default;
17
- $hamburger-layer-color : #000 !default;
18
- $hamburger-layer-border-radius : 4px !default;
19
- $hamburger-hover-opacity : 0.7 !default;
20
- $hamburger-active-layer-color : $hamburger-layer-color !default;
21
- $hamburger-active-hover-opacity: $hamburger-hover-opacity !default;
22
-
23
- // To use CSS filters as the hover effect instead of opacity,
24
- // set $hamburger-hover-use-filter as true and
25
- // change the value of $hamburger-hover-filter accordingly.
26
- $hamburger-hover-use-filter : false !default;
27
- $hamburger-hover-filter : opacity(50%) !default;
28
- $hamburger-active-hover-filter: $hamburger-hover-filter !default;
29
-
30
- // Types (Remove or comment out what you don’t need)
31
- // ==================================================
32
- $hamburger-types: (
33
- 3dx,
34
- 3dx-r,
35
- 3dy,
36
- 3dy-r,
37
- 3dxy,
38
- 3dxy-r,
39
- arrow,
40
- arrow-r,
41
- arrowalt,
42
- arrowalt-r,
43
- arrowturn,
44
- arrowturn-r,
45
- boring,
46
- collapse,
47
- collapse-r,
48
- elastic,
49
- elastic-r,
50
- emphatic,
51
- emphatic-r,
52
- minus,
53
- slider,
54
- slider-r,
55
- spin,
56
- spin-r,
57
- spring,
58
- spring-r,
59
- stand,
60
- stand-r,
61
- squeeze,
62
- vortex,
63
- vortex-r
64
- ) !default;
65
-
66
- // Base Hamburger (We need this)
67
- // ==================================================
68
- @import "base";
69
-
70
- // Hamburger types
71
- // ==================================================
72
- @import "types/3dx";
73
- @import "types/3dx-r";
74
- @import "types/3dy";
75
- @import "types/3dy-r";
76
- @import "types/3dxy";
77
- @import "types/3dxy-r";
78
- @import "types/arrow";
79
- @import "types/arrow-r";
80
- @import "types/arrowalt";
81
- @import "types/arrowalt-r";
82
- @import "types/arrowturn";
83
- @import "types/arrowturn-r";
84
- @import "types/boring";
85
- @import "types/collapse";
86
- @import "types/collapse-r";
87
- @import "types/elastic";
88
- @import "types/elastic-r";
89
- @import "types/emphatic";
90
- @import "types/emphatic-r";
91
- @import "types/minus";
92
- @import "types/slider";
93
- @import "types/slider-r";
94
- @import "types/spin";
95
- @import "types/spin-r";
96
- @import "types/spring";
97
- @import "types/spring-r";
98
- @import "types/stand";
99
- @import "types/stand-r";
100
- @import "types/squeeze";
101
- @import "types/vortex";
102
- @import "types/vortex-r";
103
-
104
- // ==================================================
105
- // Cooking up additional types:
106
- //
107
- // The Sass for each hamburger type should be nested
108
- // inside an @if directive to check whether or not
109
- // it exists in $hamburger-types so only the CSS for
110
- // included types are generated.
111
- //
112
- // e.g. hamburgers/types/_new-type.scss
113
- //
114
- // @if index($hamburger-types, new-type) {
115
- // .hamburger--new-type {
116
- // ...
117
- // }
118
- // }