From 1a8b50b93aff8e9a52aa1620616f379efea7b5ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Sat, 1 Jul 2023 19:29:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20checkbox=20=E4=B8=AD?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E8=A1=8C=E9=AB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/css/layui.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/css/layui.css b/src/css/layui.css index ed0a2f7b..281cdc4d 100644 --- a/src/css/layui.css +++ b/src/css/layui.css @@ -822,6 +822,7 @@ a cite{font-style: normal; *cursor:pointer;} .layui-form-checkbox:hover{} .layui-form-checkbox > *{display: inline-block; vertical-align: middle;} .layui-form-checkbox > div{padding: 0 11px; font-size: 14px; border-radius: 2px 0 0 2px; background-color: #d2d2d2; color: #fff; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;} +.layui-form-checkbox > div > .layui-icon{line-height: normal} .layui-form-checkbox:hover > div{background-color: #c2c2c2;} .layui-form-checkbox > i{position: absolute; right: 0; top: 0; width: 30px; height: 100%; border: 1px solid #d2d2d2; border-left: none; border-radius: 0 2px 2px 0; color: #fff; color: rgba(255,255,255,0); font-size: 20px; text-align: center; box-sizing: border-box;} .layui-form-checkbox:hover > i{border-color: #c2c2c2; color: #c2c2c2;}