mirror of https://github.com/abpframework/abp.git
27 changed files with 2236 additions and 42168 deletions
File diff suppressed because it is too large
@ -0,0 +1,66 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations |
||||
|
{ |
||||
|
public partial class User_IsActive : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropIndex( |
||||
|
name: "IX_AbpSettings_Name_ProviderName_ProviderKey", |
||||
|
table: "AbpSettings"); |
||||
|
|
||||
|
migrationBuilder.DropIndex( |
||||
|
name: "IX_AbpPermissionGrants_Name_ProviderName_ProviderKey", |
||||
|
table: "AbpPermissionGrants"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<bool>( |
||||
|
name: "IsActive", |
||||
|
table: "AbpUsers", |
||||
|
type: "bit", |
||||
|
nullable: false, |
||||
|
defaultValue: false); |
||||
|
|
||||
|
migrationBuilder.CreateIndex( |
||||
|
name: "IX_AbpSettings_Name_ProviderName_ProviderKey", |
||||
|
table: "AbpSettings", |
||||
|
columns: new[] { "Name", "ProviderName", "ProviderKey" }, |
||||
|
unique: true, |
||||
|
filter: "[ProviderName] IS NOT NULL AND [ProviderKey] IS NOT NULL"); |
||||
|
|
||||
|
migrationBuilder.CreateIndex( |
||||
|
name: "IX_AbpPermissionGrants_TenantId_Name_ProviderName_ProviderKey", |
||||
|
table: "AbpPermissionGrants", |
||||
|
columns: new[] { "TenantId", "Name", "ProviderName", "ProviderKey" }, |
||||
|
unique: true, |
||||
|
filter: "[TenantId] IS NOT NULL"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropIndex( |
||||
|
name: "IX_AbpSettings_Name_ProviderName_ProviderKey", |
||||
|
table: "AbpSettings"); |
||||
|
|
||||
|
migrationBuilder.DropIndex( |
||||
|
name: "IX_AbpPermissionGrants_TenantId_Name_ProviderName_ProviderKey", |
||||
|
table: "AbpPermissionGrants"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "IsActive", |
||||
|
table: "AbpUsers"); |
||||
|
|
||||
|
migrationBuilder.CreateIndex( |
||||
|
name: "IX_AbpSettings_Name_ProviderName_ProviderKey", |
||||
|
table: "AbpSettings", |
||||
|
columns: new[] { "Name", "ProviderName", "ProviderKey" }); |
||||
|
|
||||
|
migrationBuilder.CreateIndex( |
||||
|
name: "IX_AbpPermissionGrants_Name_ProviderName_ProviderKey", |
||||
|
table: "AbpPermissionGrants", |
||||
|
columns: new[] { "Name", "ProviderName", "ProviderKey" }); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
File diff suppressed because it is too large
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,171 @@ |
|||||
|
/*! |
||||
|
* TOAST UI Editor : Code Syntax Highlight Plugin |
||||
|
* @version 3.0.0 | Thu Jun 17 2021 |
||||
|
* @author NHN FE Development Lab <dl_javascript@nhn.com> |
||||
|
* @license MIT |
||||
|
*/ |
||||
|
/* prevent to create draggable box in IE with prism */ |
||||
|
pre[class*="language-"] { |
||||
|
overflow: visible; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-ww-code-block-highlighting { |
||||
|
position: relative; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-ww-code-block-highlighting:after { |
||||
|
content: attr(data-language); |
||||
|
position: absolute; |
||||
|
display: inline-block; |
||||
|
top: 10px; |
||||
|
right: 10px; |
||||
|
height: 24px; |
||||
|
padding: 3px 30px 0 10px; |
||||
|
font-weight: bold; |
||||
|
font-size: 13px; |
||||
|
color: #333; |
||||
|
background-color: #e5e9ea; |
||||
|
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzAgMzAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMwIDMwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6IzU1NTU1NTt9Cjwvc3R5bGU+CjxnPgoJPGc+CgkJPGc+CgkJCTxnPgoJCQkJPGc+CgkJCQkJPHBhdGggY2xhc3M9InN0MCIgZD0iTTE1LjUsMTIuNWwyLDJMMTIsMjBoLTJ2LTJMMTUuNSwxMi41eiBNMTgsMTBsMiwybC0xLjUsMS41bC0yLTJMMTgsMTB6Ii8+CgkJCQk8L2c+CgkJCTwvZz4KCQk8L2c+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=='); |
||||
|
background-repeat: no-repeat; |
||||
|
background-position: right; |
||||
|
background-size: 30px 30px; |
||||
|
border-radius: 2px; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language { |
||||
|
position: fixed; |
||||
|
display: inline-block; |
||||
|
right: 35px; |
||||
|
z-index: 100; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-input { |
||||
|
position: relative; |
||||
|
display: inline-block; |
||||
|
padding: 0 22px 0 10px; |
||||
|
width: 112px; |
||||
|
height: 26px; |
||||
|
border: 1px solid #ccc; |
||||
|
border-radius: 2px; |
||||
|
background-color: #fff; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-input input { |
||||
|
margin: 0; |
||||
|
padding: 0; |
||||
|
height: 100%; |
||||
|
width: 100%; |
||||
|
background-color: #fff; |
||||
|
color: #222; |
||||
|
border: none; |
||||
|
outline: none; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-input input::placeholder { |
||||
|
color: #ccc; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-input input::-ms-clear { |
||||
|
display: none; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language .toastui-editor-code-block-language-input::after { |
||||
|
content: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTIgMTQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDE0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6IzIyMjIyMjt9Cjwvc3R5bGU+CjxkZXNjPkNyZWF0ZWQgd2l0aCBza2V0Y2h0b29sLjwvZGVzYz4KPGcgaWQ9IlN5bWJvbHMiPgoJPGcgaWQ9ImNvbS10cmFuZ2xlLWQtc2lkZSI+CgkJPHBvbHlnb24gaWQ9IlJlY3RhbmdsZS03IiBjbGFzcz0ic3QwIiBwb2ludHM9IjIsNSAxMCw1IDYsMTAgCQkiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'); |
||||
|
position: absolute; |
||||
|
display: inline-block; |
||||
|
top: 7px; |
||||
|
right: 5px; |
||||
|
width: 12px; |
||||
|
height: 14px; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language.active .toastui-editor-code-block-language-input::after { |
||||
|
content: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTIgMTQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDE0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6IzIyMjIyMjt9Cjwvc3R5bGU+CjxkZXNjPkNyZWF0ZWQgd2l0aCBza2V0Y2h0b29sLjwvZGVzYz4KPGcgaWQ9IlN5bWJvbHMiPgoJPGcgaWQ9ImNvbS10cmFuZ2xlLXVwLXNpZGUiPgoJCTxwb2x5Z29uIGlkPSJSZWN0YW5nbGUtNyIgY2xhc3M9InN0MCIgcG9pbnRzPSIyLDkgMTAsOSA2LDQgCQkiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'); |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-list { |
||||
|
position: fixed; |
||||
|
margin-top: -1px; |
||||
|
width: 144px; |
||||
|
border: solid 1px #ccc; |
||||
|
border-bottom-left-radius: 2px; |
||||
|
border-bottom-right-radius: 2px; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-list .buttons { |
||||
|
max-height: 169px; |
||||
|
overflow: auto; |
||||
|
padding: 0; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-list button { |
||||
|
width: 100%; |
||||
|
background-color: #fff; |
||||
|
border: none; |
||||
|
outline: 0; |
||||
|
padding: 0 10px; |
||||
|
font-size: 13px; |
||||
|
line-height: 24px; |
||||
|
text-align: left; |
||||
|
color: #222; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-list button.active { |
||||
|
color: #4b96e6; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-list button:hover { |
||||
|
background-color: #f4f7f8; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language-input input::placeholder { |
||||
|
color: #eee; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-ww-code-block-highlighting:after { |
||||
|
background-color: #232428; |
||||
|
border: 1px solid #393b42; |
||||
|
color: #eee; |
||||
|
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzAgMzAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMwIDMwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6I2ZmZjt9Cjwvc3R5bGU+CjxnPgoJPGc+CgkJPGc+CgkJCTxnPgoJCQkJPGc+CgkJCQkJPHBhdGggY2xhc3M9InN0MCIgZD0iTTE1LjUsMTIuNWwyLDJMMTIsMjBoLTJ2LTJMMTUuNSwxMi41eiBNMTgsMTBsMiwybC0xLjUsMS41bC0yLTJMMTgsMTB6Ii8+CgkJCQk8L2c+CgkJCTwvZz4KCQk8L2c+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=='); |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language span { |
||||
|
border: 1px solid #494c56; |
||||
|
background-color: #121212; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language input { |
||||
|
background-color: #121212; |
||||
|
color: #eee; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language-list { |
||||
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08); |
||||
|
border: 1px solid #494c56; |
||||
|
border-radius: 2px; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language-list button { |
||||
|
color: #eee; |
||||
|
background-color: #121212; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language-list button.active { |
||||
|
color: #4b96e6; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language-list button:hover { |
||||
|
background-color: #36383f; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language .toastui-editor-code-block-language-input::after { |
||||
|
content: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTIgMTQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDE0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6I2ZmZjt9Cjwvc3R5bGU+CjxkZXNjPkNyZWF0ZWQgd2l0aCBza2V0Y2h0b29sLjwvZGVzYz4KPGcgaWQ9IlN5bWJvbHMiPgoJPGcgaWQ9ImNvbS10cmFuZ2xlLWQtc2lkZSI+CgkJPHBvbHlnb24gaWQ9IlJlY3RhbmdsZS03IiBjbGFzcz0ic3QwIiBwb2ludHM9IjIsNSAxMCw1IDYsMTAgCQkiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'); |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language.active .toastui-editor-code-block-language-input::after { |
||||
|
content: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTIgMTQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDE0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6I2ZmZjt9Cjwvc3R5bGU+CjxkZXNjPkNyZWF0ZWQgd2l0aCBza2V0Y2h0b29sLjwvZGVzYz4KPGcgaWQ9IlN5bWJvbHMiPgoJPGcgaWQ9ImNvbS10cmFuZ2xlLXVwLXNpZGUiPgoJCTxwb2x5Z29uIGlkPSJSZWN0YW5nbGUtNyIgY2xhc3M9InN0MCIgcG9pbnRzPSIyLDkgMTAsOSA2LDQgCQkiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'); |
||||
|
} |
||||
@ -1,280 +0,0 @@ |
|||||
/*! |
|
||||
* @toast-ui/editor |
|
||||
* @version 2.5.2 | Fri Apr 16 2021 |
|
||||
* @author NHN FE Development Lab <dl_javascript@nhn.com> |
|
||||
* @license MIT |
|
||||
*/ |
|
||||
@charset "utf-8"; |
|
||||
.CodeMirror { |
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents *:not(table) { |
|
||||
line-height: 160%; |
|
||||
box-sizing: content-box; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents i, |
|
||||
.tui-editor-contents cite, |
|
||||
.tui-editor-contents em, |
|
||||
.tui-editor-contents var, |
|
||||
.tui-editor-contents address, |
|
||||
.tui-editor-contents dfn { |
|
||||
font-style: italic; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents strong { |
|
||||
font-weight: bold; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents p { |
|
||||
margin: 10px 0; |
|
||||
color: #555; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents > h1:first-of-type, |
|
||||
.tui-editor-contents > div > div:first-of-type h1 { |
|
||||
margin-top: 14px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h1, |
|
||||
.tui-editor-contents h2, |
|
||||
.tui-editor-contents h3, |
|
||||
.tui-editor-contents h5 { |
|
||||
font-weight: bold; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h1 { |
|
||||
font-size: 1.6rem; |
|
||||
line-height: 28px; |
|
||||
border-bottom: 3px double #999; |
|
||||
margin: 52px 0 15px 0; |
|
||||
padding-bottom: 7px; |
|
||||
color: #000; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h2 { |
|
||||
font-size: 1.3rem; |
|
||||
line-height: 23px; |
|
||||
border-bottom: 1px solid #dbdbdb; |
|
||||
margin: 30px 0 13px 0; |
|
||||
padding-bottom: 7px; |
|
||||
color: #333; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h3, |
|
||||
.tui-editor-contents h4 { |
|
||||
font-size: 1.2rem; |
|
||||
line-height: 18px; |
|
||||
margin: 20px 0 2px; |
|
||||
color: #333; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h5, |
|
||||
.tui-editor-contents h6 { |
|
||||
font-size: 1rem; |
|
||||
line-height: 17px; |
|
||||
margin: 10px 0 -4px; |
|
||||
color: #333; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents blockquote { |
|
||||
margin: 15px 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents blockquote { |
|
||||
border-left: 4px solid #dddddd; |
|
||||
padding: 0 15px; |
|
||||
color: #777777; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents blockquote > :first-child { |
|
||||
margin-top: 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents blockquote > :last-child { |
|
||||
margin-bottom: 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents pre, |
|
||||
.tui-editor-contents code { |
|
||||
font-family: Consolas, Courier, 'Lucida Grande', '나눔바른고딕', 'Nanum Barun Gothic', '맑은고딕', |
|
||||
'Malgun Gothic', sans-serif; |
|
||||
border: 0; |
|
||||
border-radius: 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents pre { |
|
||||
margin: 2px 0 8px; |
|
||||
padding: 18px; |
|
||||
background-color: #f5f7f8; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents code { |
|
||||
color: #c1788b; |
|
||||
padding: 4px 4px 2px 0; |
|
||||
letter-spacing: -0.3px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents pre code { |
|
||||
padding: 0; |
|
||||
color: inherit; |
|
||||
white-space: pre-wrap; |
|
||||
background-color: transparent; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents pre.addon { |
|
||||
border: 1px solid #e8ebed; |
|
||||
background-color: #fff; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents img { |
|
||||
margin: 4px 0 10px; |
|
||||
box-sizing: border-box; |
|
||||
vertical-align: top; |
|
||||
max-width: 100%; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents table { |
|
||||
margin: 2px 0 14px; |
|
||||
color: #555; |
|
||||
width: auto; |
|
||||
border-collapse: collapse; |
|
||||
box-sizing: border-box; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents table th, |
|
||||
.tui-editor-contents table td { |
|
||||
height: 32px; |
|
||||
padding: 5px 14px 5px 12px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents table td { |
|
||||
border: 1px solid #eaeaea; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents table th { |
|
||||
border: 1px solid #72777b; |
|
||||
border-top: 0; |
|
||||
background-color: #7b8184; |
|
||||
font-weight: 300; |
|
||||
color: #fff; |
|
||||
padding-top: 6px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul, |
|
||||
.tui-editor-contents menu, |
|
||||
.tui-editor-contents ol, |
|
||||
.tui-editor-contents dir { |
|
||||
display: block; |
|
||||
list-style-type: disc; |
|
||||
padding-left: 17px; |
|
||||
margin: 6px 0 10px; |
|
||||
color: #555; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ol { |
|
||||
list-style-type: decimal; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul ul, |
|
||||
.tui-editor-contents ul ol, |
|
||||
.tui-editor-contents ol ol, |
|
||||
.tui-editor-contents ol ul { |
|
||||
margin-top: 0 !important; |
|
||||
margin-bottom: 0 !important; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul li, |
|
||||
.tui-editor-contents ol li { |
|
||||
position: relative; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul p, |
|
||||
ol p { |
|
||||
margin: 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul li.task-list-item:before, |
|
||||
.tui-editor-contents ol li.task-list-item:before, |
|
||||
.tui-editor-contents pre ul li:before { |
|
||||
content: ''; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents hr { |
|
||||
border-top: 1px solid #eee; |
|
||||
margin: 16px 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents a { |
|
||||
text-decoration: underline; |
|
||||
color: #5286bc; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents a:hover { |
|
||||
color: #007cff; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents a.image-link { |
|
||||
position: relative; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents a.image-link::before { |
|
||||
content: ''; |
|
||||
position: absolute; |
|
||||
margin: 0; |
|
||||
width: 20px; |
|
||||
height: 20px; |
|
||||
top: 2px; |
|
||||
right: 2px; |
|
||||
background-repeat: no-repeat; |
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAFKADAAQAAAABAAAAFAAAAACy3fD9AAAA/0lEQVQ4Ee2UIY6FQAyG/91wAQQJDg8SSwI3QIFAcQHuwFHQoOAEEFAELB6H4wIku+9vQgIP9zLyVbTTTufLtJ3MzzRNf1AoGlmu6ypBzvOMXyWkC+QLvDTjw6VM+Xr2OA6UZYmu67Dvu2zleX6zuq7D933EcQxNuyPu3usYYXVdw/M8mKYpIMMwxEZRJHbbNsmhkySJxE71APJmhGVZhnVdURQFlmU585GmKSzLEp+570Dlz+ZxQ/aGJVNYsm3bCIJA/LZtMY4jmqbBMAwIw1DiV/UAstEUltP3vawdxxFbVZVYDoWwM1eCp+LnoErIUt7DL/Ac1edWng1/WlXyD380myY5A34sAAAAAElFTkSuQmCC'); |
|
||||
cursor: pointer; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents { |
|
||||
font-size: 13px; |
|
||||
margin: 0; |
|
||||
padding: 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents .task-list-item { |
|
||||
border: 0; |
|
||||
list-style: none; |
|
||||
padding-left: 22px; |
|
||||
margin-left: -22px; |
|
||||
min-height: 20px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents .task-list-item:before { |
|
||||
background-repeat: no-repeat; |
|
||||
background-size: 16px 16px; |
|
||||
background-position: center; |
|
||||
content: ''; |
|
||||
height: 18px; |
|
||||
width: 18px; |
|
||||
position: absolute; |
|
||||
left: 0; |
|
||||
top: 1px; |
|
||||
cursor: pointer; |
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAADdJREFUKBVjvHv37n8GMgALSI+SkhJJWu/du8fARJIOJMWjGpECA505GjjoIYLEB6dVUNojFQAA/1MJUFWet/4AAAAASUVORK5CYII='); |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents .task-list-item.checked:before { |
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAMpJREFUKBVjjJ/64D8DGYCJDD1gLbTVyM3OxJDiJMzAxcYIdyALnIWDAdJU7i/OICfCxsDMxMgwc88bwk5F1vTs/W+GFUffwY2H+1FBlI2hLliCQYCbGSyJrqlzwwuGj9//YWoMtRBgUBJnZ6gMEGeQFWaFOw9kE7omkG5GWDyCPF7mJ86gIMbO8P//fwZGRkYGXJpAGuFO/fbrP0PXppcMD179JKgJRSOIA9N8/NZXrM4DqYEBjOgAaYYFOUwRNhruVGyS+MTI1ggAx8NTGcUtFVQAAAAASUVORK5CYII='); |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents .task-list-item input[type='checkbox'], |
|
||||
.tui-editor-contents .task-list-item .task-list-item-checkbox { |
|
||||
margin-left: -17px; |
|
||||
margin-right: 3.8px; |
|
||||
margin-top: 3px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents-placeholder:before { |
|
||||
content: attr(data-placeholder); |
|
||||
color: grey; |
|
||||
line-height: 160%; |
|
||||
position: absolute; |
|
||||
} |
|
||||
|
|
||||
@ -1,377 +0,0 @@ |
|||||
/*! |
|
||||
* @toast-ui/editor |
|
||||
* @version 2.5.2 | Fri Apr 16 2021 |
|
||||
* @author NHN FE Development Lab <dl_javascript@nhn.com> |
|
||||
* @license MIT |
|
||||
*/ |
|
||||
@charset "utf-8"; |
|
||||
.tui-editor-contents { |
|
||||
margin: 0; |
|
||||
padding: 0; |
|
||||
font-size: 13px; |
|
||||
font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica', 'Arial', '나눔바른고딕', |
|
||||
'Nanum Barun Gothic', '맑은고딕', 'Malgun Gothic', sans-serif; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents *:not(table) { |
|
||||
line-height: 160%; |
|
||||
box-sizing: content-box; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents i, |
|
||||
.tui-editor-contents cite, |
|
||||
.tui-editor-contents em, |
|
||||
.tui-editor-contents var, |
|
||||
.tui-editor-contents address, |
|
||||
.tui-editor-contents dfn { |
|
||||
font-style: italic; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents strong { |
|
||||
font-weight: bold; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents p { |
|
||||
margin: 10px 0; |
|
||||
color: #222; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents > h1:first-of-type, |
|
||||
.tui-editor-contents > div > div:first-of-type h1 { |
|
||||
margin-top: 14px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h1, |
|
||||
.tui-editor-contents h2, |
|
||||
.tui-editor-contents h3, |
|
||||
.tui-editor-contents h4, |
|
||||
.tui-editor-contents h5, |
|
||||
.tui-editor-contents h6 { |
|
||||
font-weight: bold; |
|
||||
color: #222; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h1 { |
|
||||
font-size: 24px; |
|
||||
line-height: 28px; |
|
||||
border-bottom: 3px double #999; |
|
||||
margin: 52px 0 15px 0; |
|
||||
padding-bottom: 7px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h2 { |
|
||||
font-size: 22px; |
|
||||
line-height: 23px; |
|
||||
border-bottom: 1px solid #dbdbdb; |
|
||||
margin: 20px 0 13px 0; |
|
||||
padding-bottom: 7px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h3 { |
|
||||
font-size: 20px; |
|
||||
margin: 18px 0 2px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h4 { |
|
||||
font-size: 18px; |
|
||||
margin: 10px 0 2px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h3, |
|
||||
.tui-editor-contents h4 { |
|
||||
line-height: 18px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h5 { |
|
||||
font-size: 16px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h6 { |
|
||||
font-size: 14px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents h5, |
|
||||
.tui-editor-contents h6 { |
|
||||
line-height: 17px; |
|
||||
margin: 9px 0 -4px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents del { |
|
||||
color: #999; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents blockquote { |
|
||||
margin: 14px 0; |
|
||||
border-left: 4px solid #e5e5e5; |
|
||||
padding: 0 16px; |
|
||||
color: #999; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents blockquote p, |
|
||||
.tui-editor-contents blockquote ul, |
|
||||
.tui-editor-contents blockquote ol { |
|
||||
color: #999; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents blockquote > :first-child { |
|
||||
margin-top: 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents blockquote > :last-child { |
|
||||
margin-bottom: 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents pre, |
|
||||
.tui-editor-contents code { |
|
||||
font-family: Consolas, Courier, 'Apple SD 산돌고딕 Neo', -apple-system, 'Lucida Grande', |
|
||||
'Apple SD Gothic Neo', '맑은 고딕', 'Malgun Gothic', 'Segoe UI', '돋움', dotum, sans-serif; |
|
||||
border: 0; |
|
||||
border-radius: 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents pre { |
|
||||
margin: 2px 0 8px; |
|
||||
padding: 18px; |
|
||||
background-color: #f5f7f8; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents code { |
|
||||
color: #c1798b; |
|
||||
background-color: #f9f2f4; |
|
||||
padding: 2px 3px; |
|
||||
letter-spacing: -0.3px; |
|
||||
border-radius: 2px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents pre code { |
|
||||
padding: 0; |
|
||||
color: inherit; |
|
||||
white-space: pre-wrap; |
|
||||
background-color: transparent; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents pre.addon { |
|
||||
border: 1px solid #e8ebed; |
|
||||
background-color: #fff; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents img { |
|
||||
margin: 4px 0 10px; |
|
||||
box-sizing: border-box; |
|
||||
vertical-align: top; |
|
||||
max-width: 100%; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents table { |
|
||||
border: 1px solid rgba(0, 0, 0, 0.1); |
|
||||
margin: 12px 0 14px; |
|
||||
color: #222; |
|
||||
width: auto; |
|
||||
border-collapse: collapse; |
|
||||
box-sizing: border-box; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents table th, |
|
||||
.tui-editor-contents table td { |
|
||||
border: 1px solid rgba(0, 0, 0, 0.1); |
|
||||
padding: 5px 14px 5px 12px; |
|
||||
height: 32px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents table th { |
|
||||
background-color: #555; |
|
||||
font-weight: 300; |
|
||||
color: #fff; |
|
||||
padding-top: 6px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul, |
|
||||
.tui-editor-contents menu, |
|
||||
.tui-editor-contents ol, |
|
||||
.tui-editor-contents dir { |
|
||||
display: block; |
|
||||
list-style-type: none; |
|
||||
padding-left: 24px; |
|
||||
margin: 6px 0 10px; |
|
||||
color: #222; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ol { |
|
||||
list-style-type: none; |
|
||||
counter-reset: li; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ol > li { |
|
||||
counter-increment: li; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul > li::before, |
|
||||
.tui-editor-contents ol > li::before { |
|
||||
display: inline-block; |
|
||||
position: absolute; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul > li::before { |
|
||||
content: ''; |
|
||||
margin-top: 6px; |
|
||||
margin-left: -17px; |
|
||||
width: 5px; |
|
||||
height: 5px; |
|
||||
border-radius: 50%; |
|
||||
background-color: #ccc; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ol > li::before { |
|
||||
content: '.' counter(li); |
|
||||
margin-left: -28px; |
|
||||
width: 24px; |
|
||||
text-align: right; |
|
||||
direction: rtl; |
|
||||
color: #aaa; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul ul, |
|
||||
.tui-editor-contents ul ol, |
|
||||
.tui-editor-contents ol ol, |
|
||||
.tui-editor-contents ol ul { |
|
||||
margin-top: 0 !important; |
|
||||
margin-bottom: 0 !important; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul li, |
|
||||
.tui-editor-contents ol li { |
|
||||
position: relative; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul p, |
|
||||
.tui-editor-contents ol p { |
|
||||
margin: 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents ul li.task-list-item::before, |
|
||||
.tui-editor-contents ol li.task-list-item::before, |
|
||||
.tui-editor-contents pre ul li::before { |
|
||||
content: ''; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents th ol, |
|
||||
.tui-editor-contents th ul { |
|
||||
color: #fff; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents hr { |
|
||||
border-top: 1px solid #eee; |
|
||||
margin: 16px 0; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents a { |
|
||||
text-decoration: underline; |
|
||||
color: #4b96e6; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents a:hover { |
|
||||
color: #1f70de; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents a.image-link { |
|
||||
position: relative; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents a.image-link::before { |
|
||||
content: ''; |
|
||||
position: absolute; |
|
||||
margin: 0; |
|
||||
width: 20px; |
|
||||
height: 20px; |
|
||||
top: 2px; |
|
||||
right: 2px; |
|
||||
background-repeat: no-repeat; |
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAFKADAAQAAAABAAAAFAAAAACy3fD9AAAA/0lEQVQ4Ee2UIY6FQAyG/91wAQQJDg8SSwI3QIFAcQHuwFHQoOAEEFAELB6H4wIku+9vQgIP9zLyVbTTTufLtJ3MzzRNf1AoGlmu6ypBzvOMXyWkC+QLvDTjw6VM+Xr2OA6UZYmu67Dvu2zleX6zuq7D933EcQxNuyPu3usYYXVdw/M8mKYpIMMwxEZRJHbbNsmhkySJxE71APJmhGVZhnVdURQFlmU585GmKSzLEp+570Dlz+ZxQ/aGJVNYsm3bCIJA/LZtMY4jmqbBMAwIw1DiV/UAstEUltP3vawdxxFbVZVYDoWwM1eCp+LnoErIUt7DL/Ac1edWng1/WlXyD380myY5A34sAAAAAElFTkSuQmCC'); |
|
||||
cursor: pointer; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents .task-list-item { |
|
||||
border: 0; |
|
||||
list-style: none; |
|
||||
padding-left: 24px; |
|
||||
margin-left: -24px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents .task-list-item::before { |
|
||||
background-repeat: no-repeat; |
|
||||
background-size: 18px 18px; |
|
||||
background-position: center; |
|
||||
content: ''; |
|
||||
margin-left: 0; |
|
||||
margin-top: 0; |
|
||||
border-radius: 0; |
|
||||
height: 18px; |
|
||||
width: 18px; |
|
||||
position: absolute; |
|
||||
left: 0; |
|
||||
top: 1px; |
|
||||
cursor: pointer; |
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEqADAAQAAAABAAAAEgAAAACaqbJVAAAAQklEQVQ4EWM8c+bMfwYqABaQGcbGxhQZdfbsWQYmikxA0jxqEFJg4GCOhhGOgEESHg0jpMDAwRx8YQQuj0DlCaUAAEdBCPJ7TaEPAAAAAElFTkSuQmCC'); |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents .task-list-item.checked::before { |
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAEqADAAQAAAABAAAAEgAAAACaqbJVAAAA1ElEQVQ4EWP0nvbsPwMVABMVzAAbMWoQIiT5OJgYvLS5EAJQFguGCB4BkCHt/kIM8kKsYFXbrn6DqyY6sJENefjuN8ORuz/ghoAYWA0COR2kEQbQDanc+I7h049/MGkwjVANFQYZkmXHD/YCyABiDAFpxQgjkJO9dbjA4QAKDxAAhQnIO9hcAlYAJDBcBHIySANII8gAYgwBGYZhEEgQZFjVJohhhFwCUg8CjPgyLT8nE8N/YJZGD1iIVlQSI4yQpT9+R40ZZDl0NlavoSsihj/4DAIAR+hZHUj727YAAAAASUVORK5CYII='); |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents .task-list-item input[type='checkbox'], |
|
||||
.tui-editor-contents .task-list-item .task-list-item-checkbox { |
|
||||
margin-left: -17px; |
|
||||
margin-right: 3.8px; |
|
||||
margin-top: 3px; |
|
||||
} |
|
||||
|
|
||||
.tui-editor-contents-placeholder::before { |
|
||||
content: attr(data-placeholder); |
|
||||
color: grey; |
|
||||
line-height: 160%; |
|
||||
position: absolute; |
|
||||
} |
|
||||
|
|
||||
.te-preview .tui-editor-contents h1 { |
|
||||
min-height: 28px; |
|
||||
} |
|
||||
|
|
||||
.te-preview .tui-editor-contents h2 { |
|
||||
min-height: 23px; |
|
||||
} |
|
||||
|
|
||||
.te-preview .tui-editor-contents blockquote { |
|
||||
min-height: 20px; |
|
||||
} |
|
||||
|
|
||||
.te-preview .tui-editor-contents li { |
|
||||
min-height: 22px; |
|
||||
} |
|
||||
|
|
||||
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { |
|
||||
/* IE10+11 */ |
|
||||
.te-ww-container .tui-editor-contents li { |
|
||||
vertical-align: middle; |
|
||||
} |
|
||||
|
|
||||
.te-ww-container .tui-editor-contents ul > li::before, |
|
||||
.te-ww-container .tui-editor-contents ol > li::before, |
|
||||
.te-ww-container .tui-editor-contents .task-list-item:before { |
|
||||
position: static; |
|
||||
vertical-align: middle; |
|
||||
} |
|
||||
|
|
||||
.te-ww-container .tui-editor-contents ul > li::before { |
|
||||
margin-top: -3px; |
|
||||
margin-right: 12px; |
|
||||
} |
|
||||
|
|
||||
.te-ww-container .tui-editor-contents ol > li::before { |
|
||||
margin-right: 6px; |
|
||||
} |
|
||||
|
|
||||
.te-ww-container .tui-editor-contents .task-list-item { |
|
||||
padding-left: 2px; |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@ |
|||||
module.exports = { |
module.exports = { |
||||
mappings: { |
mappings: { |
||||
"@node_modules/@toast-ui/editor/dist/*.*": "@libs/tui-editor/" |
"@node_modules/@abp/@toast-ui/src/*": "@libs/tui-editor/" |
||||
} |
} |
||||
} |
} |
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,171 @@ |
|||||
|
/*! |
||||
|
* TOAST UI Editor : Code Syntax Highlight Plugin |
||||
|
* @version 3.0.0 | Thu Jun 17 2021 |
||||
|
* @author NHN FE Development Lab <dl_javascript@nhn.com> |
||||
|
* @license MIT |
||||
|
*/ |
||||
|
/* prevent to create draggable box in IE with prism */ |
||||
|
pre[class*="language-"] { |
||||
|
overflow: visible; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-ww-code-block-highlighting { |
||||
|
position: relative; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-ww-code-block-highlighting:after { |
||||
|
content: attr(data-language); |
||||
|
position: absolute; |
||||
|
display: inline-block; |
||||
|
top: 10px; |
||||
|
right: 10px; |
||||
|
height: 24px; |
||||
|
padding: 3px 30px 0 10px; |
||||
|
font-weight: bold; |
||||
|
font-size: 13px; |
||||
|
color: #333; |
||||
|
background-color: #e5e9ea; |
||||
|
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzAgMzAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMwIDMwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6IzU1NTU1NTt9Cjwvc3R5bGU+CjxnPgoJPGc+CgkJPGc+CgkJCTxnPgoJCQkJPGc+CgkJCQkJPHBhdGggY2xhc3M9InN0MCIgZD0iTTE1LjUsMTIuNWwyLDJMMTIsMjBoLTJ2LTJMMTUuNSwxMi41eiBNMTgsMTBsMiwybC0xLjUsMS41bC0yLTJMMTgsMTB6Ii8+CgkJCQk8L2c+CgkJCTwvZz4KCQk8L2c+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=='); |
||||
|
background-repeat: no-repeat; |
||||
|
background-position: right; |
||||
|
background-size: 30px 30px; |
||||
|
border-radius: 2px; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language { |
||||
|
position: fixed; |
||||
|
display: inline-block; |
||||
|
right: 35px; |
||||
|
z-index: 100; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-input { |
||||
|
position: relative; |
||||
|
display: inline-block; |
||||
|
padding: 0 22px 0 10px; |
||||
|
width: 112px; |
||||
|
height: 26px; |
||||
|
border: 1px solid #ccc; |
||||
|
border-radius: 2px; |
||||
|
background-color: #fff; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-input input { |
||||
|
margin: 0; |
||||
|
padding: 0; |
||||
|
height: 100%; |
||||
|
width: 100%; |
||||
|
background-color: #fff; |
||||
|
color: #222; |
||||
|
border: none; |
||||
|
outline: none; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-input input::placeholder { |
||||
|
color: #ccc; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-input input::-ms-clear { |
||||
|
display: none; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language .toastui-editor-code-block-language-input::after { |
||||
|
content: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTIgMTQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDE0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6IzIyMjIyMjt9Cjwvc3R5bGU+CjxkZXNjPkNyZWF0ZWQgd2l0aCBza2V0Y2h0b29sLjwvZGVzYz4KPGcgaWQ9IlN5bWJvbHMiPgoJPGcgaWQ9ImNvbS10cmFuZ2xlLWQtc2lkZSI+CgkJPHBvbHlnb24gaWQ9IlJlY3RhbmdsZS03IiBjbGFzcz0ic3QwIiBwb2ludHM9IjIsNSAxMCw1IDYsMTAgCQkiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'); |
||||
|
position: absolute; |
||||
|
display: inline-block; |
||||
|
top: 7px; |
||||
|
right: 5px; |
||||
|
width: 12px; |
||||
|
height: 14px; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language.active .toastui-editor-code-block-language-input::after { |
||||
|
content: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTIgMTQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDE0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6IzIyMjIyMjt9Cjwvc3R5bGU+CjxkZXNjPkNyZWF0ZWQgd2l0aCBza2V0Y2h0b29sLjwvZGVzYz4KPGcgaWQ9IlN5bWJvbHMiPgoJPGcgaWQ9ImNvbS10cmFuZ2xlLXVwLXNpZGUiPgoJCTxwb2x5Z29uIGlkPSJSZWN0YW5nbGUtNyIgY2xhc3M9InN0MCIgcG9pbnRzPSIyLDkgMTAsOSA2LDQgCQkiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'); |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-list { |
||||
|
position: fixed; |
||||
|
margin-top: -1px; |
||||
|
width: 144px; |
||||
|
border: solid 1px #ccc; |
||||
|
border-bottom-left-radius: 2px; |
||||
|
border-bottom-right-radius: 2px; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-list .buttons { |
||||
|
max-height: 169px; |
||||
|
overflow: auto; |
||||
|
padding: 0; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-list button { |
||||
|
width: 100%; |
||||
|
background-color: #fff; |
||||
|
border: none; |
||||
|
outline: 0; |
||||
|
padding: 0 10px; |
||||
|
font-size: 13px; |
||||
|
line-height: 24px; |
||||
|
text-align: left; |
||||
|
color: #222; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-list button.active { |
||||
|
color: #4b96e6; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-code-block-language-list button:hover { |
||||
|
background-color: #f4f7f8; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language-input input::placeholder { |
||||
|
color: #eee; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-ww-code-block-highlighting:after { |
||||
|
background-color: #232428; |
||||
|
border: 1px solid #393b42; |
||||
|
color: #eee; |
||||
|
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzAgMzAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMwIDMwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6I2ZmZjt9Cjwvc3R5bGU+CjxnPgoJPGc+CgkJPGc+CgkJCTxnPgoJCQkJPGc+CgkJCQkJPHBhdGggY2xhc3M9InN0MCIgZD0iTTE1LjUsMTIuNWwyLDJMMTIsMjBoLTJ2LTJMMTUuNSwxMi41eiBNMTgsMTBsMiwybC0xLjUsMS41bC0yLTJMMTgsMTB6Ii8+CgkJCQk8L2c+CgkJCTwvZz4KCQk8L2c+Cgk8L2c+CjwvZz4KPC9zdmc+Cg=='); |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language span { |
||||
|
border: 1px solid #494c56; |
||||
|
background-color: #121212; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language input { |
||||
|
background-color: #121212; |
||||
|
color: #eee; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language-list { |
||||
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08); |
||||
|
border: 1px solid #494c56; |
||||
|
border-radius: 2px; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language-list button { |
||||
|
color: #eee; |
||||
|
background-color: #121212; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language-list button.active { |
||||
|
color: #4b96e6; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language-list button:hover { |
||||
|
background-color: #36383f; |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language .toastui-editor-code-block-language-input::after { |
||||
|
content: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTIgMTQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDE0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6I2ZmZjt9Cjwvc3R5bGU+CjxkZXNjPkNyZWF0ZWQgd2l0aCBza2V0Y2h0b29sLjwvZGVzYz4KPGcgaWQ9IlN5bWJvbHMiPgoJPGcgaWQ9ImNvbS10cmFuZ2xlLWQtc2lkZSI+CgkJPHBvbHlnb24gaWQ9IlJlY3RhbmdsZS03IiBjbGFzcz0ic3QwIiBwb2ludHM9IjIsNSAxMCw1IDYsMTAgCQkiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'); |
||||
|
} |
||||
|
|
||||
|
.toastui-editor-dark .toastui-editor-code-block-language.active .toastui-editor-code-block-language-input::after { |
||||
|
content: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuugiOydtOyWtF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiCgkgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTIgMTQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyIDE0OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6I2ZmZjt9Cjwvc3R5bGU+CjxkZXNjPkNyZWF0ZWQgd2l0aCBza2V0Y2h0b29sLjwvZGVzYz4KPGcgaWQ9IlN5bWJvbHMiPgoJPGcgaWQ9ImNvbS10cmFuZ2xlLXVwLXNpZGUiPgoJCTxwb2x5Z29uIGlkPSJSZWN0YW5nbGUtNyIgY2xhc3M9InN0MCIgcG9pbnRzPSIyLDkgMTAsOSA2LDQgCQkiLz4KCTwvZz4KPC9nPgo8L3N2Zz4K'); |
||||
|
} |
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue