Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
- 基于 Vben Admin 5.7.0,仅保留 web-antd 版本 - 删除多余 UI 版本(antdv-next/ele/naive/tdesign) - 删除 backend-mock(已对接真实 .NET 后端) - 删除 playground 和 docs - 添加 Jenkinsfile CI/CD
113 lines
2.2 KiB
CSS
113 lines
2.2 KiB
CSS
@reference "@vben/tailwind-config/theme";
|
|
|
|
.vben-tiptap-content h1 {
|
|
@apply text-2xl font-bold leading-[1.4];
|
|
}
|
|
|
|
.vben-tiptap-content h2 {
|
|
@apply text-xl font-bold leading-[1.45];
|
|
}
|
|
|
|
.vben-tiptap-content h3 {
|
|
@apply text-lg font-semibold leading-[1.5];
|
|
}
|
|
|
|
.vben-tiptap-content h4 {
|
|
@apply text-base font-semibold leading-[1.55];
|
|
}
|
|
|
|
.vben-tiptap-content ul {
|
|
@apply list-disc pl-6;
|
|
}
|
|
|
|
.vben-tiptap-content ol {
|
|
@apply list-decimal pl-6;
|
|
}
|
|
|
|
.vben-tiptap-content blockquote {
|
|
@apply border-l-4 border-primary pl-4 text-muted-foreground;
|
|
}
|
|
|
|
.vben-tiptap-content a {
|
|
@apply text-primary underline decoration-1 underline-offset-[3px];
|
|
}
|
|
|
|
.vben-tiptap-content code {
|
|
@apply rounded-[0.45rem] border border-border bg-secondary px-[0.35rem] py-[0.15rem] text-[0.9em] text-primary;
|
|
}
|
|
|
|
.vben-tiptap-content pre {
|
|
@apply overflow-x-auto rounded-[0.9rem] border border-border bg-popover p-4 text-popover-foreground;
|
|
}
|
|
|
|
.vben-tiptap-content pre code {
|
|
@apply border-none bg-transparent p-0 text-inherit;
|
|
}
|
|
|
|
.vben-tiptap-content img,
|
|
.vben-tiptap-content .vben-tiptap__image {
|
|
max-width: min(100%, 640px);
|
|
}
|
|
|
|
/* Image upload states */
|
|
.vben-tiptap-upload-wrapper {
|
|
position: relative;
|
|
display: inline-block;
|
|
max-width: min(100%, 640px);
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.vben-tiptap-upload-wrapper img {
|
|
display: block;
|
|
margin: 0;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.vben-tiptap-upload-spinner {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: hsl(var(--card) / 30%);
|
|
border-radius: 1rem;
|
|
}
|
|
|
|
.vben-tiptap-upload-spinner::after {
|
|
display: block;
|
|
width: 24px;
|
|
height: 24px;
|
|
content: '';
|
|
border: 2px solid hsl(var(--foreground) / 30%);
|
|
border-top-color: hsl(var(--foreground));
|
|
border-radius: 50%;
|
|
animation: vben-tiptap-spin 0.8s linear infinite;
|
|
}
|
|
|
|
.vben-tiptap-upload-progress {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 4px;
|
|
overflow: hidden;
|
|
background-color: hsl(var(--muted));
|
|
border-radius: 0 0 1rem 1rem;
|
|
}
|
|
|
|
.vben-tiptap-upload-progress-fill {
|
|
height: 100%;
|
|
background-color: hsl(var(--primary));
|
|
transition: width 0.2s ease;
|
|
}
|
|
|
|
@keyframes vben-tiptap-spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|