@d-zero/scaffold 5.0.0-alpha.9 → 5.0.0-beta.1
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/.clineignore +6 -0
- package/.clinerules +17 -0
- package/.gitignore +12 -2
- package/.husky/pre-commit +1 -0
- package/.stylelintrc +26 -1
- package/.textlintignore +1 -0
- package/.textlintrc.js +9 -1
- package/.vscode/settings.json +3 -8
- package/.yarnrc.yml +3 -0
- package/CHANGELOG.md +257 -0
- package/__assets/_libs/.markuplintrc +1 -1
- package/__assets/_libs/component/{_c-card-list.scss → c-card-list.css} +2 -4
- package/__assets/_libs/component/c-card.css +104 -0
- package/__assets/_libs/component/c-content-index.css +8 -0
- package/__assets/_libs/component/{_c-content-main.scss → c-content-main.css} +55 -57
- package/__assets/_libs/component/c-footer.css +41 -0
- package/__assets/_libs/component/c-header.css +94 -0
- package/__assets/_libs/component/{_c-media-list.scss → c-media-list.css} +1 -3
- package/__assets/_libs/component/c-media.css +113 -0
- package/__assets/_libs/component/{_c-nav-breadcrumb.scss → c-nav-breadcrumb.css} +9 -11
- package/__assets/_libs/component/c-nav-global.css +115 -0
- package/__assets/_libs/component/{_c-nav-sitemap.scss → c-nav-sitemap.css} +27 -34
- package/__assets/_libs/component/c-page-home.css +43 -0
- package/__assets/_libs/component/c-page-sub.css +63 -0
- package/__assets/_libs/component/c-pagination.css +98 -0
- package/__assets/_libs/component/{_c-title-page.scss → c-title-page.css} +0 -2
- package/__assets/_libs/data/bge-blocks.html +2101 -0
- package/__assets/_libs/data/blocks.html +1 -31
- package/__assets/_libs/data/blocks.js +6 -0
- package/__assets/_libs/mixin/meta.pug +2 -2
- package/__assets/_libs/script/index.ts +3 -0
- package/__assets/_libs/style/base/root.css +83 -0
- package/__assets/_libs/style/general/{_all.scss → all.css} +0 -6
- package/__assets/_libs/style/general/{_body.scss → body.css} +1 -3
- package/__assets/_libs/style/general/{_button.scss → button.css} +0 -2
- package/__assets/_libs/style/general/{_img.scss → img.css} +0 -2
- package/__assets/htdocs/__tmpl/.markuplintrc +1 -1
- package/__assets/htdocs/__tmpl/000_home.pug +5 -5
- package/__assets/htdocs/__tmpl/100_sub.pug +7 -7
- package/__assets/htdocs/__tmpl/200_blog_index.pug +9 -9
- package/__assets/htdocs/__tmpl/210_blog_index.pug +9 -9
- package/__assets/htdocs/__tmpl/300_form_input.pug +8 -8
- package/__assets/htdocs/__tmpl/301_form_confirm.pug +21 -19
- package/__assets/htdocs/__tmpl/302_form_complete.pug +7 -7
- package/__assets/htdocs/__tmpl/index.pug +0 -6
- package/__assets/htdocs/css/bge_style.css +10 -0
- package/__assets/htdocs/css/style.css +24 -0
- package/__assets/htdocs/js/script.ts +3 -0
- package/__assets/htdocs/sub-folder.test/build.test.pug +9 -0
- package/__assets/htdocs/sub-folder.test/css/style.css +5 -0
- package/__assets/htdocs/sub-folder.test/index.pug +1 -1
- package/__assets/htdocs/sub-folder.test/js/script.ts +2 -0
- package/__info/print.txt +6 -0
- package/ai-tasks/create-component.md +127 -0
- package/ai-tasks/create-page.md +110 -0
- package/ai-tasks/page-to-burger.md +68 -0
- package/cspell.json +7 -1
- package/eleventy.config.mjs +65 -0
- package/eslint.config.js +19 -0
- package/lint-staged.config.mjs +10 -2
- package/markuplint.config.js +36 -0
- package/package.json +34 -24
- package/prh.yaml +3 -0
- package/tsconfig.json +1 -0
- package/.eslintrc.cjs +0 -3
- package/.markuplintrc +0 -3
- package/__assets/_libs/component/_c-card.scss +0 -106
- package/__assets/_libs/component/_c-content-index.scss +0 -8
- package/__assets/_libs/component/_c-footer.scss +0 -43
- package/__assets/_libs/component/_c-header.scss +0 -96
- package/__assets/_libs/component/_c-media.scss +0 -115
- package/__assets/_libs/component/_c-nav-global.scss +0 -117
- package/__assets/_libs/component/_c-page-home.scss +0 -45
- package/__assets/_libs/component/_c-page-sub.scss +0 -65
- package/__assets/_libs/component/_c-pagination.scss +0 -100
- package/__assets/_libs/data/blocks-burger.html +0 -4161
- package/__assets/_libs/data/blocks.cjs +0 -6
- package/__assets/_libs/style/base/_root.scss +0 -30
- package/__assets/_libs/style/theme/_color.scss +0 -4
- package/__assets/_libs/style/theme/_dimension.scss +0 -53
- package/__assets/_libs/style/theme/_font.scss +0 -2
- package/__assets/_libs/style/theme/_index.scss +0 -3
- package/__assets/htdocs/.eslintrc +0 -10
- package/__assets/htdocs/@static/empty +0 -0
- package/__assets/htdocs/@static/img/empty +0 -0
- package/__assets/htdocs/css/style.scss +0 -32
- package/__assets/htdocs/sub-folder.test/css/style.scss +0 -7
- package/__assets/htdocs/sub-folder.test/js/script.js +0 -9
- package/eleventy.config.cjs +0 -25
- /package/__assets/_libs/component/{_c-card.pug → c-card.pug} +0 -0
- /package/__assets/_libs/component/{_c-footer.pug → c-footer.pug} +0 -0
- /package/__assets/_libs/component/{_c-header.pug → c-header.pug} +0 -0
- /package/__assets/_libs/component/{_c-media.pug → c-media.pug} +0 -0
- /package/__assets/_libs/component/{_c-nav-breadcrumb.pug → c-nav-breadcrumb.pug} +0 -0
- /package/__assets/_libs/component/{_c-nav-global.pug → c-nav-global.pug} +0 -0
- /package/__assets/_libs/component/{_c-nav-sitemap.pug → c-nav-sitemap.pug} +0 -0
- /package/__assets/_libs/component/{_c-pagination.pug → c-pagination.pug} +0 -0
- /package/__assets/_libs/component/{_c-title-page.pug → c-title-page.pug} +0 -0
|
@@ -1,26 +1,14 @@
|
|
|
1
|
-
@use '../style/theme' as *;
|
|
2
|
-
|
|
3
1
|
.c-nav-sitemap {
|
|
4
|
-
padding-block:
|
|
2
|
+
padding-block: 2rem;
|
|
5
3
|
padding-inline: 0;
|
|
6
4
|
|
|
7
5
|
@media (--xs-lte) {
|
|
8
6
|
padding: 0;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
%list {
|
|
12
|
-
margin: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
%item {
|
|
16
|
-
display: block;
|
|
17
|
-
padding: 0;
|
|
18
|
-
margin: 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
9
|
a {
|
|
22
10
|
display: block;
|
|
23
|
-
padding-inline-start:
|
|
11
|
+
padding-inline-start: 2rem;
|
|
24
12
|
color: inherit;
|
|
25
13
|
text-decoration: none;
|
|
26
14
|
|
|
@@ -30,21 +18,10 @@
|
|
|
30
18
|
}
|
|
31
19
|
}
|
|
32
20
|
|
|
33
|
-
&__body {
|
|
34
|
-
max-inline-size: var(--wide-layout-width);
|
|
35
|
-
margin-block: 0;
|
|
36
|
-
margin-inline: auto;
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
|
|
39
|
-
@media (--md-lte) {
|
|
40
|
-
max-inline-size: 100%;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
21
|
ul[data-sitemap-level='1'] {
|
|
45
|
-
@extend %list;
|
|
46
|
-
column-count: 4;
|
|
47
22
|
padding: 0;
|
|
23
|
+
margin: 0;
|
|
24
|
+
column-count: 4;
|
|
48
25
|
|
|
49
26
|
@media (--xs) {
|
|
50
27
|
column-count: 1;
|
|
@@ -60,9 +37,10 @@
|
|
|
60
37
|
}
|
|
61
38
|
|
|
62
39
|
li[data-sitemap-level='1'] {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
40
|
+
display: inline-block; /* 💉 for columns item technic */
|
|
41
|
+
inline-size: 100%; /* 💉 for columns item technic */
|
|
42
|
+
padding: 0;
|
|
43
|
+
margin: 0;
|
|
66
44
|
margin-block: 0 1em;
|
|
67
45
|
margin-inline: 0;
|
|
68
46
|
break-inside: avoid-column;
|
|
@@ -81,8 +59,8 @@
|
|
|
81
59
|
}
|
|
82
60
|
|
|
83
61
|
ul[data-sitemap-level='2'] {
|
|
84
|
-
@extend %list;
|
|
85
62
|
padding-inline-start: 1em;
|
|
63
|
+
margin: 0;
|
|
86
64
|
|
|
87
65
|
@media (--xs-lte) {
|
|
88
66
|
padding: 0;
|
|
@@ -90,7 +68,9 @@
|
|
|
90
68
|
}
|
|
91
69
|
|
|
92
70
|
li[data-sitemap-level='2'] {
|
|
93
|
-
|
|
71
|
+
display: block;
|
|
72
|
+
padding: 0;
|
|
73
|
+
margin: 0;
|
|
94
74
|
margin-block: 0 0.5em;
|
|
95
75
|
margin-inline: 0;
|
|
96
76
|
|
|
@@ -115,8 +95,8 @@
|
|
|
115
95
|
}
|
|
116
96
|
|
|
117
97
|
ul[data-sitemap-level='3'] {
|
|
118
|
-
@extend %list;
|
|
119
98
|
padding-inline-start: 1em;
|
|
99
|
+
margin: 0;
|
|
120
100
|
|
|
121
101
|
@media (--xs-lte) {
|
|
122
102
|
padding: 0;
|
|
@@ -124,7 +104,9 @@
|
|
|
124
104
|
}
|
|
125
105
|
|
|
126
106
|
li[data-sitemap-level='3'] {
|
|
127
|
-
|
|
107
|
+
display: block;
|
|
108
|
+
padding: 0;
|
|
109
|
+
margin: 0;
|
|
128
110
|
|
|
129
111
|
a {
|
|
130
112
|
&::before {
|
|
@@ -138,3 +120,14 @@
|
|
|
138
120
|
}
|
|
139
121
|
}
|
|
140
122
|
}
|
|
123
|
+
|
|
124
|
+
.c-nav-sitemap__body {
|
|
125
|
+
max-inline-size: var(--wide-layout-width);
|
|
126
|
+
margin-block: 0;
|
|
127
|
+
margin-inline: auto;
|
|
128
|
+
overflow: hidden;
|
|
129
|
+
|
|
130
|
+
@media (--md-lte) {
|
|
131
|
+
max-inline-size: 100%;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.c-page-home {
|
|
2
|
+
inline-size: 100%;
|
|
3
|
+
block-size: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.c-page-home__base {
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-template:
|
|
9
|
+
'header' auto
|
|
10
|
+
'nav-global' auto
|
|
11
|
+
'main' 1fr
|
|
12
|
+
'nav-sitemap' auto
|
|
13
|
+
'footer' auto
|
|
14
|
+
/ 1fr;
|
|
15
|
+
inline-size: 100%;
|
|
16
|
+
block-size: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.c-page-home__header {
|
|
20
|
+
grid-area: header;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.c-page-home__nav-global {
|
|
24
|
+
grid-area: nav-global;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.c-page-home__main {
|
|
28
|
+
grid-area: main;
|
|
29
|
+
|
|
30
|
+
> * {
|
|
31
|
+
inline-size: var(--content-width);
|
|
32
|
+
padding-inline: 1rem;
|
|
33
|
+
margin-inline: auto;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.c-page-home__nav-sitemap {
|
|
38
|
+
grid-area: nav-sitemap;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.c-page-home__footer {
|
|
42
|
+
grid-area: footer;
|
|
43
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.c-page-sub {
|
|
2
|
+
inline-size: 100%;
|
|
3
|
+
block-size: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.c-page-sub__base {
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-template:
|
|
9
|
+
'header' auto
|
|
10
|
+
'nav-global' auto
|
|
11
|
+
'main' 1fr
|
|
12
|
+
'nav-sitemap' auto
|
|
13
|
+
'footer' auto / 1fr;
|
|
14
|
+
inline-size: 100%;
|
|
15
|
+
block-size: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.c-page-sub__header {
|
|
19
|
+
grid-area: header;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.c-page-sub__nav-global {
|
|
23
|
+
grid-area: nav-global;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.c-page-sub__main {
|
|
27
|
+
grid-area: main;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.c-page-sub__nav-sitemap {
|
|
31
|
+
grid-area: nav-sitemap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.c-page-sub__footer {
|
|
35
|
+
grid-area: footer;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.c-page-sub__content {
|
|
39
|
+
padding-inline: 2em;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.c-page-sub__title-page {
|
|
43
|
+
max-inline-size: var(--wide-layout-width);
|
|
44
|
+
margin-block-end: 1em;
|
|
45
|
+
margin-inline: auto;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.c-page-sub__nav-breadcrumb {
|
|
49
|
+
max-inline-size: var(--wide-layout-width);
|
|
50
|
+
margin-block-end: 2em;
|
|
51
|
+
margin-inline: auto;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.c-page-sub__content-index {
|
|
55
|
+
max-inline-size: var(--content-width);
|
|
56
|
+
padding-block-end: calc(60 / 17 * 1em);
|
|
57
|
+
margin-inline: auto;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.c-page-sub__content-main {
|
|
61
|
+
max-inline-size: var(--content-width);
|
|
62
|
+
margin-inline: auto;
|
|
63
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
.c-pagination {
|
|
2
|
+
clear: both;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
margin-block-start: 1rem;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
text-align: center;
|
|
8
|
+
|
|
9
|
+
@media (--xs) {
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
a {
|
|
14
|
+
color: currentcolor;
|
|
15
|
+
text-decoration: none;
|
|
16
|
+
background: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.c-pagination__prev,
|
|
21
|
+
.c-pagination__next {
|
|
22
|
+
a {
|
|
23
|
+
position: relative;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
padding-inline: 1rem;
|
|
27
|
+
border: 1px solid var(--border-color);
|
|
28
|
+
|
|
29
|
+
&[data-disabled='true'] {
|
|
30
|
+
pointer-events: none;
|
|
31
|
+
opacity: 0.3;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.c-pagination__prev {
|
|
37
|
+
order: 1;
|
|
38
|
+
|
|
39
|
+
::before {
|
|
40
|
+
content: '<';
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.c-pagination__next {
|
|
45
|
+
order: 3;
|
|
46
|
+
|
|
47
|
+
::after {
|
|
48
|
+
content: '>';
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.c-pagination__numbers {
|
|
53
|
+
display: flex;
|
|
54
|
+
order: 2;
|
|
55
|
+
padding: 0;
|
|
56
|
+
margin-block: 0;
|
|
57
|
+
margin-inline: 2rem;
|
|
58
|
+
font-weight: bold;
|
|
59
|
+
list-style: none;
|
|
60
|
+
|
|
61
|
+
@media (--xs) {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.c-pagination__number {
|
|
67
|
+
display: block;
|
|
68
|
+
margin-block: 0;
|
|
69
|
+
margin-inline: 0.5rem;
|
|
70
|
+
list-style: none;
|
|
71
|
+
|
|
72
|
+
&:hover {
|
|
73
|
+
padding-block-end: 2px;
|
|
74
|
+
border-block-end: 2px solid var(--border-color);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
a {
|
|
78
|
+
display: block;
|
|
79
|
+
padding-block: 0;
|
|
80
|
+
padding-inline: 0.3rem;
|
|
81
|
+
text-align: center;
|
|
82
|
+
|
|
83
|
+
&::after {
|
|
84
|
+
display: none;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* 🐲 baserCMSの仕様上 マルチクラスでしかカレントを定義できない */
|
|
90
|
+
/* stylelint-disable selector-class-pattern */
|
|
91
|
+
.c-pagination__number--current {
|
|
92
|
+
border-block-end: 2px solid var(--border-color);
|
|
93
|
+
|
|
94
|
+
&:hover {
|
|
95
|
+
padding-block-end: 0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
/* stylelint-enable selector-class-pattern */
|