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