-
Notifications
You must be signed in to change notification settings - Fork 0
/
_auk-document-card.scss
70 lines (57 loc) · 1.22 KB
/
_auk-document-card.scss
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
59
60
61
62
63
64
65
66
67
68
69
70
@use "settings";
/* ==========================================================================
auk-document-card
========================================================================== */
.auk-document-card {
position: relative;
padding: 2rem;
border: .1rem solid settings.$color-gray-300;
display: flex;
align-items: center;
}
.auk-document-card + .auk-document-card {
border-top: none;
}
.auk-document-card {
&.active {
background-color: settings.$color-gray-100;
&:after {
content: "";
height: calc(100% + 2px);
left: -1px;
top: -1px;
bottom: -1px;
width: 0.4rem;
position: absolute;
background-color: settings.$color-blue-500;
}
}
}
.auk-document-card__content {
flex: 1 1 auto;
}
.auk-document-card__details {
margin-bottom: 0.5rem;
}
.auk-document-card__title {
font-weight: 500;
margin-bottom: 1.5rem;
}
.auk-document-card__meta {
color: settings.$color-gray-600;
display: flex;
align-items: flex-start;
}
.auk-document-card__actions {
flex: 0 0 auto;
.auk-button-toolbar {
flex-wrap: nowrap;
}
}
.auk-document-card--clickable {
cursor: pointer;
&:hover,
&:focus {
background-color: settings.$color-gray-100;
}
}