[更新]修正节点列表checkbox样式

This commit is contained in:
Anyon 2018-05-25 14:36:08 +08:00
parent 8674474ffc
commit 50fa86fa8d
2 changed files with 7 additions and 7 deletions

View File

@ -45,21 +45,21 @@
</td> </td>
<td class='text-left nowrap'> <td class='text-left nowrap'>
{if auth("$classuri/save") and $vo.spt eq 1} {if auth("$classuri/save") and $vo.spt eq 1}
<label class="color-desc"> <label class="color-desc think-checkbox">
<input data-login-group="{$vo.node}" type="checkbox"> 全部加入登录控制 <input data-login-group="{$vo.node}" type="checkbox"> 全部加入登录控制
</label> </label>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
<label class="notselect margin-left-15 color-desc"> <label class="notselect margin-left-15 color-desc think-checkbox">
<input data-auth-group="{$vo.node}" type="checkbox"> 全部加入权限控制 <input data-auth-group="{$vo.node}" type="checkbox"> 全部加入权限控制
</label> </label>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
<label class="notselect margin-left-15 color-desc"> <label class="notselect margin-left-15 color-desc think-checkbox">
<input data-menu-group="{$vo.node}" type="checkbox"> 全部加入菜单节点选择器 <input data-menu-group="{$vo.node}" type="checkbox"> 全部加入菜单节点选择器
</label> </label>
{/if} {/if}
{if auth("$classuri/save") and $vo.spt eq 2} {if auth("$classuri/save") and $vo.spt eq 2}
<span class="color-desc">&nbsp;&nbsp;├─&nbsp;</span> <span class="color-desc">&nbsp;&nbsp;├─&nbsp;</span>
<label class="notselect margin-right-15"> <label class="notselect margin-right-15 think-checkbox">
<!--{notempty name='vo.is_login'}--> <!--{notempty name='vo.is_login'}-->
<input data-login-filter="{$vo.pnode}" checked='checked' class="check-box login_{$key}" type='checkbox' value='1' name='is_login' data-node="{$vo.node}" onclick="!this.checked && ($('.auth_{$key}')[0].checked = !!this.checked)"> <input data-login-filter="{$vo.pnode}" checked='checked' class="check-box login_{$key}" type='checkbox' value='1' name='is_login' data-node="{$vo.node}" onclick="!this.checked && ($('.auth_{$key}')[0].checked = !!this.checked)">
<!--{else}--> <!--{else}-->
@ -68,7 +68,7 @@
加入登录控制 加入登录控制
</label> </label>
<span class="color-desc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;├─&nbsp;</span> <span class="color-desc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;├─&nbsp;</span>
<label class="notselect margin-right-15"> <label class="notselect margin-right-15 think-checkbox">
<!--{notempty name='vo.is_auth'}--> <!--{notempty name='vo.is_auth'}-->
<input data-auth-filter="{$vo.pnode}" name='is_auth' data-node="{$vo.node}" checked='checked' class="check-box auth_{$key}" type='checkbox' onclick="this.checked && ($('.login_{$key}')[0].checked = !!this.checked)" value='1'> <input data-auth-filter="{$vo.pnode}" name='is_auth' data-node="{$vo.node}" checked='checked' class="check-box auth_{$key}" type='checkbox' onclick="this.checked && ($('.login_{$key}')[0].checked = !!this.checked)" value='1'>
<!--{else}--> <!--{else}-->
@ -77,7 +77,7 @@
加入权限控制 加入权限控制
</label> </label>
<span class="color-desc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;├─&nbsp;</span> <span class="color-desc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;├─&nbsp;</span>
<label class="notselect"> <label class="notselect think-checkbox">
<!--{notempty name='vo.is_menu'}--> <!--{notempty name='vo.is_menu'}-->
<input data-menu-filter="{$vo.pnode}" name='is_menu' data-node="{$vo.node}" checked='checked' class='check-box menu_{$key}' type='checkbox' value='1'> <input data-menu-filter="{$vo.pnode}" name='is_menu' data-node="{$vo.node}" checked='checked' class='check-box menu_{$key}' type='checkbox' value='1'>
<!--{else}--> <!--{else}-->

View File

@ -80,7 +80,7 @@ legend{width:auto!important;border-bottom:none!important}
.layui-table .list-table-check-td input{margin:0;vertical-align:middle} .layui-table .list-table-check-td input{margin:0;vertical-align:middle}
/** checkbox 优化 */ /** checkbox 优化 */
label.think-radio,lable.think-checkbox{font-size:100%;font-weight:500;margin-bottom:0} 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} .think-radio,.think-checkbox{cursor:pointer;margin-top:8px;line-height:18px;margin-right:10px}
.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],.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]:active,.think-radio input[type=radio]:active{background:#ebebeb;border-color:#c6c6c6}