File tree Expand file tree Collapse file tree 8 files changed +28
-8
lines changed
src/components/card/themes Expand file tree Collapse file tree 8 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 66 flex-flow : column nowrap ;
77 align-items : flex-end ;
88 justify-content : space-between ;
9- padding : rem (8px );
9+ padding : rem (8px ) rem ( 16 px ) ;
1010 flex-basis : min-content ;
1111}
1212
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { styles as indigoLight } from './light/container/card.indigo.css.js';
1414import { styles as materialLight } from './light/container/card.material.css.js' ;
1515import { styles as sharedLight } from './light/container/card.shared.css.js' ;
1616// Shared Styles
17+ import { styles as bootstrap } from './shared/container/card.bootstrap.css.js' ;
1718import { styles as fluent } from './shared/container/card.fluent.css.js' ;
1819import { styles as indigo } from './shared/container/card.indigo.css.js' ;
1920
@@ -22,7 +23,7 @@ const light = {
2223 ${ sharedLight }
2324 ` ,
2425 bootstrap : css `
25- ${ bootstrapLight }
26+ ${ bootstrap } ${ bootstrapLight }
2627 ` ,
2728 material : css `
2829 ${ materialLight }
Original file line number Diff line number Diff line change 1+ @use ' styles/utilities' as * ;
2+ @use ' ../../light/themes' as * ;
3+
4+ $theme : $bootstrap ;
5+
6+ :host {
7+ ::slotted (igc-card-content:only-child ) {
8+ padding-block-end : rem (16px );
9+ }
10+
11+ ::slotted(igc-card-content :last-child ) {
12+ padding-block-end : rem (16px );
13+ }
14+ }
15+
Original file line number Diff line number Diff line change 44$theme : $indigo ;
55
66:host {
7+ ::slotted (igc-card-header ) {
8+ padding-block-end : 0 ;
9+ }
10+
711 ::slotted(igc-card-header :first-child ),
812 ::slotted(igc-card-header :last-child ) {
913 padding-block-end : rem (16px );
Original file line number Diff line number Diff line change 33:host {
44 @include type-style (' body-1' );
55
6- padding-block : rem (16px ) rem ( 24 px );
7- padding-inline : rem (24px );
6+ padding-inline : rem (16px );
7+ padding-block : rem (16 px ) rem ( 24px ) ;
88}
99
1010::slotted(* ) {
Original file line number Diff line number Diff line change 11@use ' styles/utilities' as * ;
22
33::slotted([slot = ' title' ]) {
4- @include type-style (' h5' );
4+ @include type-style (' h5' ) {
5+ margin : 0 ;
6+ };
57}
68
79::slotted([slot = ' subtitle' ]) {
Original file line number Diff line number Diff line change 99}
1010
1111:host {
12- padding : rem (16px ) rem ( 8 px ) ;
12+ padding : rem (16px );
1313}
Original file line number Diff line number Diff line change 11@use ' styles/utilities' as * ;
22
33:host {
4- padding-block-end : 0 ;
5-
64 ::slotted (igc-avatar ) {
75 --ig-size : 3 ;
86 }
You can’t perform that action at this time.
0 commit comments