|
@@ -8,24 +8,28 @@
|
|
|
isolation: isolate;
|
|
isolation: isolate;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- min-height: 164px;
|
|
|
|
|
|
|
+ min-height: 184px;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
padding: 23px 26px;
|
|
padding: 23px 26px;
|
|
|
border: 1px solid var(--border);
|
|
border: 1px solid var(--border);
|
|
|
border-radius: 14px;
|
|
border-radius: 14px;
|
|
|
|
|
+ background: #e2e0e1;
|
|
|
color: var(--foreground);
|
|
color: var(--foreground);
|
|
|
box-shadow: var(--shadow-card);
|
|
box-shadow: var(--shadow-card);
|
|
|
}
|
|
}
|
|
|
.work-order-mine-hero-image {
|
|
.work-order-mine-hero-image {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
z-index: 0;
|
|
z-index: 0;
|
|
|
- inset: 0;
|
|
|
|
|
- width: 100%;
|
|
|
|
|
|
|
+ inset: 0 0 0 auto;
|
|
|
|
|
+ width: auto;
|
|
|
|
|
+ max-width: 100%;
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
- object-fit: cover;
|
|
|
|
|
- object-position: center 62%;
|
|
|
|
|
|
|
+ object-fit: contain;
|
|
|
|
|
+ object-position: right center;
|
|
|
|
|
+ mask-image: linear-gradient(to right, transparent, #000 30%);
|
|
|
pointer-events: none;
|
|
pointer-events: none;
|
|
|
}
|
|
}
|
|
|
|
|
+.dark .work-order-mine-hero { background: var(--card); }
|
|
|
.dark .work-order-mine-hero-image { filter: brightness(.37) saturate(.7); }
|
|
.dark .work-order-mine-hero-image { filter: brightness(.37) saturate(.7); }
|
|
|
.work-order-mine-hero-copy { position: relative; z-index: 1; min-width: 0; }
|
|
.work-order-mine-hero-copy { position: relative; z-index: 1; min-width: 0; }
|
|
|
.work-order-mine-hero-copy time { display: flex; align-items: center; gap: 6px; color: var(--primary-soft-foreground); font-size: 12px; font-weight: 600; }
|
|
.work-order-mine-hero-copy time { display: flex; align-items: center; gap: 6px; color: var(--primary-soft-foreground); font-size: 12px; font-weight: 600; }
|
|
@@ -114,10 +118,14 @@
|
|
|
@keyframes work-order-mine-spin { to { rotate: 360deg; } }
|
|
@keyframes work-order-mine-spin { to { rotate: 360deg; } }
|
|
|
}
|
|
}
|
|
|
@media (max-width: 720px) {
|
|
@media (max-width: 720px) {
|
|
|
- .work-order-mine-hero { padding: 19px 17px; }
|
|
|
|
|
|
|
+ .work-order-mine-hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 19px 0 0; }
|
|
|
|
|
+ .work-order-mine-hero-copy { padding-inline: 17px; }
|
|
|
.work-order-mine-hero-image {
|
|
.work-order-mine-hero-image {
|
|
|
- object-position: right 62%;
|
|
|
|
|
- mask-image: linear-gradient(to right, transparent, #000 75%);
|
|
|
|
|
|
|
+ position: static;
|
|
|
|
|
+ order: 1;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: auto;
|
|
|
|
|
+ mask-image: linear-gradient(to bottom, transparent, #000 22%);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
@media (max-width: 480px) {
|
|
@media (max-width: 480px) {
|