holygrail2 1.3.40 → 1.3.43

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/README.md CHANGED
@@ -221,10 +221,8 @@ Holygrail2 incluye soporte completo para RTL (Right-to-Left):
221
221
 
222
222
  Este proyecto está bajo la Licencia MIT. Ver el archivo [LICENSE](LICENSE) para más detalles.
223
223
 
224
- ## 🙏 Agradecimientos
225
-
226
- Desarrollado con ❤️ desde Barcelona para el mundo.
227
224
 
225
+ Desarrollado por Manuel ruiz redondo. Senior FontEnd UX IT.
228
226
  ---
229
227
 
230
228
  **Holygrail2** - Un framework CSS minimalista y potente para aplicaciones web modernas.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holygrail2",
3
- "version": "1.3.40",
3
+ "version": "1.3.43",
4
4
  "description": "A minimal, responsive, style-agnostic CSS framework.",
5
5
  "main": "scss/style.scss",
6
6
  "style": "dist/style.css",
@@ -17,7 +17,7 @@
17
17
  "deploy": "git add . && (git commit -m \"$(node -p \\\"require('./package.json').version\\\")\" || echo 'No hay cambios para commit') && git push origin main && npm publish",
18
18
  "start:watch": "npm-run-all --parallel watch serve open:guide",
19
19
  "generate": "node generate-scss-variables.js",
20
- "css": "sass scss/style.scss dist/style.css && sass scss/style-rtl.scss dist/style-rtl.css && sass scss/docs.scss dist/docs.css",
20
+ "css": "sass --quiet-deps --silence-deprecation=import scss/style.scss dist/style.css && sass --quiet-deps --silence-deprecation=import scss/style-rtl.scss dist/style-rtl.css && sass --quiet-deps --silence-deprecation=import scss/docs.scss dist/docs.css",
21
21
  "site": "npx @11ty/eleventy",
22
22
  "build": "npm run generate && npm run css && npm run site",
23
23
  "start": "npm run build && npm run open:guide",
@@ -25,7 +25,7 @@
25
25
  "lint": "stylelint 'scss/**/*.?(s)css'",
26
26
  "lint:fix": "stylelint --fix 'scss/**/*.?(s)css'",
27
27
  "format": "prettier --write 'scss/**/*.+(css|scss)'",
28
- "docs": "sass scss/docs.scss doc/docs.css --style expanded && sass scss/docs.scss doc/docs.min.css --style compressed",
28
+ "docs": "sass --quiet-deps --silence-deprecation=import scss/docs.scss doc/docs.css --style expanded && sass --quiet-deps --silence-deprecation=import scss/docs.scss doc/docs.min.css --style compressed",
29
29
  "test": "npm run lint && npm run build"
30
30
  },
31
31
  "repository": {
@@ -50,14 +50,15 @@
50
50
  },
51
51
  "homepage": "https://holygrail2.netlify.app",
52
52
  "devDependencies": {
53
+ "@11ty/eleventy": "^3.1.2",
53
54
  "npm-run-all": "^4.1.5",
54
- "open": "^9.1.0",
55
- "prettier": "3.5.3",
56
- "sass": "1.83.4",
57
- "stylelint": "16.21.1",
58
- "stylelint-config-standard": "36.0.0",
59
- "stylelint-config-standard-scss": "15.0.1",
55
+ "open": "^10.2.0",
56
+ "prettier": "^3.6.2",
57
+ "sass": "^1.93.0",
58
+ "stylelint": "^16.24.0",
59
+ "stylelint-config-standard": "^39.0.0",
60
+ "stylelint-config-standard-scss": "^16.0.0",
60
61
  "stylelint-order": "7.0.0",
61
- "stylelint-scss": "6.1.0"
62
+ "stylelint-scss": "^6.12.1"
62
63
  }
63
64
  }
@@ -35,18 +35,16 @@
35
35
  @import 'elements/md-accordion';
