全站通知:
模板:Tabs/styles.css
刷
历
编
< 模板:Tabs
跳到导航
跳到搜索
.custom-tabs-panel > details > summary {
display: none;
}
.custom-tabs-container a:hover,
.custom-tabs-container a:focus {
text-decoration: none;
}
.custom-tabs-container {
margin-bottom: 12px;
margin-top: 0.35em;
}
.custom-tabs-list {
display: flex;
overflow-x: auto;
scrollbar-width: 0;
scrollbar-width: none;
margin-bottom: 6px;
}
.custom-tabs-tab {
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
cursor: pointer;
user-select: none;
text-decoration: none;
font-weight: 500;
font-size: 0.875rem;
line-height: 1em;
height: 3rem;
padding: 0 1rem;
gap: 0.5rem;
border: 1px solid hsl(var(--btn-bg-color));
border-radius: 0.3rem;
background-color: hsl(var(--btn-bg-color));
color: hsl(var(--btn-text-color)) !important;
transition: none;
height: 2rem;
padding: 0 0.5rem;
border-radius: 0;
background-color: var(--common-table-bg);
border: none;
}
.custom-tabs-list .custom-tabs-tab:first-child {
margin-left: 0;
border-top-left-radius: var(--btn-border-radius);
border-bottom-left-radius: var(--btn-border-radius);
}
.custom-tabs-list .custom-tabs-tab:last-child {
border-top-right-radius: var(--btn-border-radius);
border-bottom-right-radius: var(--btn-border-radius);
}
.custom-tabs-tab.is-active {
border-color: hsl(var(--btn-active-bg-color)) !important;
background-color: hsl(var(--btn-active-bg-color)) !important;
color: hsl(var(--btn-active-text-color)) !important;
pointer-events: none;
text-shadow: 1px 1px var(--common-darkgreen);
font-weight: 600;
}
.custom-tabs-content {
margin-top: 6px;
}
.custom-tabs-panel details > img {
margin-top: 6px;
}
.custom-tabs-panel details summary::before {
content: "";
display: none;
}
.custom-tabs-panel details summary {
list-style: none;
}
.custom-tabs-panel details summary::-webkit-details-marker {
display: none;
}

沪公网安备 31011002002714 号