Replace hybrid site-nav/drawer shell with zibll navbar-top layouts 1/2/3, body.mobile-navbar-show drawer, wired NavWalker + aksrt_menu_options meta, nav_folding/chevron, VIP switches, and SPA/PHP schema parity. No dual-class compat paths.
222 lines
4.2 KiB
CSS
222 lines
4.2 KiB
CSS
/* Senior submenus (graphic card / multi-column) */
|
|
.sub-menu.senior-submenu .container {
|
|
background: var(--muted-border-color);
|
|
border-radius: var(--main-radius);
|
|
padding: 4px 10px;
|
|
margin: 4px 0;
|
|
}
|
|
|
|
.sub-menu.senior-submenu ~ .sub-menu {
|
|
display: none;
|
|
}
|
|
|
|
.navbar-top .sub-menu.senior-submenu {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.05);
|
|
border-radius: 0 0 var(--main-radius) var(--main-radius);
|
|
padding: 20px 0;
|
|
top: 59px;
|
|
}
|
|
|
|
.links-columns-box .link-item > * {
|
|
padding: 8px 5px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.navbar-top .links-column {
|
|
margin: 10px;
|
|
}
|
|
|
|
.navbar-top .links-columns-box .column-title {
|
|
border-bottom: 1px solid var(--main-border-color);
|
|
font-size: 1.1em;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.links-columns-box .link-item .icon-hover-show {
|
|
opacity: 0;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.navbar-top .links-columns-box .link-item > a:hover > .icon-hover-show {
|
|
opacity: 1;
|
|
transform: translate3d(10px, 0, 0);
|
|
}
|
|
|
|
.links-columns-box .link-item img {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 4px;
|
|
margin-right: 6px;
|
|
flex-shrink: 0;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.mobile-navbar .links-columns-box .link-item > * {
|
|
padding: 5px 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
width: 110px;
|
|
display: block;
|
|
}
|
|
|
|
.mobile-navbar .links-columns-box .link-item img {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
/*导航栏高级子菜单:图文卡片菜单*/
|
|
.navbar-top .menu-graphic-card-item {
|
|
margin: 20px 10px;
|
|
}
|
|
|
|
.navbar-top .submenu-graphic-card {
|
|
--img-size: 130px;
|
|
}
|
|
.navbar-top .submenu-graphic-card.size-sm {
|
|
--img-size: 80px;
|
|
}
|
|
.navbar-top .submenu-graphic-card.size-xs {
|
|
--img-size: 180px;
|
|
}
|
|
.navbar-top .submenu-graphic-card.size-lg {
|
|
--img-size: 240px;
|
|
}
|
|
.mobile-navbar .submenu-graphic-card.size-sm {
|
|
--img-size: 68px;
|
|
}
|
|
.mobile-navbar .submenu-graphic-card {
|
|
--img-size: 107px;
|
|
}
|
|
.mobile-navbar .submenu-graphic-card.size-xs {
|
|
--img-size: 140px;
|
|
}
|
|
.mobile-navbar .submenu-graphic-card.size-lg {
|
|
--img-size: 180px;
|
|
}
|
|
|
|
.menu-graphic-card-item .img-box {
|
|
width: var(--img-size);
|
|
height: calc(var(--img-size) * var(--img-scale, 1));
|
|
border-radius: var(--main-radius);
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.navbar-top .links-column,
|
|
.navbar-top .menu-graphic-card-item {
|
|
opacity: 0;
|
|
transition: 0.6s;
|
|
transform: translate3d(0, 20px, 0);
|
|
}
|
|
|
|
.navbar-top li:hover .links-column,
|
|
.navbar-top li:hover .menu-graphic-card-item {
|
|
transition-delay: var(--ani-delay);
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
|
|
.menu-graphic-card-item .title.text-ellipsis {
|
|
width: var(--img-size);
|
|
text-align: center;
|
|
}
|
|
|
|
.sub-user-box {
|
|
width: 242px;
|
|
word-break: break-word;
|
|
white-space: normal;
|
|
}
|
|
|
|
.mobile-navbar.top .sub-user-box {
|
|
width: auto;
|
|
text-align: center;
|
|
margin: auto;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.mobile-navbar.top .sub-user-box > ul {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sub-user-box .list-inline > li + li {
|
|
width: calc(100% - 48px);
|
|
}
|
|
|
|
.sub-user-box .social-login-item.button-lg {
|
|
width: 110px !important;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.sub-user-box .user-name {
|
|
width: calc(100% - 3em);
|
|
}
|
|
|
|
.sub-user-box .author-tag > * {
|
|
max-height: 41px;
|
|
overflow: hidden;
|
|
flex: auto;
|
|
}
|
|
|
|
.sub-vip-card {
|
|
font-size: 12px;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.sub-vip-card .vip-card {
|
|
display: inline-block;
|
|
width: 240px;
|
|
margin: 5px;
|
|
box-shadow: 0 0 10px var(--main-shadow);
|
|
}
|
|
|
|
.sub-vip-card .vip-baicon.abs-center {
|
|
font-size: 10em;
|
|
left: 55%;
|
|
}
|
|
|
|
.sub-vip-card .payvip-button {
|
|
font-size: 1em !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.sub-vip-card .vip-name {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.sub-vip-card .vip-img {
|
|
display: none;
|
|
}
|
|
|
|
.sub-user-box .payvip-icon {
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.header-user-href > a {
|
|
display: inline-block;
|
|
padding-top: 10px;
|
|
min-width: 58px;
|
|
}
|
|
|
|
.header-user-href > a:hover {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.header-user-href > a div + div {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.header-user-href .toggle-radius {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
|
|
|