holygrail2 1.3.43 → 1.3.44
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/_md-drawer.scss +101 -35
package/package.json
CHANGED
|
@@ -2,75 +2,141 @@
|
|
|
2
2
|
@import '../abstract/_all';
|
|
3
3
|
|
|
4
4
|
.md-drawer-overlay {
|
|
5
|
-
background-color:
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
background-color: rgba(0, 0, 0, .5);
|
|
6
|
+
border: none;
|
|
7
|
+
bottom: 0;
|
|
8
|
+
height: auto;
|
|
9
|
+
inset-inline-end: 0;
|
|
10
|
+
inset-inline-start: 0;
|
|
11
|
+
margin: 0;
|
|
8
12
|
opacity: 0;
|
|
13
|
+
padding: 0;
|
|
9
14
|
pointer-events: none;
|
|
10
15
|
position: fixed;
|
|
11
16
|
top: 0;
|
|
12
17
|
transition: opacity 0.3s ease-in-out;
|
|
13
|
-
width:
|
|
18
|
+
width: auto;
|
|
14
19
|
z-index: 2000;
|
|
15
20
|
}
|
|
21
|
+
|
|
16
22
|
.md-drawer {
|
|
23
|
+
--md-drawer-padding-inline: 20px;
|
|
24
|
+
|
|
25
|
+
@media (min-width: $break-sm) {
|
|
26
|
+
--md-drawer-padding-inline: 32px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
align-items: stretch;
|
|
17
30
|
background-clip: padding-box;
|
|
18
|
-
background-color: white;
|
|
31
|
+
background-color: $c-white;
|
|
19
32
|
bottom: 0;
|
|
20
33
|
display: flex;
|
|
21
|
-
flex-
|
|
34
|
+
flex-flow: column nowrap;
|
|
35
|
+
inset-inline-end: 0;
|
|
36
|
+
justify-content: flex-start;
|
|
22
37
|
max-width: 100%;
|
|
23
38
|
outline: 0;
|
|
24
39
|
position: fixed;
|
|
25
|
-
right: 0;
|
|
26
40
|
top: 0;
|
|
27
41
|
transform: translateX(100%);
|
|
42
|
+
width: 424px;
|
|
28
43
|
z-index: 2050;
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
.md-drawer :has(> .md-header) {
|
|
32
|
-
display: flex;
|
|
33
44
|
}
|
|
45
|
+
|
|
34
46
|
.md-drawer-header {
|
|
35
47
|
align-items: center;
|
|
48
|
+
column-gap: 16px;
|
|
36
49
|
display: flex;
|
|
50
|
+
flex-flow: row nowrap;
|
|
37
51
|
justify-content: space-between;
|
|
38
|
-
|
|
52
|
+
min-height: 48px;
|
|
53
|
+
padding-block: 8px;
|
|
54
|
+
padding-inline-end: calc(var(--md-drawer-padding-inline) - 8px);
|
|
55
|
+
padding-inline-start: var(--md-drawer-padding-inline);
|
|
56
|
+
|
|
39
57
|
@media (min-width: $break-sm) {
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
.btn-close {
|
|
43
|
-
position: absolute;
|
|
44
|
-
right: 8px;
|
|
58
|
+
min-height: 60px;
|
|
45
59
|
}
|
|
46
60
|
}
|
|
61
|
+
|
|
62
|
+
.btn.btn-drawer-close {
|
|
63
|
+
align-self: flex-start;
|
|
64
|
+
margin-inline-start: auto;
|
|
65
|
+
width: auto;
|
|
66
|
+
height: auto;
|
|
67
|
+
min-height: 32px;
|
|
68
|
+
min-width: 32px;
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-flow: column nowrap;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
align-items: center;
|
|
73
|
+
padding: 0;
|
|
74
|
+
margin: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
47
77
|
.md-drawer-body {
|
|
48
|
-
flex
|
|
78
|
+
flex: 1 1 auto;
|
|
49
79
|
overflow-y: auto;
|
|
50
|
-
padding: 24px
|
|
80
|
+
padding-block: 24px;
|
|
81
|
+
padding-inline: var(--md-drawer-padding-inline);
|
|
82
|
+
|
|
51
83
|
@media (min-width: $break-sm) {
|
|
52
|
-
padding:
|
|
84
|
+
padding-block: 40px;
|
|
53
85
|
}
|
|
54
86
|
}
|
|
87
|
+
|
|
55
88
|
.md-drawer-footer {
|
|
56
|
-
align-items:
|
|
89
|
+
align-items: stretch;
|
|
57
90
|
display: flex;
|
|
91
|
+
flex-flow: column nowrap;
|
|
92
|
+
flex: 0 0 auto;
|
|
93
|
+
justify-content: flex-start;
|
|
94
|
+
padding-block: 16px;
|
|
95
|
+
padding-inline: var(--md-drawer-padding-inline);
|
|
96
|
+
row-gap: 16px;
|
|
97
|
+
|
|
98
|
+
md-drawer-close,
|
|
99
|
+
md-button {
|
|
100
|
+
display: inline-flex;
|
|
101
|
+
flex-flow: column nowrap;
|
|
102
|
+
justify-content: center;
|
|
103
|
+
align-items: stretch;
|
|
104
|
+
|
|
105
|
+
.btn {
|
|
106
|
+
width: auto;
|
|
107
|
+
max-width: none;
|
|
108
|
+
min-width: auto;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
58
111
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
top: 0;
|
|
63
|
-
transform: translateX(100%);
|
|
64
|
-
transition: transform 0.3s ease-in-out;
|
|
65
|
-
width: 100%;
|
|
112
|
+
|
|
113
|
+
.md-drawer-footer-action {
|
|
114
|
+
flex: 1 1 auto;
|
|
66
115
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
width:
|
|
116
|
+
|
|
117
|
+
.md-drawer.md-drawer-sm {
|
|
118
|
+
width: 424px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.md-drawer.md-drawer-xl {
|
|
122
|
+
width: 720px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.md-drawer:not(.md-drawer-footer-actions-column) {
|
|
126
|
+
.md-drawer-footer {
|
|
127
|
+
align-items: center;
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-flow: row nowrap;
|
|
130
|
+
justify-content: flex-start;
|
|
131
|
+
padding: 0;
|
|
132
|
+
gap: 0;
|
|
133
|
+
|
|
134
|
+
md-drawer-close,
|
|
135
|
+
md-button {
|
|
136
|
+
flex: 1 1 0;
|
|
137
|
+
min-width: 0; /* evita overflow si el texto es largo */
|
|
138
|
+
}
|
|
139
|
+
}
|
|
74
140
|
}
|
|
75
141
|
|
|
76
142
|
body {
|