1. Fix(CSS): Styles improved across all pages. \n 2. Fix(SQL): User authentication correction for demo account with user role.

This commit is contained in:
2025-07-12 18:28:30 +01:00
parent 62cafa8bed
commit 4954c63d84
121 changed files with 562 additions and 3917 deletions

View File

@@ -6,10 +6,11 @@
font-weight: bold;
transition: all 0.3s ease;
width: fit-content;
}
.button:not(.is_collapsed) {
cursor: pointer;
}
.button.collapsed {
.button.is_collapsed {
display: block;
opacity: 0;
}

View File

@@ -6,8 +6,6 @@
display: none;
*/
position: fixed;
top: 15vh;
right: 0;
width: 100px;
/* height: 50%; */
background: var(--colour-page-background);
@@ -16,36 +14,54 @@
align-self: right;
z-index: 999;
}
.overlay.expanded {
display: block;
}
.collapsed {
.is_collapsed {
display: none;
}
/* Hamburger menu overlay */
#buttonHamburger {
cursor: pointer;
position: absolute;
right: 0;
min-height: 4vh;
max-height: 4vh;
min-width: 4.5vh;
max-width: 4.5vh;
z-index: 10;
}
#buttonHamburger .icon.hamburger {
min-height: 3vh;
max-height: 3vh;
min-width: 3vh;
max-width: 3vh;
}
/*
#buttonHamburger:hover {
text-decoration: none;
cursor: pointer;
}
*/
#overlayHamburger {
top: 20vh;
right: 0.75vh;
overflow-x: hidden;
overflow-y: auto;
max-height: 80%;
max-height: 60vh;
}
.hamburger {
#overlayHamburger {
border: 2px solid var(--border-colour);
border-radius: 4px;
}
.hamburger:first-child {
#overlayHamburger:first-child {
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
.hamburger:last-child {
#overlayHamburger:last-child {
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
}
.hamburger > * {
#overlayHamburger > * {
display: flex;
flex-wrap: wrap;
align-items: center;
@@ -54,25 +70,45 @@
width: 100%;
/* color: var(--colour-text); */
font-weight: bold;
font-size: 18px;
font-size: 15px;
/* height: 18px; */
}
.hamburger > :hover {
#overlayHamburger > :hover {
color: var(--colour-page-background);
background-color: var(--colour-primary);
}
.hamburger > * > * {
#overlayHamburger > * > * {
width: 100%;
/*
margin-top: 4.5px;
margin-bottom: 4.5px;
*/
}
.hamburger > .container {
#overlayHamburger > .container {
padding-top: 4.5px;
padding-bottom: 4.5px;
}
@media screen and (max-width: 400px) {
#buttonHamburger {
min-height: 6vh;
max-height: 6vh;
min-width: 6.5vh;
max-width: 6.5vh;
}
#buttonHamburger .icon.hamburger {
min-height: 5vh;
max-height: 5vh;
min-width: 5vh;
max-width: 5vh;
}
#overlayHamburger {
top: 22vh;
width: 100px;
/* right: 6.5vh; */
}
}
/* Confirm overlay */
#overlayConfirm {
position: absolute;
@@ -91,4 +127,6 @@
}
#overlayConfirm .row .button.submit {
margin-left: 0.5vh;
}
}

View File

