Skip to content

Commit fc6aa48

Browse files
ebisbejohnleider
authored andcommitted
Add rate this album to cards (#532)
* Add rate this album to cards * Fix styles * Update styles * Lint files
1 parent 5499216 commit fc6aa48

File tree

1 file changed

+48
-26
lines changed

1 file changed

+48
-26
lines changed

src/examples/cards/horizontal.vue

+48-26
Original file line numberDiff line numberDiff line change
@@ -36,45 +36,67 @@
3636

3737
<v-flex xs12>
3838
<v-card color="cyan darken-2" class="white--text">
39-
<v-container fluid grid-list-lg>
40-
<v-layout row>
41-
<v-flex xs7>
39+
<v-layout>
40+
<v-flex xs5>
41+
<v-card-media
42+
src="https://cdn.vuetifyjs.com/images/cards/foster.jpg"
43+
height="125px"
44+
contain
45+
></v-card-media>
46+
</v-flex>
47+
<v-flex xs7>
48+
<v-card-title primary-title>
4249
<div>
4350
<div class="headline">Supermodel</div>
4451
<div>Foster the People</div>
52+
<div>(2014)</div>
4553
</div>
46-
</v-flex>
47-
<v-flex xs5>
48-
<v-card-media
49-
src="https://cdn.vuetifyjs.com/images/cards/foster.jpg"
50-
height="125px"
51-
contain
52-
></v-card-media>
53-
</v-flex>
54-
</v-layout>
55-
</v-container>
54+
</v-card-title>
55+
</v-flex>
56+
</v-layout>
57+
<v-divider light></v-divider>
58+
<v-card-actions class="pa-3">
59+
Rate this album
60+
<v-spacer></v-spacer>
61+
<v-icon>star_border</v-icon>
62+
<v-icon>star_border</v-icon>
63+
<v-icon>star_border</v-icon>
64+
<v-icon>star_border</v-icon>
65+
<v-icon>star_border</v-icon>
66+
</v-card-actions>
5667
</v-card>
5768
</v-flex>
5869

5970
<v-flex xs12>
6071
<v-card color="purple" class="white--text">
61-
<v-container fluid grid-list-lg>
62-
<v-layout row>
63-
<v-flex xs7>
72+
<v-layout row>
73+
<v-flex xs7>
74+
<v-card-title primary-title>
6475
<div>
6576
<div class="headline">Halycon Days</div>
6677
<div>Ellie Goulding</div>
78+
<div>(2013)</div>
6779
</div>
68-
</v-flex>
69-
<v-flex xs5>
70-
<v-card-media
71-
src="https://cdn.vuetifyjs.com/images/cards/halcyon.png"
72-
height="125px"
73-
contain
74-
></v-card-media>
75-
</v-flex>
76-
</v-layout>
77-
</v-container>
80+
</v-card-title>
81+
</v-flex>
82+
<v-flex xs5>
83+
<v-card-media
84+
src="https://cdn.vuetifyjs.com/images/cards/halcyon.png"
85+
height="125px"
86+
contain
87+
></v-card-media>
88+
</v-flex>
89+
</v-layout>
90+
<v-divider light></v-divider>
91+
<v-card-actions class="pa-3">
92+
Rate this album
93+
<v-spacer></v-spacer>
94+
<v-icon>star_border</v-icon>
95+
<v-icon>star_border</v-icon>
96+
<v-icon>star_border</v-icon>
97+
<v-icon>star_border</v-icon>
98+
<v-icon>star_border</v-icon>
99+
</v-card-actions>
78100
</v-card>
79101
</v-flex>
80102
</v-layout>

0 commit comments

Comments
 (0)