From 21224f5e5e5e2e2e001474b14bd65f0489ce9796 Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Fri, 22 Apr 2022 11:10:07 +0200 Subject: [PATCH] Split custom CSS & niceadmin theme CSS Keep original source Nice Admin template to keep easy future updates --- ereuse_devicehub/static/css/devicehub.css | 25 +++++++++++++++++++ ereuse_devicehub/static/css/style.css | 22 ---------------- .../templates/ereuse_devicehub/base.html | 3 ++- 3 files changed, 27 insertions(+), 23 deletions(-) create mode 100644 ereuse_devicehub/static/css/devicehub.css diff --git a/ereuse_devicehub/static/css/devicehub.css b/ereuse_devicehub/static/css/devicehub.css new file mode 100644 index 00000000..a79a56cc --- /dev/null +++ b/ereuse_devicehub/static/css/devicehub.css @@ -0,0 +1,25 @@ +/** +* eReuse CSS +*/ + +/*-------------------------------------------------------------- +# LotsSelector +--------------------------------------------------------------*/ + +#dropDownLotsSelector { + max-height: 500px; +} + +#dropDownLotsSelector>ul#LotsSelector { + list-style-type: none; + margin: 0; + padding: 0; + min-width: max-content; + max-height: 40vh; + overflow-y: auto; +} + +#dropDownLotsSelector #ApplyDeviceLots { + padding-top: 0px; + padding-bottom: 5px; +} diff --git a/ereuse_devicehub/static/css/style.css b/ereuse_devicehub/static/css/style.css index 4f4a98d3..1fd44f19 100644 --- a/ereuse_devicehub/static/css/style.css +++ b/ereuse_devicehub/static/css/style.css @@ -1082,25 +1082,3 @@ h1, h2, h3, h4, h5, h6 { font-size: 13px; color: #012970; } - -/*-------------------------------------------------------------- -# LotsSelector ---------------------------------------------------------------*/ - -#dropDownLotsSelector { - max-height: 500px; -} - -#dropDownLotsSelector > ul#LotsSelector { - list-style-type: none; - margin: 0; - padding: 0; - min-width: max-content; - max-height: 40vh; - overflow-y: auto; -} - -#dropDownLotsSelector #ApplyDeviceLots { - padding-top: 0px; - padding-bottom: 5px; -} \ No newline at end of file diff --git a/ereuse_devicehub/templates/ereuse_devicehub/base.html b/ereuse_devicehub/templates/ereuse_devicehub/base.html index 8e147828..cad2e813 100644 --- a/ereuse_devicehub/templates/ereuse_devicehub/base.html +++ b/ereuse_devicehub/templates/ereuse_devicehub/base.html @@ -28,6 +28,7 @@ +