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 CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  /*
3
3
  Paquete: holygrail2
4
- Versión: 1.1.39
4
+ Versión: 1.1.40
5
5
  */
6
6
  @charset "UTF-8";
7
7
  *,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holygrail2",
3
- "version": "1.1.40",
3
+ "version": "1.1.41",
4
4
  "description": "A minimal, responsive, style-agnostic CSS framework.",
5
5
  "main": "scss/style.scss",
6
6
  "directories": {
@@ -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
- z-index: 2000;
7
- position: fixed;
8
- background: $c-white;
9
- width: 100%;
10
- max-width: $sidebar-width;
11
- top: 0px;
12
- right: 0;
13
- height: 100%;
14
- transition: transform 0.5s ease;
15
- transform: translateX(435px);
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
- padding: 0 40px 40px;
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
- &.close-mini-wish {
32
- transform: translateX(100vw);
28
+ &.close-mini-wish {
29
+ transform: translateX(100vw);
33
30
 
34
- [dir='rtl'] & {
35
- transform: translateX(-100vw);
31
+ [dir="rtl"] & {
32
+ transform: translateX(-100vw);
33
+ }
36
34
  }
37
- }
38
35
  }
39
36
 
40
37
  .sidebar-close {
41
- padding: 15px 16px;
42
- position: absolute;
43
- right: 0;
44
- z-index: 1999;
45
- cursor: pointer;
46
-
47
- &:hover {
48
- opacity: 0.6;
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
- padding: 24px 0px 56px 0px;
55
- position: sticky;
56
- top: 0px;
57
- display: flex;
58
- justify-content: flex-end;
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
- z-index: 1999;
63
- position: fixed;
64
- width: 100vw;
65
- height: 100vh;
66
- top: 0;
67
- left: 0;
68
-
69
- background-color: $c-black;
70
- opacity: 0.15;
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
+ }