code.css 1.2 KB

1234567891011121314151617181920212223
  1. /**
  2. @Name: layui.code
  3. @Author: 贤心
  4. @Site: http://www.layui.com
  5. */
  6. /* 加载就绪标志 */
  7. html #layuicss-skincodecss{display:none; position: absolute; width:1989px;}
  8. /* 默认风格 */
  9. .layui-code-view{display: block; position: relative; margin: 10px 0; padding: 0; border: 1px solid #e2e2e2; border-left-width: 6px; background-color: #F2F2F2; color: #333; font-family: Courier New; font-size: 12px;}
  10. .layui-code-h3{position: relative; padding: 0 10px; height: 32px; line-height: 32px; border-bottom: 1px solid #e2e2e2; font-size: 12px;}
  11. .layui-code-h3 a{position: absolute; right: 10px; top: 0; color: #999;}
  12. .layui-code-view .layui-code-ol{position: relative; overflow: auto;}
  13. .layui-code-view .layui-code-ol li{position: relative; margin-left: 45px; line-height: 20px; padding: 0 5px; border-left: 1px solid #e2e2e2; list-style-type: decimal-leading-zero; *list-style-type: decimal; background-color: #fff;}
  14. .layui-code-view pre{margin: 0;}
  15. /* notepadd++风格 */
  16. .layui-code-notepad{border: 1px solid #0C0C0C; border-left-color: #3F3F3F; background-color: #0C0C0C; color: #C2BE9E}
  17. .layui-code-notepad .layui-code-h3{border-bottom: none;}
  18. .layui-code-notepad .layui-code-ol li{background-color: #3F3F3F; border-left: none;}