(14 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
<body> | <body> | ||
<style> | <style> | ||
− | #navigator{ margin-top: 16px; z-index: | + | #navigator{ margin-top: 16px; z-index: 10000;} |
− | #navigator:hover{ background-color: rgb(52,58,64) | + | #navigator:hover{ background-color: rgb(52,58,64);} |
#navigator .navbar-brand img{ height: 45px; } | #navigator .navbar-brand img{ height: 45px; } | ||
#navigator a{ font-size: 16px !important; color: rgb(151,155,158);} | #navigator a{ font-size: 16px !important; color: rgb(151,155,158);} | ||
− | #navigator .nav-link:hover{ color: white !important;} | + | #navigator #sp{color:#E17E84!important;} |
− | #navigator .dropdown-item{ color: #262626 | + | #navigator .nav-link:hover{ color: white;} |
− | #navigator .dropdown-item:hover{ color: #999999 | + | #navigator #sp:hover{ color: #D4577E!important;} |
− | #navigator .dropdown-menu:hover .nav-link{ color: white | + | #navigator .dropdown-item{ color: #262626;} |
+ | #navigator .dropdown-item:hover{ color: #999999;} | ||
+ | #navigator .dropdown-menu:hover .nav-link{ color: white;} | ||
.trans{ background-color: rgba(0, 0, 0, 0.1); } | .trans{ background-color: rgba(0, 0, 0, 0.1); } | ||
#navigator .nav-item:hover .dropdown-toggle::after{ | #navigator .nav-item:hover .dropdown-toggle::after{ | ||
Line 51: | Line 53: | ||
// 若文档高度小于窗口高度,赞助框位于页面最底部 | // 若文档高度小于窗口高度,赞助框位于页面最底部 | ||
$(".dropdown").hover(function() { | $(".dropdown").hover(function() { | ||
− | $('.dropdown-menu', this | + | $('.dropdown-menu', this).slideToggle("fast"); |
}); | }); | ||
// 改导航栏css | // 改导航栏css | ||
Line 79: | Line 81: | ||
<div class="collapse navbar-collapse" id="collapsibleNavId"> | <div class="collapse navbar-collapse" id="collapsibleNavId"> | ||
<ul class="navbar-nav ml-md-auto "> | <ul class="navbar-nav ml-md-auto "> | ||
+ | <li class="nav-item"> | ||
+ | <a id="sp" class="nav-link" href="/Team:CSU_CHINA/Special_Page">SPECIAL PAGE</a> | ||
+ | </li> | ||
<li class="nav-item"> | <li class="nav-item"> | ||
<a class="nav-link" href="/Team:CSU_CHINA">HOME</a> | <a class="nav-link" href="/Team:CSU_CHINA">HOME</a> | ||
Line 95: | Line 100: | ||
<a class="dropdown-item" href="/Team:CSU_CHINA/Basic_Part">BASIC PARTS</a> | <a class="dropdown-item" href="/Team:CSU_CHINA/Basic_Part">BASIC PARTS</a> | ||
<a class="dropdown-item" href="/Team:CSU_CHINA/Composite_Part">COMPOSITE PARTS</a> | <a class="dropdown-item" href="/Team:CSU_CHINA/Composite_Part">COMPOSITE PARTS</a> | ||
− | <a class="dropdown-item" href="/Team:CSU_CHINA/Part_Collection">IMPROVED | + | <a class="dropdown-item" href="/Team:CSU_CHINA/Part_Collection">IMPROVED PART</a> |
</div> | </div> | ||
</li> | </li> | ||
Line 116: | Line 121: | ||
<a class="dropdown-item" href="/Team:CSU_CHINA/LabTasks">LABTASK</a> | <a class="dropdown-item" href="/Team:CSU_CHINA/LabTasks">LABTASK</a> | ||
<a class="dropdown-item" href="/Team:CSU_CHINA/Notebook">NOTEBOOK</a> | <a class="dropdown-item" href="/Team:CSU_CHINA/Notebook">NOTEBOOK</a> | ||
− | <a class="dropdown-item" href="/Team:CSU_CHINA/Protocols"> | + | <a class="dropdown-item" href="/Team:CSU_CHINA/Protocols">PROTOCALS</a> |
</div> | </div> | ||
</li> | </li> | ||
Line 134: | Line 139: | ||
</nav> | </nav> | ||
+ | <style> | ||
+ | #labLoad, | ||
+ | #labLoad img, | ||
+ | #labLoad div{ | ||
+ | display: flex; | ||
+ | justify-content: center; | ||
+ | align-items: center; | ||
+ | } | ||
+ | #labLoad div{ | ||
+ | width: 300px; | ||
+ | height: 300px; | ||
+ | } | ||
+ | #labload h1, | ||
+ | #labLoad img, | ||
+ | #labLoad .lodt, | ||
+ | #labLoad .lodo, | ||
+ | #labLoad .lodb{ | ||
+ | position: absolute; | ||
+ | } | ||
+ | #labLoad .lodt{ | ||
+ | border-top: 10px solid tomato; | ||
+ | } | ||
+ | #labLoad .lodo{ | ||
+ | border-top: 10px solid orange; | ||
+ | transform: rotate(120deg); | ||
+ | } | ||
+ | #labLoad .lodb{ | ||
+ | border-top: 10px solid dodgerblue; | ||
+ | transform: rotate(240deg); | ||
+ | } | ||
+ | #labLoad img{ | ||
+ | width: 200px; | ||
+ | height: 200px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | #labLoad .lodt, | ||
+ | #labLoad .lodo, | ||
+ | #labLoad .lodb{ | ||
+ | animation: loading linear 0.5s infinite; | ||
+ | } | ||
+ | @keyframes loading { to{ transform: rotate(360deg); }} | ||
+ | </style> | ||
+ | |||
+ | <div class="container-fluid bg-dark align-middle fixed-top h-100" id="labLoad"> | ||
+ | <div> | ||
+ | <img class="rounded-circle" src="https://static.igem.org/mediawiki/2019/8/8a/T--CSU_CHINA--SGoldMedal.png" alt=""> | ||
+ | <div class="rounded-circle lodt"></div> | ||
+ | <div class="rounded-circle lodo"></div> | ||
+ | <div class="rounded-circle lodb"></div> | ||
+ | </div> | ||
+ | <h1 class="text-center text-light display-3 font-weight-bold ml-5 display-3">loading……</h1> | ||
+ | </div> | ||
+ | <script> $(document).ready(()=>{ setTimeout(()=>{ $("#labLoad").hide(); }, 800) });</script> | ||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 03:48, 9 December 2019
![](https://static.igem.org/mediawiki/2019/8/8a/T--CSU_CHINA--SGoldMedal.png)