Skip to content

Commit 0324be6

Browse files
committed
EditingScreenのスタイルを調整
1 parent eed2c0a commit 0324be6

File tree

1 file changed

+63
-32
lines changed

1 file changed

+63
-32
lines changed

src/components/EditingScreen.vue

Lines changed: 63 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,55 @@
11
<template>
22
<v-bottom-sheet v-model="screen" persistent scrollable>
33
<v-card class="EditingScreen">
4-
<v-card-title class="EditingScreen-Header">
5-
<span class="En">CREATE TIMETABLE</span>
6-
<h2 class="Title">時間割作成</h2>
4+
<v-card-title class="EditingScreen-CardElements">
5+
<v-container class="EditingScreen-Container">
6+
<div class="EditingScreen-Header">
7+
<span class="En">CREATE TIMETABLE</span>
8+
<h2 class="Title">時間割作成</h2>
9+
</div>
10+
</v-container>
711
</v-card-title>
8-
<v-card-text class="EditingScreen-Form">
9-
<editing-screen1 v-show="page === 1" />
10-
<editing-screen2 v-show="page === 2" />
11-
<editing-screen3 v-show="page === 3" />
12-
<editing-screen4 v-show="page === 4" />
12+
<v-card-text class="EditingScreen-CardText">
13+
<v-container class="EditingScreen-FormContainer">
14+
<editing-screen1 v-show="page === 1" />
15+
<editing-screen2 v-show="page === 2" />
16+
<editing-screen3 v-show="page === 3" />
17+
<editing-screen4 v-show="page === 4" />
18+
</v-container>
1319
</v-card-text>
14-
<div class="EditingScreen-Footer">
15-
<div class="EditingScreen-Paging">
16-
<v-btn color="white" fab :disabled="isDisabled" @click="goBack">
17-
<v-icon color="#0071c2" large>mdi-chevron-left</v-icon>
18-
</v-btn>
19-
<span class="PagingNumber">{{ page }}/4</span>
20-
<v-btn color="white" fab :disabled="isDisabled" @click="goForward">
21-
<v-icon color="#0071c2" large>mdi-chevron-right</v-icon>
22-
</v-btn>
23-
</div>
24-
<div class="EditingScreen-ActionButtons">
25-
<action-button class="Button" theme="transparent" text="キャンセル" />
26-
<action-button
27-
class="Button"
28-
theme="primary"
29-
text="保存する"
30-
:is-disabled="isDisabled"
31-
/>
32-
</div>
33-
</div>
20+
<v-card-actions class="EditingScreen-CardElements">
21+
<v-container class="EditingScreen-Container">
22+
<div class="EditingScreen-Footer">
23+
<div class="EditingScreen-Paging">
24+
<v-btn color="white" fab :disabled="isDisabled" @click="goBack">
25+
<v-icon color="#0071c2" large>mdi-chevron-left</v-icon>
26+
</v-btn>
27+
<span class="PagingNumber">{{ page }}/4</span>
28+
<v-btn
29+
color="white"
30+
fab
31+
:disabled="isDisabled"
32+
@click="goForward"
33+
>
34+
<v-icon color="#0071c2" large>mdi-chevron-right</v-icon>
35+
</v-btn>
36+
</div>
37+
<div class="EditingScreen-ActionButtons">
38+
<action-button
39+
class="Button"
40+
theme="transparent"
41+
text="キャンセル"
42+
/>
43+
<action-button
44+
class="Button"
45+
theme="primary"
46+
text="保存する"
47+
:is-disabled="isDisabled"
48+
/>
49+
</div>
50+
</div>
51+
</v-container>
52+
</v-card-actions>
3453
</v-card>
3554
</v-bottom-sheet>
3655
</template>
@@ -91,14 +110,27 @@ export default Vue.extend({
91110
.EditingScreen {
92111
background-color: $color-base-color-07;
93112
border-radius: 24px 24px 0 0 !important;
94-
padding: 16px 0 16px 16px;
113+
padding: 16px;
114+
}
115+
.EditingScreen-CardElements {
116+
padding: 0 !important;
117+
}
118+
.EditingScreen-CardText {
119+
padding: 16px 8px 0 0 !important;
120+
}
121+
.EditingScreen-FormContainer {
122+
padding: 0 !important;
123+
}
124+
.EditingScreen-Container {
125+
padding: 0;
95126
}
96127
.EditingScreen-Header {
128+
display: flex;
97129
flex-direction: column;
130+
align-items: center;
98131
color: $color-white;
99132
border-bottom: 1px solid $color-base-color-01;
100133
padding: 0 0 4px !important;
101-
margin-right: 16px;
102134
103135
.En {
104136
font-size: 12px;
@@ -121,11 +153,10 @@ export default Vue.extend({
121153
}
122154
}
123155
.EditingScreen-Form {
124-
padding: 16px 8px 0 0 !important;
156+
padding: 16px 16px 0 0 !important;
125157
}
126158
.EditingScreen-Footer {
127159
border-top: 1px solid $color-base-color-01;
128-
margin-right: 16px;
129160
}
130161
.EditingScreen-ActionButtons {
131162
display: flex;

0 commit comments

Comments
 (0)