Split custom CSS & niceadmin theme CSS

Keep original source Nice Admin template to keep easy future updates
This commit is contained in:
Santiago L 2022-04-22 11:10:07 +02:00
parent 49c7caf5bd
commit 21224f5e5e
3 changed files with 27 additions and 23 deletions

View File

@ -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;
}

View File

@ -1082,25 +1082,3 @@ h1, h2, h3, h4, h5, h6 {
font-size: 13px; font-size: 13px;
color: #012970; 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;
}

View File

@ -28,6 +28,7 @@
<!-- Template Main CSS File --> <!-- Template Main CSS File -->
<link href="{{ url_for('static', filename='css/niceadmin.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet"> <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet">
<!-- ======================================================= <!-- =======================================================
@ -53,7 +54,7 @@
<!-- Api backend --> <!-- Api backend -->
<script> <script>
const API_URLS = { const API_URLS = {
Auth_Token: `Basic ${btoa("{{ current_user.token }}:")}`, // Auth_Token: `Basic ${btoa("{{ current_user.token }}:")}`, //
currentUserID: "{{ current_user.id }}", currentUserID: "{{ current_user.id }}",
lots: "{{ url_for('Lot.main') }}", lots: "{{ url_for('Lot.main') }}",
lots_detail: "{{ url_for('inventory.lotdevicelist', lot_id='ReplaceTEXT') }}", lots_detail: "{{ url_for('inventory.lotdevicelist', lot_id='ReplaceTEXT') }}",