Module bundling improved to reduce number of requests to 1 JavaScript and 1 CSS file per webpage excl. external resources such as Recaptcha

This commit is contained in:
2024-09-13 23:26:37 +01:00
parent 0c88f161c3
commit d858f47ef5
1490 changed files with 45316 additions and 1372 deletions

8
static/dist/css/admin_home.css vendored Normal file
View File

@@ -0,0 +1,8 @@
#pageBody > .card:first-of-type {
width: 80%;
}
.container.row {
width: auto;
}

27
static/dist/css/contact.css vendored Normal file
View File

@@ -0,0 +1,27 @@
#pageBody > .card:first-of-type{
flex-grow: 1;
}
#pageBody > .card:last-of-type {
}
#pageBody > .card:not(:first-of-type) {
}
/*
.content > a {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
text-align: center;
}
.content > a > img, .content > a > h4 {
flex: content;
margin: 0px;
}
*/

8
static/dist/css/core_admin_home.css vendored Normal file
View File

@@ -0,0 +1,8 @@
#pageBody > .card:first-of-type {
width: 80%;
}
.container.row {
width: auto;
}

27
static/dist/css/core_contact.css vendored Normal file
View File

@@ -0,0 +1,27 @@
#pageBody > .card:first-of-type{
flex-grow: 1;
}
#pageBody > .card:last-of-type {
}
#pageBody > .card:not(:first-of-type) {
}
/*
.content > a {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
text-align: center;
}
.content > a > img, .content > a > h4 {
flex: content;
margin: 0px;
}
*/

34
static/dist/css/core_home.css vendored Normal file
View File

@@ -0,0 +1,34 @@
#pageBody > * {
height: 100%;
}
#pageBody > * :first-child{
margin-top: 25vh;
}
#pageBody > * :last-child {
margin-bottom: 35vh;
}
.img-demo {
max-width: 50%;
min-width: 500px;
}
.img-featured {
width: 100%;
}
/*
img {
background-image: url("/static/images/Tag_Molly1.png");
}
*/
#pageBody h2 {
width: 100%;
}
#pageBody button.navContact {
width: fit-content;
}

38
static/dist/css/core_services.css vendored Normal file
View File

@@ -0,0 +1,38 @@
#pageBody > .card {
padding-left: 5vw;
padding-right: 5vw;
max-width: 80vw;
}
#pageBody > .card:first-of-type{
}
#pageBody > .card:last-of-type {
padding-left: 5vw;
padding-right: 5vw;
}
#pageBody > .card:not(:first-of-type) {
}
table {
left: 5vw;
max-width: 70vw;
width: fit-content !important;
}
/*
tr th::after {
content: "";
position: absolute;
top: 65px;
left: 4%;
width: 92%;
border-bottom: 2px solid var(--c_purple_dark);
}
*/
/*
img {
max-height: 5vh;
max-width: 10vw;
}
*/

26
static/dist/css/home.css vendored Normal file
View File

@@ -0,0 +1,26 @@
.page-body > * {
height: 100%;
}
#pageBody > * :first-child{
margin-top: 25vh;
}
#pageBody > * :last-child {
margin-bottom: 35vh;
}
.img-demo {
max-width: 50%;
min-width: 500px;
}
.img-featured {
width: 100%;
}
/*
img {
background-image: url("/static/images/Tag_Molly1.png");
}
*/

9
static/dist/css/legal_license.css vendored Normal file
View File

@@ -0,0 +1,9 @@
.page-body > * {
}
#pageBody > * :first-child{
}
#pageBody > * :last-child {
}

9
static/dist/css/license.css vendored Normal file
View File

@@ -0,0 +1,9 @@
.page-body > * {
}
#pageBody > * :first-child{
}
#pageBody > * :last-child {
}

38
static/dist/css/services.css vendored Normal file
View File

