T0KII's picture
on point aesthetic change
f85b485
Raw
History Blame Contribute Delete
4.21 kB
main {
display: flex;
align-items: center;
flex-direction: column;
}
p {
margin: 0px;
}
body {
background-color: #f0f0f0;
color: #333;
}
a {
color: #0366d6;
}
code {
color: #E01A76;
}
.btn-primary {
color: #fff;
background-color: #1b6ec2;
border-color: #1861ac;
}
.items-not-ranked {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 20px;
border: 2px dashed transparent;
border-radius: 16px;
transition: all 0.3s ease;
min-height: 120px;
}
.items-not-ranked.drag-over {
border-color: #0066cc;
background-color: rgba(0, 102, 204, 0.05);
}
.unranked-cell {
position: relative;
margin-left: 10px;
margin-right: 10px;
margin-bottom: 10px;
border-radius: 12px;
overflow: hidden;
transition: all 0.3s ease;
border: 2px solid transparent;
}
.unranked-cell:hover {
transform: translateY(-4px);
box-shadow: 0 8px 16px rgba(0,0,0,0.15);
border-color: #0066cc;
}
.delete-item-btn {
position: absolute;
top: 5px;
right: 5px;
width: 28px;
height: 28px;
border-radius: 50%;
background: rgba(220, 53, 69, 0.9);
color: white;
border: none;
cursor: pointer;
font-size: 20px;
font-weight: bold;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
opacity: 0;
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.unranked-cell:hover .delete-item-btn {
opacity: 1;
}
.delete-item-btn:hover {
background: rgba(220, 53, 69, 1);
transform: scale(1.1);
box-shadow: 0 4px 10px rgba(220, 53, 69, 0.4);
}
.unranked-cell img {
width: 100%;
height: 100px;
object-fit: fill;
}
.rankings {
width: auto;
display: flex;
flex-direction: column;
justify-content: space-around;
margin-bottom: 20px;
}
/* Changed to match component className */
.rank-row {
height: 200px;
display: flex;
justify-content: space-around;
border: 2.5px solid grey;
background-color: rgb(35, 35, 32);
margin-bottom: 5px;
}
/* Changed from .row-cell to .rank-cell */
.rank-cell {
width: 120px; /* Matches component width */
height: 200px; /* Matches component height */
display: flex;
align-items: center;
justify-content: center;
}
/* Added for tier labels */
.row-label {
width: 150px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-radius: 0;
font-weight: 600;
}
/* Updated tier selectors to target .rank-cell */
.top-tier .row-label {
background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
color: #000;
}
.middle-tier .row-label {
background: linear-gradient(135deg, #87CEEB 0%, #5F9EA0 100%);
color: #000;
}
.bottom-tier .row-label {
background: linear-gradient(135deg, #90EE90 0%, #7CB342 100%);
color: #000;
}
.worst-tier .row-label {
background: linear-gradient(135deg, #FF4500 0%, #D84315 100%);
color: #000;
}
/* Image adjustments */
.rank-cell img {
width: 100%;
height: 100px; /* Matches component image height */
object-fit: contain;
}
/* Keep existing button styles below */
.reload {
align-items: center;
appearance: none;
background-color: #fff;
border: 1px solid #dbdbdb;
border-radius: .375em;
box-shadow: none;
box-sizing: border-box;
color: #363636;
cursor: pointer;
display: inline-flex;
font-family: BlinkMacSystemFont,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 1rem;
height: 2.5em;
justify-content: center;
line-height: 1.5;
padding: calc(.5em - 1px) 1em;
position: relative;
text-align: center;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
vertical-align: top;
white-space: nowrap;
}
.reload:active {
border-color: #4a4a4a;
outline: 0;
}
.reload:focus {
border-color: #485fc7;
outline: 0;
}
.reload:hover {
border-color: #b5b5b5;
}
.reload:focus:not(:active) {
box-shadow: rgba(72, 95, 199, .25) 0 0 0 .125em;
}