blob: 28e9afaefdad3ecb6cfa5909811a1676ccfeb4f2 (
plain)
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
|
//
// Cards
// --------------------------------------------------
.card {
overflow: hidden;
margin: $bar-side-spacing;
background-color: $card-bg;
border: $border-default;
border-radius: $border-radius;
}
// Cards with table-views
// --------------------------------------------------
.card .table-view {
margin-bottom: 0;
border-top: 0;
border-bottom: 0;
// Rounding first divider on carded lists and remove border on the top
.table-view-divider:first-child {
top: 0;
border-top-right-radius: $border-radius;
border-top-left-radius: $border-radius;
}
// Rounding last divider on carded table views
.table-view-divider:last-child {
border-bottom-right-radius: $border-radius;
border-bottom-left-radius: $border-radius;
}
}
// Remove the bottom border from last table cell
.card .table-view-cell:last-child {
border-bottom: 0;
}
|