mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
committed by
Liam DeBeasi
parent
17119f59cf
commit
08bb60dcbb
@ -24,6 +24,7 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
// Card Colors
|
||||
// ---------------------------------------------
|
||||
|
||||
@ -32,25 +33,6 @@
|
||||
color: current-color(contrast);
|
||||
}
|
||||
|
||||
:host(.ion-color)::slotted(*) ion-card-header,
|
||||
:host(.ion-color)::slotted(*) ion-card-title,
|
||||
:host(.ion-color)::slotted(*) ion-card-subtitle {
|
||||
color: current-color(contrast);
|
||||
}
|
||||
|
||||
// Slotted Content
|
||||
// ---------------------------------------------
|
||||
|
||||
::slotted(*) img {
|
||||
display: block;
|
||||
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
::slotted(*) ion-list {
|
||||
@include margin(0);
|
||||
}
|
||||
|
||||
|
||||
// Disabled Card
|
||||
// --------------------------------------------------
|
||||
|
||||
@ -14,7 +14,7 @@ import { createColorClasses, openURL } from '../../utils/theme';
|
||||
ios: 'card.ios.scss',
|
||||
md: 'card.md.scss'
|
||||
},
|
||||
scoped: true
|
||||
shadow: true
|
||||
})
|
||||
export class Card implements ComponentInterface, AnchorInterface, ButtonInterface {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user