Browse Source

前台圆角

tags/6.2.6
叙述、别离 1 year ago
parent
commit
9ea4d31779
7 changed files with 44 additions and 16 deletions
  1. +1
    -1
      src/admin/templets/login.htm
  2. +2
    -2
      src/install/install.html
  3. +1
    -1
      src/static/web/css/admin.css
  4. +1
    -1
      src/static/web/css/bootstrap.min.css
  5. +37
    -9
      src/static/web/css/style.css
  6. +1
    -1
      src/theme/dedebiz/foot.htm
  7. +1
    -1
      src/theme/dedebiz/top.htm

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

@@ -19,7 +19,7 @@
<a onclick="document.getElementById('browsehappy').style.display='none';" class="browsehappy-close">×</a>
</div>
<?php }?>
<div class="d-flex flex-md-row align-items-center shadow-sm rounded admin-head mb-5">
<div class="d-flex flex-md-row align-items-center shadow-sm admin-head mb-5">
<div class="container">
<div class="row">
<div class="col-6 col-md-4 text-left"><img src="../static/web/img/logo.png" title="<?php echo $cfg_soft_enname;?>" class="logo"></div>


+ 2
- 2
src/install/install.html View File

@@ -11,10 +11,10 @@
<script src="../static/web/js/popper.min.js"></script>
<script src="../static/web/js/bootstrap.min.js"></script>
<script src="../static/web/js/style.js"></script>
<style>body{line-height:1.6;letter-spacing:.6px;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#545b62}h2,legend{line-height:1.6;font-size:18px;font-weight:600;color:#393d49}label{margin-bottom:10px;line-height:18px}input,select,.btn{font-size:14px!important}.install-box{margin:0 auto;width:860px}.admin-head{padding:1rem 0;background:#fff}.logo{height:36px}.admin-nav{height:36px;line-height:36px}.admin-nav-a{padding-right:30px}.admin-btn{color:#545b62}.dropdown-menu{min-width:8rem;font-size:14px}.dropdown-item{padding:0 1rem;height:36px;line-height:36px;font-size:14px;color:#545b62!important}.fa{font-size:14px!important;color:inherit;cursor:pointer}@media (max-width:760px){.install-box{width:100%}.admin-head{padding:1rem 15px}.admin-nav-a{display:none!important}}</style>
<style>body{line-height:1.6;letter-spacing:.6px;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#545b62}h2,legend{line-height:1.6;font-size:18px;font-weight:600;color:#393d49}label{margin-bottom:10px;line-height:18px}input,select,.btn{font-size:14px!important}.install-box{margin:0 auto;width:860px}.admin-head{padding:1rem 0;background:#fff}.logo{height:36px}.admin-nav{height:36px;line-height:36px}.admin-nav-a{padding-right:30px}.admin-btn{color:#545b62}.dropdown-menu{min-width:8rem;font-size:14px}.dropdown-item{padding:0 1rem;height:36px;line-height:36px;font-size:14px;color:#545b62!important}.fa{font-size:14px!important;color:inherit;cursor:pointer}.form-control,.btn,.card,.alert,.rounded{border-radius:.5rem!important}.card-header:first-child{border-radius:.5rem .5rem 0 0}.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}@media (max-width:760px){.install-box{width:100%}.admin-head{padding:1rem 15px}.admin-nav-a{display:none!important}}</style>
</head>
<body>
<div class="d-flex flex-md-row align-items-center shadow-sm rounded admin-head mb-5">
<div class="d-flex flex-md-row align-items-center shadow-sm admin-head mb-5">
<div class="container">
<div class="row">
<div class="col-6 col-md-4 text-left"><img src="../static/web/img/logo.png" title="<?php echo $cfg_soft_enname;?>" class="logo"></div>


+ 1
- 1
src/static/web/css/admin.css View File

@@ -609,7 +609,7 @@ span.page-link {
direction:ltr;
cursor:pointer
}
table,input,select,textarea,.search,.menu,.coolbg,.mysource,.mywriter,.pubdlg,.quickselItem .topcat,.web-info,.cke_chrome,.cke_inner,.pagination,.pagination,.card,.form-control,.btn,.alert,.rounded {
table,input,select,textarea,.search,.menu,.coolbg,.mysource,.mywriter,.pubdlg,.quickselItem .topcat,.web-info,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded {
border-radius:.5rem!important
}
.btn-xs {


+ 1
- 1
src/static/web/css/bootstrap.min.css
File diff suppressed because it is too large
View File


+ 37
- 9
src/static/web/css/style.css View File

@@ -4,11 +4,11 @@
}
::-webkit-scrollbar-track {
background:#f5f5f5;
border-radius:.2rem
border-radius:.5rem
}
::-webkit-scrollbar-thumb {
background:#dee2e6;
border-radius:.2rem
border-radius:.5rem
}
body {
line-height:1.6;
@@ -25,7 +25,7 @@ a:hover {
}
img {
max-width:100%;
border-radius:.25rem
border-radius:.5rem
}
ul,ol,li {
margin:0;
@@ -93,7 +93,7 @@ input[type=file] {
.item-theme-img img {
width:100%;
height:250px;
border-radius:.2rem .2rem 0 0
border-radius:.5rem .5rem 0 0
}
.item-theme p,.item-news p {
margin-bottom:0;
@@ -129,10 +129,10 @@ input[type=file] {
.list-article-img img {
width:100%;
height:260px;
border-radius:.2rem .2rem 0 0
border-radius:.5rem .5rem 0 0
}
.list-article-body {
border-radius:0 0 .2rem .2rem
border-radius:0 0 .5rem .5rem
}
.list-article-body h2 {
font-size:18px;
@@ -181,7 +181,7 @@ input[type=file] {
}
.article-hot-img img {
width:100%;
border-radius:.2rem .2rem 0 0
border-radius:.5rem .5rem 0 0
}
.article-hot-box {
padding:1rem 1.5rem;
@@ -303,7 +303,7 @@ input[type=file] {
background:#fff
}
#validateimg {
border-radius:0 .2rem .2rem 0
border-radius:0 .5rem .5rem 0
}
.user-login {
line-height:40px
@@ -403,6 +403,34 @@ input[type=file] {
.admin-input-xs {
width:60px
}
.navbar-toggler,.dropdown-menu,.breadcrumb,.cke_chrome,.cke_inner,.pagination,.form-control,.alert,.rounded {
border-radius:.5rem!important
}
.btn-xs {
border-radius:.35rem!important
}
.cke_top {
border-radius:.5rem .5rem 0 0
}
.cke_bottom {
border-radius:0 0 .5rem .5rem
}
.page-item:first-child .page-link {
border-top-left-radius:.5rem;
border-bottom-left-radius:.5rem
}
.page-item:last-child .page-link {
border-top-right-radius:.5rem;
border-bottom-right-radius:.5rem
}
.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
}
#btnScrollTop {
display:none;
position:fixed;
@@ -413,7 +441,7 @@ input[type=file] {
color:#fff;
cursor:pointer;
background:#ec982c;
border-radius:.25rem;
border-radius:.5rem;
border:0;
z-index:9998
}


+ 1
- 1
src/theme/dedebiz/foot.htm View File

@@ -1,4 +1,4 @@
<footer class="copyright shadow-sm rounded mt-3">
<footer class="copyright shadow-sm mt-3">
<div class="container text-center">
<p>{dede:global.cfg_powerby/} Powered by <a href="https://www.dedebiz.com" target="_blank">DedeBIZ开发团队</a></p>
<p class="mb-0">友情连接:{dede:flink row='20'/}</p>


+ 1
- 1
src/theme/dedebiz/top.htm View File

@@ -1,4 +1,4 @@
<div class="site-nav bg-white shadow-sm rounded mb-3 py-3">
<div class="site-nav bg-white shadow-sm mb-3 py-3">
<div class="container">
<div class="row">
<div class="col-4 col-md-6 logo"><a href="/"><img src="/static/web/img/logo.png" alt="{dede:global.cfg_webname/}"></a></div>


Loading…
Cancel
Save