Browse Source

fix order & url

root 2 years ago
parent
commit
f1863076f0
1 changed files with 17 additions and 12 deletions
  1. 17 12
      sso/index.html

+ 17 - 12
sso/index.html

@@ -29,7 +29,7 @@
                 document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString() + ((path == 'u') ? '' : ';path=' + path)
         }
         function getUrl(e) {
-            return e.replace('dd.sdsz.com.cn', rot).replace('http:', 'https:').replace(rot.split(':')[0] + '/', rot + '/')
+            return e.replace('dd.sdsz.com.cn', rot).replace(/^http:/, 'https:').replace(rot.split(':')[0] + '/', rot + '/')
         }
         function setStatus(e, fast) {
             status = e
@@ -193,11 +193,16 @@
             height: 3px;
             margin-top: 10px;
             border-bottom: 1px solid;
-            border-image: linear-gradient(to right, transparent, #1984d1, #10c482, transparent) 1;
+            border-image: linear-gradient(to right, transparent, #6aaad8, #75ddb6, transparent) 1;
         }
-
+        
         .box:hover::before {
             border-bottom: 3px solid;
+            border-image: linear-gradient(to right, transparent, #6aaad8, #75ddb6, transparent) 1;
+        }
+
+        .box:hover {
+            background-image: linear-gradient(#f8ffef, transparent);
         }
 
         .page-header.nohr {
@@ -230,6 +235,15 @@
         </button>
         <img id="avatar" style="position:absolute;right:10px;top:10px;">
     </div>
+    <div class="col-md-4 col-sm-6 box">
+        <div class="page-header">
+            <h3><span class="glyphicon glyphicon-stats"></span> 成绩</h3>
+        </div>
+        <div class="btn-group">
+            <a id="scoreOld" class="btn btn-default e" target="_blank">原版</a>
+            <a class="btn btn-default e" href="/score" target="_blank">新版</a>
+        </div>
+    </div>
     <div class="col-md-4 col-sm-6 box">
         <div class="page-header">
             <h3><span class="glyphicon glyphicon-user"></span> 账号
@@ -264,15 +278,6 @@
             </div>
         </div>
     </div>
-    <div class="col-md-4 col-sm-6 box">
-        <div class="page-header">
-            <h3><span class="glyphicon glyphicon-stats"></span> 成绩</h3>
-        </div>
-        <div class="btn-group">
-            <a id="scoreOld" class="btn btn-default e" target="_blank">原版</a>
-            <a class="btn btn-default e" href="/score" target="_blank">新版</a>
-        </div>
-    </div>
     <div class="col-md-4 col-sm-6 box">
         <div class="page-header">
             <h3><span class="glyphicon glyphicon-envelope"></span> 通知</h3>