diff --git a/apps/ai-game-creator-shell/src/styles.css b/apps/ai-game-creator-shell/src/styles.css index 245af72b6..d4fae72f1 100644 --- a/apps/ai-game-creator-shell/src/styles.css +++ b/apps/ai-game-creator-shell/src/styles.css @@ -6623,65 +6623,6 @@ iframe.preview-frame { font-size: 12px; } -/* - * 「所有资源」页。 - * - * 资源总览第 0 张卡打开的汇总页:左侧沿用栏目大纲,正文按栏目分组的滚动卡片网格。 - * 整页自成一层(`z-index: 21`):栏目态的画本场景自带一层不透明底纹(`z-index: 20`), - * 只在 `z-index: auto` 上铺会被它盖住;同时它不落在 `.game-resource-canvas` 里, - * 那层挂着画布平移/框选的指针与滚轮处理器,会把这里的滚动吃掉。 - * - * 卡片本体仍由栏目页同一颗卡片渲染器产出(尺寸取画布默认卡宽高), - * 因此这一页只补齐容器与网格,不新增卡片样式。 - */ -.game-resource-all-resources-host { - position: absolute; - z-index: 21; - inset: 0; - padding: 12px; - overflow: hidden; - background-color: #fffdfa; - background-image: radial-gradient(#eaded8 0.8px, transparent 0.8px); - background-size: 18px 18px; -} - -.game-resource-all-scroll { - display: grid; - gap: 14px; - align-content: start; - min-height: 0; - padding: 2px; - overflow: auto; - overscroll-behavior: contain; -} - -.game-resource-all-section { - display: grid; - gap: 10px; - padding: 12px; - border: 1px solid #ecdfd8; - border-radius: 12px; - background: rgb(255 253 250 / 82%); -} - -.game-resource-all-grid { - display: grid; - grid-template-columns: repeat(auto-fill, 180px); - gap: 14px; -} - -.game-resource-all-card { - position: relative; - display: block; -} - -/* 只浏览的页面不接拖拽:光标如实反映「点选 / 播放」,并且把纵向触摸手势交还给滚动容器 - (`.game-resource-card` 常态是 `touch-action: none`,那是画布拖卡需要的)。 */ -.game-resource-all-grid .game-resource-card { - cursor: pointer; - touch-action: pan-y; -} - .game-resource-section-stack { display: contents; }