Browse Source

fix success, add min

root 2 years ago
parent
commit
0676d927cb
4 changed files with 43 additions and 1 deletions
  1. 8 0
      css/style.css
  2. 1 1
      js/chem.js
  3. 34 0
      js/echarts-4.7.0.min.js
  4. 0 0
      js/score.min.js

+ 8 - 0
css/style.css

@@ -72,6 +72,10 @@ h4 {
     outline: 5px dashed rgba(95, 177, 221, 0.5);
 }
 
+.btn-success:is(:not(:hover):focus, :active:focus, :active:hover:focus) {
+    outline: 5px dashed rgba(121, 184, 121, 0.5);
+}
+
 .btn-primary:is(:not(:hover):focus, :active:focus, :active:hover:focus) {
     outline: 5px dashed rgba(46, 109, 164, 0.5);
 }
@@ -88,6 +92,10 @@ h4 {
     outline: 10px double rgba(95, 177, 221, 0.5);
 }
 
+.btn-success:is(:hover, :focus:hover) {
+    outline: 10px double rgba(121, 184, 121, 0.5);
+}
+
 .btn-primary:is(:hover, :focus:hover) {
     outline: 10px double rgba(46, 109, 164, 0.5);
 }

+ 1 - 1
js/chem.js

@@ -357,7 +357,7 @@ function getRegex() {
             var bs = scont[1].split('+')
             for (let i = 0; i < bs.length; i++) {
                 if (matchMode == 'mole') ret += "(?=(.*[+=]|)[0-9]?" + bs[i] + "([+=]|$))"
-                else ret += '(?=.*' + as[i] + '([^a-z]|$))'
+                else ret += '(?=.*' + bs[i] + '([^a-z]|$))'
             }
         }
         ret += '.*'

File diff suppressed because it is too large
+ 34 - 0
js/echarts-4.7.0.min.js


File diff suppressed because it is too large
+ 0 - 0
js/score.min.js


Some files were not shown because too many files changed in this diff