spectre_scss 0.4.5.0 → 0.4.6.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/_breadcrumbs.scss +1 -1
- data/vendor/assets/stylesheets/spectre/_calendars.scss +0 -2
- data/vendor/assets/stylesheets/spectre/_comparison-sliders.scss +1 -1
- data/vendor/assets/stylesheets/spectre/_menus.scss +1 -1
- data/vendor/assets/stylesheets/spectre/_mixins.scss +4 -0
- data/vendor/assets/stylesheets/spectre/_modals.scss +3 -3
- data/vendor/assets/stylesheets/spectre/_off-canvas.scss +1 -1
- data/vendor/assets/stylesheets/spectre/_parallax.scss +5 -4
- data/vendor/assets/stylesheets/spectre/_popovers.scss +3 -4
- data/vendor/assets/stylesheets/spectre/_sliders.scss +6 -0
- data/vendor/assets/stylesheets/spectre/_tables.scss +13 -5
- data/vendor/assets/stylesheets/spectre/_tooltips.scss +1 -1
- data/vendor/assets/stylesheets/spectre/_variables.scss +9 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19f1ad082d25b959639c474540f1aa7bbd52b8c6
|
4
|
+
data.tar.gz: 38745a1c58e3ba0b89146be7384b24bedfb26ac3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49be9647a5d40cc65cbdd4bbaa6c473cf3d595b1e14a09de2019daace72e8c59a57e3e9a50a06e38afca0b13c032118e22226915a8d63912280b68d0b70b24e2
|
7
|
+
data.tar.gz: 58e21edfe10dd05e5d93e5f43382f682c2d5516f260a7e3eb008266bbf41ee9bbb602bad50293569215cb0c59935a136ffe400e9a3bd27c5b76933a0e589206c
|
data/lib/spectre_scss/version.rb
CHANGED
@@ -31,7 +31,7 @@
|
|
31
31
|
|
32
32
|
.modal-container {
|
33
33
|
animation: slide-down .2s ease 1;
|
34
|
-
max-width:
|
34
|
+
max-width: $control-width-md;
|
35
35
|
width: 100%;
|
36
36
|
z-index: $zindex-0;
|
37
37
|
}
|
@@ -39,7 +39,7 @@
|
|
39
39
|
|
40
40
|
&.modal-sm {
|
41
41
|
.modal-container {
|
42
|
-
max-width:
|
42
|
+
max-width: $control-width-sm;
|
43
43
|
padding: 0 $unit-2;
|
44
44
|
}
|
45
45
|
}
|
@@ -51,7 +51,7 @@
|
|
51
51
|
|
52
52
|
.modal-container {
|
53
53
|
box-shadow: none;
|
54
|
-
max-width:
|
54
|
+
max-width: $control-width-lg;
|
55
55
|
}
|
56
56
|
}
|
57
57
|
}
|
@@ -4,6 +4,7 @@ $parallax-offset: 4.5px !default;
|
|
4
4
|
$parallax-offset-z: 50px !default;
|
5
5
|
$parallax-perspective: 1000px !default;
|
6
6
|
$parallax-scale: .95 !default;
|
7
|
+
$parallax-fade-color: rgba(255, 255, 255, .35) !default;
|
7
8
|
|
8
9
|
// Mixin: Parallax direction
|
9
10
|
@mixin parallax-dir() {
|
@@ -64,7 +65,7 @@ $parallax-scale: .95 !default;
|
|
64
65
|
transform: perspective($parallax-perspective) rotateX($parallax-deg) rotateY(-$parallax-deg);
|
65
66
|
|
66
67
|
&::before {
|
67
|
-
background: linear-gradient(135deg,
|
68
|
+
background: linear-gradient(135deg, $parallax-fade-color 0%, transparent 50%);
|
68
69
|
}
|
69
70
|
|
70
71
|
.parallax-front {
|
@@ -82,7 +83,7 @@ $parallax-scale: .95 !default;
|
|
82
83
|
transform: perspective($parallax-perspective) rotateX($parallax-deg) rotateY($parallax-deg);
|
83
84
|
|
84
85
|
&::before {
|
85
|
-
background: linear-gradient(-135deg,
|
86
|
+
background: linear-gradient(-135deg, $parallax-fade-color 0%, transparent 50%);
|
86
87
|
}
|
87
88
|
|
88
89
|
.parallax-front {
|
@@ -100,7 +101,7 @@ $parallax-scale: .95 !default;
|
|
100
101
|
transform: perspective($parallax-perspective) rotateX(-$parallax-deg) rotateY(-$parallax-deg);
|
101
102
|
|
102
103
|
&::before {
|
103
|
-
background: linear-gradient(45deg,
|
104
|
+
background: linear-gradient(45deg, $parallax-fade-color 0%, transparent 50%);
|
104
105
|
}
|
105
106
|
|
106
107
|
.parallax-front {
|
@@ -118,7 +119,7 @@ $parallax-scale: .95 !default;
|
|
118
119
|
transform: perspective($parallax-perspective) rotateX(-$parallax-deg) rotateY($parallax-deg);
|
119
120
|
|
120
121
|
&::before {
|
121
|
-
background: linear-gradient(-45deg,
|
122
|
+
background: linear-gradient(-45deg, $parallax-fade-color 0%, transparent 50%);
|
122
123
|
}
|
123
124
|
|
124
125
|
.parallax-front {
|
@@ -4,19 +4,18 @@
|
|
4
4
|
position: relative;
|
5
5
|
|
6
6
|
.popover-container {
|
7
|
-
content: attr(data-tooltip);
|
8
|
-
opacity: 0;
|
9
7
|
left: 50%;
|
8
|
+
opacity: 0;
|
10
9
|
padding: $layout-spacing;
|
11
10
|
position: absolute;
|
12
11
|
top: 0;
|
13
12
|
transform: translate(-50%, -50%) scale(0);
|
14
13
|
transition: transform .2s ease;
|
15
|
-
width: $control-
|
14
|
+
width: $control-width-sm;
|
16
15
|
z-index: $zindex-4;
|
17
16
|
}
|
18
17
|
|
19
|
-
|
18
|
+
*:focus + .popover-container,
|
20
19
|
&:hover .popover-container,
|
21
20
|
.popover-container:hover {
|
22
21
|
display: block;
|
@@ -13,27 +13,35 @@
|
|
13
13
|
}
|
14
14
|
}
|
15
15
|
|
16
|
-
|
16
|
+
&,
|
17
|
+
&.table-striped {
|
17
18
|
tbody {
|
18
19
|
tr {
|
19
|
-
|
20
|
+
&.active {
|
20
21
|
background: $bg-color-dark;
|
21
22
|
}
|
22
23
|
}
|
23
24
|
}
|
24
25
|
}
|
25
26
|
|
26
|
-
|
27
|
-
&.table-striped {
|
27
|
+
&.table-hover {
|
28
28
|
tbody {
|
29
29
|
tr {
|
30
|
-
|
30
|
+
&:hover {
|
31
31
|
background: $bg-color-dark;
|
32
32
|
}
|
33
33
|
}
|
34
34
|
}
|
35
35
|
}
|
36
36
|
|
37
|
+
// Tables with horizontal scrollbar
|
38
|
+
&.table-scroll {
|
39
|
+
display: block;
|
40
|
+
overflow-x: auto;
|
41
|
+
padding-bottom: .75rem;
|
42
|
+
white-space: nowrap;
|
43
|
+
}
|
44
|
+
|
37
45
|
td,
|
38
46
|
th {
|
39
47
|
border-bottom: $border-width solid $border-color;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
// Core variables
|
2
|
-
$version: "0.4.
|
2
|
+
$version: "0.4.6";
|
3
3
|
|
4
4
|
// Core colors
|
5
5
|
$primary-color: #5755d9 !default;
|
@@ -86,8 +86,12 @@ $control-padding-y: ($control-size - $line-height) / 2 - $border-width !default;
|
|
86
86
|
$control-padding-y-sm: ($control-size-sm - $line-height) / 2 - $border-width !default;
|
87
87
|
$control-padding-y-lg: ($control-size-lg - $line-height) / 2 - $border-width !default;
|
88
88
|
$control-icon-size: .8rem !default;
|
89
|
-
|
90
|
-
$control-
|
89
|
+
|
90
|
+
$control-width-xs: 180px !default;
|
91
|
+
$control-width-sm: 320px !default;
|
92
|
+
$control-width-md: 640px !default;
|
93
|
+
$control-width-lg: 960px !default;
|
94
|
+
$control-width-xl: 1280px !default;
|
91
95
|
|
92
96
|
// Responsive breakpoints
|
93
97
|
$size-xs: 480px !default;
|
@@ -97,6 +101,8 @@ $size-lg: 960px !default;
|
|
97
101
|
$size-xl: 1280px !default;
|
98
102
|
$size-2x: 1440px !default;
|
99
103
|
|
104
|
+
$responsive-breakpoint: $size-xs !default;
|
105
|
+
|
100
106
|
// Z-index
|
101
107
|
$zindex-0: 1 !default;
|
102
108
|
$zindex-1: 100 !default;
|
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.6.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-
|
11
|
+
date: 2017-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|