Skip to content

Commit 668f61f

Browse files
authored
Merge branch 'development' into feature/issue-104-edit-index
2 parents 9e89567 + d69d11c commit 668f61f

File tree

11 files changed

+430
-61
lines changed

11 files changed

+430
-61
lines changed

src/assets/svgs/prj_logo.svg

Lines changed: 30 additions & 0 deletions
Loading

src/components/ActionButton.vue

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<template>
2+
<button :class="`ActionButton ActionButton-${theme}`" @click="onClick">
3+
<span>{{ text }}</span>
4+
</button>
5+
</template>
6+
7+
<script lang="ts">
8+
import { Vue, Component, Prop } from 'vue-property-decorator'
9+
10+
type Theme = 'primary' | 'secondary' | 'border' | 'transparent'
11+
12+
@Component
13+
export default class ActionButton extends Vue {
14+
@Prop({ default: 'primary' })
15+
theme!: Theme
16+
17+
@Prop({ default: '' })
18+
text!: string | undefined
19+
20+
onClick(): void {
21+
this.$router.push('/')
22+
}
23+
}
24+
</script>
25+
26+
<style lang="scss" scoped>
27+
.ActionButton {
28+
width: 100%;
29+
border-radius: 3em;
30+
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
31+
0 1px 10px 0 rgba(0, 0, 0, 0.12);
32+
text-align: center;
33+
font-size: 20px;
34+
font-weight: bold;
35+
padding: 12px 16px;
36+
37+
&-primary {
38+
background-color: $color-yellow;
39+
color: $color-gray;
40+
}
41+
42+
&-secondary {
43+
background-color: $color-white;
44+
color: $color-gray;
45+
}
46+
47+
&-border {
48+
background-color: $color-white;
49+
border: 1px solid $color-base-color-01;
50+
color: $color-base-color-01;
51+
box-shadow: none;
52+
}
53+
54+
&-transparent {
55+
border: 1px solid $color-white;
56+
color: $color-white;
57+
box-shadow: none;
58+
}
59+
}
60+
</style>

src/components/CalendarBar.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ export default class CalendarBar extends Vue {
276276
background: rgba(0, 0, 0, 0);
277277
height: 68px;
278278
min-width: 12px;
279-
font-family: 'Noto Sans JP', sans-serif;
280279
281280
.title {
282281
color: $color-base-color-01;
@@ -308,12 +307,12 @@ export default class CalendarBar extends Vue {
308307
flex-direction: column;
309308
background: $color-white;
310309
height: 68px;
311-
min-width: 16px;
312-
border-radius: 30px !important;
310+
min-width: 1rem;
311+
max-width: 3rem;
312+
border-radius: 3em !important;
313313
align-items: center;
314314
justify-content: center;
315315
color: $color-gray;
316-
font-family: 'Noto Sans JP', sans-serif;
317316
margin: 0 3px;
318317
}
319318

src/components/ContentCard.vue

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
2-
<v-card class="ContentCard">
3-
<v-card-actions>
2+
<v-card class="ContentCard elevation-4">
3+
<v-card-actions class="ContentCard-Actions">
44
<subject-tag
55
v-for="(item, idx) in subjects"
66
:key="idx"
@@ -10,11 +10,20 @@
1010
:icon-color="item.iconColor || 'white'"
1111
:background-color="item.backgroundColor || '#A5D8FF'"
1212
/>
13+
<subject-tag
14+
class="ContentCard-SubjectTag"
15+
:name="'動画'"
16+
:icon="'mdi-video'"
17+
:icon-color="'#424242'"
18+
:background-color="'#E0E0E0'"
19+
/>
1320
</v-card-actions>
1421
<v-card-title>
1522
<h2 class="ContentCard-Title">{{ title }}</h2>
1623
</v-card-title>
17-
<v-card-text class="ContentCard-Description">{{ description }}</v-card-text>
24+
<v-card-text>
25+
<p class="ContentCard-Description">{{ description }}</p>
26+
</v-card-text>
1827
</v-card>
1928
</template>
2029

@@ -43,27 +52,23 @@ export default Vue.extend({
4352

4453
<style scoped lang="scss">
4554
.ContentCard {
46-
color: 'black';
55+
color: $color-gray;
4756
border-radius: 14px !important;
57+
.ContentCard-Actions {
58+
padding: 16px 16px 0;
59+
}
4860
.ContentCard-SubjectTag {
4961
margin-right: 4px;
5062
}
5163
.ContentCard-Title {
52-
font-family: 'Noto Sans', sans-serif;
53-
font-style: normal;
5464
font-weight: bold;
5565
font-size: 14px;
56-
line-height: 19px;
57-
color: #424242;
66+
line-height: 1.75;
5867
}
5968
.ContentCard-Description {
60-
white-space: pre-wrap;
61-
font-family: 'Noto Sans', sans-serif;
62-
font-style: normal;
63-
font-weight: normal;
6469
font-size: 12px;
65-
line-height: 16px;
66-
color: #424242;
70+
color: $color-gray;
71+
margin: 0;
6772
}
6873
}
6974
</style>

0 commit comments

Comments
 (0)