Spaces:
Paused
Paused
FTA7700 commited on
Commit ·
6673166
1
Parent(s): 0311d29
Fix stat-card light-theme leak, scope hover lift to dark; rating row hover gradient
Browse files
web/src/assets/main.css
CHANGED
|
@@ -248,6 +248,18 @@
|
|
| 248 |
background-color: #1b1728;
|
| 249 |
border: 1px solid #ffffff1a;
|
| 250 |
border-radius: 1.5rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
}
|
| 252 |
.card-purple-hover {
|
| 253 |
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
@@ -256,4 +268,12 @@
|
|
| 256 |
background-color: oklch(0.268 0.03 295.8);
|
| 257 |
border-color: oklch(0.85 0.05 300 / 20%);
|
| 258 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 259 |
}
|
|
|
|
| 248 |
background-color: #1b1728;
|
| 249 |
border: 1px solid #ffffff1a;
|
| 250 |
border-radius: 1.5rem;
|
| 251 |
+
transition: transform 0.3s ease;
|
| 252 |
+
}
|
| 253 |
+
.dark .card-flat:hover {
|
| 254 |
+
transform: translateY(-4px);
|
| 255 |
+
}
|
| 256 |
+
.dark .card-flat {
|
| 257 |
+
border-color: transparent;
|
| 258 |
+
box-shadow: 0 0 0 1px oklch(0.65 0.15 30 / 35%) inset;
|
| 259 |
+
background-image:
|
| 260 |
+
radial-gradient(54.44% 97.4% at 54.44% 2.66%, oklch(0.6 0.06 25 / 29%) 0%, oklch(0.45 0.08 25 / 8%) 100%),
|
| 261 |
+
radial-gradient(120% 145% at 50% 100%, oklch(0.65 0.2 35 / 30%) 0%, oklch(0.55 0.2 35 / 4%) 50%);
|
| 262 |
+
background-repeat: no-repeat;
|
| 263 |
}
|
| 264 |
.card-purple-hover {
|
| 265 |
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
|
|
| 268 |
background-color: oklch(0.268 0.03 295.8);
|
| 269 |
border-color: oklch(0.85 0.05 300 / 20%);
|
| 270 |
}
|
| 271 |
+
.rating-row-hover {
|
| 272 |
+
transition: background-image 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
| 273 |
+
}
|
| 274 |
+
.rating-row-hover:hover {
|
| 275 |
+
background-image: linear-gradient(141deg, #077ac71a, #6b21ef1a);
|
| 276 |
+
border-color: transparent;
|
| 277 |
+
box-shadow: 0 0 0 1.5px #6b21ef99;
|
| 278 |
+
}
|
| 279 |
}
|
web/src/components/RatingsOrderList.vue
CHANGED
|
@@ -31,7 +31,7 @@ function getRatingSource(key: string) {
|
|
| 31 |
<div
|
| 32 |
v-for="(key, index) in model"
|
| 33 |
:key="key"
|
| 34 |
-
class="flex items-center gap-2 rounded-md border bg-muted/30
|
| 35 |
:class="[compact ? 'px-1.5 py-1' : 'px-2 py-1.5', { 'opacity-40': isExcluded(key) }]"
|
| 36 |
>
|
| 37 |
<span class="text-muted-foreground text-xs select-none w-4 text-right">{{ index + 1 }}</span>
|
|
|
|
| 31 |
<div
|
| 32 |
v-for="(key, index) in model"
|
| 33 |
:key="key"
|
| 34 |
+
class="flex items-center gap-2 rounded-md border bg-muted/30 rating-row-hover transition-colors"
|
| 35 |
:class="[compact ? 'px-1.5 py-1' : 'px-2 py-1.5', { 'opacity-40': isExcluded(key) }]"
|
| 36 |
>
|
| 37 |
<span class="text-muted-foreground text-xs select-none w-4 text-right">{{ index + 1 }}</span>
|