mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
更新
This commit is contained in:
2
assets/css/joe.global.min.css
vendored
2
assets/css/joe.global.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -354,66 +354,44 @@
|
||||
}
|
||||
}
|
||||
&__menu {
|
||||
&.list {
|
||||
width: 110px;
|
||||
text-align: center;
|
||||
a {
|
||||
display: block;
|
||||
height: 34px;
|
||||
line-height: 34px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
color: var(--minor);
|
||||
transition: color 0.35s, background 0.35s;
|
||||
&:hover,
|
||||
&.active {
|
||||
color: var(--theme);
|
||||
background: var(--classD);
|
||||
}
|
||||
width: 110px;
|
||||
text-align: center;
|
||||
a {
|
||||
display: block;
|
||||
height: 34px;
|
||||
line-height: 34px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
color: var(--minor);
|
||||
transition: color 0.35s, background 0.35s;
|
||||
&:hover,
|
||||
&.active {
|
||||
color: var(--theme);
|
||||
background: var(--classD);
|
||||
}
|
||||
}
|
||||
&.form {
|
||||
padding: 15px;
|
||||
.item {
|
||||
margin-bottom: 15px;
|
||||
.label {
|
||||
color: var(--routine);
|
||||
margin-bottom: 8px;
|
||||
font-size: 12px;
|
||||
}
|
||||
input[type='text'],
|
||||
input[type='password'] {
|
||||
width: 220px;
|
||||
height: 34px;
|
||||
border: 1px solid var(--classB);
|
||||
padding: 0 10px;
|
||||
border-radius: 3px;
|
||||
transition: border 0.35s;
|
||||
color: var(--routine);
|
||||
background: var(--background);
|
||||
&:focus {
|
||||
border-color: var(--theme);
|
||||
}
|
||||
}
|
||||
}
|
||||
button[type='button'] {
|
||||
width: 220px;
|
||||
height: 34px;
|
||||
border: none;
|
||||
background: var(--theme);
|
||||
color: #fff;
|
||||
border-radius: 3px;
|
||||
transition: opacity 0.35s;
|
||||
&:hover {
|
||||
opacity: 0.85;
|
||||
}
|
||||
&:disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 45px;
|
||||
color: var(--minor);
|
||||
.icon {
|
||||
fill: var(--minor);
|
||||
margin-right: 5px;
|
||||
}
|
||||
a {
|
||||
color: var(--minor);
|
||||
transition: color 0.25s;
|
||||
&:hover {
|
||||
color: var(--theme);
|
||||
}
|
||||
}
|
||||
.split {
|
||||
margin: 0 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
&-progress {
|
||||
|
||||
@@ -537,18 +537,4 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
$('.joe_motto').html(motto);
|
||||
}
|
||||
}
|
||||
|
||||
/* 登录 */
|
||||
{
|
||||
$(".joe_header__below-sign button[type='button']").on('click', function (e) {
|
||||
if ($(".joe_header__below-sign input[name='name']").val().trim() === '') {
|
||||
return Qmsg.warning('请输入用户名!');
|
||||
}
|
||||
if ($(".joe_header__below-sign input[name='password']").val().trim() === '') {
|
||||
return Qmsg.warning('请输入密码!');
|
||||
}
|
||||
$(this).html('登录中...').attr('disabled', true);
|
||||
$('.joe_header__below-sign form').submit();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
2
assets/js/joe.global.min.js
vendored
2
assets/js/joe.global.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user