mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-01 10:32:49 +08:00
优化样式;优化文件预览说明
This commit is contained in:
1102
public/static/lib/markdown-css/github-markdown.css
Normal file
1102
public/static/lib/markdown-css/github-markdown.css
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1 +1,41 @@
|
||||
> 注意:需要引入font awesome 字体文件,但也可以使用任何其他的字体文件或图片。只不过使用图片的话,内置的文件类型的图标颜色就不能用了
|
||||
> 注意:需要引入font awesome 字体文件,但也可以使用任何其他的字体文件或图片。只不过使用图片的话,内置的文件类型的图标颜色就不能用了
|
||||
|
||||
内置实现的fa图标如下:
|
||||
|
||||
```
|
||||
fa-file-excel
|
||||
fa-file-zipper
|
||||
fa-file-word
|
||||
fa-file-pdf
|
||||
fa-file-powerpoint
|
||||
fa-file-audio
|
||||
fa-file-code
|
||||
fa-file-image
|
||||
fa-file-video
|
||||
fa-file-text
|
||||
```
|
||||
|
||||
其实可以传入任何图标:
|
||||
|
||||
```
|
||||
fa-file
|
||||
fa-link
|
||||
```
|
||||
|
||||
以上图标仅供参考,
|
||||
|
||||
内置实现的颜色如下:
|
||||
|
||||
```
|
||||
file: #bbb;
|
||||
excel: rgb(32, 115, 70);
|
||||
zip: rgb(139, 87, 42);
|
||||
word: rgb(44, 86, 154);
|
||||
powerpoint:242, 97, 63);
|
||||
pdf: rgb(250, 81, 81);
|
||||
video: #7c8eee;
|
||||
audio: #f16c00;
|
||||
image: #f6ad00;
|
||||
text: #8289ad;
|
||||
link: #4876f9;
|
||||
```
|
||||
@@ -10,6 +10,7 @@
|
||||
<link rel="stylesheet" href="/static/lib/quill/quill.snow.css">
|
||||
<link rel="stylesheet" href="/cdn/augmented-ui.min.css">
|
||||
<link rel="stylesheet" href="/cdn/fontawesome-free-6.4.0-web/css/all.min.css" />
|
||||
<link rel="stylesheet" href="/static/lib/markdown-css/github-markdown.css">
|
||||
|
||||
|
||||
<style>
|
||||
@@ -74,7 +75,7 @@
|
||||
<fieldset class="layui-elem-field layui-field-title no-parser">
|
||||
<legend>{$vo.config.TITLE}</legend>
|
||||
<div class="layui-field-box">
|
||||
<div class="desc">
|
||||
<div class="desc markdown-body ">
|
||||
{$vo.desc|raw}
|
||||
</div>
|
||||
<div class="component-item" style="margin-top: 10px;" data-margin="{$vo.config.MARGIN|default='0'}" data-padding="{$vo.config.PADDING|default='0'}" data-gray="{$vo.config.GRAY|default='0'}" data-mobile="{$vo.config.MOBILE|default='0'}" data-inner-margin="{$vo.config.INNER_MARGIN|default='0'}">
|
||||
|
||||
Reference in New Issue
Block a user