style(login): 修复后台登录页保持会话复选框与文字重叠问题
这个提交包含在:
@@ -381,28 +381,46 @@
|
|||||||
height: 48px;
|
height: 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.login-body .login-keep.checkbox {
|
body.login-body .login-keep {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
min-height: 44px;
|
min-height: 24px;
|
||||||
margin: 6px 0 22px;
|
margin: 10px 0 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.login-body .login-keep label {
|
body.login-body .login-keep label,
|
||||||
display: flex;
|
body.login-body .login-keep .login-keep-label {
|
||||||
|
position: relative;
|
||||||
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
padding: 0 !important;
|
||||||
|
min-height: auto;
|
||||||
|
font-size: 14px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
line-height: 1.4;
|
||||||
color: var(--muted);
|
color: var(--muted);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.login-body .login-keep input[type="checkbox"] {
|
body.login-body .login-keep input[type="checkbox"] {
|
||||||
width: 16px;
|
position: static !important;
|
||||||
height: 16px;
|
float: none !important;
|
||||||
margin: 0;
|
width: 16px !important;
|
||||||
|
height: 16px !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
accent-color: var(--brass-deep);
|
accent-color: var(--brass-deep);
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.login-body .login-keep .login-keep-text {
|
||||||
|
display: inline-block;
|
||||||
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.login-body .login-submit.btn {
|
body.login-body .login-submit.btn {
|
||||||
@@ -617,10 +635,10 @@
|
|||||||
<!--@CaptchaEnd-->
|
<!--@CaptchaEnd-->
|
||||||
|
|
||||||
{if $keeyloginhours>0}
|
{if $keeyloginhours>0}
|
||||||
<div class="form-group checkbox login-keep">
|
<div class="form-group login-keep">
|
||||||
<label class="inline" for="keeplogin" data-toggle="tooltip" title="{:__('The duration of the session is %s hours', $keeyloginhours)}">
|
<label class="login-keep-label" for="keeplogin" data-toggle="tooltip" title="{:__('The duration of the session is %s hours', $keeyloginhours)}">
|
||||||
<input type="checkbox" name="keeplogin" id="keeplogin" value="1"/>
|
<input type="checkbox" name="keeplogin" id="keeplogin" value="1"/>
|
||||||
{:__('Keep login')}
|
<span class="login-keep-text">{:__('Keep login')}</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户