Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

20.1 KB
Raw Blame
@import "@radix-ui/colors/red.css";
@import "@radix-ui/colors/red-dark.css";
@import "@radix-ui/colors/gray.css";
@import "@radix-ui/colors/gray-alpha.css";
@import "@radix-ui/colors/gray-dark.css";
@import "@radix-ui/colors/blue.css";

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
	--primary: #005cb1;
	--primary-2: #004c93;
	--primary-3: #003b73;
	--secondary: #2eb4ff;
	--secondary-2: #1696e0;
	--secondary-3: #117ebd;
	--tertiary: #c5eaff;
	--tertiary-2: #d3e5ff;
	--tertiary-3: #e0edff;
	--filler: #efefef;
	--filler-2: #e4e4e4;
	--filler-3: #e2e2e2;
	--filler-txt: #b3b3b3;
	--text-primary: #0d1b2a;
	--text-secondary: #ffffff;
	--shadow-gray-11: hsl(0, 0%, 13%);
	--header-height: 80px;
	--vh100-offset: calc(100vh - var(--header-height));
	--foreground-rgb: #000000;
	--background-start-rgb: 214, 219, 220;
	--background-end-rgb: 255, 255, 255;
	--gradient-border-radius: 12px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--foreground-rgb: #ffffff;
		--background-start-rgb: 0, 0, 0;
		--background-end-rgb: 0, 0, 0;
	}
}

body {
	overflow-x: hidden;
}

body,
html {
	color: #000000;
	background-color: #f2f2f2;
}
.dashboard-grid {
	display: grid;
	grid-template-columns: auto 1fr 1fr;
	grid-template-areas:
		"sidebar main main"
		"sidebar main main";
	height: 100dvh;
	width: 100vw;
	min-height: 100dvh;
}

.dashboard-grid {
	display: grid;
	grid-template-columns: auto 1fr 1fr;
	grid-template-areas:
		"sidebar main main"
		"sidebar main main";
	height: 100dvh;
	width: 100vw;
	min-height: 100dvh;
}

.left-perspective {
	transform: scale(1.2) rotateX(47deg) rotateY(31deg) rotate(324deg);
}

::-webkit-scrollbar {
	width: 4px;
	height: 4px;
}

/* Track */
::-webkit-scrollbar-track {
	border-radius: 10px;
}

::-webkit-scrollbar-thumb {
	background: var(--gray-7);
	border-radius: 10px;
}

.dark .dark-button-shadow {
	box-shadow: 0 1.5px 0 0 rgba(0, 0, 0, 0.1) inset;
}

.dark-button-shadow {
	box-shadow: 0 1.5px 0 0 rgba(255, 255, 255, 0.2) inset;
}

.dark .gray-button-shadow {
	box-shadow: 0 1.5px 0 0 rgba(255, 255, 255, 0.1) inset;
}

.dark .gray-button-border {
	@apply border-gray-2;
}

.gray-button-border {
	@apply border-gray-8;
}

.dark .dark-button-border {
	@apply border-gray-2;
}

.dark-button-border {
	@apply border-gray-12;
}

.gray-button-shadow {
	box-shadow: 0 1.5px 0 0 rgba(255, 255, 255, 0.4) inset;
}

.dark ::selection {
	background: #ffffff;
	color: #000000;
}

::selection {
	background: #000000;
	color: #ffffff;
}

.wrapper {
	@apply mx-auto w-[92%] max-w-screen-2xl;
}

.wrapper-max {
	@apply max-w-screen-2xl;
}

.wrapper-sm {
	@apply max-w-5xl;
}

