Browse Source

样式优化

tags/6.1.7
xushubieli 2 years ago
parent
commit
2f738e47f2
6 changed files with 5 additions and 1049 deletions
  1. +1
    -318
      src/admin/css/frame.css
  2. +1
    -141
      src/admin/css/indexbody.css
  3. +1
    -52
      src/admin/css/menuold.css
  4. +0
    -6
      src/install/v57sp2_to_v6.txt
  5. +1
    -496
      src/static/web/css/admin.css
  6. +1
    -36
      src/static/web/css/index.css

+ 1
- 318
src/admin/css/frame.css View File

@@ -1,318 +1 @@
* {
margin:0;
padding:0;
letter-spacing:.4px;
box-sizing:border-box
}
body {
line-height:1.5;
font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
color:#424b51;
background:#fff;
overflow:hidden
}
body.hidemenu {
background:none
}
a {
text-decoration:none
}
ul {
list-style:none
}
input[type="text"],input[type="password"] {
padding:2px 4px;
width:140px;
height:18px;
line-height:18px;
font-size:12px;
border-width:1px;
border-style:solid;
border-color:#fff;
background:#fff;
vertical-align:middle
}
input[type="text"]:focus,input[type="password"]:focus {
box-shadow:none;
outline:none
}
.head {
width:100%;
height:76px;
overflow:hidden;
z-index:8;
position:relative
}
.top {
height:46px;
width:100%;
background:linear-gradient(45deg,#008e38,#57960f 50%);
overflow:hidden;
clear:both
}
.top .top_logo {
float:left;
margin-left:30px;
height:46px;
line-height:46px
}
.top .top_logo a {
font-size:18px;
font-weight:600;
color:#fff
}
.top .top_version {
display:inline-block;
margin-top:12px;
margin-left:10px;
color:#fff
}
.top .top_link {
float:right;
margin-right:30px
}
.top .top_link ul {
float:left;
line-height:46px;
overflow:hidden
}
.top .top_link ul li.welcome img {
margin-top:-2px;
margin-right:10px;
width:30px;
height:30px;
border-radius:50%;
vertical-align:middle
}
.top .top_link ul li {
float:left;
color:#fff
}
.top .top_link ul li a {
color:#fff;
padding-left:20px
}
.top .top_link ul li a:hover {
color:#ccc
}
.topnav {
width:100%;
height:30px;
line-height:30px;
background:#393d49;
overflow:hidden;
clear:both
}
.topnav .menuact {
width:168px;
float:left;
padding-left:30px;
overflow:hidden
}
.topnav .menuact a {
padding-right:10px;
color:#eee;
overflow:hidden
}
.topnav .menuact a:hover {
color:#fff
}
.sysmsg {
padding-right:30px;
float:right;
width:500px;
color:#999;
overflow:hidden
}
.scroll {
float:right;
overflow:hidden
}
.scroll ul li,.sysmsg ul li a {
color:#bbb
}
.scroll a {
padding-left:10px;
color:#fff
}
body.showmenu .left {
display:block
}
body.hidemenu .left {
display:none
}
body.showmenu .right {
left:220px
}
body.hidemenu .right {
left:0
}
.left {
position:absolute;
top:76px;
width:220px;
left:0;
bottom:0;
z-index:7
}
.menu {
height:100%
}
.menu iframe {
height:100%;
width:99.99%;
z-index:20
}
.right {
position:absolute;
right:0;
top:76px;
bottom:0;
z-index:7
}
.main {
height:100%
}
.main iframe {
width:99.99%;
height:100%;
z-index:20
}
.qucikmenu {
position:absolute;
right:10px;
top:32px;
z-index:9;
display:none
}
.qucikmenu ul {
width:110px;
list-style:none;
border:1px solid #E7E7E7;
background:#fff
}
.qucikmenu ul li {
display:block;
text-align:left
}
.qucikmenu ul li a {
display:block;
padding:0 10px;
height:30px;
line-height:30px;
color:#666
}
.qucikmenu ul li a:hover {
background:#f6f6f6
}
.pagemask {
position:absolute;
display:none;
width:100%;
height:100%;
background:#424b51;
opacity:.7;
z-index:100
}
.iframemask {
position:absolute;
display:none;
z-index:80;
top:0;
left:0;
width:100%;
height:100%;
background:#fff;
border:none;
opacity:0
}
.allmenu {
position:absolute;
display:none;
margin-left:-400px;
padding:10px;
width:800px;
top:76px;
left:50%;
background:#fff;
border-radius:.2rem;
z-index:999
}
.allmenu .allmenu-box {
margin:0 auto;
text-align:left;
overflow:hidden;
padding-left:2px
}
.maptop {
margin-left:-1px;
padding-right:6px;
padding-left:6px;
float:left;
width:130px;
overflow:hidden
}
.maptop dt.bigitem {
padding:6px 10px;
line-height:18px;
color:#fff;
background:#424b51
}
.mapitem dt {
line-height:30px;
text-indent:10px;
background:#EFF1F1
}
.mapitem ul {
margin-top:10px;
margin-bottom:10px
}
.mapitem ul li {
text-indent:20px;
line-height:24px;
background:url(../../static/web/img/arrr.gif)0 8px no-repeat
}
.allmenu a {
color:#5C604F
}
.allmenu a:hover {
color:#F63
}
#login .theme {
padding:10px;
margin-top:20px;
width:70%;
clear:both
}
#login .theme li {
margin-bottom:15px;
margin-top:5px;
overflow:hidden
}
#login .theme span {
display:inline-block;
float:left;
width:150px;
height:22px;
line-height:22px;
color:#424b51;
text-align:right
}
.allsearch {
float:left;
margin-top:6px;
border:1px solid #fff;
border-radius:.2rem
}
.np {
margin-top:6px;
margin-left:10px;
width:40px;
height:18px;
font-size:12px;
color:#fff;
background:#57960f;
border-radius:.2rem;
border:0;
cursor:pointer
}
*{margin:0;padding:0;letter-spacing:.4px;box-sizing:border-box}body{line-height:1.5;font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;overflow:hidden}body.hidemenu{background:none}a{text-decoration:none}ul{list-style:none}input[type="text"],input[type="password"]{padding:2px 4px;width:140px;height:18px;line-height:18px;font-size:12px;border-width:1px;border-style:solid;border-color:#fff;background:#fff;vertical-align:middle}input[type="text"]:focus,input[type="password"]:focus{box-shadow:none;outline:none}.head{width:100%;height:76px;overflow:hidden;z-index:8;position:relative}.top{height:46px;width:100%;background:linear-gradient(45deg,#008e38,#57960f 50%);overflow:hidden;clear:both}.top .top_logo{float:left;margin-left:30px;height:46px;line-height:46px}.top .top_logo a{font-size:18px;font-weight:600;color:#fff}.top .top_version{display:inline-block;margin-top:12px;margin-left:10px;color:#fff}.top .top_link{float:right;margin-right:30px}.top .top_link ul{float:left;line-height:46px;overflow:hidden}.top .top_link ul li.welcome img{margin-top:-2px;margin-right:10px;width:30px;height:30px;border-radius:50%;vertical-align:middle}.top .top_link ul li{float:left;color:#fff}.top .top_link ul li a{color:#fff;padding-left:20px}.top .top_link ul li a:hover{color:#ccc}.topnav{width:100%;height:30px;line-height:30px;background:#393d49;overflow:hidden;clear:both}.topnav .menuact{width:168px;float:left;padding-left:30px;overflow:hidden}.topnav .menuact a{padding-right:10px;color:#eee;overflow:hidden}.topnav .menuact a:hover{color:#fff}.sysmsg{padding-right:30px;float:right;width:500px;color:#999;overflow:hidden}.scroll{float:right;overflow:hidden}.scroll ul li,.sysmsg ul li a{color:#bbb}.scroll a{padding-left:10px;color:#fff}body.showmenu .left{display:block}body.hidemenu .left{display:none}body.showmenu .right{left:220px}body.hidemenu .right{left:0}.left{position:absolute;top:76px;width:220px;left:0;bottom:0;z-index:7}.menu{height:100%}.menu iframe{height:100%;width:99.99%;z-index:20}.right{position:absolute;right:0;top:76px;bottom:0;z-index:7}.main{height:100%}.main iframe{width:99.99%;height:100%;z-index:20}.qucikmenu{position:absolute;right:10px;top:32px;z-index:9;display:none}.qucikmenu ul{width:110px;list-style:none;border:1px solid #E7E7E7;background:#fff}.qucikmenu ul li{display:block;text-align:left}.qucikmenu ul li a{display:block;padding:0 10px;height:30px;line-height:30px;color:#666}.qucikmenu ul li a:hover{background:#f6f6f6}.pagemask{position:absolute;display:none;width:100%;height:100%;background:#424b51;opacity:.7;z-index:100}.iframemask{position:absolute;display:none;z-index:80;top:0;left:0;width:100%;height:100%;background:#fff;border:none;opacity:0}.allmenu{position:absolute;display:none;margin-left:-400px;padding:10px;width:800px;top:76px;left:50%;background:#fff;border-radius:.2rem;z-index:999}.allmenu .allmenu-box{margin:0 auto;text-align:left;overflow:hidden;padding-left:2px}.maptop{margin-left:-1px;padding-right:6px;padding-left:6px;float:left;width:130px;overflow:hidden}.maptop dt.bigitem{padding:6px 10px;line-height:18px;color:#fff;background:#424b51}.mapitem dt{line-height:30px;text-indent:10px;background:#EFF1F1}.mapitem ul{margin-top:10px;margin-bottom:10px}.mapitem ul li{text-indent:20px;line-height:24px;background:url(../../static/web/img/arrr.gif)0 8px no-repeat}.allmenu a{color:#5C604F}.allmenu a:hover{color:#F63}#login .theme{padding:10px;margin-top:20px;width:70%;clear:both}#login .theme li{margin-bottom:15px;margin-top:5px;overflow:hidden}#login .theme span{display:inline-block;float:left;width:150px;height:22px;line-height:22px;color:#424b51;text-align:right}.allsearch{float:left;margin-top:6px;border:1px solid #fff;border-radius:.2rem}.np{margin-top:6px;margin-left:10px;width:40px;height:18px;font-size:12px;color:#fff;background:#57960f;border-radius:.2rem;border:0;cursor:pointer}

+ 1
- 141
src/admin/css/indexbody.css View File

@@ -1,141 +1 @@
.title {
color:#28a745
}
.title span {
padding-left:6px
}
#addTab {
position:absolute;
left:460px;
top:260px;
min-width:360px;
height:200px;
z-index:2;
background:#fff;
border:1px solid #ccc;
padding:0;
display:none;
border-radius:.2rem
}
#editTab {
position:absolute;
left:460px;
top:260px;
min-width:360px;
height:300px;
z-index:1;
background:#fff;
border:1px solid #ccc;
padding:0;
display:none;
border-radius:.2rem
}
.txt {
float:left
}
.updatedvt {
width:98%;
border-bottom:1px dashed #dcdcdc
}
.upinfotitle {
border-bottom:1px solid #ccc;
color:#dc3545;
font-weight:bold
}
.verline {
border-bottom:1px dashed #ccc
}
.itemTable {
background:#CBD8AC
}
#loaddiv {
top:0;
left:0;
background:#ccc;
filter:Alpha(opacity=70);
-moz-opacity:0.7;
position:absolute;
z-index:10000;
width:100%;
height:100%
}
#mainmsg {
padding-right:8px
}
.rightside {
width:49%;
float:left;
margin-right:1%;
height:670px
}
.column {
width:49%;
float:left;
margin-right:0.5%
}
.placeholder {
width:98%;
margin-left:1%;
background:#f0f0f0;
border:1px dashed #ddd
}
.dbox {
border:1px solid #DEEAB6;
width:98%;
margin-left:1%;
margin-top:8px
}
.dbox dt {
height:28px;
line-height:28px;
font-weight:bold;
color:#4D6C2F;
cursor:move
}
.dbox dt .l {
float:left;
padding-left:8px
}
.dbox dt .r {
float:right;
padding-right:8px
}
.dbox dt.lside {
border-bottom:1px solid #CFD7C4;
background:rgb(239,248,229)
}
.dbox dt.rside {
border-bottom:1px solid #DEEAB6;
background:url(../../static/web/img/wbg.gif)repeat-x
}
.dbox dd {
padding:0
}
.dbox dd.intable {
padding-top:0
}
#updatetest {
padding:6px;
padding-left:110px;
background:url(../../images/ico_spider.gif)no-repeat scroll 10px 15px transparent
}
.dboxtable td.nline {
height:26px;
border-bottom:1px dashed #CFD7C4
}
.dboxtable1 ul li {
float:left;
display:inline;
width:48%;
height:26px;
line-height:26px;
border-bottom:1px dashed #CFD7C4;
text-align:center
}
.biz p {
padding:0 15px
}
.biz img {
float:right;
margin:40px 15px 0 15px
}
.title{color:#28a745}.title span{padding-left:6px}#addTab{position:absolute;left:460px;top:260px;min-width:360px;height:200px;z-index:2;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}#editTab{position:absolute;left:460px;top:260px;min-width:360px;height:300px;z-index:1;background:#fff;border:1px solid #ccc;padding:0;display:none;border-radius:.2rem}.txt{float:left}.updatedvt{width:98%;border-bottom:1px dashed #dcdcdc}.upinfotitle{border-bottom:1px solid #ccc;color:#dc3545;font-weight:bold}.verline{border-bottom:1px dashed #ccc}.itemTable{background:#CBD8AC}#loaddiv{top:0;left:0;background:#ccc;filter:Alpha(opacity=70);-moz-opacity:0.7;position:absolute;z-index:10000;width:100%;height:100%}#mainmsg{padding-right:8px}.rightside{width:49%;float:left;margin-right:1%;height:670px}.column{width:49%;float:left;margin-right:0.5%}.placeholder{width:98%;margin-left:1%;background:#f0f0f0;border:1px dashed #ddd}.dbox{border:1px solid #DEEAB6;width:98%;margin-left:1%;margin-top:8px}.dbox dt{height:28px;line-height:28px;font-weight:bold;color:#4D6C2F;cursor:move}.dbox dt .l{float:left;padding-left:8px}.dbox dt .r{float:right;padding-right:8px}.dbox dt.lside{border-bottom:1px solid #CFD7C4;background:rgb(239,248,229)}.dbox dt.rside{border-bottom:1px solid #DEEAB6;background:url(../../static/web/img/wbg.gif)repeat-x}.dbox dd{padding:0}.dbox dd.intable{padding-top:0}#updatetest{padding:6px;padding-left:110px;background:url(../../images/ico_spider.gif)no-repeat scroll 10px 15px transparent}.dboxtable td.nline{height:26px;border-bottom:1px dashed #CFD7C4}.dboxtable1 ul li{float:left;display:inline;width:48%;height:26px;line-height:26px;border-bottom:1px dashed #CFD7C4;text-align:center}.biz p{padding:0 15px}.biz img{float:right;margin:40px 15px 0 15px}

+ 1
- 52
src/admin/css/menuold.css View File

@@ -1,52 +1 @@
div {
margin:0;
padding:0
}
body {
margin:auto;
padding:0;
background:#9ad075;
text-align:center
}
dl.bitem {
width:148px;
margin:0 0px 6px 6px
}
dl.bitem dt {
background:url(../../static/web/img/menubg.gif);
height:26px;
line-height:26px;
text-align:center;
cursor:pointer
}
dl.bitem dd {
padding:6px;
background-color:#fff
}
.fllct {
float:left;
width:90px
}
.flrct {
padding-top:2px;
float:left
}
div.items {
line-height:22px;
background:url(../../static/web/img/arr4.gif) no-repeat 10px 9px
}
span.items {
padding:10px 0px 10px 22px;
background:url(../../static/web/img/arr4.gif) no-repeat 10px 12px
}
ul {
padding-top:2px
}
li {
height:22px
}
.sitemu li {
padding:0 0px 0px 22px;
line-height:24px;
background:url(../../static/web/img/arr4.gif) no-repeat 10px 9px
}
div{margin:0;padding:0}body{margin:auto;padding:0;background:#9ad075;text-align:center}dl.bitem{width:148px;margin:0 0 6px 6px}dl.bitem dt{background:url(../../static/web/img/menubg.gif);height:26px;line-height:26px;text-align:center;cursor:pointer}dl.bitem dd{padding:6px;background-color:#fff}.fllct{float:left;width:90px}.flrct{padding-top:2px;float:left}div.items{line-height:22px;background:url(../../static/web/img/arr4.gif) no-repeat 10px 9px}span.items{padding:10px 0 10px 22px;background:url(../../static/web/img/arr4.gif) no-repeat 10px 12px}ul{padding-top:2px}li{height:22px}.sitemu li{padding:0 0 0 22px;line-height:24px;background:url(../../static/web/img/arr4.gif) no-repeat 10px 9px}

+ 0
- 6
src/install/v57sp2_to_v6.txt View File

@@ -21,14 +21,11 @@ ALTER TABLE `#@__arctype`
ADD COLUMN `litimg` varchar(255) NULL AFTER `litpic`;

-- 6.0.3

ALTER TABLE `#@__tagindex`
ADD COLUMN `uptime` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `addtime`,
ADD COLUMN `mktime` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `uptime`;

ALTER TABLE `#@__feedback`
ADD COLUMN `fid` INT UNSIGNED NOT NULL DEFAULT 0 AFTER `aid`;

ALTER TABLE `#@__feedback`
ADD COLUMN `replycount` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `dtime`;

@@ -55,9 +52,6 @@ CREATE TABLE `#@__search_limits` (

-- 6.0.2
ALTER TABLE `#@__tagindex` ADD COLUMN `keywords` VARCHAR(255) NULL DEFAULT NULL AFTER `tag`;

ALTER TABLE `#@__tagindex` ADD COLUMN `description` VARCHAR(255) NULL DEFAULT NULL AFTER `keywords`;

ALTER TABLE `#@__tagindex` ADD COLUMN `title` VARCHAR(255) NULL DEFAULT NULL AFTER `description`;

ALTER TABLE `#@__tagindex` ADD COLUMN `tag_pinyin` VARCHAR(255) NULL DEFAULT NULL AFTER `title`;

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


+ 1
- 36
src/static/web/css/index.css View File

@@ -1,36 +1 @@
.hot-news {
overflow-x: hidden;
overflow-y: scroll;
height: 370px;
-webkit-overflow-scrolling: touch;
overflow: -moz-scrollbars-none;
}

.hot-news::-webkit-scrollbar {
display: none;
}

.hot-news li {
overflow: unset!important;
}

.quick img {
width: 100%;
}

.spec .card {
text-align: center;
}

.spec .card img {
max-width: 200px;
margin: 0 auto;
}

.spec .card-body {
padding: .25em;
}

.carousel-item img {
width: 100% !important;
}
.hot-news{overflow-x:hidden;overflow-y:scroll;height:370px;-webkit-overflow-scrolling:touch;overflow:-moz-scrollbars-none}.hot-news::-webkit-scrollbar{display:none}.hot-news li{overflow:unset!important}.quick img{width:100%}.spec .card{text-align:center}.spec .card img{max-width:200px;margin:0 auto}.spec .card-body{padding:.25em}.carousel-item img{width:100% !important}

Loading…
Cancel
Save