From c4fd9b71772b0b20168e90f3efb6ec282d2867ae Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 28 Oct 2021 17:16:32 +1100 Subject: [PATCH] Fixes for part "card" view --- InvenTree/InvenTree/static/css/inventree.css | 10 +++++++--- InvenTree/templates/js/translated/part.js | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/InvenTree/InvenTree/static/css/inventree.css b/InvenTree/InvenTree/static/css/inventree.css index 57ee5ea243..d38230fa99 100644 --- a/InvenTree/InvenTree/static/css/inventree.css +++ b/InvenTree/InvenTree/static/css/inventree.css @@ -1,6 +1,6 @@ :root { --primary-color: #335d88; - --secondary-color: #dcdcda; + --secondary-color: #e4dfdf; --highlight-color: #f5efe8; --border-color: #ccc; @@ -1106,10 +1106,14 @@ input[type='number']{ width: 20%; padding: 5px; min-height: 25px; + background-color: transparent; } .product-card-panel{ height: 100%; - border: 1px solid #ccc; - box-shadow: 2px 2px #DDD; + margin-bottom: 5px; } + +.borderless { + border: none; +} \ No newline at end of file diff --git a/InvenTree/templates/js/translated/part.js b/InvenTree/templates/js/translated/part.js index f7a64d2f06..eb8c5d7a84 100644 --- a/InvenTree/templates/js/translated/part.js +++ b/InvenTree/templates/js/translated/part.js @@ -791,7 +791,7 @@ function partGridTile(part) { var html = ` -
+