打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

目前wiki关闭了自行注册账号的功能,如需注册账号,请查阅Help:注册账号

模板:Rail line box/styles.css:修订间差异

来自RIA | Wiki
秋月白留言 | 贡献
test2
秋月白留言 | 贡献
撤销秋月白讨论)的版本61172
标签撤销
第8行: 第8行:
   box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
   box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
}
}
/* 修改这里:将 inline-flex 改为更兼容的 inline-block 方案 */
.template-routemark.inline {
.template-routemark.inline {
   display: inline-block !important;
   display: inline-flex;
  white-space: nowrap;
}
 
/* 添加:确保 inline 模式的子元素也是行内显示 */
.template-routemark.inline > * {
  display: inline-block !important;
  vertical-align: middle;
}
 
/* 特别针对表格的修复 */
table .template-routemark.inline {
  display: inline-block !important;
  max-width: none !important;
}
 
table .template-routemark.inline > * {
  display: inline-block !important;
  float: none !important;
}
}



2025年12月16日 (二) 18:12的版本

.template-routemark {
  display: flex;
  max-width: max-content;

  border-radius: 0.25em;

  background-color: white;
  box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
}
.template-routemark.inline {
  display: inline-flex;
}

.template-routemark > * {
  padding: 0 0.25em;
}

.template-routemark > *:first-child {
  border-radius: 0.25em 0 0 0.25em;
}
.template-routemark > *:last-child {
  border-radius: 0 0.25em 0.25em 0;
}

.template-routemark-system,
.template-routemark-line {
  font-weight: bold;
}