holygrail2 1.3.31 → 1.3.34
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
CHANGED
package/scss/_partials.scss
CHANGED
|
@@ -32,10 +32,11 @@
|
|
|
32
32
|
@import 'elements/bottom-sheet';
|
|
33
33
|
@import 'elements/stepper';
|
|
34
34
|
@import 'elements/drawer';
|
|
35
|
-
@import 'elements/md-link';
|
|
36
|
-
@import 'elements/md-toggle';
|
|
37
35
|
@import 'elements/md-accordion';
|
|
36
|
+
@import 'elements/md-drawer';
|
|
37
|
+
@import 'elements/md-link';
|
|
38
38
|
@import 'elements/md-skip-to-content';
|
|
39
|
+
@import 'elements/md-toggle';
|
|
39
40
|
@import 'layouts/row1';
|
|
40
41
|
@import 'layouts/card';
|
|
41
42
|
@import 'layouts/card9';
|
|
@@ -18,7 +18,7 @@ button {
|
|
|
18
18
|
border: none;
|
|
19
19
|
white-space: nowrap;
|
|
20
20
|
cursor: pointer;
|
|
21
|
-
padding:
|
|
21
|
+
padding: 8px 16px 6px;
|
|
22
22
|
background-color: transparent;
|
|
23
23
|
min-height: $height-btn;
|
|
24
24
|
@include font-regular;
|
|
@@ -75,7 +75,7 @@ button {
|
|
|
75
75
|
display: flex;
|
|
76
76
|
align-items: center;
|
|
77
77
|
justify-content: space-between;
|
|
78
|
-
padding:
|
|
78
|
+
padding: 6px 32px;
|
|
79
79
|
&.btn--mini,
|
|
80
80
|
&.btn--small {
|
|
81
81
|
width: max-content;
|
|
@@ -333,6 +333,7 @@ button {
|
|
|
333
333
|
color: $c-primary;
|
|
334
334
|
background-color: $c-white;
|
|
335
335
|
border: 1px solid $c-primary;
|
|
336
|
+
line-height: 1;
|
|
336
337
|
svg {
|
|
337
338
|
circle {
|
|
338
339
|
stroke: $c-primary;
|
|
@@ -771,7 +772,6 @@ button {
|
|
|
771
772
|
align-items: center;
|
|
772
773
|
border-radius: $btn-radius;
|
|
773
774
|
margin-top: -2px;
|
|
774
|
-
top: 13px;
|
|
775
775
|
left: 16px;
|
|
776
776
|
position: absolute;
|
|
777
777
|
div {
|
|
@@ -1391,7 +1391,6 @@ button {
|
|
|
1391
1391
|
cursor: pointer;
|
|
1392
1392
|
}
|
|
1393
1393
|
|
|
1394
|
-
|
|
1395
1394
|
}
|
|
1396
1395
|
&[disabled],
|
|
1397
1396
|
&:disabled,
|
package/scss/elements/_form.scss
CHANGED
|
@@ -470,7 +470,8 @@ input::placeholder {
|
|
|
470
470
|
&.btn,
|
|
471
471
|
& > input,
|
|
472
472
|
& > label {
|
|
473
|
-
padding-
|
|
473
|
+
padding-inline-end: $btn-padding * 3;
|
|
474
|
+
padding-inline-start: 0;
|
|
474
475
|
}
|
|
475
476
|
.form-icon {
|
|
476
477
|
padding: $btn-padding;
|
|
@@ -482,8 +483,7 @@ input::placeholder {
|
|
|
482
483
|
height: 45px;
|
|
483
484
|
position: absolute;
|
|
484
485
|
top: 0;
|
|
485
|
-
|
|
486
|
-
left: auto;
|
|
486
|
+
inset-inline-end: 0;
|
|
487
487
|
box-sizing: border-box;
|
|
488
488
|
margin: 0;
|
|
489
489
|
cursor: pointer;
|
|
@@ -494,6 +494,11 @@ input::placeholder {
|
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
496
|
.form-input-label-2 {
|
|
497
|
+
.input[type="search"]::-webkit-search-cancel-button {
|
|
498
|
+
-webkit-appearance: none;
|
|
499
|
+
appearance: none;
|
|
500
|
+
}
|
|
501
|
+
|
|
497
502
|
&.required {
|
|
498
503
|
label::after {
|
|
499
504
|
content: ' *';
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
|
|
2
|
+
@import '../abstract/_all';
|
|
3
|
+
|
|
4
|
+
.md-drawer-overlay {
|
|
5
|
+
background-color: rgb(0 0 0 / 50%);
|
|
6
|
+
height: 100%;
|
|
7
|
+
left: 0;
|
|
8
|
+
opacity: 0;
|
|
9
|
+
pointer-events: none;
|
|
10
|
+
position: fixed;
|
|
11
|
+
top: 0;
|
|
12
|
+
transition: opacity 0.3s ease-in-out;
|
|
13
|
+
width: 100%;
|
|
14
|
+
z-index: 2000;
|
|
15
|
+
}
|
|
16
|
+
.md-drawer {
|
|
17
|
+
background-clip: padding-box;
|
|
18
|
+
background-color: white;
|
|
19
|
+
bottom: 0;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
max-width: 100%;
|
|
23
|
+
outline: 0;
|
|
24
|
+
position: fixed;
|
|
25
|
+
right: 0;
|
|
26
|
+
top: 0;
|
|
27
|
+
transform: translateX(100%);
|
|
28
|
+
z-index: 2050;
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
.md-drawer :has(> .md-header) {
|
|
32
|
+
display: flex;
|
|
33
|
+
}
|
|
34
|
+
.md-drawer-header {
|
|
35
|
+
align-items: center;
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
padding: 16px 20px;
|
|
39
|
+
@media (min-width: $break-sm) {
|
|
40
|
+
padding: 24px 60px 24px 40px;
|
|
41
|
+
}
|
|
42
|
+
.btn-close {
|
|
43
|
+
position: absolute;
|
|
44
|
+
right: 8px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.md-drawer-body {
|
|
48
|
+
flex-grow: 1;
|
|
49
|
+
overflow-y: auto;
|
|
50
|
+
padding: 24px 32px;
|
|
51
|
+
@media (min-width: $break-sm) {
|
|
52
|
+
padding: 24px 40px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.md-drawer-footer {
|
|
56
|
+
align-items: center;
|
|
57
|
+
display: flex;
|
|
58
|
+
}
|
|
59
|
+
.md-drawer-sm {
|
|
60
|
+
max-width: 424px;
|
|
61
|
+
right: 0;
|
|
62
|
+
top: 0;
|
|
63
|
+
transform: translateX(100%);
|
|
64
|
+
transition: transform 0.3s ease-in-out;
|
|
65
|
+
width: 100%;
|
|
66
|
+
}
|
|
67
|
+
.md-drawer-xl {
|
|
68
|
+
max-width: 720px;
|
|
69
|
+
right: 0;
|
|
70
|
+
top: 0;
|
|
71
|
+
transform: translateX(100%);
|
|
72
|
+
transition: transform 0.5s ease-in-out;
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
body {
|
|
77
|
+
&.md-open-drawer {
|
|
78
|
+
.md-drawer {
|
|
79
|
+
transform: translateX(0);
|
|
80
|
+
}
|
|
81
|
+
.md-drawer-overlay {
|
|
82
|
+
opacity: 1;
|
|
83
|
+
pointer-events: auto;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|