@@ -24,7 +24,7 @@ tr:not(:last-child) > td {
td > table > tbody > tr > td {
border: none !important;
}
th.collapsed, td.collapsed {
th.is_collapsed, td.is_collapsed {
display: table-cell !important;
}
td.dirty {

View File

@@ -1,24 +1,33 @@
/* Footer */
.footer {
padding: 1vh;
padding-left: 1vw;
padding-right: 1vw;
padding: 1vh 1vw;
text-align: center;
margin: 0;
height: 8vh !important;
max-height: 5vh;
overflow-y: auto;
background-color: var(--colour-accent);
/*
border-top-left-radius: 2.5vh;
border-top-right-radius: 2.5vh;
*/
position: absolute;
/* top: 2.5vh; */
bottom: 0;
width: 98vw;
}
@media screen and (max-width: 400px) {
.footer {
max-height: 8vh;
padding: 0 2vw;
font-size: 10px;
width: 96vw;
max-width: 96vw;
}
.footer > h4 {
font-size: 10px;
}
.footer > h5 {
font-size: 9px;
}
}
.footer > h4, h5 {
padding: 0;
margin: 0;

View File

@@ -74,6 +74,14 @@ header {
align-self: center;
display: flex;
}
.topnav > .container.header-logo {
min-width: 15vh;
max-width: 15vh;
}
.topnav > .container.company-name {
min-width: calc(100vw - 30vh);
max-width: calc(100vw - 30vh);
}
.topnav select {
padding: 1vh;
margin: 1vh;
@@ -81,23 +89,21 @@ header {
border: 2px solid var(--border-colour);
font-weight: bold;
text-align: center;
}
.topnav select .collapsed {
width: 5vw;
}
.topnav select .expanded {
width: 25vw;
}
.topnav select .is_collapsed {
width: 5vw;
}
.company-name {
font-size: min(28px, calc(1vh * 7));
}
/*
@media screen and (max-width: 450px) {
.company-name {
font-size: min(24px, calc(1vh * 7));
font-size: 18px; / * min(24px, calc(1vh * 7)); * /
}
}
*/
/* Page Filters */
#formFilters {
width: fit-content;
@@ -110,9 +116,9 @@ header {
}
#formFilters .container {
max-width: fit-content;
}
#formFilters .container-input {
max-width: fit-content;
padding: 0 0.5vh;
}
#formFilters .container-input:has(.dirty) {
@@ -123,12 +129,14 @@ header {
width: 10vh;
max-width: 10vh;
}
/*
#formFilters .container-input input {
height: 1.7vh;
}
#formFilters .container-input select {
height: 2vh;
}
*/
#formFilters .container-input.filter.active_only {
width: 8vh;
@@ -139,17 +147,13 @@ header {
#formFilters .container-input.filter.active_only svg.active_only {
height: 2vh;
fill: var(--colour-text-background);
background-color: var(--colour-accent);
border: 1px solid var(--colour-accent);
background-color: var(--colour-primary);
border: 1px solid var(--colour-primary);
width: 2vh;
border-radius: 0.5vh;
}
#formFilters .container-input.filter.active_only svg.active_only.is_checked {
fill: var(--colour-primary);
/*
background-color: var(--colour-accent);
border: 1px solid var(--colour-accent);
*/
fill: var(--colour-accent);
}
#formFilters .container-input.filter.is_not_empty {
width: 12vh;
@@ -165,7 +169,7 @@ header {
border: 2px solid var(--colour-primary);
}
#formFilters button.collapsed {
#formFilters button.is_collapsed {
display: block;
opacity: 0;
}
@@ -178,4 +182,14 @@ form.filter button.save, form.filter button.button-cancel {
form.filter button.save, form.filter button.button-cancel {
margin-top: 0;
margin-bottom: 1px;
}
@media screen and (max-width: 400px) {
#formFilters .container-input select {
/* height: 3vh; */
}
.topnav h1 {
font-size: 16px;
}
}

View File

@@ -1,8 +1,13 @@
#formFilters {
padding: 0.5vh 1vw;
margin-top: 1vh;
}
#tableMain {
overflow-x: auto;
padding: 1vh;
max-width: 95vw; /* min(calc(1vh * 80), calc(1vw * 90)); */
padding: 1vh 1vw;
max-width: 88vw; /* min(calc(1vh * 80), calc(1vw * 90)); */
width: min-content;
align-items: normal;
justify-content: normal;
@@ -12,13 +17,21 @@
padding: 0.25vh 0.5vh;
}
#tableMain tbody{
max-height: 53vh;
#tableMain thead {
max-height: 4vh;
overflow-y: visible;
}
#tableMain tbody {
max-height: 60vh;
overflow-y: auto;
min-width: fit-content;
max-width: fit-content;
overflow-x: visible;
}
#tableMain tbody.is_collapsed {
display: block;
}
#tableMain:has(tbody > div) tbody {
}
#tableMain tbody > div {
@@ -33,7 +46,7 @@
align-self: center;
position: relative;
display: block;
width: 90vh;
width: min(calc(90vh), calc(70vw));
}
#tableMain select,
@@ -97,4 +110,21 @@
#container-template-elements {
display: none;
}
@media screen and (max-width: 850px) {
}
@media screen and (max-width: 400px) {
#formFilters input[type="text"],
#formFilters select {
width: 15vh;
/* height: 3vh; */
}
#tableMain {
max-height: 60vh;
}
#tableMain tbody {
max-height: 53vh;
}
}

View File

