MediaWiki:Common.css:修订间差异
| 第276行: | 第276行: | ||
/*分页优化*/ | /*分页优化*/ | ||
.tabber__tab, .tabber__tab:visited { | .tabber__tab, .tabber__tab:visited { | ||
transition: all ease 0.3s; | |||
color: var(--color-base, #202122); | color: var(--color-base, #202122); | ||
background: transparent; | background: transparent; | ||
| 第288行: | 第287行: | ||
} | } | ||
.tabber__tab[aria-selected='true'], | .tabber__tab[aria-selected='true'], .tabber__tab[aria-selected='true']:visited { | ||
.tabber__tab[aria-selected='true']:visited { | color: var(--background-color-neutral-subtle, #f8f9fa); | ||
background: var(--color-progressive, #36c); | background: var(--color-progressive, #36c); | ||
} | } | ||
| 第311行: | 第299行: | ||
width: 0; | width: 0; | ||
height: 2px; | height: 2px; | ||
background: var(--box-shadow-color-progressive-selected--hover, #447ff5); | background: linear-gradient(90deg, var(--box-shadow-color-progressive-selected--hover, #447ff5), var(--color-progressive, #36c)); | ||
transition: width 0.3s ease; | transition: width 0.3s ease; | ||
} | } | ||
| 第318行: | 第306行: | ||
color: var(--color-progressive--hover, #447ff5); | color: var(--color-progressive--hover, #447ff5); | ||
} | } | ||
.tabber__tab:hover::after { | .tabber__tab:hover::after { | ||
width: 100%; | width: 100%; | ||
} | |||
.tabber__tab[aria-selected='true']::after { | |||
width: 100%; | |||
background: var(--background-color-neutral-subtle, #f8f9fa); | |||
} | } | ||
| 第325行: | 第319行: | ||
color: var(--background-color-neutral-subtle, #f8f9fa); | color: var(--background-color-neutral-subtle, #f8f9fa); | ||
} | } | ||
/*维基语法里用的CSS*/ | /*维基语法里用的CSS*/ | ||