Browse Source

调整

tags/6.3.0
叙述、别离 1 year ago
parent
commit
de6dc5eef6
2 changed files with 14 additions and 15 deletions
  1. +2
    -2
      src/admin/index_body.php
  2. +12
    -13
      src/static/web/css/admin.css

+ 2
- 2
src/admin/index_body.php View File

@@ -55,8 +55,8 @@ if (empty($dopost)) {
}
$rowarcrank = $row['arcrank']==-1 ? '待审核' : '已审核';
$pubdate = GetDateMk($row['pubdate']);
echo "<tr class='no-wrap'>
<td><a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a></td><td width='70'>{$rowarcrank}</td><td width='110'>{$pubdate}</td></tr>";
$row['title'] = cn_substr($row['title'], 70);
echo "<tr class='no-wrap'><td><a href='{$row['editcon']}?aid={$row['id']}&channelid={$row['channel']}'>{$row['title']}</a></td><td width='70'>{$rowarcrank}</td><td width='110'>{$pubdate}</td></tr>";
}
} else {
?>


+ 12
- 13
src/static/web/css/admin.css View File

@@ -9,10 +9,10 @@ ul,ol,li{margin:0;padding:0}
li{list-style:none}
form,label{margin-bottom:0}
table{width:100%;background:var(--white);border-spacing:0;border-collapse:separate}
table tr:first-child td:first-child{border-top-left-radius:0.5rem;border-top:0}
table tr:first-child td:last-child{border-top-right-radius:0.5rem;border-top:0}
table tr:last-child td:first-child{border-bottom-left-radius:0.5rem;border-bottom:0}
table tr:last-child td:last-child{border-bottom-right-radius:0.5rem;border-bottom:0}
table tr:first-child td:first-child{border-top-left-radius:0.5rem;border-top:none}
table tr:first-child td:last-child{border-top-right-radius:0.5rem;border-top:none}
table tr:last-child td:first-child{border-bottom-left-radius:0.5rem;border-bottom:none}
table tr:last-child td:last-child{border-bottom-right-radius:0.5rem;border-bottom:none}
td{word-break:break-all;word-wrap:break-word}
input{padding:0.375rem 0.75rem;height:30px;color:var(--gray);background:var(--white);border:1px solid var(--gray-300);vertical-align:middle}
input[type=file]{padding:0;height:auto;border:0;border-radius:0!important;vertical-align:middle}
@@ -123,16 +123,7 @@ body.menu-show .body-right{left:220px;transition:all 0.5s}
#selColor{padding:0.22rem;width:45px}
#edsta{display:none;padding:0.5rem;position:absolute;top:100px;left:200px;width:450px;height:auto;background:var(--bg);border:1px solid var(--gray-300)}
.browsehappy{padding:1rem 30px;color:var(--orange);background:var(--yellow)}
.option1{background:var(--gray-300)}
.option2{background:var(--gray-500)}
.option3{background:var(--white)}
.upload-box{margin:10px;background:var(--white)}
.user-img-md{width:60px;height:60px;border-radius:50%;border:1px solid var(--light)}
.user-img-sm{width:30px;height:30px;border-radius:50%;border:1px solid var(--light)}
.thumbnail-md{max-width:200px;max-height:120px}
.thumbnail-sm{max-width:80px;max-height:80px}
.no-wrap{white-space:nowrap}
.list-group-item{padding:0.5rem 0}
.modal-title{font-size:16px}
.card,.modal-content{border:none}
.card-header{padding:0.5rem 1rem;background-color:rgba(0,0,0,0)}
@@ -145,6 +136,14 @@ body.menu-show .body-right{left:220px;transition:all 0.5s}
.fa{font-size:14px!important;color:inherit}
.fileinput-button{display:inline-block;position:relative;overflow:hidden}
.fileinput-button input{position:absolute;top:0;right:0;margin:0;opacity:0;direction:ltr;cursor:pointer}
.option1{background:var(--gray-300)}
.option2{background:var(--gray-500)}
.option3{background:var(--white)}
.upload-box{margin:10px;background:var(--white)}
.user-img-md{width:60px;height:60px;border-radius:50%;border:1px solid var(--light)}
.user-img-sm{width:30px;height:30px;border-radius:50%;border:1px solid var(--light)}
.thumbnail-md{max-width:200px;max-height:120px}
.thumbnail-sm{max-width:80px;max-height:80px}
.admin-win{background:var(--bg);border:1px solid var(--gray-300)!important}
.admin-win-iframe{width:100%;height:350px}
.admin-main-sort{margin-left:1rem;padding:0;width:30px;text-align:center}


Loading…
Cancel
Save