-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
/
_cards.styl
58 lines (44 loc) 路 999 Bytes
/
_cards.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@import '../bootstrap'
@import '../theme'
/* Themes */
v-card($material)
background-color: $material.cards
border-color: $material.cards
color: $material.text.primary
theme(v-card, "v-card")
.v-card
elevation(2)
text-decoration: none
> *:first-child:not(.v-btn):not(.v-chip)
border-top-left-radius: inherit
border-top-right-radius: inherit
> *:last-child:not(.v-btn):not(.v-chip)
border-bottom-left-radius: inherit
border-bottom-right-radius: inherit
&--flat
elevation(0)
&--hover
cursor: pointer
transition: all .4s cubic-bezier(.25, .8, .25, 1)
transition-property: box-shadow
&:hover
elevation(8)
&__title
align-items: center
display: flex
flex-wrap: wrap
padding: 16px
&--primary
padding-top: 24px
&__text
padding: 16px
width: 100%
&__actions
align-items: center
display: flex
padding: 8px
> *,
.v-btn
margin: 0
.v-btn + .v-btn
margin-left: 8px