MediaWiki:Common.css:修订间差异
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
| 第552行: | 第552行: | ||
border-radius: 4px; | border-radius: 4px; | ||
overflow: hidden; | overflow: hidden; | ||
background: rgba(251,251,251,0.7); | |||
} | |||
.infotemplatebox { | |||
margin-top: 0.4em ; | |||
margin-left: 1em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); | |||
border-radius: 4px; | |||
overflow: hidden!important; | |||
background: rgba(251,251,251,0.7); | background: rgba(251,251,251,0.7); | ||
} | } | ||
| 第615行: | 第627行: | ||
.action-submit .backToTop { | .action-submit .backToTop { | ||
display: none !important; | display: none !important; | ||
} | |||
/* 切换列表 */ | |||
.wds-dropdown { | |||
display: inline-block; | |||
position: relative; | |||
} | |||
.wds-dropdown__content { | |||
display: none; | |||
background-color: #f3f4f4eb; | |||
border: 1px solid #cececed4; | |||
border-radius: 4px; | |||
left: 50%; | |||
min-width: 70%; | |||
height: 100%; | |||
padding: 5px 0; | |||
position: absolute; | |||
top: 100%; | |||
transform: translateX(-50%); | |||
z-index: 1; | |||
} | |||
.wds-dropdown__toggle:after{ | |||
text-decoration: none !important; | |||
border: 1px solid #cececed4; | |||
border-bottom: 1px dotted #f3f4f4eb; | |||
cursor: pointer; | |||
position: relative; | |||
} | |||
.wds-dropdown:before { | |||
display: none; | |||
border: 9px solid transparent; | |||
border-bottom: 9px solid #f3f4f4eb; | |||
margin-left: -9px; | |||
} | |||
.wds-dropdown:after, .wds-dropdown:before { | |||
bottom: -1px; | |||
content: ""; | |||
height: 0; | |||
left: 50%; | |||
position: absolute; | |||
width: 0; | |||
z-index: 2; | |||
} | |||
.wds-dropdown:hover .wds-dropdown__content { | |||
display: inline-block; | |||
} | |||
.wds-dropdown:hover::before { | |||
display: inline-block; | |||
} | } | ||
/* 解决pre不换行的问题 */ | /* 解决pre不换行的问题 */ | ||