From 0cc8a41f59c242732b99a8ce8b551dad62714777 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Tue, 26 Sep 2017 12:14:43 +0200 Subject: better style for kube standard button --- framework/qml/Button.qml | 10 ++++++++++ framework/qml/Colors.qml | 1 + 2 files changed, 11 insertions(+) (limited to 'framework/qml') diff --git a/framework/qml/Button.qml b/framework/qml/Button.qml index f3251f4f..22044b53 100644 --- a/framework/qml/Button.qml +++ b/framework/qml/Button.qml @@ -16,7 +16,17 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +import QtQuick 2.7 import org.kube.framework 1.0 AbstractButton { + + color: "transparent" + + Rectangle { + anchors.fill: parent + color: "transparent" + border.width: 1 + border.color: Colors.buttonBorderColor + } } diff --git a/framework/qml/Colors.qml b/framework/qml/Colors.qml index ec9a09bf..f85436bc 100644 --- a/framework/qml/Colors.qml +++ b/framework/qml/Colors.qml @@ -44,6 +44,7 @@ Item { property string highlightColor: plasmaBlue property string highlightedTextColor: paperWhite property string buttonColor: alternateGrey + property string buttonBorderColor: "#7f8c8d" property string positiveColor: nobleFir property string warningColor: bewareOrange property string negativeColor: dangerRed -- cgit v1.2.3