|
6 | 6 | --bb-lv-item-border-hover-color: #{$bb-lv-item-border-hover-color}; |
7 | 7 | --bb-lv-item-shadow: #{$bb-lv-item-shadow}; |
8 | 8 | --bb-lv-body-padding: #{$bb-lv-body-padding}; |
9 | | - --bb-lv-body-item-margin: #{$bb-lv-body-item-margin}; |
| 9 | + --bb-lv-body-item-gap: #{$bb-lv-body-item-gap}; |
10 | 10 | --bb-lv-footer-padding: #{$bb-lv-footer-padding}; |
11 | 11 | border: 1px solid var(--bb-lv-border-color); |
12 | 12 | border-radius: var(--bs-border-radius); |
|
29 | 29 | .listview .listview-body { |
30 | 30 | padding: var(--bb-lv-body-padding); |
31 | 31 | position: relative; |
32 | | - overflow: auto; |
33 | | - display: flex; |
34 | | - flex-flow: row wrap; |
35 | 32 | flex: 1; |
36 | | - align-content: flex-start; |
37 | | - height: 1%; |
38 | 33 | min-height: 0; |
| 34 | + height: 1%; |
39 | 35 | } |
40 | 36 |
|
41 | 37 | .listview .listview-body.is-group { |
42 | 38 | padding: 0; |
43 | 39 | } |
44 | 40 |
|
45 | | -.listview .listview-body .listview-item { |
46 | | - margin: var(--bb-lv-body-item-margin); |
47 | | -} |
48 | | - |
49 | 41 | .listview .listview-body .listview-item .card { |
| 42 | + box-shadow: var(--bb-lv-item-shadow); |
50 | 43 | transition: var(--bb-lv-item-trans); |
51 | 44 | } |
52 | 45 |
|
|
55 | 48 | border: 1px solid var(--bb-lv-item-border-hover-color); |
56 | 49 | } |
57 | 50 |
|
58 | | -.listview .listview-body .listview-item .card { |
59 | | - box-shadow: var(--bb-lv-item-shadow); |
60 | | -} |
61 | | - |
62 | | -.listview .listview-body .listview-item-group { |
63 | | - flex-basis: 100%; |
64 | | - margin: 1rem 0; |
65 | | - font-weight: bold; |
66 | | - position: relative; |
| 51 | +.listview .listview-item-group { |
| 52 | + display: grid; |
| 53 | + grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); |
| 54 | + gap: var(--bb-lv-body-item-gap); |
| 55 | + align-items: start; |
67 | 56 | } |
68 | 57 |
|
69 | 58 | .listview .listview-body .accordion { |
|
82 | 71 | } |
83 | 72 |
|
84 | 73 | .listview .listview-body .accordion-body { |
85 | | - display: flex; |
86 | | - flex-wrap: wrap; |
87 | 74 | padding: var(--bb-lv-body-padding); |
88 | 75 | } |
89 | 76 |
|
90 | | -.listview .listview-body .accordion-item { |
91 | | - width: 100%; |
92 | | -} |
93 | | - |
94 | 77 | .listview .listview-body .accordion-item:last-child .accordion-header { |
95 | 78 | border-bottom: 1px solid var(--bb-lv-border-color); |
96 | 79 | } |
|
0 commit comments