File size: 4,213 Bytes
6f7ef5c
 
 
 
 
 
 
 
 
 
5d4f61b
 
 
 
 
6f7ef5c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f85b485
 
 
 
 
 
 
 
 
 
6f7ef5c
 
 
f85b485
6f7ef5c
 
 
f85b485
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6f7ef5c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f85b485
6f7ef5c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f85b485
 
6f7ef5c
 
 
 
f85b485
6f7ef5c
 
 
 
f85b485
6f7ef5c
 
 
 
f85b485
6f7ef5c
 
 
 
f85b485
6f7ef5c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
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;
}