From 71bf65f5ced8c65863e7f96d183347e83ecb0c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= Date: Wed, 17 Jul 2024 12:01:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/static/web/css/admin.css | 100 +++++++++++++++++------------------ src/static/web/css/style.css | 2 +- 2 files changed, 51 insertions(+), 51 deletions(-) diff --git a/src/static/web/css/admin.css b/src/static/web/css/admin.css index c0fca8ec..8683819c 100644 --- a/src/static/web/css/admin.css +++ b/src/static/web/css/admin.css @@ -55,15 +55,19 @@ input { input[type=file] { padding:0; border:0; - border-radius:0!important; - vertical-align:middle + border-radius:0!important +} +input:focus,select:focus,textarea:focus { + color:var(--gray); + background:var(--white); + border-color:var(--blue-300); + box-shadow:0 0 0 0.25rem rgba(0,123,255,0.25); + outline: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 + box-shadow:none } select { padding:0.25rem 0.5rem; @@ -74,7 +78,7 @@ select { vertical-align:middle } select[multiple=yes] { - height:180px + height:160px } option { padding:0.25rem 0 @@ -89,13 +93,6 @@ textarea { border:1px solid var(--gray-300); vertical-align:middle } -input:focus,select:focus,textarea:focus { - color:var(--gray); - background:var(--white); - border-color:var(--blue-300); - box-shadow:0 0 0 0.2rem rgba(0,123,255,0.25); - outline:0 -} .install-head { padding:1rem 0; background:var(--white) @@ -138,7 +135,7 @@ input:focus,select:focus,textarea:focus { background-size:cover } .login-box { - padding:70px 80px + padding:100px 80px 0 } .login-box .logo { margin-bottom:60px @@ -346,14 +343,6 @@ body.menu-show .admin-content { opacity:0.6; z-index:1980 } -.sys-search { - position:relative -} -.sys-search .sys-times { - position:absolute; - top:0; - right:0 -} .colordlg { background:var(--white); border:1px solid var(--gray-300); @@ -385,29 +374,6 @@ body.menu-show .admin-content { border:1px solid var(--gray-300); z-index:19994 } -.atlas { - float:left; - margin-right:1rem; - margin-bottom:1rem; - width:220px; - height:auto; - background:var(--bg); - text-align:center; - border-radius:var(--b-radius) -} -.atlas-head { - height:120px -} -.atlas-head img { - max-width:220px; - max-height:120px -} -.atlas-head,.atlas-body,.atlas-foot { - margin-bottom:0.5rem -} -.atlas-input { - width:200px -} .adtab li { display:inline-block; padding:0.5rem; @@ -423,6 +389,14 @@ body.menu-show .admin-content { .cls { clear:both } +.sys-search { + position:relative +} +.sys-search .sys-times { + position:absolute; + top:0; + right:0 +} .helpinfo { float:left; display:none; @@ -459,6 +433,29 @@ body.menu-show .admin-content { word-break:break-all; word-wrap:break-word } +.atlas { + float:left; + margin-right:1rem; + margin-bottom:1rem; + width:220px; + height:auto; + background:var(--bg); + text-align:center; + border-radius:var(--b-radius) +} +.atlas-head { + height:120px +} +.atlas-head img { + max-width:220px; + max-height:120px +} +.atlas-head,.atlas-body,.atlas-foot { + margin-bottom:0.5rem +} +.atlas-input { + width:200px +} #toolimg { position:absolute; display:none @@ -488,7 +485,7 @@ body.menu-show .admin-content { padding-top:1rem } #file_list:empty:after { - content:'拖拽图片到此处上传' + content:'支持拖拽图片上传' } #file_list li { display:block; @@ -718,7 +715,7 @@ body.menu-show .admin-content { .form-control { display:inline-block } -.form-control,.fa,.btn { +.form-control,.btn,.fa { font-size:14px!important } a:hover,body.menu-hide .admin-content,body.menu-show .admin-content,.sidemenu .submenu li:hover,.column:hover,.table-hover tbody tr:hover { @@ -728,7 +725,7 @@ span.page-link { color:var(--white); background:var(--green) } -input,select,textarea,button,.upload-bg,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,.opt .list,#edsta,.cke_chrome,.cke_inner,.pagination,.card,.form-control,.btn,.alert,.rounded { +input,select,textarea,button,.colordlg,.pubdlg,.quickselitem .topcat,.mysource,.mywriter,.opt .list,#edsta,.cke_chrome,.cke_inner,.card,.form-control,.btn,.alert,.rounded { border-radius:var(--b-radius)!important } .cke_top { @@ -746,7 +743,10 @@ input,select,textarea,button,.upload-bg,.colordlg,.pubdlg,.quickselitem .topcat, border-bottom-right-radius:0!important } .btn-sm { - height:30px + padding:0 0.5rem; + height:30px; + line-height:30px; + font-size:12px!important } .btn-xs { padding:0.15rem; @@ -799,7 +799,7 @@ input,select,textarea,button,.upload-bg,.colordlg,.pubdlg,.quickselitem .topcat, padding:30px } .card-body canvas { - height:220px!important + height:210px!important } .pagination,.page-item { display:inline-table diff --git a/src/static/web/css/style.css b/src/static/web/css/style.css index a19da7d2..50aa282b 100644 --- a/src/static/web/css/style.css +++ b/src/static/web/css/style.css @@ -410,7 +410,7 @@ input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkb a:hover,.item-theme:hover,.item-news:hover,.table-hover tbody tr:hover { transition:all 0.5s } -.navbar-toggler,.dropdown-menu,.breadcrumb,.cke_chrome,.cke_inner,.pagination,.form-control,.btn,.alert,.rounded { +.navbar-toggler,.dropdown-menu,.breadcrumb,.cke_chrome,.cke_inner,.form-control,.btn,.alert,.rounded { border-radius:var(--b-radius)!important } .cke_top,.item-theme-img img,.list-article-img img,.article-hot-img img {