Browse Source

面向对象

tags/6.3.0
叙述、别离 6 months ago
parent
commit
d1824eeaf5
24 changed files with 68 additions and 74 deletions
  1. +19
    -24
      src/admin/templets/ad_add.htm
  2. +3
    -3
      src/admin/templets/album_add.htm
  3. +5
    -5
      src/admin/templets/album_edit.htm
  4. +1
    -1
      src/admin/templets/archives_add.htm
  5. +1
    -1
      src/admin/templets/archives_edit.htm
  6. +1
    -1
      src/admin/templets/archives_sg_add.htm
  7. +1
    -1
      src/admin/templets/archives_sg_edit.htm
  8. +1
    -1
      src/admin/templets/article_add.htm
  9. +1
    -1
      src/admin/templets/article_edit.htm
  10. +1
    -2
      src/admin/templets/catalog_main.htm
  11. +2
    -2
      src/admin/templets/content_batch_up.htm
  12. +0
    -1
      src/admin/templets/diy_field_add.htm
  13. +0
    -1
      src/admin/templets/diy_field_edit.htm
  14. +0
    -1
      src/admin/templets/mychannel_field_add.htm
  15. +0
    -1
      src/admin/templets/mychannel_field_edit.htm
  16. +1
    -1
      src/admin/templets/soft_add.htm
  17. +1
    -1
      src/admin/templets/soft_edit.htm
  18. +1
    -1
      src/admin/templets/spec_add.htm
  19. +1
    -1
      src/admin/templets/spec_edit.htm
  20. +4
    -4
      src/admin/templets/sys_cloud.htm
  21. +1
    -1
      src/admin/templets/sys_info.htm
  22. +0
    -1
      src/admin/templets/tpl_edit.htm
  23. +19
    -14
      src/static/web/css/admin.css
  24. +4
    -4
      src/static/web/css/style.css

+ 19
- 24
src/admin/templets/ad_add.htm View File

@@ -11,7 +11,6 @@
<script src="/static/web/js/jquery.min.js"></script>
<script src="/static/web/js/moment.min.js"></script>
<script src="/static/web/js/daterangepicker.js"></script>
<style>.typetab{text-align:left}.typetab ul li{float:left;width:60px;height:28px;line-height:28px;border-radius:0.5rem 0.5rem 0 0;text-align:center;cursor:pointer}.typetab ul .act{background:#f5f5f5}</style>
</head>
<body>
<form name="form1" action="ad_add.php" method="post" onSubmit="return checkSubmit()">
@@ -78,9 +77,9 @@
<tr>
<td>广告文档:</td>
<td>
<div class="typetab">
<div class="add-tab">
<ul id="changeTab">
<li id="t_code" class="act">代码</li>
<li id="t_code" class="active">代码</li>
<li id="t_txt">文字</li>
<li id="t_img">图片</li>
<li id="t_flash">Flash</li>
@@ -177,7 +176,23 @@
return false;
}
}
function showcode(idName) {
$("#advert").html("").html($("#formtxt>#" + idName).html());
$("#adstyle").val(idName);
}
showcode('code');
$(document).ready(function() {
$("#changeTab>li").click(function() {
var tabLi = $(this);
var thistab = tabLi[0].id;
$(".content").each(function() {
if ("t_" + $(this)[0].id == thistab) {
$("#changeTab>li").removeClass("active");
$("#t_" + $(this)[0].id).addClass("active");
showcode($(this)[0].id);
}
})
});
$('.datepicker').daterangepicker({
"singleDatePicker": true,
"autoApply": true,
@@ -203,27 +218,7 @@
}, function(start) {
$(this).val(start.format("YYYY-MM-DD HH:mm"));
});
})
</script>
<script>
(function($) {
function showcode(idName) {
$("#advert").html("").html($("#formtxt>#" + idName).html());
$("#adstyle").val(idName);
}
showcode('code');
$("#changeTab>li").click(function () {
var tabLi = $(this);
var thistab = tabLi[0].id;
$(".content").each(function () {
if ("t_" + $(this)[0].id == thistab) {
$("#changeTab>li").removeClass("act");
$("#t_" + $(this)[0].id).addClass("act");
showcode($(this)[0].id);
}
})
})
})(jQuery);
});
</script>
</body>
</html>

