holygrail2 1.0.0

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.
Files changed (57) hide show
  1. package/.editorconfig +13 -0
  2. package/.prettierrc +6 -0
  3. package/.stylelintrc +27 -0
  4. package/.vscode/settings.json +3 -0
  5. package/assets/images/minilogo.png +0 -0
  6. package/cssconfig.json +373 -0
  7. package/dist/style.css +10376 -0
  8. package/dist/style.css.map +1 -0
  9. package/doc/docs.css +1764 -0
  10. package/doc/docs.css.map +1 -0
  11. package/guide/index.html +3202 -0
  12. package/package.json +59 -0
  13. package/readme.md +123 -0
  14. package/scss/_partials.scss +44 -0
  15. package/scss/abstract/_0debug.scss +192 -0
  16. package/scss/abstract/_all.scss +4 -0
  17. package/scss/abstract/_breakpoints.scss +27 -0
  18. package/scss/abstract/_fonts.scss +22 -0
  19. package/scss/abstract/_mixins.scss +691 -0
  20. package/scss/abstract/_reset.scss +124 -0
  21. package/scss/abstract/_setup.scss +385 -0
  22. package/scss/base/_alignment.scss +294 -0
  23. package/scss/base/_animations.scss +64 -0
  24. package/scss/base/_extras.scss +21 -0
  25. package/scss/base/_grid.scss +361 -0
  26. package/scss/base/_height.scss +19 -0
  27. package/scss/base/_helpers.scss +814 -0
  28. package/scss/base/_icons.scss +162 -0
  29. package/scss/base/_ratios.scss +262 -0
  30. package/scss/base/_rtl.scss +480 -0
  31. package/scss/base/_spacing.scss +60 -0
  32. package/scss/base/_types.scss +117 -0
  33. package/scss/docs.scss +680 -0
  34. package/scss/elements/_animated.scss +73 -0
  35. package/scss/elements/_banners.scss +68 -0
  36. package/scss/elements/_buttons.scss +1324 -0
  37. package/scss/elements/_checkbox.scss +722 -0
  38. package/scss/elements/_color_selector.scss +112 -0
  39. package/scss/elements/_datalist.scss +55 -0
  40. package/scss/elements/_form.scss +708 -0
  41. package/scss/elements/_links.scss +268 -0
  42. package/scss/elements/_list.scss +271 -0
  43. package/scss/elements/_modal.scss +141 -0
  44. package/scss/elements/_progressbar.scss +20 -0
  45. package/scss/elements/_tabs.scss +216 -0
  46. package/scss/elements/_tabs_specials.scss +216 -0
  47. package/scss/elements/_tag.scss +58 -0
  48. package/scss/elements/_tooltip.scss +176 -0
  49. package/scss/layouts/_box3.scss +64 -0
  50. package/scss/layouts/_box4.scss +19 -0
  51. package/scss/layouts/_card.scss +24 -0
  52. package/scss/layouts/_card9.scss +348 -0
  53. package/scss/layouts/_feel.scss +2 -0
  54. package/scss/layouts/_header_account.scss +144 -0
  55. package/scss/layouts/_hgbread.scss +51 -0
  56. package/scss/layouts/_row1.scss +108 -0
  57. package/scss/style.scss +1 -0
@@ -0,0 +1,216 @@
1
+ @import '../abstract/_all';
2
+
3
+ .tabs {
4
+ .list-equal {
5
+ display: flex;
6
+ align-items: flex-end;
7
+
8
+ li {
9
+ flex-grow: 1;
10
+ }
11
+ }
12
+
13
+ ul {
14
+ align-items: center;
15
+ border-bottom: 1px solid $c-middle-grey;
16
+ display: flex;
17
+ flex-grow: 1;
18
+ flex-shrink: 0;
19
+ justify-content: flex-start;
20
+ margin: 0;
21
+
22
+ @include font-regular;
23
+ }
24
+
25
+ li {
26
+ display: block;
27
+ margin: 0;
28
+
29
+ a,
30
+ span {
31
+ align-items: center;
32
+ border-bottom: 1px solid $c-middle-grey;
33
+ color: $c-dark-grey;
34
+ display: flex;
35
+ justify-content: center;
36
+ margin-bottom: -1px;
37
+ padding: $padding-global * 2;
38
+ vertical-align: top;
39
+ padding-bottom: $padding-global * 2 + 1;
40
+ font-size: $tabs-text;
41
+
42
+ &:hover {
43
+ border-bottom-color: $c-primary;
44
+ border-bottom-width: 2px;
45
+ padding-bottom: $padding-global * 2 - 0;
46
+ color: $c-primary;
47
+ cursor: pointer;
48
+ }
49
+ }
50
+
51
+ &.is-active a,
52
+ &.is-active span {
53
+ border-bottom-color: $c-primary;
54
+ border-bottom-width: 2px;
55
+ padding-bottom: $padding-global * 2 - 0;
56
+ color: $c-primary;
57
+
58
+ @include font-bold;
59
+ }
60
+
61
+ &::after {
62
+ display: none;
63
+ }
64
+ }
65
+
66
+ &.is-center ul {
67
+ justify-content: center;
68
+ }
69
+
70
+ &.is-around {
71
+ ul {
72
+ justify-content: space-around;
73
+
74
+ li {
75
+ flex: 1;
76
+
77
+ span {
78
+ border-bottom-width: 1px;
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+
85
+ .tabs-list {
86
+ margin-left: -8px;
87
+
88
+ li {
89
+ margin: 0;
90
+ padding-left: 8px;
91
+ padding-right: 8px;
92
+
93
+ span {
94
+ position: relative;
95
+
96
+ &:hover {
97
+ cursor: pointer;
98
+
99
+ &::after {
100
+ content: '';
101
+ width: 100%;
102
+ background: $c-primary;
103
+ height: 2px;
104
+ position: absolute;
105
+ bottom: -4px;
106
+ left: 0;
107
+ }
108
+ }
109
+ }
110
+
111
+ &.is-active span {
112
+ &::after {
113
+ content: '';
114
+ width: 100%;
115
+ background: $c-primary;
116
+ height: 2px;
117
+ position: absolute;
118
+ bottom: -4px;
119
+ left: 0;
120
+ }
121
+ }
122
+ }
123
+ }
124
+
125
+ .tabs-gray {
126
+ border: none;
127
+ position: relative;
128
+ width: 100%;
129
+ background-color: $c-light-grey;
130
+
131
+ ul {
132
+ border: none;
133
+ }
134
+
135
+ li {
136
+ display: block;
137
+ margin: 0;
138
+ width: 100%;
139
+ }
140
+
141
+ a,
142
+ span {
143
+ @include font-regular;
144
+
145
+ color: $c-dark-grey;
146
+ border-color: $c-light-grey;
147
+ position: relative;
148
+
149
+ &:hover {
150
+ color: $c-primary;
151
+ cursor: pointer;
152
+ }
153
+ }
154
+ }
155
+
156
+ .tabs-clear li {
157
+ display: block;
158
+ margin: 0;
159
+ width: 100%;
160
+ }
161
+
162
+ .tabs-mini {
163
+ display: inline-block;
164
+
165
+ ul {
166
+ border: none;
167
+ background-color: $c-white;
168
+ padding: 0 14px;
169
+ display: inline-flex;
170
+ font-family: $font-family-a-r;
171
+ }
172
+
173
+ li {
174
+ position: relative;
175
+ }
176
+
177
+ li a {
178
+ opacity: 0.5;
179
+ border: none;
180
+ padding: 6px 8px 8px;
181
+ color: $c-primary;
182
+ }
183
+
184
+ li:first-child a::after {
185
+ content: '';
186
+ position: absolute;
187
+ right: 0;
188
+ width: 1px;
189
+ height: 20px;
190
+ background-color: $c-middle-grey;
191
+ }
192
+
193
+ li a:hover {
194
+ border: none;
195
+ cursor: pointer;
196
+ padding: 6px 8px 8px;
197
+ opacity: 1;
198
+ }
199
+
200
+ li.is-active a {
201
+ padding: 6px 8px 8px;
202
+ opacity: 1;
203
+ font-family: $font-family-a-b;
204
+ }
205
+
206
+ &.tabs-map {
207
+ max-width: 450px;
208
+ display: flex;
209
+ flex-flow: column nowrap;
210
+ align-items: flex-end;
211
+
212
+ ul {
213
+ border: 1px solid $c-middle-grey;
214
+ }
215
+ }
216
+ }
@@ -0,0 +1,216 @@
1
+ @import '../abstract/_all';
2
+
3
+ .ico-round {
4
+ width: 56px;
5
+ height: 56px;
6
+ border-radius: 50%;
7
+ align-items: center;
8
+ display: inline-flex;
9
+ justify-content: center;
10
+ white-space: nowrap;
11
+ border: 1px solid $c-middle-grey;
12
+ }
13
+
14
+ .ico-round-sm {
15
+ width: 40px;
16
+ height: 40px;
17
+ border-radius: 50%;
18
+ align-items: center;
19
+ display: inline-flex;
20
+ justify-content: center;
21
+ white-space: nowrap;
22
+ border: 1px solid $c-middle-grey;
23
+ }
24
+
25
+ .checkbox-ico {
26
+ position: relative;
27
+ box-sizing: border-box;
28
+ width: 24px;
29
+ height: 24px;
30
+ left: auto;
31
+ border: 1px solid $c-middle-grey;
32
+ outline: 0;
33
+ vertical-align: top;
34
+ margin: 0;
35
+ border-radius: 50%;
36
+ }
37
+
38
+ .checkbox-box {
39
+ position: absolute;
40
+ top: 0;
41
+ left: 0;
42
+ right: 0;
43
+ bottom: 0;
44
+ }
45
+
46
+ .checkbox-radio.checkbox-box {
47
+ label {
48
+ width: 100%;
49
+ height: 100%;
50
+ }
51
+ }
52
+
53
+ .checkbox-radio.checkbox-box [type='radio']:checked + label,
54
+ .checkbox-radio.checkbox-box [type='radio']:not(:checked) + label {
55
+ padding: 16px;
56
+ }
57
+
58
+ .checkbox-radio.checkbox-box [type='radio']:checked + label span,
59
+ .checkbox-radio.checkbox-box [type='radio']:not(:checked) + label span {
60
+ display: inline-block;
61
+ vertical-align: top;
62
+ margin: 5px 0 0;
63
+ line-height: 16px;
64
+ padding-left: 0;
65
+ min-height: 20px;
66
+ }
67
+
68
+ .checkbox-radio.checkbox-box [type='radio']:checked + label .ico-radio,
69
+ .checkbox-radio.checkbox-box [type='radio']:not(:checked) + label .ico-radio {
70
+ top: 6px;
71
+ left: 6px;
72
+ }
73
+
74
+ .checkbox-radio.checkbox-box [type='radio']:checked + label::before,
75
+ .checkbox-radio.checkbox-box [type='radio']:not(:checked) + label::before {
76
+ display: none;
77
+ }
78
+
79
+ ul.list-clear li.list-box {
80
+ list-style: none;
81
+ margin: 0;
82
+ margin-top: -1px;
83
+ left: 0;
84
+ position: relative;
85
+
86
+ &:last-child {
87
+ left: -2px;
88
+ }
89
+ }
90
+
91
+ .list-box {
92
+ width: 100%;
93
+ display: table-cell;
94
+ box-sizing: border-box;
95
+ border: 1px solid rgb(133 133 133);
96
+ transition: all 0.2s ease;
97
+ opacity: 0.5;
98
+ left: -1px;
99
+
100
+ &.is-active,
101
+ &:hover {
102
+ border: 1px solid $c-primary;
103
+ opacity: 1;
104
+ cursor: pointer;
105
+ }
106
+
107
+ &:first-child {
108
+ left: 0;
109
+ }
110
+
111
+ &::before {
112
+ content: '';
113
+ display: block;
114
+ width: 100%;
115
+ padding-top: 15%;
116
+ min-height: 78px;
117
+ }
118
+
119
+ .checkbox-radio [type='radio']:checked + label,
120
+ .checkbox-radio [type='radio']:not(:checked) + label {
121
+ flex-direction: row;
122
+
123
+ @media (min-width: 992px) {
124
+ flex-direction: column;
125
+ }
126
+ }
127
+
128
+ &-label {
129
+ display: flex;
130
+ align-items: center;
131
+ padding: 16px;
132
+ justify-content: space-between;
133
+
134
+ @media (min-width: 992px) {
135
+ align-items: center;
136
+ justify-content: center;
137
+ align-content: center;
138
+ flex-wrap: wrap;
139
+ }
140
+ }
141
+
142
+ .checkbox-ico {
143
+ order: 1;
144
+ }
145
+
146
+ .checkbox-text {
147
+ order: 2;
148
+ }
149
+
150
+ @media (min-width: 992px) {
151
+ &::before {
152
+ width: 100%;
153
+ padding-top: 100%;
154
+ }
155
+
156
+ &:first-child {
157
+ left: 0;
158
+ }
159
+
160
+ .checkbox-ico {
161
+ margin: 10px;
162
+ order: 1;
163
+ }
164
+
165
+ .checkbox-text {
166
+ margin: 16px;
167
+ order: 3;
168
+ }
169
+ }
170
+ }
171
+
172
+ .multiple-table {
173
+ width: 100%;
174
+ display: flex;
175
+ flex-direction: column;
176
+
177
+ @media (min-width: 992px) {
178
+ flex-direction: row;
179
+ }
180
+ }
181
+
182
+ .two-table {
183
+ width: 100%;
184
+ display: flex;
185
+ flex-direction: row;
186
+
187
+ .list-box {
188
+ width: 100%;
189
+
190
+ &::before {
191
+ content: '';
192
+ display: block;
193
+ width: 100%;
194
+ padding-top: 100%;
195
+ min-height: 78px;
196
+ }
197
+
198
+ .checkbox-radio [type='radio']:checked + label,
199
+ .checkbox-radio [type='radio']:not(:checked) + label {
200
+ flex-direction: column;
201
+ }
202
+
203
+ &-label {
204
+ display: flex;
205
+ align-items: center;
206
+ padding: 16px;
207
+ justify-content: center;
208
+ align-content: center;
209
+ flex-wrap: wrap;
210
+ }
211
+
212
+ .checkbox-text {
213
+ margin: 16px;
214
+ }
215
+ }
216
+ }
@@ -0,0 +1,58 @@
1
+ @import '../abstract/_all';
2
+
3
+ .tag-warning {
4
+ background-color: $c-warning;
5
+ color: $c-white;
6
+ padding: 6px;
7
+ line-height: 1;
8
+ display: inline-block;
9
+ }
10
+
11
+ .tag-info {
12
+ background-color: $c-info;
13
+ color: $c-white;
14
+ padding: 6px;
15
+ line-height: 1;
16
+ display: inline-block;
17
+ }
18
+
19
+ .tag-valid {
20
+ background-color: $c-valid;
21
+ color: $c-white;
22
+ padding: 6px;
23
+ line-height: 1;
24
+ display: inline-block;
25
+ }
26
+
27
+ .tag-alert {
28
+ background-color: $c-alert;
29
+ color: $c-primary;
30
+ padding: 6px;
31
+ line-height: 1;
32
+ display: inline-block;
33
+ }
34
+
35
+ .tag-feel {
36
+ background-color: $c-feel;
37
+ color: $c-primary;
38
+ padding: 6px;
39
+ line-height: 1;
40
+ display: inline-block;
41
+ }
42
+
43
+ .tag-limited {
44
+ background-color: $c-primary;
45
+ color: $c-white;
46
+ padding: 6px;
47
+ line-height: 1;
48
+ display: inline-block;
49
+ }
50
+
51
+ .tag-new {
52
+ color: $c-primary;
53
+ font-style: normal;
54
+ line-height: 10px;
55
+ top: 10px;
56
+ right: -30px;
57
+ position: absolute;
58
+ }
@@ -0,0 +1,176 @@
1
+ @use 'sass:math';
2
+ @import '../abstract/_all';
3
+
4
+ $tooltip-arrow: 10px;
5
+ $tooltip-border-color: $c-middle-grey;
6
+ $tooltip-dist: 10px;
7
+ $tooltip-padding: 8px;
8
+ $tooltip-width: 320px;
9
+
10
+ .tooltip-sm {
11
+ bottom: 0;
12
+ transform: translateY(100%) translateY($tooltip-arrow);
13
+ right: calc(50% - 16px);
14
+ background-color: $c-white;
15
+ border: 1px solid $tooltip-border-color;
16
+ position: absolute;
17
+ width: max-content;
18
+ max-width: $tooltip-width;
19
+ z-index: 10;
20
+ padding: $tooltip-padding;
21
+ padding-right: $tooltip-padding + 16px;
22
+ color: $c-primary;
23
+
24
+ &::after {
25
+ content: '';
26
+ top: math.div(-$tooltip-arrow, 2) - 1;
27
+ right: $tooltip-dist;
28
+ position: absolute;
29
+ border-top: 1px solid $tooltip-border-color;
30
+ border-left: 1px solid $tooltip-border-color;
31
+ width: $tooltip-arrow;
32
+ height: $tooltip-arrow;
33
+ background: $c-white;
34
+ transform: rotate(45deg);
35
+ }
36
+
37
+ &.tooltip-br,
38
+ &.tooltip-tr {
39
+ left: calc(50% - 16px);
40
+ right: auto;
41
+ &::after {
42
+ right: auto;
43
+ left: $tooltip-dist;
44
+ }
45
+ }
46
+
47
+ &.tooltip-tl,
48
+ &.tooltip-tr {
49
+ top: 0;
50
+ bottom: auto;
51
+ transform: translateY(-100%) translateY(-$tooltip-arrow);
52
+ &::after {
53
+ top: auto;
54
+ bottom: math.div(-$tooltip-arrow, 2) - 1;
55
+ transform: rotate(225deg);
56
+ }
57
+ }
58
+
59
+ .close {
60
+ position: absolute;
61
+ right: 8px;
62
+ top: 8px;
63
+ }
64
+ }
65
+
66
+ .store-state {
67
+ width: max-content;
68
+ position: relative;
69
+ padding-left: 16px;
70
+
71
+ div {
72
+ position: absolute;
73
+ border-radius: 50%;
74
+ overflow: hidden;
75
+ top: 3px;
76
+ left: 0;
77
+ width: 8px;
78
+ height: 8px;
79
+ }
80
+ }
81
+
82
+ .has-tooltip-temp {
83
+ position: relative;
84
+ width: fit-content;
85
+ height: fit-content;
86
+ }
87
+
88
+ .tooltip-sm-temp {
89
+ bottom: 0;
90
+ transform: translateY(100%) translateY($tooltip-arrow);
91
+ right: -8px;
92
+ background-color: $c-white;
93
+ border: 1px solid $tooltip-border-color;
94
+ position: absolute;
95
+ width: 240px;
96
+ z-index: 10;
97
+ padding: $tooltip-padding;
98
+ padding-right: $tooltip-padding + 16px;
99
+ color: $c-primary;
100
+
101
+ &::after {
102
+ content: '';
103
+ top: math.div(-$tooltip-arrow, 2) - 1;
104
+ right: $tooltip-dist;
105
+ position: absolute;
106
+ border-top: 1px solid $tooltip-border-color;
107
+ border-left: 1px solid $tooltip-border-color;
108
+ width: $tooltip-arrow;
109
+ height: $tooltip-arrow;
110
+ background: $c-white;
111
+ transform: rotate(45deg);
112
+ }
113
+
114
+ .close-temp {
115
+ position: absolute;
116
+ right: 8px;
117
+ top: 8px;
118
+ }
119
+
120
+ &.tooltip-tl-temp {
121
+ left: -8px;
122
+ right: auto;
123
+ &::after {
124
+ right: auto;
125
+ left: $tooltip-dist;
126
+ }
127
+ }
128
+ &.tooltip-bl-temp {
129
+ top: 0;
130
+ bottom: auto;
131
+ transform: translateY(-100%) translateY(-$tooltip-arrow);
132
+ }
133
+ }
134
+
135
+ .tooltip-sm-old {
136
+ top: 36px;
137
+ right: 8px;
138
+ background-color: $c-white;
139
+ border: 1px solid $c-middle-grey;
140
+ position: absolute;
141
+ width: 100%;
142
+ max-width: 327px;
143
+ z-index: 10;
144
+ }
145
+
146
+ .tooltip-sm-old::after {
147
+ top: -6px;
148
+ right: 18px;
149
+ content: '';
150
+ position: absolute;
151
+ border-top: 1px solid $c-middle-grey;
152
+ border-left: 1px solid $c-middle-grey;
153
+ width: 10px;
154
+ height: 10px;
155
+ background: $c-white;
156
+ transform: rotate(45deg);
157
+ }
158
+
159
+ .tooltip-close {
160
+ border-bottom: 1px solid $c-middle-grey;
161
+ width: 100%;
162
+ position: absolute;
163
+ top: 0;
164
+ left: 0;
165
+ padding: 8px;
166
+ }
167
+
168
+ .is-tooltip {
169
+ position: relative;
170
+ width: 100%;
171
+ }
172
+
173
+ .has-tooltip {
174
+ position: relative;
175
+ width: fit-content;
176
+ }
@@ -0,0 +1,64 @@
1
+ @import '../abstract/_all';
2
+
3
+ .box3 {
4
+ /* no se usa */
5
+ position: relative;
6
+ width: 100%;
7
+ min-height: 58px;
8
+ box-sizing: border-box;
9
+ display: flex;
10
+
11
+ .box3-middle {
12
+ width: 100px;
13
+ display: flex;
14
+ flex-direction: column;
15
+ align-items: flex-end;
16
+ justify-content: center;
17
+ }
18
+
19
+ .box3-price {
20
+ display: flex;
21
+ flex-direction: column;
22
+ min-width: 60px;
23
+
24
+ img {
25
+ max-width: 60px;
26
+ }
27
+ }
28
+
29
+ .box3-right {
30
+ display: flex;
31
+ flex-direction: column;
32
+ min-width: 60px;
33
+ }
34
+
35
+ .box3-content {
36
+ display: flex;
37
+ flex: 1;
38
+ flex-direction: column;
39
+ justify-content: center;
40
+ align-content: flex-start;
41
+ word-break: break-word;
42
+ }
43
+
44
+ .box3-img {
45
+ display: flex;
46
+ justify-content: center;
47
+ align-items: center;
48
+ margin-right: 16px;
49
+ }
50
+
51
+ .box3-top {
52
+ padding-top: 2px;
53
+ padding-left: 16px;
54
+ display: flex;
55
+ align-items: flex-end;
56
+ flex-direction: column;
57
+ align-content: flex-end;
58
+ justify-content: flex-start;
59
+ }
60
+
61
+ &:hover {
62
+ cursor: pointer;
63
+ }
64
+ }