1088 lines
26 KiB
HTML
1088 lines
26 KiB
HTML
<style>
|
|
/* header */
|
|
.jianghu-navbar{
|
|
box-shadow: none;
|
|
background-color: var(--vt-c-bg) !important;
|
|
border-bottom: 1px solid var(--vt-c-divider-light);
|
|
transition: border-color .5s,background-color .5s;
|
|
height: var(--vt-nav-height);
|
|
font-size: 13px;
|
|
position: relative;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: var(--vp-z-index-nav);
|
|
}
|
|
.jianghu-navbar-container{
|
|
padding: 0 32px;
|
|
}
|
|
.jianghu-logo{
|
|
margin-right: 8px;
|
|
}
|
|
.jianghu-logo-img{
|
|
height: 24px;
|
|
}
|
|
.jianghu-logo:hover{
|
|
opacity: 0.6;
|
|
}
|
|
.jianghu-logo-text{
|
|
text-align: center;
|
|
display: block;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
font-family: var(--vt-font-family-base);
|
|
letter-spacing: .2px;
|
|
color: var(--vt-c-text-1) !important;
|
|
}
|
|
.jianghu-search{
|
|
color: var(--vt-c-text-2);
|
|
font-weight: 500;
|
|
}
|
|
.jianghu-search:hover{
|
|
color: var(--docsearch-text-color);
|
|
}
|
|
.jianghu-search-link{
|
|
padding: 0 !important;
|
|
}
|
|
.jianghu-search-icon{
|
|
font-size: 15px;
|
|
margin-right: 10px;
|
|
}
|
|
.jianghu-menus{
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
transition: color .25s;
|
|
}
|
|
.jianghu-menus-link{
|
|
color: var(--vt-c-text-1) !important;
|
|
padding: 8px 12px !important;
|
|
transition: color .25s;
|
|
}
|
|
.jianghu-menus-link:hover{
|
|
color: var(--vt-c-brand) !important;
|
|
}
|
|
.jianghu-dropdown-menus{
|
|
border-radius: 8px;
|
|
padding: 12px 0;
|
|
min-width: 192px;
|
|
border: 1px solid transparent;
|
|
background: var(--vt-c-bg);
|
|
box-shadow: var(--vt-shadow-3);
|
|
transition: background-color .5s;
|
|
-webkit-border-radius: 8px;
|
|
-moz-border-radius: 8px;
|
|
-ms-border-radius: 8px;
|
|
-o-border-radius: 8px;
|
|
}
|
|
.jianghu-dropdown-menus-link-disabled{
|
|
padding: 0 18px;
|
|
line-height: 28px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: var(--vt-c-text-3) !important;
|
|
text-transform: uppercase;
|
|
transition: color .25s;
|
|
}
|
|
.jianghu-dropdown-menus-link{
|
|
display: block;
|
|
padding: 0 18px;
|
|
line-height: 28px;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
color: var(--vt-c-text-1);
|
|
white-space: nowrap;
|
|
transition: color .25s;
|
|
}
|
|
.jianghu-dropdown-menus-link:hover{
|
|
color: var(--vt-c-brand);
|
|
background-color: var(--vt-c-white);
|
|
}
|
|
.jianghu-divider{
|
|
margin: 12px 0 11px;
|
|
border-top: 1px solid var(--vt-c-divider-light-3);
|
|
}
|
|
.jianghu-menus-icons{
|
|
margin-left: 8px;
|
|
}
|
|
.jianghu-menus-icon-link{
|
|
width: 36px;
|
|
height: 36px;
|
|
text-align: center;
|
|
color: var(--vt-c-text-2) !important;
|
|
transition: color .5s;
|
|
-webkit-transition: color .5s;
|
|
-moz-transition: color .5s;
|
|
-ms-transition: color .5s;
|
|
-o-transition: color .5s;
|
|
}
|
|
.jianghu-menus-icon-link:hover{
|
|
color: var(--vt-c-text-1) !important;
|
|
transition: color .25s;
|
|
}
|
|
.jianghu-menus-icon{
|
|
font-size: 20px;
|
|
}
|
|
.jianghu-menus-icon-user{
|
|
font-size: 19px;
|
|
}
|
|
.dropdown:hover>.dropdown-menu {
|
|
display: block;
|
|
right: 0;
|
|
transition: display .5s;
|
|
-webkit-transition: display .5s;
|
|
-moz-transition: display .5s;
|
|
-ms-transition: display .5s;
|
|
-o-transition: display .5s;
|
|
}
|
|
|
|
.dropdown>.dropdown-toggle:active {
|
|
pointer-events: none;
|
|
}
|
|
@media (min-width: 960px){
|
|
.jianghu-navbar {
|
|
position: fixed;
|
|
top: var(--vt-banner-height, 0px);
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/* mobile header */
|
|
.VPNav {
|
|
position: relative;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: var(--vp-z-index-nav)
|
|
}
|
|
@media (min-width: 960px) {
|
|
.VPNav {
|
|
position: fixed;
|
|
top: var(--vt-banner-height, 0px);
|
|
width: 100%
|
|
}
|
|
}
|
|
.VPNavBar {
|
|
position: relative;
|
|
border-bottom: 1px solid var(--vt-c-divider-light);
|
|
padding: 0 12px 0 24px;
|
|
height: var(--vt-nav-height);
|
|
background-color: var(--vt-c-bg);
|
|
transition: border-color .5s,background-color .5s;
|
|
-webkit-transition: border-color .5s,background-color .5s;
|
|
-moz-transition: border-color .5s,background-color .5s;
|
|
-ms-transition: border-color .5s,background-color .5s;
|
|
-o-transition: border-color .5s,background-color .5s;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.VPNavBar {
|
|
padding: 0 12px 0 32px
|
|
}
|
|
}
|
|
@media (min-width: 1280px) {
|
|
.VPNavBar {
|
|
padding: 0 32px
|
|
}
|
|
}
|
|
.jianghu-header-mobile-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin: 0 auto;
|
|
max-width: var(--vp-screen-max-width)
|
|
}
|
|
.VPNavBarTitle {
|
|
display: flex;
|
|
align-items: center;
|
|
padding-top: 1px;
|
|
height: var(--vt-nav-height);
|
|
transition: opacity .25s
|
|
}
|
|
.VPNavBarTitle:hover {
|
|
opacity: .6
|
|
}
|
|
.jianghu-header-mobile-logo {
|
|
position: relative;
|
|
height: 24px;
|
|
}
|
|
.jianghu-header-mobile-logo+.text {
|
|
padding-left: 8px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
}
|
|
.jianghu-header-mobile-content {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
flex-grow: 1;
|
|
}
|
|
.VPNavBarSearch {
|
|
display: flex;
|
|
align-items: center;
|
|
padding-left: 16px
|
|
}
|
|
@media (min-width: 768px) {
|
|
.VPNavBarSearch {
|
|
flex-grow: 1
|
|
}
|
|
}
|
|
|
|
.DocSearch-Button {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: 0;
|
|
width: 48px;
|
|
height: 55px;
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 40px;
|
|
color: var(--docsearch-muted-color);
|
|
cursor: pointer;
|
|
display: flex;
|
|
font-weight: 500;
|
|
padding: 0 8px;
|
|
user-select: none;
|
|
}
|
|
.DocSearch {
|
|
--docsearch-primary-color: var(--vt-c-brand);
|
|
--docsearch-highlight-color: var(--docsearch-primary-color);
|
|
--docsearch-text-color: var(--vt-c-text-1);
|
|
--docsearch-muted-color: var(--vt-c-text-2);
|
|
--docsearch-searchbox-shadow: none;
|
|
--docsearch-searchbox-focus-background: transparent;
|
|
--docsearch-key-gradient: transparent;
|
|
--docsearch-key-shadow: none;
|
|
--docsearch-modal-background: var(--vt-c-bg-soft);
|
|
--docsearch-footer-background: var(--vt-c-bg)
|
|
}
|
|
@media (min-width: 768px){
|
|
.DocSearch-Button {
|
|
justify-content: flex-start;
|
|
width: 100%;
|
|
}
|
|
}
|
|
.DocSearch-Button-Container {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
.DocSearch-Button .DocSearch-Search-Icon {
|
|
color: var(--vt-c-text-2);
|
|
transition: color .5s;
|
|
fill: currentColor;
|
|
width: 18px;
|
|
height: 18px;
|
|
position: relative;
|
|
}
|
|
.DocSearch-Search-Icon {
|
|
stroke-width: 1.6;
|
|
}
|
|
.DocSearch-Button-Keys{
|
|
display: flex;
|
|
min-width: calc(40px + 0.8em);
|
|
}
|
|
.DocSearch-Button-Key{
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: var(--docsearch-key-gradient);
|
|
box-shadow: var(--docsearch-key-shadow);
|
|
position: relative;
|
|
top: -1px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
margin: 0;
|
|
width: auto;
|
|
color: var(--vt-c-text-3);
|
|
padding: 0 1px;
|
|
}
|
|
.DocSearch-Button .DocSearch-Button-Key{
|
|
padding-left: 6px;
|
|
height: 22px;
|
|
line-height: 22px;
|
|
transition: color .5s,border-color .5s;
|
|
min-width: 0;
|
|
margin-top: 2px;
|
|
border: 1px solid var(--vt-c-divider);
|
|
border-right: none;
|
|
border-radius: 4px 0 0 4px;
|
|
}
|
|
.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{
|
|
border-right: 1px solid var(--vt-c-divider);
|
|
border-left: none;
|
|
border-radius: 0 4px 4px 0;
|
|
padding-left: 2px;
|
|
padding-right: 6px;
|
|
}
|
|
.DocSearch-Button:hover .DocSearch-Search-Icon{
|
|
color: var(--vt-c-text-1);
|
|
}
|
|
.DocSearch-Button:hover .DocSearch-Button-Placeholder{
|
|
color: var(--vt-c-text-1);
|
|
}
|
|
.DocSearch-Button:hover .DocSearch-Button-Key{
|
|
border-color: var(--vt-c-brand-light);
|
|
color: var(--vt-c-brand-light);
|
|
}
|
|
@media (min-width: 768px){
|
|
.DocSearch-Button .DocSearch-Search-Icon {
|
|
top: 1px;
|
|
margin-right: 10px;
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
.DocSearch-Button .DocSearch-Button-Key {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.DocSearch-Button-Placeholder {
|
|
transition: color .5s;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--vt-c-text-2);
|
|
display: none;
|
|
padding: 0 10px 0 0;
|
|
}
|
|
@media (max-width: 750px){
|
|
.DocSearch-Button-Keys, .DocSearch-Button-Placeholder {
|
|
display: none;
|
|
}
|
|
}
|
|
@media (min-width: 960px){
|
|
.DocSearch-Button-Placeholder {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.VPNavBarHamburger{
|
|
width: 40px;
|
|
height: var(--vt-nav-height);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
@media (min-width: 768px){
|
|
.VPNavBarHamburger {
|
|
display: none;
|
|
}
|
|
}
|
|
.vt-hamburger-container {
|
|
position: relative;
|
|
width: 16px;
|
|
height: 14px;
|
|
overflow: hidden;
|
|
}
|
|
.vt-hamburger-top, .vt-hamburger-middle, .vt-hamburger-bottom {
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 2px;
|
|
background-color: var(--vt-c-text-1);
|
|
transition: top .25s,background-color .5s,transform .25s;
|
|
}
|
|
.vt-hamburger-top {
|
|
top: 0;
|
|
left: 0;
|
|
transform: translate(0);
|
|
}
|
|
.vt-hamburger:hover .vt-hamburger-top {
|
|
top: 0;
|
|
left: 0;
|
|
transform: translate(4px);
|
|
}
|
|
.vt-hamburger-middle {
|
|
top: 6px;
|
|
left: 0;
|
|
transform: translate(8px);
|
|
}
|
|
.vt-hamburger:hover .vt-hamburger-middle {
|
|
top: 6;
|
|
left: 0;
|
|
transform: translate(0);
|
|
}
|
|
.vt-hamburger-bottom {
|
|
top: 12px;
|
|
left: 0;
|
|
transform: translate(4px);
|
|
}
|
|
.vt-hamburger:hover .vt-hamburger-bottom {
|
|
top: 12px;
|
|
left: 0;
|
|
transform: translate(8px);
|
|
}
|
|
.vt-hamburger.is-active .vt-hamburger-top {
|
|
top: 6px;
|
|
transform: translate(0) rotate(225deg);
|
|
}
|
|
.vt-hamburger.is-active .vt-hamburger-middle {
|
|
top: 6px;
|
|
transform: translate(16px);
|
|
}
|
|
.vt-hamburger.is-active .vt-hamburger-bottom {
|
|
top: 6px;
|
|
transform: translate(0) rotate(135deg);
|
|
}
|
|
.vt-hamburger.is-active .vt-hamburger-top, .vt-hamburger.is-active .vt-hamburger-middle, .vt-hamburger.is-active .vt-hamburger-bottom {
|
|
background-color: var(--vt-c-text-2);
|
|
transition: top .25s,background-color .25s,transform .25s;
|
|
-webkit-transition: top .25s,background-color .25s,transform .25s;
|
|
-moz-transition: top .25s,background-color .25s,transform .25s;
|
|
-ms-transition: top .25s,background-color .25s,transform .25s;
|
|
-o-transition: top .25s,background-color .25s,transform .25s;
|
|
}
|
|
.vt-hamburger .closeIcon{
|
|
display: none;
|
|
}
|
|
.VPNavBarMenu {
|
|
display: none;
|
|
}
|
|
@media (min-width: 768px){
|
|
.VPNavBarMenu {
|
|
display: flex;
|
|
}
|
|
}
|
|
.VPNavBarMenuGroup.active {
|
|
border-bottom: 1px solid var(--vt-c-brand);
|
|
height: var(--vt-nav-height);
|
|
}
|
|
.vt-flyout {
|
|
position: relative;
|
|
}
|
|
.vt-flyout:hover {
|
|
color: var(--vt-c-bland);
|
|
transition: color .25s;
|
|
}
|
|
.vt-flyout-button {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 12px;
|
|
height: var(--vt-nav-height);
|
|
color: var(--vt-c-text-1);
|
|
transition: color .5s;
|
|
}
|
|
.vt-flyout-button-text {
|
|
display: flex;
|
|
align-items: center;
|
|
line-height: var(--vt-nav-height);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--vt-c-text-1);
|
|
transition: color .25s;
|
|
}
|
|
.vt-flyout:hover .vt-flyout-button-text {
|
|
color: var(--vt-c-text-2);
|
|
}
|
|
.vt-flyout-button-text-icon {
|
|
margin-left: 4px;
|
|
width: 14px;
|
|
height: 14px;
|
|
fill: currentColor;
|
|
}
|
|
.vt-flyout-button-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
fill: currentColor;
|
|
transition: fill .25s;
|
|
}
|
|
.vt-flyout-menu {
|
|
position: absolute;
|
|
top: calc(var(--vt-nav-height) / 2 + 15px);
|
|
right: 0;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transform: translateY(-4px);
|
|
transition: opacity .25s,visibility .25s,transform .25s;
|
|
}
|
|
.vt-flyout:hover .vt-flyout-menu, .vt-flyout-button[aria-expanded=true]+.vt-flyout-menu {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateY(0);
|
|
}
|
|
.vt-menu {
|
|
border-radius: 8px;
|
|
padding: 12px 0;
|
|
min-width: 192px;
|
|
border: 1px solid transparent;
|
|
background: var(--vt-c-bg);
|
|
box-shadow: var(--vt-shadow-3);
|
|
transition: background-color .5s;
|
|
}
|
|
.vt-menu-items {
|
|
transition: border-color .5s;
|
|
}
|
|
.vt-menu-link {
|
|
display: block;
|
|
padding: 0 18px;
|
|
line-height: 28px;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
color: var(--vt-c-text-1);
|
|
white-space: nowrap;
|
|
transition: color .25s;
|
|
}
|
|
.vt-menu-link:hover {
|
|
color: var(--vt-c-brand);
|
|
}
|
|
.vt-menu .vt-menu-group {
|
|
padding: 0 0 12px;
|
|
}
|
|
.vt-menu-group-title {
|
|
padding: 0 18px;
|
|
line-height: 28px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: var(--vt-c-text-3);
|
|
text-transform: uppercase;
|
|
transition: color .25s;
|
|
}
|
|
.VPNavBarMenuLink {
|
|
display: block;
|
|
padding: 0 12px;
|
|
line-height: calc(var(--vt-nav-height) - 1px);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--vt-c-text-1);
|
|
transition: color .25s;
|
|
}
|
|
.VPNavBarMenuLink:hover {
|
|
color: var(--vt-c-brand);
|
|
}
|
|
.VPNavBarMenuLink.active {
|
|
border-bottom: 1px solid var(--vt-c-brand);
|
|
}
|
|
.vt-social-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-left: 12px;
|
|
}
|
|
.VPNavBarSocialLinks {
|
|
display: none;
|
|
margin-right: 10px;
|
|
}
|
|
@media (min-width: 1280px){
|
|
.VPNavBarSocialLinks {
|
|
display: flex;
|
|
}
|
|
}
|
|
.vt-social-link {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: var(--vt-c-text-2);
|
|
transition: color .5s;
|
|
}
|
|
.vt-social-link:hover {
|
|
color: var(--vt-c-text-1);
|
|
transition: color .25s;
|
|
}
|
|
.vt-social-link.is-small {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
.vt-social-link.is-small .vt-social-link-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
.vt-social-link-icon {
|
|
fill: currentColor;
|
|
}
|
|
.visually-hidden {
|
|
clip: rect(0 0 0 0);
|
|
clip-path: inset(50%);
|
|
height: 1px;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
width: 1px;
|
|
}
|
|
|
|
|
|
|
|
/* mobile nav */
|
|
.VPLocalNav{
|
|
position: sticky;
|
|
top: var(--vt-banner-height, 0px);
|
|
left: 0;
|
|
z-index: var(--vp-z-index-local-nav);
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid var(--vt-c-divider-light);
|
|
background-color: var(--vt-c-bg);
|
|
transition: border-color .5s,background-color .5s;
|
|
}
|
|
@media (min-width: 960px){
|
|
.VPLocalNav {
|
|
display: none;
|
|
}
|
|
}
|
|
.jianghu-nav-mobile-menu {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 24px;
|
|
line-height: 47px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--vt-c-text-2);
|
|
transition: color .5s;
|
|
}
|
|
.jianghu-nav-mobile-menu-icon {
|
|
margin-right: 8px;
|
|
width: 16px;
|
|
height: 16px;
|
|
fill: currentColor;
|
|
}
|
|
.jianghu-nav-mobile-menu-top-link {
|
|
padding: 0 24px;
|
|
line-height: 47px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--vt-c-text-2);
|
|
transition: color .5s;
|
|
}
|
|
|
|
|
|
/* mobile nav 下拉菜单 */
|
|
.VPNavScreen {
|
|
position: fixed;
|
|
top: calc(var(--vt-nav-height) + var(--vt-banner-height, 0px));
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
padding: 0 32px;
|
|
width: 100%;
|
|
background-color: var(--vt-c-bg);
|
|
transition: background-color .5s;
|
|
overflow-y: auto;
|
|
display: none;
|
|
}
|
|
.VPNavScreen.open{
|
|
display: block;
|
|
}
|
|
.jianghu-header-mobile-NavScreen-container{
|
|
margin: 0 auto;
|
|
padding: 24px 0 96px;
|
|
max-width: 288px;
|
|
}
|
|
.VPNavScreenMenuGroup {
|
|
border-bottom: 1px solid var(--vt-c-divider-light);
|
|
height: 48px;
|
|
overflow: hidden;
|
|
transition: border-color .5s;
|
|
}
|
|
.VPNavScreenMenuGroup.open {
|
|
padding-bottom: 10px;
|
|
height: auto;
|
|
}
|
|
.jianghu-header-mobile-NavScreen-button {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 4px 11px 0;
|
|
width: 100%;
|
|
line-height: 24px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--vt-c-text-1);
|
|
transition: color .25s;
|
|
}
|
|
.VPNavScreenMenuGroup.open .jianghu-header-mobile-NavScreen-button {
|
|
padding-bottom: 6px;
|
|
color: var(--vt-c-brand);
|
|
}
|
|
.jianghu-header-mobile-NavScreen-button-icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
fill: var(--vt-c-text-2);
|
|
transition: fill .5s,transform .25s;
|
|
}
|
|
.VPNavScreenMenuGroup.open .jianghu-header-mobile-NavScreen-button-icon {
|
|
transform: rotate(45deg);
|
|
}
|
|
.VPNavScreenMenuGroup .items {
|
|
visibility: hidden;
|
|
}
|
|
.VPNavScreenMenuGroup.open .items {
|
|
visibility: visible;
|
|
}
|
|
.VPNavScreenMenuGroupLink {
|
|
display: block;
|
|
line-height: 32px;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
color: var(--vt-c-text-1);
|
|
transition: color .25s;
|
|
margin-left: 0.6em;
|
|
}
|
|
.VPNavScreenMenuLink {
|
|
display: block;
|
|
border-bottom: 1px solid var(--vt-c-divider-light);
|
|
padding: 12px 0 11px;
|
|
line-height: 24px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--vt-c-text-1);
|
|
transition: border-color .5s,color .25s;
|
|
}
|
|
.VPNavScreenMenuLink:hover, .VPNavScreenMenuLink:focus, .VPNavScreenMenuLink.active{
|
|
color: var(--vt-c-brand);
|
|
}
|
|
.jianghu-header-mobile-NavScreen-group:first-child {
|
|
padding-top: 4px;
|
|
}
|
|
.VPNavScreenMenuGroupSection {
|
|
display: block;
|
|
}
|
|
.jianghu-header-mobile-NavScreen-group-title {
|
|
line-height: 32px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: var(--vt-c-text-2);
|
|
text-transform: uppercase;
|
|
transition: color .25s;
|
|
}
|
|
.VPNavScreenMenu+.social-links {
|
|
margin-top: 24px;
|
|
}
|
|
.VPNavBarSocialLinks .vt-social-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.vt-social-link.is-medium {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
.vt-social-link {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: var(--vt-c-text-2);
|
|
transition: color .5s;
|
|
}
|
|
.vt-social-link.is-medium .vt-social-link-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
.vt-social-link-icon {
|
|
fill: currentColor;
|
|
}
|
|
|
|
|
|
/* footer */
|
|
.jianghu-footer{
|
|
background-color: var(--vt-c-bg-soft) !important;
|
|
}
|
|
.jianghu-footer-links{
|
|
border-top: 1px solid transparent;
|
|
border-bottom: 1px solid var(--vt-c-divider-light);
|
|
padding: 32px 24px;
|
|
background: var(--vt-c-bg-soft);
|
|
transition: border-color .5s,background-color .5s;
|
|
padding: 48px 32px
|
|
}
|
|
.jianghu-footer-links-container{
|
|
margin: 0 auto;
|
|
white-space: nowrap;
|
|
}
|
|
.jianghu-footer-links-title{
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: var(--vt-c-text-1);
|
|
}
|
|
.jianghu-footer-links-item{
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--vt-c-text-2);
|
|
transition: color .25s;
|
|
}
|
|
.jianghu-footer-links-item:hover{
|
|
color: var(--vt-c-text-1);
|
|
}
|
|
.jianghu-footer-copyright{
|
|
border-top: 1px solid var(--vt-c-bg-soft);
|
|
padding: 23px 0 24px;
|
|
background-color: var(--vt-c-bg-soft);
|
|
text-align: center;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--vt-c-text-2);
|
|
transition: color .25s;
|
|
}
|
|
.jianghu-footer-img{
|
|
background-color: #eee;
|
|
width: 11.63rem;
|
|
height: 11.31rem;
|
|
border-radius: 0.25rem;
|
|
margin: 0 auto;
|
|
}
|
|
@media (min-width: 768px){
|
|
.jianghu-footer-img{
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
/* meilisearch */
|
|
#searchModal .modal-header{
|
|
display: none;
|
|
}
|
|
.searchbox{
|
|
align-items: center;
|
|
background: var(--docsearch-searchbox-focus-background);
|
|
border-radius: 4px;
|
|
box-shadow: var(--docsearch-searchbox-shadow);
|
|
display: flex !important;
|
|
height: var(--docsearch-searchbox-height) !important;
|
|
margin: 0;
|
|
padding: 0 var(--docsearch-spacing);
|
|
position: relative !important;
|
|
width: 100% !important;
|
|
background-color: #fff;
|
|
border: 1px solid var(--vt-c-brand);
|
|
}
|
|
.searchbox__submit{
|
|
top: -40px !important;
|
|
}
|
|
.searchbox__submit svg{
|
|
height: 24px !important;
|
|
width: 24px !important;
|
|
stroke-width: 1.6;
|
|
fill: var(--docsearch-highlight-color) !important;
|
|
}
|
|
.searchbox input{
|
|
appearance: none !important;
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
color: var(--docsearch-text-color) !important;
|
|
flex: 1 !important;
|
|
font: inherit !important;
|
|
font-size: 1.2em !important;
|
|
height: 100% !important;
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.meilisearch-autocomplete.meilisearch-autocomplete-right .dsb-dropdown-menu{
|
|
top: 3px !important;
|
|
left: -29px !important;
|
|
position: relative !important;
|
|
}
|
|
.meilisearch-autocomplete.meilisearch-autocomplete-right .dsb-dropdown-menu:before{
|
|
display: none !important;
|
|
}
|
|
.meilisearch-autocomplete .dsb-dropdown-menu [class^=dsb-dataset-]{
|
|
border: none !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion--category-header{
|
|
background: var(--docsearch-modal-background) !important;
|
|
color: var(--docsearch-highlight-color) !important;
|
|
font-size: .85em !important;
|
|
font-weight: 600 !important;
|
|
line-height: 32px !important;
|
|
margin: 0 -4px !important;
|
|
padding: 8px 4px 0 !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion--highlight{
|
|
background: none !important;
|
|
color: var(--docsearch-highlight-color) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion--category-header{
|
|
border-bottom: 1px solid var(--vt-c-divider-light) !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion--subcategory-column:before{
|
|
background: var(--vt-c-divider-light) !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion--content:before{
|
|
display: none !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion--text{
|
|
line-height: 24px !important;
|
|
font-size: .9em !important;
|
|
font-weight: 400 !important;
|
|
color: var(--vt-c-text-1) !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion--title{
|
|
color: var(--docsearch-muted-color) !important;
|
|
font-size: .9em !important;
|
|
font-weight: 400 !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion--subcategory-column{
|
|
color: var(--docsearch-muted-color) !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-footer{
|
|
display: none !important;
|
|
align-items: end !important;
|
|
justify-content: end !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-footer-logo{
|
|
margin-left: 10px !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion .docs-searchbar-suggestion--subcategory-column {
|
|
display: none !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion--category-header{
|
|
white-space: nowrap !important;
|
|
overflow: hidden !important;
|
|
text-overflow: ellipsis !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion--content{
|
|
margin-left: 0 !important;
|
|
padding-left: 0 !important;
|
|
width: 100% !important;
|
|
}
|
|
@media (max-width: 768px){
|
|
#searchModal{
|
|
background-color: #fff !important;
|
|
}
|
|
.modal-content{
|
|
box-shadow: none !important;
|
|
}
|
|
.meilisearch-autocomplete.meilisearch-autocomplete-right .dsb-dropdown-menu{
|
|
box-shadow: none !important;
|
|
min-width: auto !important;
|
|
left: 0 !important;
|
|
}
|
|
.meilisearch-autocomplete .dsb-dropdown-menu [class^=dsb-dataset-]{
|
|
padding: 0 !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-suggestion .docs-searchbar-suggestion--subcategory-column{
|
|
font-weight: 400 !important;
|
|
opacity: 1 !important;
|
|
}
|
|
.docs-searchbar-suggestion--content{
|
|
margin-left: 5px !important;
|
|
}
|
|
.meilisearch-autocomplete .docs-searchbar-footer{
|
|
margin-top: 25px !important;
|
|
}
|
|
#searchModal .modal-header{
|
|
display: flex;
|
|
}
|
|
#searchModal .modal-header [role=button]{
|
|
color: var(--docsearch-highlight-color);
|
|
}
|
|
}
|
|
|
|
|
|
/* others */
|
|
body.grey-bg{
|
|
background-color: var(--vt-c-bg-soft);
|
|
}
|
|
main{
|
|
background-color: var(--vt-c-white);
|
|
}
|
|
.vt-backdrop {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: rgba(0,0,0,.6);
|
|
transition: opacity .5s;
|
|
display: none;
|
|
}
|
|
.vt-backdrop.light {
|
|
background: rgba(255,255,255,.6);
|
|
}
|
|
.vt-backdrop.open {
|
|
display: block;
|
|
}
|
|
.backdrop {
|
|
z-index: var(--vp-z-index-backdrop);
|
|
}
|
|
.jianghu-button-primary{
|
|
font-size: 14px;
|
|
display: inline-block;
|
|
border-radius: 4px;
|
|
transition: background-color .5s,color .5s;
|
|
position: relative;
|
|
font-weight: 600;
|
|
background-color: var(--vt-c-green);
|
|
color: var(--vt-c-white) !important;
|
|
margin-right: 18px !important;
|
|
padding: 6px 21px;
|
|
-webkit-transition: background-color .5s,color .5s;
|
|
-moz-transition: background-color .5s,color .5s;
|
|
-ms-transition: background-color .5s,color .5s;
|
|
-o-transition: background-color .5s,color .5s;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
-ms-border-radius: 4px;
|
|
-o-border-radius: 4px;
|
|
}
|
|
.jianghu-button-primary:hover{
|
|
background-color: var(--vt-c-green-dark);
|
|
transition-duration: .2s;
|
|
color: var(--vt-c-white);
|
|
}
|
|
.jianghu-button-light{
|
|
font-size: 14px;
|
|
display: inline-block;
|
|
background-color: var(--vt-c-bg-mute);
|
|
padding: 6px 21px;
|
|
font-weight: 500;
|
|
border-radius: 4px;
|
|
transition: background-color .5s,color .5s;
|
|
color: var(--vt-c-text-code);
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
-ms-border-radius: 4px;
|
|
-o-border-radius: 4px;
|
|
}
|
|
.jianghu-button-light:hover{
|
|
background-color: var(--vt-c-gray-light-4);
|
|
transition-duration: .2s;
|
|
color: var(--vt-c-text-code);
|
|
}
|
|
.modal-header{
|
|
border-bottom: 1px solid var(--vt-c-divider-light);
|
|
}
|
|
.modal-footer{
|
|
border-top: 1px solid var(--vt-c-divider-light);
|
|
}
|
|
.form-outline .form-control:focus~.form-label{
|
|
color: var(--vt-c-green);
|
|
}
|
|
.form-outline .form-control:focus~.form-notch .form-notch-leading{
|
|
border-color: var(--vt-c-green);
|
|
box-shadow: none;
|
|
}
|
|
.form-outline .form-control:focus~.form-notch .form-notch-middle {
|
|
border-color: var(--vt-c-green);
|
|
box-shadow: none;
|
|
border-top: 1px solid transparent;
|
|
}
|
|
.form-outline .form-control:focus~.form-notch .form-notch-trailing {
|
|
border-color: var(--vt-c-green);
|
|
box-shadow: none;
|
|
}
|
|
.form-outline .form-control~.form-notch div{
|
|
border: 1px solid var(--vt-c-divider-light);
|
|
}
|
|
.form-outline .form-control~.form-label{
|
|
font-size: 14px;
|
|
color: var(--vt-c-text-2);
|
|
}
|
|
.form-control{
|
|
border: 1px solid var(--vt-c-divider-light);
|
|
}
|
|
.form-control:focus{
|
|
border-color: var(--vt-c-green);
|
|
box-shadow: inset 0 0 0 1px var(--vt-c-green);
|
|
}
|
|
.alert-fixed{
|
|
top: 10px;
|
|
right: 0;
|
|
}
|
|
.spinner-border{
|
|
z-index: var(--vp-z-index-loading);
|
|
position: fixed;
|
|
left: 50%;
|
|
top: 50%;
|
|
margin-left: -22px;
|
|
margin-top: -22px;
|
|
color: var(--vt-c-indigo);
|
|
}
|
|
.form-check-input[type=checkbox]:checked{
|
|
background-color: var(--vt-c-green);
|
|
border-color: var(--vt-c-green);
|
|
}
|
|
.form-check-input[type=checkbox]:checked:focus{
|
|
background-color: var(--vt-c-green);
|
|
}
|
|
</style> |