@geckou/ui-vue 0.3.1 → 0.5.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 (145) hide show
  1. package/README.md +8 -1
  2. package/dist/components/ArticleList/Card/Artistic.vue.d.ts +10 -0
  3. package/dist/components/ArticleList/Card/Entertainment.vue.d.ts +10 -0
  4. package/dist/components/ArticleList/Card/Gallery.vue.d.ts +10 -0
  5. package/dist/components/ArticleList/Card/Grid.vue.d.ts +11 -0
  6. package/dist/components/ArticleList/Card/News.vue.d.ts +9 -0
  7. package/dist/components/ArticleList/Card/Rounded.vue.d.ts +10 -0
  8. package/dist/components/ArticleList/Card/Row.vue.d.ts +9 -0
  9. package/dist/components/ArticleList/Card/Simple.vue.d.ts +10 -0
  10. package/dist/components/ArticleList/Card/Standard.vue.d.ts +10 -0
  11. package/dist/components/ArticleList/Card/Tile.vue.d.ts +10 -0
  12. package/dist/components/ArticleList/GenericArticleList.vue.d.ts +11 -0
  13. package/dist/components/ArticleList/List/Artistic.vue.d.ts +8 -0
  14. package/dist/components/ArticleList/List/Entertainment.vue.d.ts +8 -0
  15. package/dist/components/ArticleList/List/Gallery.vue.d.ts +8 -0
  16. package/dist/components/ArticleList/List/Grid.vue.d.ts +11 -0
  17. package/dist/components/ArticleList/List/News.vue.d.ts +8 -0
  18. package/dist/components/ArticleList/List/Rounded.vue.d.ts +8 -0
  19. package/dist/components/ArticleList/List/Row.vue.d.ts +8 -0
  20. package/dist/components/ArticleList/List/Simple.vue.d.ts +8 -0
  21. package/dist/components/ArticleList/List/Standard.vue.d.ts +8 -0
  22. package/dist/components/ArticleList/List/Tile.vue.d.ts +8 -0
  23. package/dist/components/ArticleList/Parts/AuthorInfo.vue.d.ts +31 -0
  24. package/dist/components/ArticleList/Parts/CardContainer.vue.d.ts +20 -0
  25. package/dist/components/ArticleList/Parts/CardHeading.vue.d.ts +12 -0
  26. package/dist/components/ArticleList/Parts/CategoryList.vue.d.ts +19 -0
  27. package/dist/components/ArticleList/Parts/ExcerptText.vue.d.ts +12 -0
  28. package/dist/components/ArticleList/Parts/MetadataList.vue.d.ts +32 -0
  29. package/dist/components/ArticleList/Parts/NoImage.vue.d.ts +2 -0
  30. package/dist/components/ArticleList/Parts/PostedDate.vue.d.ts +14 -0
  31. package/dist/components/ArticleList/Parts/TagList.vue.d.ts +18 -0
  32. package/dist/components/ArticleList/Parts/ThumbnailImage.vue.d.ts +17 -0
  33. package/dist/components/BasicButton.vue.d.ts +26 -0
  34. package/dist/components/CheckBox.vue.d.ts +34 -0
  35. package/dist/components/CheckBoxes.vue.d.ts +18 -0
  36. package/dist/components/CheckButton.vue.d.ts +31 -0
  37. package/dist/components/DatePicker.vue.d.ts +27 -0
  38. package/dist/components/DateRangePicker.vue.d.ts +31 -0
  39. package/dist/components/DateSelector.vue.d.ts +17 -0
  40. package/dist/components/DropdownUi.vue.d.ts +37 -0
  41. package/dist/components/ErrorMessage.vue.d.ts +9 -0
  42. package/dist/components/Icon/CalendarIcon.vue.d.ts +2 -0
  43. package/dist/components/Icon/CheckIcon.vue.d.ts +2 -0
  44. package/dist/components/Icon/CloseIcon.vue.d.ts +2 -0
  45. package/dist/components/Icon/Folder.vue.d.ts +2 -0
  46. package/dist/components/Icon/Image.vue.d.ts +2 -0
  47. package/dist/components/Icon/KeyboardArrowDownIcon.vue.d.ts +2 -0
  48. package/dist/components/Icon/Tag.vue.d.ts +2 -0
  49. package/dist/components/InputBox.vue.d.ts +27 -0
  50. package/dist/components/InputGroup.vue.d.ts +17 -0
  51. package/dist/components/LabeledCheckbox.vue.d.ts +20 -0
  52. package/dist/components/LabeledFieldset.vue.d.ts +21 -0
  53. package/dist/components/LoadingSpinner.vue.d.ts +2 -0
  54. package/dist/components/ModalBox.vue.d.ts +27 -0
  55. package/dist/components/PopupBox.vue.d.ts +30 -0
  56. package/dist/components/RadioButtons.vue.d.ts +20 -0
  57. package/dist/components/SelectBox.vue.d.ts +37 -0
  58. package/dist/components/SlideDownUi.vue.d.ts +37 -0
  59. package/dist/components/TabUI.vue.d.ts +52 -0
  60. package/dist/components/TextArea.vue.d.ts +33 -0
  61. package/dist/components/TextBox.vue.d.ts +44 -0
  62. package/dist/components/TextButton.vue.d.ts +10 -0
  63. package/dist/components/ToggleButton.vue.d.ts +23 -0
  64. package/dist/const/index.d.ts +1 -0
  65. package/dist/const/list-theme.d.ts +62 -0
  66. package/dist/index.d.ts +43 -0
  67. package/dist/index.js +3518 -0
  68. package/dist/scripts/form-validation-manager.d.ts +30 -0
  69. package/dist/scripts/unique-id.d.ts +1 -0
  70. package/dist/scripts/use-click-outside.d.ts +13 -0
  71. package/dist/scripts/utils.d.ts +15 -0
  72. package/dist/style.css +1 -0
  73. package/dist/types/index.d.ts +48 -77
  74. package/package.json +16 -8
  75. package/dist/assets/scss/functions.scss +0 -6
  76. package/dist/assets/scss/mixin.scss +0 -33
  77. package/dist/components/ArticleList/Card/Artistic.vue +0 -311
  78. package/dist/components/ArticleList/Card/Entertainment.vue +0 -245
  79. package/dist/components/ArticleList/Card/Gallery.vue +0 -255
  80. package/dist/components/ArticleList/Card/Grid.vue +0 -248
  81. package/dist/components/ArticleList/Card/News.vue +0 -151
  82. package/dist/components/ArticleList/Card/Rounded.vue +0 -155
  83. package/dist/components/ArticleList/Card/Row.vue +0 -168
  84. package/dist/components/ArticleList/Card/Simple.vue +0 -233
  85. package/dist/components/ArticleList/Card/Standard.vue +0 -188
  86. package/dist/components/ArticleList/Card/Tile.vue +0 -172
  87. package/dist/components/ArticleList/GenericArticleList.vue +0 -143
  88. package/dist/components/ArticleList/List/Artistic.vue +0 -24
  89. package/dist/components/ArticleList/List/Entertainment.vue +0 -24
  90. package/dist/components/ArticleList/List/Gallery.vue +0 -24
  91. package/dist/components/ArticleList/List/Grid.vue +0 -216
  92. package/dist/components/ArticleList/List/News.vue +0 -24
  93. package/dist/components/ArticleList/List/Rounded.vue +0 -24
  94. package/dist/components/ArticleList/List/Row.vue +0 -24
  95. package/dist/components/ArticleList/List/Simple.vue +0 -24
  96. package/dist/components/ArticleList/List/Standard.vue +0 -24
  97. package/dist/components/ArticleList/List/Tile.vue +0 -24
  98. package/dist/components/ArticleList/Parts/AuthorInfo.vue +0 -100
  99. package/dist/components/ArticleList/Parts/CardContainer.vue +0 -23
  100. package/dist/components/ArticleList/Parts/CardHeading.vue +0 -43
  101. package/dist/components/ArticleList/Parts/CategoryList.vue +0 -41
  102. package/dist/components/ArticleList/Parts/ExcerptText.vue +0 -43
  103. package/dist/components/ArticleList/Parts/MetadataList.vue +0 -120
  104. package/dist/components/ArticleList/Parts/NoImage.vue +0 -36
  105. package/dist/components/ArticleList/Parts/PostedDate.vue +0 -41
  106. package/dist/components/ArticleList/Parts/TagList.vue +0 -41
  107. package/dist/components/ArticleList/Parts/ThumbnailImage.vue +0 -85
  108. package/dist/components/BasicButton.vue +0 -143
  109. package/dist/components/CheckBox.vue +0 -140
  110. package/dist/components/CheckBoxes.vue +0 -101
  111. package/dist/components/CheckButton.vue +0 -127
  112. package/dist/components/DatePicker.vue +0 -234
  113. package/dist/components/DateRangePicker.vue +0 -85
  114. package/dist/components/DateSelector.vue +0 -273
  115. package/dist/components/DropdownUi.vue +0 -118
  116. package/dist/components/ErrorMessage.vue +0 -61
  117. package/dist/components/Icon/CalendarIcon.vue +0 -8
  118. package/dist/components/Icon/CheckIcon.vue +0 -8
  119. package/dist/components/Icon/CloseIcon.vue +0 -8
  120. package/dist/components/Icon/Folder.vue +0 -8
  121. package/dist/components/Icon/Image.vue +0 -14
  122. package/dist/components/Icon/KeyboardArrowDownIcon.vue +0 -8
  123. package/dist/components/Icon/Tag.vue +0 -8
  124. package/dist/components/InputBox.vue +0 -134
  125. package/dist/components/InputGroup.vue +0 -41
  126. package/dist/components/LabeledCheckbox.vue +0 -82
  127. package/dist/components/LabeledFieldset.vue +0 -41
  128. package/dist/components/LoadingSpinner.vue +0 -56
  129. package/dist/components/ModalBox.vue +0 -192
  130. package/dist/components/PopupBox.vue +0 -93
  131. package/dist/components/RadioButtons.vue +0 -163
  132. package/dist/components/SelectBox.vue +0 -166
  133. package/dist/components/SlideDownUi.vue +0 -123
  134. package/dist/components/TabUI.vue +0 -123
  135. package/dist/components/TextArea.vue +0 -115
  136. package/dist/components/TextBox.vue +0 -111
  137. package/dist/components/TextButton.vue +0 -47
  138. package/dist/components/ToggleButton.vue +0 -179
  139. package/dist/const/index.ts +0 -2
  140. package/dist/const/list-theme.ts +0 -62
  141. package/dist/index.ts +0 -126
  142. package/dist/scripts/form-validation-manager.ts +0 -63
  143. package/dist/scripts/utils.ts +0 -44
  144. package/dist/types/custom.d.ts +0 -1
  145. package/dist/types/vue-shim.d.ts +0 -5
