Merge branch 'koogua/v1.5.3'
@ -1,3 +1,12 @@
|
|||||||
|
### [v1.5.3](https://gitee.com/koogua/course-tencent-cloud/releases/v1.5.3)(2022-05-30)
|
||||||
|
|
||||||
|
- 优化章节排序初始值和步长
|
||||||
|
- 修复删除群组前台列表仍然显示问题
|
||||||
|
- 设置360浏览器的默认模式为webkit
|
||||||
|
- 修复首页简单模式课程项顶部缺少空白
|
||||||
|
- vditor本地化,彻底弃用cdn.jsdelivr.net
|
||||||
|
- 调整markdown样式
|
||||||
|
|
||||||
### [v1.5.2](https://gitee.com/koogua/course-tencent-cloud/releases/v1.5.2)(2022-04-17)
|
### [v1.5.2](https://gitee.com/koogua/course-tencent-cloud/releases/v1.5.2)(2022-04-17)
|
||||||
|
|
||||||
- 补充话题列表课程数据结构
|
- 补充话题列表课程数据结构
|
||||||
|
@ -81,7 +81,14 @@ class Chapter extends Service
|
|||||||
$data['parent_id'] = 0;
|
$data['parent_id'] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$data['priority'] += 1;
|
/**
|
||||||
|
* 排序从10开始递增,步长为5
|
||||||
|
*/
|
||||||
|
if ($data['priority'] < 10) {
|
||||||
|
$data['priority'] = 10;
|
||||||
|
} else {
|
||||||
|
$data['priority'] += 5;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
@ -29,13 +29,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('admin/js/vditor.js') }}
|
{{ js_include('admin/js/vditor.js') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -28,13 +28,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('admin/js/vditor.js') }}
|
{{ js_include('admin/js/vditor.js') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -25,13 +25,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('lib/xm-select.js') }}
|
{{ js_include('lib/xm-select.js') }}
|
||||||
{{ js_include('admin/js/vditor.js') }}
|
{{ js_include('admin/js/vditor.js') }}
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{% if chapter.model == 3 %}
|
{% if chapter.model == 3 %}
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
{% if chapter.model == 3 %}
|
{% if chapter.model == 3 %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('admin/js/vditor.js') }}
|
{{ js_include('admin/js/vditor.js') }}
|
||||||
|
|
||||||
{% elseif chapter.model == 1 %}
|
{% elseif chapter.model == 1 %}
|
||||||
|
@ -41,13 +41,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('lib/xm-select.js') }}
|
{{ js_include('lib/xm-select.js') }}
|
||||||
{{ js_include('admin/js/cover.upload.js') }}
|
{{ js_include('admin/js/cover.upload.js') }}
|
||||||
{{ js_include('admin/js/vditor.js') }}
|
{{ js_include('admin/js/vditor.js') }}
|
||||||
|
@ -49,13 +49,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('admin/js/vditor.js') }}
|
{{ js_include('admin/js/vditor.js') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -56,13 +56,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('admin/js/vditor.js') }}
|
{{ js_include('admin/js/vditor.js') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -32,13 +32,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('admin/js/vditor.js') }}
|
{{ js_include('admin/js/vditor.js') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -45,13 +45,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('admin/js/vditor.js') }}
|
{{ js_include('admin/js/vditor.js') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -15,7 +15,7 @@
|
|||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{% if gift.type == 2 %}
|
{% if gift.type == 2 %}
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@ -23,7 +23,7 @@
|
|||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{% if gift.type == 2 %}
|
{% if gift.type == 2 %}
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('admin/js/cover.upload.js') }}
|
{{ js_include('admin/js/cover.upload.js') }}
|
||||||
{{ js_include('admin/js/vditor.js') }}
|
{{ js_include('admin/js/vditor.js') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -25,13 +25,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('lib/xm-select.js') }}
|
{{ js_include('lib/xm-select.js') }}
|
||||||
{{ js_include('admin/js/vditor.js') }}
|
{{ js_include('admin/js/vditor.js') }}
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
|
<meta name="renderer" content="webkit">
|
||||||
<meta name="csrf-token" content="{{ csrfToken.getToken() }}">
|
<meta name="csrf-token" content="{{ csrfToken.getToken() }}">
|
||||||
<title>管理后台</title>
|
<title>管理后台</title>
|
||||||
{{ icon_link('favicon.ico') }}
|
{{ icon_link('favicon.ico') }}
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
|
<meta name="renderer" content="webkit">
|
||||||
<meta name="csrf-token" content="{{ csrfToken.getToken() }}">
|
<meta name="csrf-token" content="{{ csrfToken.getToken() }}">
|
||||||
<title>管理后台</title>
|
<title>管理后台</title>
|
||||||
{{ icon_link('favicon.ico') }}
|
{{ icon_link('favicon.ico') }}
|
||||||
|
@ -27,6 +27,7 @@ class ImGroup extends Service
|
|||||||
$params = $pagerQuery->getParams();
|
$params = $pagerQuery->getParams();
|
||||||
|
|
||||||
$params['published'] = 1;
|
$params['published'] = 1;
|
||||||
|
$params['deleted'] = 0;
|
||||||
|
|
||||||
$sort = $pagerQuery->getSort();
|
$sort = $pagerQuery->getSort();
|
||||||
$page = $pagerQuery->getPage();
|
$page = $pagerQuery->getPage();
|
||||||
|
@ -41,13 +41,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('home/js/answer.edit.js') }}
|
{{ js_include('home/js/answer.edit.js') }}
|
||||||
{{ js_include('home/js/vditor.js') }}
|
{{ js_include('home/js/vditor.js') }}
|
||||||
|
|
||||||
|
@ -36,13 +36,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('home/js/answer.edit.js') }}
|
{{ js_include('home/js/answer.edit.js') }}
|
||||||
{{ js_include('home/js/vditor.js') }}
|
{{ js_include('home/js/vditor.js') }}
|
||||||
|
|
||||||
|
@ -76,13 +76,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('lib/xm-select.js') }}
|
{{ js_include('lib/xm-select.js') }}
|
||||||
{{ js_include('home/js/article.edit.js') }}
|
{{ js_include('home/js/article.edit.js') }}
|
||||||
{{ js_include('home/js/vditor.js') }}
|
{{ js_include('home/js/vditor.js') }}
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
{% if featured_courses|length > 0 %}
|
{% if featured_courses|length > 0 %}
|
||||||
<div class="index-wrap wrap">
|
<div class="index-wrap wrap">
|
||||||
<div class="header">推荐课程</div>
|
<div class="header">推荐课程</div>
|
||||||
<div class="content">
|
<div class="content simple">
|
||||||
{{ show_courses(featured_courses) }}
|
{{ show_courses(featured_courses) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -44,7 +44,7 @@
|
|||||||
{% if new_courses|length > 0 %}
|
{% if new_courses|length > 0 %}
|
||||||
<div class="index-wrap wrap">
|
<div class="index-wrap wrap">
|
||||||
<div class="header">新上课程</div>
|
<div class="header">新上课程</div>
|
||||||
<div class="content">
|
<div class="content simple">
|
||||||
{{ show_courses(new_courses) }}
|
{{ show_courses(new_courses) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -62,7 +62,7 @@
|
|||||||
{% if vip_courses|length > 0 %}
|
{% if vip_courses|length > 0 %}
|
||||||
<div class="index-wrap wrap">
|
<div class="index-wrap wrap">
|
||||||
<div class="header">会员课程</div>
|
<div class="header">会员课程</div>
|
||||||
<div class="content">
|
<div class="content simple">
|
||||||
{{ show_courses(vip_courses) }}
|
{{ show_courses(vip_courses) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -56,13 +56,13 @@
|
|||||||
|
|
||||||
{% block link_css %}
|
{% block link_css %}
|
||||||
|
|
||||||
{{ css_link('https://cdn.staticfile.org/vditor/3.8.13/index.css', false) }}
|
{{ css_link('lib/vditor/dist/index.css') }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block include_js %}
|
{% block include_js %}
|
||||||
|
|
||||||
{{ js_include('https://cdn.staticfile.org/vditor/3.8.13/index.min.js', false) }}
|
{{ js_include('lib/vditor/dist/index.min.js') }}
|
||||||
{{ js_include('lib/xm-select.js') }}
|
{{ js_include('lib/xm-select.js') }}
|
||||||
{{ js_include('home/js/question.edit.js') }}
|
{{ js_include('home/js/question.edit.js') }}
|
||||||
{{ js_include('home/js/vditor.js') }}
|
{{ js_include('home/js/vditor.js') }}
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
|
<meta name="renderer" content="webkit">
|
||||||
<title>出错啦 - {{ site_info.title }}</title>
|
<title>出错啦 - {{ site_info.title }}</title>
|
||||||
{% if site_info.favicon %}
|
{% if site_info.favicon %}
|
||||||
{{ icon_link(site_info.favicon,false) }}
|
{{ icon_link(site_info.favicon,false) }}
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
|
<meta name="renderer" content="webkit">
|
||||||
<meta name="csrf-token" content="{{ csrfToken.getToken() }}">
|
<meta name="csrf-token" content="{{ csrfToken.getToken() }}">
|
||||||
<title>{{ site_info.title }}</title>
|
<title>{{ site_info.title }}</title>
|
||||||
{% if site_info.favicon %}
|
{% if site_info.favicon %}
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
|
<meta name="renderer" content="webkit">
|
||||||
<meta name="keywords" content="{{ seo.getKeywords() }}">
|
<meta name="keywords" content="{{ seo.getKeywords() }}">
|
||||||
<meta name="description" content="{{ seo.getDescription() }}">
|
<meta name="description" content="{{ seo.getDescription() }}">
|
||||||
<meta name="csrf-token" content="{{ csrfToken.getToken() }}">
|
<meta name="csrf-token" content="{{ csrfToken.getToken() }}">
|
||||||
|
@ -83,7 +83,7 @@ class Category extends Model
|
|||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
public $priority = 100;
|
public $priority = 10;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 发布标识
|
* 发布标识
|
||||||
|
@ -110,7 +110,7 @@ class Chapter extends Model
|
|||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
public $priority = 100;
|
public $priority = 10;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 免费标识
|
* 免费标识
|
||||||
|
@ -180,7 +180,7 @@ class FlashSale extends Model
|
|||||||
{
|
{
|
||||||
$result = [];
|
$result = [];
|
||||||
|
|
||||||
foreach (range(8, 20, 2) as $hour) {
|
foreach (range(10, 20, 2) as $hour) {
|
||||||
$result[] = [
|
$result[] = [
|
||||||
'name' => sprintf('%02d点', $hour),
|
'name' => sprintf('%02d点', $hour),
|
||||||
'hour' => sprintf('%02d', $hour),
|
'hour' => sprintf('%02d', $hour),
|
||||||
|
@ -46,7 +46,7 @@ class Help extends Model
|
|||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
public $priority = 100;
|
public $priority = 10;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 发布标识
|
* 发布标识
|
||||||
|
@ -50,6 +50,8 @@ class Chapter extends Repository
|
|||||||
$query->andWhere('deleted = :deleted:', ['deleted' => $where['deleted']]);
|
$query->andWhere('deleted = :deleted:', ['deleted' => $where['deleted']]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$query->orderBy('priority ASC');
|
||||||
|
|
||||||
return $query->execute();
|
return $query->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,6 +89,7 @@ class Chapter extends Repository
|
|||||||
return ChapterModel::query()
|
return ChapterModel::query()
|
||||||
->where('parent_id = :parent_id:', ['parent_id' => $id])
|
->where('parent_id = :parent_id:', ['parent_id' => $id])
|
||||||
->andWhere('deleted = 0')
|
->andWhere('deleted = 0')
|
||||||
|
->orderBy('priority ASC')
|
||||||
->execute();
|
->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ class GroupList extends LogicService
|
|||||||
$params = $pagerQuery->getParams();
|
$params = $pagerQuery->getParams();
|
||||||
|
|
||||||
$params['published'] = 1;
|
$params['published'] = 1;
|
||||||
|
$params['deleted'] = 0;
|
||||||
|
|
||||||
$sort = $pagerQuery->getSort();
|
$sort = $pagerQuery->getSort();
|
||||||
$page = $pagerQuery->getPage();
|
$page = $pagerQuery->getPage();
|
||||||
|
@ -302,7 +302,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.index-wrap .layui-tab-content {
|
.index-wrap .layui-tab-content {
|
||||||
padding: 20px 0 0 0;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.index-wrap .header {
|
.index-wrap .header {
|
||||||
@ -312,6 +312,10 @@
|
|||||||
border-bottom: 1px solid #f6f6f6;
|
border-bottom: 1px solid #f6f6f6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.index-wrap .simple {
|
||||||
|
padding-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.index-course-list .course-card {
|
.index-course-list .course-card {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
.markdown-body {
|
.markdown-body {
|
||||||
-ms-text-size-adjust: 100%;
|
-ms-text-size-adjust: 100%;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
line-height: 1.5;
|
line-height: 1.8;
|
||||||
color: #24292e;
|
color: #24292e;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
210
public/static/lib/vditor/dist/css/content-theme/ant-design.css
vendored
Normal file
@ -0,0 +1,210 @@
|
|||||||
|
/*!
|
||||||
|
* Vditor - A markdown editor written in TypeScript.
|
||||||
|
*
|
||||||
|
* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (c) 2018-present B3log 开源, b3log.org
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
.vditor-reset {
|
||||||
|
color: rgba(0, 0, 0, .85);
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset img {
|
||||||
|
max-width: calc(100% - 32px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset p > img {
|
||||||
|
margin: 34px 0;
|
||||||
|
box-shadow: 0 8px 20px rgba(143, 168, 191, 0.35);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h1 {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
color: rgba(0, 0, 0, .85);
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 30px;
|
||||||
|
font-family: Avenir, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji, sans-serif;
|
||||||
|
line-height: 38px
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h2 {
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h2,
|
||||||
|
.vditor-reset h3,
|
||||||
|
.vditor-reset h4,
|
||||||
|
.vditor-reset h5,
|
||||||
|
.vditor-reset h6 {
|
||||||
|
clear: both;
|
||||||
|
margin: 1.6em 0 .6em;
|
||||||
|
color: rgba(0, 0, 0, .85);
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: Avenir, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji, sans-serif
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h3 {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h4 {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h5 {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h6 {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset hr {
|
||||||
|
clear: both;
|
||||||
|
height: 1px;
|
||||||
|
margin: 56px 0;
|
||||||
|
background: #f0f0f0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset p,
|
||||||
|
.vditor-reset pre {
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset ul > li {
|
||||||
|
margin-left: 20px;
|
||||||
|
padding-left: 4px;
|
||||||
|
list-style-type: circle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset ol > li {
|
||||||
|
margin-left: 20px;
|
||||||
|
padding-left: 4px;
|
||||||
|
list-style-type: decimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset ul > li > p,
|
||||||
|
.vditor-reset ol > li > p {
|
||||||
|
margin: 0.2em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset code {
|
||||||
|
margin: 0 1px;
|
||||||
|
padding: .2em .4em;
|
||||||
|
font-size: .9em;
|
||||||
|
border-radius: 3px;
|
||||||
|
border: 1px solid #f0f0f0;
|
||||||
|
font-family: sfmono-regular, Consolas, liberation mono, Menlo, Courier, monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset code:not(.hljs):not(.highlight-chroma) {
|
||||||
|
background: #f2f4f5;
|
||||||
|
color: rgba(0, 0, 0, .65);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset pre {
|
||||||
|
font-family: sfmono-regular, Consolas, liberation mono, Menlo, Courier, monospace;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset .language-abc svg,
|
||||||
|
.vditor-reset .language-abc path {
|
||||||
|
fill: currentColor;
|
||||||
|
color: rgba(0, 0, 0, .85);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset .language-graphviz polygon {
|
||||||
|
fill: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset strong,
|
||||||
|
.vditor-reset b {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset > table {
|
||||||
|
width: 100%;
|
||||||
|
margin: 8px 0 16px;
|
||||||
|
direction: ltr;
|
||||||
|
empty-cells: show;
|
||||||
|
border: 1px solid #f0f0f0;
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset > table th {
|
||||||
|
color: #5c6b77;
|
||||||
|
font-weight: 500;
|
||||||
|
white-space: nowrap;
|
||||||
|
background: rgba(0, 0, 0, .02)
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset > table th, .vditor-reset > table td {
|
||||||
|
padding: 16px 24px;
|
||||||
|
text-align: left;
|
||||||
|
border: 1px solid #f0f0f0
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset blockquote {
|
||||||
|
margin: 1em 0;
|
||||||
|
padding-left: .8em;
|
||||||
|
color: rgba(0, 0, 0, .45);
|
||||||
|
font-size: 90%;
|
||||||
|
border-left: 4px solid #f0f0f0
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset blockquote p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset .vditor-anchor {
|
||||||
|
margin-left: 8px;
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h1:hover .vditor-anchor,
|
||||||
|
.vditor-reset h2:hover .vditor-anchor,
|
||||||
|
.vditor-reset h3:hover .vditor-anchor,
|
||||||
|
.vditor-reset h4:hover .vditor-anchor,
|
||||||
|
.vditor-reset h5:hover .vditor-anchor,
|
||||||
|
.vditor-reset h6:hover .vditor-anchor {
|
||||||
|
display: inline-block;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset > br,
|
||||||
|
.vditor-reset > p > br {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset a, .vditor-ir__link {
|
||||||
|
color: #1890ff;
|
||||||
|
text-decoration: none;
|
||||||
|
outline: none;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
123
public/static/lib/vditor/dist/css/content-theme/dark.css
vendored
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
/*!
|
||||||
|
* Vditor - A markdown editor written in TypeScript.
|
||||||
|
*
|
||||||
|
* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (c) 2018-present B3log 开源, b3log.org
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
.vditor-reset {
|
||||||
|
color: #d1d5da;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset a, .vditor-ir__link {
|
||||||
|
color: #4285f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h1, .vditor-reset h2 {
|
||||||
|
padding-bottom: 0.3em;
|
||||||
|
border-bottom: 1px solid #d1d5da
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset hr {
|
||||||
|
background-color: #d1d5da
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset blockquote {
|
||||||
|
padding: 0 1em;
|
||||||
|
color: #b9b9b9;
|
||||||
|
border-left: .25em solid #d1d5da
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset iframe {
|
||||||
|
border: 1px solid #141414
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset table tr {
|
||||||
|
background-color: #2f363d
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset table td, .vditor-reset table th {
|
||||||
|
border: 1px solid #dfe2e5
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset table tbody tr:nth-child(2n) {
|
||||||
|
background-color: #24292e
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset code:not(.hljs):not(.highlight-chroma) {
|
||||||
|
background-color: rgba(66, 133, 244, .36);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset .language-abc svg,
|
||||||
|
.vditor-reset .language-abc path {
|
||||||
|
fill: currentColor;
|
||||||
|
color: #d1d5da;
|
||||||
|
}
|
||||||
|
|
||||||
|
.language-graphviz polygon {
|
||||||
|
fill: rgba(66, 133, 244, .36);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset kbd {
|
||||||
|
color: #d1d5da;
|
||||||
|
background-color: #2f363d;
|
||||||
|
border: 1px solid #141414;
|
||||||
|
box-shadow: inset 0 -1px 0 #141414
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-copy svg {
|
||||||
|
color: #b9b9b9
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-speech {
|
||||||
|
background-color: #1d2125;
|
||||||
|
border: 1px solid #141414;
|
||||||
|
color: #b9b9b9
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-speech--current, .vditor-speech:hover {
|
||||||
|
color: #fff
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard a {
|
||||||
|
background-color: #1d2125;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard a:visited .vditor-linkcard__abstract {
|
||||||
|
color: hsla(0, 0%, 72.5%, .36)
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard__title {
|
||||||
|
color: #d1d5da
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard__abstract {
|
||||||
|
color: #b9b9b9
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard__site {
|
||||||
|
color: #fff
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard__image {
|
||||||
|
background-color: hsla(0, 0%, 72.5%, .36)
|
||||||
|
}
|
101
public/static/lib/vditor/dist/css/content-theme/light.css
vendored
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
/*!
|
||||||
|
* Vditor - A markdown editor written in TypeScript.
|
||||||
|
*
|
||||||
|
* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (c) 2018-present B3log 开源, b3log.org
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
.vditor-reset h1, .vditor-reset h2 {
|
||||||
|
padding-bottom: 0.3em;
|
||||||
|
border-bottom: 1px solid #eaecef;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset hr {
|
||||||
|
background-color: #eaecef;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset blockquote {
|
||||||
|
color: #6a737d;
|
||||||
|
border-left: .25em solid #eaecef
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset iframe {
|
||||||
|
border: 1px solid #d1d5da
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset table tr {
|
||||||
|
border-top: 1px solid #c6cbd1;
|
||||||
|
background-color: #fafbfc
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset table td, .vditor-reset table th {
|
||||||
|
border: 1px solid #dfe2e5
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset table tbody tr:nth-child(2n) {
|
||||||
|
background-color: #fff
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset code:not(.hljs):not(.highlight-chroma) {
|
||||||
|
background-color: rgba(27, 31, 35, .05);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset kbd {
|
||||||
|
color: #24292e;
|
||||||
|
background-color: #fafbfc;
|
||||||
|
border: solid 1px #d1d5da;
|
||||||
|
box-shadow: inset 0 -1px 0 #d1d5da;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-speech {
|
||||||
|
background-color: #f6f8fa;
|
||||||
|
border: 1px solid #d1d5da;
|
||||||
|
color: #586069;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-speech--current, .vditor-speech:hover {
|
||||||
|
color: #4285f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard a {
|
||||||
|
background-color: #f6f8fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard a:visited .vditor-linkcard__abstract {
|
||||||
|
color: rgba(88, 96, 105, 0.36);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard__title {
|
||||||
|
color: #24292e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard__abstract {
|
||||||
|
color: #586069;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard__site {
|
||||||
|
color: #4285f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-linkcard__image {
|
||||||
|
background-color: rgba(88, 96, 105, 0.36);
|
||||||
|
}
|
94
public/static/lib/vditor/dist/css/content-theme/wechat.css
vendored
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
/*!
|
||||||
|
* Vditor - A markdown editor written in TypeScript.
|
||||||
|
*
|
||||||
|
* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (c) 2018-present B3log 开源, b3log.org
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
.vditor-reset {
|
||||||
|
font-family: "mp-quote", -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
|
||||||
|
color: rgb(62, 62, 62);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset a, .vditor-ir__link {
|
||||||
|
color: #576b95;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h1 {
|
||||||
|
font-weight: 400;
|
||||||
|
text-align: center;
|
||||||
|
color: rgb(26, 173, 25);
|
||||||
|
font-size: 24px;
|
||||||
|
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAACCAYAAABYBvyLAAAAGElEQVQImWNkXs/wn4GKgImahjEwMDAAAA6aAbVUOzXRAAAAAElFTkSuQmCC);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h2 {
|
||||||
|
font-weight: 400;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset h3,
|
||||||
|
.vditor-reset h4,
|
||||||
|
.vditor-reset h5,
|
||||||
|
.vditor-reset h6 {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset hr {
|
||||||
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
|
transform-origin: 0 0;
|
||||||
|
transform: scale(1, 0.5);
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset blockquote {
|
||||||
|
padding: 4px 0 0 10px;
|
||||||
|
border-left: 3px solid #dbdbdb;
|
||||||
|
color: #9a9a9a;
|
||||||
|
line-height: 1.6;
|
||||||
|
font-size: 15px;
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset code {
|
||||||
|
font-size: 14px;
|
||||||
|
border: 1px solid #f0f0f0;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset code:not(.hljs):not(.highlight-chroma) {
|
||||||
|
background-color: rgba(0, 0, 0, 0.03);
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset .language-abc svg,
|
||||||
|
.vditor-reset .language-abc path {
|
||||||
|
fill: currentColor;
|
||||||
|
color: rgb(62, 62, 62);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vditor-reset .language-graphviz polygon {
|
||||||
|
fill: transparent;
|
||||||
|
}
|
BIN
public/static/lib/vditor/dist/images/emoji/b3log.png
vendored
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/chainbook.png
vendored
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/doge.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/hacpai.png
vendored
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/huaji.gif
vendored
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/latke.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/lute.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/octocat.png
vendored
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/pipe.png
vendored
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/solo.png
vendored
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/sym.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/trollface.png
vendored
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/vditor.png
vendored
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/wide.png
vendored
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
public/static/lib/vditor/dist/images/emoji/wulian.png
vendored
Normal file
After Width: | Height: | Size: 8.3 KiB |
1
public/static/lib/vditor/dist/images/img-loading.svg
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg width="160px" height="160px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-double-ring" style="background: none;"><circle cx="50" cy="50" ng-attr-r="{{config.radius}}" ng-attr-stroke-width="{{config.width}}" ng-attr-stroke="{{config.c1}}" ng-attr-stroke-dasharray="{{config.dasharray}}" fill="none" stroke-linecap="round" r="20" stroke-width="4" stroke="#3b3e43" stroke-dasharray="31.41592653589793 31.41592653589793" transform="rotate(111.924 50 50)"><animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;360 50 50" keyTimes="0;1" dur="1.5s" begin="0s" repeatCount="indefinite"></animateTransform></circle><circle cx="50" cy="50" ng-attr-r="{{config.radius2}}" ng-attr-stroke-width="{{config.width}}" ng-attr-stroke="{{config.c2}}" ng-attr-stroke-dasharray="{{config.dasharray2}}" ng-attr-stroke-dashoffset="{{config.dashoffset2}}" fill="none" stroke-linecap="round" r="15" stroke-width="4" stroke="#d23f31" stroke-dasharray="23.561944901923447 23.561944901923447" stroke-dashoffset="23.561944901923447" transform="rotate(-111.924 50 50)"><animateTransform attributeName="transform" type="rotate" calcMode="linear" values="0 50 50;-360 50 50" keyTimes="0;1" dur="1.5s" begin="0s" repeatCount="indefinite"></animateTransform></circle></svg>
|
After Width: | Height: | Size: 1.3 KiB |
BIN
public/static/lib/vditor/dist/images/logo.png
vendored
Normal file
After Width: | Height: | Size: 2.0 KiB |
1833
public/static/lib/vditor/dist/index.css
vendored
Normal file
76
public/static/lib/vditor/dist/index.d.ts
vendored
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
/// <reference types="./types" />
|
||||||
|
import "./assets/less/index.less";
|
||||||
|
import VditorMethod from "./method";
|
||||||
|
|
||||||
|
declare class Vditor extends VditorMethod {
|
||||||
|
readonly version: string;
|
||||||
|
vditor: IVditor;
|
||||||
|
/**
|
||||||
|
* @param id 要挂载 Vditor 的元素或者元素 ID。
|
||||||
|
* @param options Vditor 参数
|
||||||
|
*/
|
||||||
|
constructor(id: string | HTMLElement, options?: IOptions);
|
||||||
|
/** 设置主题 */
|
||||||
|
setTheme(theme: "dark" | "classic", contentTheme?: string, codeTheme?: string, contentThemePath?: string): void;
|
||||||
|
/** 获取 Markdown 内容 */
|
||||||
|
getValue(): string;
|
||||||
|
/** 获取编辑器当前编辑模式 */
|
||||||
|
getCurrentMode(): "sv" | "wysiwyg" | "ir";
|
||||||
|
/** 聚焦到编辑器 */
|
||||||
|
focus(): void;
|
||||||
|
/** 让编辑器失焦 */
|
||||||
|
blur(): void;
|
||||||
|
/** 禁用编辑器 */
|
||||||
|
disabled(): void;
|
||||||
|
/** 解除编辑器禁用 */
|
||||||
|
enable(): void;
|
||||||
|
/** 返回选中的字符串 */
|
||||||
|
getSelection(): string;
|
||||||
|
/** 设置预览区域内容 */
|
||||||
|
renderPreview(value?: string): void;
|
||||||
|
/** 获取焦点位置 */
|
||||||
|
getCursorPosition(): {
|
||||||
|
left: number;
|
||||||
|
top: number;
|
||||||
|
};
|
||||||
|
/** 上传是否还在进行中 */
|
||||||
|
isUploading(): boolean;
|
||||||
|
/** 清除缓存 */
|
||||||
|
clearCache(): void;
|
||||||
|
/** 禁用缓存 */
|
||||||
|
disabledCache(): void;
|
||||||
|
/** 启用缓存 */
|
||||||
|
enableCache(): void;
|
||||||
|
/** HTML 转 md */
|
||||||
|
html2md(value: string): string;
|
||||||
|
/** markdown 转 JSON 输出 */
|
||||||
|
exportJSON(value: string): string;
|
||||||
|
/** 获取 HTML */
|
||||||
|
getHTML(): string;
|
||||||
|
/** 消息提示。time 为 0 将一直显示 */
|
||||||
|
tip(text: string, time?: number): void;
|
||||||
|
/** 设置预览模式 */
|
||||||
|
setPreviewMode(mode: "both" | "editor"): void;
|
||||||
|
/** 删除选中内容 */
|
||||||
|
deleteValue(): void;
|
||||||
|
/** 更新选中内容 */
|
||||||
|
updateValue(value: string): void;
|
||||||
|
/** 在焦点处插入内容,并默认进行 Markdown 渲染 */
|
||||||
|
insertValue(value: string, render?: boolean): void;
|
||||||
|
/** 设置编辑器内容 */
|
||||||
|
setValue(markdown: string, clearStack?: boolean): void;
|
||||||
|
/** 清空 undo & redo 栈 */
|
||||||
|
clearStack(): void;
|
||||||
|
/** 销毁编辑器 */
|
||||||
|
destroy(): void;
|
||||||
|
/** 获取评论 ID */
|
||||||
|
getCommentIds(): ICommentsData[];
|
||||||
|
/** 高亮评论 */
|
||||||
|
hlCommentIds(ids: string[]): void;
|
||||||
|
/** 取消评论高亮 */
|
||||||
|
unHlCommentIds(ids: string[]): void;
|
||||||
|
/** 删除评论 */
|
||||||
|
removeCommentIds(removeIds: string[]): void;
|
||||||
|
private init;
|
||||||
|
}
|
||||||
|
export default Vditor;
|
1
public/static/lib/vditor/dist/index.min.js
vendored
Normal file
3
public/static/lib/vditor/dist/js/abcjs/abcjs_basic.min.js
vendored
Normal file
23
public/static/lib/vditor/dist/js/echarts/echarts.min.js
vendored
Normal file
9
public/static/lib/vditor/dist/js/flowchart.js/flowchart.min.js
vendored
Normal file
90
public/static/lib/vditor/dist/js/graphviz/full.render.js
vendored
Normal file
333
public/static/lib/vditor/dist/js/graphviz/viz.js
vendored
Normal file
@ -0,0 +1,333 @@
|
|||||||
|
/*
|
||||||
|
Viz.js 2.1.2 (Graphviz 2.40.1, Expat 2.2.5, Emscripten 1.37.36)
|
||||||
|
Copyright (c) 2014-2018 Michael Daines
|
||||||
|
Licensed under MIT license
|
||||||
|
|
||||||
|
This distribution contains other software in object code form:
|
||||||
|
|
||||||
|
Graphviz
|
||||||
|
Licensed under Eclipse Public License - v 1.0
|
||||||
|
http://www.graphviz.org
|
||||||
|
|
||||||
|
Expat
|
||||||
|
Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd and Clark Cooper
|
||||||
|
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.
|
||||||
|
Licensed under MIT license
|
||||||
|
http://www.libexpat.org
|
||||||
|
|
||||||
|
zlib
|
||||||
|
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
|
||||||
|
http://www.zlib.net/zlib_license.html
|
||||||
|
*/
|
||||||
|
(function (global, factory) {
|
||||||
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
||||||
|
typeof define === 'function' && define.amd ? define(factory) :
|
||||||
|
(global.Viz = factory());
|
||||||
|
}(this, (function () { 'use strict';
|
||||||
|
|
||||||
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
|
||||||
|
return typeof obj;
|
||||||
|
} : function (obj) {
|
||||||
|
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
||||||
|
};
|
||||||
|
|
||||||
|
var classCallCheck = function (instance, Constructor) {
|
||||||
|
if (!(instance instanceof Constructor)) {
|
||||||
|
throw new TypeError("Cannot call a class as a function");
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
var createClass = function () {
|
||||||
|
function defineProperties(target, props) {
|
||||||
|
for (var i = 0; i < props.length; i++) {
|
||||||
|
var descriptor = props[i];
|
||||||
|
descriptor.enumerable = descriptor.enumerable || false;
|
||||||
|
descriptor.configurable = true;
|
||||||
|
if ("value" in descriptor) descriptor.writable = true;
|
||||||
|
Object.defineProperty(target, descriptor.key, descriptor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return function (Constructor, protoProps, staticProps) {
|
||||||
|
if (protoProps) defineProperties(Constructor.prototype, protoProps);
|
||||||
|
if (staticProps) defineProperties(Constructor, staticProps);
|
||||||
|
return Constructor;
|
||||||
|
};
|
||||||
|
}();
|
||||||
|
|
||||||
|
var _extends = Object.assign || function (target) {
|
||||||
|
for (var i = 1; i < arguments.length; i++) {
|
||||||
|
var source = arguments[i];
|
||||||
|
|
||||||
|
for (var key in source) {
|
||||||
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
||||||
|
target[key] = source[key];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return target;
|
||||||
|
};
|
||||||
|
|
||||||
|
var WorkerWrapper = function () {
|
||||||
|
function WorkerWrapper(worker) {
|
||||||
|
var _this = this;
|
||||||
|
|
||||||
|
classCallCheck(this, WorkerWrapper);
|
||||||
|
|
||||||
|
this.worker = worker;
|
||||||
|
this.listeners = [];
|
||||||
|
this.nextId = 0;
|
||||||
|
|
||||||
|
this.worker.addEventListener('message', function (event) {
|
||||||
|
var id = event.data.id;
|
||||||
|
var error = event.data.error;
|
||||||
|
var result = event.data.result;
|
||||||
|
|
||||||
|
_this.listeners[id](error, result);
|
||||||
|
delete _this.listeners[id];
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
createClass(WorkerWrapper, [{
|
||||||
|
key: 'render',
|
||||||
|
value: function render(src, options) {
|
||||||
|
var _this2 = this;
|
||||||
|
|
||||||
|
return new Promise(function (resolve, reject) {
|
||||||
|
var id = _this2.nextId++;
|
||||||
|
|
||||||
|
_this2.listeners[id] = function (error, result) {
|
||||||
|
if (error) {
|
||||||
|
reject(new Error(error.message, error.fileName, error.lineNumber));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
resolve(result);
|
||||||
|
};
|
||||||
|
|
||||||
|
_this2.worker.postMessage({ id: id, src: src, options: options });
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}]);
|
||||||
|
return WorkerWrapper;
|
||||||
|
}();
|
||||||
|
|
||||||
|
var ModuleWrapper = function ModuleWrapper(module, render) {
|
||||||
|
classCallCheck(this, ModuleWrapper);
|
||||||
|
|
||||||
|
var instance = module();
|
||||||
|
this.render = function (src, options) {
|
||||||
|
return new Promise(function (resolve, reject) {
|
||||||
|
try {
|
||||||
|
resolve(render(instance, src, options));
|
||||||
|
} catch (error) {
|
||||||
|
reject(error);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
// https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding
|
||||||
|
|
||||||
|
|
||||||
|
function b64EncodeUnicode(str) {
|
||||||
|
return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function (match, p1) {
|
||||||
|
return String.fromCharCode('0x' + p1);
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
|
||||||
|
function defaultScale() {
|
||||||
|
if ('devicePixelRatio' in window && window.devicePixelRatio > 1) {
|
||||||
|
return window.devicePixelRatio;
|
||||||
|
} else {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function svgXmlToImageElement(svgXml) {
|
||||||
|
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
||||||
|
_ref$scale = _ref.scale,
|
||||||
|
scale = _ref$scale === undefined ? defaultScale() : _ref$scale,
|
||||||
|
_ref$mimeType = _ref.mimeType,
|
||||||
|
mimeType = _ref$mimeType === undefined ? "image/png" : _ref$mimeType,
|
||||||
|
_ref$quality = _ref.quality,
|
||||||
|
quality = _ref$quality === undefined ? 1 : _ref$quality;
|
||||||
|
|
||||||
|
return new Promise(function (resolve, reject) {
|
||||||
|
var svgImage = new Image();
|
||||||
|
|
||||||
|
svgImage.onload = function () {
|
||||||
|
var canvas = document.createElement('canvas');
|
||||||
|
canvas.width = svgImage.width * scale;
|
||||||
|
canvas.height = svgImage.height * scale;
|
||||||
|
|
||||||
|
var context = canvas.getContext("2d");
|
||||||
|
context.drawImage(svgImage, 0, 0, canvas.width, canvas.height);
|
||||||
|
|
||||||
|
canvas.toBlob(function (blob) {
|
||||||
|
var image = new Image();
|
||||||
|
image.src = URL.createObjectURL(blob);
|
||||||
|
image.width = svgImage.width;
|
||||||
|
image.height = svgImage.height;
|
||||||
|
|
||||||
|
resolve(image);
|
||||||
|
}, mimeType, quality);
|
||||||
|
};
|
||||||
|
|
||||||
|
svgImage.onerror = function (e) {
|
||||||
|
var error;
|
||||||
|
|
||||||
|
if ('error' in e) {
|
||||||
|
error = e.error;
|
||||||
|
} else {
|
||||||
|
error = new Error('Error loading SVG');
|
||||||
|
}
|
||||||
|
|
||||||
|
reject(error);
|
||||||
|
};
|
||||||
|
|
||||||
|
svgImage.src = 'data:image/svg+xml;base64,' + b64EncodeUnicode(svgXml);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function svgXmlToImageElementFabric(svgXml) {
|
||||||
|
var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
||||||
|
_ref2$scale = _ref2.scale,
|
||||||
|
scale = _ref2$scale === undefined ? defaultScale() : _ref2$scale,
|
||||||
|
_ref2$mimeType = _ref2.mimeType,
|
||||||
|
mimeType = _ref2$mimeType === undefined ? 'image/png' : _ref2$mimeType,
|
||||||
|
_ref2$quality = _ref2.quality,
|
||||||
|
quality = _ref2$quality === undefined ? 1 : _ref2$quality;
|
||||||
|
|
||||||
|
var multiplier = scale;
|
||||||
|
|
||||||
|
var format = void 0;
|
||||||
|
if (mimeType == 'image/jpeg') {
|
||||||
|
format = 'jpeg';
|
||||||
|
} else if (mimeType == 'image/png') {
|
||||||
|
format = 'png';
|
||||||
|
}
|
||||||
|
|
||||||
|
return new Promise(function (resolve, reject) {
|
||||||
|
fabric.loadSVGFromString(svgXml, function (objects, options) {
|
||||||
|
// If there's something wrong with the SVG, Fabric may return an empty array of objects. Graphviz appears to give us at least one <g> element back even given an empty graph, so we will assume an error in this case.
|
||||||
|
if (objects.length == 0) {
|
||||||
|
reject(new Error('Error loading SVG with Fabric'));
|
||||||
|
}
|
||||||
|
|
||||||
|
var element = document.createElement("canvas");
|
||||||
|
element.width = options.width;
|
||||||
|
element.height = options.height;
|
||||||
|
|
||||||
|
var canvas = new fabric.Canvas(element, { enableRetinaScaling: false });
|
||||||
|
var obj = fabric.util.groupSVGElements(objects, options);
|
||||||
|
canvas.add(obj).renderAll();
|
||||||
|
|
||||||
|
var image = new Image();
|
||||||
|
image.src = canvas.toDataURL({ format: format, multiplier: multiplier, quality: quality });
|
||||||
|
image.width = options.width;
|
||||||
|
image.height = options.height;
|
||||||
|
|
||||||
|
resolve(image);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
var Viz = function () {
|
||||||
|
function Viz() {
|
||||||
|
var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
||||||
|
workerURL = _ref3.workerURL,
|
||||||
|
worker = _ref3.worker,
|
||||||
|
Module = _ref3.Module,
|
||||||
|
render = _ref3.render;
|
||||||
|
|
||||||
|
classCallCheck(this, Viz);
|
||||||
|
|
||||||
|
if (typeof workerURL !== 'undefined') {
|
||||||
|
this.wrapper = new WorkerWrapper(new Worker(workerURL));
|
||||||
|
} else if (typeof worker !== 'undefined') {
|
||||||
|
this.wrapper = new WorkerWrapper(worker);
|
||||||
|
} else if (typeof Module !== 'undefined' && typeof render !== 'undefined') {
|
||||||
|
this.wrapper = new ModuleWrapper(Module, render);
|
||||||
|
} else if (typeof Viz.Module !== 'undefined' && typeof Viz.render !== 'undefined') {
|
||||||
|
this.wrapper = new ModuleWrapper(Viz.Module, Viz.render);
|
||||||
|
} else {
|
||||||
|
throw new Error('Must specify workerURL or worker option, Module and render options, or include one of full.render.js or lite.render.js after viz.js.');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
createClass(Viz, [{
|
||||||
|
key: 'renderString',
|
||||||
|
value: function renderString(src) {
|
||||||
|
var _ref4 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
||||||
|
_ref4$format = _ref4.format,
|
||||||
|
format = _ref4$format === undefined ? 'svg' : _ref4$format,
|
||||||
|
_ref4$engine = _ref4.engine,
|
||||||
|
engine = _ref4$engine === undefined ? 'dot' : _ref4$engine,
|
||||||
|
_ref4$files = _ref4.files,
|
||||||
|
files = _ref4$files === undefined ? [] : _ref4$files,
|
||||||
|
_ref4$images = _ref4.images,
|
||||||
|
images = _ref4$images === undefined ? [] : _ref4$images,
|
||||||
|
_ref4$yInvert = _ref4.yInvert,
|
||||||
|
yInvert = _ref4$yInvert === undefined ? false : _ref4$yInvert,
|
||||||
|
_ref4$nop = _ref4.nop,
|
||||||
|
nop = _ref4$nop === undefined ? 0 : _ref4$nop;
|
||||||
|
|
||||||
|
for (var i = 0; i < images.length; i++) {
|
||||||
|
files.push({
|
||||||
|
path: images[i].path,
|
||||||
|
data: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n<svg width="' + images[i].width + '" height="' + images[i].height + '"></svg>'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
return this.wrapper.render(src, { format: format, engine: engine, files: files, images: images, yInvert: yInvert, nop: nop });
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: 'renderSVGElement',
|
||||||
|
value: function renderSVGElement(src) {
|
||||||
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
||||||
|
|
||||||
|
return this.renderString(src, _extends({}, options, { format: 'svg' })).then(function (str) {
|
||||||
|
var parser = new DOMParser();
|
||||||
|
return parser.parseFromString(str, 'image/svg+xml').documentElement;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: 'renderImageElement',
|
||||||
|
value: function renderImageElement(src) {
|
||||||
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
||||||
|
var scale = options.scale,
|
||||||
|
mimeType = options.mimeType,
|
||||||
|
quality = options.quality;
|
||||||
|
|
||||||
|
|
||||||
|
return this.renderString(src, _extends({}, options, { format: 'svg' })).then(function (str) {
|
||||||
|
if ((typeof fabric === 'undefined' ? 'undefined' : _typeof(fabric)) === "object" && fabric.loadSVGFromString) {
|
||||||
|
return svgXmlToImageElementFabric(str, { scale: scale, mimeType: mimeType, quality: quality });
|
||||||
|
} else {
|
||||||
|
return svgXmlToImageElement(str, { scale: scale, mimeType: mimeType, quality: quality });
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: 'renderJSONObject',
|
||||||
|
value: function renderJSONObject(src) {
|
||||||
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
||||||
|
var format = options.format;
|
||||||
|
|
||||||
|
|
||||||
|
if (format !== 'json' || format !== 'json0') {
|
||||||
|
format = 'json';
|
||||||
|
}
|
||||||
|
|
||||||
|
return this.renderString(src, _extends({}, options, { format: format })).then(function (str) {
|
||||||
|
return JSON.parse(str);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}]);
|
||||||
|
return Viz;
|
||||||
|
}();
|
||||||
|
|
||||||
|
return Viz;
|
||||||
|
|
||||||
|
})));
|
1617
public/static/lib/vditor/dist/js/highlight.js/highlight.pack.js
vendored
Normal file
73
public/static/lib/vditor/dist/js/highlight.js/solidity.min.js
vendored
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
hljs.registerLanguage("solidity",(()=>{"use strict";function e(){try{return!0
|
||||||
|
}catch(e){return!1}}
|
||||||
|
var a=/-?(\b0[xX]([a-fA-F0-9]_?)*[a-fA-F0-9]|(\b[1-9](_?\d)*(\.((\d_?)*\d)?)?|\.\d(_?\d)*)([eE][-+]?\d(_?\d)*)?|\b0)(?!\w|\$)/
|
||||||
|
;e()&&(a=a.source.replace(/\\b/g,"(?<!\\$)\\b"));var s={className:"number",
|
||||||
|
begin:a,relevance:0},n={
|
||||||
|
keyword:"assembly let function if switch case default for leave break continue u256 jump jumpi stop return revert selfdestruct invalid",
|
||||||
|
built_in:"add sub mul div sdiv mod smod exp not lt gt slt sgt eq iszero and or xor byte shl shr sar addmod mulmod signextend keccak256 pc pop dup1 dup2 dup3 dup4 dup5 dup6 dup7 dup8 dup9 dup10 dup11 dup12 dup13 dup14 dup15 dup16 swap1 swap2 swap3 swap4 swap5 swap6 swap7 swap8 swap9 swap10 swap11 swap12 swap13 swap14 swap15 swap16 mload mstore mstore8 sload sstore msize gas address balance selfbalance caller callvalue calldataload calldatasize calldatacopy codesize codecopy extcodesize extcodecopy returndatasize returndatacopy extcodehash create create2 call callcode delegatecall staticcall log0 log1 log2 log3 log4 chainid origin gasprice basefee blockhash coinbase timestamp number difficulty gaslimit",
|
||||||
|
literal:"true false"},i={className:"string",
|
||||||
|
begin:/\bhex'(([0-9a-fA-F]{2}_?)*[0-9a-fA-F]{2})?'/},t={className:"string",
|
||||||
|
begin:/\bhex"(([0-9a-fA-F]{2}_?)*[0-9a-fA-F]{2})?"/};function r(e){
|
||||||
|
return e.inherit(e.APOS_STRING_MODE,{begin:/(\bunicode)?'/})}function l(e){
|
||||||
|
return e.inherit(e.QUOTE_STRING_MODE,{begin:/(\bunicode)?"/})}var o={
|
||||||
|
SOL_ASSEMBLY_KEYWORDS:n,baseAssembly:e=>{
|
||||||
|
var a=r(e),o=l(e),c=/[A-Za-z_$][A-Za-z_$0-9.]*/,d=e.inherit(e.TITLE_MODE,{
|
||||||
|
begin:/[A-Za-z$_][0-9A-Za-z$_]*/,lexemes:c,keywords:n}),u={className:"params",
|
||||||
|
begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,lexemes:c,keywords:n,
|
||||||
|
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,o,s]},_={
|
||||||
|
className:"operator",begin:/:=|->/};return{keywords:n,lexemes:c,
|
||||||
|
contains:[a,o,i,t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,_,{
|
||||||
|
className:"function",lexemes:c,beginKeywords:"function",end:"{",excludeEnd:!0,
|
||||||
|
contains:[d,u,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,_]}]}},
|
||||||
|
solAposStringMode:r,solQuoteStringMode:l,HEX_APOS_STRING_MODE:i,
|
||||||
|
HEX_QUOTE_STRING_MODE:t,SOL_NUMBER:s,isNegativeLookbehindAvailable:e}
|
||||||
|
;const{baseAssembly:c,solAposStringMode:d,solQuoteStringMode:u,HEX_APOS_STRING_MODE:_,HEX_QUOTE_STRING_MODE:m,SOL_NUMBER:b,isNegativeLookbehindAvailable:g}=o
|
||||||
|
;return e=>{for(var a=d(e),s=u(e),n=[],i=0;i<32;i++)n[i]=i+1
|
||||||
|
;var t=n.map((e=>8*e)),r=[];for(i=0;i<=80;i++)r[i]=i
|
||||||
|
;var l=n.map((e=>"bytes"+e)).join(" ")+" ",o=t.map((e=>"uint"+e)).join(" ")+" ",E=t.map((e=>"int"+e)).join(" ")+" ",M=[].concat.apply([],t.map((e=>r.map((a=>e+"x"+a))))),p={
|
||||||
|
keyword:"var bool string int uint "+E+o+"byte bytes "+l+"fixed ufixed "+M.map((e=>"fixed"+e)).join(" ")+" "+M.map((e=>"ufixed"+e)).join(" ")+" enum struct mapping address new delete if else for while continue break return throw emit try catch revert unchecked _ function modifier event constructor fallback receive error virtual override constant immutable anonymous indexed storage memory calldata external public internal payable pure view private returns import from as using global pragma contract interface library is abstract type assembly",
|
||||||
|
literal:"true false wei gwei szabo finney ether seconds minutes hours days weeks years",
|
||||||
|
built_in:"self this super selfdestruct suicide now msg block tx abi blockhash gasleft assert require Error Panic sha3 sha256 keccak256 ripemd160 ecrecover addmod mulmod log0 log1 log2 log3 log4"
|
||||||
|
},O={className:"operator",begin:/[+\-!~*\/%<>&^|=]/
|
||||||
|
},C=/[A-Za-z_$][A-Za-z_$0-9]*/,N={className:"params",begin:/\(/,end:/\)/,
|
||||||
|
excludeBegin:!0,excludeEnd:!0,lexemes:C,keywords:p,
|
||||||
|
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,s,b,"self"]},f={
|
||||||
|
begin:/\.\s*/,end:/[^A-Za-z0-9$_\.]/,excludeBegin:!0,excludeEnd:!0,keywords:{
|
||||||
|
built_in:"gas value selector address length push pop send transfer call callcode delegatecall staticcall balance code codehash wrap unwrap name creationCode runtimeCode interfaceId min max"
|
||||||
|
},relevance:2},y=e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/,
|
||||||
|
lexemes:C,keywords:p}),w={className:"built_in",
|
||||||
|
begin:(g()?"(?<!\\$)\\b":"\\b")+"(gas|value|salt)(?=:)"};function x(e,a){return{
|
||||||
|
begin:(g()?"(?<!\\$)\\b":"\\b")+e+"\\.\\s*",end:/[^A-Za-z0-9$_\.]/,
|
||||||
|
excludeBegin:!1,excludeEnd:!0,lexemes:C,keywords:{built_in:e+" "+a},
|
||||||
|
contains:[f],relevance:10}}var h=c(e),v=e.inherit(h,{
|
||||||
|
contains:h.contains.concat([{begin:/\./,end:/[^A-Za-z0-9$.]/,excludeBegin:!0,
|
||||||
|
excludeEnd:!0,keywords:{built_in:"slot offset length address selector"},
|
||||||
|
relevance:2},{begin:/_/,end:/[^A-Za-z0-9$.]/,excludeBegin:!0,excludeEnd:!0,
|
||||||
|
keywords:{built_in:"slot offset"},relevance:2}])});return{aliases:["sol"],
|
||||||
|
keywords:p,lexemes:C,
|
||||||
|
contains:[a,s,_,m,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,b,w,O,{
|
||||||
|
className:"function",lexemes:C,
|
||||||
|
beginKeywords:"function modifier event constructor fallback receive error",
|
||||||
|
end:/[{;]/,excludeEnd:!0,
|
||||||
|
contains:[y,N,w,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:/%/
|
||||||
|
},x("msg","gas value data sender sig"),x("block","blockhash coinbase difficulty gaslimit basefee number timestamp chainid"),x("tx","gasprice origin"),x("abi","decode encode encodePacked encodeWithSelector encodeWithSignature encodeCall"),x("bytes","concat"),x("string","concat"),f,{
|
||||||
|
className:"class",lexemes:C,beginKeywords:"contract interface library",end:"{",
|
||||||
|
excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"is",lexemes:C
|
||||||
|
},y,N,w,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{lexemes:C,
|
||||||
|
beginKeywords:"struct enum",end:"{",excludeEnd:!0,illegal:/[:"\[\]]/,
|
||||||
|
contains:[y,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{
|
||||||
|
beginKeywords:"import",end:";",lexemes:C,keywords:"import from as",
|
||||||
|
contains:[y,a,s,_,m,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,O]},{
|
||||||
|
beginKeywords:"using",end:";",lexemes:C,keywords:"using for global",
|
||||||
|
contains:[y,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,O]},{className:"meta",
|
||||||
|
beginKeywords:"pragma",end:";",lexemes:C,keywords:{
|
||||||
|
keyword:"pragma solidity experimental abicoder",
|
||||||
|
built_in:"ABIEncoderV2 SMTChecker v1 v2"},
|
||||||
|
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(a,{
|
||||||
|
className:"meta-string"}),e.inherit(s,{className:"meta-string"})]},{
|
||||||
|
beginKeywords:"assembly",end:/\b\B/,
|
||||||
|
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(a,{
|
||||||
|
className:"meta-string"}),e.inherit(s,{className:"meta-string"}),e.inherit(v,{
|
||||||
|
begin:"{",end:"}",endsParent:!0,contains:v.contains.concat([e.inherit(v,{
|
||||||
|
begin:"{",end:"}",contains:v.contains.concat(["self"])})])})]}],illegal:/#/}}
|
||||||
|
})());
|
155
public/static/lib/vditor/dist/js/highlight.js/styles/abap.css
vendored
Normal file
@ -0,0 +1,155 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #ff0000 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #0000ff }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #0000ff }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #0000ff }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #0000ff }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #0000ff }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #0000ff }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #0000ff }
|
||||||
|
/* Name */ .highlight-chroma .highlight-n { color: #000000 }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #000000 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #000000 }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { color: #000000 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #000000 }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #000000 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #000000 }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #000000 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #000000 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #000000 }
|
||||||
|
/* NameFunctionMagic */ .highlight-chroma .highlight-fm { color: #000000 }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #000000 }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #000000 }
|
||||||
|
/* NameOther */ .highlight-chroma .highlight-nx { color: #000000 }
|
||||||
|
/* NameProperty */ .highlight-chroma .highlight-py { color: #000000 }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #000000 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #000000 }
|
||||||
|
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #000000 }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #000000 }
|
||||||
|
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #000000 }
|
||||||
|
/* NameVariableMagic */ .highlight-chroma .highlight-vm { color: #000000 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #55aa22 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #55aa22 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #55aa22 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #55aa22 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #55aa22 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #55aa22 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #55aa22 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #55aa22 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #55aa22 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #55aa22 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #55aa22 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #55aa22 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #55aa22 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #55aa22 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #33aaff }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #33aaff }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #33aaff }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #33aaff }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #33aaff }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #33aaff }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #33aaff }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #0000ff }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #888888; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #888888; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #888888; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #888888; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #888888; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #888888; font-style: italic }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #888888; font-style: italic }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Google Code style (c) Aahan Krish <geekpanth3r@gmail.com>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: white;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #800;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-name {
|
||||||
|
color: #008;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable {
|
||||||
|
color: #660;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-regexp {
|
||||||
|
color: #080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-link {
|
||||||
|
color: #066;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-params {
|
||||||
|
color: #606;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-formula {
|
||||||
|
background-color: #eee;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #9B703F
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
background-color: #baeeba;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
background-color: #ffc8bd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
143
public/static/lib/vditor/dist/js/highlight.js/styles/algol.css
vendored
Normal file
@ -0,0 +1,143 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { font-weight: bold; text-decoration: underline }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { font-weight: bold; text-decoration: underline }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { font-weight: bold; font-style: italic; text-decoration: underline }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { font-weight: bold; text-decoration: underline }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { font-weight: bold; text-decoration: underline }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { font-weight: bold; text-decoration: underline }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { font-weight: bold; text-decoration: underline }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { font-weight: bold; font-style: italic }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { font-weight: bold; font-style: italic }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #666666; font-weight: bold; font-style: italic }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #666666; font-weight: bold; font-style: italic }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #666666; font-weight: bold; font-style: italic }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #666666; font-weight: bold; font-style: italic }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #666666; font-weight: bold; font-style: italic }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #666666; font-style: italic }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #888888; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #888888; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #888888; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #888888; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #888888; font-weight: bold }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #888888; font-weight: bold }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #888888; font-weight: bold }
|
||||||
|
/*
|
||||||
|
Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars)
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
color: #000;
|
||||||
|
background: #f8f8ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #408080;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #954121;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-number {
|
||||||
|
color: #40a070;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-doctag {
|
||||||
|
color: #219161;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-type {
|
||||||
|
color: #19469d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-params {
|
||||||
|
color: #00f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title {
|
||||||
|
color: #458;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #000080;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable {
|
||||||
|
color: #008080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link {
|
||||||
|
color: #b68;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet {
|
||||||
|
color: #990073;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name {
|
||||||
|
color: #0086b3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #999;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
background: #fdd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
background: #dfd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
90
public/static/lib/vditor/dist/js/highlight.js/styles/algol_nu.css
vendored
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { font-weight: bold; font-style: italic }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { font-weight: bold }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { font-weight: bold }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { font-weight: bold; font-style: italic }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { font-weight: bold; font-style: italic }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #666666; font-weight: bold; font-style: italic }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #666666; font-weight: bold; font-style: italic }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #666666; font-weight: bold; font-style: italic }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #666666; font-weight: bold; font-style: italic }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #666666; font-weight: bold; font-style: italic }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #666666; font-style: italic }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #666666; font-style: italic }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #888888; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #888888; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #888888; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #888888; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #888888; font-weight: bold }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #888888; font-weight: bold }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #888888; font-weight: bold }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: white;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-addition,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-link {
|
||||||
|
color: #888;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
469
public/static/lib/vditor/dist/js/highlight.js/styles/ant-design.css
vendored
Normal file
@ -0,0 +1,469 @@
|
|||||||
|
/* Background */
|
||||||
|
.highlight-chroma {
|
||||||
|
display: block;
|
||||||
|
padding: 16px 32px;
|
||||||
|
color: rgba(0, 0, 0, .85);
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: lucida console, Consolas, Monaco, andale mono, ubuntu mono, monospace;
|
||||||
|
line-height: 2;
|
||||||
|
white-space: pre;
|
||||||
|
background: white;
|
||||||
|
border: 1px solid #e9e9e9;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlight-chroma::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
.highlight-o {
|
||||||
|
color: #0b8235;
|
||||||
|
}
|
||||||
|
.highlight-p {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
/* Error */
|
||||||
|
.highlight-chroma .highlight-err {
|
||||||
|
color: #a61717;
|
||||||
|
background-color: #e3d2d2
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LineTableTD */
|
||||||
|
.highlight-chroma .highlight-lntd {
|
||||||
|
vertical-align: top;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LineTable */
|
||||||
|
.highlight-chroma .highlight-lntable {
|
||||||
|
border-spacing: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
border: 0;
|
||||||
|
width: auto;
|
||||||
|
overflow: auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LineHighlight */
|
||||||
|
.highlight-chroma .highlight-hl {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
background-color: #363636
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LineNumbersTable */
|
||||||
|
.highlight-chroma .highlight-lnt {
|
||||||
|
margin-right: 0.4em;
|
||||||
|
padding: 0 0.4em 0 0.4em;
|
||||||
|
color: #686868
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LineNumbers */
|
||||||
|
.highlight-chroma .highlight-ln {
|
||||||
|
margin-right: 0.4em;
|
||||||
|
padding: 0 0.4em 0 0.4em;
|
||||||
|
color: #686868
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Keyword */
|
||||||
|
.highlight-chroma .highlight-k {
|
||||||
|
color: #6ab825;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* KeywordConstant */
|
||||||
|
.highlight-chroma .highlight-kc {
|
||||||
|
color: #6ab825;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* KeywordDeclaration */
|
||||||
|
.highlight-chroma .highlight-kd {
|
||||||
|
color: #6ab825;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* KeywordNamespace */
|
||||||
|
.highlight-chroma .highlight-kn {
|
||||||
|
color: #6ab825;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* KeywordPseudo */
|
||||||
|
.highlight-chroma .highlight-kp {
|
||||||
|
color: #6ab825
|
||||||
|
}
|
||||||
|
|
||||||
|
/* KeywordReserved */
|
||||||
|
.highlight-chroma .highlight-kr {
|
||||||
|
color: #008dff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* KeywordType */
|
||||||
|
.highlight-chroma .highlight-kt {
|
||||||
|
color: #6ab825;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameAttribute */
|
||||||
|
.highlight-chroma .highlight-na {
|
||||||
|
color: #bbbbbb
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameBuiltin */
|
||||||
|
.highlight-chroma .highlight-nb {
|
||||||
|
color: #24909d
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameClass */
|
||||||
|
.highlight-chroma .highlight-nc {
|
||||||
|
color: #447fcf;
|
||||||
|
text-decoration: underline
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameConstant */
|
||||||
|
.highlight-chroma .highlight-no {
|
||||||
|
color: #40ffff
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameDecorator */
|
||||||
|
.highlight-chroma .highlight-nd {
|
||||||
|
color: #ffa500
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameException */
|
||||||
|
.highlight-chroma .highlight-ne {
|
||||||
|
color: #bbbbbb
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameFunction */
|
||||||
|
.highlight-chroma .highlight-nf {
|
||||||
|
color: #447fcf
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameNamespace */
|
||||||
|
.highlight-chroma .highlight-nn {
|
||||||
|
color: #447fcf;
|
||||||
|
text-decoration: underline
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameTag */
|
||||||
|
.highlight-chroma .highlight-nt {
|
||||||
|
color: #6ab825;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameVariable */
|
||||||
|
.highlight-chroma .highlight-nv {
|
||||||
|
color: #40ffff
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralString */
|
||||||
|
.highlight-chroma .highlight-s {
|
||||||
|
color: #ed9d13
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringAffix */
|
||||||
|
.highlight-chroma .highlight-sa {
|
||||||
|
color: #ed9d13
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringBacktick */
|
||||||
|
.highlight-chroma .highlight-sb {
|
||||||
|
color: #ed9d13
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringChar */
|
||||||
|
.highlight-chroma .highlight-sc {
|
||||||
|
color: #ed9d13
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringDelimiter */
|
||||||
|
.highlight-chroma .highlight-dl {
|
||||||
|
color: #ed9d13
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringDoc */
|
||||||
|
.highlight-chroma .highlight-sd {
|
||||||
|
color: #ed9d13
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringDouble */
|
||||||
|
.highlight-chroma .highlight-s2 {
|
||||||
|
color: #ed9d13
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringEscape */
|
||||||
|
.highlight-chroma .highlight-se {
|
||||||
|
color: #ed9d13
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringHeredoc */
|
||||||
|
.highlight-chroma .highlight-sh {
|
||||||
|
color: #ed9d13
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringInterpol */
|
||||||
|
.highlight-chroma .highlight-si {
|
||||||
|
color: #ed9d13
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringOther */
|
||||||
|
.highlight-chroma .highlight-sx {
|
||||||
|
color: #ffa500
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringRegex */
|
||||||
|
.highlight-chroma .highlight-sr {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringSingle */
|
||||||
|
.highlight-chroma .highlight-s1 {
|
||||||
|
color: #0b8235
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringSymbol */
|
||||||
|
.highlight-chroma .highlight-ss {
|
||||||
|
color: #ed9d13
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralNumber */
|
||||||
|
.highlight-chroma .highlight-m {
|
||||||
|
color: #3677a9
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralNumberBin */
|
||||||
|
.highlight-chroma .highlight-mb {
|
||||||
|
color: #3677a9
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralNumberFloat */
|
||||||
|
.highlight-chroma .highlight-mf {
|
||||||
|
color: #3677a9
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralNumberHex */
|
||||||
|
.highlight-chroma .highlight-mh {
|
||||||
|
color: #3677a9
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralNumberInteger */
|
||||||
|
.highlight-chroma .highlight-mi {
|
||||||
|
color: #3677a9
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralNumberIntegerLong */
|
||||||
|
.highlight-chroma .highlight-il {
|
||||||
|
color: #3677a9
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralNumberOct */
|
||||||
|
.highlight-chroma .highlight-mo {
|
||||||
|
color: #3677a9
|
||||||
|
}
|
||||||
|
|
||||||
|
/* OperatorWord */
|
||||||
|
.highlight-chroma .highlight-ow {
|
||||||
|
color: #6ab825;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Comment */
|
||||||
|
.highlight-chroma .highlight-c {
|
||||||
|
color: #999999;
|
||||||
|
font-style: italic
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CommentHashbang */
|
||||||
|
.highlight-chroma .highlight-ch {
|
||||||
|
color: #999999;
|
||||||
|
font-style: italic
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CommentMultiline */
|
||||||
|
.highlight-chroma .highlight-cm {
|
||||||
|
color: #999999;
|
||||||
|
font-style: italic
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CommentSingle */
|
||||||
|
.highlight-chroma .highlight-c1 {
|
||||||
|
color: #708090;
|
||||||
|
font-style: italic
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CommentSpecial */
|
||||||
|
.highlight-chroma .highlight-cs {
|
||||||
|
color: #e50808;
|
||||||
|
background-color: #520000;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CommentPreproc */
|
||||||
|
.highlight-chroma .highlight-cp {
|
||||||
|
color: #cd2828;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CommentPreprocFile */
|
||||||
|
.highlight-chroma .highlight-cpf {
|
||||||
|
color: #cd2828;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericDeleted */
|
||||||
|
.highlight-chroma .highlight-gd {
|
||||||
|
color: #d22323
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericEmph */
|
||||||
|
.highlight-chroma .highlight-ge {
|
||||||
|
font-style: italic
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericError */
|
||||||
|
.highlight-chroma .highlight-gr {
|
||||||
|
color: #d22323
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericHeading */
|
||||||
|
.highlight-chroma .highlight-gh {
|
||||||
|
color: #ffffff;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericInserted */
|
||||||
|
.highlight-chroma .highlight-gi {
|
||||||
|
color: #589819
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericOutput */
|
||||||
|
.highlight-chroma .highlight-go {
|
||||||
|
color: #cccccc
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericPrompt */
|
||||||
|
.highlight-chroma .highlight-gp {
|
||||||
|
color: #aaaaaa
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericStrong */
|
||||||
|
.highlight-chroma .highlight-gs {
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericSubheading */
|
||||||
|
.highlight-chroma .highlight-gu {
|
||||||
|
color: #ffffff;
|
||||||
|
text-decoration: underline
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericTraceback */
|
||||||
|
.highlight-chroma .highlight-gt {
|
||||||
|
color: #d22323
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericUnderline */
|
||||||
|
.highlight-chroma .highlight-gl {
|
||||||
|
text-decoration: underline
|
||||||
|
}
|
||||||
|
|
||||||
|
/* TextWhitespace */
|
||||||
|
.highlight-chroma .highlight-w {
|
||||||
|
color: #666666
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
padding: 16px 32px;
|
||||||
|
color: rgba(0, 0, 0, .85);
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: lucida console, Consolas, Monaco, andale mono, ubuntu mono, monospace;
|
||||||
|
line-height: 2;
|
||||||
|
white-space: pre;
|
||||||
|
background: white;
|
||||||
|
border: 1px solid #e9e9e9;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #708090;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-formula {
|
||||||
|
color: #008dff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-literal {
|
||||||
|
color: #56b6c2;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.hljs-regexp {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-addition,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-meta-string {
|
||||||
|
color: #0b8235;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-class .hljs-title {
|
||||||
|
color: #e6c07b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-number {
|
||||||
|
color: #f81d22;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-title {
|
||||||
|
color: #f81d22;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-link {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
157
public/static/lib/vditor/dist/js/highlight.js/styles/arduino.css
vendored
Normal file
@ -0,0 +1,157 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #a61717 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #728e00 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #00979d }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #728e00 }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #728e00 }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #00979d }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #00979d }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #00979d }
|
||||||
|
/* Name */ .highlight-chroma .highlight-n { color: #434f54 }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #434f54 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #728e00 }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { color: #434f54 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #434f54 }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #434f54 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #434f54 }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #434f54 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #434f54 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #d35400 }
|
||||||
|
/* NameFunctionMagic */ .highlight-chroma .highlight-fm { color: #434f54 }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #434f54 }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #434f54 }
|
||||||
|
/* NameOther */ .highlight-chroma .highlight-nx { color: #728e00 }
|
||||||
|
/* NameProperty */ .highlight-chroma .highlight-py { color: #434f54 }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #434f54 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #434f54 }
|
||||||
|
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #434f54 }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #434f54 }
|
||||||
|
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #434f54 }
|
||||||
|
/* NameVariableMagic */ .highlight-chroma .highlight-vm { color: #434f54 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #7f8c8d }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #7f8c8d }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #7f8c8d }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #7f8c8d }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #7f8c8d }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #7f8c8d }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #7f8c8d }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #7f8c8d }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #7f8c8d }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #7f8c8d }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #7f8c8d }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #7f8c8d }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #7f8c8d }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #7f8c8d }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #8a7b52 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #8a7b52 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #8a7b52 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #8a7b52 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #8a7b52 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #8a7b52 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #8a7b52 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #728e00 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #728e00 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #95a5a6 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #95a5a6 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #95a5a6 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #95a5a6 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #95a5a6 }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #728e00 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #728e00 }
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
Arduino® Light Theme - Stefania Mellai <s.mellai@arduino.cc>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #434f54;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-name {
|
||||||
|
color: #00979D;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-code,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #D35400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo {
|
||||||
|
color: #00979D;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #005C5F;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #880000;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment {
|
||||||
|
color: rgba(149,165,166,.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta-keyword {
|
||||||
|
color: #728E00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #728E00;
|
||||||
|
color: #434f54;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-function {
|
||||||
|
color: #728E00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-number {
|
||||||
|
color: #8A7B52;
|
||||||
|
}
|
||||||
|
|
138
public/static/lib/vditor/dist/js/highlight.js/styles/autumn.css
vendored
Normal file
@ -0,0 +1,138 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #ff0000; background-color: #ffaaaa }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #0000aa }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #0000aa }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #0000aa }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #0000aa }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #0000aa }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #0000aa }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #00aaaa }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #1e90ff }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #00aaaa }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #00aa00; text-decoration: underline }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #aa0000 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #888888 }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #880000; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #00aa00 }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #00aaaa; text-decoration: underline }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #1e90ff; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #aa0000 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #aa5500 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #aa5500 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #aa5500 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #aa5500 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #aa5500 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #aa5500 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #aa5500 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #aa5500 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #aa5500 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #aa5500 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #aa5500 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #009999 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #aa5500 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #0000aa }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #009999 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #009999 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #009999 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #009999 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #009999 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #009999 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #009999 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #0000aa }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #aaaaaa; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #aaaaaa; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #aaaaaa; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #aaaaaa; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #0000aa; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #4c8317 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #4c8317 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #aa0000 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #aa0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #000080; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #00aa00 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #555555 }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #800080; font-weight: bold }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
|
||||||
|
/* Base16 Atelier Heath Light - Theme */
|
||||||
|
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */
|
||||||
|
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
||||||
|
|
||||||
|
/* Atelier-Heath Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #776977;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Heath Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #ca402b;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Heath Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params {
|
||||||
|
color: #a65926;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Heath Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet {
|
||||||
|
color: #918b3b;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Heath Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #516aec;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Heath Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #7b59c0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
background: #f7f3f7;
|
||||||
|
color: #695d69;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
147
public/static/lib/vditor/dist/js/highlight.js/styles/borland.css
vendored
Normal file
@ -0,0 +1,147 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #a61717; background-color: #e3d2d2 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #000080; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #000080; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #000080; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #000080; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #000080; font-weight: bold }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #000080; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #000080; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #ff0000 }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #000080; font-weight: bold }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #0000ff }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #0000ff }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #0000ff }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #800080 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #0000ff }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #0000ff }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #0000ff }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #0000ff }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #0000ff }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #0000ff }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #0000ff }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #0000ff }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #0000ff }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #0000ff }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #0000ff }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #0000ff }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #0000ff }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #0000ff }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #0000ff }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #0000ff }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #0000ff }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #008800; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #008800; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #008800; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #008800; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #008800; font-weight: bold }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #008080 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #008080 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #000000; background-color: #ffdddd }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #aa0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #999999 }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #000000; background-color: #ddffdd }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #555555 }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #aaaaaa }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Lightfair style (c) Tristian Kelly <tristian.kelly560@gmail.com>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-name {
|
||||||
|
color:#01a3a3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag,.hljs-meta {
|
||||||
|
color:#778899;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #444
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment {
|
||||||
|
color: #888888
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-meta-keyword,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-name {
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #4286f4
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #4286f4;
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo {
|
||||||
|
color: #BC6060
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-literal {
|
||||||
|
color: #62bcbc
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-code,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #25c6c6
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta-string {
|
||||||
|
color: #4d99bf
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold
|
||||||
|
}
|
||||||
|
|
150
public/static/lib/vditor/dist/js/highlight.js/styles/bw.css
vendored
Normal file
@ -0,0 +1,150 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { font-weight: bold }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { font-weight: bold }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { font-weight: bold }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { font-weight: bold }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { font-weight: bold }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { font-style: italic }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { font-style: italic }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { font-style: italic }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { font-style: italic }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { font-style: italic }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { font-style: italic }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { font-style: italic }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { font-weight: bold; font-style: italic }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { font-style: italic }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { font-weight: bold; font-style: italic }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { font-style: italic }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { font-style: italic }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { font-style: italic }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { font-style: italic }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { font-weight: bold }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { font-weight: bold }
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
grayscale style (c) MY Sun <simonmysun@gmail.com>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
color: #333;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #777;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #333;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-literal {
|
||||||
|
color: #777;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-formula {
|
||||||
|
color: #333;
|
||||||
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-selector-id {
|
||||||
|
color: #000;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-subst {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-class .hljs-title,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-name {
|
||||||
|
color: #333;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag {
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp {
|
||||||
|
color: #333;
|
||||||
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-link {
|
||||||
|
color: #000;
|
||||||
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name {
|
||||||
|
color: #000;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #999;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #fff;
|
||||||
|
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
color: #000;
|
||||||
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
158
public/static/lib/vditor/dist/js/highlight.js/styles/colorful.css
vendored
Normal file
@ -0,0 +1,158 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #ff0000; background-color: #ffaaaa }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #008800; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #008800; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #008800; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #008800; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #003388; font-weight: bold }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #008800; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #333399; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #0000cc }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #007020 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #bb0066; font-weight: bold }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #003366; font-weight: bold }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #555555; font-weight: bold }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #880000; font-weight: bold }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #ff0000; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #0066bb; font-weight: bold }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #997700; font-weight: bold }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #0e84b5; font-weight: bold }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #007700 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #996633 }
|
||||||
|
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #336699 }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #dd7700; font-weight: bold }
|
||||||
|
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #3333bb }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { background-color: #fff0f0 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { background-color: #fff0f0 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { background-color: #fff0f0 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #0044dd; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { background-color: #fff0f0 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #dd4422; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { background-color: #fff0f0 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #666666; background-color: #fff0f0; font-weight: bold }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { background-color: #fff0f0 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { background-color: #eeeeee }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #dd2200; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #000000; background-color: #fff0ff }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { background-color: #fff0f0 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #aa6600; background-color: #fff0f0 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #6600ee; font-weight: bold }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #6600ee; font-weight: bold }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #6600ee; font-weight: bold }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #005588; font-weight: bold }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #0000dd; font-weight: bold }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #6600ee; font-weight: bold }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #4400ee; font-weight: bold }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #333333 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #000000; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #888888 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #888888 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #888888 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #888888 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #cc0000; font-weight: bold }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #557799 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #557799 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #a00000 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #ff0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #000080; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #00a000 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #c65d09; font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #800080; font-weight: bold }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #0044dd }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
|
||||||
|
/* Base16 Atelier Plateau Light - Theme */
|
||||||
|
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */
|
||||||
|
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
||||||
|
|
||||||
|
/* Atelier-Plateau Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #655d5d;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Plateau Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #ca4949;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Plateau Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params {
|
||||||
|
color: #b45a3c;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Plateau Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet {
|
||||||
|
color: #4b8b8b;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Plateau Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #7272ca;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Plateau Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #8464c4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #1b1818;
|
||||||
|
display: inline-block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
background-color: #ca4949;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
background-color: #4b8b8b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
background: #f4ecec;
|
||||||
|
color: #585050;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
140
public/static/lib/vditor/dist/js/highlight.js/styles/dracula.css
vendored
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #f8f8f2; background-color: #282a36 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #f8f8f2; background-color: #282a36; }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #3d3f4a }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #ff79c6 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #ff79c6 }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #8be9fd; font-style: italic }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #ff79c6 }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #ff79c6 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #ff79c6 }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #8be9fd }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #50fa7b }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #8be9fd; font-style: italic }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #50fa7b }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #50fa7b }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #8be9fd; font-style: italic }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #ff79c6 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #8be9fd; font-style: italic }
|
||||||
|
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #8be9fd; font-style: italic }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #8be9fd; font-style: italic }
|
||||||
|
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #8be9fd; font-style: italic }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #f1fa8c }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #f1fa8c }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #f1fa8c }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #f1fa8c }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #f1fa8c }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #f1fa8c }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #f1fa8c }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #f1fa8c }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #f1fa8c }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #f1fa8c }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #f1fa8c }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #f1fa8c }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #f1fa8c }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #f1fa8c }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #bd93f9 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #bd93f9 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #bd93f9 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #bd93f9 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #bd93f9 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #bd93f9 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #bd93f9 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #ff79c6 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #ff79c6 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #6272a4 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #6272a4 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #6272a4 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #6272a4 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #6272a4 }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #ff79c6 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #ff79c6 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #ff5555 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { text-decoration: underline }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #50fa7b; font-weight: bold }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #44475a }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { font-weight: bold }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Darcula color scheme from the JetBrains family of IDEs
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #2b2b2b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
color: #bababa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong,
|
||||||
|
.hljs-emphasis {
|
||||||
|
color: #a8a8a2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-literal {
|
||||||
|
color: #6896ba;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-code,
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #a6e22e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-variable {
|
||||||
|
color: #cb7832;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-params {
|
||||||
|
color: #b9b9b9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string {
|
||||||
|
color: #6a8759;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-subst,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #e0c46c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-meta {
|
||||||
|
color: #7f7f7f;
|
||||||
|
}
|
||||||
|
|
167
public/static/lib/vditor/dist/js/highlight.js/styles/emacs.css
vendored
Normal file
@ -0,0 +1,167 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #f8f8f8 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #f8f8f8; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #dfdfdf }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #aa22ff; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #aa22ff; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #aa22ff; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #aa22ff; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #aa22ff }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #aa22ff; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #00bb00; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #bb4444 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #aa22ff }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #0000ff }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #880000 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #aa22ff }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #999999; font-weight: bold }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #d2413a; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #00a000 }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #a0a000 }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #0000ff; font-weight: bold }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #008000; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #b8860b }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #bb4444 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #bb4444 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #bb4444 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #bb4444 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #bb4444 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #bb4444; font-style: italic }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #bb4444 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #bb6622; font-weight: bold }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #bb4444 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #bb6688; font-weight: bold }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #008000 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #bb6688 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #bb4444 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #b8860b }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #666666 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #666666 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #666666 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #666666 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #666666 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #666666 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #666666 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #666666 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #aa22ff; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #008800; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #008800; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #008800; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #008800; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #008800; font-weight: bold }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #008800 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #008800 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #a00000 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #ff0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #000080; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #00a000 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #000080; font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #800080; font-weight: bold }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #0044dd }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Atom One Light by Daniel Gamage
|
||||||
|
Original One Light Syntax theme from https://github.com/atom/one-light-syntax
|
||||||
|
|
||||||
|
base: #fafafa
|
||||||
|
mono-1: #383a42
|
||||||
|
mono-2: #686b77
|
||||||
|
mono-3: #a0a1a7
|
||||||
|
hue-1: #0184bb
|
||||||
|
hue-2: #4078f2
|
||||||
|
hue-3: #a626a4
|
||||||
|
hue-4: #50a14f
|
||||||
|
hue-5: #e45649
|
||||||
|
hue-5-2: #c91243
|
||||||
|
hue-6: #986801
|
||||||
|
hue-6-2: #c18401
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
color: #383a42;
|
||||||
|
background: #fafafa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #a0a1a7;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-formula {
|
||||||
|
color: #a626a4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #e45649;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-literal {
|
||||||
|
color: #0184bb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-addition,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-meta-string {
|
||||||
|
color: #50a14f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-class .hljs-title {
|
||||||
|
color: #c18401;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-number {
|
||||||
|
color: #986801;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-title {
|
||||||
|
color: #4078f2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-link {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
183
public/static/lib/vditor/dist/js/highlight.js/styles/friendly.css
vendored
Normal file
@ -0,0 +1,183 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #f0f0f0 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #f0f0f0; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #d8d8d8 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #007020; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #007020; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #007020; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #007020; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #007020 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #007020; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #902000 }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #4070a0 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #007020 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #0e84b5; font-weight: bold }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #60add5 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #555555; font-weight: bold }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #d55537; font-weight: bold }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #007020 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #06287e }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #002070; font-weight: bold }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #0e84b5; font-weight: bold }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #062873; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #bb60d5 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #4070a0 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #4070a0 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #4070a0 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #4070a0 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #4070a0 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #4070a0; font-style: italic }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #4070a0 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #4070a0; font-weight: bold }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #4070a0 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #70a0d0; font-style: italic }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #c65d09 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #235388 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #4070a0 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #517918 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #40a070 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #40a070 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #40a070 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #40a070 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #40a070 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #40a070 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #40a070 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #666666 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #007020; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #60a0b0; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #60a0b0; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #60a0b0; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #60a0b0; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #60a0b0; background-color: #fff0f0 }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #007020 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #007020 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #a00000 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #ff0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #000080; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #00a000 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #c65d09; font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #800080; font-weight: bold }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #0044dd }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
/*
|
||||||
|
|
||||||
|
ISBL Editor style light color schemec (c) Dmitriy Tarasov <dimatar@gmail.com>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: white;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Base color: saturation 0; */
|
||||||
|
|
||||||
|
.hljs,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment {
|
||||||
|
color: #555555;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-meta-keyword,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-name {
|
||||||
|
color: #000000;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* User color: hue: 0 */
|
||||||
|
|
||||||
|
.hljs-string {
|
||||||
|
color: #000080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #fb2c00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title>.hljs-built_in {
|
||||||
|
color: #008080;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo {
|
||||||
|
color: #5e1700;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Language color: hue: 90; */
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-literal {
|
||||||
|
color: #000080;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-code,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #397300;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-class {
|
||||||
|
color: #6f1C00;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Meta color: hue: 200 */
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #1f7199;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta-string {
|
||||||
|
color: #4d99bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Misc effects */
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
123
public/static/lib/vditor/dist/js/highlight.js/styles/fruity.css
vendored
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #ffffff; background-color: #111111 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #ffffff; background-color: #111111; }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #282828 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #fb660a; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #fb660a; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #fb660a; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #fb660a; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #fb660a }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #fb660a; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #cdcaa9; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #ff0086; font-weight: bold }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #0086d2 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #ff0086; font-weight: bold }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #fb660a; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #fb660a }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #0086d2 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #0086d2 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #0086d2 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #0086d2 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #0086d2 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #0086d2 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #0086d2 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #0086d2 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #0086d2 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #0086d2 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #0086d2 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #0086d2 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #0086d2 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #0086d2 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #0086f7; font-weight: bold }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #0086f7; font-weight: bold }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #0086f7; font-weight: bold }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #0086f7; font-weight: bold }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #0086f7; font-weight: bold }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #0086f7; font-weight: bold }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #0086f7; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #008800; background-color: #0f140f; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #008800; background-color: #0f140f; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #008800; background-color: #0f140f; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #008800; background-color: #0f140f; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #008800; background-color: #0f140f; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #ff0007; background-color: #0f140f; font-weight: bold; font-style: italic }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #ff0007; background-color: #0f140f; font-weight: bold; font-style: italic }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { font-weight: bold }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #444444; background-color: #222222 }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { font-weight: bold }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #888888 }
|
||||||
|
|
||||||
|
|
||||||
|
/* Base16 Atelier Forest Dark - Theme */
|
||||||
|
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */
|
||||||
|
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
||||||
|
|
||||||
|
/* Atelier-Forest Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #9c9491;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Forest Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #f22c40;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Forest Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params {
|
||||||
|
color: #df5320;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Forest Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet {
|
||||||
|
color: #7b9726;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Forest Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #407ee7;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Forest Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #6666ea;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
background: #1b1918;
|
||||||
|
color: #a8a19f;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
174
public/static/lib/vditor/dist/js/highlight.js/styles/github.css
vendored
Normal file
@ -0,0 +1,174 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #a61717; background-color: #e3d2d2 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #000000; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #000000; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #000000; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #000000; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #000000; font-weight: bold }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #000000; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #445588; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #008080 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #0086b3 }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { color: #999999 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #445588; font-weight: bold }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #008080 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #3c5d5d; font-weight: bold }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #800080 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #990000; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #990000; font-weight: bold }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #990000; font-weight: bold }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #555555 }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #000080 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #008080 }
|
||||||
|
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #008080 }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #008080 }
|
||||||
|
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #008080 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #dd1144 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #dd1144 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #dd1144 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #dd1144 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #dd1144 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #dd1144 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #dd1144 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #dd1144 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #dd1144 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #dd1144 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #dd1144 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #009926 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #dd1144 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #990073 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #009999 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #009999 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #009999 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #009999 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #009999 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #009999 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #009999 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #000000; font-weight: bold }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #000000; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #999988; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #999988; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #999988; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #999988; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #999999; font-weight: bold; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #999999; font-weight: bold; font-style: italic }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #999999; font-weight: bold; font-style: italic }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #000000; background-color: #ffdddd }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { color: #000000; font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #aa0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #999999 }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #000000; background-color: #ddffdd }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #555555 }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #aaaaaa }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
/*
|
||||||
|
|
||||||
|
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
color: #333;
|
||||||
|
background: #f8f8f8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #998;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #333;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-tag .hljs-attr {
|
||||||
|
color: #008080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-doctag {
|
||||||
|
color: #d14;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-selector-id {
|
||||||
|
color: #900;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-subst {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-class .hljs-title {
|
||||||
|
color: #458;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #000080;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link {
|
||||||
|
color: #009926;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet {
|
||||||
|
color: #990073;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name {
|
||||||
|
color: #0086b3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #999;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
background: #fdd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
background: #dfd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
124
public/static/lib/vditor/dist/js/highlight.js/styles/igor.css
vendored
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #0000ff }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #0000ff }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #0000ff }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #0000ff }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #0000ff }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #0000ff }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #0000ff }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #007575 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #cc00a3 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #c34e00 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #009c00 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #009c00 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #009c00 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #009c00 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #009c00 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #009c00 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #009c00 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #009c00 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #009c00 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #009c00 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #009c00 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #009c00 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #009c00 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #009c00 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #ff0000; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #ff0000; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #ff0000; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #ff0000; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #ff0000; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #ff0000; font-style: italic }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #ff0000; font-style: italic }
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
Qt Creator light color scheme
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs,
|
||||||
|
.hljs-subst,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-title {
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong,
|
||||||
|
.hljs-emphasis {
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-literal {
|
||||||
|
color: #000080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-code
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #800080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis,
|
||||||
|
.hljs-stronge,
|
||||||
|
.hljs-type {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-function,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-name {
|
||||||
|
color: #808000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #800000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-class .hljs-title {
|
||||||
|
color: #0055AF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-addition,
|
||||||
|
.hljs-link {
|
||||||
|
color: #008000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #008000;
|
||||||
|
}
|
||||||
|
|
146
public/static/lib/vditor/dist/js/highlight.js/styles/lovelace.css
vendored
Normal file
@ -0,0 +1,146 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { background-color: #a848a8 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #2838b0 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #444444; font-style: italic }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #2838b0; font-style: italic }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #2838b0 }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #2838b0 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #2838b0 }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #2838b0; font-style: italic }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #388038 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #388038 }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { font-style: italic }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #287088 }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #b85820 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #287088 }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #709030 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #908828 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #785840 }
|
||||||
|
/* NameFunctionMagic */ .highlight-chroma .highlight-fm { color: #b85820 }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #289870 }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #289870 }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #2838b0 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #b04040 }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #908828 }
|
||||||
|
/* NameVariableMagic */ .highlight-chroma .highlight-vm { color: #b85820 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #b83838 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #444444 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #b83838 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #a848a8 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #b85820 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #b85820; font-style: italic }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #b83838 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #709030 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #b83838 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #b83838; text-decoration: underline }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #a848a8 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #a848a8 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #b83838 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #b83838 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #444444 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #444444 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #444444 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #444444 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #444444 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #444444 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #444444 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #666666 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #a848a8 }
|
||||||
|
/* Punctuation */ .highlight-chroma .highlight-p { color: #888888 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #888888; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #287088; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #888888; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #888888; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #888888; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #289870 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #289870 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #c02828 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #c02828 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #666666 }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #388038 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #666666 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #444444 }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #444444 }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #2838b0 }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #a89028 }
|
||||||
|
/*
|
||||||
|
Description: Magula style for highligh.js
|
||||||
|
Author: Ruslan Keba <rukeba@gmail.com>
|
||||||
|
Website: http://rukeba.com/
|
||||||
|
Version: 1.0
|
||||||
|
Date: 2009-01-03
|
||||||
|
Music: Aphex Twin / Xtal
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs,
|
||||||
|
.hljs-subst {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-addition,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-template-variable {
|
||||||
|
color: #050;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #777;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-link {
|
||||||
|
color: #800;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-meta {
|
||||||
|
color: #00e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name {
|
||||||
|
font-weight: bold;
|
||||||
|
color: navy;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
139
public/static/lib/vditor/dist/js/highlight.js/styles/manni.css
vendored
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #f0f3f3 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #f0f3f3; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #aa0000; background-color: #ffaaaa }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #d8dada }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #006699; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #006699; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #006699; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #006699; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #006699 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #006699; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #007788; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #330099 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #336666 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #00aa88; font-weight: bold }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #336600 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #9999ff }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #999999; font-weight: bold }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #cc0000; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #cc00ff }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #9999ff }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #00ccff; font-weight: bold }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #330099; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #003333 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #cc3300 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #cc3300 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #cc3300 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #cc3300 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #cc3300 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #cc3300; font-style: italic }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #cc3300 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #cc3300; font-weight: bold }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #cc3300 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #aa0000 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #cc3300 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #33aaaa }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #cc3300 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #ffcc33 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #ff6600 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #ff6600 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #ff6600 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #ff6600 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #ff6600 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #ff6600 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #ff6600 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #555555 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #000000; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #0099ff; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #0099ff; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #0099ff; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #0099ff; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #0099ff; font-weight: bold; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #009999 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #009999 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { background-color: #ffcccc }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #ff0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #003300; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { background-color: #ccffcc }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #aaaaaa }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #000099; font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #003300; font-weight: bold }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #99cc66 }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
/* Base16 Atelier Sulphurpool Light - Theme */
|
||||||
|
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */
|
||||||
|
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
||||||
|
|
||||||
|
/* Atelier-Sulphurpool Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #6b7394;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Sulphurpool Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #c94922;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Sulphurpool Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params {
|
||||||
|
color: #c76b29;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Sulphurpool Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet {
|
||||||
|
color: #ac9739;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Sulphurpool Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #3d8fd1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Sulphurpool Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #6679cc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
background: #f5f7ff;
|
||||||
|
color: #5e6687;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
132
public/static/lib/vditor/dist/js/highlight.js/styles/monokai.css
vendored
Normal file
@ -0,0 +1,132 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #f8f8f2; background-color: #272822 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #f8f8f2; background-color: #272822; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #960050; background-color: #1e0010 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #3c3d38 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #66d9ef }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #66d9ef }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #66d9ef }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #f92672 }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #66d9ef }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #66d9ef }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #66d9ef }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #a6e22e }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #a6e22e }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #66d9ef }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #a6e22e }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #a6e22e }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #a6e22e }
|
||||||
|
/* NameOther */ .highlight-chroma .highlight-nx { color: #a6e22e }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #f92672 }
|
||||||
|
/* Literal */ .highlight-chroma .highlight-l { color: #ae81ff }
|
||||||
|
/* LiteralDate */ .highlight-chroma .highlight-ld { color: #e6db74 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #e6db74 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #e6db74 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #e6db74 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #e6db74 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #e6db74 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #e6db74 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #e6db74 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #ae81ff }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #e6db74 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #e6db74 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #e6db74 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #e6db74 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #e6db74 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #e6db74 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #ae81ff }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #ae81ff }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #ae81ff }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #ae81ff }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #ae81ff }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #ae81ff }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #ae81ff }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #f92672 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #f92672 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #75715e }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #75715e }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #75715e }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #75715e }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #75715e }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #75715e }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #75715e }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #f92672 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #a6e22e }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #75715e }
|
||||||
|
/*
|
||||||
|
Monokai style - ported by Luigi Maselli - http://grigio.org
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #272822; color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-strong,
|
||||||
|
.hljs-name {
|
||||||
|
color: #f92672;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-code {
|
||||||
|
color: #66d9ef;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-class .hljs-title {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link {
|
||||||
|
color: #bf79db;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-subst,
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-emphasis,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-addition,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-template-variable {
|
||||||
|
color: #a6e22e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-meta {
|
||||||
|
color: #75715e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-selector-id {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
180
public/static/lib/vditor/dist/js/highlight.js/styles/monokailight.css
vendored
Normal file
@ -0,0 +1,180 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #272822; background-color: #fafafa }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #272822; background-color: #fafafa; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #960050; background-color: #1e0010 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e1e1e1 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #00a8c8 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #00a8c8 }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #00a8c8 }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #f92672 }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #00a8c8 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #00a8c8 }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #00a8c8 }
|
||||||
|
/* Name */ .highlight-chroma .highlight-n { color: #111111 }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #75af00 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #111111 }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { color: #111111 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #75af00 }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #00a8c8 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #75af00 }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #111111 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #75af00 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #75af00 }
|
||||||
|
/* NameFunctionMagic */ .highlight-chroma .highlight-fm { color: #111111 }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #111111 }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #111111 }
|
||||||
|
/* NameOther */ .highlight-chroma .highlight-nx { color: #75af00 }
|
||||||
|
/* NameProperty */ .highlight-chroma .highlight-py { color: #111111 }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #f92672 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #111111 }
|
||||||
|
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #111111 }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #111111 }
|
||||||
|
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #111111 }
|
||||||
|
/* NameVariableMagic */ .highlight-chroma .highlight-vm { color: #111111 }
|
||||||
|
/* Literal */ .highlight-chroma .highlight-l { color: #ae81ff }
|
||||||
|
/* LiteralDate */ .highlight-chroma .highlight-ld { color: #d88200 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #d88200 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #d88200 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #d88200 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #d88200 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #d88200 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #d88200 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #d88200 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #8045ff }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #d88200 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #d88200 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #d88200 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #d88200 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #d88200 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #d88200 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #ae81ff }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #ae81ff }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #ae81ff }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #ae81ff }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #ae81ff }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #ae81ff }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #ae81ff }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #f92672 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #f92672 }
|
||||||
|
/* Punctuation */ .highlight-chroma .highlight-p { color: #111111 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #75715e }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #75715e }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #75715e }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #75715e }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #75715e }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #75715e }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #75715e }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Gruvbox style (light) (c) Pavel Pertsev (original style at https://github.com/morhetz/gruvbox)
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #fbf1c7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #3c3836;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Gruvbox Red */
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-formula,
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #9d0006;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Gruvbox Blue */
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-emphasis,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-strong,
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-variable {
|
||||||
|
color: #076678;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Gruvbox Yellow */
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-type {
|
||||||
|
color: #b57614;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Gruvbox Purple */
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-number {
|
||||||
|
color: #8f3f71;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Gruvbox Orange */
|
||||||
|
.hljs-code,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-template-variable {
|
||||||
|
color: #af3a03;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Gruvbox Green */
|
||||||
|
.hljs-addition,
|
||||||
|
.hljs-meta-string,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol {
|
||||||
|
color: #79740e;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Gruvbox Aqua */
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-class,
|
||||||
|
.hljs-function,
|
||||||
|
.hljs-function .hljs-keyword,
|
||||||
|
.hljs-meta-keyword,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-tag {
|
||||||
|
color: #427b58;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Gruvbox Gray */
|
||||||
|
.hljs-comment {
|
||||||
|
color: #928374;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Gruvbox Purple */
|
||||||
|
.hljs-link_label,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-number {
|
||||||
|
color: #8f3f71;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-strong,
|
||||||
|
.hljs-tag {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
144
public/static/lib/vditor/dist/js/highlight.js/styles/murphy.css
vendored
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #ff0000; background-color: #ffaaaa }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #228899; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #228899; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #228899; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #228899; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #0088ff; font-weight: bold }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #228899; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #6666ff; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #000077 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #007722 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #ee99ee; font-weight: bold }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #55eedd; font-weight: bold }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #555555; font-weight: bold }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #880000 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #ff0000; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #55eedd; font-weight: bold }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #997700; font-weight: bold }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #0e84b5; font-weight: bold }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #007700 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #003366 }
|
||||||
|
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #ccccff }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #ff8844 }
|
||||||
|
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #aaaaff }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { background-color: #e0e0ff }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { background-color: #e0e0ff }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { background-color: #e0e0ff }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #8888ff; background-color: #e0e0ff }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { background-color: #e0e0ff }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #dd4422; background-color: #e0e0ff }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { background-color: #e0e0ff }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #666666; background-color: #e0e0ff; font-weight: bold }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { background-color: #e0e0ff }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { background-color: #eeeeee }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #ff8888; background-color: #e0e0ff }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #000000; background-color: #e0e0ff }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { background-color: #e0e0ff }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #ffcc88; background-color: #e0e0ff }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #6600ee; font-weight: bold }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #6600ee; font-weight: bold }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #6600ee; font-weight: bold }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #005588; font-weight: bold }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #6666ff; font-weight: bold }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #6600ee; font-weight: bold }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #4400ee; font-weight: bold }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #333333 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #000000; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #666666; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #666666; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #666666; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #666666; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #cc0000; font-weight: bold; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #557799 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #557799 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #a00000 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #ff0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #000080; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #00a000 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #c65d09; font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #800080; font-weight: bold }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #0044dd }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Colorbrewer theme
|
||||||
|
Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock <mike@ocks.org>
|
||||||
|
Ported by Fabrício Tavares de Oliveira
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #756bb1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #636363;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-link {
|
||||||
|
color: #31a354;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-variable {
|
||||||
|
color: #88f;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-strong {
|
||||||
|
color: #3182bd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #e6550d;
|
||||||
|
}
|
164
public/static/lib/vditor/dist/js/highlight.js/styles/native.css
vendored
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #d0d0d0; background-color: #202020 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #d0d0d0; background-color: #202020; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #a61717; background-color: #e3d2d2 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #363636 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #686868 }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #686868 }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #6ab825; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #6ab825; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #6ab825; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #6ab825; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #6ab825 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #6ab825; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #6ab825; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #bbbbbb }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #24909d }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #447fcf; text-decoration: underline }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #40ffff }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #ffa500 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #bbbbbb }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #447fcf }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #447fcf; text-decoration: underline }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #6ab825; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #40ffff }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #ed9d13 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #ed9d13 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #ed9d13 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #ed9d13 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #ed9d13 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #ed9d13 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #ed9d13 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #ed9d13 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #ed9d13 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #ed9d13 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #ffa500 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #ed9d13 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #ed9d13 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #ed9d13 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #3677a9 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #3677a9 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #3677a9 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #3677a9 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #3677a9 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #3677a9 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #3677a9 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #6ab825; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #999999; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #999999; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #999999; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #999999; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #e50808; background-color: #520000; font-weight: bold }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #cd2828; font-weight: bold }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #cd2828; font-weight: bold }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #d22323 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #d22323 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #ffffff; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #589819 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #cccccc }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #aaaaaa }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #ffffff; text-decoration: underline }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #d22323 }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #666666 }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Atom One Dark by Daniel Gamage
|
||||||
|
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
|
||||||
|
|
||||||
|
base: #282c34
|
||||||
|
mono-1: #abb2bf
|
||||||
|
mono-2: #818896
|
||||||
|
mono-3: #5c6370
|
||||||
|
hue-1: #56b6c2
|
||||||
|
hue-2: #61aeee
|
||||||
|
hue-3: #c678dd
|
||||||
|
hue-4: #98c379
|
||||||
|
hue-5: #e06c75
|
||||||
|
hue-5-2: #be5046
|
||||||
|
hue-6: #d19a66
|
||||||
|
hue-6-2: #e6c07b
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
color: #abb2bf;
|
||||||
|
background: #282c34;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #5c6370;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-formula {
|
||||||
|
color: #c678dd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #e06c75;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-literal {
|
||||||
|
color: #56b6c2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-addition,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-meta-string {
|
||||||
|
color: #98c379;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-class .hljs-title {
|
||||||
|
color: #e6c07b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-number {
|
||||||
|
color: #d19a66;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-title {
|
||||||
|
color: #61aeee;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-link {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
137
public/static/lib/vditor/dist/js/highlight.js/styles/paraiso-dark.css
vendored
Normal file
@ -0,0 +1,137 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #e7e9db; background-color: #2f1e2e }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #e7e9db; background-color: #2f1e2e; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #ef6155 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #433442 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #815ba4 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #815ba4 }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #815ba4 }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #5bc4bf }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #815ba4 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #815ba4 }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #fec418 }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #06b6ef }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #fec418 }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #ef6155 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #5bc4bf }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #ef6155 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #06b6ef }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #fec418 }
|
||||||
|
/* NameOther */ .highlight-chroma .highlight-nx { color: #06b6ef }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #5bc4bf }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #ef6155 }
|
||||||
|
/* Literal */ .highlight-chroma .highlight-l { color: #f99b15 }
|
||||||
|
/* LiteralDate */ .highlight-chroma .highlight-ld { color: #48b685 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #48b685 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #48b685 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #48b685 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #48b685 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #776e71 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #48b685 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #f99b15 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #48b685 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #f99b15 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #48b685 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #48b685 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #48b685 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #48b685 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #f99b15 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #f99b15 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #f99b15 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #f99b15 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #f99b15 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #f99b15 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #f99b15 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #5bc4bf }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #5bc4bf }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #776e71 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #776e71 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #776e71 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #776e71 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #776e71 }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #776e71 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #776e71 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #ef6155 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #48b685 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #776e71; font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #5bc4bf; font-weight: bold }
|
||||||
|
/*
|
||||||
|
Paraíso (dark)
|
||||||
|
Created by Jan T. Sott (http://github.com/idleberg)
|
||||||
|
Inspired by the art of Rubens LP (http://www.rubenslp.com.br)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Paraíso Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #8d8687;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paraíso Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-meta {
|
||||||
|
color: #ef6155;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paraíso Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #f99b15;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paraíso Yellow */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #fec418;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paraíso Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #48b685;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paraíso Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #815ba4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
background: #2f1e2e;
|
||||||
|
color: #a39e9b;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
136
public/static/lib/vditor/dist/js/highlight.js/styles/paraiso-light.css
vendored
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #2f1e2e; background-color: #e7e9db }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #2f1e2e; background-color: #e7e9db; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #ef6155 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #cfd1c5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #815ba4 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #815ba4 }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #815ba4 }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #5bc4bf }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #815ba4 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #815ba4 }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #fec418 }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #06b6ef }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #fec418 }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #ef6155 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #5bc4bf }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #ef6155 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #06b6ef }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #fec418 }
|
||||||
|
/* NameOther */ .highlight-chroma .highlight-nx { color: #06b6ef }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #5bc4bf }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #ef6155 }
|
||||||
|
/* Literal */ .highlight-chroma .highlight-l { color: #f99b15 }
|
||||||
|
/* LiteralDate */ .highlight-chroma .highlight-ld { color: #48b685 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #48b685 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #48b685 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #48b685 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #48b685 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #8d8687 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #48b685 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #f99b15 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #48b685 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #f99b15 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #48b685 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #48b685 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #48b685 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #48b685 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #f99b15 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #f99b15 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #f99b15 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #f99b15 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #f99b15 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #f99b15 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #f99b15 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #5bc4bf }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #5bc4bf }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #8d8687 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #8d8687 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #8d8687 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #8d8687 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #8d8687 }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #8d8687 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #8d8687 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #ef6155 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #48b685 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #8d8687; font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #5bc4bf; font-weight: bold }
|
||||||
|
/*
|
||||||
|
Paraíso (light)
|
||||||
|
Created by Jan T. Sott (http://github.com/idleberg)
|
||||||
|
Inspired by the art of Rubens LP (http://www.rubenslp.com.br)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Paraíso Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #776e71;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paraíso Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-meta {
|
||||||
|
color: #ef6155;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paraíso Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #f99b15;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paraíso Yellow */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #fec418;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paraíso Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #48b685;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Paraíso Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #815ba4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
background: #e7e9db;
|
||||||
|
color: #4f424c;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
180
public/static/lib/vditor/dist/js/highlight.js/styles/pastie.css
vendored
Normal file
@ -0,0 +1,180 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #a61717; background-color: #e3d2d2 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #008800; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #008800; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #008800; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #008800; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #008800 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #008800; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #888888; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #336699 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #003388 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #bb0066; font-weight: bold }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #003366; font-weight: bold }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #555555 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #bb0066; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #0066bb; font-weight: bold }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #336699; font-style: italic }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #bb0066; font-weight: bold }
|
||||||
|
/* NameProperty */ .highlight-chroma .highlight-py { color: #336699; font-weight: bold }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #bb0066; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #336699 }
|
||||||
|
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #336699 }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #dd7700 }
|
||||||
|
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #3333bb }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #dd2200; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #dd2200; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #dd2200; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #dd2200; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #dd2200; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #dd2200; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #dd2200; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #0044dd; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #dd2200; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #3333bb; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #22bb22; background-color: #f0fff0 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #008800; background-color: #fff0ff }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #dd2200; background-color: #fff0f0 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #aa6600; background-color: #fff0f0 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #0000dd; font-weight: bold }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #0000dd; font-weight: bold }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #0000dd; font-weight: bold }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #0000dd; font-weight: bold }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #0000dd; font-weight: bold }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #0000dd; font-weight: bold }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #0000dd; font-weight: bold }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #008800 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #888888 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #888888 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #888888 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #888888 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #cc0000; background-color: #fff0f0; font-weight: bold }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #cc0000; font-weight: bold }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #cc0000; font-weight: bold }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #000000; background-color: #ffdddd }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #aa0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #333333 }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #000000; background-color: #ddffdd }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #555555 }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #666666 }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
/*
|
||||||
|
|
||||||
|
highlight.js style for Microtik RouterOS script
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #F0F0F0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Base color: saturation 0; */
|
||||||
|
|
||||||
|
.hljs,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment {
|
||||||
|
color: #888888;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-meta-keyword,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-name {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #0E9A00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-function {
|
||||||
|
color: #99069A;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-builtin-name {
|
||||||
|
color: #99069A;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* User color: hue: 0 */
|
||||||
|
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #880000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #880000;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo {
|
||||||
|
color: #BC6060;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Language color: hue: 90; */
|
||||||
|
|
||||||
|
.hljs-literal {
|
||||||
|
color: #78A960;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-code,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #0C9A9A;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Meta color: hue: 200 */
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #1f7199;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta-string {
|
||||||
|
color: #4d99bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Misc effects */
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
141
public/static/lib/vditor/dist/js/highlight.js/styles/perldoc.css
vendored
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #eeeedd }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #eeeedd; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #a61717; background-color: #e3d2d2 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #d6d6c6 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #8b008b; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #8b008b; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #8b008b; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #8b008b; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #8b008b; font-weight: bold }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #8b008b; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #00688b; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #658b00 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #658b00 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #008b45; font-weight: bold }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #00688b }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #707a7c }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #008b45; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #008b45 }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #008b45; text-decoration: underline }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #8b008b; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #00688b }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #cd5555 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #cd5555 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #cd5555 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #cd5555 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #cd5555 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #cd5555 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #cd5555 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #cd5555 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #1c7e71; font-style: italic }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #cd5555 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #cb6c20 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #1c7e71 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #cd5555 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #cd5555 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #b452cd }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #b452cd }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #b452cd }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #b452cd }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #b452cd }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #b452cd }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #b452cd }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #8b008b }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #228b22 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #228b22 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #228b22 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #228b22 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #8b008b; font-weight: bold }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #1e889b }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #1e889b }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #aa0000 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #aa0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #000080; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #00aa00 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #555555 }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #800080; font-weight: bold }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
/*
|
||||||
|
Name: Kimbie (light)
|
||||||
|
Author: Jan T. Sott
|
||||||
|
License: Creative Commons Attribution-ShareAlike 4.0 Unported License
|
||||||
|
URL: https://github.com/idleberg/Kimbie-highlight.js
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Kimbie Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #a57a4c;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Kimbie Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-meta {
|
||||||
|
color: #dc3958;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Kimbie Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-link {
|
||||||
|
color: #f79a32;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Kimbie Yellow */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #f06431;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Kimbie Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #889b4a;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Kimbie Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-function {
|
||||||
|
color: #98676a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
background: #fbebd4;
|
||||||
|
color: #84613d;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
159
public/static/lib/vditor/dist/js/highlight.js/styles/pygments.css
vendored
Normal file
@ -0,0 +1,159 @@
|
|||||||
|
/* Background */ .highlight-bg { }
|
||||||
|
/* PreWrapper */ .highlight-chroma { ; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #008000; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #008000; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #008000; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #008000; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #008000 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #008000; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #b00040 }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #7d9029 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #008000 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #0000ff; font-weight: bold }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #880000 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #aa22ff }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #999999; font-weight: bold }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #d2413a; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #0000ff }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #a0a000 }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #0000ff; font-weight: bold }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #008000; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #19177c }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #ba2121 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #ba2121 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #ba2121 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #ba2121 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #ba2121 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #ba2121; font-style: italic }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #ba2121 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #bb6622; font-weight: bold }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #ba2121 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #bb6688; font-weight: bold }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #008000 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #bb6688 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #ba2121 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #19177c }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #666666 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #666666 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #666666 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #666666 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #666666 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #666666 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #666666 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #666666 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #aa22ff; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #408080; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #408080; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #408080; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #408080; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #408080; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #bc7a00 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #bc7a00 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #a00000 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #ff0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #000080; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #00a000 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #000080; font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #800080; font-weight: bold }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #0044dd }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
/*
|
||||||
|
Description: Foundation 4 docs style for highlight.js
|
||||||
|
Author: Dan Allen <dan.j.allen@gmail.com>
|
||||||
|
Website: http://foundation.zurb.com/docs/
|
||||||
|
Version: 1.0
|
||||||
|
Date: 2013-04-02
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #eee; color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-emphasis,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #070;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong,
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #d14;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-comment {
|
||||||
|
color: #998;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-title {
|
||||||
|
color: #900;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-class .hljs-title,
|
||||||
|
.hljs-type {
|
||||||
|
color: #458;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable {
|
||||||
|
color: #336699;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-bullet {
|
||||||
|
color: #997700;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #3344bb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-code,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #099;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp {
|
||||||
|
background-color: #fff0ff;
|
||||||
|
color: #880088;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-symbol {
|
||||||
|
color: #990073;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #007700;
|
||||||
|
}
|
||||||
|
|
164
public/static/lib/vditor/dist/js/highlight.js/styles/rainbow_dash.css
vendored
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #4d4d4d; background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #4d4d4d; background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #ffffff; background-color: #cc0000 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #2c5dcd; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #2c5dcd; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #2c5dcd; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #2c5dcd; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #2c5dcd }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #2c5dcd; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #5918bb; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #2c5dcd; font-style: italic }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #5918bb; font-weight: bold }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { text-decoration: underline }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #318495 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #ff8000; font-weight: bold }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #5918bb; font-weight: bold }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #5918bb; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #ff8000; font-weight: bold }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #2c5dcd; font-weight: bold }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #00cc66 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #00cc66 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #00cc66 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #00cc66 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #00cc66 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #00cc66; font-style: italic }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #00cc66 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #c5060b; font-weight: bold }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #00cc66 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #00cc66 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #318495 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #00cc66 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #00cc66 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #c5060b; font-weight: bold }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #5918bb; font-weight: bold }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #5918bb; font-weight: bold }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #5918bb; font-weight: bold }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #5918bb; font-weight: bold }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #5918bb; font-weight: bold }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #5918bb; font-weight: bold }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #5918bb; font-weight: bold }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #2c5dcd }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #2c5dcd; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #0080ff; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #0080ff; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #0080ff; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #0080ff; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #0080ff; font-weight: bold; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #0080ff }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #0080ff }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { background-color: #ffcccc }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #ff0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #2c5dcd; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { background-color: #ccffcc }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #aaaaaa }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #2c5dcd; font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #2c5dcd; font-weight: bold }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #c5060b }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #cbcbcb }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Intellij Idea-like styling (c) Vasily Polovnyov <vast@whiteants.net>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
color: #000;
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-subst,
|
||||||
|
.hljs-title {
|
||||||
|
font-weight: normal;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #808080;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #808000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag {
|
||||||
|
background: #efefef;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #000080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #0000ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string {
|
||||||
|
color: #008000;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-formula {
|
||||||
|
color: #000;
|
||||||
|
background: #d0eded;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-doctag {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable {
|
||||||
|
color: #660e7a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
background: #baeeba;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
background: #ffc8bd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
159
public/static/lib/vditor/dist/js/highlight.js/styles/rrt.css
vendored
Normal file
@ -0,0 +1,159 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #f8f8f2; background-color: #000000 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #f8f8f2; background-color: #000000; }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #191919 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7c7c79 }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7c7c79 }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #ff0000 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #ff0000 }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #ff0000 }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #ff0000 }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #ff0000 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #ff0000 }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #ee82ee }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #7fffd4 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #ffff00 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #eedd82 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #87ceeb }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #87ceeb }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #87ceeb }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #87ceeb }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #87ceeb }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #87ceeb }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #87ceeb }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #87ceeb }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #87ceeb }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #87ceeb }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #87ceeb }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #87ceeb }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #87ceeb }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #ff6600 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #ff6600 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #ff6600 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #ff6600 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #ff6600 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #ff6600 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #ff6600 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #ff6600 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #00ff00 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #00ff00 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #00ff00 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #00ff00 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #00ff00 }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #e5e5e5 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #e5e5e5 }
|
||||||
|
/*
|
||||||
|
|
||||||
|
ISBL Editor style dark color scheme (c) Dmitriy Tarasov <dimatar@gmail.com>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #404040;
|
||||||
|
color: #f0f0f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Base color: saturation 0; */
|
||||||
|
|
||||||
|
.hljs,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #f0f0f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment {
|
||||||
|
color: #b5b5b5;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-meta-keyword,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-name {
|
||||||
|
color: #f0f0f0;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* User color: hue: 0 */
|
||||||
|
|
||||||
|
.hljs-string {
|
||||||
|
color: #97bf0d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #f0f0f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #df471e;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title>.hljs-built_in {
|
||||||
|
color: #81bce9;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo {
|
||||||
|
color: #e2c696;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Language color: hue: 90; */
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-literal {
|
||||||
|
color: #97bf0d;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-code,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #397300;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-class {
|
||||||
|
color: #ce9d4d;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Meta color: hue: 200 */
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #1f7199;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta-string {
|
||||||
|
color: #4d99bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Misc effects */
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
146
public/static/lib/vditor/dist/js/highlight.js/styles/solarized-dark.css
vendored
Normal file
@ -0,0 +1,146 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #93a1a1; background-color: #002b36 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #93a1a1; background-color: #002b36; }
|
||||||
|
/* Other */ .highlight-chroma .highlight-x { color: #cb4b16 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #19404a }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #495050 }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #495050 }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #719e07 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #cb4b16 }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #268bd2 }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #719e07 }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #719e07 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #268bd2 }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #dc322f }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #b58900 }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { color: #268bd2 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #268bd2 }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #cb4b16 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #268bd2 }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #cb4b16 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #cb4b16 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #268bd2 }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #268bd2 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #268bd2 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #2aa198 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #2aa198 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #586e75 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #2aa198 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #2aa198 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #2aa198 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #cb4b16 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #2aa198 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #2aa198 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #dc322f }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #2aa198 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #2aa198 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #2aa198 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #2aa198 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #2aa198 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #2aa198 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #2aa198 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #2aa198 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #2aa198 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #719e07 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #719e07 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #586e75 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #586e75 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #586e75 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #586e75 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #719e07 }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #719e07 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #719e07 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #dc322f }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #dc322f; font-weight: bold }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #cb4b16 }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #719e07 }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #268bd2 }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #002b36;
|
||||||
|
color: #839496;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #586e75;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Green */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #859900;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Cyan */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-meta .hljs-meta-string,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-regexp {
|
||||||
|
color: #2aa198;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #268bd2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Yellow */
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-class .hljs-title,
|
||||||
|
.hljs-type {
|
||||||
|
color: #b58900;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Orange */
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-subst,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-meta .hljs-keyword,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-link {
|
||||||
|
color: #cb4b16;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Red */
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #dc322f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-formula {
|
||||||
|
background: #073642;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
146
public/static/lib/vditor/dist/js/highlight.js/styles/solarized-dark256.css
vendored
Normal file
@ -0,0 +1,146 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #8a8a8a; background-color: #1c1c1c }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #8a8a8a; background-color: #1c1c1c; }
|
||||||
|
/* Other */ .highlight-chroma .highlight-x { color: #d75f00 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #323232 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #454545 }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #454545 }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #5f8700 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #d75f00 }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #0087ff }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #d75f00 }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #5f8700 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #0087ff }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #af0000 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #0087ff }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { color: #0087ff }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #0087ff }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #d75f00 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #0087ff }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #d75f00 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #af8700 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #0087ff }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #0087ff }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #0087ff }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #00afaf }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #00afaf }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #4e4e4e }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #00afaf }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #00afaf }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #00afaf }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #00afaf }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #af0000 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #00afaf }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #00afaf }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #00afaf }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #af0000 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #00afaf }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #00afaf }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #00afaf }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #00afaf }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #00afaf }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #00afaf }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #00afaf }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #00afaf }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #00afaf }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #5f8700 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #4e4e4e }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #4e4e4e }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #4e4e4e }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #4e4e4e }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #5f8700 }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #5f8700 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #5f8700 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #af0000 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #af0000; font-weight: bold }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #d75f00 }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #5f8700 }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #0087ff }
|
||||||
|
/* Base16 Atelier Cave Dark - Theme */
|
||||||
|
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */
|
||||||
|
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
||||||
|
|
||||||
|
/* Atelier-Cave Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #7e7887;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Cave Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #be4678;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Cave Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params {
|
||||||
|
color: #aa573c;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Cave Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet {
|
||||||
|
color: #2a9292;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Cave Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #576ddb;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Atelier-Cave Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #955ae7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #19171c;
|
||||||
|
display: inline-block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
background-color: #be4678;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
background-color: #2a9292;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
background: #19171c;
|
||||||
|
color: #8b8792;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
163
public/static/lib/vditor/dist/js/highlight.js/styles/solarized-light.css
vendored
Normal file
@ -0,0 +1,163 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #586e75; background-color: #eee8d5 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #586e75; background-color: #eee8d5; }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #d6d0bf }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #859900 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #859900; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #859900 }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #dc322f; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #859900 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #859900 }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #859900; font-weight: bold }
|
||||||
|
/* Name */ .highlight-chroma .highlight-n { color: #268bd2 }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #268bd2 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #cb4b16 }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { color: #268bd2 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #cb4b16 }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #268bd2 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #268bd2 }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #268bd2 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #268bd2 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #268bd2 }
|
||||||
|
/* NameFunctionMagic */ .highlight-chroma .highlight-fm { color: #268bd2 }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #268bd2 }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #268bd2 }
|
||||||
|
/* NameOther */ .highlight-chroma .highlight-nx { color: #268bd2 }
|
||||||
|
/* NameProperty */ .highlight-chroma .highlight-py { color: #268bd2 }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #268bd2; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #268bd2 }
|
||||||
|
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #268bd2 }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #268bd2 }
|
||||||
|
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #268bd2 }
|
||||||
|
/* NameVariableMagic */ .highlight-chroma .highlight-vm { color: #268bd2 }
|
||||||
|
/* Literal */ .highlight-chroma .highlight-l { color: #2aa198 }
|
||||||
|
/* LiteralDate */ .highlight-chroma .highlight-ld { color: #2aa198 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #2aa198 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #2aa198 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #2aa198 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #2aa198 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #2aa198 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #2aa198 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #2aa198 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #2aa198 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #2aa198 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #2aa198 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #2aa198 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #2aa198 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #2aa198 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #2aa198 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #2aa198; font-weight: bold }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #2aa198; font-weight: bold }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #2aa198; font-weight: bold }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #2aa198; font-weight: bold }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #2aa198; font-weight: bold }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #2aa198; font-weight: bold }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #2aa198; font-weight: bold }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #859900 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #93a1a1; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #93a1a1; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #93a1a1; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #93a1a1; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #93a1a1; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #93a1a1; font-style: italic }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #93a1a1; font-style: italic }
|
||||||
|
/* Generic */ .highlight-chroma .highlight-g { color: #d33682 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #d33682 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { color: #d33682 }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #d33682 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #d33682 }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #d33682 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #d33682 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #d33682 }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { color: #d33682 }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #d33682 }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #d33682 }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { color: #d33682 }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #fdf6e3;
|
||||||
|
color: #657b83;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #93a1a1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Green */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #859900;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Cyan */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-meta .hljs-meta-string,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-regexp {
|
||||||
|
color: #2aa198;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #268bd2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Yellow */
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-class .hljs-title,
|
||||||
|
.hljs-type {
|
||||||
|
color: #b58900;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Orange */
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-subst,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-meta .hljs-keyword,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-link {
|
||||||
|
color: #cb4b16;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Solarized Red */
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #dc322f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-formula {
|
||||||
|
background: #eee8d5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
144
public/static/lib/vditor/dist/js/highlight.js/styles/swapoff.css
vendored
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #e5e5e5; background-color: #000000 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #e5e5e5; background-color: #000000; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #ff0000 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #191919 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #727272 }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #727272 }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #ffffff; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #ffffff; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #ffffff; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #ffffff; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #ffffff; font-weight: bold }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #ffffff; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #ffffff; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #007f7f }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #ffffff; font-weight: bold }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { font-weight: bold }
|
||||||
|
/* LiteralDate */ .highlight-chroma .highlight-ld { color: #ffff00; font-weight: bold }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #00ffff; font-weight: bold }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #ffff00; font-weight: bold }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #ffff00; font-weight: bold }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #ffff00; font-weight: bold }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #ffff00; font-weight: bold }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #ffff00; font-weight: bold }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #ffff00; font-weight: bold }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #ffff00; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #007f7f }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #007f7f }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #007f7f }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #007f7f }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #007f7f }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #00ff00; font-weight: bold }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #00ff00; font-weight: bold }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { font-weight: bold }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/*
|
||||||
|
xt256.css
|
||||||
|
|
||||||
|
Contact: initbar [at] protonmail [dot] ch
|
||||||
|
: github.com/initbar
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
color: #eaeaea;
|
||||||
|
background: #000;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-subst {
|
||||||
|
color: #eaeaea;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-type {
|
||||||
|
color: #eaeaea;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-params {
|
||||||
|
color: #da0000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-name {
|
||||||
|
color: #ff0000;
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment {
|
||||||
|
color: #969896;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #00ffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-title {
|
||||||
|
color: #00ffff;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-symbol {
|
||||||
|
color: #fff000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-bullet {
|
||||||
|
color: #00ff00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-section {
|
||||||
|
color: #000fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #000fff;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link {
|
||||||
|
color: #ff00ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #fff;
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
|
183
public/static/lib/vditor/dist/js/highlight.js/styles/tango.css
vendored
Normal file
@ -0,0 +1,183 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #f8f8f8 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #f8f8f8; }
|
||||||
|
/* Other */ .highlight-chroma .highlight-x { color: #000000 }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #a40000 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #dfdfdf }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #204a87; font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #204a87; font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #204a87; font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #204a87; font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #204a87; font-weight: bold }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #204a87; font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #204a87; font-weight: bold }
|
||||||
|
/* Name */ .highlight-chroma .highlight-n { color: #000000 }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #c4a000 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #204a87 }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { color: #3465a4 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #000000 }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #000000 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #5c35cc; font-weight: bold }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #ce5c00 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #cc0000; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #000000 }
|
||||||
|
/* NameFunctionMagic */ .highlight-chroma .highlight-fm { color: #000000 }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #f57900 }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #000000 }
|
||||||
|
/* NameOther */ .highlight-chroma .highlight-nx { color: #000000 }
|
||||||
|
/* NameProperty */ .highlight-chroma .highlight-py { color: #000000 }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #204a87; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #000000 }
|
||||||
|
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #000000 }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #000000 }
|
||||||
|
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #000000 }
|
||||||
|
/* NameVariableMagic */ .highlight-chroma .highlight-vm { color: #000000 }
|
||||||
|
/* Literal */ .highlight-chroma .highlight-l { color: #000000 }
|
||||||
|
/* LiteralDate */ .highlight-chroma .highlight-ld { color: #000000 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #4e9a06 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #4e9a06 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #4e9a06 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #4e9a06 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #4e9a06 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #8f5902; font-style: italic }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #4e9a06 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #4e9a06 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #4e9a06 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #4e9a06 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #4e9a06 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #4e9a06 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #4e9a06 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #4e9a06 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #0000cf; font-weight: bold }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #0000cf; font-weight: bold }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #0000cf; font-weight: bold }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #0000cf; font-weight: bold }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #0000cf; font-weight: bold }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #0000cf; font-weight: bold }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #0000cf; font-weight: bold }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #ce5c00; font-weight: bold }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #204a87; font-weight: bold }
|
||||||
|
/* Punctuation */ .highlight-chroma .highlight-p { color: #000000; font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #8f5902; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #8f5902; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #8f5902; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #8f5902; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #8f5902; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #8f5902; font-style: italic }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #8f5902; font-style: italic }
|
||||||
|
/* Generic */ .highlight-chroma .highlight-g { color: #000000 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #a40000 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { color: #000000; font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #ef2929 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #000080; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #00a000 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #000000; font-style: italic }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #8f5902 }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { color: #000000; font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #800080; font-weight: bold }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #a40000; font-weight: bold }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { color: #000000; text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #f8f8f8; text-decoration: underline }
|
||||||
|
/* a11y-light theme */
|
||||||
|
/* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */
|
||||||
|
/* @author: ericwbailey */
|
||||||
|
|
||||||
|
/* Comment */
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #696969;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Red */
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #d91e18;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Orange */
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-link {
|
||||||
|
color: #aa5d00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Yellow */
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #aa5d00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #008000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Blue */
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #007faa;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Purple */
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
color: #7928a1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
background: #fefefe;
|
||||||
|
color: #545454;
|
||||||
|
padding: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (-ms-high-contrast: active) {
|
||||||
|
.hljs-addition,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-quote {
|
||||||
|
color: highlight;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
}
|
167
public/static/lib/vditor/dist/js/highlight.js/styles/trac.css
vendored
Normal file
@ -0,0 +1,167 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #a61717; background-color: #e3d2d2 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { font-weight: bold }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { font-weight: bold }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { font-weight: bold }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { font-weight: bold }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { font-weight: bold }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { font-weight: bold }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #445588; font-weight: bold }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #008080 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #999999 }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #445588; font-weight: bold }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #008080 }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #800080 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #990000; font-weight: bold }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #990000; font-weight: bold }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #555555 }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #000080 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #008080 }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #bb8844 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #bb8844 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #bb8844 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #bb8844 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #bb8844 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #bb8844 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #bb8844 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #bb8844 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #bb8844 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #bb8844 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #bb8844 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #808000 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #bb8844 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #bb8844 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #009999 }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #009999 }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #009999 }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #009999 }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #009999 }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #009999 }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #009999 }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { font-weight: bold }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { font-weight: bold }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #999988; font-style: italic }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #999988; font-style: italic }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #999988; font-style: italic }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #999988; font-style: italic }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #999999; font-weight: bold; font-style: italic }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #999999; font-weight: bold }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #999999; font-weight: bold }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #000000; background-color: #ffdddd }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #aa0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #999999 }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #000000; background-color: #ddffdd }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #555555 }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #aaaaaa }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Original highlight.js style (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #F0F0F0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Base color: saturation 0; */
|
||||||
|
|
||||||
|
.hljs,
|
||||||
|
.hljs-subst {
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment {
|
||||||
|
color: #888888;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-meta-keyword,
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-name {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* User color: hue: 0 */
|
||||||
|
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #880000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section {
|
||||||
|
color: #880000;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-link,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo {
|
||||||
|
color: #BC6060;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Language color: hue: 90; */
|
||||||
|
|
||||||
|
.hljs-literal {
|
||||||
|
color: #78A960;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-code,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #397300;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Meta color: hue: 200 */
|
||||||
|
|
||||||
|
.hljs-meta {
|
||||||
|
color: #1f7199;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-meta-string {
|
||||||
|
color: #4d99bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Misc effects */
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
144
public/static/lib/vditor/dist/js/highlight.js/styles/vim.css
vendored
Normal file
@ -0,0 +1,144 @@
|
|||||||
|
/* Background */ .highlight-bg { color: #cccccc; background-color: #000000 }
|
||||||
|
/* PreWrapper */ .highlight-chroma { color: #cccccc; background-color: #000000; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #191919 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #666666 }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #666666 }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #cdcd00 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #cdcd00 }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #00cd00 }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #cd00cd }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #cdcd00 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #cdcd00 }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #00cd00 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #cd00cd }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #00cdcd }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #666699; font-weight: bold }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #00cdcd }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #cd0000 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #cd0000 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #cd0000 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #cd0000 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #cd0000 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #cd0000 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #cd0000 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #cd0000 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #cd0000 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #cd0000 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #cd0000 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #cd0000 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #cd0000 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #cd0000 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #cd00cd }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #cd00cd }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #cd00cd }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #cd00cd }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #cd00cd }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #cd00cd }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #cd00cd }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #3399cc }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #cdcd00 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #000080 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #000080 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #000080 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #000080 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #cd0000; font-weight: bold }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #000080 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #000080 }
|
||||||
|
/* GenericDeleted */ .highlight-chroma .highlight-gd { color: #cd0000 }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericError */ .highlight-chroma .highlight-gr { color: #ff0000 }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { color: #000080; font-weight: bold }
|
||||||
|
/* GenericInserted */ .highlight-chroma .highlight-gi { color: #00cd00 }
|
||||||
|
/* GenericOutput */ .highlight-chroma .highlight-go { color: #888888 }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { color: #000080; font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { color: #800080; font-weight: bold }
|
||||||
|
/* GenericTraceback */ .highlight-chroma .highlight-gt { color: #0044dd }
|
||||||
|
/* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Qt Creator dark color scheme
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs,
|
||||||
|
.hljs-subst,
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-title {
|
||||||
|
color: #aaaaaa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong,
|
||||||
|
.hljs-emphasis {
|
||||||
|
color: #a8a8a2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-number,
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-literal {
|
||||||
|
color: #ff55ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-code
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #aaaaff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis,
|
||||||
|
.hljs-stronge,
|
||||||
|
.hljs-type {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-function,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-name {
|
||||||
|
color: #ffff55;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #ff5555;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-params,
|
||||||
|
.hljs-class .hljs-title {
|
||||||
|
color: #8888ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-addition,
|
||||||
|
.hljs-link {
|
||||||
|
color: #ff55ff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-meta,
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #55ffff;
|
||||||
|
}
|
||||||
|
|
113
public/static/lib/vditor/dist/js/highlight.js/styles/vs.css
vendored
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #0000ff }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #0000ff }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #0000ff }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #0000ff }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #0000ff }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #0000ff }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #2b91af }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #2b91af }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #a31515 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #a31515 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #a31515 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #a31515 }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #a31515 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #a31515 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #a31515 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #a31515 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #a31515 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #a31515 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #a31515 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #a31515 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #a31515 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #a31515 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #0000ff }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #008000 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #008000 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #008000 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #008000 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #008000 }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #0000ff }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #0000ff }
|
||||||
|
/* GenericEmph */ .highlight-chroma .highlight-ge { font-style: italic }
|
||||||
|
/* GenericHeading */ .highlight-chroma .highlight-gh { font-weight: bold }
|
||||||
|
/* GenericPrompt */ .highlight-chroma .highlight-gp { font-weight: bold }
|
||||||
|
/* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .highlight-chroma .highlight-gu { font-weight: bold }
|
||||||
|
/*
|
||||||
|
|
||||||
|
Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
|
||||||
|
|
||||||
|
*/
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: white;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote,
|
||||||
|
.hljs-variable {
|
||||||
|
color: #008000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-name,
|
||||||
|
.hljs-tag {
|
||||||
|
color: #00f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-template-tag,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-addition {
|
||||||
|
color: #a31515;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo,
|
||||||
|
.hljs-meta {
|
||||||
|
color: #2b91af;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-doctag {
|
||||||
|
color: #808080;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attr {
|
||||||
|
color: #f00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-link {
|
||||||
|
color: #00b0e8;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
174
public/static/lib/vditor/dist/js/highlight.js/styles/xcode.css
vendored
Normal file
@ -0,0 +1,174 @@
|
|||||||
|
/* Background */ .highlight-bg { background-color: #ffffff }
|
||||||
|
/* PreWrapper */ .highlight-chroma { background-color: #ffffff; }
|
||||||
|
/* Error */ .highlight-chroma .highlight-err { color: #000000 }
|
||||||
|
/* LineTableTD */ .highlight-chroma .highlight-lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .highlight-chroma .highlight-lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineHighlight */ .highlight-chroma .highlight-hl { background-color: #e5e5e5 }
|
||||||
|
/* LineNumbersTable */ .highlight-chroma .highlight-lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* LineNumbers */ .highlight-chroma .highlight-ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
|
||||||
|
/* Line */ .highlight-chroma .highlight-line { display: flex; }
|
||||||
|
/* Keyword */ .highlight-chroma .highlight-k { color: #a90d91 }
|
||||||
|
/* KeywordConstant */ .highlight-chroma .highlight-kc { color: #a90d91 }
|
||||||
|
/* KeywordDeclaration */ .highlight-chroma .highlight-kd { color: #a90d91 }
|
||||||
|
/* KeywordNamespace */ .highlight-chroma .highlight-kn { color: #a90d91 }
|
||||||
|
/* KeywordPseudo */ .highlight-chroma .highlight-kp { color: #a90d91 }
|
||||||
|
/* KeywordReserved */ .highlight-chroma .highlight-kr { color: #a90d91 }
|
||||||
|
/* KeywordType */ .highlight-chroma .highlight-kt { color: #a90d91 }
|
||||||
|
/* Name */ .highlight-chroma .highlight-n { color: #000000 }
|
||||||
|
/* NameAttribute */ .highlight-chroma .highlight-na { color: #836c28 }
|
||||||
|
/* NameBuiltin */ .highlight-chroma .highlight-nb { color: #a90d91 }
|
||||||
|
/* NameBuiltinPseudo */ .highlight-chroma .highlight-bp { color: #5b269a }
|
||||||
|
/* NameClass */ .highlight-chroma .highlight-nc { color: #3f6e75 }
|
||||||
|
/* NameConstant */ .highlight-chroma .highlight-no { color: #000000 }
|
||||||
|
/* NameDecorator */ .highlight-chroma .highlight-nd { color: #000000 }
|
||||||
|
/* NameEntity */ .highlight-chroma .highlight-ni { color: #000000 }
|
||||||
|
/* NameException */ .highlight-chroma .highlight-ne { color: #000000 }
|
||||||
|
/* NameFunction */ .highlight-chroma .highlight-nf { color: #000000 }
|
||||||
|
/* NameFunctionMagic */ .highlight-chroma .highlight-fm { color: #000000 }
|
||||||
|
/* NameLabel */ .highlight-chroma .highlight-nl { color: #000000 }
|
||||||
|
/* NameNamespace */ .highlight-chroma .highlight-nn { color: #000000 }
|
||||||
|
/* NameOther */ .highlight-chroma .highlight-nx { color: #000000 }
|
||||||
|
/* NameProperty */ .highlight-chroma .highlight-py { color: #000000 }
|
||||||
|
/* NameTag */ .highlight-chroma .highlight-nt { color: #000000 }
|
||||||
|
/* NameVariable */ .highlight-chroma .highlight-nv { color: #000000 }
|
||||||
|
/* NameVariableClass */ .highlight-chroma .highlight-vc { color: #000000 }
|
||||||
|
/* NameVariableGlobal */ .highlight-chroma .highlight-vg { color: #000000 }
|
||||||
|
/* NameVariableInstance */ .highlight-chroma .highlight-vi { color: #000000 }
|
||||||
|
/* NameVariableMagic */ .highlight-chroma .highlight-vm { color: #000000 }
|
||||||
|
/* Literal */ .highlight-chroma .highlight-l { color: #1c01ce }
|
||||||
|
/* LiteralDate */ .highlight-chroma .highlight-ld { color: #1c01ce }
|
||||||
|
/* LiteralString */ .highlight-chroma .highlight-s { color: #c41a16 }
|
||||||
|
/* LiteralStringAffix */ .highlight-chroma .highlight-sa { color: #c41a16 }
|
||||||
|
/* LiteralStringBacktick */ .highlight-chroma .highlight-sb { color: #c41a16 }
|
||||||
|
/* LiteralStringChar */ .highlight-chroma .highlight-sc { color: #2300ce }
|
||||||
|
/* LiteralStringDelimiter */ .highlight-chroma .highlight-dl { color: #c41a16 }
|
||||||
|
/* LiteralStringDoc */ .highlight-chroma .highlight-sd { color: #c41a16 }
|
||||||
|
/* LiteralStringDouble */ .highlight-chroma .highlight-s2 { color: #c41a16 }
|
||||||
|
/* LiteralStringEscape */ .highlight-chroma .highlight-se { color: #c41a16 }
|
||||||
|
/* LiteralStringHeredoc */ .highlight-chroma .highlight-sh { color: #c41a16 }
|
||||||
|
/* LiteralStringInterpol */ .highlight-chroma .highlight-si { color: #c41a16 }
|
||||||
|
/* LiteralStringOther */ .highlight-chroma .highlight-sx { color: #c41a16 }
|
||||||
|
/* LiteralStringRegex */ .highlight-chroma .highlight-sr { color: #c41a16 }
|
||||||
|
/* LiteralStringSingle */ .highlight-chroma .highlight-s1 { color: #c41a16 }
|
||||||
|
/* LiteralStringSymbol */ .highlight-chroma .highlight-ss { color: #c41a16 }
|
||||||
|
/* LiteralNumber */ .highlight-chroma .highlight-m { color: #1c01ce }
|
||||||
|
/* LiteralNumberBin */ .highlight-chroma .highlight-mb { color: #1c01ce }
|
||||||
|
/* LiteralNumberFloat */ .highlight-chroma .highlight-mf { color: #1c01ce }
|
||||||
|
/* LiteralNumberHex */ .highlight-chroma .highlight-mh { color: #1c01ce }
|
||||||
|
/* LiteralNumberInteger */ .highlight-chroma .highlight-mi { color: #1c01ce }
|
||||||
|
/* LiteralNumberIntegerLong */ .highlight-chroma .highlight-il { color: #1c01ce }
|
||||||
|
/* LiteralNumberOct */ .highlight-chroma .highlight-mo { color: #1c01ce }
|
||||||
|
/* Operator */ .highlight-chroma .highlight-o { color: #000000 }
|
||||||
|
/* OperatorWord */ .highlight-chroma .highlight-ow { color: #000000 }
|
||||||
|
/* Comment */ .highlight-chroma .highlight-c { color: #177500 }
|
||||||
|
/* CommentHashbang */ .highlight-chroma .highlight-ch { color: #177500 }
|
||||||
|
/* CommentMultiline */ .highlight-chroma .highlight-cm { color: #177500 }
|
||||||
|
/* CommentSingle */ .highlight-chroma .highlight-c1 { color: #177500 }
|
||||||
|
/* CommentSpecial */ .highlight-chroma .highlight-cs { color: #177500 }
|
||||||
|
/* CommentPreproc */ .highlight-chroma .highlight-cp { color: #633820 }
|
||||||
|
/* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #633820 }
|
||||||
|
/*
|
||||||
|
|
||||||
|
XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
padding: 0.5em;
|
||||||
|
background: #fff;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Gray DOCTYPE selectors like WebKit */
|
||||||
|
.xml .hljs-meta {
|
||||||
|
color: #c0c0c0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #007400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag,
|
||||||
|
.hljs-attribute,
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-name {
|
||||||
|
color: #aa0d91;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable {
|
||||||
|
color: #3F6E74;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-code,
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-meta-string {
|
||||||
|
color: #c41a16;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-regexp,
|
||||||
|
.hljs-link {
|
||||||
|
color: #0E0EFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-number {
|
||||||
|
color: #1c00cf;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-meta {
|
||||||
|
color: #643820;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.hljs-class .hljs-title,
|
||||||
|
.hljs-type,
|
||||||
|
.hljs-built_in,
|
||||||
|
.hljs-builtin-name,
|
||||||
|
.hljs-params {
|
||||||
|
color: #5c2699;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-attr {
|
||||||
|
color: #836C28;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-subst {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-formula {
|
||||||
|
background-color: #eee;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
background-color: #baeeba;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
background-color: #ffc8bd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class {
|
||||||
|
color: #9b703f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-doctag,
|
||||||
|
.hljs-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-emphasis {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|