From 660f2f4fe58abace1f69e2c266971ec49ee7ec21 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 01:31:59 +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/ckeditor/contents.css | 4 +- src/static/web/css/admin.css | 102 +++++++++++++++---------------- src/static/web/css/style.css | 27 ++++---- 3 files changed, 64 insertions(+), 69 deletions(-) diff --git a/src/static/ckeditor/contents.css b/src/static/ckeditor/contents.css index 69cfb59c..1e0a88f2 100644 --- a/src/static/ckeditor/contents.css +++ b/src/static/ckeditor/contents.css @@ -1,9 +1,9 @@ * { - scrollbar-width:thin + scrollbar-width:thin; + letter-spacing:0.5px } body { line-height:1.6; - letter-spacing:0.5px; font-size:14px; font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif; color:#6c757d; diff --git a/src/static/web/css/admin.css b/src/static/web/css/admin.css index 6dd754bb..8d066804 100644 --- a/src/static/web/css/admin.css +++ b/src/static/web/css/admin.css @@ -8,12 +8,11 @@ --b-radius-sm:0.25rem } * { - font-size:14px; - scrollbar-width:thin + scrollbar-width:thin; + letter-spacing:0.5px } body { line-height:1.6; - letter-spacing:0.5px; font-size:14px; font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif; color:var(--gray); @@ -46,7 +45,7 @@ td { word-wrap:break-word } input { - padding:0.375rem 0.75rem; + padding:0.25rem 0.5rem; height:30px; color:var(--gray); background:var(--white); @@ -61,7 +60,7 @@ input[type=file] { vertical-align:middle } input[type=button],input[type=submit],input[type=reset] { - padding:0.375rem 0.75rem; + padding:0.25rem 0.5rem; height:30px; line-height:1.6; font-size:12px; @@ -77,7 +76,7 @@ input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkb vertical-align:middle } select { - padding:0.25rem 0.75rem; + padding:0.25rem 0.5rem; height:30px; color:var(--gray); background:var(--white); @@ -94,7 +93,7 @@ option:checked { color:var(--blue) } textarea { - padding:0.375rem 0.75rem; + padding:0.25rem 0.5rem; color:var(--gray); background:var(--white); border:1px solid var(--gray-300); @@ -596,49 +595,6 @@ body.menu-show .admin-content { .column:hover { background:rgba(0,0,0,0.075) } -.container-fluid { - padding:1rem -} -.breadcrumb { - padding:0; - background:none -} -.modal-title { - font-size:16px -} -.card,.modal-content { - border:0 -} -.card-header { - padding:1rem; - background-color:rgba(0,0,0,0); - border-bottom:1px solid rgba(0,0,0,0.05) -} -.card-body { - padding:1rem -} -.card-body canvas { - height:365px!important -} -.table { - margin-bottom:0; - color:var(--gray) -} -.table.icon img { - width:20px; - height:20px -} -.table th,.table td { - padding:0.5rem 1rem 0.5rem 0; - vertical-align:middle -} -.form-control { - display:inline-block -} -.fa { - font-size:14px!important; - color:inherit -} .opt .list { display:inline-block; margin-right:1rem; @@ -733,6 +689,48 @@ body.menu-show .admin-content { .admin-input-xs { width:70px } +.container-fluid { + padding:1rem +} +.breadcrumb { + padding:0; + background:none +} +.modal-title { + font-size:16px +} +.card,.modal-content { + border:0 +} +.card-header { + padding:1rem; + background-color:rgba(0,0,0,0); + border-bottom:1px solid rgba(0,0,0,0.05) +} +.card-body { + padding:1rem +} +.card-body canvas { + height:365px!important +} +.table { + margin-bottom:0; + color:var(--gray) +} +.table.icon img { + width:20px; + height:20px +} +.table th,.table td { + padding:0.5rem 1rem 0.5rem 0; + vertical-align:middle +} +.form-control { + display:inline-block +} +.form-control,.fa,.btn { + 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 { transition:all 0.5s } @@ -758,9 +756,7 @@ input,select,textarea,.upload-bg,.colordlg,.pubdlg,.quickselitem .topcat,.mysour border-bottom-right-radius:0!important } .btn-sm { - padding:0.375rem 0.5rem; - height:30px; - font-size:12px + height:30px } .btn-xs { padding:0.15rem; diff --git a/src/static/web/css/style.css b/src/static/web/css/style.css index 81e7998a..a19da7d2 100644 --- a/src/static/web/css/style.css +++ b/src/static/web/css/style.css @@ -5,12 +5,11 @@ --b-radius:0.5rem } * { - font-size:14px; - scrollbar-width:thin + scrollbar-width:thin; + letter-spacing:0.5px } body { line-height:1.6; - letter-spacing:0.5px; font-size:14px; font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif; color:var(--gray); @@ -369,17 +368,6 @@ input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkb .input-group-append .btn-sm { line-height:1.8 } -.table td,.table th { - padding:0.5rem; - vertical-align:middle -} -.form-control { - display:inline-block; - height:36px -} -.form-control,.fa,.btn,.dropdown-menu { - font-size:14px!important -} .input-text { height:36px; line-height:36px @@ -408,6 +396,17 @@ input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkb .admin-input-xs { width:70px } +.table td,.table th { + padding:0.5rem; + vertical-align:middle +} +.form-control { + display:inline-block; + height:36px +} +.form-control,.fa,.btn,.dropdown-menu { + font-size:14px!important +} a:hover,.item-theme:hover,.item-news:hover,.table-hover tbody tr:hover { transition:all 0.5s }