514 lines
10 KiB
CSS
514 lines
10 KiB
CSS
.wrapper {
|
|
width: 90%;
|
|
margin: 0 auto;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* header */
|
|
|
|
.header {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.3% 5% 0.3% 2%;
|
|
gap: 20px;
|
|
}
|
|
|
|
.header .logo {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
max-width: 55%;
|
|
min-width: 0;
|
|
align-items: center;
|
|
margin: 0;
|
|
border-radius: 20px;
|
|
font-size: 120%;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.header .logo img {
|
|
height: 80px;
|
|
width: auto;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
|
|
.header .logo .title {
|
|
margin-left: 2%;
|
|
width: auto;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.header .logo .title h3 {
|
|
font-size: 110%;
|
|
color: #2E5A61;
|
|
font-weight: 600;
|
|
margin: 0;
|
|
white-space: normal;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.header .logo .title p {
|
|
font-size: 80%;
|
|
color: #666;
|
|
margin: 0;
|
|
white-space: normal;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.header .nev {
|
|
flex: 0 1 auto;
|
|
height: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.header .nev .nev-child-1 {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
}
|
|
|
|
.header .nev-child-1 li {
|
|
padding: 1% 2%;
|
|
border-radius: 10px;
|
|
position: relative;
|
|
list-style: none;
|
|
}
|
|
|
|
/* 鼠标悬停导航栏 */
|
|
.header li:hover a {
|
|
color: black;
|
|
}
|
|
.header .icon-jiantou_shang {
|
|
display: none;
|
|
}
|
|
.header li:hover .icon-jiantou_xia {
|
|
display: none;
|
|
}
|
|
.header li:hover .icon-jiantou_shang {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* 箭头图标对齐样式 */
|
|
.header .icon-jiantou_xia,
|
|
.header .icon-jiantou_shang {
|
|
font-size: 12px;
|
|
vertical-align: middle;
|
|
line-height: 1;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.header a {
|
|
font-size: 150%;
|
|
font-weight: 700;
|
|
color: #a39e9e;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.header .nev-child-2 {
|
|
display: none;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(-10px);
|
|
background: linear-gradient(135deg, #ffffff 0%, #f8fbfc 100%);
|
|
border-radius: 12px;
|
|
box-shadow: 0 12px 35px rgba(46, 90, 97, 0.2);
|
|
border: 1px solid rgba(46, 90, 97, 0.08);
|
|
overflow: hidden;
|
|
z-index: 9999;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
margin-top: 8px;
|
|
min-width: 200px;
|
|
}
|
|
|
|
/* 下拉菜单顶部小箭头 */
|
|
.header .nev-child-2::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -8px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 8px solid transparent;
|
|
border-right: 8px solid transparent;
|
|
border-bottom: 8px solid #ffffff;
|
|
filter: drop-shadow(0 -2px 4px rgba(46, 90, 97, 0.1));
|
|
}
|
|
|
|
.header .nev-child-2 li {
|
|
width: 100%;
|
|
background-color: transparent;
|
|
text-align: left;
|
|
border-bottom: 1px solid rgba(46, 90, 97, 0.08);
|
|
font-weight: 400;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.header .nev-child-2 li:nth-last-child(1) {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.header .nev-child-2 li a {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 14px 10px;
|
|
color: #2E5A61;
|
|
text-decoration: none;
|
|
font-size: 100%;
|
|
font-weight: 500;
|
|
position: relative;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.header .nev-child-2 li a:before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 0;
|
|
z-index: -1;
|
|
}
|
|
|
|
.header .nev-child-2 li:hover {
|
|
background-color: rgba(71, 183, 190, 0.05);
|
|
transform: translateX(3px);
|
|
}
|
|
|
|
.header .nev-child-2 li:hover a {
|
|
color: #2E5A61;
|
|
}
|
|
|
|
.header .nev-child-2 li:hover a:before {
|
|
width: 4px;
|
|
}
|
|
|
|
|
|
/* 每个菜单项的特色样式 */
|
|
.header .nev-child-2 li:nth-child(1):hover {
|
|
background: linear-gradient(90deg, rgba(255, 193, 7, 0.1), transparent);
|
|
}
|
|
|
|
.header .nev-child-2 li:nth-child(2):hover {
|
|
background: linear-gradient(90deg, rgba(220, 53, 69, 0.1), transparent);
|
|
}
|
|
|
|
.header .nev-child-2 li:nth-child(3):hover {
|
|
background: linear-gradient(90deg, rgba(255, 87, 34, 0.1), transparent);
|
|
}
|
|
|
|
.header .nev-child-2 li:nth-child(4):hover {
|
|
background: linear-gradient(90deg, rgba(76, 175, 80, 0.1), transparent);
|
|
}
|
|
|
|
.header .nev-child-2 li:nth-child(5):hover {
|
|
background: linear-gradient(90deg, rgba(156, 39, 176, 0.1), transparent);
|
|
}
|
|
|
|
/* 菜单项动画序列 */
|
|
.header li:hover .nev-child-2 li {
|
|
animation: slideInFromLeft 0.3s ease forwards;
|
|
opacity: 0;
|
|
transform: translateX(-20px);
|
|
}
|
|
|
|
.header li:hover .nev-child-2 li:nth-child(1) { animation-delay: 0.1s; }
|
|
.header li:hover .nev-child-2 li:nth-child(2) { animation-delay: 0.15s; }
|
|
.header li:hover .nev-child-2 li:nth-child(3) { animation-delay: 0.2s; }
|
|
.header li:hover .nev-child-2 li:nth-child(4) { animation-delay: 0.25s; }
|
|
.header li:hover .nev-child-2 li:nth-child(5) { animation-delay: 0.3s; }
|
|
|
|
@keyframes slideInFromLeft {
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
/* 下拉菜单显示动画 */
|
|
.header li:hover .nev-child-2 {
|
|
display: block;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
/* Tools下拉菜单特定定位 */
|
|
.header .nav-tools .tools-dropdown {
|
|
left: 57%;
|
|
transform: translateX(-50%) translateY(-10px);
|
|
}
|
|
|
|
.header .nav-tools .tools-dropdown::before {
|
|
left: 57%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.header .nav-tools:hover .tools-dropdown {
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
/* Help下拉菜单特定定位 */
|
|
.header .nav-help .help-dropdown {
|
|
left: 92%;
|
|
transform: translateX(-50%) translateY(-10px);
|
|
}
|
|
|
|
.header .nav-help .help-dropdown::before {
|
|
left: 92%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.header .nav-help:hover .help-dropdown {
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
/* 确保下拉菜单在悬浮时保持显示 */
|
|
.header li:hover .nev-child-2,
|
|
.header .nev-child-2:hover {
|
|
display: block;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
/* 特定菜单的悬浮显示 */
|
|
.header .nav-tools:hover .tools-dropdown,
|
|
.header .tools-dropdown:hover,
|
|
.header .nav-help:hover .help-dropdown,
|
|
.header .help-dropdown:hover {
|
|
display: block;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
.contant {
|
|
width: 100%;
|
|
margin: 40px 0;
|
|
}
|
|
|
|
.contant .wrapper {
|
|
border: 1px solid #bdbaba;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 150%;
|
|
font-weight: 700;
|
|
padding: 0 0 10px 20px;
|
|
margin-bottom: 20px;
|
|
border-bottom: 3px solid #2E5A61;
|
|
}
|
|
|
|
|
|
/* 搜索标签样式 */
|
|
.search-tabs {
|
|
width: 100%;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.tab-buttons {
|
|
display: flex;
|
|
gap: 0;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
/* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
|
|
max-width: 600px;
|
|
}
|
|
|
|
.tab-btn {
|
|
flex: 1;
|
|
padding: 15px 20px;
|
|
border: none;
|
|
font-size: 120%;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
border-bottom: 3px solid transparent;
|
|
}
|
|
|
|
.tab-btn:first-child {
|
|
border-right: 1px solid #ddd;
|
|
}
|
|
|
|
.tab-btn:hover {
|
|
background-color: #e8e8e8;
|
|
color: #333;
|
|
}
|
|
|
|
.tab-btn.active {
|
|
background-color: #E6D1B6;
|
|
}
|
|
|
|
/* 标签内容样式 */
|
|
.tab-content {
|
|
width: 100%;
|
|
}
|
|
|
|
.tab-panel {
|
|
display: none;
|
|
animation: fadeIn 0.3s ease-in-out;
|
|
}
|
|
|
|
.tab-panel.active {
|
|
display: block;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.contant .species {
|
|
width: 100%;
|
|
margin-top: 0;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.contant .species .search_mic {
|
|
display: flex;
|
|
width: 80%;
|
|
margin: 40px auto 0;
|
|
align-items: center;
|
|
padding: 10px 10px;
|
|
border: 1px solid #bdbaba;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.contant .species .search_mic input {
|
|
border: none;
|
|
outline: none;
|
|
font-size: 150%;
|
|
}
|
|
|
|
|
|
.contant .species .search_mic:hover {
|
|
border: #2E5A61 2px solid;
|
|
}
|
|
|
|
.contant .species .search_mic_eg {
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
align-items: center;
|
|
padding: 10px 10px;
|
|
}
|
|
|
|
.contant .species .search_mic_eg p {
|
|
font-style: italic;
|
|
}
|
|
|
|
.contant .genome {
|
|
width: 100%;
|
|
margin-top: 0;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.contant .genome .search_gen {
|
|
display: flex;
|
|
width: 80%;
|
|
margin: 40px auto 0;
|
|
align-items: center;
|
|
padding: 10px 10px;
|
|
border: 1px solid #bdbaba;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.contant .genome .search_gen:hover {
|
|
border-color: #2E5A61;
|
|
}
|
|
|
|
.contant .genome .search_gen input[type="file"] {
|
|
border: none;
|
|
outline: none;
|
|
font-size: 150%;
|
|
}
|
|
|
|
.contant .genome .search_gen input[type="file"]:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* 文件信息显示样式 */
|
|
.file-info {
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
margin-top: 10px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.file-selected p {
|
|
margin: 5px 0;
|
|
font-size: 14px;
|
|
color: #333;
|
|
}
|
|
|
|
.contant .butt {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.contant .butt button {
|
|
font-size: 120%;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
border: 1px ;
|
|
color: white;
|
|
background-color: #2E5A61;
|
|
}
|
|
|
|
.contant .butt button:first-child {
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.contant .butt button:hover {
|
|
color: black;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.contant .butt button a {
|
|
color: white;
|
|
}
|
|
|
|
.contant .butt button a:hover {
|
|
color: black;
|
|
}
|
|
|
|
|
|
/* copyright */
|
|
.copyright {
|
|
width: 90%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.copyright .bottom {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
padding-top: 20px;
|
|
padding-bottom: 20px;
|
|
background-color: #2E5A61;
|
|
}
|
|
|
|
.copyright .bottom p {
|
|
margin: 0 20px;
|
|
color: white;
|
|
}
|