Skip to content

Commit

Permalink
Move svg into files
Browse files Browse the repository at this point in the history
  • Loading branch information
AsteroidusTv committed May 20, 2024
1 parent 938c4f0 commit 5702aa0
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 6 deletions.
3 changes: 3 additions & 0 deletions images/stars/star-full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions images/stars/star-half.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions images/stars/star.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 8 additions & 6 deletions styles/standard-assets/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}

.standard-card-top-right-button {
height: 60.5px;
height: 62px;
width: 100%;
}

Expand All @@ -52,18 +52,20 @@
margin-right: 6px;
height: 23px;
width: 23px;
background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='transparent' stroke='white' stroke-width='38' d='M259.216 29.942L330.27 173.92l158.89 23.087L374.185 309.08l27.145 158.23-142.114-74.698-142.112 74.698 27.146-158.23L29.274 197.007l158.89-23.088z' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background: url("../../images/stars/star.svg");
font-size: 0;
}

.star-full {
background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='white' stroke='white' stroke-width='38' d='M259.216 29.942L330.27 173.92l158.89 23.087L374.185 309.08l27.145 158.23-142.114-74.698-142.112 74.698 27.146-158.23L29.274 197.007l158.89-23.088z' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
.star-half {
background-image: url("../../images/stars/star-half.svg");
}

.star-half {
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><defs><clipPath id="half-star"><rect width="50%" height="100%" /></clipPath></defs><path fill="white" stroke="white" stroke-width="38" d="M259.216 29.942L330.27 173.92l158.89 23.087L374.185 309.08l27.145 158.23-142.114-74.698-142.112 74.698 27.146-158.23L29.274 197.007l158.89-23.088z" clip-path="url(%23half-star)" stroke-linecap="round" stroke-linejoin="round"/><path fill="transparent" stroke="white" stroke-width="38" d="M259.216 29.942L330.27 173.92l158.89 23.087L374.185 309.08l27.145 158.23-142.114-74.698-142.112 74.698 27.146-158.23L29.274 197.007l158.89-23.088z" stroke-linecap="round" stroke-linejoin="round"/></svg>');
.star-full {
background: url("../../images/stars/star-full.svg");
}



.standart-card-stars-text {
margin-bottom: -10px;
margin-top: 10px;
Expand Down
1 change: 1 addition & 0 deletions styles/standard-assets/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
}

.standard-popup-content.about button {
margin-bottom: 50px;
font-size: 30px;
transform: translateY(200px);
}
Expand Down

0 comments on commit 5702aa0

Please sign in to comment.