@@ -33,7 +33,8 @@
}
html {
height: 100%;
height: 100vh;
/* overflow-y: clip; */
}
body {
@@ -46,7 +47,8 @@ body {
border: 0;
background: linear-gradient(to bottom right, var(--colour-page-background-1), var(--colour-page-background-2)); /* var(--c_purple); */
height: 100vh;
max-height: 100%;
/* max-height: 100vh;
overflow-y: clip; */
}
* {
@@ -58,13 +60,10 @@ script, link {
}
#pageBody {
height: 69vh !important;
padding: 1vh;
padding-left: 1vw;
padding-right: 1vw;
margin: 1vh;
margin-left: 0;
margin-right: 0;
/* height: 69vh !important; */
max-height: 79vh;
padding: 0 5vw;
margin: 0;
border: 0;
align-content: center;
justify-content: flex-start;
@@ -74,7 +73,7 @@ script, link {
overflow-y: auto;
overflow-x: hidden;
position: absolute;
width: 98vw;
width: 90vw;
color: var(--colour-text);
}
@@ -95,19 +94,15 @@ script, link {
}
#pageBody > .card {
height: fit-content;
margin: 1vh auto;
}
#pageBody > .card:first-of-type{
margin-top: 0vh;
top: 0;
margin: 0.5vh auto;
}
/* header image */
img.header-logo {
max-height: 15vh;
max-width: 20vw;
max-width: 15vh;
cursor: pointer;
border-radius: 5vh !important;
border-radius: 3vh;
}
/* icon images */
@@ -120,19 +115,17 @@ img.header-logo {
/* Add a card effect for articles */
.card {
background-color: var(--colour-text-background);
padding: 1vh;
padding: 1vh 2.5vw;
margin: 1vh;
display: flex !important;
flex-wrap: wrap;
align-items: center;
justify-content: center;
text-align: center;
border-radius: 4vh;
border-radius: 1.5vh;
position: relative;
height: fit-content;
max-width: 80vw;
padding-left: 2.5vw;
padding-right: 2.5vw;
}
.header.card {
@@ -162,7 +155,7 @@ img.header-logo {
display: flex;
flex-direction: row;
width: 100%;
/* min-width: fit-content; */
flex-wrap: wrap;
}
.container > .card:first-of-type {
@@ -233,4 +226,17 @@ input.dirty, textarea.dirty, select.dirty {
#pageBody > *, button {
font-size: min(12px, calc(1vh * 3));
}
@media screen and (max-width: 400px) {
img.header-logo {
border-radius: 3vh;
}
/*
.company-name {
font-size: 14px;
}
*/
}

View File

@@ -12,7 +12,7 @@
}
.home-hero h2 {
font-size: 3rem;
font-size: 24px;
line-height: 1.2;
margin-bottom: 1.5rem;
color: var(--colour-text);

View File

@@ -14,13 +14,13 @@
min-width: 10vh;
}
#tableMain thead tr th.order_items.collapsed,
#tableMain tbody tr td.order_items.collapsed {
#tableMain thead tr th.order_items.is_collapsed,
#tableMain tbody tr td.order_items.is_collapsed {
width: 15vh;
min-width: 15vh;
}
#tableMain:has(tbody tr td.order_items table thead tr th.product_variations.collapsed) thead tr th.order_items,
#tableMain:has(tbody tr td.order_items table thead tr th.product_variations.collapsed) tbody tr td.order_items {
#tableMain:has(tbody tr td.order_items table thead tr th.product_variations.is_collapsed) thead tr th.order_items,
#tableMain:has(tbody tr td.order_items table thead tr th.product_variations.is_collapsed) tbody tr td.order_items {
width: 100vh; /* 95vh */
min-width: 100vh;
}
@@ -43,7 +43,7 @@
min-width: 6vh;
}
#tableMain tbody tr td.order_items table thead tr th.product_variations.collapsed, #tableMain tbody tr td.order_items table tbody tr td.product_variations.collapsed {
#tableMain tbody tr td.order_items table thead tr th.product_variations.is_collapsed, #tableMain tbody tr td.order_items table tbody tr td.product_variations.is_collapsed {
width: 10vh;
min-width: 10vh;
}
@@ -72,7 +72,7 @@
min-width: 4vh;
}
#tableMain thead tr th.currency.collapsed, #tableMain tbody tr td.currency.collapsed {
#tableMain thead tr th.currency.is_collapsed, #tableMain tbody tr td.currency.is_collapsed {
width: 9vh;
min-width: 9vh;
}

View File

@@ -33,4 +33,17 @@
#tableMain tbody tr td.name {
width: 50vh;
min-width: 50vh;
}
@media screen and (max-width: 800px) {
#tableMain thead tr th.name ,
#tableMain tbody tr td.name {
width: 63vw;
min-width: 63vw;
}
#tableMain thead tr th.active ,
#tableMain tbody tr td.active {
width: 3vw;
min-width: 3vw;
}
}

View File

@@ -8,4 +8,14 @@
#tableMain tbody tr td.can-have-button {
width: 6vh;
min-width: 6vh;
}
}
/*
@media screen and (max-width: 600px) {
#formFilters input,
#formFilters select {
width: 12vh;
min-width: 12vh;
}
}
*/

View File

@@ -16,7 +16,7 @@
width: 10vh;
min-width: 10vh;
}
#tableMain thead tr th.product_variations.collapsed, #tableMain tbody tr td.product_variations.collapsed {
#tableMain thead tr th.product_variations.is_collapsed, #tableMain tbody tr td.product_variations.is_collapsed {
width: 10vh;
min-width: 10vh;
display: table-cell !important;
@@ -53,3 +53,11 @@ select.id_variation, select.id_variation_type {
max-width: 40% !important;
}
*/
@media screen and (max-width: 850px) {
#formFilters input,
#formFilters select {
width: 12vh;
min-width: 12vh;
}
}

View File

@@ -1,39 +0,0 @@
#tableMain:has(thead tr th.product_variations.collapsed) {
max-width: 66vh;
}
#tableMain {
max-width: 97vh;
}
#tableMain tbody tr td.display_order, #tableMain thead tr th.display_order,
#tableMain tbody tr td.active, #tableMain thead tr th.active {
width: 6vh;
min-width: 6vh;
}
#tableMain tbody tr td.code, #tableMain thead tr th.code,
#tableMain tbody tr td.name, #tableMain thead tr th.name,
#tableMain tbody tr td.name_plural, #tableMain thead tr th.name_plural {
width: 12vh;
min-width: 12vh;
}
#tableMain thead tr th.product_variations.collapsed, #tableMain tbody tr td.product_variations.collapsed {
width: 8vh;
min-width: 8vh;
}
#tableMain thead tr th.product_variations, #tableMain tbody tr td.product_variations {
width: 41vh;
min-width: 41vh;
}
#tableMain tbody tr td.product_variations table thead tr th.code, #tableMain tbody tr td.product_variations table tbody tr td.code,
#tableMain tbody tr td.product_variations table thead tr th.name, #tableMain tbody tr td.product_variations table tbody tr td.name {
width: 12vh;
min-width: 12vh;
}
#tableMain tbody tr td.product_variations table thead tr th.display_order, #tableMain tbody tr td.product_variations table tbody tr td.display_order,
#tableMain tbody tr td.product_variations table thead tr th.active, #tableMain tbody tr td.product_variations table tbody tr td.active {
width: 6vh;
min-width: 6vh;
}

View File