@@ -1,311 +0,0 @@
1
- <script setup lang="ts">
2
- import { returnAuthor } from '../../../scripts/utils'
3
- import type {
4
- Article,
5
- Category,
6
- PostConfig,
7
- } from '../../../types'
8
- import CardContainer from '../../../components/ArticleList/Parts/CardContainer.vue'
9
- import ThumbnailImage from '../../../components/ArticleList/Parts/ThumbnailImage.vue'
10
- import AuthorInfo from '../../../components/ArticleList/Parts/AuthorInfo.vue'
11
- import CardHeading from '../../../components/ArticleList/Parts/CardHeading.vue'
12
- import CategoryList from '../../../components/ArticleList/Parts/CategoryList.vue'
13
- import TagList from '../../../components/ArticleList/Parts/TagList.vue'
14
- import PostedDate from '../../../components/ArticleList/Parts/PostedDate.vue'
15
- import ExcerptText from '../../../components/ArticleList/Parts/ExcerptText.vue'
16
-
17
- defineProps<{
18
- article: Article
19
- path: string
20
- isPickUpItem: boolean
21
- postConfig: PostConfig
22
- categories: Category[]
23
- }>()
24
- </script>
25
-
26
- <template>
27
- <div :class="[$style.wrapper, { [$style.pickup]: isPickUpItem }]">
28
- <CardContainer
29
- v-if="article"
30
- :class="$style.container"
31
- :path="path"
32
- >
33
- <ThumbnailImage
34
- :article="article"
35
- :aspectRatio="{
36
- desktop: isPickUpItem ? '21/9' : '4/3',
37
- tablet : isPickUpItem ? '21/9' : '4/3',
38
- mobile : '4/3',
39
- }"
40
- :class="$style.thumbnail"
41
- style="grid-area: thumbnail;"
42
- />
43
- <div :class="$style.overlay">
44
- <ExcerptText
45
- :excerpt="article.excerpt.rendered"
46
- :class="$style.excerpt"
47
- color="var(--white)"
48
- style="grid-area: excerpt;"
49
- />
50
- </div>
51
- <PostedDate
52
- :date="article.date"
53
- formatString="yy.M.d"
54
- :class="$style.date"
55
- style="grid-area: date;"
56
- />
57
- <CardHeading
58
- :heading="article.title.rendered"
59
- :class="$style.heading"
60
- style="grid-area: heading;"
61
- />
62
- <TagList
63
- v-if="postConfig.tag"
64
- :article="article"
65
- :label="{
66
- color : 'var(--text-color)',
67
- fontSize: 'smaller',
68
- }"
69
- :class="$style.tag"
70
- delimiter="/"
71
- style="grid-area: tag;"
72
- />
73
- <AuthorInfo
74
- v-if="postConfig.author && returnAuthor(article)"
75
- :avatarUrls="returnAuthor(article)?.avatar_urls"
76
- :thumbnail="{
77
- size: 'large',
78
- shape: 'circle'
79
- }"
80
- :class="$style.author"
81
- style="grid-area: author;"
82
- />
83
- <CategoryList
84
- v-if="postConfig.category && article.categories"
85
- :categoryIds="article.categories"
86
- :categoryData="categories"
87
- :label="{
88
- backgroundColor: 'var(--main-color)',
89
- color : 'var(--white)',
90
- fontSize : 'small',
91
- }"
92
- :class="$style.category"
93
- style="grid-area: category;"
94
- />
95
- </CardContainer>
96
- </div>
97
- </template>
98
-
99
- <style lang="scss" module>
100
- @use '../../../assets/scss/mixin' as *;
101
-
102
- @mixin borderOnHover {
103
- content : '';
104
- display : block;
105
- background-color: var(--primary-color);
106
- position : absolute;
107
- transition : all var(--animation-duration);
108
- }
109
-
110
- .wrapper {
111
- display : block;
112
- width : 100%;
113
- height : 100%;
114
- position : relative;
115
- box-shadow: 0 0 var(--sp-medium) 0 rgba(var(--black-rgb), .1);
116
-
117
- &::before,
118
- &::after {
119
- @include borderOnHover;
120
- width : 0;
121
- height: 2px;
122
- }
123
-
124
- &::before {
125
- top : -2px;
126
- left: -2px;
127
- }
128
-
129
- &::after {
130
- bottom: -2px;
131
- right : -2px;
132
- }
133
-
134
- &:hover {
135
- &::before,
136
- &::after {
137
- width: calc(100% + 4px);
138
- }
139
-
140
- .container {
141
- &::before,
142
- &::after {
143
- height: calc(100% + 4px);
144
- }
145
- }
146
-
147
- .overlay,
148
- .excerpt {
149
- opacity: 1;
150
- }
151
- }
152
-
153
- &.pickup {
154
- @include media('tablet') {
155
- aspect-ratio: 21/9;
156
-
157
- .container {
158
- grid-template-rows: 0 0 0 auto auto 1fr 0;
159
- grid-template-areas:
160
- 'excerpt'
161
- 'category'
162
- 'thumbnail'
163
- 'heading'
164
- 'date'
165
- 'tag'
166
- 'author';
167
- }
168
-
169
- .thumbnail {
170
- opacity: .4;
171
- position: absolute;
172
- top : 0;
173
- left : 0;
174
- }
175
-
176
- .heading,
177
- .date,
178
- .tag,
179
- .author,
180
- .category {
181
- position: relative;
182
- z-index : 2;
183
- }
184
-
185
- .category,
186
- .author {
187
- position: absolute;
188
- }
189
-
190
- .excerpt {
191
- display : flex;
192
- align-items : flex-end;
193
- padding-block-end: var(--sp-large);
194
- }
195
-
196
- .category {
197
- top : 0;
198
- left: 0;
199
- }
200
-
201
- .author {
202
- margin: 0;
203
- bottom: var(--sp-large);
204
- right : var(--sp-large);
205
- }
206
-
207
- .heading {
208
- padding-block-start: var(--sp-large);
209
- font-size : xx-large;
210
- }
211
-
212
- .tag {
213
- display : flex;
214
- align-items: flex-start;
215
- margin : 0;
216
- }
217
- }
218
- }
219
- }
220
-
221
- .container {
222
- grid-template-columns: 1fr;
223
- grid-template-rows : 0 fit-content(55%) auto auto 1fr auto auto;
224
- grid-template-areas :
225
- 'excerpt'
226
- 'thumbnail'
227
- 'date'
228
- 'heading'
229
- 'tag'
230
- 'author'
231
- 'category';
232
- text-align: center;
233
- position : relative;
234
- height : 100%;
235
-
236
- &::before,
237
- &::after {
238
- @include borderOnHover;
239
- width : 2px;
240
- height: 0;
241
- }
242
-
243
- &::before {
244
- bottom: -2px;
245
- left : -2px;
246
- }
247
-
248
- &::after {
249
- top : -2px;
250
- right: -2px;
251
- }
252
- }
253
-
254
- .overlay,
255
- .excerpt {
256
- width : 100%;
257
- max-height : 100%;
258
- position : absolute;
259
- opacity : 1;
260
- aspect-ratio: 4/3;
261
-
262
- @include media('desktop') {
263
- opacity: 0;
264
- }
265
- }
266
-
267
- .date {
268
- display : flex;
269
- justify-content: center;
270
- margin-block : calc(var(--bv) * 2) var(--bv);
271
- }
272
-
273
- .heading {
274
- padding: 0 calc(var(--bv) * 2);
275
- }
276
-
277
- .excerpt {
278
- display : flex;
279
- justify-content: center;
280
- align-items : center;
281
- height : 100%;
282
- padding : 0 calc(var(--bv) * 2);
283
- position : absolute;
284
- top : 0;
285
- }
286
-
287
- .author {
288
- justify-content: center;
289
- margin-block : var(--sp-large);
290
- }
291
-
292
- .category {
293
- display : flex;
294
- justify-content: center;
295
- }
296
-
297
- .overlay {
298
- background-image: linear-gradient(to bottom,
299
- rgb(var(--black-rgb), 0) 0%,
300
- rgba(var(--black-rgb), .5) 66%,
301
- rgba(var(--black-rgb), .8) 100%);
302
- backdrop-filter : blur(4px);
303
- }
304
-
305
- .tag {
306
- display : flex;
307
- align-items : center;
308
- justify-content: center;
309
- margin-block : var(--sp-medium);
310
- }
311
- </style>
@@ -1,245 +0,0 @@
1
- <script setup lang="ts">
2
- import { returnAuthor } from '../../../scripts/utils'
3
- import type {
4
- Article,
5
- Category,
6
- PostConfig,
7
- } from '../../../types'
8
- import CardContainer from '../../../components/ArticleList/Parts/CardContainer.vue'
9
- import ThumbnailImage from '../../../components/ArticleList/Parts/ThumbnailImage.vue'
10
- import AuthorInfo from '../../../components/ArticleList/Parts/AuthorInfo.vue'
11
- import CardHeading from '../../../components/ArticleList/Parts/CardHeading.vue'
12
- import CategoryList from '../../../components/ArticleList/Parts/CategoryList.vue'
13
- import TagList from '../../../components/ArticleList/Parts/TagList.vue'
14
- import PostedDate from '../../../components/ArticleList/Parts/PostedDate.vue'
15
- import ExcerptText from '../../../components/ArticleList/Parts/ExcerptText.vue'
16
-
17
- defineProps<{
18
- article: Article
19
- path: string
20
- isPickUpItem: boolean
21
- postConfig: PostConfig
22
- categories: Category[]
23
- }>()
24
- </script>
25
-
26
- <template>
27
- <CardContainer
28
- v-if="article"
29
- :class="[$style.container, { [$style.pickup]: isPickUpItem} ]"
30
- :path="path"
31
- >
32
- <div :class="$style.date">
33
- <PostedDate
34
- :date="article.date"
35
- :class="$style.year"
36
- formatString="yyyy"
37
- fontSize="medium"
38
- fontWeight="bold"
39
- color="var(--text-color)"
40
- />
41
- <PostedDate
42
- :date="article.date"
43
- :class="$style.month"
44
- formatString="M"
45
- fontSize="xxx-large"
46
- fontWeight="bold"
47
- color="var(--text-color)"
48
- />
49
- <PostedDate
50
- :date="article.date"
51
- :class="$style.day"
52
- formatString="d"
53
- fontSize="xxx-large"
54
- fontWeight="bold"
55
- color="var(--text-color)"
56
- />
57
- </div>
58
- <ThumbnailImage
59
- :article="article"
60
- :aspectRatio="{
61
- desktop: isPickUpItem ? '21/9' : '4/3',
62
- tablet : isPickUpItem ? '16/9' : '4/3',
63
- mobile : isPickUpItem ? '4/3' : '4/3',
64
- }"
65
- :class="$style.thumbnail"
66
- />
67
- <div :class="$style.contents">
68
- <CategoryList
69
- v-if="postConfig.category && article.categories"
70
- :categoryIds="article.categories"
71
- :categoryData="categories"
72
- :label="{
73
- color : 'var(--main-color)',
74
- fontSize: 'small',
75
- fontWeight: 'bold',
76
- }"
77
- :class="$style.category"
78
- />
79
- <CardHeading
80
- :heading="article.title.rendered"
81
- :class="$style.heading"
82
- />
83
- <div :class="$style.row">
84
- <TagList
85
- v-if="postConfig.tag"
86
- :article="article"
87
- :label="{
88
- color : 'var(--text-color)',
89
- fontSize: 'small',
90
- }"
91
- :class="$style.tag"
92
- delimiter="/"
93
- />
94
- <AuthorInfo
95
- v-if="postConfig.author && returnAuthor(article)"
96
- :avatarUrls="returnAuthor(article)?.avatar_urls"
97
- :class="$style.author"
98
- :thumbnail="{
99
- size: 'medium',
100
- shape: 'circle',
101
- }"
102
- />
103
- </div>
104
- <ExcerptText
105
- :excerpt="article.excerpt.rendered"
106
- :class="$style.excerpt"
107
- />
108
- </div>
109
- </CardContainer>
110
- </template>
111
-
112
- <style lang="scss" module>
113
- @use '../../../assets/scss/mixin' as *;
114
-
115
- .thumbnail {
116
- margin-top: calc(-1 * (var(--bv) * 2));
117
- overflow : hidden;
118
-
119
- img {
120
- transition: scale var(--animation-duration);
121
- }
122
- }
123
-
124
- .date {
125
- display : flex;
126
- align-items : flex-start;
127
- justify-content : flex-end;
128
- gap : var(--sp-small);
129
- margin-inline-end: var(--sp-medium);
130
- position : relative;
131
- z-index : 2;
132
- }
133
-
134
- .year {
135
- margin-block-start: var(--sp-small);
136
- }
137
-
138
- .month,
139
- .day {
140
- line-height: 1;
141
- }
142
-
143
- .month {
144
- display : flex;
145
- align-items: center;
146
-
147
- &::after {
148
- content : '';
149
- position : relative;
150
- margin-inline-start: var(--sp-small);
151
- display : block;
152
- width : 1px;
153
- height : calc(1em - var(--sp-medium));
154
- background-color : var(--text-color);
155
- }
156
- }
157
-
158
- .contents {
159
- display : flex;
160
- flex-grow : 1;
161
- flex-direction : column;
162
- height : auto;
163
- margin : calc(-1 * var(--sp-large)) var(--sp-medium) 0;
164
- background-color: var(--white);
165
- position : relative;
166
- z-index : 1;
167
- }
168
-
169
- .category {
170
- padding: var(--sp-medium);
171
- }
172
-
173
- .heading {
174
- flex-grow: 1;
175
- padding : 0 var(--sp-medium);
176
- }
177
-
178
- .row {
179
- display: flex;
180
- gap : var(--bv);
181
- padding: var(--sp-medium);
182
- justify-content: flex-end;
183
- }
184
-
185
- .author {
186
- margin-inline-start: auto;
187
- }
188
-
189
- .excerpt {
190
- --line-height: 1.8;
191
- flex : 0 0 auto;
192
- line-height : var(--line-height);
193
- height : calc(var(--line-height) * 3 * 1em + var(--sp-medium) * 2);
194
- padding : var(--sp-medium);
195
- border-block-start: 1px solid var(--border-color);
196
- }
197
-
198
- .container {
199
- display : flex;
200
- flex-direction: column;
201
- width : 100%;
202
- height : 100%;
203
- position : relative;
204
-
205
- &:hover {
206
- .thumbnail {
207
- img {
208
- scale: 1.1;
209
- }
210
- }
211
- }
212
-
213
- &.pickup {
214
- @include media('tablet') {
215
- aspect-ratio : 16/9;
216
- justify-content: center;
217
- align-items : flex-end;
218
-
219
- .thumbnail {
220
- margin : 0;
221
- position: absolute;
222
- top : 0;
223
- left : 0;
224
- }
225
-
226
- .contents {
227
- flex : 0 0 auto;
228
- margin : 0;
229
- margin-block-start: calc(-1 * var(--sp-medium));
230
- background-color : rgba(255, 255, 255, .7);
231
- }
232
-
233
- .heading {
234
- > h2 {
235
- font-size: xx-large;
236
- }
237
- }
238
- }
239
-
240
- @include media('desktop') {
241
- aspect-ratio: 21/9;
242
- }
243
- }
244
- }
245
- </style>