spectre_scss 0.4.1.0 → 0.4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spectre_scss/version.rb +1 -1
- data/vendor/assets/stylesheets/spectre/_buttons.scss +1 -1
- data/vendor/assets/stylesheets/spectre/_codes.scss +1 -1
- data/vendor/assets/stylesheets/spectre/_off-canvas.scss +82 -0
- data/vendor/assets/stylesheets/spectre/_parallax.scss +5 -5
- data/vendor/assets/stylesheets/spectre/spectre-exp.scss +1 -1
- data/vendor/assets/stylesheets/spectre/utilities/_position.scss +6 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be417767231d81cefdf51d3f739bce28c9bf9506
|
4
|
+
data.tar.gz: 2a15d5bc33ed6aef5555f27fe384a60229cfa994
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 610caeff6cfc7cd4a5a23dd993ac77609d6e1d7eb2a60a52463edf12f4122b434ae153416a486b0e961cda2c5ba49134bc27b8ccde0625932f1a09feae27813d
|
7
|
+
data.tar.gz: fce31040f37c82992886d3b0f50a0b71c0053fa370562db26cd03e872aed6f065ea04a91919c120714ecc7fd88722a65da33c1a30c1ace20262c636ab78f4ae3
|
data/lib/spectre_scss/version.rb
CHANGED
@@ -0,0 +1,82 @@
|
|
1
|
+
// Off canvas menus
|
2
|
+
.off-canvas {
|
3
|
+
display: flex;
|
4
|
+
height: 100%;
|
5
|
+
left: 0;
|
6
|
+
overflow: hidden;
|
7
|
+
position: fixed;
|
8
|
+
top: 0;
|
9
|
+
width: 100%;
|
10
|
+
|
11
|
+
.off-canvas-sidebar {
|
12
|
+
background: $bg-color;
|
13
|
+
height: 100%;
|
14
|
+
left: 0;
|
15
|
+
padding: $layout-spacing-lg;
|
16
|
+
position: absolute;
|
17
|
+
top: 0;
|
18
|
+
transform: translateX(-100%);
|
19
|
+
transition: transform .25s ease;
|
20
|
+
width: 10rem;
|
21
|
+
z-index: $zindex-3;
|
22
|
+
}
|
23
|
+
|
24
|
+
.off-canvas-content {
|
25
|
+
flex: 1 1 auto;
|
26
|
+
overflow-y: auto;
|
27
|
+
padding: $layout-spacing-lg $layout-spacing-lg $layout-spacing-lg 4rem;
|
28
|
+
}
|
29
|
+
|
30
|
+
.off-canvas-checkbox {
|
31
|
+
&:checked ~ .off-canvas-sidebar {
|
32
|
+
transform: translateX(0);
|
33
|
+
}
|
34
|
+
|
35
|
+
&:checked ~ .off-canvas-toggle {
|
36
|
+
background: rgba($dark-color, .1);
|
37
|
+
border-color: transparent;
|
38
|
+
border-radius: 0;
|
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
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.off-canvas-toggle {
|
53
|
+
display: block;
|
54
|
+
left: $layout-spacing-lg;
|
55
|
+
padding-left: 0;
|
56
|
+
padding-right: 0;
|
57
|
+
position: absolute;
|
58
|
+
top: $layout-spacing-lg;
|
59
|
+
transition: none;
|
60
|
+
width: $control-size-lg;
|
61
|
+
z-index: $zindex-2;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
// Responsive layout
|
66
|
+
@media (min-width: $size-lg) {
|
67
|
+
.off-canvas {
|
68
|
+
.off-canvas-sidebar {
|
69
|
+
flex: 0 0 auto;
|
70
|
+
position: static;
|
71
|
+
transform: translateX(0);
|
72
|
+
}
|
73
|
+
|
74
|
+
.off-canvas-content {
|
75
|
+
padding-left: $layout-spacing-lg;
|
76
|
+
}
|
77
|
+
|
78
|
+
.off-canvas-toggle {
|
79
|
+
display: none;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
// Parallax
|
2
|
-
$parallax-deg: 3deg;
|
3
|
-
$parallax-offset: 4.5px;
|
4
|
-
$parallax-offset-z: 50px;
|
5
|
-
$parallax-perspective: 1000px;
|
6
|
-
$parallax-scale: .95;
|
2
|
+
$parallax-deg: 3deg !default;
|
3
|
+
$parallax-offset: 4.5px !default;
|
4
|
+
$parallax-offset-z: 50px !default;
|
5
|
+
$parallax-perspective: 1000px !default;
|
6
|
+
$parallax-scale: .95 !default;
|
7
7
|
|
8
8
|
// Mixin: Parallax direction
|
9
9
|
@mixin parallax-dir() {
|
@@ -1,5 +1,4 @@
|
|
1
1
|
/*! Spectre.css Experimentals | MIT License | github.com/picturepan2/spectre */
|
2
|
-
|
3
2
|
// Core variables and mixins
|
4
3
|
@import "variables";
|
5
4
|
@import "mixins";
|
@@ -10,6 +9,7 @@
|
|
10
9
|
@import "comparison-sliders";
|
11
10
|
@import "filters";
|
12
11
|
@import "meters";
|
12
|
+
@import "off-canvas";
|
13
13
|
@import "parallax";
|
14
14
|
@import "progress";
|
15
15
|
@import "sliders";
|
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.2.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-09-
|
11
|
+
date: 2017-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -103,6 +103,7 @@ files:
|
|
103
103
|
- vendor/assets/stylesheets/spectre/_navbar.scss
|
104
104
|
- vendor/assets/stylesheets/spectre/_navs.scss
|
105
105
|
- vendor/assets/stylesheets/spectre/_normalize.scss
|
106
|
+
- vendor/assets/stylesheets/spectre/_off-canvas.scss
|
106
107
|
- vendor/assets/stylesheets/spectre/_pagination.scss
|
107
108
|
- vendor/assets/stylesheets/spectre/_panels.scss
|
108
109
|
- vendor/assets/stylesheets/spectre/_parallax.scss
|