MediaWiki:Common.css:修订间差异
| (未显示同一用户的6个中间版本) | |||
| 第273行: | 第273行: | ||
margin-top: 0; | margin-top: 0; | ||
padding-left: 0; | padding-left: 0; | ||
} | |||
/*分页优化*/ | |||
.tabber__tab, .tabber__tab:visited { | |||
transition: all ease 0.3s; | |||
color: var(--color-base, #202122); | |||
background: transparent; | |||
position: relative; | |||
padding: 8px 12px; | |||
border: none; | |||
cursor: pointer; | |||
z-index: 1; | |||
} | |||
.tabber__tab[aria-selected='true'], .tabber__tab[aria-selected='true']:visited { | |||
color: var(--background-color-neutral-subtle, #f8f9fa); | |||
background: var(--color-progressive, #36c); | |||
} | |||
.tabber__tab::after { | |||
content: ''; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 0; | |||
height: 100%; | |||
background: var(--box-shadow-color-progressive-selected--hover, #447ff5); | |||
transition: width 0.3s ease; | |||
z-index: -1; | |||
} | |||
.tabber__tab:hover { | |||
color: var(--background-color-neutral-subtle, #f8f9fa) !important; | |||
} | |||
.tabber__tab:hover::after { | |||
width: 100%; | |||
} | |||
.tabber__tab[aria-selected='true']::after { | |||
width: 100%; | |||
background: var(--color-progressive, #36c); | |||
} | |||
.tabber__tab[aria-selected='true']:hover { | |||
color: var(--background-color-neutral-subtle, #f8f9fa); | |||
} | } | ||