1.started removal of CDNs.\n 2. Improved modular structure for all parts of project including database.
This commit is contained in:
7
static/css/pages/page_admin_home.css
Normal file
7
static/css/pages/page_admin_home.css
Normal file
@@ -0,0 +1,7 @@
|
||||
#pageBody > .card:first-of-type {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.container.row {
|
||||
width: auto;
|
||||
}
|
||||
25
static/css/pages/page_contact.css
Normal file
25
static/css/pages/page_contact.css
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
#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;
|
||||
}
|
||||
*/
|
||||
|
||||
25
static/css/pages/page_home.css
Normal file
25
static/css/pages/page_home.css
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
.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");
|
||||
}
|
||||
*/
|
||||
7
static/css/pages/page_license.css
Normal file
7
static/css/pages/page_license.css
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
.page-body > * {
|
||||
}
|
||||
#pageBody > * :first-child{
|
||||
}
|
||||
#pageBody > * :last-child {
|
||||
}
|
||||
37
static/css/pages/page_services.css
Normal file
37
static/css/pages/page_services.css
Normal file
@@ -0,0 +1,37 @@
|
||||
#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;
|
||||
}
|
||||
*/
|
||||
0
static/css/pages/page_store_home.css
Normal file
0
static/css/pages/page_store_home.css
Normal file
98
static/css/pages/page_store_product_permutations.css
Normal file
98
static/css/pages/page_store_product_permutations.css
Normal file
@@ -0,0 +1,98 @@
|
||||
|
||||
#pageBody > *, button {
|
||||
font-size: min(14px, calc(1vh * 5)) !important;
|
||||
}
|
||||
thead, tbody {
|
||||
padding-top: 0px !important;
|
||||
padding-bottom: 0px !important;
|
||||
}
|
||||
|
||||
th {
|
||||
|
||||
}
|
||||
td {
|
||||
font-size: min(14px, calc(1vh * 5));
|
||||
}
|
||||
|
||||
th, td {
|
||||
min-width: fit-content;
|
||||
}
|
||||
tr:not(:last-child) > td {
|
||||
border-bottom: 1px dashed var(--c_purple_dark);
|
||||
}
|
||||
td > table > tbody > tr > td {
|
||||
border: none !important;
|
||||
}
|
||||
tr {
|
||||
min-height: 1px;
|
||||
border-bottom: 1px solid var(--c_purple_dark);
|
||||
border-top: 1px solid var(--c_purple_dark);
|
||||
padding-bottom: 1vh;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
*/
|
||||
39
static/css/pages/page_store_stock_items.css
Normal file
39
static/css/pages/page_store_stock_items.css
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user