Skip to content

Commit

Permalink
Fixed bug with CSS testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tomik-z-cech committed Mar 14, 2024
1 parent 5707b7b commit d2f8a5a
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 29 deletions.
6 changes: 3 additions & 3 deletions profilemanager/templates/profilemanager/my_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h2 class="accordion-header" id="panelsStayOpen-headingOne">
</div>
</div>
<div class="d-flex justify-content-end">
<button type="submit" value="Submit" class="custom-button button-shadow mt-4" id="editSubmit" aria-label="Save details">Save Details</button>
<button type="submit" value="Submit" class="custom-button button-shadow mt-4" aria-label="Save details">Save Details</button>
</div>
</div>
</div>
Expand All @@ -81,7 +81,7 @@ <h2 class="accordion-header" id="panelsStayOpen-headingTwo">
{{ profile_form.post_code|as_crispy_field}}
{{ profile_form.country|as_crispy_field }}
<div class="d-flex justify-content-end">
<button type="submit" value="Submit" class="custom-button button-shadow mt-4" id="editSubmit" aria-label="Save details">Save Details</button>
<button type="submit" value="Submit" class="custom-button button-shadow mt-4" aria-label="Save details">Save Details</button>
</div>
</div>
</div>
Expand All @@ -103,7 +103,7 @@ <h2 class="accordion-header" id="panelsStayOpen-headingThree">
</div>
</div>
<div class="d-flex justify-content-end w-100">
<button type="submit" value="Submit" class="custom-button button-shadow mt-4" id="editSubmit" aria-label="Save details">Save Details</button>
<button type="submit" value="Submit" class="custom-button button-shadow mt-4" aria-label="Save details">Save Details</button>
</div>
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions static/css/items.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,24 +61,24 @@
}

.category-container {
scale: 1;
transition: scale 0.5s ease-in-out;
transform: scale(1.0);
transition: transform 0.5s ease-in-out;
}

.category-container:hover {
scale: 1.1;
transform: scale(1.1);
}

.product-container {
background-color: var(--dark-background);
height: 100%;
scale: 1;
transition: scale 0.5s ease-in-out, border 0.5s ease-in-out;
transform: scale(1.0);
transition: transform 0.5s ease-in-out, border 0.5s ease-in-out;
border: 1px solid var(--dark-foreground);
}

.product-container:hover {
scale: 1.05;
transform: scale(1.05);
border: 1px solid var(--light-highlight);
}

Expand Down
6 changes: 3 additions & 3 deletions static/css/landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@

@keyframes free-shipping-change {
0% {
scale: 1.0;
transform: scale(1.0);
color: var(--light-foreground);
}
50% {
scale: 1.1;
transform: scale(1.1);
color: var(--light-highlight);
}
100% {
scale: 1.0;
transform: scale(1.0);
color: var(--light-foreground);
}
}
Expand Down
15 changes: 15 additions & 0 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,21 @@ p, th {
height: 100%;
}

/* --------------- OWNER ERROR COVER ------------- */

#owner-error-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--light-background);
align-items: center;
justify-content: center;
z-index: 999;
display: none;
}


/** ------------------------------- FORMS ---------------------------- **/

Expand Down
14 changes: 0 additions & 14 deletions static/css/owner.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,20 +149,6 @@
border-radius: 0px!important;
}

#owner-error-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--light-background);
display: flex;
align-items: center;
justify-content: center;
z-index: 999;
display: none;
}

.owner-error-text {
color: var(--light-foreground);
font-size: 150%;
Expand Down
6 changes: 3 additions & 3 deletions static/css/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
}

.category-container {
scale: 1;
transition: scale 0.5s ease-in-out;
transform: scale(1.0);
transition: transform 0.5s ease-in-out;
}

.category-container:hover {
scale: 1.1;
transform: scale(1.1);
}

.category-heading {
Expand Down

0 comments on commit d2f8a5a

Please sign in to comment.