@@ -1,87 +0,0 @@
th, td {
min-width: fit-content;
}
#tableMain {
max-width: 90vw;
}
#tableMain thead tr th.product_category, #tableMain tbody tr td.product_category {
width: 12vh;
min-width: 12vh;
}
#tableMain thead tr th.product, #tableMain tbody tr td.product,
#tableMain thead tr th.storage_location, #tableMain tbody tr td.storage_location {
width: 10vh;
min-width: 10vh;
}
#tableMain thead tr th.product_variations.collapsed, #tableMain tbody tr td.product_variations.collapsed {
width: 10vh;
min-width: 10vh;
display: table-cell !important;
}
#tableMain thead tr th.product_variations, #tableMain tbody tr td.product_variations {
width: 24vh;
min-width: 24vh;
}
#tableMain tbody tr td.product_variations table thead tr th.product_variation_type, #tableMain tbody tr td.product_variations table tbody tr td.product_variation_type,
#tableMain tbody tr td.product_variations table thead tr th.product_variation, #tableMain tbody tr td.product_variations table tbody tr td.product_variation {
width: 8vh;
min-width: 8vh;
}
#tableMain tbody tr td.product_variations table thead tr th.add, #tableMain tbody tr td.product_variations table tbody tr td.delete {
width: 4vh;
min-width: 4vh;
}
#tableMain thead tr th.id_currency_cost.collapsed, #tableMain tbody tr td.id_currency_cost.collapsed {
width: 9vh;
min-width: 9vh;
}
#tableMain thead tr th.id_currency_cost, #tableMain tbody tr td.id_currency_cost {
width: 11vh;
min-width: 11vh;
}
#tableMain thead tr th.cost_unit_local_vat_excl, #tableMain tbody tr td.cost_unit_local_vat_excl,
#tableMain thead tr th.cost_unit_local_vat_incl, #tableMain tbody tr td.cost_unit_local_vat_incl {
width: 9vh;
min-width: 9vh;
}
#tableMain thead tr th.storage_location.collapsed, #tableMain tbody tr td.storage_location.collapsed {
width: 10vh;
min-width: 10vh;
}
#tableMain thead tr th.storage_location, #tableMain tbody tr td.storage_location {
width: 20vh;
min-width: 20vh;
}
#tableMain tbody tr td.storage_location table thead tr th,
#tableMain tbody tr td.storage_location table tbody tr td {
width: 8vh;
min-width: 8vh;
}
#tableMain tbody tr td.storage_location table thead tr th:last-of-type,
#tableMain tbody tr td.storage_location table tbody tr td:last-of-type {
width: 4vh;
min-width: 4vh;
}
#tableMain thead tr th.active, #tableMain tbody tr td.active,
#tableMain thead tr th.is_sealed, #tableMain tbody tr td.is_sealed,
#tableMain thead tr th.is_consumed, #tableMain tbody tr td.is_consumed {
width: 6vh;
min-width: 6vh;
}
#tableMain thead tr th.date_purchased, #tableMain tbody tr td.date_purchased,
#tableMain thead tr th.date_received, #tableMain tbody tr td.date_received,
#tableMain thead tr th.date_unsealed, #tableMain tbody tr td.date_unsealed,
#tableMain thead tr th.date_expiration, #tableMain tbody tr td.date_expiration,
#tableMain thead tr th.date_consumed, #tableMain tbody tr td.date_consumed {
width: 15vh;
min-width: 15vh;
}

View File

@@ -1,55 +0,0 @@
#formFilters .container-input.filter.active {
width: 8vh;
}
#tableMain tbody tr td.name_company, #tableMain thead tr th.name_company,
#tableMain tbody tr td.name_contact, #tableMain thead tr th.name_contact,
#tableMain tbody tr td.department_contact, #tableMain thead tr th.department_contact,
#tableMain tbody tr td.phone_number, #tableMain thead tr th.phone_number {
width: 10vh;
min-width: 10vh;
}
#tableMain tbody tr td.email, #tableMain thead tr th.email,
#tableMain tbody tr td.website, #tableMain thead tr th.website {
width: 15vh;
min-width: 15vh;
}
#tableMain thead tr th.address.collapsed, #tableMain tbody tr td.address.collapsed {
width: 9vh;
min-width: 9vh;
display: table-cell !important;
}
#tableMain thead tr th.address, #tableMain tbody tr td.address {
width: 108vh;
min-width: 108vh;
}
#tableMain tbody tr td.address table thead tr th.postcode, #tableMain tbody tr td.address table tbody tr td.postcode,
#tableMain tbody tr td.address table thead tr th.address_line_1, #tableMain tbody tr td.address table tbody tr td.address_line_1,
#tableMain tbody tr td.address table thead tr th.address_line_2, #tableMain tbody tr td.address table tbody tr td.address_line_2,
#tableMain tbody tr td.address table thead tr th.city, #tableMain tbody tr td.address table tbody tr td.city,
#tableMain tbody tr td.address table thead tr th.county, #tableMain tbody tr td.address table tbody tr td.county,
#tableMain tbody tr td.address table thead tr th.region, #tableMain tbody tr td.address table tbody tr td.region {
width: 15vh;
min-width: 15vh;
}
#tableMain tbody tr td.address table thead tr th.active, #tableMain tbody tr td.address table tbody tr td.active,
#tableMain tbody tr td.address table thead tr th.add, #tableMain tbody tr td.address table tbody tr td.delete {
width: 5vh;
min-width: 5vh;
}
#tableMain thead tr th.currency.collapsed, #tableMain tbody tr td.currency.collapsed {
width: 9vh;
min-width: 9vh;
}
#tableMain thead tr th.currency, #tableMain tbody tr td.currency {
width: 11vh;
min-width: 11vh;
}
#tableMain tbody tr td.active, #tableMain thead tr th.active {
width: 5vh;
min-width: 5vh;
}

View File

