Skip to content

Commit

Permalink
Update CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
agatemosu committed Jul 24, 2024
1 parent e90348e commit c1f90f2
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions styles/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
border: none;
border-radius: 3px;
background-color: var(--buttons-color);
padding-block: 7px;
min-width: 100px;
min-height: 30px;
color: var(--button-text);
}

Expand Down Expand Up @@ -42,6 +42,6 @@ input[type="checkbox"] {
}

input[type="checkbox"]:checked + label::before {
background-image: url("/assets/check.svg");
background-image: url("../assets/check.svg");
background-color: var(--button-hover);
}
7 changes: 5 additions & 2 deletions styles/export.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.export-container {
display: flex;
position: fixed;
top: 50%;
left: 50%;
flex-direction: column;
transform: translate(-50%, -50%);
opacity: 0;
z-index: 2;
Expand All @@ -11,6 +13,7 @@
background-color: var(--white);
padding: 20px;
width: 100%;
max-height: calc(100dvh - 50px);
pointer-events: none;
}

Expand All @@ -20,7 +23,6 @@
}

.exported-image-container {
max-height: 512px;
overflow-y: auto;
}

Expand All @@ -37,7 +39,8 @@

.export-button-container button {
margin: 0;
padding: 10px 15px;
border-radius: 5px;
padding: 10px 20px;
}

@media (width >= 786px) {
Expand Down
3 changes: 1 addition & 2 deletions styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ body {

.tier {
flex-grow: 1;
border-top: 1px solid var(--black);
border-bottom: 1px solid var(--black);
border-block: 1px solid var(--black);
background-color: var(--tier-bg);
}

Expand Down
2 changes: 1 addition & 1 deletion styles/square-img.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.image {
.tier-element {
background-position: center;
background-size: cover;
width: 80px;
Expand Down
5 changes: 3 additions & 2 deletions styles/tier-label.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
display: flex;
position: relative;
align-items: center;
transition: background-color 300ms;
transition-duration: 300ms;
transition-property: background-color, color;
border: 1px solid var(--black);
width: 100px;
min-height: 80px;
Expand All @@ -13,7 +14,7 @@
border: 1px solid var(--white);
}

p {
.tier-label p {
margin: 6px 2px;
width: 96px;
text-align: center;
Expand Down
3 changes: 1 addition & 2 deletions styles/tier-options.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
.tier-options {
display: flex;
align-items: center;
border-top: 1px solid var(--option-borders);
border-bottom: 1px solid var(--option-borders);
border-block: 1px solid var(--option-borders);
background-color: var(--black);
width: 80px;
}
Expand Down

0 comments on commit c1f90f2

Please sign in to comment.