shift-shell/containments/panel/package/contents/ui/DrawerBackground.qml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1 KiB
QML
Raw Normal View History

2019-10-04 14:02:26 +00:00
/*
2021-03-01 20:03:25 +00:00
* SPDX-FileCopyrightText: 2019 Marco Martin <mart@kde.org>
2019-10-04 14:02:26 +00:00
*
2021-03-01 20:03:25 +00:00
* SPDX-License-Identifier: GPL-2.0-or-later
2019-10-04 14:02:26 +00:00
*/
import QtQuick 2.6
import QtQuick.Layouts 1.4
import QtQuick.Controls 2.4 as QQC2
import org.kde.plasma.core 2.0 as PlasmaCore
2020-09-12 01:57:56 +00:00
import org.kde.kirigami 2.12 as Kirigami
2019-10-04 14:02:26 +00:00
QQC2.Control {
id: root
2020-08-29 16:18:47 +00:00
leftPadding: units.largeSpacing
topPadding: units.largeSpacing
rightPadding: units.largeSpacing
bottomPadding: units.largeSpacing
2019-10-04 14:02:26 +00:00
2020-08-29 16:18:47 +00:00
background: Item {
2019-10-09 14:11:10 +00:00
MouseArea {
2020-08-29 16:18:47 +00:00
anchors.fill: parent
}
Rectangle {
id: container
2020-09-12 01:57:56 +00:00
color: Kirigami.ColorUtils.adjustColor(PlasmaCore.ColorScope.backgroundColor, {"alpha": 0.85*255})
2020-08-29 16:18:47 +00:00
anchors {
fill: parent
2020-09-12 02:01:28 +00:00
leftMargin: PlasmaCore.Units.smallSpacing
rightMargin: PlasmaCore.Units.smallSpacing
topMargin: PlasmaCore.Units.smallSpacing
bottomMargin: PlasmaCore.Units.smallSpacing
2020-08-29 16:18:47 +00:00
}
2020-09-12 02:01:28 +00:00
radius: PlasmaCore.Units.smallSpacing
2019-10-09 14:11:10 +00:00
}
2019-10-04 14:02:26 +00:00
}
}