Merge pull request #71 from jedmund/fix-69
Fix #69: Uncap stars were too small and getting cut off
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
BIN
public/icons/uncap/blue-hover.png
Normal file
|
After Width: | Height: | Size: 667 B |
BIN
public/icons/uncap/blue-hover@2x.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
public/icons/uncap/blue-hover@3x.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
public/icons/uncap/blue.png
Normal file
|
After Width: | Height: | Size: 663 B |
BIN
public/icons/uncap/blue@2x.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
public/icons/uncap/blue@3x.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
public/icons/uncap/empty-hover.png
Normal file
|
After Width: | Height: | Size: 630 B |
BIN
public/icons/uncap/empty-hover@2x.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
public/icons/uncap/empty-hover@3x.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
public/icons/uncap/empty.png
Normal file
|
After Width: | Height: | Size: 597 B |
BIN
public/icons/uncap/empty@2x.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/icons/uncap/empty@3x.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
public/icons/uncap/purple-hover.png
Normal file
|
After Width: | Height: | Size: 668 B |
BIN
public/icons/uncap/purple-hover@2x.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
public/icons/uncap/purple-hover@3x.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
public/icons/uncap/purple.png
Normal file
|
After Width: | Height: | Size: 665 B |
BIN
public/icons/uncap/purple@2x.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
public/icons/uncap/purple@3x.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
public/icons/uncap/red-hover.png
Normal file
|
After Width: | Height: | Size: 661 B |
BIN
public/icons/uncap/red-hover@2x.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
public/icons/uncap/red-hover@3x.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
BIN
public/icons/uncap/red.png
Normal file
|
After Width: | Height: | Size: 654 B |
BIN
public/icons/uncap/red@2x.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
public/icons/uncap/red@3x.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
BIN
public/icons/uncap/yellow-hover.png
Normal file
|
After Width: | Height: | Size: 667 B |
BIN
public/icons/uncap/yellow-hover@2x.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
public/icons/uncap/yellow-hover@3x.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
public/icons/uncap/yellow.png
Normal file
|
After Width: | Height: | Size: 659 B |
BIN
public/icons/uncap/yellow@2x.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
public/icons/uncap/yellow@3x.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |