holygrail2 1.1.40 → 1.1.41
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.
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/scss/elements/_sidebar.scss +60 -50
package/dist/style.css
CHANGED
package/package.json
CHANGED
|
@@ -1,71 +1,81 @@
|
|
|
1
1
|
@import '../abstract/_all';
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
|
|
3
5
|
$sidebar-width: 425px;
|
|
4
6
|
|
|
5
7
|
.sidebar-container {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
&.open {
|
|
18
|
-
display: block;
|
|
19
|
-
transform: translateX(0);
|
|
20
|
-
|
|
21
|
-
// Añadimos los estilos solo si la sidebar es custom para no romper las demás maquetas
|
|
22
|
-
&.custom-sidebar {
|
|
23
|
-
@media (max-width: $break-sm) {
|
|
24
|
-
padding: 0 20px 40px;
|
|
25
|
-
}
|
|
8
|
+
z-index: 2000;
|
|
9
|
+
position: fixed;
|
|
10
|
+
background: $c-white;
|
|
11
|
+
width: 100%;
|
|
12
|
+
max-width: $sidebar-width;
|
|
13
|
+
top: 0px;
|
|
14
|
+
right: 0;
|
|
15
|
+
height: 100%;
|
|
16
|
+
transition: transform 0.5s ease;
|
|
17
|
+
transform: translateX(435px);
|
|
26
18
|
|
|
27
|
-
|
|
19
|
+
|
|
20
|
+
&.custom-sidebar {
|
|
21
|
+
padding: 0 20px 40px;
|
|
22
|
+
|
|
23
|
+
@media (min-width: $break-sm) {
|
|
24
|
+
padding: 0 20px 40px;
|
|
25
|
+
}
|
|
28
26
|
}
|
|
29
|
-
}
|
|
30
27
|
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
&.close-mini-wish {
|
|
29
|
+
transform: translateX(100vw);
|
|
33
30
|
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
[dir="rtl"] & {
|
|
32
|
+
transform: translateX(-100vw);
|
|
33
|
+
}
|
|
36
34
|
}
|
|
37
|
-
}
|
|
38
35
|
}
|
|
39
36
|
|
|
40
37
|
.sidebar-close {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
38
|
+
padding: 15px 16px;
|
|
39
|
+
position: absolute;
|
|
40
|
+
right: 0;
|
|
41
|
+
z-index: 1999;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
|
|
44
|
+
&:hover {
|
|
45
|
+
opacity: 0.6;
|
|
46
|
+
}
|
|
50
47
|
}
|
|
51
48
|
|
|
52
49
|
// Añadimos los estilos solo si la sidebar es custom para no romper las demás maquetas
|
|
53
50
|
.sidebar-close.sidebar-custom-close {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
51
|
+
padding: 24px 0px 56px 0px;
|
|
52
|
+
position: sticky;
|
|
53
|
+
top: 0px;
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: flex-end;
|
|
59
56
|
}
|
|
60
57
|
|
|
61
58
|
.sidebar-out {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
59
|
+
z-index: 1999;
|
|
60
|
+
position: fixed;
|
|
61
|
+
width: 100vw;
|
|
62
|
+
height: 100vh;
|
|
63
|
+
top: 0;
|
|
64
|
+
left: 0;
|
|
65
|
+
|
|
66
|
+
background-color: $c-black;
|
|
67
|
+
opacity: 0.15;
|
|
71
68
|
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
.body-sidebar-open{
|
|
74
|
+
|
|
75
|
+
.sidebar-container {
|
|
76
|
+
transform: translateX(0);
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
}
|