@d-zero/scaffold 5.0.0-alpha.10

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 (80) hide show
  1. package/.editorconfig +18 -0
  2. package/.eslintrc.cjs +4 -0
  3. package/.gitignore +25 -0
  4. package/.markuplintrc +3 -0
  5. package/.postcssrc.js +5 -0
  6. package/.prettierignore +1 -0
  7. package/.prettierrc.mjs +5 -0
  8. package/.pug-lintrc +3 -0
  9. package/.stylelintrc +3 -0
  10. package/.textlintrc.js +3 -0
  11. package/.vscode/extensions.json +11 -0
  12. package/.vscode/settings.json +42 -0
  13. package/CHANGELOG.md +56 -0
  14. package/README.md +13 -0
  15. package/__assets/_libs/.markuplintrc +19 -0
  16. package/__assets/_libs/component/_c-card-list.scss +7 -0
  17. package/__assets/_libs/component/_c-card.pug +23 -0
  18. package/__assets/_libs/component/_c-card.scss +106 -0
  19. package/__assets/_libs/component/_c-content-index.scss +8 -0
  20. package/__assets/_libs/component/_c-content-main.scss +270 -0
  21. package/__assets/_libs/component/_c-footer.pug +8 -0
  22. package/__assets/_libs/component/_c-footer.scss +43 -0
  23. package/__assets/_libs/component/_c-header.pug +20 -0
  24. package/__assets/_libs/component/_c-header.scss +96 -0
  25. package/__assets/_libs/component/_c-media-list.scss +7 -0
  26. package/__assets/_libs/component/_c-media.pug +23 -0
  27. package/__assets/_libs/component/_c-media.scss +115 -0
  28. package/__assets/_libs/component/_c-nav-breadcrumb.pug +42 -0
  29. package/__assets/_libs/component/_c-nav-breadcrumb.scss +47 -0
  30. package/__assets/_libs/component/_c-nav-global.pug +9 -0
  31. package/__assets/_libs/component/_c-nav-global.scss +117 -0
  32. package/__assets/_libs/component/_c-nav-sitemap.pug +115 -0
  33. package/__assets/_libs/component/_c-nav-sitemap.scss +140 -0
  34. package/__assets/_libs/component/_c-page-home.scss +45 -0
  35. package/__assets/_libs/component/_c-page-sub.scss +65 -0
  36. package/__assets/_libs/component/_c-pagination.pug +14 -0
  37. package/__assets/_libs/component/_c-pagination.scss +100 -0
  38. package/__assets/_libs/component/_c-title-page.pug +2 -0
  39. package/__assets/_libs/component/_c-title-page.scss +11 -0
  40. package/__assets/_libs/data/.markuplintrc +3 -0
  41. package/__assets/_libs/data/blocks-burger.html +4161 -0
  42. package/__assets/_libs/data/blocks.cjs +6 -0
  43. package/__assets/_libs/data/blocks.html +101 -0
  44. package/__assets/_libs/data/data.yml +27 -0
  45. package/__assets/_libs/img/bg-arrow.svg +1 -0
  46. package/__assets/_libs/img/bg-repeat-01.gif +0 -0
  47. package/__assets/_libs/mixin/meta.pug +21 -0
  48. package/__assets/_libs/script/index.ts +3 -0
  49. package/__assets/_libs/style/base/_root.scss +30 -0
  50. package/__assets/_libs/style/general/_all.scss +11 -0
  51. package/__assets/_libs/style/general/_body.scss +10 -0
  52. package/__assets/_libs/style/general/_button.scss +5 -0
  53. package/__assets/_libs/style/general/_img.scss +6 -0
  54. package/__assets/_libs/style/theme/_color.scss +4 -0
  55. package/__assets/_libs/style/theme/_dimension.scss +53 -0
  56. package/__assets/_libs/style/theme/_font.scss +2 -0
  57. package/__assets/_libs/style/theme/_index.scss +3 -0
  58. package/__assets/htdocs/.eslintrc +10 -0
  59. package/__assets/htdocs/@static/empty +0 -0
  60. package/__assets/htdocs/@static/img/empty +0 -0
  61. package/__assets/htdocs/__tmpl/.markuplintrc +19 -0
  62. package/__assets/htdocs/__tmpl/000_home.pug +20 -0
  63. package/__assets/htdocs/__tmpl/100_sub.pug +23 -0
  64. package/__assets/htdocs/__tmpl/200_blog_index.pug +40 -0
  65. package/__assets/htdocs/__tmpl/210_blog_index.pug +40 -0
  66. package/__assets/htdocs/__tmpl/300_form_input.pug +569 -0
  67. package/__assets/htdocs/__tmpl/301_form_confirm.pug +211 -0
  68. package/__assets/htdocs/__tmpl/302_form_complete.pug +27 -0
  69. package/__assets/htdocs/__tmpl/index.pug +69 -0
  70. package/__assets/htdocs/css/style.scss +32 -0
  71. package/__assets/htdocs/index.pug +9 -0
  72. package/__assets/htdocs/js/script.ts +3 -0
  73. package/__assets/htdocs/sub-folder.test/css/style.scss +7 -0
  74. package/__assets/htdocs/sub-folder.test/index.pug +8 -0
  75. package/__assets/htdocs/sub-folder.test/js/script.js +9 -0
  76. package/cspell.json +4 -0
  77. package/eleventy.config.cjs +25 -0
  78. package/lint-staged.config.mjs +3 -0
  79. package/package.json +55 -0
  80. package/tsconfig.json +11 -0
