Berth Occupancy
CSSA container vessel silhouette glides alongside a designated berth line while three technical cargo bay progress bars register loading.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Data and progress
- Use cases
- Determinate progress, Dashboards and reporting
- Industries
- Logistics and supply chain
- Style
- Technical · light stroke
- Set
- yard
- Tags
- barsprogressminimal
Companion assets
The same artwork, not animated. Derived from the entry’s own resting state, so it matches exactly.
Code
animation.svg
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="pulsar pulsar-yard-berth-occupancy" data-pulsar="yard-berth-occupancy" viewBox="0 0 160 96"><line x1="24" x2="136" y1="36" y2="36" stroke-width="2" opacity=".4"></line><line x1="40" x2="40" y1="32" y2="36" stroke-width="1.5" opacity=".5"></line><line x1="80" x2="80" y1="32" y2="36" stroke-width="1.5" opacity=".5"></line><line x1="120" x2="120" y1="32" y2="36" stroke-width="1.5" opacity=".5"></line><g class="vessel"><path fill="currentColor" fill-opacity=".1" stroke-width="1.5" d="M36 44h80l8 10H44Z"></path><rect width="16" height="5" x="48" y="46" fill="var(--pulsar-accent, currentColor)" class="v-bay b1" rx="1"></rect><rect width="16" height="5" x="70" y="46" fill="var(--pulsar-accent, currentColor)" class="v-bay b2" rx="1"></rect><rect width="16" height="5" x="92" y="46" fill="var(--pulsar-accent, currentColor)" class="v-bay b3" rx="1"></rect></g></svg>
animation.css
.pulsar-yard-berth-occupancy {
display: block;
overflow: visible;
}
.pulsar-yard-berth-occupancy .vessel {
animation: yard-berth-occupancy-vessel 4000ms ease-in-out infinite;
}
.pulsar-yard-berth-occupancy .v-bay.b1 {
animation: yard-berth-occupancy-b1 4000ms ease-in-out infinite;
}
.pulsar-yard-berth-occupancy .v-bay.b2 {
animation: yard-berth-occupancy-b2 4000ms ease-in-out infinite;
}
.pulsar-yard-berth-occupancy .v-bay.b3 {
animation: yard-berth-occupancy-b3 4000ms ease-in-out infinite;
}
@keyframes yard-berth-occupancy-vessel {
0% {
transform: translateX(-16px);
opacity: 0.6;
}
30%,
80% {
transform: translateX(0);
opacity: 1;
}
100% {
transform: translateX(16px);
opacity: 0;
}
}
@keyframes yard-berth-occupancy-b1 {
0%,
30% {
opacity: 0.2;
}
40%,
80% {
opacity: 1;
}
95%,
100% {
opacity: 0.2;
}
}
@keyframes yard-berth-occupancy-b2 {
0%,
45% {
opacity: 0.2;
}
55%,
80% {
opacity: 1;
}
95%,
100% {
opacity: 0.2;
}
}
@keyframes yard-berth-occupancy-b3 {
0%,
60% {
opacity: 0.2;
}
70%,
80% {
opacity: 1;
}
95%,
100% {
opacity: 0.2;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-yard-berth-occupancy .vessel,
.pulsar-yard-berth-occupancy .v-bay.b1,
.pulsar-yard-berth-occupancy .v-bay.b2,
.pulsar-yard-berth-occupancy .v-bay.b3 {
animation: none;
transform: none;
opacity: 1;
stroke-dashoffset: 0;
}
}