aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-07-02 21:59:08 +0800
committercrupest <crupest@outlook.com>2021-07-02 21:59:08 +0800
commit00e6794abdfb39cf5bbfcb0d89fc2baa9a83a738 (patch)
tree8bc9b2f95af0810c985c4d7161462d68a8b6e97c
parent8443f77435a75048587b74615be62f0fefb29bf4 (diff)
parentac2484a70b4b5a9d6a4d550ae6298fef942b3bd9 (diff)
downloadtimeline-00e6794abdfb39cf5bbfcb0d89fc2baa9a83a738.tar.gz
timeline-00e6794abdfb39cf5bbfcb0d89fc2baa9a83a738.tar.bz2
timeline-00e6794abdfb39cf5bbfcb0d89fc2baa9a83a738.zip
Merge branch 'master' of https://github.com/crupest/Timeline
-rw-r--r--FrontEnd/package.json4
-rw-r--r--FrontEnd/src/index.css12
2 files changed, 5 insertions, 11 deletions
diff --git a/FrontEnd/package.json b/FrontEnd/package.json
index 86051dea..f552a0ac 100644
--- a/FrontEnd/package.json
+++ b/FrontEnd/package.json
@@ -49,8 +49,8 @@
"devDependencies": {
"@types/color": "^3.0.1",
"@types/lodash": "^4.14.170",
- "@types/node": "^15.12.5",
- "@types/react": "^17.0.11",
+ "@types/node": "^15.14.0",
+ "@types/react": "^17.0.13",
"@types/react-color": "^3.0.4",
"@types/react-dom": "^17.0.8",
"@types/react-responsive": "^8.0.2",
diff --git a/FrontEnd/src/index.css b/FrontEnd/src/index.css
index c7747a53..14e5aee3 100644
--- a/FrontEnd/src/index.css
+++ b/FrontEnd/src/index.css
@@ -39,9 +39,7 @@ textarea:focus {
border-color: var(--cru-primary-color);
}
-input,
-input[type="text"],
-input[type="password"] {
+input:not([type=checkbox]):not([type=radio]) {
resize: none;
outline: none;
border: 1px solid;
@@ -53,15 +51,11 @@ input[type="password"] {
appearance: caret;
}
-input:hover,
-input:hover[type="text"],
-input:hover[type="password"] {
+input:hover:not([type=checkbox]):not([type=radio]) {
border-color: var(--cru-primary-r2-color);
}
-input:focus,
-input:focus[type="text"],
-input:focus[type="password"] {
+input:focus:not([type=checkbox]):not([type=radio]) {
border-color: var(--cru-primary-color);
}