11$item-list-padding-x : 10px !default ;
22$item-list-padding-y : 10px !default ;
3- $item-list-line-height : 30 px !default ;
3+ $item-list-line-height : 1.4 rem !default ;
44$item-list-col-grow : 3 !default ;
55$item-list-col-shrink : 3 !default ;
66
@@ -12,28 +12,35 @@ $item-list-col-shrink: 3 !default;
1212 list-style : none ;
1313 padding : 0 ;
1414 margin : 0 ;
15- margin-bottom : 15px ;
16- // line-height: $item-list-line-height;
17-
18- display : flex ;
19- flex-flow : column nowrap ;
15+ margin-bottom : 0 ;
16+ line-height : $item-list-line-height ;
17+
18+ @include media (lg) {
19+ font-size : 1rem ;
20+ }
2021
21- .item-list-header {
22- font-size : 0.8 rem ;
23- color : #999 ;
22+ @include media (md) {
23+ font-size : 0.95 rem ;
24+ }
2425
25- .item-col {
26- font-weight : 700 !important ;
27- }
26+ @include media-down (sm) {
27+ font-size : 1.05rem ;
2828 }
2929
30+ display : flex ;
31+ flex-flow : column nowrap ;
32+
3033 & .striped {
3134 & > li {
32- border-bottom : 1px solid lighten ( $ color-divider , 6 % ) ;
35+ border-bottom : 1px solid $item-list- color-border ;
3336 }
3437
3538 & > li :nth-child (2 n + 1 ) {
3639 background-color : lighten ($color-divider , 12% );
40+
41+ @include media-down (sm) {
42+ background-color : lighten ($color-divider , 11% );
43+ }
3744 }
3845
3946 .item-list-footer {
@@ -76,6 +83,7 @@ $item-list-col-shrink: 3 !default;
7683 flex-shrink : $item-list-col-shrink ;
7784 margin-left : auto ;
7885 margin-right : auto ;
86+ min-width : 0 ;
7987
8088 & .fixed {
8189 flex-grow : 0 ;
@@ -119,16 +127,30 @@ $item-list-col-shrink: 3 !default;
119127
120128.item-list {
121129
130+ /* *******************************************
131+ * Header
132+ *********************************************/
133+
134+ .item-list-header {
135+ .item-col.item-col-header {
136+ span {
137+ color : #999 ;
138+ font-size : 0.8rem ;
139+ font-weight : 700 !important ;
140+ }
141+ }
142+ }
143+
122144 /* *******************************************
123145 * Heading
124146 *********************************************/
125147
126148 .item-heading {
149+ font-size : 0.9rem ;
127150 display : none ;
128151 color : #666 ;
129152 font-weight : 700 ;
130153 padding-right : $item-list-padding-x ;
131- padding-left : $item-list-padding-x ;
132154
133155 @include media-down (sm) {
134156 display : block ;
@@ -192,9 +214,8 @@ $item-list-col-shrink: 3 !default;
192214 }
193215
194216 a {
195- flex-grow : 1 ;
196- display : flex ;
197- align-self : stretch ;
217+ width : 100% ;
218+ // display: flex;
198219 }
199220 }
200221
@@ -226,7 +247,8 @@ $item-list-col-shrink: 3 !default;
226247
227248 .item-title {
228249 margin : 0 ;
229- font-size : 1.1rem ;
250+ font-size : inherit ;
251+ line-height : inherit ;
230252 font-weight : 600 ;
231253 }
232254
@@ -281,7 +303,7 @@ $item-list-col-shrink: 3 !default;
281303 color : lighten ($color-text-light , 10 );
282304 font-size : 1.2rem ;
283305 cursor : pointer ;
284- width : 30 px ;
306+ width : 100 % ;
285307 line-height : 30px ;
286308 text-align : center ;
287309
@@ -300,7 +322,7 @@ $item-list-col-shrink: 3 !default;
300322 right : 100% ;
301323 background-color : $color-divider ;
302324 border-radius : 3px ;
303- transition : all 0.2 s ease-in-out ;
325+ transition : all 0.15 s ease-in-out ;
304326
305327 & .direction-right {
306328 right : auto ;
@@ -352,7 +374,7 @@ $item-list-col-shrink: 3 !default;
352374********************************************** */
353375
354376// Item which is located inside card inside item-list
355- .card .item-list .item > .item-row {
377+ .card > .item-list .item > .item-row {
356378 padding : 0 $card-padding-x ;
357379
358380 @include media (xl) {
0 commit comments