.prose
	:where(blockquote p:first-of-type):not(
		:where([class~="not-prose"], [class~="not-prose"] *)
	)::before {
	content: "“";
	display: none;
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

* {
	min-width: 0;
	min-height: 0;
}

.text-primary {
	color: var(--primary);
}

a.text-primary:hover {
	color: var(--primary-2);
}

.text-secondary {
	color: var(--secondary);
}

a.text-secondary:hover {
	color: var(--secondary-2);
}

a.bg-primary:hover {
	background-color: var(--primary-2);
}

.bg-dark {
	background-color: var(--secondary-3);
}

.bg-gradient {
	@apply bg-gradient-to-r transition-all duration-300 from-secondary-2 to-secondary-3;
}

.bg-gradient:hover {
	@apply bg-gradient-to-r from-secondary to-secondary-3;
}

.bg-animated {
	content: "";
	background: linear-gradient(60deg, var(--primary), var(--secondary));
	animation: animatedgradient 2s ease infinite;
	background-size: 300% 300%;
}

.animated-yaxis {
	animation: animatedyaxis 6s ease infinite forwards;
}

.TooltipContent[data-side="left"] {
	animation: slideLeft 0.2s ease-out;
}

.TooltipContent[data-side="right"] {
	animation: slideRight 0.2s ease-out;
}

.TooltipContent[data-side="top"] {
	animation: slideUp 0.2s ease-out;
}

.TooltipContent[data-side="bottom"] {
	animation: slideDown 0.2s ease-out;
}

.TooltipContent {
	transform-origin: var(--radix-tooltip-content-transform-origin);
}

@keyframes slideRight {
	from {
		opacity: 0;
		transform: translateX(-10px);
	}
	to {
		transform: translateX(0px);
		opacity: 1;
	}
}

/* SVG path animation */

@keyframes svgpathframes {
	0% {
		stroke-dasharray: 100;
		stroke-dashoffset: 100;
	}
	50% {
	}
	100% {
		stroke-dashoffset: 0;
	}
}

.svgpathanimation {
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	animation: svgpathframes 0.5s ease-in-out forwards;
}

.svgpathanimationrepeat {
	animation: svgpathframes 0.5s ease-in-out forwards;
	animation-iteration-count: infinite;
}

@keyframes slideLeft {
	from {
		opacity: 0;
		transform: translateX(10px);
	}
	to {
		transform: translateX(0px);
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}
	to {
		transform: translateY(0px);
		opacity: 1;
	}
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
	to {
		transform: translateY(0px);
		opacity: 1;
	}
}

.button-gradient-border::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: var(--gradient-border-radius);
	background: linear-gradient(to bottom, #ffffff40 70%, #ffffff00 100%);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

@media all and (max-width: 1024px) {
	.dashboard-grid {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		grid-template-areas:
			"main"
			"main";
	}
}

@media (prefers-color-scheme: dark) {
	body,
	html {
		color: #000000;
	}
}

h1,
h2,
h3,
h4,
h5 {
	@apply font-normal tracking-normal text-[1.75rem] leading-[2.5rem] md:text-[2.5rem] md:leading-[3.25rem];
}

a,
p,
span,
input,
label,
button {
	@apply tracking-normal leading-[1.5rem];
}

a {
	@apply transition-all;
}

nav ul {
	@apply list-none;
}

nav.mobile a {
	@apply flex w-full;
}

label {
	@apply block text-sm font-semibold text-left;
}

.play-button-outer-border::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: 100px;
	background: linear-gradient(to bottom, #fff, transparent 100%);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.inner-play-button-border-two::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: 100px;
	background: linear-gradient(to bottom, #446fae 20%, transparent 90%);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.inner-play-button-border::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: 100px;
	background: linear-gradient(to bottom, #fff 10%, transparent 50%);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
}

.muted-custom-bg {
	background: radial-gradient(
		50.01% 50.01% at 53.53% 49.99%,
		var(--tertiary-3) 4.65%,
		var(--tertiary-3) 68.48%,
		#ffffff 100%
	);
}

.muted-custom-bg-2 {
	background: radial-gradient(
		50.01% 50.01% at 53.53% 49.99%,
		var(--tertiary-2) 4.65%,
		var(--tertiary) 68.48%,
		#ffffff 100%
	);
}

.theme-transition {
	transition: background-color 0.5s ease-in-out;
}

/* View Transitions for theme switching */
/* Icon animations */
@keyframes rotate-sun {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes rotate-moon {
	from {
		transform: rotate(-360deg);
	}
	to {
		transform: rotate(0deg);
	}
}

::view-transition-old(theme-icon) {
	animation:
		0.5s cubic-bezier(0.4, 0, 0.2, 1) both fade-out,
		0.5s cubic-bezier(0.4, 0, 0.2, 1) both rotate-sun;
}

::view-transition-new(theme-icon) {
	animation:
		0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both fade-in,
		0.5s cubic-bezier(0.4, 0, 0.2, 1) both rotate-moon;
}

/* Wipe effect for the entire theme change */
@keyframes wipe-in-right {
	from {
		clip-path: inset(0 100% 0 0);
	}
	to {
		clip-path: inset(0 0 0 0);
	}
}

@keyframes wipe-out-left {
	from {
		clip-path: inset(0 0 0 0);
	}
	to {
		clip-path: inset(0 0 0 100%);
	}
}

::view-transition-old(root) {
	animation: 0.7s cubic-bezier(0.4, 0, 0.2, 1) both wipe-out-left;
}

::view-transition-new(root) {
	animation: 0.7s cubic-bezier(0.4, 0, 0.2, 1) both wipe-in-right;
}

@keyframes fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fade-out {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

.view-transition-theme-icon {
	view-transition-name: theme-icon;
}

::view-transition-group(root) {
	animation-duration: 0.7s;
}

.styled-links a {
	@apply font-semibold underline;
}

.absolute-middle {
	@apply absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2;
}

.fade-in-down {
	animation: fadeInDown 1s forwards;
	opacity: 0;
}

/* .fade-in {
  animation: fadeIn 1s forwards;
  opacity: 0;
} */

.fade-in-up {
	animation: fadeInUp 1s forwards;
	opacity: 0;
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		transform: translateY(0px);
		opacity: 1;
	}
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		transform: translateY(0px);
		opacity: 1;
	}
}

.animate-delay-1 {
	animation-delay: 0.3s;
}

.dl-ink {
	filter: var(--dl-boil);
}

.dl-ink path {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	vector-effect: non-scaling-stroke;
}

.dl-ink-loop {
	stroke-width: 1.6px;
	animation: dl-ink-draw 0.85s cubic-bezier(0.55, 0.1, 0.25, 1) 0.45s forwards;
}

.dl-ink-spark {
	stroke-width: 1.6px;
	animation: dl-ink-draw 0.22s ease-out forwards;
}

.dl-ink-underline {
	stroke-width: 2px;
	animation: dl-ink-draw 0.7s cubic-bezier(0.55, 0.1, 0.25, 1) 1.35s forwards;
}

@keyframes dl-ink-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dl-ink path {
		animation: none;
		stroke-dashoffset: 0;
	}

	.dl-ink {
		filter: none;
	}
}

.animate-delay-2 {
	animation-delay: 0.6s;
}

.animate-delay-3 {
	animation-delay: 1.2s;
}

.page-intro {
	@apply space-y-3;
}

.page-intro h1 {
	@apply text-3xl sm:text-4xl lg:text-6xl fade-in-down;
}

.page-intro p {
	@apply mx-auto max-w-2xl text-base fade-in-down animate-delay-1 sm:text-xl;
}

/*
.embossed {
  @apply bg-white-a12 border-2 border-filler-3 relative w-[320px] max-w-full min-h-[60px] rounded-xl z-10;
}

.embossed button {
  width: 100%;
} */

.dashboard-page {
	@apply flex flex-col flex-1 items-stretch;
}

.dashboard-header {
	@apply flex justify-between items-center mb-4 space-y-2;
}

.dashboard-header.has-title {
	@apply pb-4 border-b border-filler;
}

.dashboard-header p {
	@apply text-lg;
}

/* Stops slot tags from being styled in dashboard, causing weird layout issues */
slot:not(.dashboard-layout slot) {
	display: block;
}

.dashboard-layout {
	@apply bg-gray-50;
}

.hide-scroll::-webkit-scrollbar {
	display: none;
}
/* Custom scrollbar */
.custom-scroll {
	overflow-y: auto;
	scrollbar-gutter: stable;
}

/* Fallback for scrollbar-gutter */
@supports not (scrollbar-gutter: stable) {
	.custom-scroll {
		padding-right: 3px; /* Reserve space for scrollbar */
	}
}
.custom-scroll::-webkit-scrollbar {
	width: 3px;
	background-color: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
	@apply bg-gray-7 w-[3px] rounded-full;
}

#scrolling-section slot {
	display: block;
}

.shadow-recording-btn {
	--tw-shadow:
		0px 0px 15px rgba(247, 74, 58, 0.2), 0px 0px 6px rgba(247, 74, 58, 0.1);
	--tw-shadow-colored:
		0px 0px 15px var(--tw-shadow-color), 0px 0px 6px var(--tw-shadow-color);
}

.shadow-active-clip,
.shadow-recording-button {
	box-shadow:
		var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
		var(--tw-shadow);
}

.group:enabled .group-enabled\:hover\:shadow-recording-heavy-button:hover {
	--tw-shadow:
		0px 0px 15px rgba(247, 74, 58, 0.4), 0px 0px 6px rgba(247, 74, 58, 0.2);
	--tw-shadow-colored:
		0px 0px 15px var(--tw-shadow-color), 0px 0px 6px var(--tw-shadow-color);
	box-shadow:
		var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
		var(--tw-shadow);
}

.resize-handle {
	display: none;
}

.rnd:hover .resize-handle {
	display: block;
}

.crosshair {
	display: none;
}

body.react-draggable-transparent-selection .crosshair {
	display: block;
}

@keyframes wobble {
	0% {
		transform: rotate(-3deg) scale(1.05);
	}
	10% {
		transform: rotate(3deg) scale(1.05);
	}
	20% {
		transform: rotate(-3deg) scale(1.05);
	}
	30% {
		transform: rotate(3deg) scale(1.05);
	}
	40% {
		transform: rotate(-2deg) scale(1.05);
	}
	50% {
		transform: rotate(2deg) scale(1.05);
	}
	60% {
		transform: rotate(-1deg) scale(1.05);
	}
	70% {
		transform: rotate(1deg) scale(1.05);
	}
	80% {
		transform: rotate(-1deg) scale(1.05);
	}
	90% {
		transform: rotate(1deg) scale(1.05);
	}
	100% {
		transform: rotate(-3deg) scale(1.05);
	}
}

.wobble {
	animation: wobble 2.5s infinite linear;
}

footer ul {
	@apply p-0 list-none;
}

footer h3 {
	@apply text-xl font-semibold !important;
}

footer a {
	@apply text-base text-gray-700 hover:text-black hover:underline;
}

.legal-body p,
.legal-body li {
	@apply text-[16px] my-3;
}

.legal-body h3 {
	@apply mt-6 text-2xl font-semibold;
}

/* Logo Marquee Animation */
@keyframes marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.read-more-transition {
	transition:
		max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-marquee {
	animation: marquee 30s linear infinite;
	min-width: max-content;
}

.prose:not(.prose-sm) p,
.prose:not(.prose-sm) li,
.prose:not(.prose-sm) a {
	@apply tracking-normal font-normal text-[1.125rem] leading-[1.75rem] !important;
}

.prose:not(.prose-sm) p,
.prose:not(.prose-sm) li {
	@apply text-gray-12 !important;
}

.prose .not-prose p,
.prose .not-prose li,
.prose .not-prose a {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

/* Links inside a post's charts take the size of the text around them. */
.prose .chart-figure a {
	font-size: inherit !important;
	line-height: inherit !important;
	font-weight: inherit !important;
}

/* react-tweet embeds in a post: put back X's own sizes over the forced prose ones. */
.prose .x-embed p {
	font-size: var(--tweet-body-font-size) !important;
	font-weight: var(--tweet-body-font-weight) !important;
	line-height: var(--tweet-body-line-height) !important;
	letter-spacing: normal !important;
	color: inherit !important;
}

.prose .x-embed a {
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	letter-spacing: normal !important;
}

.new-card-style {
	background: #ffffff;
	border: 1px solid #e7eaf0;
	box-shadow: 0px 8px 16px rgba(18, 22, 31, 0.04);
	border-radius: 20px;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-slideUp {
	animation: slideUp 0.3s ease-out forwards;
}

@keyframes ai-title-shimmer {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(100%);
	}
}

@keyframes ai-title-skeleton-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes ai-title-skeleton-out {
	0%,
	55% {
		clip-path: inset(0 0 0 0);
	}
	100% {
		clip-path: inset(0 0 0 100%);
	}
}

.ai-title-skeleton {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: 0.5rem;
	background: var(--gray-3);
	opacity: 1;
	pointer-events: none;
	animation:
		ai-title-skeleton-in 0.16s ease-out both,
		ai-title-skeleton-out 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ai-title-skeleton::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		transparent 20%,
		var(--gray-5) 45%,
		var(--gray-6) 50%,
		var(--gray-5) 55%,
		transparent 80%
	);
	animation: ai-title-shimmer 1s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	.ai-title-skeleton {
		display: none;
	}
}

.media-player video::-webkit-media-text-track-display {
	@apply !bottom-12 !top-auto !mb-0;
}

.media-player[data-controls-visible] video::-webkit-media-text-track-display {
	@apply !bottom-20;
}

.media-player[data-state="fullscreen"][data-controls-visible]
	video::-webkit-media-text-track-display {
	@apply !bottom-20;
}

/* Firefox support */
.media-player video::cue {
	position: relative;
	bottom: 64px;
}

.media-player[data-controls-visible] video::cue {
	bottom: 64px;
}

.media-player[data-state="fullscreen"][data-controls-visible] video::cue {
	bottom: 64px;
}

/* Safari-specific styles using CSS hacks */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
	_::-webkit-full-page-media,
	_:future,
	:root #video-container {
		height: calc(100% - 1.7rem);
	}
}

@layer base {
	:root {
		--background: 0 0% 100%;
		--foreground: 224 71.4% 4.1%;
		--card: 0 0% 100%;
		--card-foreground: 224 71.4% 4.1%;
		--popover: 0 0% 100%;
		--popover-foreground: 224 71.4% 4.1%;
		--primary: 220.9 39.3% 11%;
		--primary-foreground: 210 20% 98%;
		--secondary: 220 14.3% 95.9%;
		--secondary-foreground: 220.9 39.3% 11%;
		--muted: 220 14.3% 95.9%;
		--muted-foreground: 220 8.9% 46.1%;
		--accent: 220 14.3% 95.9%;
		--accent-foreground: 220.9 39.3% 11%;
		--destructive: 0 84.2% 60.2%;
		--destructive-foreground: 210 20% 98%;
		--border: 220 13% 91%;
		--input: 220 13% 91%;
		--ring: 224 71.4% 4.1%;
		--chart-1: 12 76% 61%;
		--chart-2: 173 58% 39%;
		--chart-3: 197 37% 24%;
		--chart-4: 43 74% 66%;
		--chart-5: 27 87% 67%;
		--radius: 0.5rem;
	}
	.dark {
		--background: 224 71.4% 4.1%;
		--foreground: 210 20% 98%;
		--card: 224 71.4% 4.1%;
		--card-foreground: 210 20% 98%;
		--popover: 224 71.4% 4.1%;
		--popover-foreground: 210 20% 98%;
		--primary: 210 20% 98%;
		--primary-foreground: 220.9 39.3% 11%;
		--secondary: 215 27.9% 16.9%;
		--secondary-foreground: 210 20% 98%;
		--muted: 215 27.9% 16.9%;
		--muted-foreground: 217.9 10.6% 64.9%;
		--accent: 215 27.9% 16.9%;
		--accent-foreground: 210 20% 98%;
		--destructive: 0 62.8% 30.6%;
		--destructive-foreground: 210 20% 98%;
		--border: 215 27.9% 16.9%;
		--input: 215 27.9% 16.9%;
		--ring: 216 12.2% 83.9%;
		--chart-1: 220 70% 50%;
		--chart-2: 160 60% 45%;
		--chart-3: 30 80% 55%;
		--chart-4: 280 65% 60%;
		--chart-5: 340 75% 55%;
	}
}

@layer base {
	* {
		@apply border-border;
	}
	body {
		@apply bg-background text-foreground;
	}
}

.messenger-markdown > :first-child {
	margin-top: 0;
}

.messenger-markdown > :last-child {
	margin-bottom: 0;
}

/*
 * While the share-page stage is morphing between the player and timeline
 * views, its layout animation scales the whole card. Overlay chrome that is
 * positioned against the video (controls, comment stamps) skews visibly during
 * that scale, so it is faded out for the duration of the morph.
 */
[data-morphing] [data-media-player-controls],
[data-morphing] [data-comment-stamp] {
	opacity: 0;
	pointer-events: none;
	transition: opacity 120ms linear;
}

@supports (view-transition-name: none) {
	::view-transition-old(root),
	::view-transition-new(root) {
		animation-duration: 320ms;
		animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
	}

	::view-transition-group(cap-edit-video) {
		animation-duration: 420ms;
		animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
		z-index: 50;
	}

	::view-transition-image-pair(cap-edit-video) {
		isolation: auto;
		mix-blend-mode: normal;
	}

	html[data-view-transition="edit-enter"]::view-transition-old(root) {
		animation-name: cap-fade-out-down;
	}

	html[data-view-transition="edit-enter"]::view-transition-new(root) {
		animation-name: cap-fade-in-up;
	}

	html[data-view-transition="edit-exit"]::view-transition-old(root) {
		animation-name: cap-fade-out-up;
	}

	html[data-view-transition="edit-exit"]::view-transition-new(root) {
		animation-name: cap-fade-in-down;
	}

	@keyframes cap-fade-out-down {
		from {
			opacity: 1;
			transform: scale(1);
		}
		to {
			opacity: 0;
			transform: scale(0.96);
		}
	}

	@keyframes cap-fade-in-up {
		from {
			opacity: 0;
			transform: scale(1.04);
		}
		to {
			opacity: 1;
			transform: scale(1);
		}
	}

	@keyframes cap-fade-out-up {
		from {
			opacity: 1;
			transform: scale(1);
		}
		to {
			opacity: 0;
			transform: scale(1.04);
		}
	}

	@keyframes cap-fade-in-down {
		from {
			opacity: 0;
			transform: scale(0.96);
		}
		to {
			opacity: 1;
			transform: scale(1);
		}
	}
}