36
36
  @import 'elements/md-drawer';
37
37
  @import 'elements/md-link';
38
- @import 'elements/md-skip-to-content';
38
+ @import 'elements/md-dialog';
39
+
39
40
  @import 'elements/md-toggle';
40
- @import 'layouts/row1';
41
41
  @import 'layouts/card';
42
42
  @import 'layouts/card9';
43
43
  @import 'layouts/box3';
44
- @import 'layouts/box4';
45
- @import 'layouts/feel';
46
44
  @import 'layouts/header_account';
47
45
  @import 'layouts/hgbread';
48
- @import 'layouts/mainmenu';
46
+
49
47
  @import 'layouts/runway';
50
- @import 'layouts/header';
48
+
51
49
 
52
50
  // @import 'abstract/0debug';
@@ -1,73 +1,6 @@
1
1
  @import '../abstract/_all'; // deprecated no se usan
2
2
 
3
- .arrow-cover {
4
- height: auto;
5
- padding: 30px;
6
- position: absolute;
7
- bottom: 0;
8
- right: 0;
9
- color: $c-primary;
10
- display: flex;
11
- opacity: 1;
12
- -webkit-box-align: end;
13
- -ms-flex-align: end;
14
- align-items: flex-end;
15
- transition: opacity 0.3s ease;
16
- z-index: 6;
17
- svg {
18
- animation: bounce 0.8s infinite alternate;
19
- }
20
- }
21
3
 
22
- .line-scrolldown {
23
- position: absolute;
24
- top: calc(100% - 120px);
25
- left: 50%;
26
- z-index: 3;
27
- opacity: 1;
28
- transform: translateX(-50%);
29
-
30
- &::before {
31
- content: '';
32
- position: absolute;
33
- top: 40px;
34
- left: 50%;
35
- width: 12px;
36
- height: 12px;
37
- border-radius: 50%;
38
- background: $c-primary;
39
- transform: translateX(-50%);
40
- }
41
-
42
- &::after {
43
- content: '';
44
- position: absolute;
45
- top: 40px;
46
- left: 50%;
47
- width: 1px;
48
- height: 0;
49
- border-radius: 2px;
50
- background: $c-primary;
51
- transform: translateX(-50%);
52
- animation: stretch 1s 1.5s cubic-bezier(0.55, 0.085, 0, 0.99) forwards;
53
- }
54
- }
55
-
56
- .has-light {
57
- .arrow-cover {
58
- color: $c-white;
59
- }
60
-
61
- .line-scrolldown {
62
- &::before {
63
- background: $c-white;
64
- }
65
-
66
- &::after {
67
- background: $c-white;
68
- }
69
- }
70
- }
71
4
 
72
5
  .md-arrow-anim {
73
6
  transition: all ease 0.3s;
@@ -22,6 +22,7 @@ button {
22
22
  background-color: transparent;
23
23
  min-height: $height-btn;
24
24
  @include font-light;
25
+
25
26
  letter-spacing: .64px;
26
27
  &:focus,
27
28
  &.focus,
@@ -1046,7 +1047,6 @@ button {
1046
1047
  max-width: 70px;
1047
1048
  padding-inline: 4px;
1048
1049
  min-width: 50px;
1049
- word-wrap: break-word;
1050
1050
  overflow-wrap: break-word;
1051
1051
  text-align: center;
1052
1052
  display: inline-block;
@@ -1321,7 +1321,7 @@ button {
1321
1321
  }
1322
1322
  .btn-grid {
1323
1323
  display: grid;
1324
- grid-gap: 0;
1324
+ gap: 0;
1325
1325
  padding-inline: 1px;
1326
1326
  .btn {
1327
1327
  border: 1px solid $c-primary;
@@ -0,0 +1,115 @@
1
+ @import '../abstract/_all';
2
+
3
+
4
+
5
+ .md-dialog-overlay {
6
+ background-color: rgb(0 0 0 / 50%);
7
+ height: 100%;
8
+ left: 0;
9
+ opacity: 0;
10
+ pointer-events: none;
11
+ position: fixed;
12
+ top: 0;
13
+ transition: opacity 0.3s ease-in-out;
14
+ width: 100%;
15
+ z-index: 2000;
16
+ }
17
+ .md-dialog {
18
+
19
+ display: flex;
20
+ justify-content: center;
21
+ align-items: center;
22
+ max-width: 100%;
23
+ z-index: 2050;
24
+ height: 100%;
25
+
26
+ }
27
+ .md-dialog-container {
28
+ overflow: hidden;
29
+ background-clip: padding-box;
30
+ background-color: white;
31
+ width: 100%;
32
+ }
33
+
34
+
35
+ .md-dialog-header {
36
+ align-items: center;
37
+ display: flex;
38
+ justify-content: space-between;
39
+ padding: 16px 20px;
40
+ @media (min-width: $break-sm) {
41
+ padding: 24px 60px 24px 40px;
42
+ }
43
+ .btn-close {
44
+ position: absolute;
45
+ right: 8px;
46
+ }
47
+ }
48
+ .md-dialog-body {
49
+ flex-grow: 1;
50
+ overflow-y: auto;
51
+ padding: 24px 32px;
52
+ @media (min-width: $break-sm) {
53
+ padding: 24px 40px;
54
+ }
55
+ }
56
+ .md-dialog-footer {
57
+ align-items: center;
58
+ display: flex;
59
+ }
60
+ .md-dialog-sm {
61
+ max-width: 424px;
62
+ right: 0;
63
+ top: 0;
64
+ transform: translateX(100%);
65
+ transition: transform 0.3s ease-in-out;
66
+ width: 100%;
67
+ }
68
+ .md-dialog-xl {
69
+ max-width: 720px;
70
+ right: 0;
71
+ top: 0;
72
+ transform: translateX(100%);
73
+ transition: transform 0.5s ease-in-out;
74
+ width: 100%;
75
+ }
76
+
77
+ body {
78
+ &.md-open-dialog {
79
+
80
+ .md-dialog-overlay {
81
+ opacity: 1;
82
+ pointer-events: auto;
83
+ }
84
+ }
85
+ }
86
+
87
+
88
+
89
+ .md-dialog-content-xxs {
90
+ max-width: 320px;
91
+
92
+ @media (min-width: $break-sm) {
93
+ max-width: 445px;
94
+ }
95
+ }
96
+
97
+ .md-dialog-content-xs {
98
+ max-width: 295px;
99
+ }
100
+
101
+ .md-dialog-content-sm {
102
+ max-width: 445px;
103
+ }
104
+
105
+ .md-dialog-content-md {
106
+ max-width: 595px;
107
+ }
108
+
109
+ .md-dialog-content-lg {
110
+ max-width: 899px;
111
+ }
112
+
113
+ .md-dialog-content-xl {
114
+ max-width: 950px;
115
+ }
@@ -37,7 +37,7 @@
37
37
  justify-content: space-between;
38
38
  padding: 16px 20px;
39
39
  @media (min-width: $break-sm) {
40
- padding: 24px 60px 24px 40px;
40
+ padding: 24px 60px 24px 40px;
41
41
  }
42
42
  .btn-close {
43
43
  position: absolute;
@@ -130,7 +130,6 @@
130
130
 
131
131
  .modalx-centered {
132
132
  display: flex;
133
- -webkit-box-align: center;
134
133
  -ms-flex-align: center;
135
134
  align-items: center;
136
135
  min-height: calc(100% - (0.5rem * 2));
@@ -18,7 +18,7 @@
18
18
  transform: translate(-50%, 200%);
19
19
  bottom: 32px;
20
20
  left: 50%;
21
- max-width: 375px;
21
+ max-width: 385px;
22
22
  }
23
23
  &.appear {
24
24
  transform: translateY(0);
@@ -39,7 +39,7 @@
39
39
  $property
40
40
  );
41
41
  $property-class-modifier: if($key, '-' + $key, '');
42
- $breakpoint-class: if($breakpoint, $breakpoint + '\:', '');
42
+ $breakpoint-class: if($breakpoint, $breakpoint + '\\:', '');
43
43
  $generated-property: $breakpoint-class + $prefix + $property-class + $property-class-modifier;
44
44
 
45
45
  @if $value {
@@ -1,3 +1,3 @@
1
- @forward './abstract';
2
- @forward './generic';
3
- @forward './utilities';
1
+ @use './abstract' as *;
2
+ @use './generic' as *;
3
+ @use './utilities' as *;
@@ -1,5 +1,5 @@
1
1
  .hg-sr-only:not(:focus, :active) {
2
- clip: rect(0 0 0 0);
2
+ clip: rect(0, 0, 0, 0);
3
3
  clip-path: inset(50%);
4
4
  height: 1px;
5
5
  overflow: hidden;
@@ -4,21 +4,3 @@
4
4
  width: 100%;
5
5
  }
6
6
 
7
- .text-box {
8
- $text-box-img: 80px;
9
-
10
- .text-box-img {
11
- display: inline-block;
12
- width: $text-box-img - $padding-global;
13
- height: $text-box-img - $padding-global;
14
- margin: 5px $padding-global 0 0;
15
- vertical-align: top;
16
- box-sizing: border-box;
17
- }
18
-
19
- .text-box-inner {
20
- box-sizing: border-box;
21
- width: calc(100% - #{$text-box-img} - 5px);
22
- display: inline-block;
23
- }
24
- }
@@ -328,7 +328,7 @@ a:hover.card9-link {
328
328
  }
329
329
 
330
330
  div.card9-wrap .rat-content:hover .card9-add {
331
- background-color: rgba(255 255 255 / 80%);
331
+ background-color: rgb(255 255 255 / 80%);
332
332
  opacity: 1;
333
333
  }
334
334
 
@@ -1,83 +1 @@
1
1
  @import '../abstract/_all';
2
-
3
- .mn-mainmenu {
4
- width: 100%;
5
- max-width: 100%;
6
- height: 100vh;
7
- z-index: 2000;
8
- position: relative;
9
- overflow: auto;
10
- padding-bottom: 150px;
11
- @media (min-width: $break-sm) {
12
- max-width: 400px;
13
- padding-bottom: 0;
14
- }
15
- .mn-mainbar {
16
- .tabs ul {
17
- justify-content: center;
18
- align-items: center;
19
-
20
- @media (min-width: $break-sm) {
21
- justify-content: flex-start;
22
- }
23
- }
24
- }
25
- .mn-list-item {
26
- display: flex;
27
- padding: 16px 80px;
28
- justify-content: space-between;
29
- align-items: center;
30
- }
31
- .list-check {
32
- li a {
33
- position: relative;
34
- list-style: none;
35
- line-height: 1;
36
- }
37
- li.is-active {
38
- & > a {
39
- &::before {
40
- content: '';
41
- position: absolute;
42
- top: calc(50% - 2px);
43
- margin-left: -10px;
44
- transform: translateY(-50%);
45
- width: 4px;
46
- height: 4px;
47
- background-color: $c-primary;
48
- }
49
- }
50
- }
51
- .has-light & {
52
- li.is-active {
53
- a {
54
- &::before {
55
- content: '';
56
- background-color: #fff;
57
- }
58
- }
59
- }
60
- }
61
- }
62
- .mn-wrap-overlay {
63
- position: fixed;
64
- background-color: #000;
65
- inset: 0;
66
- z-index: 1000;
67
- }
68
-
69
- .mn-footer {
70
- position: fixed;
71
- width: 100%;
72
- z-index: 3000;
73
- bottom: 0;
74
- background-color: white;
75
- }
76
- .mn-search-zone {
77
- display: grid;
78
- }
79
- .mn-mainbar-cesta {
80
- padding: 10px;
81
- text-align: right;
82
- }
83
- }
@@ -1,17 +0,0 @@
1
- .md-skip-to-content {
2
- left: 16px;
3
- margin-top: -120px;
4
- position: absolute;
5
- top: 8px;
6
- transition: margin 0.2s ease-in-out;
7
- z-index: 10000;
8
-
9
- &:focus {
10
- margin-top: 0;
11
-
12
- &.btn-primary {
13
- background-color: $c-black;
14
- border-color: $c-black;
15
- }
16
- }
17
- }
@@ -1,19 +0,0 @@
1
- @import '../abstract/_all';
2
-
3
- .box4 {
4
- position: relative;
5
- display: flex;
6
- ul {
7
- margin-left: 16px;
8
- margin-top: 4px;
9
- }
10
- &::before {
11
- width: 2px;
12
- height: calc(100% - 48px);
13
- content: '';
14
- position: absolute;
15
- background-color: $c-dark-grey;
16
- top: 44px;
17
- left: 20px;
18
- }
19
- }
@@ -1,2 +0,0 @@
1
- @import '../abstract/_all';
2
- $border-gray: $c-middle-grey;
@@ -1,89 +0,0 @@
1
- @import '../abstract/_all';
2
- .row1-wrap {
3
- overflow: hidden;
4
- }
5
- .row1 {
6
- display: flex;
7
- flex-flow: row wrap;
8
- flex-shrink: 0;
9
- flex-grow: 1;
10
- margin-left: -4px;
11
- margin-right: -4px;
12
- @media (min-width: $break-lg) {
13
- margin-left: -8px;
14
- margin-right: -8px;
15
- }
16
- .box-single {
17
- display: block;
18
- content: '';
19
- width: 100%;
20
- padding-top: 133.25%;
21
- }
22
- .box-single,
23
- .box-single-center,
24
- .box-double,
25
- .box-super {
26
- box-sizing: border-box;
27
- display: block;
28
- flex-grow: 1;
29
- flex-shrink: 1;
30
- padding: 0 4px;
31
- @media (min-width: $break-lg) {
32
- padding: 0 8px;
33
- }
34
- }
35
- .box-single,
36
- .box-single-center {
37
- flex-basis: calc(50% - 1em);
38
- max-width: 50%;
39
- }
40
- .box-super {
41
- flex-grow: 1;
42
- flex-basis: calc(100% - 1em);
43
- }
44
- @media (min-width: $break-lg) {
45
- .box-single {
46
- flex-basis: calc(50% - 1em);
47
- max-width: 50%;
48
- }
49
- .box-single-center {
50
- justify-content: center;
51
- display: flex;
52
- flex-basis: calc(100% - 1em);
53
- max-width: 100%;
54
- .card9-wrap {
55
- flex-basis: calc(50% - 1em);
56
- max-width: 50%;
57
- }
58
- }
59
- .box-double,
60
- .box-super {
61
- flex-basis: calc(100% - 1em);
62
- max-width: 100%;
63
- .card9-contents {
64
- text-align: center;
65
- }
66
- }
67
- }
68
- .explorer & {
69
- .box-single {
70
- flex-basis: calc(50% - 1em);
71
- max-width: 50%;
72
- }
73
- .box-double {
74
- flex-basis: calc(100% - 1em);
75
- max-width: 100%;
76
- }
77
- }
78
- }
79
- .expanded .row1 {
80
- @media (min-width: $break-lg) {
81
- .box-single,
82
- .box-single-center,
83
- .box-double,
84
- .box-super {
85
- flex-basis: calc(25% - 1em);
86
- max-width: 25%;
87
- }
88
- }
89
- }