主要功能: - 修改RequirementModal支持12个订单班选择 - 添加OrderClassIconMap图标映射组件 - Store中添加selectedOrderClass状态管理 - WorkflowPage支持传递orderClass参数 - web_result添加URL参数切换功能 - 创建order-class-handler.js动态处理页面主题 技术改进: - 创建软链接关联订单班数据目录 - 生成wenlu.json和food.json数据结构 - 删除重复的web_result目录 - 添加测试页面test-order-class.html 影响范围: - 展会策划系统现支持12个订单班 - 结果展示页面自动适配不同订单班主题 - 用户可选择不同行业生成对应方案 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
71 lines
1.5 KiB
CSS
71 lines
1.5 KiB
CSS
pre[data-line] {
|
||
position: relative;
|
||
padding: 1em 0 1em 3em;
|
||
}
|
||
|
||
.line-highlight {
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
padding: inherit 0;
|
||
margin-top: 1em; /* Same as .prism’s padding-top */
|
||
|
||
background: hsla(24, 20%, 50%,.08);
|
||
background: linear-gradient(to right, hsla(24, 20%, 50%,.1) 70%, hsla(24, 20%, 50%,0));
|
||
|
||
pointer-events: none;
|
||
|
||
line-height: inherit;
|
||
white-space: pre;
|
||
}
|
||
|
||
@media print {
|
||
.line-highlight {
|
||
/*
|
||
* This will prevent browsers from replacing the background color with white.
|
||
* It's necessary because the element is layered on top of the displayed code.
|
||
*/
|
||
-webkit-print-color-adjust: exact;
|
||
color-adjust: exact;
|
||
}
|
||
}
|
||
|
||
.line-highlight:before,
|
||
.line-highlight[data-end]:after {
|
||
content: attr(data-start);
|
||
position: absolute;
|
||
top: .4em;
|
||
left: .6em;
|
||
min-width: 1em;
|
||
padding: 0 .5em;
|
||
background-color: hsla(24, 20%, 50%,.4);
|
||
color: hsl(24, 20%, 95%);
|
||
font: bold 65%/1.5 sans-serif;
|
||
text-align: center;
|
||
vertical-align: .3em;
|
||
border-radius: 999px;
|
||
text-shadow: none;
|
||
box-shadow: 0 1px white;
|
||
}
|
||
|
||
.line-highlight[data-end]:after {
|
||
content: attr(data-end);
|
||
top: auto;
|
||
bottom: .4em;
|
||
}
|
||
|
||
.line-numbers .line-highlight:before,
|
||
.line-numbers .line-highlight:after {
|
||
content: none;
|
||
}
|
||
|
||
pre[id].linkable-line-numbers span.line-numbers-rows {
|
||
pointer-events: all;
|
||
}
|
||
pre[id].linkable-line-numbers span.line-numbers-rows > span:before {
|
||
cursor: pointer;
|
||
}
|
||
pre[id].linkable-line-numbers span.line-numbers-rows > span:hover:before {
|
||
background-color: rgba(128, 128, 128, .2);
|
||
}
|