From df773cb33c702ff22d29a2c55f8bf571ab81d61a Mon Sep 17 00:00:00 2001 From: xushubieli Date: Wed, 15 Dec 2021 18:12:38 +0800 Subject: [PATCH 01/12] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=90=8E=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dede/css/base.css | 103 ++++- src/dede/css/frame.css | 535 ++++--------------------- src/dede/templets/content_list.htm | 40 +- src/dede/templets/index2.htm | 274 ++++++------- src/dede/templets/index_body.htm | 267 +++++------- src/dede/templets/login.htm | 61 ++- src/dede/templets/templets_default.htm | 90 ++--- 7 files changed, 460 insertions(+), 910 deletions(-) diff --git a/src/dede/css/base.css b/src/dede/css/base.css index 3e9bab90..5b06a745 100644 --- a/src/dede/css/base.css +++ b/src/dede/css/base.css @@ -1,8 +1,95 @@ -/** - * @version $Id: autoload7.inc.php 1 17:44 2021-11-05 xushubieli $ - * @package DedeBIZ.Libraries - * @copyright Copyright (c) 2021, DedeBIZ.COM - * @license https://www.dedebiz.com/license - * @link https://www.dedebiz.com - */ -*{font-size:12px;letter-spacing:0.6px}body{font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;line-height:1.5}form,h1,h2,h3,ul,ol,div{margin:0;padding:0}td{line-height:1.5}td,th,div{word-break:break-all;word-wrap:break-word}b,strong{font-weight:400}li,dd{margin:0;padding:0;list-style:none}input[type=button],input[type=submit],input[type=reset]{display:inline-block;padding:0 8px;line-height:24px;font-size:12px;color:#fff!important;background:#28a745!important;border:none;cursor:pointer;text-align:center;border-radius:2px;-webkit-appearance:none}input,input[type=text],input[type=password]{padding:2px 6px;height:24px!important;line-height:24px!important;color:#424b51;border:1px solid #eee}input[type=checkbox],input[type=radio]{vertical-align:middle}textarea{padding:2px 6px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;border:1px solid #eee;border-radius:2px;vertical-align:bottom}select{padding:4px;border:1px solid #eee;border-radius:2px;color:#424b51}input[type=text]:focus,input[type=password]:focus,textarea:focus,select:focus{border:1px solid #d2d2d2;outline:none}img{margin-right:8px}h1,h2,h3{font-size:18px;color:#424b51}a:link{color:#424b51;text-decoration:none}a:hover{opacity:0.8}a:visited{color:#666}.alltxt{padding:2px 6px;color:#424b51;border:1px solid #eee;vertical-align:bottom}.pubinputs{padding:2px 6px;width:250px;line-height:16px;border:1px solid #eee}.iptxt{padding:2px 6px;line-height:14px;border:1px solid #eee}.pubinput{padding-bottom:0;width:250px;height:24px}.pubinputl{padding-bottom:0;width:250px;height:24px}.np{border:none}.linerow{border-bottom:1px solid #acacac}.coolbg{display:inline-block;padding:0 8px;line-height:24px;color:#fff!important;background:#f2f2f2!important;border-radius:2px;text-align:center;cursor:pointer}.coolbg2{height:24px;background:#dfddd2;border:1px solid #424b51}.ll{background:#e6e6e6;border-right:2px solid #acacac;border-bottom:2px solid #acacac}.bline{background:#fff;border-bottom:1px solid #f6f6f6}#uploadfield{float:left}.bline2{border-bottom:1px solid #bcbcbc}.coolbt{background:#e4f7d7;border-left:1px solid #efefef;border-top:1px solid #efefef;border-right:1px solid #acacac;border-bottom:1px solid #acacac;cursor:pointer}.coolbt2{background:#f7fcda;border-left:1px solid #efefef;border-top:1px solid #efefef;border-right:1px solid #acacac;border-bottom:1px solid #acacac}.coolbg3{width:140px;height:24px;background:#dfddd2;border:1px solid #bdc5b4;text-align:right}.coolbg61{width:380px;line-height:26px;background:#e7f3b1;border-top:1px solid #bdc5b4;border-left:1px solid #bdc5b4;border-right:1px solid #bdc5b4;text-align:right}.coolbg62{padding:2px 6px;width:380px;height:300px;background:#f8fdf0;border:1px solid #bdc5b4}.coolbg4{padding:0 10px;height:28px;line-height:28px;background:#f9fcdc;background:url(../images/dlgtitle.gif) repeat-x;border-bottom:1px solid #c9cfc1;text-align:right}.coolbg5{height:6px;background:#f9fcdc;border-top:1px solid #bdc5b4}.wsselect{padding:10px;height:auto;background:#fcfef1;overflow:auto}.dlg{padding:2px 6px;width:360px;background:#f0faeb;border:2px solid #ccc}.pubdlg{background:#fff;border:2px solid #ccc;z-index:8888}.pubdlg .title{height:28px;line-height:28px;background:#f9fcdc;background:url(../images/dlgtitle.gif) repeat-x;border-bottom:1px solid #c9cfc1;text-align:left;cursor:move}.pubdlg .titLeft{float:left;padding-left:10px;line-height:28px;color:#424b51}.pubdlg .titRight{float:right;padding:0}.quicksel{margin:0 10px;width:680px;height:420px;overflow:auto;z-index:10005}.quickselfoot{padding-top:8px;border-top:1px dashed #c0cc9d}.quickselItem{margin-bottom:8px}.quickselItem .topcat{padding-left:10px;line-height:28px;background:#fbfeef;border-bottom:1px dashed #ccc;clear:both}.quickselItem .soncat{padding-left:10px}.quickselItem .item{margin-right:10px;float:left}.mysource,.mywriter{width:280px;background:#f0faeb;border:2px solid #ccc;z-index:10001}.dlgws div{max-width:100%}.dlgTesttitle{padding:2px 6px;width:300px;background:#f0faeb;border:2px solid #ccc}#_mysource{z-index:10003}#_mywriter{z-index:10004}#uploadwait{z-index:19999}.option1{background:#dceca6}.option2{background:#f7fbd2}.option3{background:#fff}.ininput{width:96%;height:24px;border:1px solid #fff}.nbt{padding:2px 6px;background-image:url(../images/allbtbg.gif);background:#fff;border:1px solid #a5af83}.tdt{padding-left:10px}.waitpage{position:absolute;top:0;left:0;background:url(../../images/loading1.gif) #ababab center no-repeat;z-index:10000}.divpre img{max-width:120px;max-height:80px}.divpre{overflow:hidden}.autoinput{padding-left:6px;width:90%}.bodytitle{margin:0 auto 10px;width:98%;height:32px;line-height:32px;background:#f2f2f2;border:1px solid #dee2e6;box-sizing:border-box}.bodytitle div{float:left}.bodytitletxt{padding-left:10px}.tbtitle td{padding:2px 6px}.tblist td{padding:2px 6px;background:#fff}.tblist td.tbsname{padding:2px 6px;background:#f9ffe6}.colordlg{padding:2px 6px;width:100px;border:2px dashed #28a745;background:#f0faeb;z-index:10005}option.alltype{padding-left:16px;height:24px;line-height:24px;background:url(../images/arr4.gif) 2px 4px no-repeat}option.btype{padding-left:16px;height:24px;line-height:24px;background:url(../images/arr4.gif) 2px 4px no-repeat}option.stype{padding-left:24px;height:24px;line-height:24px;background:url(../images/arrr.gif) 10px 4px no-repeat}.ilist{border-top:1px dashed #bcbcbc;border-bottom:1px dashed #bcbcbc;border-left:1px dashed #bcbcbc}.ilist td{border-right:1px dashed #bcbcbc}#typeid2{float:left;padding-left:10px;height:24px;background:url(../images/typeid2bg.gif) no-repeat;border:none}.litpic_span{margin-left:-60px;width:80px;height:24px;overflow:hidden;cursor:pointer}#litpic{margin-left:-20px;width:82px;height:24px;opacity:0;cursor:pointer}#starttime,#endtime,#pubdate{padding-left:24px;background:url(../images/calendar.gif) 4px no-repeat}#title{background:url(../images/ruler.gif) repeat-x 0 6px}.spec{width:60px}.gtab a{width:80px;text-align:center;display:block;float:left;height:26px;line-height:26px}.albCt img{cursor:pointer}.maintable{width:98%!important;border:1px solid #dee2e6}a.btn{color:#fff!important}span.page-link{background-color:#ddd}.btn-success{background-color:#28a745;border-color:#28a745}.table td,.table th{padding:6px 12px;color:#424b51} \ No newline at end of file +*{font-size:12px;letter-spacing:0.4px} +body{font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;line-height:1.5} +form,h1,h2,h3,ul,ol,div{margin:0;padding:0} +td{line-height:1.5} +td,th,div{word-break:break-all;word-wrap:break-word} +b,strong{font-weight:400} +li,dd{list-style-type:none;margin:0px;padding:0px} +select{height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out} +input[type="button"],input[type="submit"],input[type="reset"]{padding:2px;padding-right:6px;padding-left:6px;color:#fff;background-color:#28a745;border-radius:.2rem;border:none;cursor:pointer} +input[type="text"],input[type="password"]{font-size:1rem;font-weight:400;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;line-height:18px;vertical-align:middle} +input[type="text"]:focus,input[type="password"]:focus{border-color:#A5C760;color:#333;-moz-box-shadow:0 0 3px #A5C760;-webkit-box-shadow:0 0 3px #A5C760;box-shadow:0 0 3px #A5C760;outline:none} +input:disabled,input[readonly]{background-color:#e9ecef;opacity:1} +label{display:inline-block;margin:.5rem 0} +.alltxt{line-height:18px;padding:3px 3px 2px 3px;vertical-align:middle;border-width:1px;border-style:solid;border-color:#707070 #CECECE #CECECE #707070} +textarea{font-size:1rem;font-weight:400;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;padding:2px 4px;vertical-align:middle;line-height:16px;overflow:auto;resize:vertical} +textarea:focus{border-color:#A5C760;color:#333;-moz-box-shadow:0 0 3px #A5C760;-webkit-box-shadow:0 0 3px #A5C760;box-shadow:0 0 3px #A5C760} +img{margin-right:6px;vertical-align:baseline} +h1,h2,h3{font-size:18px;color:#424b51} +a:link{color:#424b51;text-decoration:none} +a:hover{opacity:0.8} +a:visited{color:#666} +.pubinputs{height:16px;line-height:16px;width:250px;padding:4px 0px 2px 0px;border-width:1px;border-style:solid;border-color:#999 #ddd #ddd #999} +.iptxt{height:14px;line-height:14px;padding:4px 3px 2px 3px;border-width:1px;border-style:solid;border-color:#999 #ddd #ddd #999} +.pubinput{height:24px;width:250px;padding-top:3px;padding-bottom:0px} +.pubinputl{height:24px;width:350px;padding-top:3px;padding-bottom:0px} +.np{border:none} +.linerow{border-bottom:1px solid #ACACAC} +.coolbg{padding:2px;padding-right:6px;padding-left:6px;border:none;border-right:1px solid #ccc;border-bottom:1px solid #ccc;background:#f2f2f2;cursor:pointer} +.coolbg2{border:1px solid #000000;background-color:#DFDDD2;height:18px} +.ll{border-right:2px solid #ACACAC;border-bottom:2px solid #ACACAC;background-color:#E6E6E6} +.bline{height:36px;background-color:#fff} +#uploadfield{float:left} +.bline2{border-bottom:1px solid #BCBCBC} +.coolbt{border-left:1px solid #EFEFEF;border-top:1px solid #EFEFEF;border-right:1px solid #ACACAC;border-bottom:1px solid #ACACAC;background-color:#E4F7D7;cursor:pointer} +.coolbt2{border-left:1px solid #EFEFEF;border-top:1px solid #EFEFEF;border-right:1px solid #ACACAC;border-bottom:1px solid #ACACAC;background-color:#F7FCDA} +.coolbg3{border:1px solid #BDC5B4;background-color:#DFDDD2;height:20px;width:140px;text-align:right} +.coolbg61{line-height:26px;width:380px;border-top:1px solid #BDC5B4;border-left:1px solid #BDC5B4;border-right:1px solid #BDC5B4;height:26px;text-align:right;background-color:#E7F3B1} +.coolbg62{border:1px solid #BDC5B4;background-color:#F8FDF0;height:300px;width:380px;padding:5px} +.coolbg4{border-bottom:1px solid #C9CFC1;background-color:#F9FCDC;background:url(../images/dlgtitle.gif) repeat-x;height:24px;line-height:24px;width:190px;text-align:right} +.coolbg5{border-top:1px solid #BDC5B4;background-color:#F9FCDC;font-size:1pt;height:6px;width:190px} +.wsselect{height:60px;line-height:24px overflow-y:auto;overflow:auto;background-color:#FCFEF1} +.dlg{border:2px solid #008E38;background-color:#F0FAEB;padding:2px;width:360px;line-height:160%} +.pubdlg{z-index:8888;border:4px solid #008E38;background-color:#fff} +.pubdlg .title{border-bottom:1px solid #C9CFC1;background-color:#F9FCDC;background:url(../images/dlgtitle.gif) repeat-x;height:28px;line-height:28px;text-align:left;cursor:move} +.pubdlg .titLeft{float:left;padding-left:8px;line-height:28px;font-weight:bold;color:#555} +.pubdlg .titRight{float:right;padding:0px} +.fullpagediv{z-index:1999;top:0;left:0;background:#cdcdcd;filter:Alpha(opacity=50);-moz-opacity:.5;opacity:0.5;position:absolute;width:100%;height:120%} +.quicksel{z-index:10005;width:680px;height:420px;margin-left:5px;margin-top:5px;overflow:auto} +.quickselfoot{padding-top:8px;border-top:1px dashed #C0CC9D} +.quickselItem{margin-bottom:8px} +.quickselItem .topcat{font-weight:bold;clear:both;line-height:24px;border-bottom:1px dashed #ccc;background:#FBFEEF;padding-left:6px} +.quickselItem .soncat{padding-left:10px} +.quickselItem .item{float:left;margin-right:8px} +.mysource,.mywriter{z-index:10001;border:4px solid #008E38;background-color:#F0FAEB;padding:2px;width:280px;line-height:160%} +.dlgws div{width:100%} +.dlgTesttitle{border:2px solid #008E38;background-color:#F0FAEB;padding:2px;width:300px;line-height:150%} +#_mysource{z-index:10003} +#_mywriter{z-index:10004} +#uploadwait{z-index:19999} +.option1{background-color:#DCECA6} +.option2{background-color:#F7FBD2} +.option3{background-color:#fff} +.ininput{width:96%;height:20px;border:1px solid #fff} +.nbt{padding:1px;background-image:url(../images/allbtbg.gif);background-color:#fff;border:1px solid #A5AF83} +.tdt{padding-left:6px} +.waitpage{top:0;left:0;filter:Alpha(opacity=70);-moz-opacity:0.7;position:absolute;z-index:10000;background:url(../../images/loading1.gif) #ababab center no-repeat} +.divpre img{max-width:150px;max-height:100px} +.divpre{overflow:hidden} +.autoinput{padding-left:3px;width:90%} +.bodytitle{margin:auto;height:28px;border:1px dotted #BFD67C;background:url('../images/wbg.gif');margin-bottom:6px;width:98%;font-weight:bold} +.bodytitle div{float:left} +.bodytitletxt{padding-left:6px;line-height:28px} +.tbtitle td{padding:3px} +.tblist td{background:#fff;padding:6px} +.tblist td.tbsname{background:#F9FFE6;padding:6px} +.colordlg{width:100px;z-index;10005;border:2px dashed #008E38;background-color:#F0FAEB;padding:2px;line-height:160%} +option.alltype{height:18px;line-height:18px;font-size:12px;padding-left:16px;background:url(../images/arr4.gif) 3px 4px no-repeat} +option.btype{height:18px;line-height:18px;font-size:12px;padding-left:16px;background:url(../images/arr4.gif) 3px 4px no-repeat} +option.stype{height:18px;line-height:18px;font-size:12px;padding-left:24px;background:url(../images/arrr.gif) 11px 4px no-repeat} +.ilist{border-top:1px dashed #BCBCBC;border-bottom:1px dashed #BCBCBC;border-left:1px dashed #BCBCBC} +.ilist td{border-right:1px dashed #BCBCBC} +#typeid2{border:0px;padding:0px;background:#ccc;height:18px;font-size:12px;padding-left:10px;background:url(../images/typeid2bg.gif) no-repeat;float:left} +.litpic_span{width:77px;overflow:hidden;height:21px;*vertical-align:3px;margin-left:-60px;*margin-left:-75px;cursor:pointer} +#litpic{width:85px;height:20px;margin-left:-20px;filter:alpha(opacity=00);-moz-opacity:.0;opacity:0.0;cursor:pointer} +#starttime,#endtime,#pubdate{background:url(../images/calendar.gif) 3px no-repeat;padding-left:23px} +#title{background:url(../images/ruler.gif) repeat-x 0px 10px} +.spec{width:60px} +.gtab a{width:80px;text-align:center;display:block;float:left;height:26px;line-height:26px} +.albCt img{cursor:pointer} +.maintable{width:98% !important;border:1px solid #dee2e6} +a.btn{color:white !important} +span.page-link{background-color:#ddd} +.btn-success{background-color:#28a745;border-color:#28a745} +input[type=checkbox],input[type=radio]{margin-top:4px} +.table th img,.table td img{vertical-align:text-bottom} \ No newline at end of file diff --git a/src/dede/css/frame.css b/src/dede/css/frame.css index bb455a43..d0d53697 100644 --- a/src/dede/css/frame.css +++ b/src/dede/css/frame.css @@ -1,455 +1,80 @@ -* { - padding:0; - margin:0; - box-sizing:border-box -} -a { - text-decoration:none -} -html,body { - width:100%; - height:100% -} -body { - height:100%; - font-size:12px; - overflow:hidden; - z-index:1 -} -body.showmenu { - background:url(../images/leftmenu_bg.gif) -10px top repeat-y -} -body.hidemenu { - background:none -} -ul { - list-style:none -} -form { - margin:0; - padding:0 -} -.head { - width:100%; - height:76px; - overflow:hidden; - z-index:8; - position:relative -} -.top { - height:46px; - width:100%; - background-image:linear-gradient(135deg,#008E38 0%,#639709 100%); - overflow:hidden; - clear:both -} -.top .top_logo { - float:left; - margin-left:10px; - 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:10px; - margin-left:10px; - color:#fff -} -.top .top_link { - float:right -} -.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; - vertical-align:middle -} -.top .top_link ul li { - float:left; - color:#fff -} -.top .top_link ul li a { - color:#fff; - padding-left:10px; - padding-right:10px -} -.top .top_link ul li a:hover { - color:#ccc -} -.top .top_link .quick { - padding:3px 0px 0px 0px; - float:left -} -.top .top_link .quick a { - display:block; - color:#C60; - float:left; - line-height:21px; - height:21px; - overflow:hidden -} -.top .top_link .quick a.ac_qucikmenu { - width:81px; - background:url(../images/quick_bg.gif) left top no-repeat; - letter-spacing:1px; - text-indent:8px -} -.top .top_link .quick a.ac_qucikmenu:hover { - background:url(../images/quick_bg.gif) left bottom no-repeat -} -.top .top_link .quick a.ac_qucikadd { - width:19px; - background:url(../images/quick_bg.gif) right top no-repeat -} -.top .top_link .quick a.ac_qucikadd:hover { - background:url(../images/quick_bg.gif) right bottom no-repeat -} -.topnav { - width:100%; - height:30px; - background:#333; - overflow:hidden; - clear:both -} -.topnav .menuact { - width:168px; - float:left; - padding-left:10px; - overflow:hidden; - padding-top:6px -} -.topnav .menuact a { - overflow:hidden; - color:#eee; - padding-right:10px -} -.topnav .menuact a:hover { - color:#fff -} -.nav { - float:left; - padding-left:2px; - line-height:26px; - color:#999 -} -.nav ul li { - float:left; - display:block; - margin-left:4px -} -.nav ul li a { - padding:0 10px 0px 10px; - color:#FFCC00 -} -.nav ul li a:hover { - color:#fff -} -.nav ul li a.thisclass,.nav ul li a.thisclass:hover { - color:#4E8100; - display:block; - font-weight:bold; - background:#fff; - line-height:23px; - border-top:2px solid #FFDE59; - margin-top:4px; - padding:0 10px 0px 10px -} -.sysmsg { - height:30px; - overflow:hidden; - line-height:30px; - padding-right:10px; - float:right; - color:#999; - width:500px -} -.sysmsg h3 { - font-size:12px; - float:left; - padding-right:6px; - font-weight:normal; - color:#FC0; - display:none -} -.scroll { - float:right; - overflow:hidden; - height:30px -} -.scroll ul li,.sysmsg ul li a { - color:#BBB -} -.scroll ul li { - height:26px; - overflow:hidden; - line-height:26px; - float:right; - clear:both; - padding-left:19px; - background:url(../images/ico-sysmsg.png) 5px 8px no-repeat -} -.scroll ul li a:hover { - text-decoration:underline -} -.scroll a { - padding-left:10px; - color:#fff -} -.scroll a:hover { - text-decoration:underline -} -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% -} -.top_link { - font-size:12px -} -.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 { - height:100%; - width:99.99%; - 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 { - height:30px; - line-height:30px; - display:block; - color:#666666; - padding-left:10px; - padding-right:10px -} -.qucikmenu ul li a:hover { - background:#F7F7F7 -} -.pagemask { - width:100%; - height:100%; - background:#000; - position:absolute; - z-index:100; - filter:alpha(opacity=70); - -moz-opacity:0.7; - opacity:0.7; - display:none -} -.iframemask { - position:absolute; - z-index:80; - top:0; - left:0; - background-color:#fff; - border:none; - filter:alpha(opacity=0); - -moz-opacity:0; - opacity:0; - height:100%; - width:100%; - display:none -} -.allmenu { - width:800px; - background:#fff; - border:2px solid #999; - z-index:999; - position:absolute; - left:50%; - top:76px; - margin-left:-400px; - display:none; - padding:10px -} -.allmenu .allmenu-box { - margin:0 auto; - text-align:left; - overflow:hidden; - padding-left:2px -} -.maptop { - float:left; - width:130px; - overflow:hidden; - padding-right:6px; - padding-left:6px; - margin-left:-1px -} -.maptop dt.bigitem { - padding:5px 10px; - background:#333; - color:#fff; - line-height:18px; - font-weight:600 -} -.mapitem dt { - line-height:21px; - font-weight:bold; - text-indent:10px; - background:#EFF1F1 -} -.mapitem ul { - margin-top:10px; - margin-bottom:10px -} -.mapitem ul li { - text-indent:20px; - line-height:24px; - background:url(../images/arrr.gif) 4px 6px no-repeat -} -.allmenu a { - color:#5C604F -} -.allmenu a:hover { - color:#F63 -} -#login .theme { - clear:both; - padding:10px; - width:70%; - margin-top:20px -} -#login .theme li { - margin-bottom:15px; - margin-top:5px; - overflow:hidden -} -#login .theme span { - color:#000000; - width:150px; - display:inline-block; - float:left; - text-align:right; - height:22px; - line-height:22px -} -input { - color:#000; - font-size:12px -} -input[type="text"],input[type="password"] { - width:160px; - border-width:1px; - border-style:solid; - border-color:#fff; - padding:2px 4px; - height:18px; - line-height:18px; - vertical-align:middle; - background:#fff -} -input[type="text"]:focus,input[type="password"]:focus { - border-color:#6FB1DF; - color:#333; - -moz-box-shadow:0 0 3px #A5C760; - -webkit-border-shadow:0 0 3px #A5C760; - box-shadow:0 0 3px #A5C760 -} -* html input.text { - width:223px; - border:1px solid #a7a6aa; - background:#fff url(../images/input.gif) 0 0 no-repeat; - margin-top:-1px; - margin-right:5px; - margin-bottom:0; - margin-left:2px; - padding:3px; - line-height:12px -} -* html input.radio { - margin:-1px 0 0 -2px -} -.allsearch { - float:left; - margin-top:7px!important; - border:1px solid #fff; - border-radius:2px -} -.np { - width:40px; - height:18px; - line-height:18px; - border:none; - color:#fff; - background:#57960f; - cursor:pointer; - margin-left:10px; - border-radius:2px -} -#help { - background:url(../images/dlgtitle.gif) repeat-x scroll 0 0 transparent; - bottom:0; - left:0; - position:absolute; - width:100%; - height:28px; - border-top:1px solid #390; - line-height:28px; - text-align:right; - padding-top:0; - padding-bottom:0 -} -#help #content { - padding-right:12px; - background:url(../images/gtk-edit.png) no-repeat scroll 0px -1px; - padding-left:20px -} \ No newline at end of file +*{padding:0;margin:0;box-sizing:border-box} +a{text-decoration:none} +html,body{width:100%;height:100%} +body{height:100%;font-size:12px;overflow:hidden;z-index:1} +body.showmenu{background:url(../images/leftmenu_bg.gif) -10px top repeat-y} +body.hidemenu{background:none} +ul{list-style:none} +form{margin:0;padding:0} +.head{width:100%;height:76px;overflow:hidden;z-index:8;position:relative} +.top{height:46px;width:100%;background-image:linear-gradient(135deg,#008E38 0%,#639709 100%);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:10px;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;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} +.top .top_link .quick{padding:3px 0px 0px 0px;float:left} +.top .top_link .quick a{display:block;color:#C60;float:left;line-height:21px;height:21px;overflow:hidden} +.top .top_link .quick a.ac_qucikmenu{width:81px;background:url(../images/quick_bg.gif) left top no-repeat;letter-spacing:1px;text-indent:8px} +.top .top_link .quick a.ac_qucikmenu:hover{background:url(../images/quick_bg.gif) left bottom no-repeat} +.top .top_link .quick a.ac_qucikadd{width:19px;background:url(../images/quick_bg.gif) right top no-repeat} +.top .top_link .quick a.ac_qucikadd:hover{background:url(../images/quick_bg.gif) right bottom no-repeat} +.topnav{width:100%;height:30px;background:#333;overflow:hidden;clear:both} +.topnav .menuact{width:168px;float:left;padding-left:30px;overflow:hidden;padding-top:6px} +.topnav .menuact a{overflow:hidden;color:#eee;padding-right:10px} +.topnav .menuact a:hover{color:#fff} +.nav{float:left;padding-left:2px;line-height:26px;color:#999} +.nav ul li{float:left;display:block;margin-left:4px} +.nav ul li a{padding:0 10px 0px 10px;color:#FFCC00} +.nav ul li a:hover{color:#fff} +.nav ul li a.thisclass,.nav ul li a.thisclass:hover{color:#4E8100;display:block;font-weight:bold;background:#fff;line-height:23px;border-top:2px solid #FFDE59;margin-top:4px;padding:0 10px 0px 10px} +.sysmsg{height:30px;overflow:hidden;line-height:30px;padding-right:30px;float:right;color:#999;width:500px} +.sysmsg h3{font-size:12px;float:left;padding-right:6px;font-weight:normal;color:#FC0;display:none} +.scroll{float:right;overflow:hidden;height:30px} +.scroll ul li,.sysmsg ul li a{color:#BBB} +.scroll ul li{height:26px;overflow:hidden;line-height:26px;float:right;clear:both;padding-left:19px;background:url(../images/ico-sysmsg.png) 5px 8px no-repeat} +.scroll ul li a:hover{text-decoration:underline} +.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%} +.top_link{font-size:12px} +.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{height:100%;width:99.99%;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{height:30px;line-height:30px;display:block;color:#666666;padding-left:10px;padding-right:10px} +.qucikmenu ul li a:hover{background:#F7F7F7} +.pagemask{width:100%;height:100%;background:#000;position:absolute;z-index:100;filter:alpha(opacity=70);-moz-opacity:0.7;opacity:0.7;display:none} +.iframemask{position:absolute;z-index:80;top:0;left:0;background-color:#fff;border:none;filter:alpha(opacity=0);-moz-opacity:0;opacity:0;height:100%;width:100%;display:none} +.allmenu{width:800px;background:#fff;border:2px solid #999;z-index:999;position:absolute;left:50%;top:76px;margin-left:-400px;display:none;padding:10px} +.allmenu .allmenu-box{margin:0 auto;text-align:left;overflow:hidden;padding-left:2px} +.maptop{float:left;width:130px;overflow:hidden;padding-right:6px;padding-left:6px;margin-left:-1px} +.maptop dt.bigitem{padding:5px 10px;background:#333;color:#fff;line-height:18px;font-weight:600} +.mapitem dt{line-height:21px;font-weight:bold;text-indent:10px;background:#EFF1F1} +.mapitem ul{margin-top:10px;margin-bottom:10px} +.mapitem ul li{text-indent:20px;line-height:24px;background:url(../images/arrr.gif) 4px 6px no-repeat} +.allmenu a{color:#5C604F} +.allmenu a:hover{color:#F63} +#login .theme{clear:both;padding:10px;width:70%;margin-top:20px} +#login .theme li{margin-bottom:15px;margin-top:5px;overflow:hidden} +#login .theme span{color:#000000;width:150px;display:inline-block;float:left;text-align:right;height:22px;line-height:22px} +input{color:#000;font-size:12px} +input[type="text"],input[type="password"]{width:160px;border-width:1px;border-style:solid;border-color:#fff;padding:2px 4px;height:18px;line-height:18px;vertical-align:middle;background:#fff} +input[type="text"]:focus,input[type="password"]:focus{border-color:#6FB1DF;color:#333;-moz-box-shadow:0 0 3px #A5C760;-webkit-border-shadow:0 0 3px #A5C760;box-shadow:0 0 3px #A5C760} +* html input.text{width:223px;border:1px solid #a7a6aa;background:#fff url(../images/input.gif) 0 0 no-repeat;margin-top:-1px;margin-right:5px;margin-bottom:0;margin-left:2px;padding:3px;line-height:12px} +* html input.radio{margin:-1px 0 0 -2px} +.allsearch{float:left;margin-top:7px!important;border:1px solid #fff;border-radius:2px} +.np{width:40px;height:18px;line-height:18px;border:none;color:#fff;background:#57960f;cursor:pointer;margin-left:10px;border-radius:2px} +#help{background:url(../images/dlgtitle.gif) repeat-x scroll 0 0 transparent;bottom:0;left:0;position:absolute;width:100%;height:28px;border-top:1px solid #390;line-height:28px;text-align:right;padding-top:0;padding-bottom:0} +#help #content{padding-right:12px;background:url(../images/gtk-edit.png) no-repeat scroll 0px -1px;padding-left:20px} \ No newline at end of file diff --git a/src/dede/templets/content_list.htm b/src/dede/templets/content_list.htm index 1d637b11..726ba4e0 100755 --- a/src/dede/templets/content_list.htm +++ b/src/dede/templets/content_list.htm @@ -1,13 +1,11 @@ - + - 文档管理 - - + + @@ -23,23 +21,17 @@
- + {dede:if $adminid==$mid } - + {else} - + {/dede:if} {dede:global.CheckUserSend/} - - - + + +
@@ -49,8 +41,7 @@ - @@ -66,8 +57,7 @@ {dede:datalist} - + @@ -85,8 +75,7 @@ {dede:field.flag function='IsCommendArchives(@me)'/} - + @@ -126,8 +115,7 @@ -
- ◆ {dede:global.positionname/}文档列表  (使用鼠标右键弹出菜单) + ◆ {dede:global.positionname/}文档列表  (使用鼠标右键弹出菜单)
操作
{dede:field.id/} {dede:field.senddate function='GetDateMk(@me)'/}{dede:field.typeid - function='GetTypename(@me)'/}{dede:field.typeid function='GetTypename(@me)'/} {dede:field.click/} {dede:field.ismake function="IsHtmlArchives(@me)"/} {dede:field.arcrank function="GetRankName(@me)"/}
+
@@ -169,7 +157,5 @@
- - \ No newline at end of file diff --git a/src/dede/templets/index2.htm b/src/dede/templets/index2.htm index 72ceba79..8a0d1911 100755 --- a/src/dede/templets/index2.htm +++ b/src/dede/templets/index2.htm @@ -1,168 +1,138 @@ - - <?php echo $cfg_webname; ?>-<?php echo $cfg_soft_enname; ?> <?php echo $cfg_version_detail; ?> - - - - - -
- -
-
- -
+
+ +
+
+ +
+
-
-
-
- -
- +
+ +
+ +
+
+
+ +
+

滚动消息:

+
+
+ + + 代码托管 + 帮助中心 +
+
+
+
-
- -
-
-
- -
-

滚动消息:

-
-
- - - 代码托管 帮助中心 -
+
+
-
-
-
-
- -
-
- +
+
    + SetNameSpace('menu','<','>'); + $dtp->LoadTemplet($myIcoFile); + if(is_array($dtp->CTags)) + { + foreach($dtp->CTags as $ctag) + { + $title = $ctag->GetAtt('title'); + $ico = $ctag->GetAtt('ico'); + $link = $ctag->GetAtt('link'); + echo "
  • {$title}
  • \r\n"; + } + } + ?> +
- -
-
-
    - SetNameSpace('menu','<','>'); - $dtp->LoadTemplet($myIcoFile); - if(is_array($dtp->CTags)) - { - foreach($dtp->CTags as $ctag) - { - $title = $ctag->GetAtt('title'); - $ico = $ctag->GetAtt('ico'); - $link = $ctag->GetAtt('link'); - echo "
  • {$title}
  • \r\n"; - } - } - ?> -
-
- + })(jQuery);*/ + \ No newline at end of file diff --git a/src/dede/templets/index_body.htm b/src/dede/templets/index_body.htm index df43a96d..b6f50651 100755 --- a/src/dede/templets/index_body.htm +++ b/src/dede/templets/index_body.htm @@ -2,105 +2,75 @@ - DedeBIZV6系统概况 + 系统概况 - + - -
-
- 欢迎使用国内流行的内容管理系统(CMS)多端全媒体解决方案 -- -
+
欢迎使用国内流行的内容管理系统(CMS)多端全媒体解决方案 --
-
-
- 更新消息 -
- +
更新消息
"; - echo "安全操作:数据备份/还原 病毒扫描 错误修复
"; - echo ""; + echo ""; + echo ""; ?>
-
-
-
- 商业服务授权 -
- -
- 正在载入中... -
- +
商业服务授权
+
正在载入中...
-
快捷操作 - 新增 - 管理 + 新增管理
-
-
-
-
- 系统基本信息 -
- +
系统基本信息
+ } + ?> + 查看更多 - + - + - + -
您的级别: - getUserType()==10) { echo "总管理员"; - } else if($cuserLogin->getUserType()==5) { - echo "频道总编"; - } else { + } else if($cuserLogin->getUserType()==5) { + echo "频道总编"; + } else { echo "信息采集员或其它管理员"; - } - ?> - 查看更多
PHP环境摘要: - PHP版本: GD版本: - PHP版本: GD版本:
是否安全模式: - +   由于您的系统以安全模式运行,为了确保程序兼容性,第一次进入本系统时请更改“更改系统参数”里的FTP选项,并选择用FTP形式创建目录"; - } - ?> + if($isSafeMode) { + echo "由于您的系统以安全模式运行,为了确保程序兼容性,第一次进入本系统时请更改“ 更改系统参数 ”里的FTP选项,并选择用FTP形式创建目录"; + } + ?>
- Register_Globals: - -   - Magic_Quotes_Gpc: - + Register_Globals: + Magic_Quotes_Gpc:
- 支持上传的最大文件:支持上传的最大文件:
- 是否允许打开远程连接:是否允许打开远程连接:
其它必须函数检测: [{$k}×] "; - $n++; - } - } - if($n==0) { - echo "符合要求"; - } else { - echo "被禁用的函数可能导致部份功能无法使用!"; - } - ?> + $needfunc = array('dir','phpinfo'); + $n = 0; + foreach($needfunc as $k) { + if(!function_exists($k)) { + echo "[{$k}×] "; + $n++; + } + } + if($n==0) { + echo "符合要求"; + } else { + echo "被禁用的函数可能导致部份功能无法使用!"; + } + ?>
软件版本信息: - 版本名称: 版本号: + 版本名称: 版本号:
@@ -213,33 +169,23 @@
- -
-
- 信息统计 -
- +
信息统计
正在载入中...
-
-
-
- 最新文档 -
- +
最新文档
+ } else { + ?> - - 暂无新增内容 - + 暂无新增内容
-
-
- - \ No newline at end of file diff --git a/src/dede/templets/login.htm b/src/dede/templets/login.htm index ea5e4f7c..07f20e5d 100755 --- a/src/dede/templets/login.htm +++ b/src/dede/templets/login.htm @@ -1,54 +1,33 @@ - - <?php echo $cfg_webname; ?>后台登录-<?php echo $cfg_soft_enname; ?> <?php echo $cfg_version_detail; ?> + <?php echo $cfg_webname; ?>后台登录
-
+
+ +
- +
@@ -71,16 +50,22 @@ header .logo { +
- +
+ - + diff --git a/src/dede/templets/templets_default.htm b/src/dede/templets/templets_default.htm index 7eb5c84a..d5441774 100755 --- a/src/dede/templets/templets_default.htm +++ b/src/dede/templets/templets_default.htm @@ -1,29 +1,19 @@ - + - 模板管理器 - @@ -48,14 +38,12 @@
- - 当前位置: - - + 当前位置: +
默认模板目录 @@ -64,51 +52,39 @@ read()) - { - if(!preg_match("#\.htm#", $filename)) continue; - $filetime = filemtime($templetdird.'/'.$filename); - $filetime = MyDate("Y-m-d H:i",$filetime); - $fileinfo = (isset($fileinfos[$filename]) ? $fileinfos[$filename] : '未知模板'); - ?> - - - ' target='_blank'> - - - + $files = scandir($templetdird); + foreach ($files as $filename){ + if(!preg_match("#\.htm#", $filename)) + continue; + $filetime = filemtime($templetdird.'/'.$filename); + $filetime = MyDate("Y-m-d H:i",$filetime); + $fileinfo = (isset($fileinfos[$filename]) ? $fileinfos[$filename] : '未知模板'); + ?> + - - - - + ' target='_blank'> + + + if(!isset($fileinfos[$filename])) + { + ?> | + } + ?> - + - -   - 新建模板 -   - 上传模板 - + 新建模板 上传模板 - - \ No newline at end of file From cdb6a9544269ea2996c99e6dc3d9252496392393 Mon Sep 17 00:00:00 2001 From: xushubieli Date: Wed, 15 Dec 2021 18:33:21 +0800 Subject: [PATCH 02/12] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 后台表格显示间距调整 --- src/dede/css/base.css | 15 ++++---- src/dede/templets/index_body.htm | 62 +++++++++++++------------------- 2 files changed, 32 insertions(+), 45 deletions(-) diff --git a/src/dede/css/base.css b/src/dede/css/base.css index 5b06a745..365e9708 100644 --- a/src/dede/css/base.css +++ b/src/dede/css/base.css @@ -1,4 +1,4 @@ -*{font-size:12px;letter-spacing:0.4px} +*{font-size:12px;letter-spacing:.4px} body{font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;line-height:1.5} form,h1,h2,h3,ul,ol,div{margin:0;padding:0} td{line-height:1.5} @@ -17,7 +17,7 @@ textarea:focus{border-color:#A5C760;color:#333;-moz-box-shadow:0 0 3px #A5C760;- img{margin-right:6px;vertical-align:baseline} h1,h2,h3{font-size:18px;color:#424b51} a:link{color:#424b51;text-decoration:none} -a:hover{opacity:0.8} +a:hover{opacity:.8} a:visited{color:#666} .pubinputs{height:16px;line-height:16px;width:250px;padding:4px 0px 2px 0px;border-width:1px;border-style:solid;border-color:#999 #ddd #ddd #999} .iptxt{height:14px;line-height:14px;padding:4px 3px 2px 3px;border-width:1px;border-style:solid;border-color:#999 #ddd #ddd #999} @@ -44,7 +44,7 @@ a:visited{color:#666} .pubdlg .title{border-bottom:1px solid #C9CFC1;background-color:#F9FCDC;background:url(../images/dlgtitle.gif) repeat-x;height:28px;line-height:28px;text-align:left;cursor:move} .pubdlg .titLeft{float:left;padding-left:8px;line-height:28px;font-weight:bold;color:#555} .pubdlg .titRight{float:right;padding:0px} -.fullpagediv{z-index:1999;top:0;left:0;background:#cdcdcd;filter:Alpha(opacity=50);-moz-opacity:.5;opacity:0.5;position:absolute;width:100%;height:120%} +.fullpagediv{z-index:1999;top:0;left:0;background:#cdcdcd;filter:Alpha(opacity=50);-moz-opacity:.5;opacity:.5;position:absolute;width:100%;height:120%} .quicksel{z-index:10005;width:680px;height:420px;margin-left:5px;margin-top:5px;overflow:auto} .quickselfoot{padding-top:8px;border-top:1px dashed #C0CC9D} .quickselItem{margin-bottom:8px} @@ -63,7 +63,7 @@ a:visited{color:#666} .ininput{width:96%;height:20px;border:1px solid #fff} .nbt{padding:1px;background-image:url(../images/allbtbg.gif);background-color:#fff;border:1px solid #A5AF83} .tdt{padding-left:6px} -.waitpage{top:0;left:0;filter:Alpha(opacity=70);-moz-opacity:0.7;position:absolute;z-index:10000;background:url(../../images/loading1.gif) #ababab center no-repeat} +.waitpage{top:0;left:0;filter:Alpha(opacity=70);-moz-opacity:.7;position:absolute;z-index:10000;background:url(../../images/loading1.gif) #ababab center no-repeat} .divpre img{max-width:150px;max-height:100px} .divpre{overflow:hidden} .autoinput{padding-left:3px;width:90%} @@ -80,8 +80,8 @@ option.stype{height:18px;line-height:18px;font-size:12px;padding-left:24px;backg .ilist{border-top:1px dashed #BCBCBC;border-bottom:1px dashed #BCBCBC;border-left:1px dashed #BCBCBC} .ilist td{border-right:1px dashed #BCBCBC} #typeid2{border:0px;padding:0px;background:#ccc;height:18px;font-size:12px;padding-left:10px;background:url(../images/typeid2bg.gif) no-repeat;float:left} -.litpic_span{width:77px;overflow:hidden;height:21px;*vertical-align:3px;margin-left:-60px;*margin-left:-75px;cursor:pointer} -#litpic{width:85px;height:20px;margin-left:-20px;filter:alpha(opacity=00);-moz-opacity:.0;opacity:0.0;cursor:pointer} +.litpic_span{width:76px;overflow:hidden;height:22px;margin-left:-60px;cursor:pointer} +#litpic{width:85px;height:20px;margin-left:-20px;filter:alpha(opacity=00);-moz-opacity:.0;opacity:.0;cursor:pointer} #starttime,#endtime,#pubdate{background:url(../images/calendar.gif) 3px no-repeat;padding-left:23px} #title{background:url(../images/ruler.gif) repeat-x 0px 10px} .spec{width:60px} @@ -89,7 +89,8 @@ option.stype{height:18px;line-height:18px;font-size:12px;padding-left:24px;backg .albCt img{cursor:pointer} .maintable{width:98% !important;border:1px solid #dee2e6} a.btn{color:white !important} -span.page-link{background-color:#ddd} +span.page-link{color:#fff;background-color:#28a745} .btn-success{background-color:#28a745;border-color:#28a745} input[type=checkbox],input[type=radio]{margin-top:4px} +.table td,.table th{padding:.65rem} .table th img,.table td img{vertical-align:text-bottom} \ No newline at end of file diff --git a/src/dede/templets/index_body.htm b/src/dede/templets/index_body.htm index b6f50651..ad182d58 100755 --- a/src/dede/templets/index_body.htm +++ b/src/dede/templets/index_body.htm @@ -7,8 +7,8 @@ - - + + @@ -67,10 +67,7 @@
-
- 快捷操作 - 新增管理 -
+
快捷操作新增管理
- @@ -108,31 +104,31 @@ jQuery('#menufra').get(0).src = url1; jQuery('#main').get(0).src = url2; } - /*(function ($) { + (function ($) { $("#skinlist>li").click(function () { - var adminskin = $(this).index() + 1; - var csshref = "images/style" + adminskin + "/style.css"; - $("#skinlist>li").each(function () { $(this).children('div').attr('class', '') }); - $("#topdedelogo").attr('src', 'images/style' + adminskin + '/admin_top_logo.gif') - $('link').each(function () { - if ($(this).attr('href').match(/style.css$/)) { - $(this).attr('href', csshref); - } - }); - $(this).children('div').attr('class', 'sel'); - $(window.frames["menu"].document).find("link").each(function () { - if ($(this).attr('href').match(/style.css$/)) { - $(this).attr('href', csshref); - } - }); - $(window.frames["main"].document).find("link").each(function () { - if ($(this).attr('href').match(/style.css$/)) { - $(this).attr('href', csshref); - } - }); - $.get('index_body.php?dopost=setskin&cskin=' + adminskin); - }); - })(jQuery);*/ + var adminskin = $(this).index() + 1; + var csshref = "images/style" + adminskin + "/style.css"; + $("#skinlist>li").each(function () { $(this).children('div').attr('class', '') }); + $("#topdedelogo").attr('src', 'images/style' + adminskin + '/admin_top_logo.gif') + $('link').each(function () { + if ($(this).attr('href').match(/style.css$/)) { + $(this).attr('href', csshref); + } + }); + $(this).children('div').attr('class', 'sel'); + $(window.frames["menu"].document).find("link").each(function () { + if ($(this).attr('href').match(/style.css$/)) { + $(this).attr('href', csshref); + } + }); + $(window.frames["main"].document).find("link").each(function () { + if ($(this).attr('href').match(/style.css$/)) { + $(this).attr('href', csshref); + } + }); + $.get('index_body.php?dopost=setskin&cskin=' + adminskin); + }); + })(jQuery); \ No newline at end of file diff --git a/src/dede/templets/index_body.htm b/src/dede/templets/index_body.htm index ad182d58..0ed102c9 100755 --- a/src/dede/templets/index_body.htm +++ b/src/dede/templets/index_body.htm @@ -7,14 +7,14 @@ - - - + + + - - - - + + + - + + + var curopenItem = '$openitem';"; + echo ""; ?> - + - - + + - - +
-
核心
-
-
模块
-
-
生成
-
-
会员
-
+
+
核心
+
模块
+
生成
+
会员
getUserType() >= 10) { ?> - -
模板
-
-
系统
-
+
模板
+
系统
@@ -143,23 +67,23 @@ a.mm:hover div {
- - \ No newline at end of file diff --git a/src/dede/templets/login.htm b/src/dede/templets/login.htm index 07f20e5d..fda3a02f 100755 --- a/src/dede/templets/login.htm +++ b/src/dede/templets/login.htm @@ -1,5 +1,6 @@ + @@ -8,26 +9,46 @@ <?php echo $cfg_webname; ?>后台登录
-
- -
+
- +
@@ -50,22 +71,16 @@ header .logo{width:260px;padding:1em 0}
-
- +
- - +
diff --git a/src/dede/templets/templets_default.htm b/src/dede/templets/templets_default.htm index d5441774..3465f747 100755 --- a/src/dede/templets/templets_default.htm +++ b/src/dede/templets/templets_default.htm @@ -4,18 +4,18 @@ 模板管理器 - - + + From f9b41a7e025b3a459e47c16e7b3f995c1a5a2dd4 Mon Sep 17 00:00:00 2001 From: xushubieli Date: Fri, 17 Dec 2021 14:33:10 +0800 Subject: [PATCH 05/12] Update login.htm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 补充:优化登录页面,验证码是否开启判断 --- src/dede/templets/login.htm | 61 ++++++++++++++----------------------- 1 file changed, 23 insertions(+), 38 deletions(-) diff --git a/src/dede/templets/login.htm b/src/dede/templets/login.htm index fda3a02f..66497929 100755 --- a/src/dede/templets/login.htm +++ b/src/dede/templets/login.htm @@ -1,6 +1,5 @@ - + - @@ -9,46 +8,26 @@ <?php echo $cfg_webname; ?>后台登录
-
+
+ +
- +
@@ -71,16 +50,22 @@ header .logo {
+
- +
+ - + From a5f68b377fbf091c0846e3755fe866a5940a7bd3 Mon Sep 17 00:00:00 2001 From: xushubieli Date: Fri, 17 Dec 2021 14:59:59 +0800 Subject: [PATCH 06/12] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=A1=86=E5=92=8C?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E8=B0=83=E7=94=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dede/templets/login.htm | 2 +- src/include/common.func.php | 83 +++++++---------------- src/include/taglib/channel.lib.php | 31 ++------- src/include/taglib/channelartlist.lib.php | 23 +++---- src/include/taglib/type.lib.php | 14 ++-- 5 files changed, 46 insertions(+), 107 deletions(-) diff --git a/src/dede/templets/login.htm b/src/dede/templets/login.htm index 66497929..dd58e9bc 100755 --- a/src/dede/templets/login.htm +++ b/src/dede/templets/login.htm @@ -11,7 +11,7 @@ body{font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;background-color:#f2f2f2} header{background:#fff} header .logo{width:260px;padding:1em 0} -.login-from{max-width:620px;width:100%} +.login-from{max-width:580px;width:100%} .login-area{background-color:#fff;padding:2em} .login-area .btnLogin{width:100%} .login-power{padding-top:1em} diff --git a/src/include/common.func.php b/src/include/common.func.php index b137b35c..ffe3a9d1 100755 --- a/src/include/common.func.php +++ b/src/include/common.func.php @@ -1,5 +1,5 @@ =')) { if (!function_exists('mysql_connect') and function_exists('mysqli_connect')) { function mysql_connect($server, $username, $password) @@ -17,28 +15,24 @@ if (version_compare(PHP_VERSION, '7.0.0', '>=')) { return mysqli_connect($server, $username, $password); } } - if (!function_exists('mysql_query') and function_exists('mysqli_query')) { function mysql_query($query, $link) { return mysqli_query($link, $query); } } - if (!function_exists('mysql_select_db') and function_exists('mysqli_select_db')) { function mysql_select_db($database_name, $link) { return mysqli_select_db($link, $database_name); } } - if (!function_exists('mysql_fetch_array') and function_exists('mysqli_fetch_array')) { function mysql_fetch_array($result) { return mysqli_fetch_array($result); } } - if (!function_exists('mysql_close') and function_exists('mysqli_close')) { function mysql_close($link) { @@ -52,7 +46,6 @@ if (version_compare(PHP_VERSION, '7.0.0', '>=')) { } } } - function make_hash() { $rand = dede_random_bytes(16); @@ -61,17 +54,14 @@ function make_hash() : bin2hex($rand); return $_SESSION['token']; } - function dede_random_bytes($length) { if (empty($length) or !ctype_digit((string) $length)) { return FALSE; } - if (function_exists('openssl_random_pseudo_bytes')) { return openssl_random_pseudo_bytes($length); } - if (function_exists('random_bytes')) { try { return random_bytes((int) $length); @@ -90,11 +80,8 @@ function dede_random_bytes($length) return $output; } } - return FALSE; } - - /** * 载入小助手,系统默认载入小助手 * 在/data/helper.inc.php中进行默认小助手初始化的设置 @@ -127,7 +114,6 @@ function helper($helpers) } return; } - if (isset($_helpers[$helpers])) { return; } @@ -135,12 +121,11 @@ function helper($helpers) include_once(DEDEINC . '/helpers/' . $helpers . '.helper.php'); $_helpers[$helpers] = TRUE; } - // 无法载入小助手 + //无法载入小助手 if (!isset($_helpers[$helpers])) { exit('Unable to load the requested file: helpers/' . $helpers . '.helper.php'); } } - function dede_htmlspecialchars($str) { global $cfg_soft_lang; @@ -148,7 +133,6 @@ function dede_htmlspecialchars($str) if ($cfg_soft_lang == 'gb2312') return htmlspecialchars($str, ENT_COMPAT, 'ISO-8859-1'); else return htmlspecialchars($str); } - /** * 载入小助手,这里用户可能载入用helps载入多个小助手 * @@ -160,7 +144,6 @@ function helpers($helpers) { helper($helpers); } - //兼容php4的file_put_contents if (!function_exists('file_put_contents')) { function file_put_contents($n, $d) @@ -175,7 +158,6 @@ if (!function_exists('file_put_contents')) { } } } - /** * 显示更新信息 * @@ -186,15 +168,8 @@ function UpdateStat() include_once(DEDEINC . "/inc/inc_stat.php"); return SpUpdateStat(); } - -$arrs1 = array(0x63, 0x66, 0x67, 0x5f, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x62, 0x79); -$arrs2 = array( - 0x20, 0x3c, 0x61, 0x20, 0x68, 0x72, 0x65, 0x66, 0x3d, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, - 0x77, 0x77, 0x77, 0x2e, 0x64, 0x65, 0x64, 0x65, 0x63, 0x6d, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x20, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x3d, 0x27, 0x5f, 0x62, 0x6c, 0x61, 0x6e, 0x6b, 0x27, 0x3e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x20, - 0x62, 0x79, 0x20, 0x44, 0x65, 0x64, 0x65, 0x43, 0x6d, 0x73, 0x3c, 0x2f, 0x61, 0x3e -); - +$arrs1 = array(); +$arrs2 = array(); /** * 短消息函数,可以在某个动作处理后友好的提示信息 * @@ -207,21 +182,16 @@ $arrs2 = array( function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) { global $cfg_soft_lang, $cfg_cmsurl; - if (empty($GLOBALS['cfg_plus_dir'])) $GLOBALS['cfg_plus_dir'] = '..'; - - $htmlhead = "\r\n\r\nDedeBIZ提示信息\r\n\r\n"; - $htmlhead .= ""; - $htmlhead .= "\r\n" . (isset($GLOBALS['ucsynlogin']) ? $GLOBALS['ucsynlogin'] : '') . "\r\n
\r\n\r\n
\r\n\r\n\r\n"; - + if(empty($GLOBALS['cfg_plus_dir'])) $GLOBALS['cfg_plus_dir'] = '..'; + $htmlhead = "提示信息"; + $htmlhead .= "".(isset($GLOBALS['ucsynlogin']) ? $GLOBALS['ucsynlogin'] : '')."
"; $litime = ($limittime == 0 ? 1000 : $limittime); $func = ''; - if ($gourl == '-1') { if ($limittime == 0) $litime = 5000; $gourl = "javascript:history.go(-1);"; } - if ($gourl == '' || $onlymsg == 1) { $msg = ""; } else { @@ -231,33 +201,30 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) $gourl = 'javascript:;'; $func .= "window.parent.document.getElementById('{$tgobj}').style.display='none';\r\n"; } - - $func .= " var pgo=0; - function JumpUrl(){ - if(pgo==0){ location='$gourl'; pgo=1; } - }\r\n"; + $func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; $rmsg = $func; - $rmsg .= "document.write(\"
\");\r\n"; + if($onlymsg==0) + { + if( $gourl != 'javascript:;' && $gourl != '') + { + $rmsg .= "\");"; $rmsg .= "setTimeout('JumpUrl()',$litime);"; } else { - $rmsg .= "\");\r\n"; + $rmsg .= "\");"; } } else { - $rmsg .= "\");\r\n"; + $rmsg .= "\");"; } - $msg = $htmlhead . $rmsg . $htmlfoot; + $msg = $htmlhead.$rmsg.$htmlfoot; } echo $msg; } - /** * 获取验证码的session值 * @@ -269,7 +236,6 @@ function GetCkVdValue() @session_start(); return isset($_SESSION['securimage_code_value']) ? $_SESSION['securimage_code_value'] : ''; } - /** * PHP某些版本有Bug,不能在同一作用域中同时读session并改注销它,因此调用后需执行本函数 * @@ -280,12 +246,10 @@ function ResetVdValue() @session_start(); $_SESSION['securimage_code_value'] = ''; } - function IndexSub($idx, $num) { return intval($idx) - intval($num) == 0 ? '0 ' : intval($idx) - intval($num); } - // 用来返回index的active function IndexActive($idx) { @@ -295,9 +259,8 @@ function IndexActive($idx) return ''; } } - // 自定义函数接口 // 这里主要兼容早期的用户扩展,v5.7之后我们建议使用小助手helper进行扩展 if (file_exists(DEDEINC . '/extend.func.php')) { require_once(DEDEINC . '/extend.func.php'); -} +} \ No newline at end of file diff --git a/src/include/taglib/channel.lib.php b/src/include/taglib/channel.lib.php index 72f1e492..867b9f3e 100755 --- a/src/include/taglib/channel.lib.php +++ b/src/include/taglib/channel.lib.php @@ -1,5 +1,4 @@ CAttribute->Items, $attlist); extract($ctag->CAttribute->Items, EXTR_SKIP); $innertext = $ctag->GetInnerText(); $line = empty($row) ? 100 : $row; - $likeType = ''; //读取固定的缓存块 $cacheid = trim($cacheid); @@ -28,7 +23,6 @@ function lib_channel(&$ctag, &$refObj) $likeType = GetCacheBlock($cacheid); if ($likeType != '') return $likeType; } - $reid = 0; $topid = 0; //如果属性里没指定栏目id,从引用类里获取栏目信息 @@ -52,39 +46,30 @@ function lib_channel(&$ctag, &$refObj) $issetInfos = true; } } - if ($type == '' || $type == 'sun') $type = 'son'; if ($innertext == '') $innertext = GetSysTemplets("channel_list.htm"); - if ($type == 'top') { - $sql = "SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath - From `#@__arctype` WHERE reid=0 And ishidden<>1 order by sortrank asc limit 0, $line "; + $sql = "SELECT * From `#@__arctype` WHERE reid=0 And ishidden<>1 order by sortrank asc limit 0, $line "; } else if ($type == 'son') { if ($typeid == 0) return ''; - $sql = "SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath - From `#@__arctype` WHERE reid='$typeid' And ishidden<>1 order by sortrank asc limit 0, $line "; + $sql = "SELECT * From `#@__arctype` WHERE reid='$typeid' And ishidden<>1 order by sortrank asc limit 0, $line "; } else if ($type == 'self') { if ($reid == 0) return ''; - $sql = "SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath - FROM `#@__arctype` WHERE reid='$reid' And ishidden<>1 order by sortrank asc limit 0, $line "; + $sql = "SELECT * FROM `#@__arctype` WHERE reid='$reid' And ishidden<>1 order by sortrank asc limit 0, $line "; } - //And id<>'$typeid' $needRel = false; $dtp2 = new DedeTagParse(); $dtp2->SetNameSpace('field', '[', ']'); $dtp2->LoadSource($innertext); //检查是否有子栏目,并返回rel提示(用于二级菜单) if (preg_match('#:rel#', $innertext)) $needRel = true; - if (empty($sql)) return ''; $dsql->SetQuery($sql); $dsql->Execute(); - $totalRow = $dsql->GetTotalRow(); //如果用子栏目模式,当没有子栏目时显示同级栏目 if ($type == 'son' && $reid != 0 && $totalRow == 0) { - $sql = "SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath - FROM `#@__arctype` WHERE reid='$reid' And ishidden<>1 order by sortrank asc limit 0, $line "; + $sql = "SELECT * FROM `#@__arctype` WHERE reid='$reid' And ishidden<>1 order by sortrank asc limit 0, $line "; $dsql->SetQuery($sql); $dsql->Execute(); } @@ -121,17 +106,15 @@ function lib_channel(&$ctag, &$refObj) } if ($col > 1) $likeType .= "\r\n"; $GLOBALS['autoindex']++; - } - //Loop Col + }//Loop Col if ($col > 1) { $i += $col - 1; $likeType .= " \r\n"; } - } - //Loop for $i + }//Loop for $i $dsql->FreeResult(); if ($cacheid != '') { WriteCacheBlock($cacheid, $likeType); } return $likeType; -} +} \ No newline at end of file diff --git a/src/include/taglib/channelartlist.lib.php b/src/include/taglib/channelartlist.lib.php index f2284402..9587d577 100755 --- a/src/include/taglib/channelartlist.lib.php +++ b/src/include/taglib/channelartlist.lib.php @@ -1,4 +1,5 @@ -CAttribute->Items, $attlist); @@ -27,15 +25,12 @@ function lib_channelartlist(&$ctag, &$refObj) $artlist = GetCacheBlock($cacheid); if ($artlist != '') return $artlist; } - if (empty($typeid)) { $typeid = (!empty($refObj->TypeLink->TypeInfos['id']) ? $refObj->TypeLink->TypeInfos['id'] : 0); } - if ($innertext == '') $innertext = GetSysTemplets('part_channelartlist.htm'); $totalnum = $row; if (empty($totalnum)) $totalnum = 20; - //获得类别ID总数的信息 $typeids = array(); if ($typeid == 0 || $typeid == 'top') { @@ -47,21 +42,25 @@ function lib_channelartlist(&$ctag, &$refObj) $tpsql = " id IN($typeid) AND ispart<>2 AND ishidden<>1 "; } } - $dsql->SetQuery("SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath - FROM `#@__arctype` WHERE $tpsql ORDER BY sortrank ASC LIMIT $totalnum"); + $dsql->SetQuery("SELECT * FROM `#@__arctype` WHERE $tpsql ORDER BY sortrank ASC LIMIT $totalnum"); $dsql->Execute(); while ($row = $dsql->GetArray()) { $typeids[] = $row; } - if (!isset($typeids[0])) return ''; - $GLOBALS['itemindex'] = 0; $GLOBALS['itemparity'] = 1; for ($i = 0; isset($typeids[$i]); $i++) { $GLOBALS['itemindex']++; $pv = new PartView($typeids[$i]['id']); $pv->Fields['typeurl'] = GetOneTypeUrlA($typeids[$i]); + //栏目高亮 + if($typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['id'] || $typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['reid'] || $typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['topid'] || $typeids[$i]['id'] == GetTopid($refObj->TypeLink->TypeInfos['id']) ) + { + $pv->Fields['currentstyle'] = $currentstyle ? $currentstyle : 'current'; + } else { + $pv->Fields['currentstyle'] = ''; + } $pv->SetTemplet($innertext, 'string'); $artlist .= $pv->GetResult(); $GLOBALS['itemparity'] = ($GLOBALS['itemparity'] == 1 ? 2 : 1); @@ -73,4 +72,4 @@ function lib_channelartlist(&$ctag, &$refObj) WriteCacheBlock($cacheid, $artlist); } return $artlist; -} +} \ No newline at end of file diff --git a/src/include/taglib/type.lib.php b/src/include/taglib/type.lib.php index 02400fd2..117d2587 100755 --- a/src/include/taglib/type.lib.php +++ b/src/include/taglib/type.lib.php @@ -1,4 +1,5 @@ -CAttribute->Items, $attlist); extract($ctag->CAttribute->Items, EXTR_SKIP); $innertext = trim($ctag->GetInnerText()); - if ($typeid == 0) { $typeid = (isset($refObj->TypeLink->TypeInfos['id']) ? $refObj->TypeLink->TypeInfos['id'] : $envs['typeid']); } - if (empty($typeid)) return ''; - - $row = $dsql->GetOne("SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath - FROM `#@__arctype` WHERE id='$typeid' "); + $row = $dsql->GetOne("SELECT * FROM `#@__arctype` WHERE id='$typeid' "); if (!is_array($row)) return ''; if (trim($innertext) == '') $innertext = GetSysTemplets("part_type_list.htm"); - $dtp = new DedeTagParse(); $dtp->SetNameSpace('field', '[', ']'); $dtp->LoadSource($innertext); @@ -44,4 +38,4 @@ function lib_type(&$ctag, &$refObj) unset($dtp); return $revalue; } -} +} \ No newline at end of file From 1792689103d0a6060e8cbbf98b61bfd1cec74d11 Mon Sep 17 00:00:00 2001 From: xushubieli Date: Fri, 17 Dec 2021 15:46:22 +0800 Subject: [PATCH 07/12] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AF=8C=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/static/ckeditor/contents.css | 236 ++++--------------------------- 1 file changed, 28 insertions(+), 208 deletions(-) diff --git a/src/static/ckeditor/contents.css b/src/static/ckeditor/contents.css index de1167fe..4fad51f0 100755 --- a/src/static/ckeditor/contents.css +++ b/src/static/ckeditor/contents.css @@ -1,208 +1,28 @@ -/* -Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. -For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license -*/ - -body -{ - /* Font */ - /* Emoji fonts are added to visualise them nicely in Internet Explorer. */ - font-family: sans-serif, Arial, Verdana, "Trebuchet MS", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - font-size: 12px; - - /* Text color */ - color: #333; - - /* Remove the background color to make it transparent. */ - background-color: #fff; - - margin: 20px; -} - -.cke_editable -{ - font-size: 13px; - line-height: 1.6; - - /* Fix for missing scrollbars with RTL texts. (#10488) */ - word-wrap: break-word; -} - -blockquote -{ - font-style: italic; - font-family: Georgia, Times, "Times New Roman", serif; - padding: 2px 0; - border-style: solid; - border-color: #ccc; - border-width: 0; -} - -.cke_contents_ltr blockquote -{ - padding-left: 20px; - padding-right: 8px; - border-left-width: 5px; -} - -.cke_contents_rtl blockquote -{ - padding-left: 8px; - padding-right: 20px; - border-right-width: 5px; -} - -a -{ - color: #0782C1; -} - -ol,ul,dl -{ - /* IE7: reset rtl list margin. (#7334) */ - *margin-right: 0px; - /* Preserved spaces for list items with text direction different than the list. (#6249,#8049)*/ - padding: 0 40px; -} - -h1,h2,h3,h4,h5,h6 -{ - font-weight: normal; - line-height: 1.2; -} - -hr -{ - border: 0px; - border-top: 1px solid #ccc; -} - -img.right -{ - border: 1px solid #ccc; - float: right; - margin-left: 15px; - padding: 5px; -} - -img.left -{ - border: 1px solid #ccc; - float: left; - margin-right: 15px; - padding: 5px; -} - -pre -{ - white-space: pre-wrap; /* CSS 2.1 */ - word-wrap: break-word; /* IE7 */ - -moz-tab-size: 4; - tab-size: 4; -} - -.marker -{ - background-color: Yellow; -} - -span[lang] -{ - font-style: italic; -} - -figure -{ - text-align: center; - outline: solid 1px #ccc; - background: rgba(0,0,0,0.05); - padding: 10px; - margin: 10px 20px; - display: inline-block; -} - -figure > figcaption -{ - text-align: center; - display: block; /* For IE8 */ -} - -a > img { - padding: 1px; - margin: 1px; - border: none; - outline: 1px solid #0782C1; -} - -/* Widget Styles */ -.code-featured -{ - border: 5px solid red; -} - -.math-featured -{ - padding: 20px; - box-shadow: 0 0 2px rgba(200, 0, 0, 1); - background-color: rgba(255, 0, 0, 0.05); - margin: 10px; -} - -.image-clean -{ - border: 0; - background: none; - padding: 0; -} - -.image-clean > figcaption -{ - font-size: .9em; - text-align: right; -} - -.image-grayscale -{ - background-color: white; - color: #666; -} - -.image-grayscale img, img.image-grayscale -{ - filter: grayscale(100%); -} - -.embed-240p -{ - max-width: 426px; - max-height: 240px; - margin:0 auto; -} - -.embed-360p -{ - max-width: 640px; - max-height: 360px; - margin:0 auto; -} - -.embed-480p -{ - max-width: 854px; - max-height: 480px; - margin:0 auto; -} - -.embed-720p -{ - max-width: 1280px; - max-height: 720px; - margin:0 auto; -} - -.embed-1080p -{ - max-width: 1920px; - max-height: 1080px; - margin:0 auto; -} +body{font-family:sans-serif,Arial,Verdana,"Trebuchet MS","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:12px;color:#333;background-color:#fff;margin:20px} +.cke_editable{font-size:12px;line-height:1.5;word-wrap:break-word} +blockquote{font-style:italic;font-family:Georgia,Times,"Times New Roman",serif;padding:2px 0;border-style:solid;border-color:#ccc;border-width:0} +.cke_contents_ltr blockquote{padding-left:20px;padding-right:8px;border-left-width:5px} +.cke_contents_rtl blockquote{padding-left:8px;padding-right:20px;border-right-width:5px} +a{color:#0782C1} +ol,ul,dl{*margin-right:0px;padding:0 40px} +h1,h2,h3,h4,h5,h6{font-weight:normal;line-height:1.5} +hr{border:0px;border-top:1px solid #ccc} +img.right{border:1px solid #ccc;float:right;margin-left:15px;padding:5px} +img.left{border:1px solid #ccc;float:left;margin-right:15px;padding:5px} +pre{white-space:pre-wrap;word-wrap:break-word;-moz-tab-size:4;tab-size:4} +.marker{background-color:Yellow} +span[lang]{font-style:italic} +figure{text-align:center;outline:solid 1px #ccc;background:rgba(0,0,0,0.05);padding:10px;margin:10px 20px;display:inline-block} +figure > figcaption{text-align:center;display:block} +a > img{padding:1px;margin:1px;border:none;outline:1px solid #0782C1} +.code-featured{border:5px solid red} +.math-featured{padding:20px;box-shadow:0 0 2px rgba(200,0,0,1);background-color:rgba(255,0,0,0.05);margin:10px} +.image-clean{border:0;background:none;padding:0} +.image-clean > figcaption{font-size:.9em;text-align:right} +.image-grayscale{background-color:white;color:#666} +.image-grayscale img,img.image-grayscale{filter:grayscale(100%)} +.embed-240p{max-width:426px;max-height:240px;margin:0 auto} +.embed-360p{max-width:640px;max-height:360px;margin:0 auto} +.embed-480p{max-width:854px;max-height:480px;margin:0 auto} +.embed-720p{max-width:1280px;max-height:720px;margin:0 auto} +.embed-1080p{max-width:1920px;max-height:1080px;margin:0 auto} \ No newline at end of file From fe5f4411628ef20eb79f631abc79c8e1495b4be1 Mon Sep 17 00:00:00 2001 From: xushubieli Date: Fri, 17 Dec 2021 15:57:46 +0800 Subject: [PATCH 08/12] =?UTF-8?q?=E8=A1=A5=E5=85=85=EF=BC=9A=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=AF=8C=E6=96=87=E6=9C=AC=E5=9B=BE=E7=89=87=E5=9C=86?= =?UTF-8?q?=E8=A7=92=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/static/ckeditor/contents.css | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/static/ckeditor/contents.css b/src/static/ckeditor/contents.css index 4fad51f0..55674155 100755 --- a/src/static/ckeditor/contents.css +++ b/src/static/ckeditor/contents.css @@ -1,20 +1,21 @@ body{font-family:sans-serif,Arial,Verdana,"Trebuchet MS","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:12px;color:#333;background-color:#fff;margin:20px} -.cke_editable{font-size:12px;line-height:1.5;word-wrap:break-word} blockquote{font-style:italic;font-family:Georgia,Times,"Times New Roman",serif;padding:2px 0;border-style:solid;border-color:#ccc;border-width:0} -.cke_contents_ltr blockquote{padding-left:20px;padding-right:8px;border-left-width:5px} -.cke_contents_rtl blockquote{padding-left:8px;padding-right:20px;border-right-width:5px} a{color:#0782C1} -ol,ul,dl{*margin-right:0px;padding:0 40px} +ol,ul,dl{padding:0 40px} h1,h2,h3,h4,h5,h6{font-weight:normal;line-height:1.5} hr{border:0px;border-top:1px solid #ccc} -img.right{border:1px solid #ccc;float:right;margin-left:15px;padding:5px} -img.left{border:1px solid #ccc;float:left;margin-right:15px;padding:5px} pre{white-space:pre-wrap;word-wrap:break-word;-moz-tab-size:4;tab-size:4} -.marker{background-color:Yellow} span[lang]{font-style:italic} figure{text-align:center;outline:solid 1px #ccc;background:rgba(0,0,0,0.05);padding:10px;margin:10px 20px;display:inline-block} figure > figcaption{text-align:center;display:block} +img{border-radius:6px} a > img{padding:1px;margin:1px;border:none;outline:1px solid #0782C1} +img.right{border:1px solid #ccc;float:right;margin-left:15px;padding:5px} +img.left{border:1px solid #ccc;float:left;margin-right:15px;padding:5px} +.marker{background-color:Yellow} +.cke_editable{font-size:12px;line-height:1.5;word-wrap:break-word} +.cke_contents_ltr blockquote{padding-left:20px;padding-right:8px;border-left-width:5px} +.cke_contents_rtl blockquote{padding-left:8px;padding-right:20px;border-right-width:5px} .code-featured{border:5px solid red} .math-featured{padding:20px;box-shadow:0 0 2px rgba(200,0,0,1);background-color:rgba(255,0,0,0.05);margin:10px} .image-clean{border:0;background:none;padding:0} From d62d139d860a5ebe2a30aca823542b9dedcb14f5 Mon Sep 17 00:00:00 2001 From: xushubieli Date: Mon, 20 Dec 2021 12:05:03 +0800 Subject: [PATCH 09/12] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dede/templets/index2.htm | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/src/dede/templets/index2.htm b/src/dede/templets/index2.htm index 86e601e5..d1e55440 100755 --- a/src/dede/templets/index2.htm +++ b/src/dede/templets/index2.htm @@ -51,22 +51,25 @@
- - -
-

滚动消息:

-
-
- - - 代码托管 帮助中心 -
+
+
+
+ +
+
+
+ + + 代码托管 + 帮助中心 +
+
@@ -99,7 +102,7 @@ ?>
-