-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path_component-status-table.scss
80 lines (69 loc) · 1.44 KB
/
_component-status-table.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
71
72
73
74
75
76
77
78
79
80
.component-status-list-heading {
display: flex;
justify-content: space-between;
align-items: flex-end;
p {
font-size: var(--rh-font-size-body-text-sm);
}
}
.component-status-list-container {
border: var(--rh-border-width-sm) solid var(--rh-color-border-subtle-on-light);
border-radius: 8px;
dl {
display: flex;
align-items: flex-start;
column-gap: var(--rh-space-2xl);
margin-block: var(--rh-space-lg) var(--rh-space-lg);
margin-inline: var(--rh-space-xl) var(--rh-space-xl);
}
dl div {
display: flex;
column-gap: var(--rh-space-md);
align-items: center;
}
dl dd {
text-transform: capitalize;
}
dl dt {
font-size: var(--rh-font-size-body-text-md);
&:after {
content: ": ";
}
}
dl dt,
dl dd {
margin: 0;
padding: 0;
}
}
.component-status-table {
table tbody td:first-child {
text-transform: capitalize;
}
}
@media only screen and (max-width: 991px) {
.component-status-list-container {
dl {
flex-direction: column;
row-gap: 16px;
}
}
.component-status-list-heading {
flex-direction: column;
align-items: flex-start;
}
.component-status-table {
table thead ~ tbody tr:nth-child(even) {
background: none;
}
table thead ~ tbody tr:first-child {
border-top: none;
}
table thead ~ tbody tr:last-child {
border-bottom: none;
}
table tr td {
border: none;
}
}
}