From 334365527db2c0ecbf419b6a5e425cf1b045d82f Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio.bekerle@tugraz.at>
Date: Tue, 22 Oct 2019 11:03:38 +0200
Subject: [PATCH] Add disabled button styling

---
 packages/common/styles.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/packages/common/styles.js b/packages/common/styles.js
index 3f5f027e..5fe751ac 100644
--- a/packages/common/styles.js
+++ b/packages/common/styles.js
@@ -228,6 +228,11 @@ export function getButtonCSS() {
             background-color: var(--vpu-danger-bg-color);
             color: var(--vpu-danger-text-color);
         }
+
+        .button[disabled], fieldset[disabled] .button {
+            opacity: .5;
+            cursor: not-allowed;
+        }
     `;
 }
 
-- 
GitLab