@@ -0,0 +1,38 @@
#pageBody > .card {
padding-left: 5vw;
padding-right: 5vw;
max-width: 80vw;
}
#pageBody > .card:first-of-type{
}
#pageBody > .card:last-of-type {
padding-left: 5vw;
padding-right: 5vw;
}
#pageBody > .card:not(:first-of-type) {
}
table {
left: 5vw;
max-width: 70vw;
width: fit-content !important;
}
/*
tr th::after {
content: "";
position: absolute;
top: 65px;
left: 4%;
width: 92%;
border-bottom: 2px solid var(--c_purple_dark);
}
*/
/*
img {
max-height: 5vh;
max-width: 10vw;
}
*/

2
static/dist/css/store_home.css vendored Normal file
View File

@@ -0,0 +1,2 @@

View File

@@ -0,0 +1,63 @@
td.display-order, th.display-order {
width: 8% !important;
}
td.code, th.code {
width: 15% !important;
}
td.name, th.name {
width: 25% !important;
}
td.description, th.description {
width: 35% !important;
}
td.access_level, th.access_level {
width: 10% !important;
}
td.active, th.active {
width: 7% !important;
}
/*
.row-new {
visibility: hidden;
}
*/
textarea {
width: 95% !important;
}
select {
width: 100% !important;
}
input {
width: 90% !important;
}
td > input, td > select, td > textarea, .container-input > input, .container-input > select, .container-input > textarea {
border: 2px solid var(--c_purple);
border-radius: 0.5vh;
}
#tableMain tbody tr td button {
padding: 0;
border: 0;
margin: 0;
text-decoration: none;
}
#tableMain tbody tr td table thead tr th.id_variation_type, #tableMain tbody tr td table tbody tr td.id_variation_type, #tableMain tbody tr td table thead tr th.id_variation, #tableMain tbody tr td table tbody tr td.id_variation {
width: 47.5%;
}
/*
select.id_variation, select.id_variation_type {
max-width: 40% !important;
}
*/

View File

@@ -0,0 +1,62 @@
td.category, th.category {
width: 16% !important;
}
td.product, th.product {
width: 23% !important;
}
td.variations, th.variations {
width: 19% !important;
}
td.quantity-stock, th.quantity-stock {
width: 10% !important;
}
td.quantity-min, th.quantity-min {
width: 10% !important;
}
td.quantity-max, th.quantity-max {
width: 10% !important;
}
td.cost-local-VAT-incl, th.cost-local-VAT-incl {
width: 6% !important;
}
td.detail, th.detail {
width: 6% !important;
}
textarea {
width: 95% !important;
}
select {
width: 100% !important;
}
input {
width: 90% !important;
}
td > input, td > select, td > textarea, .container-input > input, .container-input > select, .container-input > textarea {
border: 2px solid var(--c_purple);
border-radius: 0.5vh;
}
#tableMain tbody tr td button {
padding: 0;
border: 0;
margin: 0;
text-decoration: none;
}
#tableMain tbody tr td table thead tr th.id_variation_type, #tableMain tbody tr td table tbody tr td.id_variation_type, #tableMain tbody tr td table thead tr th.id_variation, #tableMain tbody tr td table tbody tr td.id_variation {
width: 47.5%;
}
/*
select.id_variation, select.id_variation_type {
max-width: 40% !important;
}
*/

41
static/dist/css/store_stock_items.css vendored Normal file
View File

@@ -0,0 +1,41 @@
th, td {
min-width: fit-content;
}
.category {
width: 12%;
}
.product {
width: 12%;
}
.variations {
width: 12%;
}
.currency {
width: 12%;
}
.cost-local-VAT-incl {
width: 10%;
}
.date-puchased, .date-received, .date-unsealed, .date-expiration, .date-consumed {
width: 6%;
}
.storage-location {
width: 12%;
}
.active {
width: 5%;
}
.row-new {
visibility: hidden;
}
textarea, select, input {
width: 100% !important;
}