Initial commit: OmniAI Web Frontend
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,119 @@
|
||||
/* Community page rules move here as they are retired from legacy-pages.css. */
|
||||
|
||||
.community-page .community-case-card__preview {
|
||||
grid-area: 1 / 1 / 2 / 2;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: inherit;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.community-page .community-case-card__preview > img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.community-page .community-case-card__preview:hover,
|
||||
.community-page .community-case-card__preview:focus-visible {
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.community-page .community-carousel__slide--video {
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.community-page .community-carousel__slide--video::before,
|
||||
.community-page .community-carousel__slide--video::after {
|
||||
content: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.community-page .community-carousel__video {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 1;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: transparent;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.community-page .community-carousel__slide--video:not(.is-center) .community-carousel__video {
|
||||
filter: brightness(0.72) saturate(0.9);
|
||||
}
|
||||
|
||||
.community-case-empty {
|
||||
position: relative;
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 10px;
|
||||
width: 100%;
|
||||
min-height: 260px;
|
||||
overflow: hidden;
|
||||
padding: 42px 24px;
|
||||
border: 1px solid rgba(var(--accent-rgb, 0, 255, 136), 0.2);
|
||||
border-radius: var(--radius-md, 8px);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(var(--accent-rgb, 0, 255, 136), 0.1), transparent 34%),
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
|
||||
var(--bg-surface, rgba(255, 255, 255, 0.04));
|
||||
color: var(--fg-muted, #8b968f);
|
||||
text-align: center;
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
||||
}
|
||||
|
||||
.community-case-empty::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 14px;
|
||||
border: 1px dashed rgba(var(--accent-rgb, 0, 255, 136), 0.16);
|
||||
border-radius: calc(var(--radius-md, 8px) - 2px);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.community-case-empty__icon {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
border: 1px solid rgba(var(--accent-rgb, 0, 255, 136), 0.24);
|
||||
border-radius: var(--radius-sm, 8px);
|
||||
background: rgba(var(--accent-rgb, 0, 255, 136), 0.12);
|
||||
color: var(--accent, #00ff88);
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.community-case-empty strong {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
color: var(--fg-body, #f3f5f2);
|
||||
font-size: 18px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.community-case-empty > span:not(.community-case-empty__icon) {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
max-width: 360px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.6;
|
||||
}
|
||||
Reference in New Issue
Block a user