From 0dfdcbc9c5c2e0652c274b12a91cf288b7950f5c Mon Sep 17 00:00:00 2001 From: panjing Date: Fri, 15 Nov 2024 20:21:55 +0800 Subject: [PATCH] fix style error. --- simpleui/__init__.py | 2 +- simpleui/__pycache__/__init__.cpython-37.pyc | Bin 294 -> 291 bytes simpleui/static/admin/simpleui-x/css/base.css | 8 +++++++- .../static/admin/simpleui-x/css/base.css.map | 2 +- simpleui/static/admin/simpleui-x/css/base.less | 12 ++++++++++-- simpleui/templates/admin/index.html | 1 - 6 files changed, 19 insertions(+), 6 deletions(-) diff --git a/simpleui/__init__.py b/simpleui/__init__.py index 83d3f666..5ed2e912 100644 --- a/simpleui/__init__.py +++ b/simpleui/__init__.py @@ -2,4 +2,4 @@ def get_version(): - return '2024.4.1' + return '2024.11.15' diff --git a/simpleui/__pycache__/__init__.cpython-37.pyc b/simpleui/__pycache__/__init__.cpython-37.pyc index 2227b1e7151dee66340ea660634063f9fceb3871..d2b7e09bbcad62f571e3dd5e92ed236966b85f32 100644 GIT binary patch delta 92 zcmZ3+w3vyshX3C}IQ(A&9TWK(32b%**!P7t0!-?wTA^ WoS9pYlUkaIg)woPHe=MpM~(o2-yRhJ diff --git a/simpleui/static/admin/simpleui-x/css/base.css b/simpleui/static/admin/simpleui-x/css/base.css index 496a9167..68eaf092 100644 --- a/simpleui/static/admin/simpleui-x/css/base.css +++ b/simpleui/static/admin/simpleui-x/css/base.css @@ -20,11 +20,15 @@ background-color: white; padding: 20px; } +#content-main .related-widget-wrapper { + display: inline-flex; +} #content-main .module { margin: 20px; margin-bottom: 0; padding: 10px; border-radius: 10px 10px 0 0; + background-color: white!important; } #content-main .submit-row { margin: 20px; @@ -220,7 +224,9 @@ body, background-color: white; margin: 10px; padding: 10px; - color: #5a9cf8; +} +#id_password .button { + color: white!important; } /*django新特性 主题适配*/ @media (prefers-color-scheme: dark) { diff --git a/simpleui/static/admin/simpleui-x/css/base.css.map b/simpleui/static/admin/simpleui-x/css/base.css.map index 14c82a0d..2e585dc3 100644 --- a/simpleui/static/admin/simpleui-x/css/base.css.map +++ b/simpleui/static/admin/simpleui-x/css/base.css.map @@ -1 +1 @@ -{"version":3,"sources":["base.less"],"names":[],"mappings":"AAAA;EACE,yBAAA;;AAGF,YAAa,UAAU;AAAU,YAAa,UAAU;AAAY,SAAU;AAAU,SAAU,IAAG;EACnG,4BAAA;;AAGF;EACE,8BAAA;EACA,uBAAA;;AAGF;EACE,UAAA;;AAGF,aAEE;EACE,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,aAAA;;AANJ,aASE;EACE,YAAA;EACA,gBAAA;EACA,aAAA;EAEA,4BAAA;;AAdJ,aAgBE;EACE,YAAA;EACA,aAAA;EACA,iCAAA;EACA,aAAA;;AAGJ;EACE,qBAAA;EACA,WAAA;EACA,kBAAA;;AAGF,WAAY,SAAS,KAAK;EACxB,6BAAA;EACA,2BAAA;EACA,8BAAA;;AAGF;EACE,gCAAA;EACA,cAAA;;AAGF;EACE,kBAAA;EACA,gBAAA;;AAGF,QAAS;EACP,kBAAA;EACA,gBAAA;;AAGF,YAAa;EACX,YAAA;EACA,YAAA;EACA,uBAAA;;AAGF,QAAS;EACP,iBAAA;;AAGF,WAAY;EACV,6BAAA;;AAGF;EAEE,sBAAA;EACA,sBAAA;;AAGF;EACE,mBAAA;;AAGF,SAAS;EACP,6BAAA;;AAGF,CAAC;AAAO,CAAC;EACP,cAAA;EACA,qBAAA;;AAGF;EACE,aAAA;EACA,kBAAA;EACA,SAAA;EACA,WAAA;;AAGF;EACE,aAAA;;AAGF;AAAI;EACF,uBAAA;EACA,mBAAA;;AAGF;EACE,mBAAA;;AAGF,KAAM,GAAE,MAAO;AAAI,KAAM,GAAE,MAAO;EAChC,yBAAA;;AAGF;EACE,8BAAA;;AAEF;EACE,8BAAA;EACA,aAAA;EACA,8BAAA;;AAGF,WAAY,MAAK;EACf,YAAA;;AAGF,WAAY,MAAK;EACf,6BAAA;;AAGF,QAA0B;EACxB,WAAY;IACV,2BAAA;IACA,mBAAA;;EAGF;IACE,YAAA;;EAGF;IACE,2BAAA;;EAGF,cAAe;IACb,YAAA;IACA,4BAAA;IACA,6BAAA;IACA,WAAA;IACA,kBAAA;;EAGF;IACE,gBAAA;;EAGF;IACE,oBAAA;;;AAMJ;AACA;EACE,yBAAA;;AAUF,QAAS;EAAM,qBAAA;;AACf,QAA0B;EACxB,YAAa;IACX,WAAA;;EAGF,QAAS;IACP,gBAAA;;EAGF;IACE,gBAAA;;EAGF;EAAM;IACJ,uBAAA;;EAGF,WAAY;IACV,uBAAA;;EAGF;IACE,iBAAA;;EAGF;IACE,mBAAA;IACA,WAAA;;EAGF;IACE,yBAAA;;EAGF;IACE,yBAAA;IACA,WAAA;IACA,gBAAA;;EAGF;IACE,WAAA;IACA,YAAA;;EAGF;IACE,UAAA;;;AAKJ,QAA2B;EACzB,YAAa,UAAU;EAAU,YAAa,UAAU;EAAY,SAAU;EAAU,SAAU;EAAU,SAAU,IAAG;IACvH,4BAAA;;EAGF,kBAAmB;IACjB,0BAAA;;EAGF;IACE,uBAAA;;;AAIJ,WAAY;EACV,kBAAA;EACA,kBAAA;;AAFF,WAAY,SAIV;EACE,kBAAA;EACA,UAAA;;AAIJ,aAAc,SAAS,GAAE,SAAU;EACjC,iBAAA;;AAGF;EACE,yBAAA;;AAEF;EACE,uBAAA;EACA,YAAA;EACA,aAAA;EACA,cAAA;;;AAGF,QAAoC;EAClC;IACE,kBAAA;IACA,qBAAA;IAEA,kBAAA;IACA,kBAAA;IACA,2BAAA;IACA,0BAAA;IAEA,8BAAA;IACA,yBAAA;IAEA,kBAAA;IACA,2BAAA;IACA,wBAAA;IAEA,yBAAA;IACA,oBAAA;IAEA,mBAAA;IACA,6BAAA;IACA,6BAAA;IACA,2BAAA;IAEA,sBAAA;IACA,sBAAA;IACA,uBAAA;IAEA,0BAAA;IACA,gCAAA","file":"base.css"} \ No newline at end of file +{"version":3,"sources":["base.less"],"names":[],"mappings":"AAAA;EACE,yBAAA;;AAGF,YA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AA;;EAGF;IACE,gBAAA;;EAGF;IACE,oBAAA;;;AAMJ;AACA;EACE,yBAAA;;AAUF,QAAS;EAAM,qBAAA;;AACf,QAA0B;EACxB,YAAa;IACX,WAAA;;EAGF,QAAS;IACP,gBAAA;;EAGF;IACE,gBAAA;;EAGF;EAAM;IACJ,uBAAA;;EAGF,WAAY;IACV,uBAAA;;EAGF;IACE,iBAAA;;EAGF;IACE,mBAAA;IACA,WAAA;;EAGF;IACE,yBAAA;;EAGF;IACE,yBAAA;IACA,WAAA;IACA,gBAAA;;EAGF;IACE,WAAA;IACA,YAAA;;EAGF;IACE,UAAA;;;AAKJ,QAA2B;EACzB,YAAa,UAAU;EAAU,YAAa,UAAU;EAAY,SAAU;EAAU,SAAU;EAAU,SAAU,IAAG;IACvH,4BAAA;;EAGF,kBAAmB;IACjB,0BAAA;;EAGF;IACE,uBAAA;;;AAIJ,WAAY;EACV,kBAAA;EACA,kBAAA;;AAFF,WAAY,SAIV;EACE,kBAAA;EACA,UAAA;;AAIJ,aAAc,SAAS,GAAE,SAAU;EACjC,iBAAA;;AAGF;EACE,yBAAA;;AAEF;EACE,uBAAA;EACA,YAAA;EACA,aAAA;;AAGF,YACE;EACE,sBAAA;;;AAIJ,QAAoC;EAClC;IACE,kBAAA;IACA,qBAAA;IAEA,kBAAA;IACA,kBAAA;IACA,2BAAA;IACA,0BAAA;IAEA,8BAAA;IACA,yBAAA;IAEA,kBAAA;IACA,2BAAA;IACA,wBAAA;IAEA,yBAAA;IACA,oBAAA;IAEA,mBAAA;IACA,6BAAA;IACA,6BAAA;IACA,2BAAA;IAEA,sBAAA;IACA,sBAAA;IACA,uBAAA;IAEA,0BAAA;IACA,gCAAA","file":"base.css"} \ No newline at end of file diff --git a/simpleui/static/admin/simpleui-x/css/base.less b/simpleui/static/admin/simpleui-x/css/base.less index ddbea4ee..49e46e36 100644 --- a/simpleui/static/admin/simpleui-x/css/base.less +++ b/simpleui/static/admin/simpleui-x/css/base.less @@ -23,13 +23,16 @@ background-color: white; padding: 20px; } - + .related-widget-wrapper{ + display: inline-flex; + } .module{ margin:20px; margin-bottom: 0; padding: 10px; //顶部圆角 border-radius: 10px 10px 0 0; + background-color: white!important; } .submit-row{ margin:20px; @@ -271,7 +274,12 @@ body, background-color: white; margin: 10px; padding: 10px; - color: #5a9cf8; + //color: #5a9cf8; +} +#id_password{ + .button{ + color: white!important; + } } /*django新特性 主题适配*/ @media (prefers-color-scheme: dark) { diff --git a/simpleui/templates/admin/index.html b/simpleui/templates/admin/index.html index 05db6cf3..ef507cab 100755 --- a/simpleui/templates/admin/index.html +++ b/simpleui/templates/admin/index.html @@ -363,7 +363,6 @@ {% endblock %} {% endblock %} -{% load_analysis %} {% block script %} {# 预留脚本block 可以实现基础该页面,添加自定义脚本#} {% endblock %}