* WIP on weekly view for new booker. * Set responsive grid height for booker weekly view. * Fixed types * Ensure you can't click on disabled dates in weekly calendar * CAL-1916: Improvements for blocked out parts background blocks, made the lines connect by using a shared background. * Margin, padding and color tweaks for new booker CAL-1911 * Made week view have more days visible by default * Fix to prevent layout switch from breaking when clicking same layout twice.
18 lines
711 B
TypeScript
18 lines
711 B
TypeScript
import { classNames } from "@calcom/lib";
|
|
|
|
export function BlockedTimeCell() {
|
|
return (
|
|
<div
|
|
className={classNames(
|
|
"group absolute inset-0 flex h-full flex-col hover:cursor-not-allowed",
|
|
"[--disabled-gradient-background:#E5E7EB] [--disabled-gradient-foreground:#D1D5DB] dark:[--disabled-gradient-background:#262626] dark:[--disabled-gradient-foreground:#393939]"
|
|
)}
|
|
style={{
|
|
backgroundColor: "#D1D5DB",
|
|
background:
|
|
"repeating-linear-gradient( -45deg, var(--disabled-gradient-background), var(--disabled-gradient-background) 2.5px, var(--disabled-gradient-foreground) 2.5px, var(--disabled-gradient-foreground) 6.5px )",
|
|
}}
|
|
/>
|
|
);
|
|
}
|