spectre_scss 0.4.4.0 → 0.4.5.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4d74fc17f69749bbd69f4f34239a3ac820678c7
|
4
|
+
data.tar.gz: 9cfd051c27b55fc86fd07620c05e17a84e1256d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4cf506ac7f49649634528d958564386ee770f1785ce850dbbde3f8c971fbb5b1145f1724259e48c1704ba7542ad79814a4f8522351e9840523ad6671f7806ee
|
7
|
+
data.tar.gz: 57030dd33f89a024ded439b0064889f810258a4f1f594a827f234f4d6899d90cfeab3f3b27e730227e124342219c8ed75f6447781f312a1f6c0d682f8d6a0473
|
data/lib/spectre_scss/version.rb
CHANGED
@@ -1,74 +1,76 @@
|
|
1
1
|
// Off canvas menus
|
2
|
+
$off-canvas-breakpoint: 960px !default;
|
3
|
+
|
2
4
|
.off-canvas {
|
3
5
|
display: flex;
|
6
|
+
flex-flow: nowrap;
|
4
7
|
height: 100%;
|
5
|
-
|
6
|
-
overflow: hidden;
|
7
|
-
position: fixed;
|
8
|
-
top: 0;
|
8
|
+
position: relative;
|
9
9
|
width: 100%;
|
10
10
|
|
11
11
|
.off-canvas-sidebar {
|
12
12
|
background: $bg-color;
|
13
|
-
|
13
|
+
bottom: 0;
|
14
14
|
left: 0;
|
15
|
-
|
16
|
-
|
15
|
+
min-width: 10rem;
|
16
|
+
overflow-y: auto;
|
17
|
+
position: fixed;
|
17
18
|
top: 0;
|
18
19
|
transform: translateX(-100%);
|
19
20
|
transition: transform .25s ease;
|
20
|
-
width: 10rem;
|
21
21
|
z-index: $zindex-3;
|
22
22
|
}
|
23
23
|
|
24
24
|
.off-canvas-content {
|
25
25
|
flex: 1 1 auto;
|
26
|
-
|
27
|
-
padding: $layout-spacing
|
26
|
+
height: 100%;
|
27
|
+
padding: $layout-spacing $layout-spacing $layout-spacing 4rem;
|
28
|
+
}
|
29
|
+
|
30
|
+
.off-canvas-overlay {
|
31
|
+
background: rgba($dark-color, .1);
|
32
|
+
border-color: transparent;
|
33
|
+
border-radius: 0;
|
34
|
+
bottom: 0;
|
35
|
+
display: none;
|
36
|
+
height: 100%;
|
37
|
+
left: 0;
|
38
|
+
position: fixed;
|
39
|
+
right: 0;
|
40
|
+
top: 0;
|
41
|
+
width: 100%;
|
28
42
|
}
|
29
43
|
|
30
|
-
.off-canvas-
|
31
|
-
&:
|
44
|
+
.off-canvas-sidebar {
|
45
|
+
&:target,
|
46
|
+
&.active {
|
32
47
|
transform: translateX(0);
|
33
48
|
}
|
34
49
|
|
35
|
-
&:
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
bottom: 0;
|
40
|
-
height: 100%;
|
41
|
-
left: 0;
|
42
|
-
right: 0;
|
43
|
-
top: 0;
|
44
|
-
width: 100%;
|
45
|
-
|
46
|
-
.icon {
|
47
|
-
display: none;
|
48
|
-
}
|
50
|
+
&:target ~ .off-canvas-overlay,
|
51
|
+
&.active ~ .off-canvas-overlay {
|
52
|
+
display: block;
|
53
|
+
z-index: $zindex-2;
|
49
54
|
}
|
50
55
|
}
|
51
56
|
|
52
57
|
.off-canvas-toggle {
|
53
58
|
display: block;
|
54
|
-
left: $layout-spacing
|
55
|
-
padding-left: 0;
|
56
|
-
padding-right: 0;
|
59
|
+
left: $layout-spacing;
|
57
60
|
position: absolute;
|
58
|
-
top: $layout-spacing
|
61
|
+
top: $layout-spacing;
|
59
62
|
transition: none;
|
60
|
-
|
61
|
-
z-index: $zindex-2;
|
63
|
+
z-index: $zindex-0;
|
62
64
|
}
|
63
65
|
}
|
64
66
|
|
65
67
|
// Responsive layout
|
66
|
-
@media (min-width: $
|
68
|
+
@media (min-width: $off-canvas-breakpoint) {
|
67
69
|
.off-canvas {
|
68
70
|
.off-canvas-sidebar {
|
69
71
|
flex: 0 0 auto;
|
70
|
-
position:
|
71
|
-
transform:
|
72
|
+
position: relative;
|
73
|
+
transform: none;
|
72
74
|
}
|
73
75
|
|
74
76
|
.off-canvas-content {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spectre_scss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zoran
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|