+ 3
- 3
src/admin/templets/album_add.htm View File

@@ -28,7 +28,7 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="maxwidth" id="maxwidth" value="<?php echo $cfg_album_width;?>">
<input type="hidden" id="albums" name="albums">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">发布图片文档</td>
</tr>
@@ -396,7 +396,7 @@
data: formData,
processData: false,
contentType: false,
success: function (result) {
success: function(result) {
if (result.code === 0) {
// console.log(result)
addImage(result.data, 0);
@@ -405,7 +405,7 @@
ShowMsg(result.error.message);
}
},
error: function (xhr, status, error) {
error: function(xhr, status, error) {
ShowMsg(error); //处理上传失败后的回调
}
});


+ 5
- 5
src/admin/templets/album_edit.htm View File

@@ -27,7 +27,7 @@
<input type="hidden" name="imagebody">
<input type="hidden" name="dopost" value="save">
<input type="hidden" id="albums" name="albums">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">修改图片文档</td>
</tr>
@@ -432,7 +432,7 @@
data: formData,
processData: false,
contentType: false,
success: function (result) {
success: function(result) {
if (result.code === 0) {
let idx = val.target.getAttribute("for").replace("item","");
$(`input[name='imgurl${idx}']`).val(result.data);
@@ -442,7 +442,7 @@
ShowMsg(result.error.message);
}
},
error: function (xhr, status, error) {
error: function(xhr, status, error) {
ShowMsg(error); //处理上传失败后的回调
}
});
@@ -459,7 +459,7 @@
data: formData,
processData: false,
contentType: false,
success: function (result) {
success: function(result) {
if (result.code === 0) {
// console.log(result)
addImage(result.data, 0);
@@ -468,7 +468,7 @@
ShowMsg(result.error.message);
}
},
error: function (xhr, status, error) {
error: function(xhr, status, error) {
ShowMsg(error); //处理上传失败后的回调
}
});


+ 1
- 1
src/admin/templets/archives_add.htm View File

@@ -23,7 +23,7 @@
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">发布自定义文档</td>
</tr>


+ 1
- 1
src/admin/templets/archives_edit.htm View File

@@ -23,7 +23,7 @@
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="id" value="<?php echo $aid?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">修改自定义文档</td>
</tr>


+ 1
- 1
src/admin/templets/archives_sg_add.htm View File

@@ -23,7 +23,7 @@
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">发布分类文档</td>
</tr>


+ 1
- 1
src/admin/templets/archives_sg_edit.htm View File

@@ -24,7 +24,7 @@
<input type="hidden" name="id" value="<?php echo $aid;?>">
<input type="hidden" name="sortrank" value="<?php echo $addRow['senddate'];?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">修改分类文档</td>
</tr>


+ 1
- 1
src/admin/templets/article_add.htm View File

@@ -22,7 +22,7 @@
<form name="form1" action="article_add.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit()">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">发布文档</td>
</tr>


+ 1
- 1
src/admin/templets/article_edit.htm View File

@@ -23,7 +23,7 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="id" value="<?php echo $aid?>">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">修改文档</td>
</tr>


+ 1
- 2
src/admin/templets/catalog_main.htm View File