package/.editorconfig ADDED
@@ -0,0 +1,18 @@
1
+ # http://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ indent_style = tab
6
+ indent_size = 4
7
+ end_of_line = lf
8
+ charset = utf-8
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
11
+
12
+ [*.md]
13
+ trim_trailing_whitespace = false
14
+ indent_style = space
15
+
16
+ [*.yml]
17
+ indent_style = space
18
+ indent_size = 4
package/.eslintrc.cjs ADDED
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ extends: ['@d-zero/eslint-config'],
3
+ ignorePatterns: ['@static'],
4
+ };
package/.gitignore ADDED
@@ -0,0 +1,25 @@
1
+ .DS_Store
2
+ node_modules
3
+ npm-error.log
4
+ yarn-error.log
5
+ .env
6
+
7
+ # Huge File
8
+ *.zip
9
+ *.psd
10
+ *.pdf
11
+ *.ai
12
+ *.mp3
13
+ *.mp4
14
+ *.mov
15
+
16
+ # Privacy
17
+ *.sql
18
+
19
+ # Temporary
20
+ .11ty-vite
21
+ .serve
22
+
23
+ # Document Root
24
+ htdocs
25
+ !__assets/htdocs
package/.markuplintrc ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": ["@d-zero/markuplint-config"]
3
+ }
package/.postcssrc.js ADDED
@@ -0,0 +1,5 @@
1
+ import postcss from '@d-zero/postcss-config';
2
+
3
+ export default {
4
+ ...postcss,
5
+ };
@@ -0,0 +1 @@
1
+ @static
@@ -0,0 +1,5 @@
1
+ import prettierConfig from '@d-zero/prettier-config';
2
+
3
+ export default {
4
+ ...prettierConfig,
5
+ };
package/.pug-lintrc ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "@d-zero/pug-lint-config"
3
+ }
package/.stylelintrc ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": ["@d-zero/stylelint-config"]
3
+ }
package/.textlintrc.js ADDED
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ ...require('@d-zero/textlint-config'),
3
+ };
@@ -0,0 +1,11 @@
1
+ {
2
+ "recommendations": [
3
+ "esbenp.prettier-vscode",
4
+ "editorconfig.editorconfig",
5
+ "stylelint.vscode-stylelint",
6
+ "dbaeumer.vscode-eslint",
7
+ "yusukehirao.vscode-markuplint",
8
+ "mrmlnc.vscode-puglint",
9
+ "streetsidesoftware.code-spell-checker"
10
+ ]
11
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "editor.renderWhitespace": "all",
3
+ "editor.wordSeparators": "`~!@#%^&*()=+[{]}\\|;:'\",.<>/?",
4
+ "editor.renderControlCharacters": true,
5
+ "files.trimTrailingWhitespace": true,
6
+ "typescript.tsdk": "node_modules/typescript/lib",
7
+ "git.ignoreLimitWarning": true,
8
+ "html.format.enable": true,
9
+ "css.validate": false,
10
+ "scss.validate": false,
11
+ "stylelint.validate": ["css", "scss"],
12
+
13
+ "files.associations": {
14
+ ".stylelintrc": "json",
15
+ ".markuplintrc": "json",
16
+ ".pug-lintrc": "json"
17
+ },
18
+
19
+ // Plugin settings
20
+ "puglint.enable": true,
21
+
22
+ // Auto format
23
+ "editor.formatOnSave": true,
24
+ "[html]": {
25
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
26
+ },
27
+ "[javascript]": {
28
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
29
+ },
30
+ "[markdown]": {
31
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
32
+ },
33
+ "editor.codeActionsOnSave": {
34
+ "source.fixAll.eslint": "explicit",
35
+ "source.fixAll.stylelint": "explicit"
36
+ },
37
+
38
+ // GitHub Copilot
39
+ "github.copilot.enable": {
40
+ "*": false
41
+ }
42
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,56 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ # [5.0.0-alpha.10](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.9...v5.0.0-alpha.10) (2024-06-11)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **scaffold:** 生成ファイルや静的ファイルがリント対象となっていたため除外設定を追加 ([0938636](https://github.com/d-zero-dev/frontend-env/commit/0938636ec260337914eaa4d0ab98aead709164fc))
11
+ - **scaffold:** 文字選択の背景色が表示できない設定になっていたので削除 ([5b7a559](https://github.com/d-zero-dev/frontend-env/commit/5b7a559adb103a868901cfe7ab8dc7ef2f5d5e12))
12
+
13
+ ### Features
14
+
15
+ - **scaffold:** リセットを`destyle.css`に変更 ([10f05c7](https://github.com/d-zero-dev/frontend-env/commit/10f05c79f54b41114c3d26194ad1ba84b15fd61d))
16
+
17
+ # [5.0.0-alpha.9](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.8...v5.0.0-alpha.9) (2024-06-10)
18
+
19
+ ### Features
20
+
21
+ - **builder:** `publicDir`を`eleventyConfig.addGlobalData`に設定できるように追加 ([26e2740](https://github.com/d-zero-dev/frontend-env/commit/26e2740c8df32cc60cb4e407fe4cfc20919a7e5a))
22
+ - **scaffold:** `[@static](https://github.com/static)`フォルダを空フォルダとして予め準備 ([7fe485b](https://github.com/d-zero-dev/frontend-env/commit/7fe485b2ef4d5a13e23e494c1d2c5422ef3fdc3b))
23
+
24
+ # [5.0.0-alpha.8](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.7...v5.0.0-alpha.8) (2024-05-23)
25
+
26
+ **Note:** Version bump only for package @d-zero/scaffold
27
+
28
+ # [5.0.0-alpha.7](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.6...v5.0.0-alpha.7) (2024-05-14)
29
+
30
+ **Note:** Version bump only for package @d-zero/scaffold
31
+
32
+ # [5.0.0-alpha.6](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.5...v5.0.0-alpha.6) (2024-05-14)
33
+
34
+ **Note:** Version bump only for package @d-zero/scaffold
35
+
36
+ # [5.0.0-alpha.5](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.4...v5.0.0-alpha.5) (2024-05-14)
37
+
38
+ ### Bug Fixes
39
+
40
+ - **scaffold:** fix published files ([f35ae2b](https://github.com/d-zero-dev/frontend-env/commit/f35ae2b9c46f14efda206acf518d10bd3b4a582f))
41
+
42
+ # [5.0.0-alpha.4](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.2...v5.0.0-alpha.4) (2024-05-14)
43
+
44
+ **Note:** Version bump only for package @d-zero/scaffold
45
+
46
+ # [5.0.0-alpha.2](https://github.com/d-zero-dev/frontend-env/compare/v5.0.0-alpha.1...v5.0.0-alpha.2) (2024-05-14)
47
+
48
+ ### Bug Fixes
49
+
50
+ - **scaffold:** fix to include `.gitignore` in package ([e432294](https://github.com/d-zero-dev/frontend-env/commit/e43229418c0cd7c97100bc421fb277dd53883284))
51
+
52
+ # 5.0.0-alpha.1 (2024-05-14)
53
+
54
+ ### Features
55
+
56
+ - **repo:** first commit ([8d3d8e5](https://github.com/d-zero-dev/frontend-env/commit/8d3d8e54ba047d5431b958d7f28af026357a4886))
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # D-ZERO フロントエンド標準開発環境
2
+
3
+ 詳細は[ガイドライン](https://guidelines.d-zero.co.jp)を参照してください。
4
+
5
+ ## コマンド
6
+
7
+ | コマンド | 実行される内容 |
8
+ | ------------ | ---------------------------------------------------- |
9
+ | `yarn` | 必要なパッケージのインストール |
10
+ | `yarn dev` | 開発用ローカル環境の起動( http://localhost:8080/ ) |
11
+ | `yarn lint` | リントチェック |
12
+ | `yarn build` | ビルド |
13
+ | `yarn up` | 依存パッケージのアップデート |
@@ -0,0 +1,19 @@
1
+ {
2
+ "extends": ["../../.markuplintrc"],
3
+ "nodeRules": [
4
+ {
5
+ "selector": "link, script",
6
+ "rules": {
7
+ "invalid-attr": {
8
+ "options": {
9
+ "allowAttrs": {
10
+ "⚠️": {
11
+ "type": "Any"
12
+ }
13
+ }
14
+ }
15
+ }
16
+ }
17
+ }
18
+ ]
19
+ }
@@ -0,0 +1,7 @@
1
+ @use '../style/theme' as *;
2
+
3
+ .c-card-list {
4
+ display: grid;
5
+ grid-template-columns: repeat(auto-fit, minmax(calc(200 / 17 * 1em), 1fr));
6
+ gap: 0.5em;
7
+ }
@@ -0,0 +1,23 @@
1
+ .c-card
2
+ a(href=article.url)
3
+ .c-card__img
4
+ img(src=article.img alt height="300" decoding="async" width="400")
5
+ .c-card__header
6
+ .c-card__meta
7
+ if article.cat
8
+ .c-card__category(data-category=article.cat.id)
9
+ span= article.cat.name
10
+ if article.time
11
+ .c-card__time(data-datetime=filters.date(article.time, "YYYY-MM-DD"))
12
+ span= filters.date(article.time, "YYYY.MM.DD")
13
+ if article.tag
14
+ .c-card__tags
15
+ ul
16
+ each tag in article.tag
17
+ li.c-card__tag-item(data-tag=tag)
18
+ span= tag
19
+ .c-card__title
20
+ span= article.title
21
+ .c-card__body
22
+ .c-card__description
23
+ p= article.desc
@@ -0,0 +1,106 @@
1
+ @use '../style/theme' as *;
2
+
3
+ .c-card {
4
+ position: relative;
5
+ block-size: 100%;
6
+ overflow: hidden;
7
+ border: 1px solid var(--border-color);
8
+ outline: 2px solid transparent;
9
+ transition: outline 300ms;
10
+
11
+ &:has(a:hover) {
12
+ border: 1px solid var(--border-color);
13
+ outline: 2px solid var(--border-color);
14
+ }
15
+
16
+ > a {
17
+ block-size: 100%;
18
+ color: currentcolor;
19
+ text-decoration: none;
20
+ }
21
+
22
+ &__img {
23
+ inline-size: 100%;
24
+
25
+ img {
26
+ inset-block-start: 0;
27
+ inset-inline-start: 0;
28
+ display: block;
29
+ inline-size: 100%;
30
+ aspect-ratio: 4 / 3;
31
+ object-fit: cover;
32
+ object-position: center top;
33
+ }
34
+ }
35
+
36
+ &__header {
37
+ flex: 0 1 auto;
38
+ padding-inline: 1em;
39
+ }
40
+
41
+ &__body {
42
+ flex: 0 1 100%;
43
+ padding-block: 0.5em 2em;
44
+ padding-inline: 1em;
45
+ }
46
+
47
+ &__title {
48
+ padding: 0;
49
+ margin-block: 0;
50
+ margin-inline: auto;
51
+ }
52
+
53
+ // ブログのみ
54
+ &__meta {
55
+ //
56
+ }
57
+
58
+ // ブログのみ
59
+ &__time {
60
+ display: none;
61
+ }
62
+
63
+ // ブログのみ
64
+ &__category {
65
+ //
66
+ }
67
+
68
+ // ブログのみ
69
+ &__tags {
70
+ ul {
71
+ padding: 0;
72
+ margin-block: 0;
73
+ margin-inline: auto;
74
+ list-style: none;
75
+ }
76
+ }
77
+
78
+ // ブログのみ
79
+ &__tag-item {
80
+ display: inline-block;
81
+ padding: 0;
82
+ margin: 0;
83
+ list-style: none;
84
+
85
+ span {
86
+ display: block;
87
+ padding-block: 0.2em;
88
+ padding-inline: 1em;
89
+ }
90
+ }
91
+
92
+ // ブログのみ
93
+ &__author {
94
+ display: none;
95
+ }
96
+
97
+ &__description {
98
+ padding: 0;
99
+ margin: 0;
100
+
101
+ p {
102
+ padding: 0;
103
+ margin: 0;
104
+ }
105
+ }
106
+ }
@@ -0,0 +1,8 @@
1
+ @use '../style/theme' as *;
2
+
3
+ .c-content-index {
4
+ &__body {
5
+ margin-block: 0;
6
+ margin-inline: auto;
7
+ }
8
+ }
@@ -0,0 +1,270 @@
1
+ @use '../style/theme' as *;
2
+
3
+ /* stylelint-disable selector-class-pattern, selector-nested-pattern -- content-main特殊ルール */
4
+ //
5
+ // メインコンテンツ(content-mainコンポーネント)の内容はCMSなどで管理されるHTMLを含んだり、
6
+ // ページ独自のスタイルを扱うことが多いので例外的に専用のルールを設ける。
7
+ //
8
+ // メインコンテンツのエレメントは基本的に自由である。
9
+ // ただし、クラス名は`c-`で開始してはいけない。もちろん 【`c-` + `コンポーネント名` + `__` + `エレメント名`】 という規則でクラス名をつけない。
10
+ // さらにそのルールに従って、メインコンテンツの中にコンポーネントを内包してはいけない。
11
+ .c-content-main {
12
+ :where(*) {
13
+ text-underline-offset: 3px;
14
+ }
15
+
16
+ :where(h2, h3, h4, h5, h6, p) {
17
+ margin-block-end: max(0.75em, 1rem);
18
+ }
19
+
20
+ :where(ul, ol, table, blockquote) {
21
+ margin-block-end: 2em;
22
+ }
23
+
24
+ :where(h2) {
25
+ font-size: var(--font-size-h2);
26
+ }
27
+
28
+ :where(h3) {
29
+ font-size: var(--font-size-h3);
30
+ }
31
+
32
+ :where(h4) {
33
+ font-size: var(--font-size-h4);
34
+ }
35
+
36
+ :where(h5) {
37
+ font-size: var(--font-size-h5);
38
+ }
39
+
40
+ :where(h6) {
41
+ font-size: var(--font-size-h6);
42
+ }
43
+
44
+ :where(ul, ol) {
45
+ list-style-position: inside;
46
+ }
47
+
48
+ :where(blockquote) {
49
+ padding-inline: 1em;
50
+ border-inline-start: 3px solid var(--border-color);
51
+ }
52
+
53
+ :where(table) {
54
+ inline-size: 100%;
55
+ border-collapse: collapse;
56
+ }
57
+
58
+ :where(th, td) {
59
+ padding: 1em;
60
+ border: 1px solid var(--border-color);
61
+ }
62
+
63
+ .cc-form-description {
64
+ //
65
+ }
66
+
67
+ .cc-form {
68
+ margin: 0 auto;
69
+ }
70
+
71
+ .cc-form-field-list {
72
+ //
73
+ }
74
+
75
+ .cc-form-fieldset {
76
+ display: block;
77
+ padding: 1em 2em;
78
+
79
+ fieldset {
80
+ padding: 0;
81
+ margin: 0;
82
+ border: none;
83
+ }
84
+
85
+ legend {
86
+ padding: 0;
87
+ margin: 0;
88
+ }
89
+
90
+ &-heading {
91
+ display: flex;
92
+ align-items: center;
93
+ font-size: calc(18 / 16 * 1em);
94
+ font-weight: bold;
95
+
96
+ label {
97
+ display: block;
98
+ cursor: pointer;
99
+ }
100
+
101
+ .required,
102
+ .optional {
103
+ display: block;
104
+ margin: 0 0 0 0.5em;
105
+ font-size: calc(12 / 18 * 1em);
106
+ line-height: 1;
107
+ border-radius: 0.2em;
108
+ }
109
+ }
110
+
111
+ &-attention {
112
+ margin: 0.5em 0;
113
+ font-size: calc(12 / 18 * 1em);
114
+ font-weight: normal;
115
+ }
116
+
117
+ &-body {
118
+ //
119
+ }
120
+ }
121
+
122
+ .mail-field {
123
+ padding: 0 0 1em;
124
+ margin: 0 0 0 1em;
125
+
126
+ &:last-child {
127
+ border-block-end: 1px solid var(--border-color);
128
+ }
129
+
130
+ &[data-type='text'],
131
+ &[data-type='select'] {
132
+ display: grid;
133
+ grid-template:
134
+ 'before-attachment input after-attachment' auto
135
+ 'description description description' auto
136
+ 'error-message error-message error-message' auto
137
+ / auto 1fr auto;
138
+ grid-gap: 0;
139
+
140
+ > * {
141
+ place-self: center flex-start;
142
+ }
143
+
144
+ .mail-before-attachment {
145
+ grid-area: before-attachment;
146
+ margin: 0 1em 0 0;
147
+
148
+ &:empty {
149
+ margin: 0;
150
+ }
151
+ }
152
+
153
+ .mail-input {
154
+ grid-area: input;
155
+ }
156
+
157
+ .mail-after-attachment {
158
+ grid-area: after-attachment;
159
+ margin: 0 0 0 1em;
160
+
161
+ &:empty {
162
+ margin: 0;
163
+ }
164
+ }
165
+
166
+ .mail-description {
167
+ grid-area: description;
168
+ font-size: calc(12 / 16 * 1em);
169
+ }
170
+
171
+ .error-message {
172
+ grid-area: error-message;
173
+ font-size: calc(12 / 16 * 1em);
174
+ }
175
+ }
176
+
177
+ .mail-before-attachment {
178
+ font-weight: bold;
179
+ }
180
+
181
+ .mail-input {
182
+ display: block;
183
+ grid-area: input;
184
+ inline-size: 100%;
185
+
186
+ input:not([type='radio'], [type='checkbox']),
187
+ textarea {
188
+ inline-size: 100%;
189
+ padding-inline: 0.5em;
190
+ font-family: inherit;
191
+ font-size: inherit;
192
+ border: 1px solid var(--border-color);
193
+ border-radius: 0.2em;
194
+
195
+ &[size] {
196
+ inline-size: auto;
197
+ }
198
+
199
+ &[type='file'] {
200
+ padding-block: 0;
201
+ padding-inline: 0 1em;
202
+
203
+ &::-webkit-file-upload-button {
204
+ appearance: none;
205
+ border: none;
206
+ }
207
+ }
208
+ }
209
+
210
+ input:not([type='radio'], [type='checkbox']) {
211
+ &:not([size]) {
212
+ inline-size: 100%;
213
+ }
214
+ }
215
+
216
+ textarea {
217
+ &:not([cols]) {
218
+ inline-size: 100%;
219
+ }
220
+ }
221
+
222
+ select {
223
+ padding: 0.5em calc(0.5em + 24px + 2px) 0.5em 0.5em;
224
+ appearance: none;
225
+ background-image: url('@/img/bg-arrow.svg');
226
+ background-repeat: no-repeat;
227
+ background-position: right calc(0.2em + 2px) top calc(100% / 2 + 2px);
228
+ border: 1px solid var(--border-color);
229
+ border-radius: 0.2em;
230
+ }
231
+ }
232
+
233
+ .checkbox {
234
+ display: flex;
235
+ align-items: center;
236
+ justify-content: flex-start;
237
+
238
+ input {
239
+ display: block;
240
+ padding: 0;
241
+ margin: 0;
242
+ line-height: 1;
243
+ }
244
+
245
+ label {
246
+ cursor: pointer;
247
+ }
248
+ }
249
+
250
+ .mail-group-radio {
251
+ > span {
252
+ display: flex;
253
+ align-items: center;
254
+ justify-content: flex-start;
255
+
256
+ input {
257
+ display: block;
258
+ padding: 0;
259
+ margin: 0 0.5em 0 0;
260
+ line-height: 1;
261
+ }
262
+
263
+ label {
264
+ cursor: pointer;
265
+ }
266
+ }
267
+ }
268
+ }
269
+ }
270
+ /* stylelint-enable selector-class-pattern, selector-nested-pattern */
@@ -0,0 +1,8 @@
1
+ footer.c-footer
2
+ .c-footer__body
3
+ .c-footer__links
4
+ ul
5
+ li: a(href="__URL__") 個人情報保護方針
6
+ li: a(href="__URL__") サイトポリシー
7
+ li: a(href="__URL__") お問い合わせ
8
+ small.c-footer__copyright ©2024 THE SITE NAME Co.,Ltd.