Merge pull request #71 from jedmund/fix-69

Fix #69: Uncap stars were too small and getting cut off
This commit is contained in:
Justin Edmund 2022-12-27 10:41:23 -08:00 committed by GitHub
commit 0e2e86a81e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 25 additions and 19 deletions

View file

@ -1,20 +1,13 @@
.UncapStar {
$size: 18px;
@media (max-width: $tablet) {
$size: 12px;
}
background-repeat: no-repeat;
background-size: $size;
display: block;
height: $size;
width: $size;
@media (min-width: $laptop) {
&:hover {
transform: scale(1.2);
}
&:hover {
transform: scale(1.2);
}
&.empty,
@ -22,42 +15,55 @@
&.empty.flb,
&.empty.ulb,
&.empty.special {
background-image: url('/icons/uncap/empty.svg');
background-image: url('/icons/uncap/empty@3x.png');
&:hover {
background-image: url('/icons/uncap/empty-hover.svg');
background-image: url('/icons/uncap/empty-hover@3x.png');
}
}
&.mlb {
background-image: url('/icons/uncap/yellow.svg');
background-image: url('/icons/uncap/yellow@3x.png');
&:hover {
background-image: url('/icons/uncap/yellow-hover.svg');
background-image: url('/icons/uncap/yellow-hover@3x.png');
}
}
&.special {
background-image: url('/icons/uncap/red.svg');
background-image: url('/icons/uncap/red@3x.png');
&:hover {
background: url('/icons/uncap/red-hover.svg');
background: url('/icons/uncap/red-hover@3x.png');
}
}
&.flb {
background-image: url('/icons/uncap/blue.svg');
background-image: url('/icons/uncap/blue@3x.png');
&:hover {
background: url('/icons/uncap/blue-hover.svg');
background-image: url('/icons/uncap/blue-hover@3x.png');
}
}
&.ulb {
background-image: url('/icons/uncap/purple.svg');
background-image: url('/icons/uncap/purple@3x.png');
&:hover {
background-image: url('/icons/uncap/purple-hover.svg');
background-image: url('/icons/uncap/purple-hover@3x.png');
}
}
}
// Phone up to iPhone 14 Pro Max
@media only screen and (max-width: 430px) and (max-height: 850px) and (-webkit-device-pixel-ratio: 3) {
.UncapStar {
background-size: cover;
height: 14px;
width: 14px;
&:hover {
transform: scale(1);
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
public/icons/uncap/blue.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 661 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

BIN
public/icons/uncap/red.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB