From b1cdcdf0b89a5c5b62766f7dd364f617bd9e4255 Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 28 Oct 2021 19:41:46 +1100 Subject: [PATCH] More fixes - About modal - Server-side modals - icon badges - checkboxes in API forms --- InvenTree/InvenTree/static/css/inventree.css | 21 +++++++++++++++-- InvenTree/templates/about.html | 8 +++---- InvenTree/templates/js/translated/forms.js | 24 ++++++++++++-------- InvenTree/templates/js/translated/helpers.js | 2 +- InvenTree/templates/modals.html | 6 ++--- 5 files changed, 40 insertions(+), 21 deletions(-) diff --git a/InvenTree/InvenTree/static/css/inventree.css b/InvenTree/InvenTree/static/css/inventree.css index 559c30b219..cfa6846f10 100644 --- a/InvenTree/InvenTree/static/css/inventree.css +++ b/InvenTree/InvenTree/static/css/inventree.css @@ -229,8 +229,6 @@ padding: 5px 10px; } -/* Bootstrap table overrides */ - .stock-sub-group td { background-color: #ebf4f4; } @@ -392,6 +390,10 @@ font-size: 90%; } +.table-condensed td { + padding: .25em .5em; +} + /* grid display for part images */ .table-img-grid tr { @@ -436,6 +438,12 @@ float: right; } +.icon-badge { + padding-right: 2px; + padding-left: 2px; + font-size: 125%; +} + .part-properties > span { padding-left: 5px; padding-right: 5px; @@ -473,6 +481,10 @@ padding-right: 5px; } +.form-switch { + font-size: 120%; +} + .media { /* padding-top: 15px; */ overflow: visible; @@ -1015,4 +1027,9 @@ input[type='number']{ .borderless { border: none; +} + +a { + text-decoration: none; + background-color: transparent; } \ No newline at end of file diff --git a/InvenTree/templates/about.html b/InvenTree/templates/about.html index 04f3380ca2..be69c1aebc 100644 --- a/InvenTree/templates/about.html +++ b/InvenTree/templates/about.html @@ -6,11 +6,9 @@