summaryrefslogtreecommitdiff
path: root/Button/Success.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'Button/Success.ui.qml')
-rw-r--r--Button/Success.ui.qml22
1 files changed, 22 insertions, 0 deletions
diff --git a/Button/Success.ui.qml b/Button/Success.ui.qml
new file mode 100644
index 0000000..41cc498
--- /dev/null
+++ b/Button/Success.ui.qml
@@ -0,0 +1,22 @@
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import Bootstrap 5.3
+
+Btn {
+ id: button
+ background: Rectangle {
+ color: button.down ? Bootstrap.btnSuccessActiveBG
+ : button.enabled
+ ? Bootstrap.btnSuccessBg
+ : Bootstrap.btnSuccessDisabledBg
+ border {
+ width: Bootstrap.btnBorderWidth
+ color: button.down
+ ? Bootstrap.btnSuccessActiveBorderColor
+ : button.enabled
+ ? Bootstrap.btnSuccessBorderColor
+ : Bootstrap.btnSuccessDisabledBorderColor
+ }
+ radius: Bootstrap.btnBorderRadius
+ }
+}