summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-09-26 12:14:43 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-09-26 12:14:43 +0200
commit0cc8a41f59c242732b99a8ce8b551dad62714777 (patch)
tree10b0e0d6ad8f49a4911b2df2f500f0b3db44f286
parent8f9314d1a4b9c8979e773e3ca2387e69e8b5e555 (diff)
downloadkube-0cc8a41f59c242732b99a8ce8b551dad62714777.tar.gz
kube-0cc8a41f59c242732b99a8ce8b551dad62714777.zip
better style for kube standard button
-rw-r--r--framework/qml/Button.qml10
-rw-r--r--framework/qml/Colors.qml1
2 files changed, 11 insertions, 0 deletions
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 @@
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */ 17 */
18 18
19import QtQuick 2.7
19import org.kube.framework 1.0 20import org.kube.framework 1.0
20 21
21AbstractButton { 22AbstractButton {
23
24 color: "transparent"
25
26 Rectangle {
27 anchors.fill: parent
28 color: "transparent"
29 border.width: 1
30 border.color: Colors.buttonBorderColor
31 }
22} 32}
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 {
44 property string highlightColor: plasmaBlue 44 property string highlightColor: plasmaBlue
45 property string highlightedTextColor: paperWhite 45 property string highlightedTextColor: paperWhite
46 property string buttonColor: alternateGrey 46 property string buttonColor: alternateGrey
47 property string buttonBorderColor: "#7f8c8d"
47 property string positiveColor: nobleFir 48 property string positiveColor: nobleFir
48 property string warningColor: bewareOrange 49 property string warningColor: bewareOrange
49 property string negativeColor: dangerRed 50 property string negativeColor: dangerRed