lato 3.7.2 → 3.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/lato/application.js +6 -23
- data/app/assets/stylesheets/lato/application.scss +0 -11
- data/lib/lato/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48e75667276e436c09b94d35948a806ab647a3bd712715640028ebe5e902885d
|
4
|
+
data.tar.gz: 6cf22a820de4c125565a45d8b5d0c4a44cb4b063e97e544ac7c304312d8f8cae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3df8293c4c8d0893b9ecdebb51f879f2c4dc4637e30b28b3d01f4e98f823835a4176476240479d9c825e74d558794086573f06e70bc5ece640a31f6135576eda
|
7
|
+
data.tar.gz: df5974cd8bb80e71814bb50b855dc7bcede9368d69a4f1c671d8a1773eb062d963955d45ad4a4b02cde4cac3affef9573bf66f9afe9e5db89bc2947b4968d1a4
|
@@ -30,31 +30,12 @@ document.addEventListener("turbo:frame-missing", event => {
|
|
30
30
|
})
|
31
31
|
|
32
32
|
/**
|
33
|
-
* Manage page
|
33
|
+
* Manage page caching clean
|
34
34
|
*/
|
35
35
|
|
36
|
-
const PAGE_TRANSITION_TIME = 50
|
37
|
-
|
38
|
-
document.addEventListener('DOMContentLoaded', () => {
|
39
|
-
// add is-loaded class
|
40
|
-
document.body.classList.add('is-loaded')
|
41
|
-
})
|
42
|
-
|
43
|
-
document.addEventListener('turbo:load', () => {
|
44
|
-
setTimeout(() => {
|
45
|
-
// add is-loaded class
|
46
|
-
document.body.classList.add('is-loaded')
|
47
|
-
}, PAGE_TRANSITION_TIME)
|
48
|
-
})
|
49
|
-
|
50
36
|
document.addEventListener('turbo:before-cache', (e) => {
|
51
|
-
console.log('turbo:before-cache')
|
52
|
-
|
53
37
|
e.preventDefault()
|
54
38
|
|
55
|
-
// remove is-loaded class
|
56
|
-
document.body.classList.remove('is-loaded')
|
57
|
-
|
58
39
|
// hide aside menu (for mobile)
|
59
40
|
document.body.classList.remove('aside-open')
|
60
41
|
|
@@ -70,7 +51,9 @@ document.addEventListener('turbo:before-cache', (e) => {
|
|
70
51
|
document.body.style.paddingRight = ''
|
71
52
|
document.body.style.overflow = ''
|
72
53
|
|
73
|
-
|
74
|
-
|
75
|
-
|
54
|
+
// close nav menu (for mobile)
|
55
|
+
document.querySelector('.navbar-toggler').classList.add('collapsed')
|
56
|
+
document.querySelector('.navbar-collapse').classList.remove('show')
|
57
|
+
|
58
|
+
e.detail.resume()
|
76
59
|
})
|
@@ -41,20 +41,9 @@ $gray-900: #1f262c !default;
|
|
41
41
|
|
42
42
|
/** Custom style */
|
43
43
|
|
44
|
-
body {
|
45
|
-
&.is-loaded {
|
46
|
-
main {
|
47
|
-
opacity: 1;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
44
|
main {
|
53
45
|
width: 100%;
|
54
46
|
|
55
|
-
opacity: 0;
|
56
|
-
transition: opacity 0.05s ease-in-out;
|
57
|
-
|
58
47
|
&.layout_sidebar {
|
59
48
|
width: calc(100% - 280px);
|
60
49
|
|
data/lib/lato/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregorio Galante
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|