[更新]优化checkbox样式

This commit is contained in:
Anyon 2018-05-25 14:38:02 +08:00
parent 50fa86fa8d
commit a3bf404dc2

View File

@ -80,8 +80,8 @@ legend{width:auto!important;border-bottom:none!important}
.layui-table .list-table-check-td input{margin:0;vertical-align:middle}
/** checkbox 优化 */
label.think-radio,lable.think-checkbox{font-size:100%;font-weight:500;margin-bottom:0;color:#333}
.think-radio,.think-checkbox{cursor:pointer;margin-top:8px;line-height:18px;margin-right:10px}
label.think-radio,label.think-checkbox{font-size:100%;font-weight:500;margin-bottom:0;color:#333}
.think-radio,.think-checkbox{cursor:pointer;margin-top:10px;line-height:18px;margin-right:10px;font-weight: normal}
.think-checkbox input[type=checkbox],.think-radio input[type=radio]{appearance:none;-webkit-appearance:none;display:inline-block!important;margin:0;width:18px;height:18px;cursor:pointer;background:#fff;border-radius:1px;position:relative;vertical-align:bottom;-moz-border-radius:1px;border:1px solid #dcdcdc;-webkit-border-radius:1px;box-sizing:border-box !important;-moz-box-sizing:border-box!important;-webkit-box-sizing:border-box!important}
.think-checkbox input[type=checkbox]:active,.think-radio input[type=radio]:active{background:#ebebeb;border-color:#c6c6c6}
.think-checkbox input[type=checkbox]:hover{border-color:#c6c6c6;box-shadow:inset 0 1px 1px rgba(0,0,0,0.1);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.1);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.1)}