置顶公告:【置顶】关于临时开启评论区所有功能的公告(2022.10.22) | 【置顶】关于本站Widget恢复使用的公告
  • 你好~!欢迎来到萌娘百科镜像站!如需查看或编辑,请联系本站管理员注册账号。
  • 本镜像站和其他萌娘百科的镜像站无关,请注意分别。

Template:StyleToggle/style.css

猛汉♂百科,万男皆可猛的百科全书!转载请标注来源页面的网页链接,并声明引自猛汉百科。内容不可商用。
跳到导航 跳到搜索
.styleToggle-transform,
.styleToggle-color,
.styleToggle-opacity,
.styleToggle-font-size,
.styleToggle-font-weight,
.styleToggle-width,
.styleToggle-font-family,
.styleToggle-display {
	transition:all linear 1s;
}

.textToggleDisplay.hidden + .styleToggle-transform {
	transform:inherit !important;
}

.textToggleDisplay.hidden + .styleToggle-color {
	color:inherit !important;
}

.textToggleDisplay.hidden + .styleToggle-opacity {
	opacity:inherit !important;
}

.textToggleDisplay.hidden + .styleToggle-font-size {
	font-size:inherit !important;
}

.textToggleDisplay.hidden + .styleToggle-font-weight {
	font-weight:inherit !important;
}

.textToggleDisplay.hidden + .styleToggle-width {
	width:inherit !important;
}

.textToggleDisplay.hidden + .styleToggle-font-family {
	font-family:inherit !important;
}

.textToggleDisplay.hidden + .styleToggle-display {
	display:inline !important;
}

.styleToggleBtn {
	position:relative;
	display:inline-block;
	height:24px;
	vertical-align:bottom;
}
.styleToggleBtn label {
	display: inline-block;
	width: 0;
	height: 24px;
	border: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	position: relative;
	z-index: 2;
	opacity: 0;
}
.styleToggleBtn label:not(.on) {
	cursor: pointer;
	width: 40px;
}
.styleToggleBtn input {
	display:none;
}
.styleToggleSwitch {
	display:inline-block;
	width:40px;
	height:24px;
	box-sizing:border-box;
	border:1px solid;
	border-radius:20px;
	position:absolute;
	left:0;
}
.styleToggleSwitch > span {
	display:inline-block;
	width:18px;
	height:18px;
	box-sizing:border-box;
	margin:2px;
	border:1px solid #fff;
	border-radius:10px;
	background-color:#fff;
}
/* [[Category:在模板名字空间下的CSS页面]] */