@@ -7,7 +7,6 @@
<link rel="stylesheet" href="/static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="/static/web/css/admin.css">
<style>.admin-td{border-bottom:1px solid #dee2e6!important}</style>
<script src="/static/web/js/jquery.min.js"></script>
<script src="/static/web/js/webajax.js"></script>
<script src="/static/web/js/admin.catalog.js"></script>
@@ -31,7 +30,7 @@
</tr>
</table>
<form name="form1" method="post" action="catalog_do.php?dopost=upRankAll">
<table align="center" class="maintable mb-3">
<table align="center" class="maintable column mb-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">网站栏目管理</td>
</tr>


+ 2
- 2
src/admin/templets/content_batch_up.htm View File

@@ -97,7 +97,7 @@
else v.style.display = "none";
})
}
$(document).ready(function () {
$(document).ready(function() {
$('.datepicker').daterangepicker({
"singleDatePicker": true,
"autoApply": true,
@@ -121,7 +121,7 @@
monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
firstDay: 1
}
}, function (start) {
}, function(start) {
$(this).val(start.format("YYYY-MM-DD HH:mm:ss"));
});
});


+ 0
- 1
src/admin/templets/diy_field_add.htm View File

@@ -10,7 +10,6 @@
<script src="/static/web/js/jquery.min.js"></script>
<script src="/static/web/js/bootstrap.min.js"></script>
<script src="/static/web/js/admin.main.js"></script>
<style>.nw{float:left;width:160px}.cls{clear:both}</style>
</head>
<body>
<form name="form1" action="diy_field_add.php" method="post" onSubmit="return GetFields();">


+ 0
- 1
src/admin/templets/diy_field_edit.htm View File

@@ -10,7 +10,6 @@
<script src="/static/web/js/jquery.min.js"></script>
<script src="/static/web/js/bootstrap.min.js"></script>
<script src="/static/web/js/admin.main.js"></script>
<style>.nw{float:left;width:160px}.cls{clear:both}</style>
</head>
<body>
<form name="form1" action="diy_field_edit.php" method="post" onSubmit="return GetFields();">


+ 0
- 1
src/admin/templets/mychannel_field_add.htm View File

@@ -10,7 +10,6 @@
<script src="/static/web/js/jquery.min.js"></script>
<script src="/static/web/js/bootstrap.min.js"></script>
<script src="/static/web/js/admin.main.js"></script>
<style>.nw{float:left;width:160px}.cls{clear:both}</style>
</head>
<body>
<form name="form1" action="mychannel_field_add.php" method="post" onSubmit="return GetFields();">


+ 0
- 1
src/admin/templets/mychannel_field_edit.htm View File

@@ -10,7 +10,6 @@
<script src="/static/web/js/jquery.min.js"></script>
<script src="/static/web/js/bootstrap.min.js"></script>
<script src="/static/web/js/admin.main.js"></script>
<style>.nw{float:left;width:160px}.cls{clear:both}</style>
</head>
<body>
<form name="form1" action="mychannel_field_edit.php" method="post" onSubmit="return GetFields();">


+ 1
- 1
src/admin/templets/soft_add.htm View File

@@ -39,7 +39,7 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid;?>">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">发布软件文档</td>
</tr>


+ 1
- 1
src/admin/templets/soft_edit.htm View File

@@ -38,7 +38,7 @@
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="id" value="<?php echo $aid?>">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">修改软件文档</td>
</tr>


+ 1
- 1
src/admin/templets/spec_add.htm View File

@@ -61,7 +61,7 @@
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="arcrank" value="0">
<input type="hidden" name="source" value="本站">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">发布专题</td>
</tr>


+ 1
- 1
src/admin/templets/spec_edit.htm View File

@@ -59,7 +59,7 @@
<input type="hidden" name="arcrank" value="<?php echo $arcRow['arcrank']?>">
<input type="hidden" name="source" value="本站">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" id="needset" class="admin-border my-3">
<table width="98%" align="center" id="needset" class="maintable my-3">
<tr>
<td bgcolor="#f5f5f5" class="admin-td">发布专题</td>
</tr>


+ 4
- 4
src/admin/templets/sys_cloud.htm View File

@@ -102,7 +102,7 @@
tencent_secret_key: '',
};
function LoadConfig() {
$.get("sys_cloud.php?dopost=cloud_get", function (data) {
$.get("sys_cloud.php?dopost=cloud_get", function(data) {
try {
rs = JSON.parse(data);
if (rs.code === 0) {
@@ -134,8 +134,8 @@
}
});
}
$(document).ready(function () {
$("#btnSave").click(function () {
$(document).ready(function() {
$("#btnSave").click(function() {
if ($("#cloudType1").is(":checked")) {
cloudConfig.aliyun_enabled = true;
} else {
@@ -157,7 +157,7 @@
}
cloudConfig.tencent_secret_id = $("#iptTencentSecretId").val();
cloudConfig.tencent_secret_key = $("#iptTencentSecretKey").val();
$.post("sys_cloud.php?dopost=cloud_set", cloudConfig, function (result) {
$.post("sys_cloud.php?dopost=cloud_set", cloudConfig, function(result) {
let data = JSON.parse(result);
if (data.code === 0) {
ShowMsg("云服务设置成功");


+ 1
- 1
src/admin/templets/sys_info.htm View File

@@ -207,7 +207,7 @@
jQuery("#edit___cfg_cookie_encode").val(data);
});
}
$(document).ready(function () {
$(document).ready(function() {
$("#btnClear").click(() => {
location.reload();
})


+ 0
- 1
src/admin/templets/tpl_edit.htm View File

@@ -13,7 +13,6 @@
<script src="/static/web/js/mode/javascript/javascript.js"></script>
<script src="/static/web/js/mode/css/css.js"></script>
<script src="/static/web/js/mode/htmlmixed/htmlmixed.js"></script>
<style>.helpinfo{float:left;display:none;padding:10px;width:100%;background:#f5f5f5;border:1px solid #dee2e6;border-radius:0.5rem}</style>
</head>
<body>
<form method="POST" action="tpl.php" name=form1 onSubmit="return Post()">


+ 19
- 14
src/static/web/css/admin.css View File

@@ -2,8 +2,8 @@
::-webkit-scrollbar-track{background:#f5f5f5}
::-webkit-scrollbar-thumb{background:#dee2e6}
*{font-size:14px;scrollbar-width:thin}
body{margin:0;line-height:1.6;letter-spacing:0.5px;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#fff}
a{color:#545b62;text-decoration:none}
body{margin:0;line-height:1.6;letter-spacing:0.5px;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#6c757d;background:#fff}
a{color:#6c757d;text-decoration:none}
a:hover{color:#007bff;text-decoration:none}
img{margin-right:10px;max-width:100%;border-radius:0.5rem}
ul,ol,li{margin:0;padding:0}
@@ -15,15 +15,15 @@ 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}
td{word-break:break-all;word-wrap:break-word}
input{padding:0.375rem 0.75rem;height:30px;color:#545b62;background:#fff;border:1px solid #dee2e6;vertical-align:middle}
input{padding:0.375rem 0.75rem;height:30px;color:#6c757d;background:#fff;border:1px solid #dee2e6;vertical-align:middle}
input[type=file]{padding:0;height:auto;border:0;border-radius:0!important;vertical-align:middle}
input[type=button],input[type=submit],input[type=reset]{padding:0.375rem 0.75rem;height:30px;line-height:1.5;font-size:12px;color:#fff;background:#1eb867;border:0}
input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkbox]:focus{width:14px;height:14px;outline:none;box-shadow:none;vertical-align:middle}
select{padding:0.375rem 0.75rem;height:30px;color:#545b62;background:#fff;border:1px solid #dee2e6;vertical-align:middle}
input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkbox]:focus{width:14px;height:14px;outline:none;box-shadow:none;vertical-align:text-top}
select{padding:0.375rem 0.75rem;height:30px;color:#6c757d;background:#fff;border:1px solid #dee2e6;vertical-align:middle}
select[multiple=yes]{height:180px}
option{display:flex;padding:0;height:30px;align-items:center}
textarea{padding:0.375rem 0.75rem;color:#545b62;background:#fff;border:1px solid #dee2e6;vertical-align:middle}
input:focus,select:focus,textarea:focus{color:#495057;background:#fff;border-color:#80bdff;box-shadow:0 0 0 0.2rem rgba(0,123,255,.25);outline:0}
textarea{padding:0.375rem 0.75rem;color:#6c757d;background:#fff;border:1px solid #dee2e6;vertical-align:middle}
input:focus,select:focus,textarea:focus{color:#6c757d;background:#fff;border-color:#80bdff;box-shadow:0 0 0 0.2rem rgba(0,123,255,.25);outline:0}
.install-box{margin:0 auto;width:800px}
.install-box .card-header,.install-box .card-body{padding:1.25rem}
.install-box h2,.install-box legend{margin:0;line-height:1.2;font-size:18px;font-weight:600;color:#393d49}
@@ -47,7 +47,7 @@ body.menu-hide .body-right{left:0;transition:all 0.5s}
.menu-body{width:100%;background:#fff;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075)}
.item-menu .link{position:relative;padding-left:50px;display:block;height:42px;line-height:42px;cursor:pointer}
.item-menu li:last-child .link{border-bottom:0}
.item-menu li i{position:absolute;top:14px;left:20px;color:#545b62}
.item-menu li i{position:absolute;top:14px;left:20px;color:#6c757d}
.item-menu li i.fa-angle-down{right:20px;left:auto}
.item-menu li.open .link,.item-menu li.open i{color:#1eb867}
.item-menu li.open i.fa-angle-down{transform:rotate(180deg)}
@@ -61,7 +61,7 @@ body.menu-hide .body-right{left:0;transition:all 0.5s}
.admin-head .item ul li:first-child{padding-left:1rem}
.admin-head .item ul li a,.admin-head .admin ul li a{color:#fff}
.admin-head .item ul li a:hover,.admin-head .admin ul li a:hover{color:#dee2e6}
.admin-head .item .search{position:absolute;top:20px;right:5px;height:20px;line-height:20px;color:#545b62;background:0;border:0}
.admin-head .item .search{position:absolute;top:20px;right:5px;height:20px;line-height:20px;color:#6c757d;background:0;border:0}
.admin-head .admin{float:right;margin-right:30px;height:60px;line-height:60px}
.admin-head .admin img{width:30px;height:30px;border-radius:50%}
.admin-head .admin ul li{float:left;padding-left:30px;height:60px;line-height:60px}
@@ -85,7 +85,7 @@ body.menu-hide .body-right{left:0;transition:all 0.5s}
.colordlg{padding:0.5rem;background:#fff;border:1px solid #dee2e6;z-index:10005}
.wsselect{padding:0.5rem;background:#fff;overflow:auto}
.pubdlg{background:#fff;border:1px solid #dee2e6;z-index:8888}
.pubdlg .title{padding:0 0.5rem;height:30px;line-height:30px;color:#545b62;background:#f5f5f5;border-bottom:1px solid #dee2e6}
.pubdlg .title{padding:0 0.5rem;height:30px;line-height:30px;color:#6c757d;background:#f5f5f5;border-bottom:1px solid #dee2e6}
.fullpagediv{position:absolute;top:0;left:0;width:100%;height:100%;background:#f5f5f5;opacity:0.6;z-index:1999}
.quicksel{margin-left:10px;margin-top:10px;width:680px;height:420px;overflow:auto;z-index:10005}
.quickselfoot{padding:0.5rem;background:#f5f5f5;border-top:1px solid #dee2e6}
@@ -94,6 +94,12 @@ body.menu-hide .body-right{left:0;transition:all 0.5s}
.quickselitem .soncat{margin-bottom:1rem;padding:0 10px}
.quickselitem .item{display:inline-block;padding-left:10px}
.mysource,.mywriter{width:300px;background:#fff;border:1px solid #dee2e6;z-index:10001}
.column .admin-td{border-bottom:1px solid #dee2e6!important}
.add-tab ul li{float:left;width:60px;line-height:30px;cursor:pointer}
.add-tab ul .active{color:#007bff}
.nw{float:left;width:160px}
.cls{clear:both}
.helpinfo{float:left;display:none;padding:10px;width:100%;background:#f5f5f5;border:1px solid #dee2e6;border-radius:0.5rem}
#toolimg{position:absolute;display:none}
#uploadfield{float:left}
#uploadwait{z-index:19999}
@@ -105,7 +111,7 @@ body.menu-hide .body-right{left:0;transition:all 0.5s}
.tips-box{margin:70px auto 0;width:500px;height:auto;background:#fff;border-radius:0.5rem;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075)}
.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}
.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #ff8400}
.tips-body{padding:20px;min-height:160px;color:#545b62;word-break:break-all;word-wrap:break-word}
.tips-body{padding:20px;min-height:160px;color:#6c757d;word-break:break-all;word-wrap:break-word}
.user-img-sm{width:30px;height:30px;border-radius:50%;border:1px solid #eee}
.thumbnail-md{max-width:200px;max-height:120px}
.thumbnail-sm{max-width:80px;max-height:80px}
@@ -118,13 +124,12 @@ body.menu-hide .body-right{left:0;transition:all 0.5s}
.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}
.maintable{width:98%!important;border:1px solid #dee2e6!important}
.table{margin-bottom:0;color:#545b62}
.table{margin-bottom:0;color:#6c757d}
.table td,.table th{padding:0.5rem;vertical-align:middle}
.form-control{display:inline-block}
.fa{font-size:14px!important;color:inherit}
.admin-win{background:#f5f5f5;border:1px solid #dee2e6!important}
.admin-win-iframe{width:100%;height:360px}
.admin-border{border:1px solid #dee2e6!important}
.admin-main-sort{margin-left:1rem;padding:0;width:30px;text-align:center}
.admin-td{padding:0.5rem;border-bottom:1px solid #dee2e6}
.admin-textarea-xl{width:100%;height:90px}
@@ -141,7 +146,7 @@ table,input,select,textarea,.login-box,.menu-body,.coolbg,.mysource,.mywriter,.p
.page-item:last-child .page-link{border-top-right-radius:0.5rem!important;border-bottom-right-radius:0.5rem!important}
.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label,.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label::after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-top-right-radius:0!important;border-bottom-right-radius:0!important}
.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0!important;border-bottom-left-radius:0!important}
.btn-sm{padding:0.375rem 0.55rem;height:30px;line-height:1.5;font-size:12px}
.btn-sm{padding:0.375rem 0.6rem;height:30px;line-height:1.5;font-size:12px}
.btn-xs{padding:0.22rem;height:20px;line-height:1;font-size:12px;border-radius:0.35rem!important}
.btn+.btn{margin-left:10px}
.btn-version{float:left;margin-top:18px;margin-left:5px}


+ 4
- 4
src/static/web/css/style.css View File

@@ -2,8 +2,8 @@
::-webkit-scrollbar-track{background:#f5f5f5}
::-webkit-scrollbar-thumb{background:#dee2e6}
*{scrollbar-width:thin}
body{margin:0;line-height:1.6;letter-spacing:0.5px;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#fff}
a{color:#545b62;text-decoration:none}
body{margin:0;line-height:1.6;letter-spacing:0.5px;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#6c757d;background:#fff}
a{color:#6c757d;text-decoration:none}
a:hover{color:#007bff;text-decoration:none}
img{max-width:100%;border-radius:0.5rem}
ul,ol,li{margin:0;padding:0;list-style:none}
@@ -78,14 +78,14 @@ input[type=file]{padding:0;height:auto;border:0}
.user-img-sm{width:36px;height:36px;border-radius:50%;border:1px solid #eee}
.user-img-xs{width:30px;height:30px;border-radius:50%;border:1px solid #eee}
.user-meter i{font-size:24px!important;color:#1eb867}
.userspace .info{font-size:14px;font-weight:300;color:#545b62}
.userspace .info{font-size:14px;font-weight:300;color:#6c757d}
.nav-link{padding:0 10px;height:36px;line-height:36px}
.navbar-dark .navbar-nav .nav-link{color:#eee}
.list-group-item.active a{color:#fff}
.list-group-flush>.list-group-item{cursor:pointer}
.pannel-main-container{padding:1.5rem;background:#fff}
.input-group-append .btn-sm{line-height:1.8}
.table{color:#545b62}
.table{color:#6c757d}
.table td,.table th{padding:0.5rem;vertical-align:middle}
.form-control{display:inline-block;height:36px}
.form-control,.fa{font-size:14px!important;color:inherit}


Loading…
Cancel
Save