@@ -1,98 +0,0 @@
#formFilters .container-input.filter.active {
width: 8vh;
}
#formFilters .container-input.filter.date_from,
#formFilters .container-input.filter.date_to {
width: 8vh;
}
#tableMain tbody tr td.supplier, #tableMain thead tr th.supplier {
width: 15vh;
min-width: 15vh;
}
#tableMain thead tr th.currency.collapsed, #tableMain tbody tr td.currency.collapsed {
width: 9vh;
min-width: 9vh;
}
#tableMain thead tr th.currency, #tableMain tbody tr td.currency {
width: 11vh;
min-width: 11vh;
}
#tableMain tbody tr td.cost_total_local_vat_excl, #tableMain thead tr th.cost_total_local_vat_excl,
#tableMain tbody tr td.cost_total_local_vat_incl, #tableMain thead tr th.cost_total_local_vat_incl {
width: 10vh;
min-width: 10vh;
}
#tableMain tbody tr td.order_items, #tableMain thead tr th.items {
width: 40vh;
min-width: 40vh;
}
#tableMain thead tr th.order_items.collapsed, #tableMain tbody tr td.order_items.collapsed {
width: 15vh;
min-width: 15vh;
}
#tableMain:has(tbody tr td.order_items table thead tr th.product_variations.collapsed) thead tr th.order_items,
#tableMain:has(tbody tr td.order_items table thead tr th.product_variations.collapsed) tbody tr td.order_items {
width: 126vh;
min-width: 126vh;
}
#tableMain thead tr th.order_items,
#tableMain tbody tr td.order_items {
width: 136vh;
min-width: 136vh;
}
#tableMain tbody tr td.order_items table thead tr th, #tableMain tbody tr td.order_items table tbody tr td {
width: 12vh;
min-width: 12vh;
}
#tableMain tbody tr td.order_items table thead tr th.display_order, #tableMain tbody tr td.order_items table tbody tr td.display_order,
#tableMain tbody tr td.order_items table thead tr th.add, #tableMain tbody tr td.order_items table tbody tr td.delete {
width: 5vh;
min-width: 5vh;
}
#tableMain tbody tr td.order_items table thead tr th.product_variations.collapsed, #tableMain tbody tr td.order_items table tbody tr td.product_variations.collapsed {
width: 10vh;
min-width: 10vh;
}
#tableMain tbody tr td.order_items table thead tr th.product_variations, #tableMain tbody tr td.order_items table tbody tr td.product_variations {
width: 20vh;
min-width: 20vh;
}
#tableMain tbody tr td.order_items table tbody tr td.product_variations table thead tr th, #tableMain tbody tr td.order_items table tbody tr td.product_variations table tbody tr td {
width: 8vh;
min-width: 8vh;
}
#tableMain tbody tr td.order_items table tbody tr td.product_variations table thead tr th:last-of-type, #tableMain tbody tr td.order_items table tbody tr td.product_variations table tbody tr td:last-of-type {
width: 4vh;
min-width: 4vh;
}
#tableMain tbody tr td.order_items table thead tr th.id_unit_measurement_quantity, #tableMain tbody tr td.order_items table tbody tr td.id_unit_measurement_quantity {
width: 6vh;
min-width: 6vh;
}
#tableMain tbody tr td.order_items table thead tr th.quantity_ordered, #tableMain tbody tr td.order_items table tbody tr td.quantity_ordered,
#tableMain tbody tr td.order_items table thead tr th.quantity_received, #tableMain tbody tr td.order_items table tbody tr td.quantity_received,
#tableMain tbody tr td.order_items table thead tr th.cost_total_local_vat_excl, #tableMain tbody tr td.order_items table tbody tr td.cost_total_local_vat_excl,
#tableMain tbody tr td.order_items table thead tr th.cost_total_local_vat_incl, #tableMain tbody tr td.order_items table tbody tr td.cost_total_local_vat_incl,
#tableMain tbody tr td.order_items table thead tr th.cost_unit_local_vat_excl, #tableMain tbody tr td.order_items table tbody tr td.cost_unit_local_vat_excl,
#tableMain tbody tr td.order_items table thead tr th.cost_unit_local_vat_incl, #tableMain tbody tr td.order_items table tbody tr td.cost_unit_local_vat_incl,
#tableMain tbody tr td.order_items table thead tr th.latency_delivery_days, #tableMain tbody tr td.order_items table tbody tr td.latency_delivery_days {
width: 8vh;
min-width: 8vh;
}
#tableMain tbody tr td.order_items table thead tr th.active, #tableMain tbody tr td.order_items table tbody tr td.active {
width: 4vh;
min-width: 4vh;
}
#tableMain tbody tr td.active, #tableMain thead tr th.active {
width: 5vh;
min-width: 5vh;
}