From becc2eb38eb18125f6475dfc32725fd898f3656e Mon Sep 17 00:00:00 2001
From: ciaochaos <1272777550@qq.com>
Date: Sun, 3 May 2020 02:01:07 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20disabled=20button?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.idea/workspace.xml | 25 +++++++++++++++++--------
src/components/Qrcode.css | 11 ++++++++++-
src/components/Qrcode.js | 2 +-
3 files changed, 28 insertions(+), 10 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 1528219..1a762b2 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -12,7 +12,6 @@
-
@@ -53,6 +52,7 @@
+
@@ -88,7 +88,8 @@
-
+
+
1588308749650
@@ -398,7 +399,14 @@
1588424334244
-
+
+ 1588438351027
+
+
+
+ 1588438351027
+
+
@@ -423,22 +431,23 @@
-
+
+
-
+
-
+
-
+
-
+
diff --git a/src/components/Qrcode.css b/src/components/Qrcode.css
index 4bb5b60..7398076 100644
--- a/src/components/Qrcode.css
+++ b/src/components/Qrcode.css
@@ -274,7 +274,6 @@ table {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
background: white;
font-family: 'Futura', sans-serif;
- color: rgba(0,0,0,0.6);
}
@media (min-width: 500px) {
@@ -283,6 +282,15 @@ table {
}
}
+.dl-btn:disabled {
+ cursor: not-allowed;
+}
+
+.dl-btn:disabled:hover {
+ border-color: rgba(0,0,0,0.12);
+ color: graytext;
+}
+
.dl-btn:hover {
border-color: #44D7B6;
color: #44D7B6;
@@ -323,3 +331,4 @@ a {
a:hover {
text-decoration: underline;
}
+
diff --git a/src/components/Qrcode.js b/src/components/Qrcode.js
index a632266..65f1fe8 100644
--- a/src/components/Qrcode.js
+++ b/src/components/Qrcode.js
@@ -137,7 +137,7 @@ class Qrcode extends React.Component {