mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-05-02 02:22:06 -04:00
cherry-pick of 1abb2210 from master, translated to hotfix-1.4.5
(omits ElevationShadow gating since shadow overhaul isn't on this
branch; gates existing MultiEffect-based shadows by BlurService.enabled
instead). Drops DoNotDisturbDetail.qml hunk since the file does not
exist on this branch.
25 lines
461 B
QML
25 lines
461 B
QML
import QtQuick
|
|
import qs.Common
|
|
|
|
Rectangle {
|
|
id: card
|
|
|
|
LayoutMirroring.enabled: I18n.isRtl
|
|
LayoutMirroring.childrenInherit: true
|
|
|
|
property int pad: Theme.spacingM
|
|
|
|
radius: Theme.cornerRadius
|
|
color: Theme.nestedSurface
|
|
border.color: Theme.outlineMedium
|
|
border.width: 1
|
|
|
|
default property alias content: contentItem.data
|
|
|
|
Item {
|
|
id: contentItem
|
|
anchors.fill: parent
|
|
anchors.margins: card.pad
|
|
}
|
|
}
|