第一次提交
5
.env.test
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
NODE_ENV = 'test'
|
||||||
|
VUE_APP_API_VERSION = 'admin'
|
||||||
|
VUE_APP_API_BASEURL = 'https://api.tco211.com/'
|
||||||
|
VUE_APP_SSO_LOGINURL = 'http://dev.uc.f2b211.com/index.php/uc/user/login.html'
|
||||||
|
VUE_APP_SSO_APPID = '20211117000001117'
|
||||||
23
.eslintrc.js
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
module.export = {
|
||||||
|
rout: true,
|
||||||
|
env: {
|
||||||
|
browser: true,
|
||||||
|
node: true
|
||||||
|
},
|
||||||
|
parserOptions: {
|
||||||
|
ecmaVersion: 6,
|
||||||
|
sourceType: "module",
|
||||||
|
parser: 'babel-eslint'
|
||||||
|
},
|
||||||
|
eslintConfig: {
|
||||||
|
"parser": "babel-eslint"
|
||||||
|
},
|
||||||
|
extends: [
|
||||||
|
'plugin:vue/recommended'
|
||||||
|
],
|
||||||
|
plugins: [
|
||||||
|
"prettier"
|
||||||
|
],
|
||||||
|
// 添加自定义规则
|
||||||
|
rules: {}
|
||||||
|
}
|
||||||
28
.gitignore
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
.DS_Store
|
||||||
|
node_modules
|
||||||
|
/dist
|
||||||
|
|
||||||
|
|
||||||
|
# local env files
|
||||||
|
.env.local
|
||||||
|
.env.*.local
|
||||||
|
|
||||||
|
# Log files
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
pnpm-debug.log*
|
||||||
|
|
||||||
|
# Editor directories and files
|
||||||
|
.idea
|
||||||
|
.vscode
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw?
|
||||||
|
.env.development
|
||||||
|
.env.production
|
||||||
|
package-lock.json
|
||||||
|
vue.config
|
||||||
|
/.history
|
||||||
391
README.md
Normal file
@@ -0,0 +1,391 @@
|
|||||||
|
# orico_vue3_demo
|
||||||
|
|
||||||
|
## Project setup
|
||||||
|
```
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
### Compiles and hot-reloads for development
|
||||||
|
```
|
||||||
|
npm run serve
|
||||||
|
```
|
||||||
|
|
||||||
|
### Compiles and minifies for production
|
||||||
|
```
|
||||||
|
npm run build
|
||||||
|
```
|
||||||
|
|
||||||
|
### Lints and fixes files
|
||||||
|
```
|
||||||
|
npm run lint
|
||||||
|
```
|
||||||
|
|
||||||
|
### Customize configuration
|
||||||
|
See [Configuration Reference](https://cli.vuejs.org/config/).
|
||||||
|
|
||||||
|
|
||||||
|
### [vee-validate](https://vee-validate.logaretm.com/v4/) 验证
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>alpha</td>
|
||||||
|
<td>alpha_dash</td>
|
||||||
|
<td>alpha_num</td>
|
||||||
|
<td>alpha_spaces</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>between</td>
|
||||||
|
<td>confirmed</td>
|
||||||
|
<td>dimensions</td>
|
||||||
|
<td>email</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>excluded</td>
|
||||||
|
<td>ext</td>
|
||||||
|
<td>image</td>
|
||||||
|
<td>one_of</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>integer</td>
|
||||||
|
<td>is</td>
|
||||||
|
<td>is_not</td>
|
||||||
|
<td>length</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>max</td>
|
||||||
|
<td>max_value</td>
|
||||||
|
<td>mimes</td>
|
||||||
|
<td>min</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>max</td>
|
||||||
|
<td>max_value</td>
|
||||||
|
<td>mimes</td>
|
||||||
|
<td>min</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>min_value</td>
|
||||||
|
<td>numeric</td>
|
||||||
|
<td>regex</td>
|
||||||
|
<td>required</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>size</td>
|
||||||
|
<td>url</td>
|
||||||
|
<td>mobile</td>
|
||||||
|
<td>tel</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>identify</td>
|
||||||
|
<td>decimal</td>
|
||||||
|
<td>letter_upper</td>
|
||||||
|
<td>letter_lower</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>character_cn</td>
|
||||||
|
<td>zipcode</td>
|
||||||
|
<td>fax</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
>1. alpha:包含字母字符
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="alpha" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ alpha: true }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>2. alpha_dash:包含字母字符、数字、破折号或下划线
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="alpha_dash" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ alpha_dash: true }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>3. alpha_num:包含字母字符或数字
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="alpha_num" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ alpha_num: true }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>4. alpha_spaces:包含字母字符或空格
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="alpha_spaces" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ alpha_spaces: true }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>5. between:字段必须具有由最小值和最大值限定的数值
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="between:1,10" />
|
||||||
|
|
||||||
|
<!-- object format with shorthand array -->
|
||||||
|
<Field name="field" :rules="{ between: [1, 10] }" />
|
||||||
|
|
||||||
|
<!-- object format with named arguments -->
|
||||||
|
<Field name="field" :rules="{ between: { min: 1, max: 10 } }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>6. confirmed:验证的字段必须具有与确认字段相同的值
|
||||||
|
```
|
||||||
|
<Form>
|
||||||
|
<Field name="password" type="password" />
|
||||||
|
|
||||||
|
<Field name="confirmation" type="password" rules="confirmed:@password" />
|
||||||
|
</Form>
|
||||||
|
```
|
||||||
|
|
||||||
|
>7. digits:字段必须是数字并且具有指定的位数
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="digits:3" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ digits: 3 }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>8. dimensions:字段的文件必须是具有确切指定维度的图像(jpg、 svg、 jpeg、 png、 bmp、 gif)。
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" type="file" rules="dimensions:120,120" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ dimensions: [120, 120] }" />
|
||||||
|
|
||||||
|
<!-- object format with named arguments -->
|
||||||
|
<Field name="field" :rules="{ dimensions: { width: 120, height: 120 } }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>9. email:字段必须是有效的电子邮件
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="email" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ email: true }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>10. excluded:正在验证的字段必须有一个不在指定列表中的值
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="excluded:1,3" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ excluded: [1, 3] }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>11. ext:字段的文件必须具有指定的扩展名之一
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="ext:jpg,png" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ ext: ['jpg', 'png'] }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>12. image:验证字段中的文件必须具有图像 mime 类型(image/*)
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="image" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ image: true }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>13. integer:验证下的字段必须是有效的整数值。不接受指数表示法
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="integer" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ integer: true }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>14. is:验证下的字段必须匹配给定的值,并使用严格的相等性
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="is:hello" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ is: 'hello' }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>15. is_not:验证下的字段必须与给定的值不匹配,并使用严格相等
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="is_not:world" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ is_not: 'world' }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>16. length:验证下的字段必须具有指定的项数,只能用于迭代对象,允许的迭代值包括字符串、数组和任何可以与 Array.from 一起使用的对象
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="length:5" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ length: 5 }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>17. max:验证长度下的字段不能超过指定的长度
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="max:10" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ max: 10 }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>18. max_value:正在验证的字段必须是一个数值,并且不能大于指定的值
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="max_value:10" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ max_value: 10 }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>19. mimes:在验证下添加到字段的文件类型应该具有指定的 mime 类型之一
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="mimes:image/jpeg" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ mimes: ['image/jpeg'] }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>20. min:验证长度下的字段不应小于指定的长度
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="min:3" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ min: 3 }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>21. min_value:正在验证的字段必须是一个数值,并且不能小于指定的值
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="min_value:5" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ min_value: 5 }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>22. numeric:正在验证的字段必须只包含数字
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="numeric" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ numeric: true }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>23. one_of:正在验证的字段必须具有指定列表中的值
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="one_of:1,2,3" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ one_of: [1, 2, 3] }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>24. regex:验证下的字段必须与指定的正则表达式匹配
|
||||||
|
```
|
||||||
|
<!-- string format: NOT RECOMMENDED -->
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ regex: /^[0-9]+$/ }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>25. required:正在验证的字段必须有一个非空值。默认情况下,如果验证器具有“空值”,则所有验证器都通过验证,除非它们是必需的。这些空值是空字符串、未定义、 null、 false 和空数组。
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="required" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ required: true }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>26. size:字段的文件大小不得超过指定的大小(单位为千字节)
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" type="file" rules="size:250" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" :rules="{ size: 250 }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>27. url:验证下的字段必须是有效的 url。如果你需要更多的限制,你可以传递一个模式。
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" type="url" rules="url" />
|
||||||
|
|
||||||
|
<!-- object format -->
|
||||||
|
<Field name="field" type="text" :rules="{ url: 'https://.*' }" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>29. mobile:验证是否为手机号
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="mobile" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>30. tel:验证是否为电话
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="tel" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>31. identify:
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="identify" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>32. decimal:验证小数位数
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="decimal:2" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>33. letter_upper:是否为大写字母
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="letter_upper" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>34. letter_lower:是否为小写字母
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="letter_lower" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>35. character_cn:是否为中文字符
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="character_cn" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>36. zipcode:邮政编码格式验证
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="zipcode" />
|
||||||
|
```
|
||||||
|
|
||||||
|
>37. fax:传真格式验证
|
||||||
|
```
|
||||||
|
<!-- string format -->
|
||||||
|
<Field name="field" rules="fax" />
|
||||||
|
```
|
||||||
5
babel.config.js
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
module.exports = {
|
||||||
|
presets: [
|
||||||
|
'@vue/cli-plugin-babel/preset'
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
dist7.3.rar
Normal file
89
package.json
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
{
|
||||||
|
"name": "tco211",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"serve": "vue-cli-service serve --open --mode=development",
|
||||||
|
"build:dev": "vue-cli-service build --mode=development",
|
||||||
|
"build:pro": "vue-cli-service build --mode=production",
|
||||||
|
"build:test": "vue-cli-service build --mode test",
|
||||||
|
"lint": "vue-cli-service lint"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@element-plus/icons": "0.0.11",
|
||||||
|
"@tinymce/tinymce-vue": "^4.0.5",
|
||||||
|
"@vee-validate/i18n": "^4.4.7",
|
||||||
|
"@vee-validate/rules": "^4.4.7",
|
||||||
|
"@vue/composition-api": "^1.7.0",
|
||||||
|
"axios": "^0.21.4",
|
||||||
|
"browser-md5-file": "^1.1.1",
|
||||||
|
"core-js": "^3.17.3",
|
||||||
|
"decimal.js": "^10.4.3",
|
||||||
|
"downloadjs": "^1.4.7",
|
||||||
|
"element-plus": "^1.1.0-beta.9",
|
||||||
|
"exceljs": "^4.3.0",
|
||||||
|
"file-saver": "^2.0.5",
|
||||||
|
"js-md5": "^0.7.3",
|
||||||
|
"jx-orico-com-table": "^0.1.3",
|
||||||
|
"moment": "^2.29.1",
|
||||||
|
"node-sass": "^4.14.1",
|
||||||
|
"script-loader": "^0.7.2",
|
||||||
|
"sortablejs": "^1.14.0",
|
||||||
|
"tinymce": "^5.10.2",
|
||||||
|
"uglifyjs-webpack-plugin": "^2.2.0",
|
||||||
|
"unplugin-vue-components": "^0.15.3",
|
||||||
|
"vee-validate": "^4.4.11",
|
||||||
|
"vue": "^3.2.36",
|
||||||
|
"vue-draggable-next": "^2.1.1",
|
||||||
|
"vue-loader-plugin": "^1.3.0",
|
||||||
|
"vue-router": "^4.0.0-0",
|
||||||
|
"vuex": "^4.0.0-0",
|
||||||
|
"vxe-table": "^4.1.0",
|
||||||
|
"vxe-table-plugin-export-xlsx": "^2.2.1",
|
||||||
|
"xe-utils": "^3.4.0",
|
||||||
|
"xlsx": "^0.17.3"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@vue/cli-plugin-babel": "~4.5.0",
|
||||||
|
"@vue/cli-plugin-router": "~4.5.0",
|
||||||
|
"@vue/cli-plugin-vuex": "~4.5.0",
|
||||||
|
"@vue/cli-service": "~4.5.0",
|
||||||
|
"@vue/compiler-sfc": "^3.2.37",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"babel-plugin-import": "^1.13.3",
|
||||||
|
"compression-webpack-plugin": "^6.1.1",
|
||||||
|
"eslint-plugin-vue": "^7.0.0",
|
||||||
|
"js-cookie": "^3.0.1",
|
||||||
|
"sass-loader": "^8.0.2",
|
||||||
|
"vue-loader": "^17.0.0",
|
||||||
|
"vue-loader-v16": "^16.0.0-beta.5.4",
|
||||||
|
"vue-template-compiler": "^2.7.10"
|
||||||
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"root": true,
|
||||||
|
"env": {
|
||||||
|
"node": true
|
||||||
|
},
|
||||||
|
"extends": [
|
||||||
|
"plugin:vue/essential",
|
||||||
|
"eslint:recommended"
|
||||||
|
],
|
||||||
|
"parserOptions": {
|
||||||
|
"parser": "babel-eslint"
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"vue/html-closing-bracket-spacing": "warn",
|
||||||
|
"vue/html-end-tags": "error",
|
||||||
|
"vue/jsx-uses-vars": "warn",
|
||||||
|
"vue/match-component-file-name": "error",
|
||||||
|
"vue/mustache-interpolation-spacing": "warn",
|
||||||
|
"vue/vue-unused-vars": "off",
|
||||||
|
"vue-unused-vars": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"browserslist": [
|
||||||
|
"> 1%",
|
||||||
|
"last 2 versions",
|
||||||
|
"not dead"
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
public/favicon.ico
Normal file
|
After Width: | Height: | Size: 66 KiB |
101
public/index.html
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||||
|
|
||||||
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||||
|
|
||||||
|
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<noscript>
|
||||||
|
|
||||||
|
<strong>
|
||||||
|
We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please
|
||||||
|
enable it to
|
||||||
|
continue.
|
||||||
|
</strong>
|
||||||
|
|
||||||
|
</noscript>
|
||||||
|
|
||||||
|
<div id="app"></div>
|
||||||
|
|
||||||
|
<!-- built files will be auto injected -->
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function online() {
|
||||||
|
navigator.sendBeacon('https://api.tco211.com/admin/v1/auth/online')
|
||||||
|
}
|
||||||
|
|
||||||
|
function offline() {
|
||||||
|
navigator.sendBeacon('https://api.tco211.com/admin/v1/auth/offline')
|
||||||
|
}
|
||||||
|
window.addEventListener('load', online, true)
|
||||||
|
var ua = window.navigator.userAgent.toLowerCase();
|
||||||
|
var rkn = /\b(opera|chrome|webkit|safari|msie|firefox|gecko|qqbrowser|edg)\b(\s*(version|rv:|\/)*(\d+(\.\d+)*))?/g
|
||||||
|
window.addEventListener('mouseover', function () {
|
||||||
|
window.removeEventListener('beforeunload', offline, true)
|
||||||
|
ua.replace(rkn, function (match,
|
||||||
|
type, all, rv, version) {
|
||||||
|
if (type == 'chrome' && parseInt(version) <= 86) {
|
||||||
|
window.removeEventListener('unload', offline, true)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
window.addEventListener('mouseout', function () {
|
||||||
|
window.addEventListener('beforeunload', offline, true)
|
||||||
|
ua.replace(rkn, function (match,
|
||||||
|
type, all, rv, version) {
|
||||||
|
if (type == 'qqbrowser' || type == 'edg' || (type == 'chrome' && parseInt(version) <= 86)) {
|
||||||
|
window.addEventListener('unload',
|
||||||
|
offline, true)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function online() {
|
||||||
|
navigator.sendBeacon('https://api.tco211.com/admin/v1/auth/online')
|
||||||
|
}
|
||||||
|
|
||||||
|
function offline() {
|
||||||
|
navigator.sendBeacon('https://api.tco211.com/admin/v1/auth/offline')
|
||||||
|
}
|
||||||
|
window.addEventListener('load', online, true);
|
||||||
|
var ua = window.navigator.userAgent.toLowerCase();
|
||||||
|
var rkn = /\b(opera|chrome|webkit|safari|msie|firefox|gecko|qqbrowser|edg)\b(\s*(version|rv:|\/)*(\d+(\.\d+)*))?/g
|
||||||
|
window.addEventListener('mouseover', function () {
|
||||||
|
window.removeEventListener('beforeunload', offline, true)
|
||||||
|
ua.replace(rkn, function (match,
|
||||||
|
type, all, rv, version) {
|
||||||
|
if (type == 'chrome' && parseInt(version) <= 86) {
|
||||||
|
window.removeEventListener('unload', offline, true)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
window.addEventListener('mouseout',
|
||||||
|
function () {
|
||||||
|
window.addEventListener('beforeunload', offline, true)
|
||||||
|
ua.replace(rkn, function (match, type, all, rv,version) {
|
||||||
|
if (type == 'qqbrowser' ||
|
||||||
|
type == 'edg' || (type == 'chrome' && parseInt(version) <= 86)) {
|
||||||
|
window.addEventListener('unload', offline, true)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
</script>
|
||||||
7
public/tinymce/axupimgs/index.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
// Exports the "autosave" plugin for usage with module loaders
|
||||||
|
// Usage:
|
||||||
|
// CommonJS:
|
||||||
|
// require('tinymce/plugins/autosave')
|
||||||
|
// ES2015:
|
||||||
|
// import 'tinymce/plugins/autosave'
|
||||||
|
require('./plugin.js');
|
||||||
BIN
public/tinymce/axupimgs/loading.gif
Normal file
|
After Width: | Height: | Size: 19 KiB |
77
public/tinymce/axupimgs/plugin.js
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
tinymce.PluginManager.add('axupimgs', function (editor, url) {
|
||||||
|
var pluginName = '多图上传';
|
||||||
|
window.axupimgs = {}; //扔外部公共变量,也可以扔一个自定义的位置
|
||||||
|
|
||||||
|
// var baseURL = tinymce.baseURL;
|
||||||
|
// var baseURL = "http://swt.usuc.f2b211.com:8081"
|
||||||
|
// var iframe1 = baseURL + '/plugins/axupimgs/upfiles.html';
|
||||||
|
var iframe1 = '../tinymce/axupimgs/upfiles.html';
|
||||||
|
axupimgs.images_upload_handler = editor.getParam('images_upload_handler', undefined, 'function');
|
||||||
|
axupimgs.images_upload_base_path = editor.getParam('images_upload_base_path', '', 'string');
|
||||||
|
axupimgs.axupimgs_filetype = editor.getParam('axupimgs_filetype', '.png,.gif,.jpg,.jpeg', 'string');
|
||||||
|
axupimgs.res = [];
|
||||||
|
var openDialog = function () {
|
||||||
|
return editor.windowManager.openUrl({
|
||||||
|
title: pluginName,
|
||||||
|
size: 'large',
|
||||||
|
url: iframe1,
|
||||||
|
buttons: [
|
||||||
|
{
|
||||||
|
type: 'cancel',
|
||||||
|
text: 'Close'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'custom',
|
||||||
|
text: 'Save',
|
||||||
|
name: 'save',
|
||||||
|
primary: true
|
||||||
|
},
|
||||||
|
],
|
||||||
|
onAction: function (api, details) {
|
||||||
|
switch (details.name) {
|
||||||
|
case 'save':
|
||||||
|
var html = '';
|
||||||
|
var imgs = axupimgs.res;
|
||||||
|
var len = imgs.length;
|
||||||
|
for (let i = 0; i < len; i++) {
|
||||||
|
if (imgs[i].url) {
|
||||||
|
html += '<img src="' + imgs[i].url + '" />';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
editor.insertContent(html);
|
||||||
|
axupimgs.res = [];
|
||||||
|
api.close();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
editor.ui.registry.getAll().icons.axupimgs || editor.ui.registry.addIcon('axupimgs', '<svg viewBox="0 0 1280 1024" xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M1126.2,779.8V87.6c0-24-22.6-86.9-83.5-86.9H83.5C14.7,0.7,0,63.7,0,87.7v692c0,36.2,29.2,89.7,83.5,89.7l959.3-1.3c51.7,0,83.5-42.5,83.5-88.3zm-1044,4V86.3h961.6V783.7H82.2v0.1z" fill="#53565A"/><path d="M603,461.6L521.1,366.3,313,629.8,227.2,546.8,102.4,716.8H972.8v-170L768.2,235.2,603.1,461.6zM284.6,358.4a105.4,105.4,0,0,0,73.5-30c19.5-19.1,30.3-45,30.2-71.8,0-56.8-45.9-103-102.4-103-56.6,0-102.4,46.1-102.4,103C183.4,313.5,228,358.4,284.6,358.4z" fill="#9598A0"/><path d="M1197.7,153.6l-0.3,669.3s13.5,113.9-67.4,113.9H153.6c0,24.1,23.9,87.2,83.5,87.2h959.3c58.3,0,83.6-49.5,83.6-89.9V240.8c-0.1-41.8-44.9-87.2-82.3-87.2z" fill="#53565A"/></svg>');
|
||||||
|
|
||||||
|
editor.ui.registry.addButton('axupimgs', {
|
||||||
|
icon: 'axupimgs',
|
||||||
|
tooltip: pluginName,
|
||||||
|
onAction: function () {
|
||||||
|
openDialog();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
editor.ui.registry.addMenuItem('axupimgs', {
|
||||||
|
icon: 'axupimgs',
|
||||||
|
text: '图片批量上传...',
|
||||||
|
onAction: function () {
|
||||||
|
openDialog();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
getMetadata: function () {
|
||||||
|
return {
|
||||||
|
name: pluginName,
|
||||||
|
url: "http://tinymce.ax-z.cn/more-plugins/axupimgs.php",
|
||||||
|
};
|
||||||
|
}
|
||||||
|
};
|
||||||
|
});
|
||||||
75
public/tinymce/axupimgs/plugin.min.js
vendored
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
tinymce.PluginManager.add('axupimgs', function(editor, url) {
|
||||||
|
var pluginName='Ax多图片上传';
|
||||||
|
window.axupimgs={}; //扔外部公共变量,也可以扔一个自定义的位置
|
||||||
|
|
||||||
|
var baseURL=tinymce.baseURL;
|
||||||
|
var iframe1 = baseURL+'/plugins/axupimgs/upfiles.html';
|
||||||
|
axupimgs.images_upload_handler = editor.getParam('images_upload_handler', undefined, 'function');
|
||||||
|
axupimgs.images_upload_base_path = editor.getParam('images_upload_base_path', '', 'string');
|
||||||
|
axupimgs.axupimgs_filetype = editor.getParam('axupimgs_filetype', '.png,.gif,.jpg,.jpeg', 'string');
|
||||||
|
axupimgs.res=[];
|
||||||
|
var openDialog = function() {
|
||||||
|
return editor.windowManager.openUrl({
|
||||||
|
title: pluginName,
|
||||||
|
size: 'large',
|
||||||
|
url:iframe1,
|
||||||
|
buttons: [
|
||||||
|
{
|
||||||
|
type: 'cancel',
|
||||||
|
text: 'Close'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'custom',
|
||||||
|
text: 'Save',
|
||||||
|
name: 'save',
|
||||||
|
primary: true
|
||||||
|
},
|
||||||
|
],
|
||||||
|
onAction: function (api, details) {
|
||||||
|
switch (details.name) {
|
||||||
|
case 'save':
|
||||||
|
var html = '';
|
||||||
|
var imgs = axupimgs.res;
|
||||||
|
var len = imgs.length;
|
||||||
|
for(let i=0;i<len;i++){
|
||||||
|
if( imgs[i].url ){
|
||||||
|
html += '<img src="'+imgs[i].url+'" />';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
editor.insertContent(html);
|
||||||
|
axupimgs.res=[];
|
||||||
|
api.close();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
editor.ui.registry.getAll().icons.axupimgs || editor.ui.registry.addIcon('axupimgs','<svg viewBox="0 0 1280 1024" xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M1126.2,779.8V87.6c0-24-22.6-86.9-83.5-86.9H83.5C14.7,0.7,0,63.7,0,87.7v692c0,36.2,29.2,89.7,83.5,89.7l959.3-1.3c51.7,0,83.5-42.5,83.5-88.3zm-1044,4V86.3h961.6V783.7H82.2v0.1z" fill="#53565A"/><path d="M603,461.6L521.1,366.3,313,629.8,227.2,546.8,102.4,716.8H972.8v-170L768.2,235.2,603.1,461.6zM284.6,358.4a105.4,105.4,0,0,0,73.5-30c19.5-19.1,30.3-45,30.2-71.8,0-56.8-45.9-103-102.4-103-56.6,0-102.4,46.1-102.4,103C183.4,313.5,228,358.4,284.6,358.4z" fill="#9598A0"/><path d="M1197.7,153.6l-0.3,669.3s13.5,113.9-67.4,113.9H153.6c0,24.1,23.9,87.2,83.5,87.2h959.3c58.3,0,83.6-49.5,83.6-89.9V240.8c-0.1-41.8-44.9-87.2-82.3-87.2z" fill="#53565A"/></svg>');
|
||||||
|
|
||||||
|
editor.ui.registry.addButton('axupimgs', {
|
||||||
|
icon: 'axupimgs',
|
||||||
|
tooltip: pluginName,
|
||||||
|
onAction: function() {
|
||||||
|
openDialog();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
editor.ui.registry.addMenuItem('axupimgs', {
|
||||||
|
icon: 'axupimgs',
|
||||||
|
text: '图片批量上传...',
|
||||||
|
onAction: function() {
|
||||||
|
openDialog();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
getMetadata: function() {
|
||||||
|
return {
|
||||||
|
name: pluginName,
|
||||||
|
url: "http://tinymce.ax-z.cn/more-plugins/axupimgs.php",
|
||||||
|
};
|
||||||
|
}
|
||||||
|
};
|
||||||
|
});
|
||||||
203
public/tinymce/axupimgs/upfiles.html
Normal file
@@ -0,0 +1,203 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<title>axupimgs</title>
|
||||||
|
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||||
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
||||||
|
<meta name="format-detection" content="telephone=no">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||||
|
<style>
|
||||||
|
html,body{height:100%;margin:0;padding:0;background:#fff;}
|
||||||
|
ul{margin:0;padding:0;list-style:none;}
|
||||||
|
#wrap{padding:10px;}
|
||||||
|
#topbar{padding:10px 0;border-bottom:1px solid #ccc;text-align:right;}
|
||||||
|
#topbar button {margin:0;margin-left:5px;outline:none;padding: 4px 16px;box-sizing: border-box;
|
||||||
|
display:inline-block;border:none;border-radius:3px;text-align:center;cursor:pointer;
|
||||||
|
font-size:14px;line-height:1.5;background-color:#f0f0f0;color:#223;
|
||||||
|
}
|
||||||
|
#topbar button.primary{background-color:#3d97d4;color:#fff;}
|
||||||
|
#topbar button:hover{background-color:#207ab7;color:#fff;}
|
||||||
|
#topbar button.removeall{float:left}
|
||||||
|
#file_list {display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));padding-top:10px;}
|
||||||
|
#file_list:empty:after{content:'可以直接拖拽文件到这里';color:#777;font-size:0.8em;}
|
||||||
|
#file_list li{position:relative;display:block;vertical-align:top;padding:5px 5px;border-radius:5px;}
|
||||||
|
#file_list li.up-over {}
|
||||||
|
#file_list li.up-now {}
|
||||||
|
#file_list li.up-now:after{content:'';position:absolute;top:0;left:0;display:block;width:100%;height:100%;background:rgba(255,255,255,0.8) url(loading.gif) center center no-repeat;border-radius:5px;z-index:999;}
|
||||||
|
#file_list li:hover{background-color:#ddd;}
|
||||||
|
#file_list li .picbox {display:flex;flex:0 0 auto;justify-content:center;overflow:hidden;position:relative;width:100%;padding-top:100%;align-items:center;}
|
||||||
|
#file_list li .picbox img {display:block;max-width:100%;max-height:100%;position:absolute;
|
||||||
|
top:50%;left:50%;transform:translateX(-50%) translateY(-50%);}
|
||||||
|
#file_list li.up-over .picbox:after{content:url('data:image/svg+xml;%20charset=utf8,%3Csvg%20viewBox%3D%220%200%201024%201024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M512%200C229.376%200%200%20229.376%200%20512s229.376%20512%20512%20512%20512-229.376%20512-512S794.624%200%20512%200z%22%20fill%3D%22%234AC711%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M855.552%20394.752l-358.4%20358.4a50.9952%2050.9952%200%200%201-72.192%200l-204.8-204.8c-18.944-19.968-18.944-51.2%200-71.168a50.5344%2050.5344%200%200%201%2072.192-1.024L460.8%20644.608l322.048-322.048c19.968-18.944%2051.2-18.944%2071.168%200%2020.48%2019.456%2020.992%2051.712%201.536%2072.192z%22%20fill%3D%22%23FFFFFF%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E');position:absolute;bottom:2px;right:2px;z-index:9;}
|
||||||
|
#file_list li .tools {display:none;position:absolute;bottom:5px;right:5px;z-index:99;}
|
||||||
|
#file_list li:hover .tools {display:block;}
|
||||||
|
#file_list li .tools .remove{cursor:pointer;}
|
||||||
|
#file_list li .tools .remove:after{content:url('data:image/svg+xml;%20charset=utf8,%3Csvg%20width=%2224%22%20height=%2224%22%20viewBox=%220%200%2024%2024%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M17%206h3a1%201%200%200%201%200%202h-1v11a3%203%200%200%201-3%203H8a3%203%200%200%201-3-3V8H4a1%201%200%201%201%200-2h3V5a3%203%200%200%201%203-3h4a3%203%200%200%201%203%203v1zm-2%200V5a1%201%200%200%200-1-1h-4a1%201%200%200%200-1%201v1h6zm2%202H7v11a1%201%200%200%200%201%201h8a1%201%200%200%200%201-1V8zm-8%203a1%201%200%200%201%202%200v6a1%201%200%200%201-2%200v-6zm4%200a1%201%200%200%201%202%200v6a1%201%200%200%201-2%200v-6z%22%3E%3C/path%3E%3C/svg%3E');}
|
||||||
|
#file_list li .namebox {font-size:14px;line-height:20px;max-height:40px;overflow:hidden;padding:5px 10px;text-align:center;display:flex;justify-content:center;align-items:flex-start;}
|
||||||
|
#file_list li .namebox span{word-break:break-all;vertical-align:top;}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="wrap">
|
||||||
|
<div id="topbar"><button class="addfile primary">+ 添加文件</button><button class="upall primary">全部上传</button><button class="removeall">清空列表</button></div>
|
||||||
|
<ul id="file_list"></ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var editor=parent.tinymce.activeEditor;
|
||||||
|
var axupimgs=parent.axupimgs;
|
||||||
|
axupimgs.res = []; //存放本地文件的数组
|
||||||
|
var blobInfo = {file:null}
|
||||||
|
blobInfo.blob = function(){return this.file;}
|
||||||
|
var upload_handler = axupimgs.images_upload_handler;
|
||||||
|
var upload_base_path = axupimgs.images_upload_base_path;
|
||||||
|
|
||||||
|
//为列表添加排序
|
||||||
|
function reSort(){
|
||||||
|
document.querySelectorAll('#file_list li').forEach((el,i)=>{
|
||||||
|
el.setAttribute('data-num',i);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function addList(files){
|
||||||
|
var files_sum = files.length;
|
||||||
|
var vDom = document.createDocumentFragment();
|
||||||
|
for(let i=0;i<files_sum;i++){
|
||||||
|
let file = files[i];
|
||||||
|
let blobUrl = window.URL.createObjectURL(file)
|
||||||
|
axupimgs.res.push({file:file,blobUrl:blobUrl,url:''});
|
||||||
|
let li = document.createElement('li');
|
||||||
|
li.setAttribute('class','up-no');
|
||||||
|
li.setAttribute('data-time',file.lastModified);
|
||||||
|
li.innerHTML='<div class="picbox"><img src="'+blobUrl+'"></div><div class="namebox"><span>'+file.name+'</span></div><div class="tools"><a class="remove"></a></div>';
|
||||||
|
vDom.appendChild(li);
|
||||||
|
}
|
||||||
|
document.querySelector('#file_list').appendChild(vDom);
|
||||||
|
//reSort();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//清空列表
|
||||||
|
document.querySelector('#topbar .removeall').addEventListener('click',()=>{
|
||||||
|
axupimgs.res=[]
|
||||||
|
document.querySelectorAll('#file_list li').forEach((el,i)=>{
|
||||||
|
el.parentNode.removeChild(el)
|
||||||
|
});
|
||||||
|
});
|
||||||
|
//拖拽添加
|
||||||
|
document.addEventListener('dragover', (e)=>{
|
||||||
|
e.stopPropagation();
|
||||||
|
e.preventDefault();
|
||||||
|
e.dataTransfer.dropEffect = 'copy';
|
||||||
|
});
|
||||||
|
document.addEventListener('drop', (e)=>{
|
||||||
|
e.stopPropagation();
|
||||||
|
e.preventDefault();
|
||||||
|
if(!e.dataTransfer.files){return false;}
|
||||||
|
var dropfiles = e.dataTransfer.files;
|
||||||
|
if(!(dropfiles.length>0)){return false;}
|
||||||
|
var exts=axupimgs.axupimgs_filetype.replace(/(\s)+/g,'').toLowerCase().split(',');
|
||||||
|
var files=[];
|
||||||
|
for( let file of dropfiles ){
|
||||||
|
ext = file.name.split('.');
|
||||||
|
ext = '.'+ext[ext.length-1];
|
||||||
|
for(let s of exts){
|
||||||
|
if(s==ext){
|
||||||
|
files.push(file);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(files.length>0){ addList(files) }
|
||||||
|
});
|
||||||
|
|
||||||
|
//添加文件
|
||||||
|
document.querySelector('#topbar .addfile').addEventListener('click',()=>{
|
||||||
|
var input = document.createElement('input');
|
||||||
|
input.setAttribute('type', 'file');
|
||||||
|
input.setAttribute('multiple', 'multiple');
|
||||||
|
input.setAttribute('accept', axupimgs.axupimgs_filetype);
|
||||||
|
input.click();
|
||||||
|
input.onchange = function() {
|
||||||
|
var files = this.files;
|
||||||
|
addList(files);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
var file_i = 0;
|
||||||
|
|
||||||
|
function upAllFiles(n){
|
||||||
|
var len = axupimgs.res.length;
|
||||||
|
file_i = n;
|
||||||
|
if(len == n){
|
||||||
|
file_i=0;
|
||||||
|
document.querySelector('#topbar .upall').innerText='全部上传';
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if( axupimgs.res[n].url!='' ){
|
||||||
|
n++;
|
||||||
|
upAllFiles(n)
|
||||||
|
}else{
|
||||||
|
blobInfo.file=axupimgs.res[n].file;
|
||||||
|
upload_handler(blobInfo,function(url){
|
||||||
|
if(upload_base_path){
|
||||||
|
|
||||||
|
if(upload_base_path.slice(-1)=='/' && url.substr(0,1)=='/' ){
|
||||||
|
url = upload_base_path + url.slice(1);
|
||||||
|
}else if(upload_base_path.slice(-1)!='/' && url.substr(0,1)!='/' ){
|
||||||
|
url = upload_base_path + '/' + url;
|
||||||
|
}else{
|
||||||
|
url = upload_base_path + url;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
axupimgs.res[file_i].url = url;
|
||||||
|
filename = url.split('/').pop();
|
||||||
|
var li = document.querySelectorAll('#file_list li')[file_i];
|
||||||
|
li.setAttribute('class','up-over');
|
||||||
|
li.querySelector('.namebox span').innerText = filename;
|
||||||
|
n++
|
||||||
|
upAllFiles(n);
|
||||||
|
},function(err){
|
||||||
|
document.querySelector('#topbar .upall').innerText='全部上传';
|
||||||
|
document.querySelectorAll('#file_list li.up-now').forEach((el,i)=>{
|
||||||
|
el.setAttribute('class','up-no');
|
||||||
|
});
|
||||||
|
alert(err);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
document.querySelector('#topbar .upall').addEventListener('click',(e)=>{
|
||||||
|
if(e.target.innerText!='全部上传'){return false;}
|
||||||
|
if(axupimgs.res.length>0){
|
||||||
|
document.querySelectorAll('#file_list li.up-no').forEach((el,i)=>{
|
||||||
|
el.classList ? el.classList.add('up-now') : el.className+=' up-now';
|
||||||
|
});
|
||||||
|
e.target.innerText='上传中...';
|
||||||
|
upAllFiles(0);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
var observ_flist = new MutationObserver( (muList,observe)=>{
|
||||||
|
if(muList[0].addedNodes.length>0){
|
||||||
|
muList[0].addedNodes.forEach((el)=>{
|
||||||
|
el.querySelector('.remove').addEventListener('click',(e)=>{
|
||||||
|
var li = e.target.parentNode.parentNode;
|
||||||
|
var n = li.getAttribute('data-num');
|
||||||
|
var el = document.querySelectorAll('#file_list li')[n];
|
||||||
|
el.parentNode.removeChild(el);
|
||||||
|
axupimgs.res.splice(n,1);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
reSort();
|
||||||
|
});
|
||||||
|
observ_flist.observe(document.querySelector('#file_list'),{childList:true});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
462
public/tinymce/langs/zh_CN.js
Normal file
@@ -0,0 +1,462 @@
|
|||||||
|
tinymce.addI18n('zh_CN',{
|
||||||
|
"Redo": "\u91cd\u505a",
|
||||||
|
"Undo": "\u64a4\u9500",
|
||||||
|
"Cut": "\u526a\u5207",
|
||||||
|
"Copy": "\u590d\u5236",
|
||||||
|
"Paste": "\u7c98\u8d34",
|
||||||
|
"Select all": "\u5168\u9009",
|
||||||
|
"New document": "\u65b0\u6587\u4ef6",
|
||||||
|
"Ok": "\u786e\u5b9a",
|
||||||
|
"Cancel": "\u53d6\u6d88",
|
||||||
|
"Visual aids": "\u7f51\u683c\u7ebf",
|
||||||
|
"Bold": "\u7c97\u4f53",
|
||||||
|
"Italic": "\u659c\u4f53",
|
||||||
|
"Underline": "\u4e0b\u5212\u7ebf",
|
||||||
|
"Strikethrough": "\u5220\u9664\u7ebf",
|
||||||
|
"Superscript": "\u4e0a\u6807",
|
||||||
|
"Subscript": "\u4e0b\u6807",
|
||||||
|
"Clear formatting": "\u6e05\u9664\u683c\u5f0f",
|
||||||
|
"Align left": "\u5de6\u8fb9\u5bf9\u9f50",
|
||||||
|
"Align center": "\u4e2d\u95f4\u5bf9\u9f50",
|
||||||
|
"Align right": "\u53f3\u8fb9\u5bf9\u9f50",
|
||||||
|
"Justify": "\u4e24\u7aef\u5bf9\u9f50",
|
||||||
|
"Bullet list": "\u9879\u76ee\u7b26\u53f7",
|
||||||
|
"Numbered list": "\u7f16\u53f7\u5217\u8868",
|
||||||
|
"Decrease indent": "\u51cf\u5c11\u7f29\u8fdb",
|
||||||
|
"Increase indent": "\u589e\u52a0\u7f29\u8fdb",
|
||||||
|
"Close": "\u5173\u95ed",
|
||||||
|
"Formats": "\u683c\u5f0f",
|
||||||
|
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "\u4f60\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u6253\u5f00\u526a\u8d34\u677f\uff0c\u8bf7\u4f7f\u7528Ctrl+X\/C\/V\u7b49\u5feb\u6377\u952e\u3002",
|
||||||
|
"Headers": "\u6807\u9898",
|
||||||
|
"Header 1": "\u6807\u98981",
|
||||||
|
"Header 2": "\u6807\u98982",
|
||||||
|
"Header 3": "\u6807\u98983",
|
||||||
|
"Header 4": "\u6807\u98984",
|
||||||
|
"Header 5": "\u6807\u98985",
|
||||||
|
"Header 6": "\u6807\u98986",
|
||||||
|
"Headings": "\u6807\u9898",
|
||||||
|
"Heading 1": "\u6807\u98981",
|
||||||
|
"Heading 2": "\u6807\u98982",
|
||||||
|
"Heading 3": "\u6807\u98983",
|
||||||
|
"Heading 4": "\u6807\u98984",
|
||||||
|
"Heading 5": "\u6807\u98985",
|
||||||
|
"Heading 6": "\u6807\u98986",
|
||||||
|
"Preformatted": "\u9884\u5148\u683c\u5f0f\u5316\u7684",
|
||||||
|
"Div": "Div",
|
||||||
|
"Pre": "Pre",
|
||||||
|
"Code": "\u4ee3\u7801",
|
||||||
|
"Paragraph": "\u6bb5\u843d",
|
||||||
|
"Blockquote": "\u5f15\u6587\u533a\u5757",
|
||||||
|
"Inline": "\u6587\u672c",
|
||||||
|
"Blocks": "\u57fa\u5757",
|
||||||
|
"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "\u5f53\u524d\u4e3a\u7eaf\u6587\u672c\u7c98\u8d34\u6a21\u5f0f\uff0c\u518d\u6b21\u70b9\u51fb\u53ef\u4ee5\u56de\u5230\u666e\u901a\u7c98\u8d34\u6a21\u5f0f\u3002",
|
||||||
|
"Fonts": "\u5b57\u4f53",
|
||||||
|
"Font Sizes": "\u5b57\u53f7",
|
||||||
|
"Class": "\u7c7b\u578b",
|
||||||
|
"Browse for an image": "\u6d4f\u89c8\u56fe\u50cf",
|
||||||
|
"OR": "\u6216",
|
||||||
|
"Drop an image here": "\u62d6\u653e\u4e00\u5f20\u56fe\u50cf\u81f3\u6b64",
|
||||||
|
"Upload": "\u4e0a\u4f20",
|
||||||
|
"Block": "\u5757",
|
||||||
|
"Align": "\u5bf9\u9f50",
|
||||||
|
"Default": "\u9ed8\u8ba4",
|
||||||
|
"Circle": "\u7a7a\u5fc3\u5706",
|
||||||
|
"Disc": "\u5b9e\u5fc3\u5706",
|
||||||
|
"Square": "\u65b9\u5757",
|
||||||
|
"Lower Alpha": "\u5c0f\u5199\u82f1\u6587\u5b57\u6bcd",
|
||||||
|
"Lower Greek": "\u5c0f\u5199\u5e0c\u814a\u5b57\u6bcd",
|
||||||
|
"Lower Roman": "\u5c0f\u5199\u7f57\u9a6c\u5b57\u6bcd",
|
||||||
|
"Upper Alpha": "\u5927\u5199\u82f1\u6587\u5b57\u6bcd",
|
||||||
|
"Upper Roman": "\u5927\u5199\u7f57\u9a6c\u5b57\u6bcd",
|
||||||
|
"Anchor...": "\u951a\u70b9...",
|
||||||
|
"Name": "\u540d\u79f0",
|
||||||
|
"Id": "\u6807\u8bc6\u7b26",
|
||||||
|
"Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "\u6807\u8bc6\u7b26\u5e94\u8be5\u4ee5\u5b57\u6bcd\u5f00\u5934\uff0c\u540e\u8ddf\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u7834\u6298\u53f7\u3001\u70b9\u3001\u5192\u53f7\u6216\u4e0b\u5212\u7ebf\u3002",
|
||||||
|
"You have unsaved changes are you sure you want to navigate away?": "\u4f60\u8fd8\u6709\u6587\u6863\u5c1a\u672a\u4fdd\u5b58\uff0c\u786e\u5b9a\u8981\u79bb\u5f00\uff1f",
|
||||||
|
"Restore last draft": "\u6062\u590d\u4e0a\u6b21\u7684\u8349\u7a3f",
|
||||||
|
"Special character...": "\u7279\u6b8a\u5b57\u7b26...",
|
||||||
|
"Source code": "\u6e90\u4ee3\u7801",
|
||||||
|
"Insert\/Edit code sample": "\u63d2\u5165\/\u7f16\u8f91\u4ee3\u7801\u793a\u4f8b",
|
||||||
|
"Language": "\u8bed\u8a00",
|
||||||
|
"Code sample...": "\u793a\u4f8b\u4ee3\u7801...",
|
||||||
|
"Color Picker": "\u9009\u8272\u5668",
|
||||||
|
"R": "R",
|
||||||
|
"G": "G",
|
||||||
|
"B": "B",
|
||||||
|
"Left to right": "\u4ece\u5de6\u5230\u53f3",
|
||||||
|
"Right to left": "\u4ece\u53f3\u5230\u5de6",
|
||||||
|
"Emoticons": "\u8868\u60c5",
|
||||||
|
"Emoticons...": "\u8868\u60c5\u7b26\u53f7...",
|
||||||
|
"Metadata and Document Properties": "\u5143\u6570\u636e\u548c\u6587\u6863\u5c5e\u6027",
|
||||||
|
"Title": "\u6807\u9898",
|
||||||
|
"Keywords": "\u5173\u952e\u8bcd",
|
||||||
|
"Description": "\u63cf\u8ff0",
|
||||||
|
"Robots": "\u673a\u5668\u4eba",
|
||||||
|
"Author": "\u4f5c\u8005",
|
||||||
|
"Encoding": "\u7f16\u7801",
|
||||||
|
"Fullscreen": "\u5168\u5c4f",
|
||||||
|
"Action": "\u64cd\u4f5c",
|
||||||
|
"Shortcut": "\u5feb\u6377\u952e",
|
||||||
|
"Help": "\u5e2e\u52a9",
|
||||||
|
"Address": "\u5730\u5740",
|
||||||
|
"Focus to menubar": "\u79fb\u52a8\u7126\u70b9\u5230\u83dc\u5355\u680f",
|
||||||
|
"Focus to toolbar": "\u79fb\u52a8\u7126\u70b9\u5230\u5de5\u5177\u680f",
|
||||||
|
"Focus to element path": "\u79fb\u52a8\u7126\u70b9\u5230\u5143\u7d20\u8def\u5f84",
|
||||||
|
"Focus to contextual toolbar": "\u79fb\u52a8\u7126\u70b9\u5230\u4e0a\u4e0b\u6587\u83dc\u5355",
|
||||||
|
"Insert link (if link plugin activated)": "\u63d2\u5165\u94fe\u63a5 (\u5982\u679c\u94fe\u63a5\u63d2\u4ef6\u5df2\u6fc0\u6d3b)",
|
||||||
|
"Save (if save plugin activated)": "\u4fdd\u5b58(\u5982\u679c\u4fdd\u5b58\u63d2\u4ef6\u5df2\u6fc0\u6d3b)",
|
||||||
|
"Find (if searchreplace plugin activated)": "\u67e5\u627e(\u5982\u679c\u67e5\u627e\u66ff\u6362\u63d2\u4ef6\u5df2\u6fc0\u6d3b)",
|
||||||
|
"Plugins installed ({0}):": "\u5df2\u5b89\u88c5\u63d2\u4ef6 ({0}):",
|
||||||
|
"Premium plugins:": "\u4f18\u79c0\u63d2\u4ef6\uff1a",
|
||||||
|
"Learn more...": "\u4e86\u89e3\u66f4\u591a...",
|
||||||
|
"You are using {0}": "\u4f60\u6b63\u5728\u4f7f\u7528 {0}",
|
||||||
|
"Plugins": "\u63d2\u4ef6",
|
||||||
|
"Handy Shortcuts": "\u5feb\u6377\u952e",
|
||||||
|
"Horizontal line": "\u6c34\u5e73\u5206\u5272\u7ebf",
|
||||||
|
"Insert\/edit image": "\u63d2\u5165\/\u7f16\u8f91\u56fe\u7247",
|
||||||
|
"Alternative description": "\u66ff\u4ee3\u63cf\u8ff0",
|
||||||
|
"Accessibility": "\u8f85\u52a9\u529f\u80fd",
|
||||||
|
"Image is decorative": "\u56fe\u50cf\u662f\u88c5\u9970\u6027\u7684",
|
||||||
|
"Source": "\u5730\u5740",
|
||||||
|
"Dimensions": "\u5927\u5c0f",
|
||||||
|
"Constrain proportions": "\u4fdd\u6301\u7eb5\u6a2a\u6bd4",
|
||||||
|
"General": "\u666e\u901a",
|
||||||
|
"Advanced": "\u9ad8\u7ea7",
|
||||||
|
"Style": "\u6837\u5f0f",
|
||||||
|
"Vertical space": "\u5782\u76f4\u8fb9\u8ddd",
|
||||||
|
"Horizontal space": "\u6c34\u5e73\u8fb9\u8ddd",
|
||||||
|
"Border": "\u8fb9\u6846",
|
||||||
|
"Insert image": "\u63d2\u5165\u56fe\u7247",
|
||||||
|
"Image...": "\u56fe\u7247...",
|
||||||
|
"Image list": "\u56fe\u7247\u5217\u8868",
|
||||||
|
"Rotate counterclockwise": "\u9006\u65f6\u9488\u65cb\u8f6c",
|
||||||
|
"Rotate clockwise": "\u987a\u65f6\u9488\u65cb\u8f6c",
|
||||||
|
"Flip vertically": "\u5782\u76f4\u7ffb\u8f6c",
|
||||||
|
"Flip horizontally": "\u6c34\u5e73\u7ffb\u8f6c",
|
||||||
|
"Edit image": "\u7f16\u8f91\u56fe\u7247",
|
||||||
|
"Image options": "\u56fe\u7247\u9009\u9879",
|
||||||
|
"Zoom in": "\u653e\u5927",
|
||||||
|
"Zoom out": "\u7f29\u5c0f",
|
||||||
|
"Crop": "\u88c1\u526a",
|
||||||
|
"Resize": "\u8c03\u6574\u5927\u5c0f",
|
||||||
|
"Orientation": "\u65b9\u5411",
|
||||||
|
"Brightness": "\u4eae\u5ea6",
|
||||||
|
"Sharpen": "\u9510\u5316",
|
||||||
|
"Contrast": "\u5bf9\u6bd4\u5ea6",
|
||||||
|
"Color levels": "\u989c\u8272\u5c42\u6b21",
|
||||||
|
"Gamma": "\u4f3d\u9a6c\u503c",
|
||||||
|
"Invert": "\u53cd\u8f6c",
|
||||||
|
"Apply": "\u5e94\u7528",
|
||||||
|
"Back": "\u540e\u9000",
|
||||||
|
"Insert date\/time": "\u63d2\u5165\u65e5\u671f\/\u65f6\u95f4",
|
||||||
|
"Date\/time": "\u65e5\u671f\/\u65f6\u95f4",
|
||||||
|
"Insert\/edit link": "\u63d2\u5165\/\u7f16\u8f91\u94fe\u63a5",
|
||||||
|
"Text to display": "\u663e\u793a\u6587\u5b57",
|
||||||
|
"Url": "\u5730\u5740",
|
||||||
|
"Open link in...": "\u94fe\u63a5\u6253\u5f00\u4f4d\u7f6e...",
|
||||||
|
"Current window": "\u5f53\u524d\u7a97\u53e3",
|
||||||
|
"None": "\u65e0",
|
||||||
|
"New window": "\u5728\u65b0\u7a97\u53e3\u6253\u5f00",
|
||||||
|
"Open link": "\u6253\u5f00\u94fe\u63a5",
|
||||||
|
"Remove link": "\u5220\u9664\u94fe\u63a5",
|
||||||
|
"Anchors": "\u951a\u70b9",
|
||||||
|
"Link...": "\u94fe\u63a5...",
|
||||||
|
"Paste or type a link": "\u7c98\u8d34\u6216\u8f93\u5165\u94fe\u63a5",
|
||||||
|
"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u4e3a\u90ae\u4ef6\u5730\u5740\uff0c\u9700\u8981\u52a0\u4e0amailto:\u524d\u7f00\u5417\uff1f",
|
||||||
|
"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u5c5e\u4e8e\u5916\u90e8\u94fe\u63a5\uff0c\u9700\u8981\u52a0\u4e0ahttp:\/\/:\u524d\u7f00\u5417\uff1f",
|
||||||
|
"The URL you entered seems to be an external link. Do you want to add the required https:\/\/ prefix?": "\u60a8\u8f93\u5165\u7684 URL \u4f3c\u4e4e\u662f\u4e00\u4e2a\u5916\u90e8\u94fe\u63a5\u3002\u60a8\u60f3\u6dfb\u52a0\u6240\u9700\u7684 https:\/\/ \u524d\u7f00\u5417\uff1f",
|
||||||
|
"Link list": "\u94fe\u63a5\u5217\u8868",
|
||||||
|
"Insert video": "\u63d2\u5165\u89c6\u9891",
|
||||||
|
"Insert\/edit video": "\u63d2\u5165\/\u7f16\u8f91\u89c6\u9891",
|
||||||
|
"Insert\/edit media": "\u63d2\u5165\/\u7f16\u8f91\u5a92\u4f53",
|
||||||
|
"Alternative source": "\u955c\u50cf",
|
||||||
|
"Alternative source URL": "\u66ff\u4ee3\u6765\u6e90\u7f51\u5740",
|
||||||
|
"Media poster (Image URL)": "\u5c01\u9762(\u56fe\u7247\u5730\u5740)",
|
||||||
|
"Paste your embed code below:": "\u5c06\u5185\u5d4c\u4ee3\u7801\u7c98\u8d34\u5728\u4e0b\u9762:",
|
||||||
|
"Embed": "\u5185\u5d4c",
|
||||||
|
"Media...": "\u591a\u5a92\u4f53...",
|
||||||
|
"Nonbreaking space": "\u4e0d\u95f4\u65ad\u7a7a\u683c",
|
||||||
|
"Page break": "\u5206\u9875\u7b26",
|
||||||
|
"Paste as text": "\u7c98\u8d34\u4e3a\u6587\u672c",
|
||||||
|
"Preview": "\u9884\u89c8",
|
||||||
|
"Print...": "\u6253\u5370...",
|
||||||
|
"Save": "\u4fdd\u5b58",
|
||||||
|
"Find": "\u67e5\u627e",
|
||||||
|
"Replace with": "\u66ff\u6362\u4e3a",
|
||||||
|
"Replace": "\u66ff\u6362",
|
||||||
|
"Replace all": "\u5168\u90e8\u66ff\u6362",
|
||||||
|
"Previous": "\u4e0a\u4e00\u4e2a",
|
||||||
|
"Next": "\u4e0b\u4e00\u4e2a",
|
||||||
|
"Find and Replace": "\u67e5\u627e\u548c\u66ff\u6362",
|
||||||
|
"Find and replace...": "\u67e5\u627e\u5e76\u66ff\u6362...",
|
||||||
|
"Could not find the specified string.": "\u672a\u627e\u5230\u641c\u7d22\u5185\u5bb9.",
|
||||||
|
"Match case": "\u533a\u5206\u5927\u5c0f\u5199",
|
||||||
|
"Find whole words only": "\u5168\u5b57\u5339\u914d",
|
||||||
|
"Find in selection": "\u5728\u9009\u533a\u4e2d\u67e5\u627e",
|
||||||
|
"Spellcheck": "\u62fc\u5199\u68c0\u67e5",
|
||||||
|
"Spellcheck Language": "\u62fc\u5199\u68c0\u67e5\u8bed\u8a00",
|
||||||
|
"No misspellings found.": "\u6ca1\u6709\u53d1\u73b0\u62fc\u5199\u9519\u8bef",
|
||||||
|
"Ignore": "\u5ffd\u7565",
|
||||||
|
"Ignore all": "\u5168\u90e8\u5ffd\u7565",
|
||||||
|
"Finish": "\u5b8c\u6210",
|
||||||
|
"Add to Dictionary": "\u6dfb\u52a0\u5230\u5b57\u5178",
|
||||||
|
"Insert table": "\u63d2\u5165\u8868\u683c",
|
||||||
|
"Table properties": "\u8868\u683c\u5c5e\u6027",
|
||||||
|
"Delete table": "\u5220\u9664\u8868\u683c",
|
||||||
|
"Cell": "\u5355\u5143\u683c",
|
||||||
|
"Row": "\u884c",
|
||||||
|
"Column": "\u5217",
|
||||||
|
"Cell properties": "\u5355\u5143\u683c\u5c5e\u6027",
|
||||||
|
"Merge cells": "\u5408\u5e76\u5355\u5143\u683c",
|
||||||
|
"Split cell": "\u62c6\u5206\u5355\u5143\u683c",
|
||||||
|
"Insert row before": "\u5728\u4e0a\u65b9\u63d2\u5165",
|
||||||
|
"Insert row after": "\u5728\u4e0b\u65b9\u63d2\u5165",
|
||||||
|
"Delete row": "\u5220\u9664\u884c",
|
||||||
|
"Row properties": "\u884c\u5c5e\u6027",
|
||||||
|
"Cut row": "\u526a\u5207\u884c",
|
||||||
|
"Copy row": "\u590d\u5236\u884c",
|
||||||
|
"Paste row before": "\u7c98\u8d34\u5230\u4e0a\u65b9",
|
||||||
|
"Paste row after": "\u7c98\u8d34\u5230\u4e0b\u65b9",
|
||||||
|
"Insert column before": "\u5728\u5de6\u4fa7\u63d2\u5165",
|
||||||
|
"Insert column after": "\u5728\u53f3\u4fa7\u63d2\u5165",
|
||||||
|
"Delete column": "\u5220\u9664\u5217",
|
||||||
|
"Cols": "\u5217",
|
||||||
|
"Rows": "\u884c",
|
||||||
|
"Width": "\u5bbd",
|
||||||
|
"Height": "\u9ad8",
|
||||||
|
"Cell spacing": "\u5355\u5143\u683c\u5916\u95f4\u8ddd",
|
||||||
|
"Cell padding": "\u5355\u5143\u683c\u5185\u8fb9\u8ddd",
|
||||||
|
"Caption": "\u6807\u9898",
|
||||||
|
"Show caption": "\u663e\u793a\u6807\u9898",
|
||||||
|
"Left": "\u5de6\u5bf9\u9f50",
|
||||||
|
"Center": "\u5c45\u4e2d",
|
||||||
|
"Right": "\u53f3\u5bf9\u9f50",
|
||||||
|
"Cell type": "\u5355\u5143\u683c\u7c7b\u578b",
|
||||||
|
"Scope": "\u8303\u56f4",
|
||||||
|
"Alignment": "\u5bf9\u9f50\u65b9\u5f0f",
|
||||||
|
"H Align": "\u6c34\u5e73\u5bf9\u9f50",
|
||||||
|
"V Align": "\u5782\u76f4\u5bf9\u9f50",
|
||||||
|
"Top": "\u9876\u90e8\u5bf9\u9f50",
|
||||||
|
"Middle": "\u5782\u76f4\u5c45\u4e2d",
|
||||||
|
"Bottom": "\u5e95\u90e8\u5bf9\u9f50",
|
||||||
|
"Header cell": "\u8868\u5934\u5355\u5143\u683c",
|
||||||
|
"Row group": "\u884c\u7ec4",
|
||||||
|
"Column group": "\u5217\u7ec4",
|
||||||
|
"Row type": "\u884c\u7c7b\u578b",
|
||||||
|
"Header": "\u8868\u5934",
|
||||||
|
"Body": "\u8868\u4f53",
|
||||||
|
"Footer": "\u8868\u5c3e",
|
||||||
|
"Border color": "\u8fb9\u6846\u989c\u8272",
|
||||||
|
"Insert template...": "\u63d2\u5165\u6a21\u677f...",
|
||||||
|
"Templates": "\u6a21\u677f",
|
||||||
|
"Template": "\u6a21\u677f",
|
||||||
|
"Text color": "\u6587\u5b57\u989c\u8272",
|
||||||
|
"Background color": "\u80cc\u666f\u8272",
|
||||||
|
"Custom...": "\u81ea\u5b9a\u4e49...",
|
||||||
|
"Custom color": "\u81ea\u5b9a\u4e49\u989c\u8272",
|
||||||
|
"No color": "\u65e0",
|
||||||
|
"Remove color": "\u79fb\u9664\u989c\u8272",
|
||||||
|
"Table of Contents": "\u5185\u5bb9\u5217\u8868",
|
||||||
|
"Show blocks": "\u663e\u793a\u533a\u5757\u8fb9\u6846",
|
||||||
|
"Show invisible characters": "\u663e\u793a\u4e0d\u53ef\u89c1\u5b57\u7b26",
|
||||||
|
"Word count": "\u5b57\u6570",
|
||||||
|
"Count": "\u8ba1\u6570",
|
||||||
|
"Document": "\u6587\u6863",
|
||||||
|
"Selection": "\u9009\u62e9",
|
||||||
|
"Words": "\u5355\u8bcd",
|
||||||
|
"Words: {0}": "\u5b57\u6570\uff1a{0}",
|
||||||
|
"{0} words": "{0} \u5b57",
|
||||||
|
"File": "\u6587\u4ef6",
|
||||||
|
"Edit": "\u7f16\u8f91",
|
||||||
|
"Insert": "\u63d2\u5165",
|
||||||
|
"View": "\u89c6\u56fe",
|
||||||
|
"Format": "\u683c\u5f0f",
|
||||||
|
"Table": "\u8868\u683c",
|
||||||
|
"Tools": "\u5de5\u5177",
|
||||||
|
"Powered by {0}": "\u7531{0}\u9a71\u52a8",
|
||||||
|
"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "\u5728\u7f16\u8f91\u533a\u6309ALT-F9\u6253\u5f00\u83dc\u5355\uff0c\u6309ALT-F10\u6253\u5f00\u5de5\u5177\u680f\uff0c\u6309ALT-0\u67e5\u770b\u5e2e\u52a9",
|
||||||
|
"Image title": "\u56fe\u7247\u6807\u9898",
|
||||||
|
"Border width": "\u8fb9\u6846\u5bbd\u5ea6",
|
||||||
|
"Border style": "\u8fb9\u6846\u6837\u5f0f",
|
||||||
|
"Error": "\u9519\u8bef",
|
||||||
|
"Warn": "\u8b66\u544a",
|
||||||
|
"Valid": "\u6709\u6548",
|
||||||
|
"To open the popup, press Shift+Enter": "\u6309Shitf+Enter\u952e\u6253\u5f00\u5bf9\u8bdd\u6846",
|
||||||
|
"Rich Text Area. Press ALT-0 for help.": "\u7f16\u8f91\u533a\u3002\u6309Alt+0\u952e\u6253\u5f00\u5e2e\u52a9\u3002",
|
||||||
|
"System Font": "\u7cfb\u7edf\u5b57\u4f53",
|
||||||
|
"Failed to upload image: {0}": "\u56fe\u7247\u4e0a\u4f20\u5931\u8d25: {0}",
|
||||||
|
"Failed to load plugin: {0} from url {1}": "\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25: {0} \u6765\u81ea\u94fe\u63a5 {1}",
|
||||||
|
"Failed to load plugin url: {0}": "\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25 \u94fe\u63a5: {0}",
|
||||||
|
"Failed to initialize plugin: {0}": "\u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25: {0}",
|
||||||
|
"example": "\u793a\u4f8b",
|
||||||
|
"Search": "\u641c\u7d22",
|
||||||
|
"All": "\u5168\u90e8",
|
||||||
|
"Currency": "\u8d27\u5e01",
|
||||||
|
"Text": "\u6587\u5b57",
|
||||||
|
"Quotations": "\u5f15\u7528",
|
||||||
|
"Mathematical": "\u6570\u5b66",
|
||||||
|
"Extended Latin": "\u62c9\u4e01\u8bed\u6269\u5145",
|
||||||
|
"Symbols": "\u7b26\u53f7",
|
||||||
|
"Arrows": "\u7bad\u5934",
|
||||||
|
"User Defined": "\u81ea\u5b9a\u4e49",
|
||||||
|
"dollar sign": "\u7f8e\u5143\u7b26\u53f7",
|
||||||
|
"currency sign": "\u8d27\u5e01\u7b26\u53f7",
|
||||||
|
"euro-currency sign": "\u6b27\u5143\u7b26\u53f7",
|
||||||
|
"colon sign": "\u5192\u53f7",
|
||||||
|
"cruzeiro sign": "\u514b\u9c81\u8d5b\u7f57\u5e01\u7b26\u53f7",
|
||||||
|
"french franc sign": "\u6cd5\u90ce\u7b26\u53f7",
|
||||||
|
"lira sign": "\u91cc\u62c9\u7b26\u53f7",
|
||||||
|
"mill sign": "\u5bc6\u5c14\u7b26\u53f7",
|
||||||
|
"naira sign": "\u5948\u62c9\u7b26\u53f7",
|
||||||
|
"peseta sign": "\u6bd4\u585e\u5854\u7b26\u53f7",
|
||||||
|
"rupee sign": "\u5362\u6bd4\u7b26\u53f7",
|
||||||
|
"won sign": "\u97e9\u5143\u7b26\u53f7",
|
||||||
|
"new sheqel sign": "\u65b0\u8c22\u514b\u5c14\u7b26\u53f7",
|
||||||
|
"dong sign": "\u8d8a\u5357\u76fe\u7b26\u53f7",
|
||||||
|
"kip sign": "\u8001\u631d\u57fa\u666e\u7b26\u53f7",
|
||||||
|
"tugrik sign": "\u56fe\u683c\u91cc\u514b\u7b26\u53f7",
|
||||||
|
"drachma sign": "\u5fb7\u62c9\u514b\u9a6c\u7b26\u53f7",
|
||||||
|
"german penny symbol": "\u5fb7\u56fd\u4fbf\u58eb\u7b26\u53f7",
|
||||||
|
"peso sign": "\u6bd4\u7d22\u7b26\u53f7",
|
||||||
|
"guarani sign": "\u74dc\u62c9\u5c3c\u7b26\u53f7",
|
||||||
|
"austral sign": "\u6fb3\u5143\u7b26\u53f7",
|
||||||
|
"hryvnia sign": "\u683c\u91cc\u592b\u5c3c\u4e9a\u7b26\u53f7",
|
||||||
|
"cedi sign": "\u585e\u5730\u7b26\u53f7",
|
||||||
|
"livre tournois sign": "\u91cc\u5f17\u5f17\u5c14\u7b26\u53f7",
|
||||||
|
"spesmilo sign": "spesmilo\u7b26\u53f7",
|
||||||
|
"tenge sign": "\u575a\u6208\u7b26\u53f7",
|
||||||
|
"indian rupee sign": "\u5370\u5ea6\u5362\u6bd4",
|
||||||
|
"turkish lira sign": "\u571f\u8033\u5176\u91cc\u62c9",
|
||||||
|
"nordic mark sign": "\u5317\u6b27\u9a6c\u514b",
|
||||||
|
"manat sign": "\u9a6c\u7eb3\u7279\u7b26\u53f7",
|
||||||
|
"ruble sign": "\u5362\u5e03\u7b26\u53f7",
|
||||||
|
"yen character": "\u65e5\u5143\u5b57\u6837",
|
||||||
|
"yuan character": "\u4eba\u6c11\u5e01\u5143\u5b57\u6837",
|
||||||
|
"yuan character, in hong kong and taiwan": "\u5143\u5b57\u6837\uff08\u6e2f\u53f0\u5730\u533a\uff09",
|
||||||
|
"yen\/yuan character variant one": "\u5143\u5b57\u6837\uff08\u5927\u5199\uff09",
|
||||||
|
"Loading emoticons...": "\u52a0\u8f7d\u8868\u60c5\u7b26\u53f7...",
|
||||||
|
"Could not load emoticons": "\u4e0d\u80fd\u52a0\u8f7d\u8868\u60c5\u7b26\u53f7",
|
||||||
|
"People": "\u4eba\u7c7b",
|
||||||
|
"Animals and Nature": "\u52a8\u7269\u548c\u81ea\u7136",
|
||||||
|
"Food and Drink": "\u98df\u7269\u548c\u996e\u54c1",
|
||||||
|
"Activity": "\u6d3b\u52a8",
|
||||||
|
"Travel and Places": "\u65c5\u6e38\u548c\u5730\u70b9",
|
||||||
|
"Objects": "\u7269\u4ef6",
|
||||||
|
"Flags": "\u65d7\u5e1c",
|
||||||
|
"Characters": "\u5b57\u7b26",
|
||||||
|
"Characters (no spaces)": "\u5b57\u7b26(\u65e0\u7a7a\u683c)",
|
||||||
|
"{0} characters": "{0} \u4e2a\u5b57\u7b26",
|
||||||
|
"Error: Form submit field collision.": "\u9519\u8bef: \u8868\u5355\u63d0\u4ea4\u5b57\u6bb5\u51b2\u7a81\u3002",
|
||||||
|
"Error: No form element found.": "\u9519\u8bef: \u6ca1\u6709\u8868\u5355\u63a7\u4ef6\u3002",
|
||||||
|
"Update": "\u66f4\u65b0",
|
||||||
|
"Color swatch": "\u989c\u8272\u6837\u672c",
|
||||||
|
"Turquoise": "\u9752\u7eff\u8272",
|
||||||
|
"Green": "\u7eff\u8272",
|
||||||
|
"Blue": "\u84dd\u8272",
|
||||||
|
"Purple": "\u7d2b\u8272",
|
||||||
|
"Navy Blue": "\u6d77\u519b\u84dd",
|
||||||
|
"Dark Turquoise": "\u6df1\u84dd\u7eff\u8272",
|
||||||
|
"Dark Green": "\u6df1\u7eff\u8272",
|
||||||
|
"Medium Blue": "\u4e2d\u84dd\u8272",
|
||||||
|
"Medium Purple": "\u4e2d\u7d2b\u8272",
|
||||||
|
"Midnight Blue": "\u6df1\u84dd\u8272",
|
||||||
|
"Yellow": "\u9ec4\u8272",
|
||||||
|
"Orange": "\u6a59\u8272",
|
||||||
|
"Red": "\u7ea2\u8272",
|
||||||
|
"Light Gray": "\u6d45\u7070\u8272",
|
||||||
|
"Gray": "\u7070\u8272",
|
||||||
|
"Dark Yellow": "\u6697\u9ec4\u8272",
|
||||||
|
"Dark Orange": "\u6df1\u6a59\u8272",
|
||||||
|
"Dark Red": "\u6df1\u7ea2\u8272",
|
||||||
|
"Medium Gray": "\u4e2d\u7070\u8272",
|
||||||
|
"Dark Gray": "\u6df1\u7070\u8272",
|
||||||
|
"Light Green": "\u6d45\u7eff\u8272",
|
||||||
|
"Light Yellow": "\u6d45\u9ec4\u8272",
|
||||||
|
"Light Red": "\u6d45\u7ea2\u8272",
|
||||||
|
"Light Purple": "\u6d45\u7d2b\u8272",
|
||||||
|
"Light Blue": "\u6d45\u84dd\u8272",
|
||||||
|
"Dark Purple": "\u6df1\u7d2b\u8272",
|
||||||
|
"Dark Blue": "\u6df1\u84dd\u8272",
|
||||||
|
"Black": "\u9ed1\u8272",
|
||||||
|
"White": "\u767d\u8272",
|
||||||
|
"Switch to or from fullscreen mode": "\u5207\u6362\u5168\u5c4f\u6a21\u5f0f",
|
||||||
|
"Open help dialog": "\u6253\u5f00\u5e2e\u52a9\u5bf9\u8bdd\u6846",
|
||||||
|
"history": "\u5386\u53f2",
|
||||||
|
"styles": "\u6837\u5f0f",
|
||||||
|
"formatting": "\u683c\u5f0f\u5316",
|
||||||
|
"alignment": "\u5bf9\u9f50",
|
||||||
|
"indentation": "\u7f29\u8fdb",
|
||||||
|
"Font": "\u5b57\u4f53",
|
||||||
|
"Size": "\u5b57\u53f7",
|
||||||
|
"More...": "\u66f4\u591a...",
|
||||||
|
"Select...": "\u9009\u62e9...",
|
||||||
|
"Preferences": "\u9996\u9009\u9879",
|
||||||
|
"Yes": "\u662f",
|
||||||
|
"No": "\u5426",
|
||||||
|
"Keyboard Navigation": "\u952e\u76d8\u6307\u5f15",
|
||||||
|
"Version": "\u7248\u672c",
|
||||||
|
"Code view": "\u4ee3\u7801\u89c6\u56fe",
|
||||||
|
"Open popup menu for split buttons": "\u6253\u5f00\u5f39\u51fa\u5f0f\u83dc\u5355\uff0c\u7528\u4e8e\u62c6\u5206\u6309\u94ae",
|
||||||
|
"List Properties": "\u5217\u8868\u5c5e\u6027",
|
||||||
|
"List properties...": "\u6807\u9898\u5b57\u4f53\u5c5e\u6027",
|
||||||
|
"Start list at number": "\u4ee5\u6570\u5b57\u5f00\u59cb\u5217\u8868",
|
||||||
|
"Line height": "\u884c\u9ad8",
|
||||||
|
"comments": "\u5907\u6ce8",
|
||||||
|
"Format Painter": "\u683c\u5f0f\u5237",
|
||||||
|
"Insert\/edit iframe": "\u63d2\u5165\/\u7f16\u8f91\u6846\u67b6",
|
||||||
|
"Capitalization": "\u5927\u5199",
|
||||||
|
"lowercase": "\u5c0f\u5199",
|
||||||
|
"UPPERCASE": "\u5927\u5199",
|
||||||
|
"Title Case": "\u9996\u5b57\u6bcd\u5927\u5199",
|
||||||
|
"permanent pen": "\u8bb0\u53f7\u7b14",
|
||||||
|
"Permanent Pen Properties": "\u6c38\u4e45\u7b14\u5c5e\u6027",
|
||||||
|
"Permanent pen properties...": "\u6c38\u4e45\u7b14\u5c5e\u6027...",
|
||||||
|
"case change": "\u6848\u4f8b\u66f4\u6539",
|
||||||
|
"page embed": "\u9875\u9762\u5d4c\u5165",
|
||||||
|
"Advanced sort...": "\u9ad8\u7ea7\u6392\u5e8f...",
|
||||||
|
"Advanced Sort": "\u9ad8\u7ea7\u6392\u5e8f",
|
||||||
|
"Sort table by column ascending": "\u6309\u5217\u5347\u5e8f\u8868",
|
||||||
|
"Sort table by column descending": "\u6309\u5217\u964d\u5e8f\u8868",
|
||||||
|
"Sort": "\u6392\u5e8f",
|
||||||
|
"Order": "\u6392\u5e8f",
|
||||||
|
"Sort by": "\u6392\u5e8f\u65b9\u5f0f",
|
||||||
|
"Ascending": "\u5347\u5e8f",
|
||||||
|
"Descending": "\u964d\u5e8f",
|
||||||
|
"Column {0}": "\u5217{0}",
|
||||||
|
"Row {0}": "\u884c{0}",
|
||||||
|
"Spellcheck...": "\u62fc\u5199\u68c0\u67e5...",
|
||||||
|
"Misspelled word": "\u62fc\u5199\u9519\u8bef\u7684\u5355\u8bcd",
|
||||||
|
"Suggestions": "\u5efa\u8bae",
|
||||||
|
"Change": "\u66f4\u6539",
|
||||||
|
"Finding word suggestions": "\u67e5\u627e\u5355\u8bcd\u5efa\u8bae",
|
||||||
|
"Success": "\u6210\u529f",
|
||||||
|
"Repair": "\u4fee\u590d",
|
||||||
|
"Issue {0} of {1}": "\u5171\u8ba1{1}\u95ee\u9898{0}",
|
||||||
|
"Images must be marked as decorative or have an alternative text description": "\u56fe\u50cf\u5fc5\u987b\u6807\u8bb0\u4e3a\u88c5\u9970\u6027\u6216\u5177\u6709\u66ff\u4ee3\u6587\u672c\u63cf\u8ff0",
|
||||||
|
"Images must have an alternative text description. Decorative images are not allowed.": "\u56fe\u50cf\u5fc5\u987b\u5177\u6709\u66ff\u4ee3\u6587\u672c\u63cf\u8ff0\u3002\u4e0d\u5141\u8bb8\u4f7f\u7528\u88c5\u9970\u56fe\u50cf\u3002",
|
||||||
|
"Or provide alternative text:": "\u6216\u63d0\u4f9b\u5907\u9009\u6587\u672c\uff1a",
|
||||||
|
"Make image decorative:": "\u4f7f\u56fe\u50cf\u88c5\u9970\uff1a",
|
||||||
|
"ID attribute must be unique": "ID \u5c5e\u6027\u5fc5\u987b\u662f\u552f\u4e00\u7684",
|
||||||
|
"Make ID unique": "\u4f7f ID \u72ec\u4e00\u65e0\u4e8c",
|
||||||
|
"Keep this ID and remove all others": "\u4fdd\u7559\u6b64 ID \u5e76\u5220\u9664\u6240\u6709\u5176\u4ed6",
|
||||||
|
"Remove this ID": "\u5220\u9664\u6b64 ID",
|
||||||
|
"Remove all IDs": "\u6e05\u9664\u5168\u90e8IDs",
|
||||||
|
"Checklist": "\u6e05\u5355",
|
||||||
|
"Anchor": "\u951a\u70b9",
|
||||||
|
"Special character": "\u7279\u6b8a\u7b26\u53f7",
|
||||||
|
"Code sample": "\u4ee3\u7801\u793a\u4f8b",
|
||||||
|
"Color": "\u989c\u8272",
|
||||||
|
"Document properties": "\u6587\u6863\u5c5e\u6027",
|
||||||
|
"Image description": "\u56fe\u7247\u63cf\u8ff0",
|
||||||
|
"Image": "\u56fe\u7247",
|
||||||
|
"Insert link": "\u63d2\u5165\u94fe\u63a5",
|
||||||
|
"Target": "\u6253\u5f00\u65b9\u5f0f",
|
||||||
|
"Link": "\u94fe\u63a5",
|
||||||
|
"Poster": "\u5c01\u9762",
|
||||||
|
"Media": "\u5a92\u4f53",
|
||||||
|
"Print": "\u6253\u5370",
|
||||||
|
"Prev": "\u4e0a\u4e00\u4e2a",
|
||||||
|
"Find and replace": "\u67e5\u627e\u548c\u66ff\u6362",
|
||||||
|
"Whole words": "\u5168\u5b57\u5339\u914d",
|
||||||
|
"Insert template": "\u63d2\u5165\u6a21\u677f"
|
||||||
|
});
|
||||||
72
public/tinymce/skins/content/dark/content.css
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
body {
|
||||||
|
background-color: #2f3742;
|
||||||
|
color: #dfe0e4;
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
|
line-height: 1.4;
|
||||||
|
margin: 1rem;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #4099ff;
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
/* Apply a default padding if legacy cellpadding attribute is missing */
|
||||||
|
table:not([cellpadding]) th,
|
||||||
|
table:not([cellpadding]) td {
|
||||||
|
padding: 0.4rem;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-width"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-width"]) td {
|
||||||
|
border-width: 1px;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-style"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-style"]) td {
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-color"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-color"]) td {
|
||||||
|
border-color: #6d737b;
|
||||||
|
}
|
||||||
|
figure {
|
||||||
|
display: table;
|
||||||
|
margin: 1rem auto;
|
||||||
|
}
|
||||||
|
figure figcaption {
|
||||||
|
color: #8a8f97;
|
||||||
|
display: block;
|
||||||
|
margin-top: 0.25rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
border-color: #6d737b;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px 0 0 0;
|
||||||
|
}
|
||||||
|
code {
|
||||||
|
background-color: #6d737b;
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 0.1rem 0.2rem;
|
||||||
|
}
|
||||||
|
.mce-content-body:not([dir=rtl]) blockquote {
|
||||||
|
border-left: 2px solid #6d737b;
|
||||||
|
margin-left: 1.5rem;
|
||||||
|
padding-left: 1rem;
|
||||||
|
}
|
||||||
|
.mce-content-body[dir=rtl] blockquote {
|
||||||
|
border-right: 2px solid #6d737b;
|
||||||
|
margin-right: 1.5rem;
|
||||||
|
padding-right: 1rem;
|
||||||
|
}
|
||||||
7
public/tinymce/skins/content/dark/content.min.css
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
body{background-color:#2f3742;color:#dfe0e4;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}a{color:#4099ff}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#6d737b}figure{display:table;margin:1rem auto}figure figcaption{color:#8a8f97;display:block;margin-top:.25rem;text-align:center}hr{border-color:#6d737b;border-style:solid;border-width:1px 0 0 0}code{background-color:#6d737b;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #6d737b;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #6d737b;margin-right:1.5rem;padding-right:1rem}
|
||||||
67
public/tinymce/skins/content/default/content.css
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
body {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
|
line-height: 1.4;
|
||||||
|
margin: 1rem;
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
/* Apply a default padding if legacy cellpadding attribute is missing */
|
||||||
|
table:not([cellpadding]) th,
|
||||||
|
table:not([cellpadding]) td {
|
||||||
|
padding: 0.4rem;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-width"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-width"]) td {
|
||||||
|
border-width: 1px;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-style"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-style"]) td {
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-color"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-color"]) td {
|
||||||
|
border-color: #ccc;
|
||||||
|
}
|
||||||
|
figure {
|
||||||
|
display: table;
|
||||||
|
margin: 1rem auto;
|
||||||
|
}
|
||||||
|
figure figcaption {
|
||||||
|
color: #999;
|
||||||
|
display: block;
|
||||||
|
margin-top: 0.25rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
border-color: #ccc;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px 0 0 0;
|
||||||
|
}
|
||||||
|
code {
|
||||||
|
background-color: #e8e8e8;
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 0.1rem 0.2rem;
|
||||||
|
}
|
||||||
|
.mce-content-body:not([dir=rtl]) blockquote {
|
||||||
|
border-left: 2px solid #ccc;
|
||||||
|
margin-left: 1.5rem;
|
||||||
|
padding-left: 1rem;
|
||||||
|
}
|
||||||
|
.mce-content-body[dir=rtl] blockquote {
|
||||||
|
border-right: 2px solid #ccc;
|
||||||
|
margin-right: 1.5rem;
|
||||||
|
padding-right: 1rem;
|
||||||
|
}
|
||||||
7
public/tinymce/skins/content/default/content.min.css
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
|
||||||
72
public/tinymce/skins/content/document/content.css
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
@media screen {
|
||||||
|
html {
|
||||||
|
background: #f4f4f4;
|
||||||
|
min-height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
|
}
|
||||||
|
@media screen {
|
||||||
|
body {
|
||||||
|
background-color: #fff;
|
||||||
|
box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 1rem auto 0;
|
||||||
|
max-width: 820px;
|
||||||
|
min-height: calc(100vh - 1rem);
|
||||||
|
padding: 4rem 6rem 6rem 6rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
/* Apply a default padding if legacy cellpadding attribute is missing */
|
||||||
|
table:not([cellpadding]) th,
|
||||||
|
table:not([cellpadding]) td {
|
||||||
|
padding: 0.4rem;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-width"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-width"]) td {
|
||||||
|
border-width: 1px;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-style"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-style"]) td {
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-color"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-color"]) td {
|
||||||
|
border-color: #ccc;
|
||||||
|
}
|
||||||
|
figure figcaption {
|
||||||
|
color: #999;
|
||||||
|
margin-top: 0.25rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
border-color: #ccc;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px 0 0 0;
|
||||||
|
}
|
||||||
|
.mce-content-body:not([dir=rtl]) blockquote {
|
||||||
|
border-left: 2px solid #ccc;
|
||||||
|
margin-left: 1.5rem;
|
||||||
|
padding-left: 1rem;
|
||||||
|
}
|
||||||
|
.mce-content-body[dir=rtl] blockquote {
|
||||||
|
border-right: 2px solid #ccc;
|
||||||
|
margin-right: 1.5rem;
|
||||||
|
padding-right: 1rem;
|
||||||
|
}
|
||||||
7
public/tinymce/skins/content/document/content.min.css
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
@media screen{html{background:#f4f4f4;min-height:100%}}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif}@media screen{body{background-color:#fff;box-shadow:0 0 4px rgba(0,0,0,.15);box-sizing:border-box;margin:1rem auto 0;max-width:820px;min-height:calc(100vh - 1rem);padding:4rem 6rem 6rem 6rem}}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure figcaption{color:#999;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
|
||||||
68
public/tinymce/skins/content/writer/content.css
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
body {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||||
|
line-height: 1.4;
|
||||||
|
margin: 1rem auto;
|
||||||
|
max-width: 900px;
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
/* Apply a default padding if legacy cellpadding attribute is missing */
|
||||||
|
table:not([cellpadding]) th,
|
||||||
|
table:not([cellpadding]) td {
|
||||||
|
padding: 0.4rem;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-width"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-width"]) td {
|
||||||
|
border-width: 1px;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-style"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-style"]) td {
|
||||||
|
border-style: solid;
|
||||||
|
}
|
||||||
|
/* Set default table styles if a table has a positive border attribute
|
||||||
|
and no inline css */
|
||||||
|
table[border]:not([border="0"]):not([style*="border-color"]) th,
|
||||||
|
table[border]:not([border="0"]):not([style*="border-color"]) td {
|
||||||
|
border-color: #ccc;
|
||||||
|
}
|
||||||
|
figure {
|
||||||
|
display: table;
|
||||||
|
margin: 1rem auto;
|
||||||
|
}
|
||||||
|
figure figcaption {
|
||||||
|
color: #999;
|
||||||
|
display: block;
|
||||||
|
margin-top: 0.25rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
border-color: #ccc;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px 0 0 0;
|
||||||
|
}
|
||||||
|
code {
|
||||||
|
background-color: #e8e8e8;
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 0.1rem 0.2rem;
|
||||||
|
}
|
||||||
|
.mce-content-body:not([dir=rtl]) blockquote {
|
||||||
|
border-left: 2px solid #ccc;
|
||||||
|
margin-left: 1.5rem;
|
||||||
|
padding-left: 1rem;
|
||||||
|
}
|
||||||
|
.mce-content-body[dir=rtl] blockquote {
|
||||||
|
border-right: 2px solid #ccc;
|
||||||
|
margin-right: 1.5rem;
|
||||||
|
padding-right: 1rem;
|
||||||
|
}
|
||||||
7
public/tinymce/skins/content/writer/content.min.css
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem auto;max-width:900px}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
|
||||||
714
public/tinymce/skins/ui/oxide-dark/content.css
Normal file
@@ -0,0 +1,714 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
.mce-content-body .mce-item-anchor {
|
||||||
|
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||||
|
cursor: default;
|
||||||
|
display: inline-block;
|
||||||
|
height: 12px !important;
|
||||||
|
padding: 0 2px;
|
||||||
|
-webkit-user-modify: read-only;
|
||||||
|
-moz-user-modify: read-only;
|
||||||
|
-webkit-user-select: all;
|
||||||
|
-moz-user-select: all;
|
||||||
|
-ms-user-select: all;
|
||||||
|
user-select: all;
|
||||||
|
width: 8px !important;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-item-anchor[data-mce-selected] {
|
||||||
|
outline-offset: 1px;
|
||||||
|
}
|
||||||
|
.tox-comments-visible .tox-comment {
|
||||||
|
background-color: #fff0b7;
|
||||||
|
}
|
||||||
|
.tox-comments-visible .tox-comment--active {
|
||||||
|
background-color: #ffe168;
|
||||||
|
}
|
||||||
|
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0.25em 0;
|
||||||
|
}
|
||||||
|
.tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||||
|
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||||
|
cursor: pointer;
|
||||||
|
height: 1em;
|
||||||
|
margin-left: -1.5em;
|
||||||
|
margin-top: 0.125em;
|
||||||
|
position: absolute;
|
||||||
|
width: 1em;
|
||||||
|
}
|
||||||
|
.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before {
|
||||||
|
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||||
|
}
|
||||||
|
[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: -1.5em;
|
||||||
|
}
|
||||||
|
/* stylelint-disable */
|
||||||
|
/* http://prismjs.com/ */
|
||||||
|
/**
|
||||||
|
* Dracula Theme originally by Zeno Rocha [@zenorocha]
|
||||||
|
* https://draculatheme.com/
|
||||||
|
*
|
||||||
|
* Ported for PrismJS by Albert Vallverdu [@byverdu]
|
||||||
|
*/
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: #f8f8f2;
|
||||||
|
background: none;
|
||||||
|
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: 0.5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
}
|
||||||
|
:not(pre) > code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background: #282a36;
|
||||||
|
}
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
padding: 0.1em;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: #6272a4;
|
||||||
|
}
|
||||||
|
.token.punctuation {
|
||||||
|
color: #f8f8f2;
|
||||||
|
}
|
||||||
|
.namespace {
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.deleted {
|
||||||
|
color: #ff79c6;
|
||||||
|
}
|
||||||
|
.token.boolean,
|
||||||
|
.token.number {
|
||||||
|
color: #bd93f9;
|
||||||
|
}
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.builtin,
|
||||||
|
.token.inserted {
|
||||||
|
color: #50fa7b;
|
||||||
|
}
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string,
|
||||||
|
.token.variable {
|
||||||
|
color: #f8f8f2;
|
||||||
|
}
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.function,
|
||||||
|
.token.class-name {
|
||||||
|
color: #f1fa8c;
|
||||||
|
}
|
||||||
|
.token.keyword {
|
||||||
|
color: #8be9fd;
|
||||||
|
}
|
||||||
|
.token.regex,
|
||||||
|
.token.important {
|
||||||
|
color: #ffb86c;
|
||||||
|
}
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
/* stylelint-enable */
|
||||||
|
.mce-content-body {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-visual-caret {
|
||||||
|
background-color: black;
|
||||||
|
background-color: currentColor;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-visual-caret-hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.mce-content-body *[data-mce-caret] {
|
||||||
|
left: -1000px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
position: absolute;
|
||||||
|
right: auto;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-offscreen-selection {
|
||||||
|
left: -2000000px;
|
||||||
|
max-width: 1000000px;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=true] {
|
||||||
|
cursor: text;
|
||||||
|
}
|
||||||
|
.tox-cursor-format-painter {
|
||||||
|
cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.align-left {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.align-right {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.image.align-center {
|
||||||
|
display: table;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
.mce-preview-object {
|
||||||
|
border: 1px solid gray;
|
||||||
|
display: inline-block;
|
||||||
|
line-height: 0;
|
||||||
|
margin: 0 2px 0 2px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-preview-object .mce-shim {
|
||||||
|
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.mce-preview-object[data-mce-selected="2"] .mce-shim {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.mce-object {
|
||||||
|
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||||
|
border: 1px dashed #aaa;
|
||||||
|
}
|
||||||
|
.mce-pagebreak {
|
||||||
|
border: 1px dashed #aaa;
|
||||||
|
cursor: default;
|
||||||
|
display: block;
|
||||||
|
height: 5px;
|
||||||
|
margin-top: 15px;
|
||||||
|
page-break-before: always;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
.mce-pagebreak {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tiny-pageembed .mce-shim {
|
||||||
|
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed[data-mce-selected="2"] .mce-shim {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.tiny-pageembed {
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9,
|
||||||
|
.tiny-pageembed--16by9,
|
||||||
|
.tiny-pageembed--4by3,
|
||||||
|
.tiny-pageembed--1by1 {
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9 {
|
||||||
|
padding-top: 42.857143%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--16by9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--4by3 {
|
||||||
|
padding-top: 75%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--1by1 {
|
||||||
|
padding-top: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9 iframe,
|
||||||
|
.tiny-pageembed--16by9 iframe,
|
||||||
|
.tiny-pageembed--4by3 iframe,
|
||||||
|
.tiny-pageembed--1by1 iframe {
|
||||||
|
border: 0;
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.mce-content-body[data-mce-placeholder] {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
color: rgba(34, 47, 62, 0.7);
|
||||||
|
content: attr(data-mce-placeholder);
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
left: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
right: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle {
|
||||||
|
background-color: #4099ff;
|
||||||
|
border-color: #4099ff;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 10px;
|
||||||
|
position: absolute;
|
||||||
|
width: 10px;
|
||||||
|
z-index: 1298;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:hover {
|
||||||
|
background-color: #4099ff;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(1) {
|
||||||
|
cursor: nwse-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(2) {
|
||||||
|
cursor: nesw-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(3) {
|
||||||
|
cursor: nwse-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(4) {
|
||||||
|
cursor: nesw-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-resize-backdrop {
|
||||||
|
z-index: 10000;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-clonedresizable {
|
||||||
|
cursor: default;
|
||||||
|
opacity: 0.5;
|
||||||
|
outline: 1px dashed black;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 10001;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-clonedresizable.mce-resizetable-columns th,
|
||||||
|
.mce-content-body .mce-clonedresizable.mce-resizetable-columns td {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-resize-helper {
|
||||||
|
background: #555;
|
||||||
|
background: rgba(0, 0, 0, 0.75);
|
||||||
|
border: 1px;
|
||||||
|
border-radius: 3px;
|
||||||
|
color: white;
|
||||||
|
display: none;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 14px;
|
||||||
|
margin: 5px 10px;
|
||||||
|
padding: 5px;
|
||||||
|
position: absolute;
|
||||||
|
white-space: nowrap;
|
||||||
|
z-index: 10002;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor {
|
||||||
|
bottom: 0;
|
||||||
|
cursor: default;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 2px;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor::before {
|
||||||
|
background-color: inherit;
|
||||||
|
border-radius: 50%;
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
height: 8px;
|
||||||
|
position: absolute;
|
||||||
|
right: -3px;
|
||||||
|
top: -3px;
|
||||||
|
width: 8px;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor:hover::after {
|
||||||
|
background-color: inherit;
|
||||||
|
border-radius: 100px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: #fff;
|
||||||
|
content: attr(data-user);
|
||||||
|
display: block;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: bold;
|
||||||
|
left: -5px;
|
||||||
|
min-height: 8px;
|
||||||
|
min-width: 8px;
|
||||||
|
padding: 0 12px;
|
||||||
|
position: absolute;
|
||||||
|
top: -11px;
|
||||||
|
white-space: nowrap;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--1 .tox-rtc-user-cursor {
|
||||||
|
background-color: #2dc26b;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--2 .tox-rtc-user-cursor {
|
||||||
|
background-color: #e03e2d;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--3 .tox-rtc-user-cursor {
|
||||||
|
background-color: #f1c40f;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--4 .tox-rtc-user-cursor {
|
||||||
|
background-color: #3598db;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--5 .tox-rtc-user-cursor {
|
||||||
|
background-color: #b96ad9;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--6 .tox-rtc-user-cursor {
|
||||||
|
background-color: #e67e23;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--7 .tox-rtc-user-cursor {
|
||||||
|
background-color: #aaa69d;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--8 .tox-rtc-user-cursor {
|
||||||
|
background-color: #f368e0;
|
||||||
|
}
|
||||||
|
.tox-rtc-remote-image {
|
||||||
|
background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
min-height: 240px;
|
||||||
|
min-width: 320px;
|
||||||
|
}
|
||||||
|
.mce-match-marker {
|
||||||
|
background: #aaa;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected::-moz-selection {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected::selection {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-content-body img[data-mce-selected],
|
||||||
|
.mce-content-body video[data-mce-selected],
|
||||||
|
.mce-content-body audio[data-mce-selected],
|
||||||
|
.mce-content-body object[data-mce-selected],
|
||||||
|
.mce-content-body embed[data-mce-selected],
|
||||||
|
.mce-content-body table[data-mce-selected] {
|
||||||
|
outline: 3px solid #4099ff;
|
||||||
|
}
|
||||||
|
.mce-content-body hr[data-mce-selected] {
|
||||||
|
outline: 3px solid #4099ff;
|
||||||
|
outline-offset: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus {
|
||||||
|
outline: 3px solid #4099ff;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover {
|
||||||
|
outline: 3px solid #4099ff;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false][data-mce-selected] {
|
||||||
|
cursor: not-allowed;
|
||||||
|
outline: 3px solid #4099ff;
|
||||||
|
}
|
||||||
|
.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,
|
||||||
|
.mce-content-body.mce-content-readonly *[contentEditable=true]:hover {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
.mce-content-body *[data-mce-selected="inline-boundary"] {
|
||||||
|
background-color: #4099ff;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-edit-focus {
|
||||||
|
outline: 3px solid #4099ff;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected],
|
||||||
|
.mce-content-body th[data-mce-selected] {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::-moz-selection,
|
||||||
|
.mce-content-body th[data-mce-selected]::-moz-selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::selection,
|
||||||
|
.mce-content-body th[data-mce-selected]::selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected] *,
|
||||||
|
.mce-content-body th[data-mce-selected] * {
|
||||||
|
outline: none;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::after,
|
||||||
|
.mce-content-body th[data-mce-selected]::after {
|
||||||
|
background-color: rgba(180, 215, 255, 0.7);
|
||||||
|
border: 1px solid transparent;
|
||||||
|
bottom: -1px;
|
||||||
|
content: '';
|
||||||
|
left: -1px;
|
||||||
|
mix-blend-mode: lighten;
|
||||||
|
position: absolute;
|
||||||
|
right: -1px;
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||||
|
.mce-content-body td[data-mce-selected]::after,
|
||||||
|
.mce-content-body th[data-mce-selected]::after {
|
||||||
|
border-color: rgba(0, 84, 180, 0.7);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.mce-content-body img::-moz-selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body img::selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-bar {
|
||||||
|
background-color: #4099ff;
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-cols {
|
||||||
|
cursor: col-resize;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-rows {
|
||||||
|
cursor: row-resize;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.mce-spellchecker-word {
|
||||||
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||||
|
background-position: 0 calc(100% + 1px);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
background-size: auto 6px;
|
||||||
|
cursor: default;
|
||||||
|
height: 2rem;
|
||||||
|
}
|
||||||
|
.mce-spellchecker-grammar {
|
||||||
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||||
|
background-position: 0 calc(100% + 1px);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
background-size: auto 6px;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.mce-toc {
|
||||||
|
border: 1px solid gray;
|
||||||
|
}
|
||||||
|
.mce-toc h2 {
|
||||||
|
margin: 4px;
|
||||||
|
}
|
||||||
|
.mce-toc li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
table[style*="border-width: 0px"],
|
||||||
|
.mce-item-table:not([border]),
|
||||||
|
.mce-item-table[border="0"],
|
||||||
|
table[style*="border-width: 0px"] td,
|
||||||
|
.mce-item-table:not([border]) td,
|
||||||
|
.mce-item-table[border="0"] td,
|
||||||
|
table[style*="border-width: 0px"] th,
|
||||||
|
.mce-item-table:not([border]) th,
|
||||||
|
.mce-item-table[border="0"] th,
|
||||||
|
table[style*="border-width: 0px"] caption,
|
||||||
|
.mce-item-table:not([border]) caption,
|
||||||
|
.mce-item-table[border="0"] caption {
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
}
|
||||||
|
.mce-visualblocks p,
|
||||||
|
.mce-visualblocks h1,
|
||||||
|
.mce-visualblocks h2,
|
||||||
|
.mce-visualblocks h3,
|
||||||
|
.mce-visualblocks h4,
|
||||||
|
.mce-visualblocks h5,
|
||||||
|
.mce-visualblocks h6,
|
||||||
|
.mce-visualblocks div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks section,
|
||||||
|
.mce-visualblocks article,
|
||||||
|
.mce-visualblocks blockquote,
|
||||||
|
.mce-visualblocks address,
|
||||||
|
.mce-visualblocks pre,
|
||||||
|
.mce-visualblocks figure,
|
||||||
|
.mce-visualblocks figcaption,
|
||||||
|
.mce-visualblocks hgroup,
|
||||||
|
.mce-visualblocks aside,
|
||||||
|
.mce-visualblocks ul,
|
||||||
|
.mce-visualblocks ol,
|
||||||
|
.mce-visualblocks dl {
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
margin-left: 3px;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
.mce-visualblocks p {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h1 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h2 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h3 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h4 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h5 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h6 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks div:not([data-mce-bogus]) {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks section {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks article {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks blockquote {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks address {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks pre {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks figure {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks figcaption {
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
}
|
||||||
|
.mce-visualblocks hgroup {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks aside {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks ul {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks ol {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks dl {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks:not([dir=rtl]) p,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h1,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h2,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h3,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h4,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h5,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h6,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks:not([dir=rtl]) section,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) article,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) blockquote,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) address,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) pre,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) figure,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) figcaption,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) hgroup,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) aside,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) ul,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) ol,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) dl {
|
||||||
|
margin-left: 3px;
|
||||||
|
}
|
||||||
|
.mce-visualblocks[dir=rtl] p,
|
||||||
|
.mce-visualblocks[dir=rtl] h1,
|
||||||
|
.mce-visualblocks[dir=rtl] h2,
|
||||||
|
.mce-visualblocks[dir=rtl] h3,
|
||||||
|
.mce-visualblocks[dir=rtl] h4,
|
||||||
|
.mce-visualblocks[dir=rtl] h5,
|
||||||
|
.mce-visualblocks[dir=rtl] h6,
|
||||||
|
.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks[dir=rtl] section,
|
||||||
|
.mce-visualblocks[dir=rtl] article,
|
||||||
|
.mce-visualblocks[dir=rtl] blockquote,
|
||||||
|
.mce-visualblocks[dir=rtl] address,
|
||||||
|
.mce-visualblocks[dir=rtl] pre,
|
||||||
|
.mce-visualblocks[dir=rtl] figure,
|
||||||
|
.mce-visualblocks[dir=rtl] figcaption,
|
||||||
|
.mce-visualblocks[dir=rtl] hgroup,
|
||||||
|
.mce-visualblocks[dir=rtl] aside,
|
||||||
|
.mce-visualblocks[dir=rtl] ul,
|
||||||
|
.mce-visualblocks[dir=rtl] ol,
|
||||||
|
.mce-visualblocks[dir=rtl] dl {
|
||||||
|
background-position-x: right;
|
||||||
|
margin-right: 3px;
|
||||||
|
}
|
||||||
|
.mce-nbsp,
|
||||||
|
.mce-shy {
|
||||||
|
background: #aaa;
|
||||||
|
}
|
||||||
|
.mce-shy::after {
|
||||||
|
content: '-';
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
726
public/tinymce/skins/ui/oxide-dark/content.inline.css
Normal file
@@ -0,0 +1,726 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
.mce-content-body .mce-item-anchor {
|
||||||
|
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||||
|
cursor: default;
|
||||||
|
display: inline-block;
|
||||||
|
height: 12px !important;
|
||||||
|
padding: 0 2px;
|
||||||
|
-webkit-user-modify: read-only;
|
||||||
|
-moz-user-modify: read-only;
|
||||||
|
-webkit-user-select: all;
|
||||||
|
-moz-user-select: all;
|
||||||
|
-ms-user-select: all;
|
||||||
|
user-select: all;
|
||||||
|
width: 8px !important;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-item-anchor[data-mce-selected] {
|
||||||
|
outline-offset: 1px;
|
||||||
|
}
|
||||||
|
.tox-comments-visible .tox-comment {
|
||||||
|
background-color: #fff0b7;
|
||||||
|
}
|
||||||
|
.tox-comments-visible .tox-comment--active {
|
||||||
|
background-color: #ffe168;
|
||||||
|
}
|
||||||
|
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0.25em 0;
|
||||||
|
}
|
||||||
|
.tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||||
|
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||||
|
cursor: pointer;
|
||||||
|
height: 1em;
|
||||||
|
margin-left: -1.5em;
|
||||||
|
margin-top: 0.125em;
|
||||||
|
position: absolute;
|
||||||
|
width: 1em;
|
||||||
|
}
|
||||||
|
.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before {
|
||||||
|
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||||
|
}
|
||||||
|
[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: -1.5em;
|
||||||
|
}
|
||||||
|
/* stylelint-disable */
|
||||||
|
/* http://prismjs.com/ */
|
||||||
|
/**
|
||||||
|
* prism.js default theme for JavaScript, CSS and HTML
|
||||||
|
* Based on dabblet (http://dabblet.com)
|
||||||
|
* @author Lea Verou
|
||||||
|
*/
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: black;
|
||||||
|
background: none;
|
||||||
|
text-shadow: 0 1px white;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
pre[class*="language-"]::-moz-selection,
|
||||||
|
pre[class*="language-"] ::-moz-selection,
|
||||||
|
code[class*="language-"]::-moz-selection,
|
||||||
|
code[class*="language-"] ::-moz-selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
pre[class*="language-"]::selection,
|
||||||
|
pre[class*="language-"] ::selection,
|
||||||
|
code[class*="language-"]::selection,
|
||||||
|
code[class*="language-"] ::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: 0.5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
:not(pre) > code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background: #f5f2f0;
|
||||||
|
}
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
padding: 0.1em;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: slategray;
|
||||||
|
}
|
||||||
|
.token.punctuation {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
.namespace {
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.deleted {
|
||||||
|
color: #905;
|
||||||
|
}
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.builtin,
|
||||||
|
.token.inserted {
|
||||||
|
color: #690;
|
||||||
|
}
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string {
|
||||||
|
color: #9a6e3a;
|
||||||
|
background: hsla(0, 0%, 100%, 0.5);
|
||||||
|
}
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.keyword {
|
||||||
|
color: #07a;
|
||||||
|
}
|
||||||
|
.token.function,
|
||||||
|
.token.class-name {
|
||||||
|
color: #DD4A68;
|
||||||
|
}
|
||||||
|
.token.regex,
|
||||||
|
.token.important,
|
||||||
|
.token.variable {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
/* stylelint-enable */
|
||||||
|
.mce-content-body {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-visual-caret {
|
||||||
|
background-color: black;
|
||||||
|
background-color: currentColor;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-visual-caret-hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.mce-content-body *[data-mce-caret] {
|
||||||
|
left: -1000px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
position: absolute;
|
||||||
|
right: auto;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-offscreen-selection {
|
||||||
|
left: -2000000px;
|
||||||
|
max-width: 1000000px;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=true] {
|
||||||
|
cursor: text;
|
||||||
|
}
|
||||||
|
.tox-cursor-format-painter {
|
||||||
|
cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.align-left {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.align-right {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.image.align-center {
|
||||||
|
display: table;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
.mce-preview-object {
|
||||||
|
border: 1px solid gray;
|
||||||
|
display: inline-block;
|
||||||
|
line-height: 0;
|
||||||
|
margin: 0 2px 0 2px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-preview-object .mce-shim {
|
||||||
|
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.mce-preview-object[data-mce-selected="2"] .mce-shim {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.mce-object {
|
||||||
|
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||||
|
border: 1px dashed #aaa;
|
||||||
|
}
|
||||||
|
.mce-pagebreak {
|
||||||
|
border: 1px dashed #aaa;
|
||||||
|
cursor: default;
|
||||||
|
display: block;
|
||||||
|
height: 5px;
|
||||||
|
margin-top: 15px;
|
||||||
|
page-break-before: always;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
.mce-pagebreak {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tiny-pageembed .mce-shim {
|
||||||
|
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed[data-mce-selected="2"] .mce-shim {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.tiny-pageembed {
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9,
|
||||||
|
.tiny-pageembed--16by9,
|
||||||
|
.tiny-pageembed--4by3,
|
||||||
|
.tiny-pageembed--1by1 {
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9 {
|
||||||
|
padding-top: 42.857143%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--16by9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--4by3 {
|
||||||
|
padding-top: 75%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--1by1 {
|
||||||
|
padding-top: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9 iframe,
|
||||||
|
.tiny-pageembed--16by9 iframe,
|
||||||
|
.tiny-pageembed--4by3 iframe,
|
||||||
|
.tiny-pageembed--1by1 iframe {
|
||||||
|
border: 0;
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.mce-content-body[data-mce-placeholder] {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
color: rgba(34, 47, 62, 0.7);
|
||||||
|
content: attr(data-mce-placeholder);
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
left: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
right: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle {
|
||||||
|
background-color: #4099ff;
|
||||||
|
border-color: #4099ff;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 10px;
|
||||||
|
position: absolute;
|
||||||
|
width: 10px;
|
||||||
|
z-index: 1298;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:hover {
|
||||||
|
background-color: #4099ff;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(1) {
|
||||||
|
cursor: nwse-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(2) {
|
||||||
|
cursor: nesw-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(3) {
|
||||||
|
cursor: nwse-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(4) {
|
||||||
|
cursor: nesw-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-resize-backdrop {
|
||||||
|
z-index: 10000;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-clonedresizable {
|
||||||
|
cursor: default;
|
||||||
|
opacity: 0.5;
|
||||||
|
outline: 1px dashed black;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 10001;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-clonedresizable.mce-resizetable-columns th,
|
||||||
|
.mce-content-body .mce-clonedresizable.mce-resizetable-columns td {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-resize-helper {
|
||||||
|
background: #555;
|
||||||
|
background: rgba(0, 0, 0, 0.75);
|
||||||
|
border: 1px;
|
||||||
|
border-radius: 3px;
|
||||||
|
color: white;
|
||||||
|
display: none;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 14px;
|
||||||
|
margin: 5px 10px;
|
||||||
|
padding: 5px;
|
||||||
|
position: absolute;
|
||||||
|
white-space: nowrap;
|
||||||
|
z-index: 10002;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor {
|
||||||
|
bottom: 0;
|
||||||
|
cursor: default;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 2px;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor::before {
|
||||||
|
background-color: inherit;
|
||||||
|
border-radius: 50%;
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
height: 8px;
|
||||||
|
position: absolute;
|
||||||
|
right: -3px;
|
||||||
|
top: -3px;
|
||||||
|
width: 8px;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor:hover::after {
|
||||||
|
background-color: inherit;
|
||||||
|
border-radius: 100px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: #fff;
|
||||||
|
content: attr(data-user);
|
||||||
|
display: block;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: bold;
|
||||||
|
left: -5px;
|
||||||
|
min-height: 8px;
|
||||||
|
min-width: 8px;
|
||||||
|
padding: 0 12px;
|
||||||
|
position: absolute;
|
||||||
|
top: -11px;
|
||||||
|
white-space: nowrap;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--1 .tox-rtc-user-cursor {
|
||||||
|
background-color: #2dc26b;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--2 .tox-rtc-user-cursor {
|
||||||
|
background-color: #e03e2d;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--3 .tox-rtc-user-cursor {
|
||||||
|
background-color: #f1c40f;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--4 .tox-rtc-user-cursor {
|
||||||
|
background-color: #3598db;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--5 .tox-rtc-user-cursor {
|
||||||
|
background-color: #b96ad9;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--6 .tox-rtc-user-cursor {
|
||||||
|
background-color: #e67e23;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--7 .tox-rtc-user-cursor {
|
||||||
|
background-color: #aaa69d;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--8 .tox-rtc-user-cursor {
|
||||||
|
background-color: #f368e0;
|
||||||
|
}
|
||||||
|
.tox-rtc-remote-image {
|
||||||
|
background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
min-height: 240px;
|
||||||
|
min-width: 320px;
|
||||||
|
}
|
||||||
|
.mce-match-marker {
|
||||||
|
background: #aaa;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected::-moz-selection {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected::selection {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-content-body img[data-mce-selected],
|
||||||
|
.mce-content-body video[data-mce-selected],
|
||||||
|
.mce-content-body audio[data-mce-selected],
|
||||||
|
.mce-content-body object[data-mce-selected],
|
||||||
|
.mce-content-body embed[data-mce-selected],
|
||||||
|
.mce-content-body table[data-mce-selected] {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body hr[data-mce-selected] {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
outline-offset: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false][data-mce-selected] {
|
||||||
|
cursor: not-allowed;
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,
|
||||||
|
.mce-content-body.mce-content-readonly *[contentEditable=true]:hover {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
.mce-content-body *[data-mce-selected="inline-boundary"] {
|
||||||
|
background-color: #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-edit-focus {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected],
|
||||||
|
.mce-content-body th[data-mce-selected] {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::-moz-selection,
|
||||||
|
.mce-content-body th[data-mce-selected]::-moz-selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::selection,
|
||||||
|
.mce-content-body th[data-mce-selected]::selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected] *,
|
||||||
|
.mce-content-body th[data-mce-selected] * {
|
||||||
|
outline: none;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::after,
|
||||||
|
.mce-content-body th[data-mce-selected]::after {
|
||||||
|
background-color: rgba(180, 215, 255, 0.7);
|
||||||
|
border: 1px solid rgba(180, 215, 255, 0.7);
|
||||||
|
bottom: -1px;
|
||||||
|
content: '';
|
||||||
|
left: -1px;
|
||||||
|
mix-blend-mode: multiply;
|
||||||
|
position: absolute;
|
||||||
|
right: -1px;
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||||
|
.mce-content-body td[data-mce-selected]::after,
|
||||||
|
.mce-content-body th[data-mce-selected]::after {
|
||||||
|
border-color: rgba(0, 84, 180, 0.7);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.mce-content-body img::-moz-selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body img::selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-bar {
|
||||||
|
background-color: #b4d7ff;
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-cols {
|
||||||
|
cursor: col-resize;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-rows {
|
||||||
|
cursor: row-resize;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.mce-spellchecker-word {
|
||||||
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||||
|
background-position: 0 calc(100% + 1px);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
background-size: auto 6px;
|
||||||
|
cursor: default;
|
||||||
|
height: 2rem;
|
||||||
|
}
|
||||||
|
.mce-spellchecker-grammar {
|
||||||
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||||
|
background-position: 0 calc(100% + 1px);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
background-size: auto 6px;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.mce-toc {
|
||||||
|
border: 1px solid gray;
|
||||||
|
}
|
||||||
|
.mce-toc h2 {
|
||||||
|
margin: 4px;
|
||||||
|
}
|
||||||
|
.mce-toc li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
table[style*="border-width: 0px"],
|
||||||
|
.mce-item-table:not([border]),
|
||||||
|
.mce-item-table[border="0"],
|
||||||
|
table[style*="border-width: 0px"] td,
|
||||||
|
.mce-item-table:not([border]) td,
|
||||||
|
.mce-item-table[border="0"] td,
|
||||||
|
table[style*="border-width: 0px"] th,
|
||||||
|
.mce-item-table:not([border]) th,
|
||||||
|
.mce-item-table[border="0"] th,
|
||||||
|
table[style*="border-width: 0px"] caption,
|
||||||
|
.mce-item-table:not([border]) caption,
|
||||||
|
.mce-item-table[border="0"] caption {
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
}
|
||||||
|
.mce-visualblocks p,
|
||||||
|
.mce-visualblocks h1,
|
||||||
|
.mce-visualblocks h2,
|
||||||
|
.mce-visualblocks h3,
|
||||||
|
.mce-visualblocks h4,
|
||||||
|
.mce-visualblocks h5,
|
||||||
|
.mce-visualblocks h6,
|
||||||
|
.mce-visualblocks div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks section,
|
||||||
|
.mce-visualblocks article,
|
||||||
|
.mce-visualblocks blockquote,
|
||||||
|
.mce-visualblocks address,
|
||||||
|
.mce-visualblocks pre,
|
||||||
|
.mce-visualblocks figure,
|
||||||
|
.mce-visualblocks figcaption,
|
||||||
|
.mce-visualblocks hgroup,
|
||||||
|
.mce-visualblocks aside,
|
||||||
|
.mce-visualblocks ul,
|
||||||
|
.mce-visualblocks ol,
|
||||||
|
.mce-visualblocks dl {
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
margin-left: 3px;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
.mce-visualblocks p {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h1 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h2 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h3 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h4 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h5 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h6 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks div:not([data-mce-bogus]) {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks section {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks article {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks blockquote {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks address {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks pre {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks figure {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks figcaption {
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
}
|
||||||
|
.mce-visualblocks hgroup {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks aside {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks ul {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks ol {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks dl {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks:not([dir=rtl]) p,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h1,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h2,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h3,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h4,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h5,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h6,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks:not([dir=rtl]) section,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) article,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) blockquote,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) address,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) pre,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) figure,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) figcaption,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) hgroup,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) aside,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) ul,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) ol,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) dl {
|
||||||
|
margin-left: 3px;
|
||||||
|
}
|
||||||
|
.mce-visualblocks[dir=rtl] p,
|
||||||
|
.mce-visualblocks[dir=rtl] h1,
|
||||||
|
.mce-visualblocks[dir=rtl] h2,
|
||||||
|
.mce-visualblocks[dir=rtl] h3,
|
||||||
|
.mce-visualblocks[dir=rtl] h4,
|
||||||
|
.mce-visualblocks[dir=rtl] h5,
|
||||||
|
.mce-visualblocks[dir=rtl] h6,
|
||||||
|
.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks[dir=rtl] section,
|
||||||
|
.mce-visualblocks[dir=rtl] article,
|
||||||
|
.mce-visualblocks[dir=rtl] blockquote,
|
||||||
|
.mce-visualblocks[dir=rtl] address,
|
||||||
|
.mce-visualblocks[dir=rtl] pre,
|
||||||
|
.mce-visualblocks[dir=rtl] figure,
|
||||||
|
.mce-visualblocks[dir=rtl] figcaption,
|
||||||
|
.mce-visualblocks[dir=rtl] hgroup,
|
||||||
|
.mce-visualblocks[dir=rtl] aside,
|
||||||
|
.mce-visualblocks[dir=rtl] ul,
|
||||||
|
.mce-visualblocks[dir=rtl] ol,
|
||||||
|
.mce-visualblocks[dir=rtl] dl {
|
||||||
|
background-position-x: right;
|
||||||
|
margin-right: 3px;
|
||||||
|
}
|
||||||
|
.mce-nbsp,
|
||||||
|
.mce-shy {
|
||||||
|
background: #aaa;
|
||||||
|
}
|
||||||
|
.mce-shy::after {
|
||||||
|
content: '-';
|
||||||
|
}
|
||||||
7
public/tinymce/skins/ui/oxide-dark/content.inline.min.css
vendored
Normal file
7
public/tinymce/skins/ui/oxide-dark/content.min.css
vendored
Normal file
29
public/tinymce/skins/ui/oxide-dark/content.mobile.css
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
.tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection {
|
||||||
|
/* Note: this file is used inside the content, so isn't part of theming */
|
||||||
|
background-color: green;
|
||||||
|
display: inline-block;
|
||||||
|
opacity: 0.5;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
-webkit-text-size-adjust: none;
|
||||||
|
}
|
||||||
|
body img {
|
||||||
|
/* this is related to the content margin */
|
||||||
|
max-width: 96vw;
|
||||||
|
}
|
||||||
|
body table img {
|
||||||
|
max-width: 95%;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
7
public/tinymce/skins/ui/oxide-dark/content.mobile.min.css
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
.tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse}
|
||||||
BIN
public/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff
Normal file
3047
public/tinymce/skins/ui/oxide-dark/skin.css
Normal file
7
public/tinymce/skins/ui/oxide-dark/skin.min.css
vendored
Normal file
673
public/tinymce/skins/ui/oxide-dark/skin.mobile.css
Normal file
@@ -0,0 +1,673 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
/* RESET all the things! */
|
||||||
|
.tinymce-mobile-outer-container {
|
||||||
|
all: initial;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container * {
|
||||||
|
border: 0;
|
||||||
|
box-sizing: initial;
|
||||||
|
cursor: inherit;
|
||||||
|
float: none;
|
||||||
|
line-height: 1;
|
||||||
|
margin: 0;
|
||||||
|
outline: 0;
|
||||||
|
padding: 0;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
/* TBIO-3691, stop the gray flicker on touch. */
|
||||||
|
text-shadow: none;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-arrow-back::before {
|
||||||
|
content: "\e5cd";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-image::before {
|
||||||
|
content: "\e412";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-cancel-circle::before {
|
||||||
|
content: "\e5c9";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-full-dot::before {
|
||||||
|
content: "\e061";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-align-center::before {
|
||||||
|
content: "\e234";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-align-left::before {
|
||||||
|
content: "\e236";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-align-right::before {
|
||||||
|
content: "\e237";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-bold::before {
|
||||||
|
content: "\e238";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-italic::before {
|
||||||
|
content: "\e23f";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-unordered-list::before {
|
||||||
|
content: "\e241";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-ordered-list::before {
|
||||||
|
content: "\e242";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-font-size::before {
|
||||||
|
content: "\e245";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-underline::before {
|
||||||
|
content: "\e249";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-link::before {
|
||||||
|
content: "\e157";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-unlink::before {
|
||||||
|
content: "\eca2";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-color::before {
|
||||||
|
content: "\e891";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-previous::before {
|
||||||
|
content: "\e314";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-next::before {
|
||||||
|
content: "\e315";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-large-font::before,
|
||||||
|
.tinymce-mobile-icon-style-formats::before {
|
||||||
|
content: "\e264";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-undo::before {
|
||||||
|
content: "\e166";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-redo::before {
|
||||||
|
content: "\e15a";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-removeformat::before {
|
||||||
|
content: "\e239";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-small-font::before {
|
||||||
|
content: "\e906";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-readonly-back::before,
|
||||||
|
.tinymce-mobile-format-matches::after {
|
||||||
|
content: "\e5ca";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-small-heading::before {
|
||||||
|
content: "small";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-large-heading::before {
|
||||||
|
content: "large";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-small-heading::before,
|
||||||
|
.tinymce-mobile-icon-large-heading::before {
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-mask-edit-icon::before {
|
||||||
|
content: "\e254";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-back::before {
|
||||||
|
content: "\e5c4";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-heading::before {
|
||||||
|
/* TODO: Translate */
|
||||||
|
content: "Headings";
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 80%;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-h1::before {
|
||||||
|
content: "H1";
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-h2::before {
|
||||||
|
content: "H2";
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-h3::before {
|
||||||
|
content: "H3";
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
background: rgba(51, 51, 51, 0.5);
|
||||||
|
height: 100%;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container {
|
||||||
|
align-items: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 1em;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .mixin-menu-item {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
height: 2.1em;
|
||||||
|
width: 2.1em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
@media only screen and (min-device-width:700px) {
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section {
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
height: 2.1em;
|
||||||
|
width: 2.1em;
|
||||||
|
background-color: white;
|
||||||
|
color: #207ab7;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon::before {
|
||||||
|
content: "\e900";
|
||||||
|
font-family: 'tinymce-mobile', sans-serif;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section:not(.tinymce-mobile-mask-tap-icon-selected) .tinymce-mobile-mask-tap-icon {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-android-container.tinymce-mobile-android-maximized {
|
||||||
|
background: #ffffff;
|
||||||
|
border: none;
|
||||||
|
bottom: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
left: 0;
|
||||||
|
position: fixed;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-android-container:not(.tinymce-mobile-android-maximized) {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-android-container .tinymce-mobile-editor-socket {
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-android-container .tinymce-mobile-editor-socket iframe {
|
||||||
|
display: flex !important;
|
||||||
|
flex-grow: 1;
|
||||||
|
height: auto !important;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-android-scroll-reload {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
:not(.tinymce-mobile-readonly-mode) > .tinymce-mobile-android-selection-context-toolbar {
|
||||||
|
margin-top: 23px;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip {
|
||||||
|
background: #fff;
|
||||||
|
display: flex;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar {
|
||||||
|
align-items: center;
|
||||||
|
background-color: #fff;
|
||||||
|
border-bottom: 1px solid #cccccc;
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
height: 2.5em;
|
||||||
|
width: 100%;
|
||||||
|
/* Make it no larger than the toolstrip, so that it needs to scroll */
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
flex-shrink: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group > div {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-exit-container {
|
||||||
|
background: #f44336;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-toolbar-scrollable-group {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item {
|
||||||
|
padding-left: 0.5em;
|
||||||
|
padding-right: 0.5em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 80%;
|
||||||
|
margin-left: 2px;
|
||||||
|
margin-right: 2px;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button.tinymce-mobile-toolbar-button-selected {
|
||||||
|
background: #c8cbcf;
|
||||||
|
color: #cccccc;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:first-of-type,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:last-of-type {
|
||||||
|
background: #207ab7;
|
||||||
|
color: #eceff1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar {
|
||||||
|
/* Note, this file is imported inside .tinymce-mobile-context-toolbar, so that prefix is on everything here. */
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
|
padding-bottom: 0.4em;
|
||||||
|
padding-top: 0.4em;
|
||||||
|
/* Make any buttons appearing on the left and right display in the centre (e.g. color edges) */
|
||||||
|
/* For widgets like the colour picker, use the whole height */
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog {
|
||||||
|
display: flex;
|
||||||
|
min-height: 1.5em;
|
||||||
|
overflow: hidden;
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain {
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
transition: left cubic-bezier(0.4, 0, 1, 1) 0.15s;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen {
|
||||||
|
display: flex;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen input {
|
||||||
|
font-family: Sans-serif;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container {
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container .tinymce-mobile-input-container-x {
|
||||||
|
-ms-grid-row-align: center;
|
||||||
|
align-self: center;
|
||||||
|
background: inherit;
|
||||||
|
border: none;
|
||||||
|
border-radius: 50%;
|
||||||
|
color: #888;
|
||||||
|
font-size: 0.6em;
|
||||||
|
font-weight: bold;
|
||||||
|
height: 100%;
|
||||||
|
padding-right: 2px;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container.tinymce-mobile-input-container-empty .tinymce-mobile-input-container-x {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous::before,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next::before {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
font-weight: bold;
|
||||||
|
height: 100%;
|
||||||
|
padding-left: 0.5em;
|
||||||
|
padding-right: 0.5em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous.tinymce-mobile-toolbar-navigation-disabled::before,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next.tinymce-mobile-toolbar-navigation-disabled::before {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item {
|
||||||
|
color: #cccccc;
|
||||||
|
font-size: 10px;
|
||||||
|
line-height: 10px;
|
||||||
|
margin: 0 2px;
|
||||||
|
padding-top: 3px;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item.tinymce-mobile-dot-active {
|
||||||
|
color: #c8cbcf;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-font::before,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-heading::before {
|
||||||
|
margin-left: 0.5em;
|
||||||
|
margin-right: 0.9em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-font::before,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-heading::before {
|
||||||
|
margin-left: 0.9em;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider {
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
padding: 0.28em 0;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container .tinymce-mobile-slider-size-line {
|
||||||
|
background: #cccccc;
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
height: 0.2em;
|
||||||
|
margin-bottom: 0.3em;
|
||||||
|
margin-top: 0.3em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container {
|
||||||
|
padding-left: 2em;
|
||||||
|
padding-right: 2em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container .tinymce-mobile-slider-gradient {
|
||||||
|
background: linear-gradient(to right, hsl(0, 100%, 50%) 0%, hsl(60, 100%, 50%) 17%, hsl(120, 100%, 50%) 33%, hsl(180, 100%, 50%) 50%, hsl(240, 100%, 50%) 67%, hsl(300, 100%, 50%) 83%, hsl(0, 100%, 50%) 100%);
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
height: 0.2em;
|
||||||
|
margin-bottom: 0.3em;
|
||||||
|
margin-top: 0.3em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-black {
|
||||||
|
/* Not part of theming */
|
||||||
|
background: black;
|
||||||
|
height: 0.2em;
|
||||||
|
margin-bottom: 0.3em;
|
||||||
|
margin-top: 0.3em;
|
||||||
|
width: 1.2em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-white {
|
||||||
|
/* Not part of theming */
|
||||||
|
background: white;
|
||||||
|
height: 0.2em;
|
||||||
|
margin-bottom: 0.3em;
|
||||||
|
margin-top: 0.3em;
|
||||||
|
width: 1.2em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb {
|
||||||
|
/* vertically centering trick (margin: auto, top: 0, bottom: 0). On iOS and Safari, if you leave
|
||||||
|
* out these values, then it shows the thumb at the top of the spectrum. This is probably because it is
|
||||||
|
* absolutely positioned with only a left value, and not a top. Note, on Chrome it seems to be fine without
|
||||||
|
* this approach.
|
||||||
|
*/
|
||||||
|
align-items: center;
|
||||||
|
background-clip: padding-box;
|
||||||
|
background-color: #455a64;
|
||||||
|
border: 0.5em solid rgba(136, 136, 136, 0);
|
||||||
|
border-radius: 3em;
|
||||||
|
bottom: 0;
|
||||||
|
color: #fff;
|
||||||
|
display: flex;
|
||||||
|
height: 0.5em;
|
||||||
|
justify-content: center;
|
||||||
|
left: -10px;
|
||||||
|
margin: auto;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
transition: border 120ms cubic-bezier(0.39, 0.58, 0.57, 1);
|
||||||
|
width: 0.5em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb.tinymce-mobile-thumb-active {
|
||||||
|
border: 0.5em solid rgba(136, 136, 136, 0.39);
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group > div {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item:not(.tinymce-mobile-serialised-dialog) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-container {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input {
|
||||||
|
background: #ffffff;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
color: #455a64;
|
||||||
|
flex-grow: 1;
|
||||||
|
font-size: 0.85em;
|
||||||
|
padding-bottom: 0.1em;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-top: 0.1em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::-webkit-input-placeholder {
|
||||||
|
/* WebKit, Blink, Edge */
|
||||||
|
color: #888;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::placeholder {
|
||||||
|
/* WebKit, Blink, Edge */
|
||||||
|
color: #888;
|
||||||
|
}
|
||||||
|
/* dropup */
|
||||||
|
.tinymce-mobile-dropup {
|
||||||
|
background: white;
|
||||||
|
display: flex;
|
||||||
|
overflow: hidden;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-dropup.tinymce-mobile-dropup-shrinking {
|
||||||
|
transition: height 0.3s ease-out;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-dropup.tinymce-mobile-dropup-growing {
|
||||||
|
transition: height 0.3s ease-in;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-dropup.tinymce-mobile-dropup-closed {
|
||||||
|
flex-grow: 0;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-dropup.tinymce-mobile-dropup-open:not(.tinymce-mobile-dropup-growing) {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
/* TODO min-height for device size and orientation */
|
||||||
|
.tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) {
|
||||||
|
min-height: 200px;
|
||||||
|
}
|
||||||
|
@media only screen and (orientation: landscape) {
|
||||||
|
.tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) {
|
||||||
|
min-height: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
|
||||||
|
.tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) {
|
||||||
|
min-height: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* styles menu */
|
||||||
|
.tinymce-mobile-styles-menu {
|
||||||
|
font-family: sans-serif;
|
||||||
|
outline: 4px solid black;
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu [role="menu"] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100%;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu [role="menu"].transitioning {
|
||||||
|
transition: transform 0.5s ease-in-out;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-item {
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
|
color: #455a64;
|
||||||
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
padding: 1em 1em;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser .tinymce-mobile-styles-collapse-icon::before {
|
||||||
|
color: #455a64;
|
||||||
|
content: "\e314";
|
||||||
|
font-family: 'tinymce-mobile', sans-serif;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-styles-item-is-menu::after {
|
||||||
|
color: #455a64;
|
||||||
|
content: "\e315";
|
||||||
|
font-family: 'tinymce-mobile', sans-serif;
|
||||||
|
padding-left: 1em;
|
||||||
|
padding-right: 1em;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-format-matches::after {
|
||||||
|
font-family: 'tinymce-mobile', sans-serif;
|
||||||
|
padding-left: 1em;
|
||||||
|
padding-right: 1em;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-separator,
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser {
|
||||||
|
align-items: center;
|
||||||
|
background: #fff;
|
||||||
|
border-top: #455a64;
|
||||||
|
color: #455a64;
|
||||||
|
display: flex;
|
||||||
|
min-height: 2.5em;
|
||||||
|
padding-left: 1em;
|
||||||
|
padding-right: 1em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-destination="before"][data-transitioning-state],
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-state="before"] {
|
||||||
|
transform: translate(-100%);
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-destination="current"][data-transitioning-state],
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-state="current"] {
|
||||||
|
transform: translate(0%);
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-destination="after"][data-transitioning-state],
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-state="after"] {
|
||||||
|
transform: translate(100%);
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'tinymce-mobile';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
src: url('fonts/tinymce-mobile.woff?8x92w3') format('woff');
|
||||||
|
}
|
||||||
|
@media (min-device-width: 700px) {
|
||||||
|
.tinymce-mobile-outer-container,
|
||||||
|
.tinymce-mobile-outer-container input {
|
||||||
|
font-size: 25px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-device-width: 700px) {
|
||||||
|
.tinymce-mobile-outer-container,
|
||||||
|
.tinymce-mobile-outer-container input {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon {
|
||||||
|
font-family: 'tinymce-mobile', sans-serif;
|
||||||
|
}
|
||||||
|
.mixin-flex-and-centre {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.mixin-flex-bar {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-editor-socket iframe {
|
||||||
|
background-color: #fff;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon {
|
||||||
|
/* Note, on the iPod touch in landscape, this isn't visible when the navbar appears */
|
||||||
|
background-color: #207ab7;
|
||||||
|
border-radius: 50%;
|
||||||
|
bottom: 1em;
|
||||||
|
color: white;
|
||||||
|
font-size: 1em;
|
||||||
|
height: 2.1em;
|
||||||
|
position: fixed;
|
||||||
|
right: 2em;
|
||||||
|
width: 2.1em;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
@media only screen and (min-device-width:700px) {
|
||||||
|
.tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon {
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket {
|
||||||
|
height: 300px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket iframe {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-toolstrip {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Note, that if you don't include this (::-webkit-file-upload-button), the toolbar width gets
|
||||||
|
increased and the whole body becomes scrollable. It's important!
|
||||||
|
*/
|
||||||
|
input[type="file"]::-webkit-file-upload-button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
|
||||||
|
.tinymce-mobile-ios-container .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon {
|
||||||
|
bottom: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
7
public/tinymce/skins/ui/oxide-dark/skin.mobile.min.css
vendored
Normal file
37
public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
body.tox-dialog__disable-scroll {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.tox-fullscreen {
|
||||||
|
border: 0;
|
||||||
|
height: 100%;
|
||||||
|
margin: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
-ms-scroll-chaining: none;
|
||||||
|
overscroll-behavior: none;
|
||||||
|
padding: 0;
|
||||||
|
touch-action: pinch-zoom;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.tox.tox-tinymce.tox-fullscreen,
|
||||||
|
.tox-shadowhost.tox-fullscreen {
|
||||||
|
left: 0;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1200;
|
||||||
|
}
|
||||||
|
.tox.tox-tinymce.tox-fullscreen {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
.tox-fullscreen .tox.tox-tinymce-aux,
|
||||||
|
.tox-fullscreen ~ .tox.tox-tinymce-aux {
|
||||||
|
z-index: 1201;
|
||||||
|
}
|
||||||
7
public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}
|
||||||
732
public/tinymce/skins/ui/oxide/content.css
Normal file
@@ -0,0 +1,732 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
.mce-content-body .mce-item-anchor {
|
||||||
|
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||||
|
cursor: default;
|
||||||
|
display: inline-block;
|
||||||
|
height: 12px !important;
|
||||||
|
padding: 0 2px;
|
||||||
|
-webkit-user-modify: read-only;
|
||||||
|
-moz-user-modify: read-only;
|
||||||
|
-webkit-user-select: all;
|
||||||
|
-moz-user-select: all;
|
||||||
|
-ms-user-select: all;
|
||||||
|
user-select: all;
|
||||||
|
width: 8px !important;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-item-anchor[data-mce-selected] {
|
||||||
|
outline-offset: 1px;
|
||||||
|
}
|
||||||
|
.tox-comments-visible .tox-comment {
|
||||||
|
background-color: #fff0b7;
|
||||||
|
}
|
||||||
|
.tox-comments-visible .tox-comment--active {
|
||||||
|
background-color: #ffe168;
|
||||||
|
}
|
||||||
|
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0.25em 0;
|
||||||
|
}
|
||||||
|
.tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||||
|
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||||
|
cursor: pointer;
|
||||||
|
height: 1em;
|
||||||
|
margin-left: -1.5em;
|
||||||
|
margin-top: 0.125em;
|
||||||
|
position: absolute;
|
||||||
|
width: 1em;
|
||||||
|
}
|
||||||
|
.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before {
|
||||||
|
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||||
|
}
|
||||||
|
[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: -1.5em;
|
||||||
|
}
|
||||||
|
/* stylelint-disable */
|
||||||
|
/* http://prismjs.com/ */
|
||||||
|
/**
|
||||||
|
* prism.js default theme for JavaScript, CSS and HTML
|
||||||
|
* Based on dabblet (http://dabblet.com)
|
||||||
|
* @author Lea Verou
|
||||||
|
*/
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: black;
|
||||||
|
background: none;
|
||||||
|
text-shadow: 0 1px white;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
pre[class*="language-"]::-moz-selection,
|
||||||
|
pre[class*="language-"] ::-moz-selection,
|
||||||
|
code[class*="language-"]::-moz-selection,
|
||||||
|
code[class*="language-"] ::-moz-selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
pre[class*="language-"]::selection,
|
||||||
|
pre[class*="language-"] ::selection,
|
||||||
|
code[class*="language-"]::selection,
|
||||||
|
code[class*="language-"] ::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: 0.5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
:not(pre) > code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background: #f5f2f0;
|
||||||
|
}
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
padding: 0.1em;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: slategray;
|
||||||
|
}
|
||||||
|
.token.punctuation {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
.namespace {
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.deleted {
|
||||||
|
color: #905;
|
||||||
|
}
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.builtin,
|
||||||
|
.token.inserted {
|
||||||
|
color: #690;
|
||||||
|
}
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string {
|
||||||
|
color: #9a6e3a;
|
||||||
|
background: hsla(0, 0%, 100%, 0.5);
|
||||||
|
}
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.keyword {
|
||||||
|
color: #07a;
|
||||||
|
}
|
||||||
|
.token.function,
|
||||||
|
.token.class-name {
|
||||||
|
color: #DD4A68;
|
||||||
|
}
|
||||||
|
.token.regex,
|
||||||
|
.token.important,
|
||||||
|
.token.variable {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
/* stylelint-enable */
|
||||||
|
.mce-content-body {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-visual-caret {
|
||||||
|
background-color: black;
|
||||||
|
background-color: currentColor;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-visual-caret-hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.mce-content-body *[data-mce-caret] {
|
||||||
|
left: -1000px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
position: absolute;
|
||||||
|
right: auto;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-offscreen-selection {
|
||||||
|
left: -2000000px;
|
||||||
|
max-width: 1000000px;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=true] {
|
||||||
|
cursor: text;
|
||||||
|
}
|
||||||
|
.tox-cursor-format-painter {
|
||||||
|
cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.align-left {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.align-right {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.image.align-center {
|
||||||
|
display: table;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
.mce-preview-object {
|
||||||
|
border: 1px solid gray;
|
||||||
|
display: inline-block;
|
||||||
|
line-height: 0;
|
||||||
|
margin: 0 2px 0 2px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-preview-object .mce-shim {
|
||||||
|
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.mce-preview-object[data-mce-selected="2"] .mce-shim {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.mce-object {
|
||||||
|
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||||
|
border: 1px dashed #aaa;
|
||||||
|
}
|
||||||
|
.mce-pagebreak {
|
||||||
|
border: 1px dashed #aaa;
|
||||||
|
cursor: default;
|
||||||
|
display: block;
|
||||||
|
height: 5px;
|
||||||
|
margin-top: 15px;
|
||||||
|
page-break-before: always;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
.mce-pagebreak {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tiny-pageembed .mce-shim {
|
||||||
|
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed[data-mce-selected="2"] .mce-shim {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.tiny-pageembed {
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9,
|
||||||
|
.tiny-pageembed--16by9,
|
||||||
|
.tiny-pageembed--4by3,
|
||||||
|
.tiny-pageembed--1by1 {
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9 {
|
||||||
|
padding-top: 42.857143%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--16by9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--4by3 {
|
||||||
|
padding-top: 75%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--1by1 {
|
||||||
|
padding-top: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9 iframe,
|
||||||
|
.tiny-pageembed--16by9 iframe,
|
||||||
|
.tiny-pageembed--4by3 iframe,
|
||||||
|
.tiny-pageembed--1by1 iframe {
|
||||||
|
border: 0;
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.mce-content-body[data-mce-placeholder] {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
color: rgba(34, 47, 62, 0.7);
|
||||||
|
content: attr(data-mce-placeholder);
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
left: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
right: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle {
|
||||||
|
background-color: #4099ff;
|
||||||
|
border-color: #4099ff;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 10px;
|
||||||
|
position: absolute;
|
||||||
|
width: 10px;
|
||||||
|
z-index: 1298;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:hover {
|
||||||
|
background-color: #4099ff;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(1) {
|
||||||
|
cursor: nwse-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(2) {
|
||||||
|
cursor: nesw-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(3) {
|
||||||
|
cursor: nwse-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(4) {
|
||||||
|
cursor: nesw-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-resize-backdrop {
|
||||||
|
z-index: 10000;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-clonedresizable {
|
||||||
|
cursor: default;
|
||||||
|
opacity: 0.5;
|
||||||
|
outline: 1px dashed black;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 10001;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-clonedresizable.mce-resizetable-columns th,
|
||||||
|
.mce-content-body .mce-clonedresizable.mce-resizetable-columns td {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-resize-helper {
|
||||||
|
background: #555;
|
||||||
|
background: rgba(0, 0, 0, 0.75);
|
||||||
|
border: 1px;
|
||||||
|
border-radius: 3px;
|
||||||
|
color: white;
|
||||||
|
display: none;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 14px;
|
||||||
|
margin: 5px 10px;
|
||||||
|
padding: 5px;
|
||||||
|
position: absolute;
|
||||||
|
white-space: nowrap;
|
||||||
|
z-index: 10002;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor {
|
||||||
|
bottom: 0;
|
||||||
|
cursor: default;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 2px;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor::before {
|
||||||
|
background-color: inherit;
|
||||||
|
border-radius: 50%;
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
height: 8px;
|
||||||
|
position: absolute;
|
||||||
|
right: -3px;
|
||||||
|
top: -3px;
|
||||||
|
width: 8px;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor:hover::after {
|
||||||
|
background-color: inherit;
|
||||||
|
border-radius: 100px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: #fff;
|
||||||
|
content: attr(data-user);
|
||||||
|
display: block;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: bold;
|
||||||
|
left: -5px;
|
||||||
|
min-height: 8px;
|
||||||
|
min-width: 8px;
|
||||||
|
padding: 0 12px;
|
||||||
|
position: absolute;
|
||||||
|
top: -11px;
|
||||||
|
white-space: nowrap;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--1 .tox-rtc-user-cursor {
|
||||||
|
background-color: #2dc26b;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--2 .tox-rtc-user-cursor {
|
||||||
|
background-color: #e03e2d;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--3 .tox-rtc-user-cursor {
|
||||||
|
background-color: #f1c40f;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--4 .tox-rtc-user-cursor {
|
||||||
|
background-color: #3598db;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--5 .tox-rtc-user-cursor {
|
||||||
|
background-color: #b96ad9;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--6 .tox-rtc-user-cursor {
|
||||||
|
background-color: #e67e23;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--7 .tox-rtc-user-cursor {
|
||||||
|
background-color: #aaa69d;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--8 .tox-rtc-user-cursor {
|
||||||
|
background-color: #f368e0;
|
||||||
|
}
|
||||||
|
.tox-rtc-remote-image {
|
||||||
|
background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
min-height: 240px;
|
||||||
|
min-width: 320px;
|
||||||
|
}
|
||||||
|
.mce-match-marker {
|
||||||
|
background: #aaa;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected::-moz-selection {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected::selection {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-content-body img[data-mce-selected],
|
||||||
|
.mce-content-body video[data-mce-selected],
|
||||||
|
.mce-content-body audio[data-mce-selected],
|
||||||
|
.mce-content-body object[data-mce-selected],
|
||||||
|
.mce-content-body embed[data-mce-selected],
|
||||||
|
.mce-content-body table[data-mce-selected] {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body hr[data-mce-selected] {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
outline-offset: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false][data-mce-selected] {
|
||||||
|
cursor: not-allowed;
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,
|
||||||
|
.mce-content-body.mce-content-readonly *[contentEditable=true]:hover {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
.mce-content-body *[data-mce-selected="inline-boundary"] {
|
||||||
|
background-color: #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-edit-focus {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected],
|
||||||
|
.mce-content-body th[data-mce-selected] {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::-moz-selection,
|
||||||
|
.mce-content-body th[data-mce-selected]::-moz-selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::selection,
|
||||||
|
.mce-content-body th[data-mce-selected]::selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected] *,
|
||||||
|
.mce-content-body th[data-mce-selected] * {
|
||||||
|
outline: none;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::after,
|
||||||
|
.mce-content-body th[data-mce-selected]::after {
|
||||||
|
background-color: rgba(180, 215, 255, 0.7);
|
||||||
|
border: 1px solid rgba(180, 215, 255, 0.7);
|
||||||
|
bottom: -1px;
|
||||||
|
content: '';
|
||||||
|
left: -1px;
|
||||||
|
mix-blend-mode: multiply;
|
||||||
|
position: absolute;
|
||||||
|
right: -1px;
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||||
|
.mce-content-body td[data-mce-selected]::after,
|
||||||
|
.mce-content-body th[data-mce-selected]::after {
|
||||||
|
border-color: rgba(0, 84, 180, 0.7);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.mce-content-body img::-moz-selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body img::selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-bar {
|
||||||
|
background-color: #b4d7ff;
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-cols {
|
||||||
|
cursor: col-resize;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-rows {
|
||||||
|
cursor: row-resize;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.mce-spellchecker-word {
|
||||||
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||||
|
background-position: 0 calc(100% + 1px);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
background-size: auto 6px;
|
||||||
|
cursor: default;
|
||||||
|
height: 2rem;
|
||||||
|
}
|
||||||
|
.mce-spellchecker-grammar {
|
||||||
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||||
|
background-position: 0 calc(100% + 1px);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
background-size: auto 6px;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.mce-toc {
|
||||||
|
border: 1px solid gray;
|
||||||
|
}
|
||||||
|
.mce-toc h2 {
|
||||||
|
margin: 4px;
|
||||||
|
}
|
||||||
|
.mce-toc li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
table[style*="border-width: 0px"],
|
||||||
|
.mce-item-table:not([border]),
|
||||||
|
.mce-item-table[border="0"],
|
||||||
|
table[style*="border-width: 0px"] td,
|
||||||
|
.mce-item-table:not([border]) td,
|
||||||
|
.mce-item-table[border="0"] td,
|
||||||
|
table[style*="border-width: 0px"] th,
|
||||||
|
.mce-item-table:not([border]) th,
|
||||||
|
.mce-item-table[border="0"] th,
|
||||||
|
table[style*="border-width: 0px"] caption,
|
||||||
|
.mce-item-table:not([border]) caption,
|
||||||
|
.mce-item-table[border="0"] caption {
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
}
|
||||||
|
.mce-visualblocks p,
|
||||||
|
.mce-visualblocks h1,
|
||||||
|
.mce-visualblocks h2,
|
||||||
|
.mce-visualblocks h3,
|
||||||
|
.mce-visualblocks h4,
|
||||||
|
.mce-visualblocks h5,
|
||||||
|
.mce-visualblocks h6,
|
||||||
|
.mce-visualblocks div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks section,
|
||||||
|
.mce-visualblocks article,
|
||||||
|
.mce-visualblocks blockquote,
|
||||||
|
.mce-visualblocks address,
|
||||||
|
.mce-visualblocks pre,
|
||||||
|
.mce-visualblocks figure,
|
||||||
|
.mce-visualblocks figcaption,
|
||||||
|
.mce-visualblocks hgroup,
|
||||||
|
.mce-visualblocks aside,
|
||||||
|
.mce-visualblocks ul,
|
||||||
|
.mce-visualblocks ol,
|
||||||
|
.mce-visualblocks dl {
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
margin-left: 3px;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
.mce-visualblocks p {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h1 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h2 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h3 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h4 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h5 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h6 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks div:not([data-mce-bogus]) {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks section {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks article {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks blockquote {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks address {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks pre {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks figure {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks figcaption {
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
}
|
||||||
|
.mce-visualblocks hgroup {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks aside {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks ul {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks ol {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks dl {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks:not([dir=rtl]) p,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h1,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h2,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h3,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h4,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h5,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h6,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks:not([dir=rtl]) section,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) article,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) blockquote,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) address,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) pre,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) figure,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) figcaption,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) hgroup,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) aside,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) ul,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) ol,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) dl {
|
||||||
|
margin-left: 3px;
|
||||||
|
}
|
||||||
|
.mce-visualblocks[dir=rtl] p,
|
||||||
|
.mce-visualblocks[dir=rtl] h1,
|
||||||
|
.mce-visualblocks[dir=rtl] h2,
|
||||||
|
.mce-visualblocks[dir=rtl] h3,
|
||||||
|
.mce-visualblocks[dir=rtl] h4,
|
||||||
|
.mce-visualblocks[dir=rtl] h5,
|
||||||
|
.mce-visualblocks[dir=rtl] h6,
|
||||||
|
.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks[dir=rtl] section,
|
||||||
|
.mce-visualblocks[dir=rtl] article,
|
||||||
|
.mce-visualblocks[dir=rtl] blockquote,
|
||||||
|
.mce-visualblocks[dir=rtl] address,
|
||||||
|
.mce-visualblocks[dir=rtl] pre,
|
||||||
|
.mce-visualblocks[dir=rtl] figure,
|
||||||
|
.mce-visualblocks[dir=rtl] figcaption,
|
||||||
|
.mce-visualblocks[dir=rtl] hgroup,
|
||||||
|
.mce-visualblocks[dir=rtl] aside,
|
||||||
|
.mce-visualblocks[dir=rtl] ul,
|
||||||
|
.mce-visualblocks[dir=rtl] ol,
|
||||||
|
.mce-visualblocks[dir=rtl] dl {
|
||||||
|
background-position-x: right;
|
||||||
|
margin-right: 3px;
|
||||||
|
}
|
||||||
|
.mce-nbsp,
|
||||||
|
.mce-shy {
|
||||||
|
background: #aaa;
|
||||||
|
}
|
||||||
|
.mce-shy::after {
|
||||||
|
content: '-';
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
726
public/tinymce/skins/ui/oxide/content.inline.css
Normal file
@@ -0,0 +1,726 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
.mce-content-body .mce-item-anchor {
|
||||||
|
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||||
|
cursor: default;
|
||||||
|
display: inline-block;
|
||||||
|
height: 12px !important;
|
||||||
|
padding: 0 2px;
|
||||||
|
-webkit-user-modify: read-only;
|
||||||
|
-moz-user-modify: read-only;
|
||||||
|
-webkit-user-select: all;
|
||||||
|
-moz-user-select: all;
|
||||||
|
-ms-user-select: all;
|
||||||
|
user-select: all;
|
||||||
|
width: 8px !important;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-item-anchor[data-mce-selected] {
|
||||||
|
outline-offset: 1px;
|
||||||
|
}
|
||||||
|
.tox-comments-visible .tox-comment {
|
||||||
|
background-color: #fff0b7;
|
||||||
|
}
|
||||||
|
.tox-comments-visible .tox-comment--active {
|
||||||
|
background-color: #ffe168;
|
||||||
|
}
|
||||||
|
.tox-checklist > li:not(.tox-checklist--hidden) {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0.25em 0;
|
||||||
|
}
|
||||||
|
.tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||||
|
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||||
|
cursor: pointer;
|
||||||
|
height: 1em;
|
||||||
|
margin-left: -1.5em;
|
||||||
|
margin-top: 0.125em;
|
||||||
|
position: absolute;
|
||||||
|
width: 1em;
|
||||||
|
}
|
||||||
|
.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before {
|
||||||
|
content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");
|
||||||
|
}
|
||||||
|
[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: -1.5em;
|
||||||
|
}
|
||||||
|
/* stylelint-disable */
|
||||||
|
/* http://prismjs.com/ */
|
||||||
|
/**
|
||||||
|
* prism.js default theme for JavaScript, CSS and HTML
|
||||||
|
* Based on dabblet (http://dabblet.com)
|
||||||
|
* @author Lea Verou
|
||||||
|
*/
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: black;
|
||||||
|
background: none;
|
||||||
|
text-shadow: 0 1px white;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
pre[class*="language-"]::-moz-selection,
|
||||||
|
pre[class*="language-"] ::-moz-selection,
|
||||||
|
code[class*="language-"]::-moz-selection,
|
||||||
|
code[class*="language-"] ::-moz-selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
pre[class*="language-"]::selection,
|
||||||
|
pre[class*="language-"] ::selection,
|
||||||
|
code[class*="language-"]::selection,
|
||||||
|
code[class*="language-"] ::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: 0.5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
:not(pre) > code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background: #f5f2f0;
|
||||||
|
}
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre) > code[class*="language-"] {
|
||||||
|
padding: 0.1em;
|
||||||
|
border-radius: 0.3em;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: slategray;
|
||||||
|
}
|
||||||
|
.token.punctuation {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
.namespace {
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.deleted {
|
||||||
|
color: #905;
|
||||||
|
}
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.builtin,
|
||||||
|
.token.inserted {
|
||||||
|
color: #690;
|
||||||
|
}
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string {
|
||||||
|
color: #9a6e3a;
|
||||||
|
background: hsla(0, 0%, 100%, 0.5);
|
||||||
|
}
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.keyword {
|
||||||
|
color: #07a;
|
||||||
|
}
|
||||||
|
.token.function,
|
||||||
|
.token.class-name {
|
||||||
|
color: #DD4A68;
|
||||||
|
}
|
||||||
|
.token.regex,
|
||||||
|
.token.important,
|
||||||
|
.token.variable {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
/* stylelint-enable */
|
||||||
|
.mce-content-body {
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-visual-caret {
|
||||||
|
background-color: black;
|
||||||
|
background-color: currentColor;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-visual-caret-hidden {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.mce-content-body *[data-mce-caret] {
|
||||||
|
left: -1000px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
position: absolute;
|
||||||
|
right: auto;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-offscreen-selection {
|
||||||
|
left: -2000000px;
|
||||||
|
max-width: 1000000px;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=true] {
|
||||||
|
cursor: text;
|
||||||
|
}
|
||||||
|
.tox-cursor-format-painter {
|
||||||
|
cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.align-left {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.align-right {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
.mce-content-body figure.image.align-center {
|
||||||
|
display: table;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
.mce-preview-object {
|
||||||
|
border: 1px solid gray;
|
||||||
|
display: inline-block;
|
||||||
|
line-height: 0;
|
||||||
|
margin: 0 2px 0 2px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-preview-object .mce-shim {
|
||||||
|
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.mce-preview-object[data-mce-selected="2"] .mce-shim {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.mce-object {
|
||||||
|
background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;
|
||||||
|
border: 1px dashed #aaa;
|
||||||
|
}
|
||||||
|
.mce-pagebreak {
|
||||||
|
border: 1px dashed #aaa;
|
||||||
|
cursor: default;
|
||||||
|
display: block;
|
||||||
|
height: 5px;
|
||||||
|
margin-top: 15px;
|
||||||
|
page-break-before: always;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
@media print {
|
||||||
|
.mce-pagebreak {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tiny-pageembed .mce-shim {
|
||||||
|
background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed[data-mce-selected="2"] .mce-shim {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.tiny-pageembed {
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9,
|
||||||
|
.tiny-pageembed--16by9,
|
||||||
|
.tiny-pageembed--4by3,
|
||||||
|
.tiny-pageembed--1by1 {
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9 {
|
||||||
|
padding-top: 42.857143%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--16by9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--4by3 {
|
||||||
|
padding-top: 75%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--1by1 {
|
||||||
|
padding-top: 100%;
|
||||||
|
}
|
||||||
|
.tiny-pageembed--21by9 iframe,
|
||||||
|
.tiny-pageembed--16by9 iframe,
|
||||||
|
.tiny-pageembed--4by3 iframe,
|
||||||
|
.tiny-pageembed--1by1 iframe {
|
||||||
|
border: 0;
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.mce-content-body[data-mce-placeholder] {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
color: rgba(34, 47, 62, 0.7);
|
||||||
|
content: attr(data-mce-placeholder);
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
left: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before {
|
||||||
|
right: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle {
|
||||||
|
background-color: #4099ff;
|
||||||
|
border-color: #4099ff;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 10px;
|
||||||
|
position: absolute;
|
||||||
|
width: 10px;
|
||||||
|
z-index: 1298;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:hover {
|
||||||
|
background-color: #4099ff;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(1) {
|
||||||
|
cursor: nwse-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(2) {
|
||||||
|
cursor: nesw-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(3) {
|
||||||
|
cursor: nwse-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body div.mce-resizehandle:nth-of-type(4) {
|
||||||
|
cursor: nesw-resize;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-resize-backdrop {
|
||||||
|
z-index: 10000;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-clonedresizable {
|
||||||
|
cursor: default;
|
||||||
|
opacity: 0.5;
|
||||||
|
outline: 1px dashed black;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 10001;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-clonedresizable.mce-resizetable-columns th,
|
||||||
|
.mce-content-body .mce-clonedresizable.mce-resizetable-columns td {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-resize-helper {
|
||||||
|
background: #555;
|
||||||
|
background: rgba(0, 0, 0, 0.75);
|
||||||
|
border: 1px;
|
||||||
|
border-radius: 3px;
|
||||||
|
color: white;
|
||||||
|
display: none;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 14px;
|
||||||
|
margin: 5px 10px;
|
||||||
|
padding: 5px;
|
||||||
|
position: absolute;
|
||||||
|
white-space: nowrap;
|
||||||
|
z-index: 10002;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor {
|
||||||
|
bottom: 0;
|
||||||
|
cursor: default;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 2px;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor::before {
|
||||||
|
background-color: inherit;
|
||||||
|
border-radius: 50%;
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
height: 8px;
|
||||||
|
position: absolute;
|
||||||
|
right: -3px;
|
||||||
|
top: -3px;
|
||||||
|
width: 8px;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-cursor:hover::after {
|
||||||
|
background-color: inherit;
|
||||||
|
border-radius: 100px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: #fff;
|
||||||
|
content: attr(data-user);
|
||||||
|
display: block;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: bold;
|
||||||
|
left: -5px;
|
||||||
|
min-height: 8px;
|
||||||
|
min-width: 8px;
|
||||||
|
padding: 0 12px;
|
||||||
|
position: absolute;
|
||||||
|
top: -11px;
|
||||||
|
white-space: nowrap;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--1 .tox-rtc-user-cursor {
|
||||||
|
background-color: #2dc26b;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--2 .tox-rtc-user-cursor {
|
||||||
|
background-color: #e03e2d;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--3 .tox-rtc-user-cursor {
|
||||||
|
background-color: #f1c40f;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--4 .tox-rtc-user-cursor {
|
||||||
|
background-color: #3598db;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--5 .tox-rtc-user-cursor {
|
||||||
|
background-color: #b96ad9;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--6 .tox-rtc-user-cursor {
|
||||||
|
background-color: #e67e23;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--7 .tox-rtc-user-cursor {
|
||||||
|
background-color: #aaa69d;
|
||||||
|
}
|
||||||
|
.tox-rtc-user-selection--8 .tox-rtc-user-cursor {
|
||||||
|
background-color: #f368e0;
|
||||||
|
}
|
||||||
|
.tox-rtc-remote-image {
|
||||||
|
background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
min-height: 240px;
|
||||||
|
min-width: 320px;
|
||||||
|
}
|
||||||
|
.mce-match-marker {
|
||||||
|
background: #aaa;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected::-moz-selection {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-match-marker-selected::selection {
|
||||||
|
background: #39f;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.mce-content-body img[data-mce-selected],
|
||||||
|
.mce-content-body video[data-mce-selected],
|
||||||
|
.mce-content-body audio[data-mce-selected],
|
||||||
|
.mce-content-body object[data-mce-selected],
|
||||||
|
.mce-content-body embed[data-mce-selected],
|
||||||
|
.mce-content-body table[data-mce-selected] {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body hr[data-mce-selected] {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
outline-offset: 1px;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body *[contentEditable=false][data-mce-selected] {
|
||||||
|
cursor: not-allowed;
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,
|
||||||
|
.mce-content-body.mce-content-readonly *[contentEditable=true]:hover {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
.mce-content-body *[data-mce-selected="inline-boundary"] {
|
||||||
|
background-color: #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body .mce-edit-focus {
|
||||||
|
outline: 3px solid #b4d7ff;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected],
|
||||||
|
.mce-content-body th[data-mce-selected] {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::-moz-selection,
|
||||||
|
.mce-content-body th[data-mce-selected]::-moz-selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::selection,
|
||||||
|
.mce-content-body th[data-mce-selected]::selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected] *,
|
||||||
|
.mce-content-body th[data-mce-selected] * {
|
||||||
|
outline: none;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.mce-content-body td[data-mce-selected]::after,
|
||||||
|
.mce-content-body th[data-mce-selected]::after {
|
||||||
|
background-color: rgba(180, 215, 255, 0.7);
|
||||||
|
border: 1px solid rgba(180, 215, 255, 0.7);
|
||||||
|
bottom: -1px;
|
||||||
|
content: '';
|
||||||
|
left: -1px;
|
||||||
|
mix-blend-mode: multiply;
|
||||||
|
position: absolute;
|
||||||
|
right: -1px;
|
||||||
|
top: -1px;
|
||||||
|
}
|
||||||
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||||
|
.mce-content-body td[data-mce-selected]::after,
|
||||||
|
.mce-content-body th[data-mce-selected]::after {
|
||||||
|
border-color: rgba(0, 84, 180, 0.7);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.mce-content-body img::-moz-selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.mce-content-body img::selection {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-bar {
|
||||||
|
background-color: #b4d7ff;
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-cols {
|
||||||
|
cursor: col-resize;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-rows {
|
||||||
|
cursor: row-resize;
|
||||||
|
}
|
||||||
|
.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.mce-spellchecker-word {
|
||||||
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||||
|
background-position: 0 calc(100% + 1px);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
background-size: auto 6px;
|
||||||
|
cursor: default;
|
||||||
|
height: 2rem;
|
||||||
|
}
|
||||||
|
.mce-spellchecker-grammar {
|
||||||
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");
|
||||||
|
background-position: 0 calc(100% + 1px);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
background-size: auto 6px;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
.mce-toc {
|
||||||
|
border: 1px solid gray;
|
||||||
|
}
|
||||||
|
.mce-toc h2 {
|
||||||
|
margin: 4px;
|
||||||
|
}
|
||||||
|
.mce-toc li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
table[style*="border-width: 0px"],
|
||||||
|
.mce-item-table:not([border]),
|
||||||
|
.mce-item-table[border="0"],
|
||||||
|
table[style*="border-width: 0px"] td,
|
||||||
|
.mce-item-table:not([border]) td,
|
||||||
|
.mce-item-table[border="0"] td,
|
||||||
|
table[style*="border-width: 0px"] th,
|
||||||
|
.mce-item-table:not([border]) th,
|
||||||
|
.mce-item-table[border="0"] th,
|
||||||
|
table[style*="border-width: 0px"] caption,
|
||||||
|
.mce-item-table:not([border]) caption,
|
||||||
|
.mce-item-table[border="0"] caption {
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
}
|
||||||
|
.mce-visualblocks p,
|
||||||
|
.mce-visualblocks h1,
|
||||||
|
.mce-visualblocks h2,
|
||||||
|
.mce-visualblocks h3,
|
||||||
|
.mce-visualblocks h4,
|
||||||
|
.mce-visualblocks h5,
|
||||||
|
.mce-visualblocks h6,
|
||||||
|
.mce-visualblocks div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks section,
|
||||||
|
.mce-visualblocks article,
|
||||||
|
.mce-visualblocks blockquote,
|
||||||
|
.mce-visualblocks address,
|
||||||
|
.mce-visualblocks pre,
|
||||||
|
.mce-visualblocks figure,
|
||||||
|
.mce-visualblocks figcaption,
|
||||||
|
.mce-visualblocks hgroup,
|
||||||
|
.mce-visualblocks aside,
|
||||||
|
.mce-visualblocks ul,
|
||||||
|
.mce-visualblocks ol,
|
||||||
|
.mce-visualblocks dl {
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
margin-left: 3px;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
.mce-visualblocks p {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h1 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h2 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h3 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h4 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h5 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks h6 {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks div:not([data-mce-bogus]) {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks section {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks article {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks blockquote {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks address {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks pre {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks figure {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks figcaption {
|
||||||
|
border: 1px dashed #bbb;
|
||||||
|
}
|
||||||
|
.mce-visualblocks hgroup {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7);
|
||||||
|
}
|
||||||
|
.mce-visualblocks aside {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=);
|
||||||
|
}
|
||||||
|
.mce-visualblocks ul {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks ol {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks dl {
|
||||||
|
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==);
|
||||||
|
}
|
||||||
|
.mce-visualblocks:not([dir=rtl]) p,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h1,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h2,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h3,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h4,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h5,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) h6,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks:not([dir=rtl]) section,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) article,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) blockquote,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) address,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) pre,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) figure,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) figcaption,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) hgroup,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) aside,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) ul,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) ol,
|
||||||
|
.mce-visualblocks:not([dir=rtl]) dl {
|
||||||
|
margin-left: 3px;
|
||||||
|
}
|
||||||
|
.mce-visualblocks[dir=rtl] p,
|
||||||
|
.mce-visualblocks[dir=rtl] h1,
|
||||||
|
.mce-visualblocks[dir=rtl] h2,
|
||||||
|
.mce-visualblocks[dir=rtl] h3,
|
||||||
|
.mce-visualblocks[dir=rtl] h4,
|
||||||
|
.mce-visualblocks[dir=rtl] h5,
|
||||||
|
.mce-visualblocks[dir=rtl] h6,
|
||||||
|
.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),
|
||||||
|
.mce-visualblocks[dir=rtl] section,
|
||||||
|
.mce-visualblocks[dir=rtl] article,
|
||||||
|
.mce-visualblocks[dir=rtl] blockquote,
|
||||||
|
.mce-visualblocks[dir=rtl] address,
|
||||||
|
.mce-visualblocks[dir=rtl] pre,
|
||||||
|
.mce-visualblocks[dir=rtl] figure,
|
||||||
|
.mce-visualblocks[dir=rtl] figcaption,
|
||||||
|
.mce-visualblocks[dir=rtl] hgroup,
|
||||||
|
.mce-visualblocks[dir=rtl] aside,
|
||||||
|
.mce-visualblocks[dir=rtl] ul,
|
||||||
|
.mce-visualblocks[dir=rtl] ol,
|
||||||
|
.mce-visualblocks[dir=rtl] dl {
|
||||||
|
background-position-x: right;
|
||||||
|
margin-right: 3px;
|
||||||
|
}
|
||||||
|
.mce-nbsp,
|
||||||
|
.mce-shy {
|
||||||
|
background: #aaa;
|
||||||
|
}
|
||||||
|
.mce-shy::after {
|
||||||
|
content: '-';
|
||||||
|
}
|
||||||
7
public/tinymce/skins/ui/oxide/content.inline.min.css
vendored
Normal file
7
public/tinymce/skins/ui/oxide/content.min.css
vendored
Normal file
29
public/tinymce/skins/ui/oxide/content.mobile.css
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
.tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection {
|
||||||
|
/* Note: this file is used inside the content, so isn't part of theming */
|
||||||
|
background-color: green;
|
||||||
|
display: inline-block;
|
||||||
|
opacity: 0.5;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
-webkit-text-size-adjust: none;
|
||||||
|
}
|
||||||
|
body img {
|
||||||
|
/* this is related to the content margin */
|
||||||
|
max-width: 96vw;
|
||||||
|
}
|
||||||
|
body table img {
|
||||||
|
max-width: 95%;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
7
public/tinymce/skins/ui/oxide/content.mobile.min.css
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
.tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse}
|
||||||
BIN
public/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff
Normal file
3055
public/tinymce/skins/ui/oxide/skin.css
Normal file
7
public/tinymce/skins/ui/oxide/skin.min.css
vendored
Normal file
673
public/tinymce/skins/ui/oxide/skin.mobile.css
Normal file
@@ -0,0 +1,673 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
/* RESET all the things! */
|
||||||
|
.tinymce-mobile-outer-container {
|
||||||
|
all: initial;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container * {
|
||||||
|
border: 0;
|
||||||
|
box-sizing: initial;
|
||||||
|
cursor: inherit;
|
||||||
|
float: none;
|
||||||
|
line-height: 1;
|
||||||
|
margin: 0;
|
||||||
|
outline: 0;
|
||||||
|
padding: 0;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
/* TBIO-3691, stop the gray flicker on touch. */
|
||||||
|
text-shadow: none;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-arrow-back::before {
|
||||||
|
content: "\e5cd";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-image::before {
|
||||||
|
content: "\e412";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-cancel-circle::before {
|
||||||
|
content: "\e5c9";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-full-dot::before {
|
||||||
|
content: "\e061";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-align-center::before {
|
||||||
|
content: "\e234";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-align-left::before {
|
||||||
|
content: "\e236";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-align-right::before {
|
||||||
|
content: "\e237";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-bold::before {
|
||||||
|
content: "\e238";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-italic::before {
|
||||||
|
content: "\e23f";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-unordered-list::before {
|
||||||
|
content: "\e241";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-ordered-list::before {
|
||||||
|
content: "\e242";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-font-size::before {
|
||||||
|
content: "\e245";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-underline::before {
|
||||||
|
content: "\e249";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-link::before {
|
||||||
|
content: "\e157";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-unlink::before {
|
||||||
|
content: "\eca2";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-color::before {
|
||||||
|
content: "\e891";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-previous::before {
|
||||||
|
content: "\e314";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-next::before {
|
||||||
|
content: "\e315";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-large-font::before,
|
||||||
|
.tinymce-mobile-icon-style-formats::before {
|
||||||
|
content: "\e264";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-undo::before {
|
||||||
|
content: "\e166";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-redo::before {
|
||||||
|
content: "\e15a";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-removeformat::before {
|
||||||
|
content: "\e239";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-small-font::before {
|
||||||
|
content: "\e906";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-readonly-back::before,
|
||||||
|
.tinymce-mobile-format-matches::after {
|
||||||
|
content: "\e5ca";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-small-heading::before {
|
||||||
|
content: "small";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-large-heading::before {
|
||||||
|
content: "large";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-small-heading::before,
|
||||||
|
.tinymce-mobile-icon-large-heading::before {
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-mask-edit-icon::before {
|
||||||
|
content: "\e254";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-back::before {
|
||||||
|
content: "\e5c4";
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-heading::before {
|
||||||
|
/* TODO: Translate */
|
||||||
|
content: "Headings";
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 80%;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-h1::before {
|
||||||
|
content: "H1";
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-h2::before {
|
||||||
|
content: "H2";
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon-h3::before {
|
||||||
|
content: "H3";
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
background: rgba(51, 51, 51, 0.5);
|
||||||
|
height: 100%;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container {
|
||||||
|
align-items: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 1em;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .mixin-menu-item {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
height: 2.1em;
|
||||||
|
width: 2.1em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
@media only screen and (min-device-width:700px) {
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section {
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
border-radius: 50%;
|
||||||
|
height: 2.1em;
|
||||||
|
width: 2.1em;
|
||||||
|
background-color: white;
|
||||||
|
color: #207ab7;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon::before {
|
||||||
|
content: "\e900";
|
||||||
|
font-family: 'tinymce-mobile', sans-serif;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section:not(.tinymce-mobile-mask-tap-icon-selected) .tinymce-mobile-mask-tap-icon {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-android-container.tinymce-mobile-android-maximized {
|
||||||
|
background: #ffffff;
|
||||||
|
border: none;
|
||||||
|
bottom: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
left: 0;
|
||||||
|
position: fixed;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-android-container:not(.tinymce-mobile-android-maximized) {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-android-container .tinymce-mobile-editor-socket {
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-android-container .tinymce-mobile-editor-socket iframe {
|
||||||
|
display: flex !important;
|
||||||
|
flex-grow: 1;
|
||||||
|
height: auto !important;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-android-scroll-reload {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
:not(.tinymce-mobile-readonly-mode) > .tinymce-mobile-android-selection-context-toolbar {
|
||||||
|
margin-top: 23px;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip {
|
||||||
|
background: #fff;
|
||||||
|
display: flex;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar {
|
||||||
|
align-items: center;
|
||||||
|
background-color: #fff;
|
||||||
|
border-bottom: 1px solid #cccccc;
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
height: 2.5em;
|
||||||
|
width: 100%;
|
||||||
|
/* Make it no larger than the toolstrip, so that it needs to scroll */
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
flex-shrink: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group > div {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-exit-container {
|
||||||
|
background: #f44336;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-toolbar-scrollable-group {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item {
|
||||||
|
padding-left: 0.5em;
|
||||||
|
padding-right: 0.5em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 80%;
|
||||||
|
margin-left: 2px;
|
||||||
|
margin-right: 2px;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button.tinymce-mobile-toolbar-button-selected {
|
||||||
|
background: #c8cbcf;
|
||||||
|
color: #cccccc;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:first-of-type,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:last-of-type {
|
||||||
|
background: #207ab7;
|
||||||
|
color: #eceff1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar {
|
||||||
|
/* Note, this file is imported inside .tinymce-mobile-context-toolbar, so that prefix is on everything here. */
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
|
padding-bottom: 0.4em;
|
||||||
|
padding-top: 0.4em;
|
||||||
|
/* Make any buttons appearing on the left and right display in the centre (e.g. color edges) */
|
||||||
|
/* For widgets like the colour picker, use the whole height */
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog {
|
||||||
|
display: flex;
|
||||||
|
min-height: 1.5em;
|
||||||
|
overflow: hidden;
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain {
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
transition: left cubic-bezier(0.4, 0, 1, 1) 0.15s;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen {
|
||||||
|
display: flex;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen input {
|
||||||
|
font-family: Sans-serif;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container {
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container .tinymce-mobile-input-container-x {
|
||||||
|
-ms-grid-row-align: center;
|
||||||
|
align-self: center;
|
||||||
|
background: inherit;
|
||||||
|
border: none;
|
||||||
|
border-radius: 50%;
|
||||||
|
color: #888;
|
||||||
|
font-size: 0.6em;
|
||||||
|
font-weight: bold;
|
||||||
|
height: 100%;
|
||||||
|
padding-right: 2px;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container.tinymce-mobile-input-container-empty .tinymce-mobile-input-container-x {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous::before,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next::before {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
font-weight: bold;
|
||||||
|
height: 100%;
|
||||||
|
padding-left: 0.5em;
|
||||||
|
padding-right: 0.5em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous.tinymce-mobile-toolbar-navigation-disabled::before,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next.tinymce-mobile-toolbar-navigation-disabled::before {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item {
|
||||||
|
color: #cccccc;
|
||||||
|
font-size: 10px;
|
||||||
|
line-height: 10px;
|
||||||
|
margin: 0 2px;
|
||||||
|
padding-top: 3px;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item.tinymce-mobile-dot-active {
|
||||||
|
color: #c8cbcf;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-font::before,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-heading::before {
|
||||||
|
margin-left: 0.5em;
|
||||||
|
margin-right: 0.9em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-font::before,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-heading::before {
|
||||||
|
margin-left: 0.9em;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider {
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
padding: 0.28em 0;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container .tinymce-mobile-slider-size-line {
|
||||||
|
background: #cccccc;
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
height: 0.2em;
|
||||||
|
margin-bottom: 0.3em;
|
||||||
|
margin-top: 0.3em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container {
|
||||||
|
padding-left: 2em;
|
||||||
|
padding-right: 2em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
flex-grow: 1;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container .tinymce-mobile-slider-gradient {
|
||||||
|
background: linear-gradient(to right, hsl(0, 100%, 50%) 0%, hsl(60, 100%, 50%) 17%, hsl(120, 100%, 50%) 33%, hsl(180, 100%, 50%) 50%, hsl(240, 100%, 50%) 67%, hsl(300, 100%, 50%) 83%, hsl(0, 100%, 50%) 100%);
|
||||||
|
display: flex;
|
||||||
|
flex: 1;
|
||||||
|
height: 0.2em;
|
||||||
|
margin-bottom: 0.3em;
|
||||||
|
margin-top: 0.3em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-black {
|
||||||
|
/* Not part of theming */
|
||||||
|
background: black;
|
||||||
|
height: 0.2em;
|
||||||
|
margin-bottom: 0.3em;
|
||||||
|
margin-top: 0.3em;
|
||||||
|
width: 1.2em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-white {
|
||||||
|
/* Not part of theming */
|
||||||
|
background: white;
|
||||||
|
height: 0.2em;
|
||||||
|
margin-bottom: 0.3em;
|
||||||
|
margin-top: 0.3em;
|
||||||
|
width: 1.2em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb {
|
||||||
|
/* vertically centering trick (margin: auto, top: 0, bottom: 0). On iOS and Safari, if you leave
|
||||||
|
* out these values, then it shows the thumb at the top of the spectrum. This is probably because it is
|
||||||
|
* absolutely positioned with only a left value, and not a top. Note, on Chrome it seems to be fine without
|
||||||
|
* this approach.
|
||||||
|
*/
|
||||||
|
align-items: center;
|
||||||
|
background-clip: padding-box;
|
||||||
|
background-color: #455a64;
|
||||||
|
border: 0.5em solid rgba(136, 136, 136, 0);
|
||||||
|
border-radius: 3em;
|
||||||
|
bottom: 0;
|
||||||
|
color: #fff;
|
||||||
|
display: flex;
|
||||||
|
height: 0.5em;
|
||||||
|
justify-content: center;
|
||||||
|
left: -10px;
|
||||||
|
margin: auto;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
transition: border 120ms cubic-bezier(0.39, 0.58, 0.57, 1);
|
||||||
|
width: 0.5em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb.tinymce-mobile-thumb-active {
|
||||||
|
border: 0.5em solid rgba(136, 136, 136, 0.39);
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper,
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group > div {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item:not(.tinymce-mobile-serialised-dialog) {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-container {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input {
|
||||||
|
background: #ffffff;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
color: #455a64;
|
||||||
|
flex-grow: 1;
|
||||||
|
font-size: 0.85em;
|
||||||
|
padding-bottom: 0.1em;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-top: 0.1em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::-webkit-input-placeholder {
|
||||||
|
/* WebKit, Blink, Edge */
|
||||||
|
color: #888;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::placeholder {
|
||||||
|
/* WebKit, Blink, Edge */
|
||||||
|
color: #888;
|
||||||
|
}
|
||||||
|
/* dropup */
|
||||||
|
.tinymce-mobile-dropup {
|
||||||
|
background: white;
|
||||||
|
display: flex;
|
||||||
|
overflow: hidden;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-dropup.tinymce-mobile-dropup-shrinking {
|
||||||
|
transition: height 0.3s ease-out;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-dropup.tinymce-mobile-dropup-growing {
|
||||||
|
transition: height 0.3s ease-in;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-dropup.tinymce-mobile-dropup-closed {
|
||||||
|
flex-grow: 0;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-dropup.tinymce-mobile-dropup-open:not(.tinymce-mobile-dropup-growing) {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
/* TODO min-height for device size and orientation */
|
||||||
|
.tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) {
|
||||||
|
min-height: 200px;
|
||||||
|
}
|
||||||
|
@media only screen and (orientation: landscape) {
|
||||||
|
.tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) {
|
||||||
|
min-height: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
|
||||||
|
.tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) {
|
||||||
|
min-height: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* styles menu */
|
||||||
|
.tinymce-mobile-styles-menu {
|
||||||
|
font-family: sans-serif;
|
||||||
|
outline: 4px solid black;
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu [role="menu"] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
height: 100%;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu [role="menu"].transitioning {
|
||||||
|
transition: transform 0.5s ease-in-out;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-item {
|
||||||
|
border-bottom: 1px solid #ddd;
|
||||||
|
color: #455a64;
|
||||||
|
cursor: pointer;
|
||||||
|
display: flex;
|
||||||
|
padding: 1em 1em;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser .tinymce-mobile-styles-collapse-icon::before {
|
||||||
|
color: #455a64;
|
||||||
|
content: "\e314";
|
||||||
|
font-family: 'tinymce-mobile', sans-serif;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-styles-item-is-menu::after {
|
||||||
|
color: #455a64;
|
||||||
|
content: "\e315";
|
||||||
|
font-family: 'tinymce-mobile', sans-serif;
|
||||||
|
padding-left: 1em;
|
||||||
|
padding-right: 1em;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-format-matches::after {
|
||||||
|
font-family: 'tinymce-mobile', sans-serif;
|
||||||
|
padding-left: 1em;
|
||||||
|
padding-right: 1em;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-separator,
|
||||||
|
.tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser {
|
||||||
|
align-items: center;
|
||||||
|
background: #fff;
|
||||||
|
border-top: #455a64;
|
||||||
|
color: #455a64;
|
||||||
|
display: flex;
|
||||||
|
min-height: 2.5em;
|
||||||
|
padding-left: 1em;
|
||||||
|
padding-right: 1em;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-destination="before"][data-transitioning-state],
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-state="before"] {
|
||||||
|
transform: translate(-100%);
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-destination="current"][data-transitioning-state],
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-state="current"] {
|
||||||
|
transform: translate(0%);
|
||||||
|
}
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-destination="after"][data-transitioning-state],
|
||||||
|
.tinymce-mobile-styles-menu [data-transitioning-state="after"] {
|
||||||
|
transform: translate(100%);
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'tinymce-mobile';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
src: url('fonts/tinymce-mobile.woff?8x92w3') format('woff');
|
||||||
|
}
|
||||||
|
@media (min-device-width: 700px) {
|
||||||
|
.tinymce-mobile-outer-container,
|
||||||
|
.tinymce-mobile-outer-container input {
|
||||||
|
font-size: 25px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-device-width: 700px) {
|
||||||
|
.tinymce-mobile-outer-container,
|
||||||
|
.tinymce-mobile-outer-container input {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tinymce-mobile-icon {
|
||||||
|
font-family: 'tinymce-mobile', sans-serif;
|
||||||
|
}
|
||||||
|
.mixin-flex-and-centre {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.mixin-flex-bar {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container .tinymce-mobile-editor-socket iframe {
|
||||||
|
background-color: #fff;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon {
|
||||||
|
/* Note, on the iPod touch in landscape, this isn't visible when the navbar appears */
|
||||||
|
background-color: #207ab7;
|
||||||
|
border-radius: 50%;
|
||||||
|
bottom: 1em;
|
||||||
|
color: white;
|
||||||
|
font-size: 1em;
|
||||||
|
height: 2.1em;
|
||||||
|
position: fixed;
|
||||||
|
right: 2em;
|
||||||
|
width: 2.1em;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
@media only screen and (min-device-width:700px) {
|
||||||
|
.tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon {
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket {
|
||||||
|
height: 300px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket iframe {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-toolstrip {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Note, that if you don't include this (::-webkit-file-upload-button), the toolbar width gets
|
||||||
|
increased and the whole body becomes scrollable. It's important!
|
||||||
|
*/
|
||||||
|
input[type="file"]::-webkit-file-upload-button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
|
||||||
|
.tinymce-mobile-ios-container .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon {
|
||||||
|
bottom: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
7
public/tinymce/skins/ui/oxide/skin.mobile.min.css
vendored
Normal file
37
public/tinymce/skins/ui/oxide/skin.shadowdom.css
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
body.tox-dialog__disable-scroll {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.tox-fullscreen {
|
||||||
|
border: 0;
|
||||||
|
height: 100%;
|
||||||
|
margin: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
-ms-scroll-chaining: none;
|
||||||
|
overscroll-behavior: none;
|
||||||
|
padding: 0;
|
||||||
|
touch-action: pinch-zoom;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.tox.tox-tinymce.tox-fullscreen,
|
||||||
|
.tox-shadowhost.tox-fullscreen {
|
||||||
|
left: 0;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1200;
|
||||||
|
}
|
||||||
|
.tox.tox-tinymce.tox-fullscreen {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
.tox-fullscreen .tox.tox-tinymce-aux,
|
||||||
|
.tox-fullscreen ~ .tox.tox-tinymce-aux {
|
||||||
|
z-index: 1201;
|
||||||
|
}
|
||||||
7
public/tinymce/skins/ui/oxide/skin.shadowdom.min.css
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
||||||
|
* Licensed under the LGPL or a commercial license.
|
||||||
|
* For LGPL see License.txt in the project root for license information.
|
||||||
|
* For commercial licenses see https://www.tiny.cloud/
|
||||||
|
*/
|
||||||
|
body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}
|
||||||
117
src/App.vue
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
<!--
|
||||||
|
* @Description :
|
||||||
|
* @Author : jinxin
|
||||||
|
* @Date : 2023-02-09 14:28:39
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
* @Description :
|
||||||
|
* @Author : jinxin
|
||||||
|
* @Date : 2022-10-08 17:52:33
|
||||||
|
-->
|
||||||
|
<template>
|
||||||
|
<router-view v-if="isRouterAlive"></router-view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
body {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#app {
|
||||||
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
color: #2c3e50;
|
||||||
|
}
|
||||||
|
|
||||||
|
#nav {
|
||||||
|
padding: 30px;
|
||||||
|
|
||||||
|
a {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #2c3e50;
|
||||||
|
|
||||||
|
&.router-link-exact-active {
|
||||||
|
color: #42b983;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
import { setNotLoggedIn } from '@/utils/auth'
|
||||||
|
export default {
|
||||||
|
provide () {
|
||||||
|
return {
|
||||||
|
reload: this.reload
|
||||||
|
}
|
||||||
|
},
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
isRouterAlive: true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
reload () {
|
||||||
|
this.isRouterAlive = false
|
||||||
|
this.$nextTick(function () {
|
||||||
|
this.isRouterAlive = true
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created () {
|
||||||
|
// 解决页面刷新后vuex数据不失效问题
|
||||||
|
// sessionStorage中store存在重写state
|
||||||
|
if (sessionStorage.getItem('store')) {
|
||||||
|
this.$store.replaceState(
|
||||||
|
Object.assign(
|
||||||
|
{},
|
||||||
|
this.$store.state,
|
||||||
|
JSON.parse(sessionStorage.getItem('store'))
|
||||||
|
)
|
||||||
|
)
|
||||||
|
sessionStorage.removeItem('store')
|
||||||
|
}
|
||||||
|
// 在页面刷新时将vuex里的信息保存到sessionStorage里
|
||||||
|
window.addEventListener('beforeunload', () => {
|
||||||
|
sessionStorage.setItem('store', JSON.stringify(this.$store.state))
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// mounted(){
|
||||||
|
// let messageTimer = setInterval(() => {
|
||||||
|
// let str = `当前有新版本上线,请保存你正在编辑的信息后,点击刷新或使用Ctrl + F5刷新页面<br/><br/>点击立即刷新将重新登录以获取新版本<br/><br/>(未保存数据将会丢失请注意!!)`
|
||||||
|
// this.$http.showLoading(false).get('v1/version').then(res => {
|
||||||
|
// if(res.status == 200){
|
||||||
|
// if(res.data.new != res.data.old){
|
||||||
|
// window.clearInterval(messageTimer)
|
||||||
|
// this.$messageBox.confirm(
|
||||||
|
// str,
|
||||||
|
// `发现新版本`,
|
||||||
|
// {
|
||||||
|
// confirmButtonText: "立即刷新",
|
||||||
|
// cancelButtonText: "稍后刷新",
|
||||||
|
// showClose:false,
|
||||||
|
// closeOnClickModal:false,
|
||||||
|
// dangerouslyUseHTMLString:true, // 注意此属性
|
||||||
|
// }
|
||||||
|
// ).then(()=>{
|
||||||
|
// this.$http.get('login/logout').then(r => {
|
||||||
|
// if (r.errno === 0) {
|
||||||
|
// setNotLoggedIn()
|
||||||
|
// this.$store.replaceState({})
|
||||||
|
// this.$router.push({
|
||||||
|
// path: '/login'
|
||||||
|
// })
|
||||||
|
// window.location.reload(); //强制刷新
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
// }).catch(()=>{
|
||||||
|
// // 点击取消
|
||||||
|
// // console.log('取消')
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// })
|
||||||
|
// },10000);
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
</script>
|
||||||
BIN
src/assets/daochu.png
Normal file
|
After Width: | Height: | Size: 359 B |
BIN
src/assets/defaulImg.jpg
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
src/assets/default.png
Normal file
|
After Width: | Height: | Size: 233 B |
BIN
src/assets/diagram.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
src/assets/empty.png
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
141
src/assets/excel/Blob.js
Normal file
@@ -0,0 +1,141 @@
|
|||||||
|
/* eslint-disable */
|
||||||
|
require('script-loader!file-saver');
|
||||||
|
require('script-loader!./Blob');
|
||||||
|
require('script-loader!xlsx/dist/xlsx.core.min');
|
||||||
|
function generateArray(table) {
|
||||||
|
var out = [];
|
||||||
|
var rows = table.querySelectorAll('tr');
|
||||||
|
var ranges = [];
|
||||||
|
for (var R = 0; R < rows.length; ++R) {
|
||||||
|
var outRow = [];
|
||||||
|
var row = rows[R];
|
||||||
|
var columns = row.querySelectorAll('td');
|
||||||
|
for (var C = 0; C < columns.length; ++C) {
|
||||||
|
var cell = columns[C];
|
||||||
|
var colspan = cell.getAttribute('colspan');
|
||||||
|
var rowspan = cell.getAttribute('rowspan');
|
||||||
|
var cellValue = cell.innerText;
|
||||||
|
if (cellValue !== "" && cellValue == +cellValue) cellValue = +cellValue;
|
||||||
|
|
||||||
|
//Skip ranges
|
||||||
|
ranges.forEach(function (range) {
|
||||||
|
if (R >= range.s.r && R <= range.e.r && outRow.length >= range.s.c && outRow.length <= range.e.c) {
|
||||||
|
for (var i = 0; i <= range.e.c - range.s.c; ++i) outRow.push(null);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
//Handle Row Span
|
||||||
|
if (rowspan || colspan) {
|
||||||
|
rowspan = rowspan || 1;
|
||||||
|
colspan = colspan || 1;
|
||||||
|
ranges.push({s: {r: R, c: outRow.length}, e: {r: R + rowspan - 1, c: outRow.length + colspan - 1}});
|
||||||
|
}
|
||||||
|
;
|
||||||
|
|
||||||
|
//Handle Value
|
||||||
|
outRow.push(cellValue !== "" ? cellValue : null);
|
||||||
|
|
||||||
|
//Handle Colspan
|
||||||
|
if (colspan) for (var k = 0; k < colspan - 1; ++k) outRow.push(null);
|
||||||
|
}
|
||||||
|
out.push(outRow);
|
||||||
|
}
|
||||||
|
return [out, ranges];
|
||||||
|
};
|
||||||
|
|
||||||
|
function datenum(v, date1904) {
|
||||||
|
if (date1904) v += 1462;
|
||||||
|
var epoch = Date.parse(v);
|
||||||
|
return (epoch - new Date(Date.UTC(1899, 11, 30))) / (24 * 60 * 60 * 1000);
|
||||||
|
}
|
||||||
|
|
||||||
|
function sheet_from_array_of_arrays(data, opts) {
|
||||||
|
var ws = {};
|
||||||
|
var range = {s: {c: 10000000, r: 10000000}, e: {c: 0, r: 0}};
|
||||||
|
for (var R = 0; R != data.length; ++R) {
|
||||||
|
for (var C = 0; C != data[R].length; ++C) {
|
||||||
|
if (range.s.r > R) range.s.r = R;
|
||||||
|
if (range.s.c > C) range.s.c = C;
|
||||||
|
if (range.e.r < R) range.e.r = R;
|
||||||
|
if (range.e.c < C) range.e.c = C;
|
||||||
|
var cell = {v: data[R][C]};
|
||||||
|
if (cell.v == null) continue;
|
||||||
|
var cell_ref = XLSX.utils.encode_cell({c: C, r: R});
|
||||||
|
|
||||||
|
if (typeof cell.v === 'number') cell.t = 'n';
|
||||||
|
else if (typeof cell.v === 'boolean') cell.t = 'b';
|
||||||
|
else if (cell.v instanceof Date) {
|
||||||
|
cell.t = 'n';
|
||||||
|
cell.z = XLSX.SSF._table[14];
|
||||||
|
cell.v = datenum(cell.v);
|
||||||
|
}
|
||||||
|
else cell.t = 's';
|
||||||
|
|
||||||
|
ws[cell_ref] = cell;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (range.s.c < 10000000) ws['!ref'] = XLSX.utils.encode_range(range);
|
||||||
|
return ws;
|
||||||
|
}
|
||||||
|
|
||||||
|
function Workbook() {
|
||||||
|
if (!(this instanceof Workbook)) return new Workbook();
|
||||||
|
this.SheetNames = [];
|
||||||
|
this.Sheets = {};
|
||||||
|
}
|
||||||
|
|
||||||
|
function s2ab(s) {
|
||||||
|
var buf = new ArrayBuffer(s.length);
|
||||||
|
var view = new Uint8Array(buf);
|
||||||
|
for (var i = 0; i != s.length; ++i) view[i] = s.charCodeAt(i) & 0xFF;
|
||||||
|
return buf;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function export_table_to_excel(id) {
|
||||||
|
var theTable = document.getElementById(id);
|
||||||
|
console.log('a')
|
||||||
|
var oo = generateArray(theTable);
|
||||||
|
var ranges = oo[1];
|
||||||
|
|
||||||
|
/* original data */
|
||||||
|
var data = oo[0];
|
||||||
|
var ws_name = "SheetJS";
|
||||||
|
console.log(data);
|
||||||
|
|
||||||
|
var wb = new Workbook(), ws = sheet_from_array_of_arrays(data);
|
||||||
|
|
||||||
|
/* add ranges to worksheet */
|
||||||
|
// ws['!cols'] = ['apple', 'banan'];
|
||||||
|
ws['!merges'] = ranges;
|
||||||
|
|
||||||
|
/* add worksheet to workbook */
|
||||||
|
wb.SheetNames.push(ws_name);
|
||||||
|
wb.Sheets[ws_name] = ws;
|
||||||
|
|
||||||
|
var wbout = XLSX.write(wb, {bookType: 'xlsx', bookSST: false, type: 'binary'});
|
||||||
|
|
||||||
|
saveAs(new Blob([s2ab(wbout)], {type: "application/octet-stream"}), "test.xlsx")
|
||||||
|
}
|
||||||
|
|
||||||
|
function formatJson(jsonData) {
|
||||||
|
console.log(jsonData)
|
||||||
|
}
|
||||||
|
export function export_json_to_excel(th, jsonData, defaultTitle) {
|
||||||
|
|
||||||
|
/* original data */
|
||||||
|
|
||||||
|
var data = jsonData;
|
||||||
|
data.unshift(th);
|
||||||
|
var ws_name = "SheetJS";
|
||||||
|
|
||||||
|
var wb = new Workbook(), ws = sheet_from_array_of_arrays(data);
|
||||||
|
|
||||||
|
|
||||||
|
/* add worksheet to workbook */
|
||||||
|
wb.SheetNames.push(ws_name);
|
||||||
|
wb.Sheets[ws_name] = ws;
|
||||||
|
|
||||||
|
var wbout = XLSX.write(wb, {bookType: 'xlsx', bookSST: false, type: 'binary'});
|
||||||
|
var title = defaultTitle || '列表'
|
||||||
|
saveAs(new Blob([s2ab(wbout)], {type: "application/octet-stream"}), title + ".xlsx")
|
||||||
|
}
|
||||||
219
src/assets/excel/Export2Excel.js
Normal file
@@ -0,0 +1,219 @@
|
|||||||
|
import { saveAs } from 'file-saver'
|
||||||
|
import XLSX from 'xlsx'
|
||||||
|
|
||||||
|
function generateArray(table) {
|
||||||
|
var out = [];
|
||||||
|
var rows = table.querySelectorAll('tr');
|
||||||
|
var ranges = [];
|
||||||
|
for (var R = 0; R < rows.length; ++R) {
|
||||||
|
var outRow = [];
|
||||||
|
var row = rows[R];
|
||||||
|
var columns = row.querySelectorAll('td');
|
||||||
|
for (var C = 0; C < columns.length; ++C) {
|
||||||
|
var cell = columns[C];
|
||||||
|
var colspan = cell.getAttribute('colspan');
|
||||||
|
var rowspan = cell.getAttribute('rowspan');
|
||||||
|
var cellValue = cell.innerText;
|
||||||
|
if (cellValue !== "" && cellValue == +cellValue) cellValue = +cellValue;
|
||||||
|
|
||||||
|
//Skip ranges
|
||||||
|
ranges.forEach(function (range) {
|
||||||
|
if (R >= range.s.r && R <= range.e.r && outRow.length >= range.s.c && outRow.length <= range.e.c) {
|
||||||
|
for (var i = 0; i <= range.e.c - range.s.c; ++i) outRow.push(null);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
//Handle Row Span
|
||||||
|
if (rowspan || colspan) {
|
||||||
|
rowspan = rowspan || 1;
|
||||||
|
colspan = colspan || 1;
|
||||||
|
ranges.push({
|
||||||
|
s: {
|
||||||
|
r: R,
|
||||||
|
c: outRow.length
|
||||||
|
},
|
||||||
|
e: {
|
||||||
|
r: R + rowspan - 1,
|
||||||
|
c: outRow.length + colspan - 1
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
//Handle Value
|
||||||
|
outRow.push(cellValue !== "" ? cellValue : null);
|
||||||
|
|
||||||
|
//Handle Colspan
|
||||||
|
if (colspan)
|
||||||
|
for (var k = 0; k < colspan - 1; ++k) outRow.push(null);
|
||||||
|
}
|
||||||
|
out.push(outRow);
|
||||||
|
}
|
||||||
|
return [out, ranges];
|
||||||
|
};
|
||||||
|
|
||||||
|
function datenum(v, date1904) {
|
||||||
|
if (date1904) v += 1462;
|
||||||
|
var epoch = Date.parse(v);
|
||||||
|
return (epoch - new Date(Date.UTC(1899, 11, 30))) / (24 * 60 * 60 * 1000);
|
||||||
|
}
|
||||||
|
|
||||||
|
function sheet_from_array_of_arrays(data, opts) {
|
||||||
|
var ws = {};
|
||||||
|
var range = {
|
||||||
|
s: {
|
||||||
|
c: 10000000,
|
||||||
|
r: 10000000
|
||||||
|
},
|
||||||
|
e: {
|
||||||
|
c: 0,
|
||||||
|
r: 0
|
||||||
|
}
|
||||||
|
};
|
||||||
|
for (var R = 0; R != data.length; ++R) {
|
||||||
|
for (var C = 0; C != data[R].length; ++C) {
|
||||||
|
if (range.s.r > R) range.s.r = R;
|
||||||
|
if (range.s.c > C) range.s.c = C;
|
||||||
|
if (range.e.r < R) range.e.r = R;
|
||||||
|
if (range.e.c < C) range.e.c = C;
|
||||||
|
var cell = {
|
||||||
|
v: data[R][C]
|
||||||
|
};
|
||||||
|
if (cell.v == null) continue;
|
||||||
|
var cell_ref = XLSX.utils.encode_cell({
|
||||||
|
c: C,
|
||||||
|
r: R
|
||||||
|
});
|
||||||
|
|
||||||
|
if (typeof cell.v === 'number') cell.t = 'n';
|
||||||
|
else if (typeof cell.v === 'boolean') cell.t = 'b';
|
||||||
|
else if (cell.v instanceof Date) {
|
||||||
|
cell.t = 'n';
|
||||||
|
cell.z = XLSX.SSF._table[14];
|
||||||
|
cell.v = datenum(cell.v);
|
||||||
|
} else cell.t = 's';
|
||||||
|
|
||||||
|
ws[cell_ref] = cell;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (range.s.c < 10000000) ws['!ref'] = XLSX.utils.encode_range(range);
|
||||||
|
return ws;
|
||||||
|
}
|
||||||
|
|
||||||
|
function Workbook() {
|
||||||
|
if (!(this instanceof Workbook)) return new Workbook();
|
||||||
|
this.SheetNames = [];
|
||||||
|
this.Sheets = {};
|
||||||
|
}
|
||||||
|
|
||||||
|
function s2ab(s) {
|
||||||
|
var buf = new ArrayBuffer(s.length);
|
||||||
|
var view = new Uint8Array(buf);
|
||||||
|
for (var i = 0; i != s.length; ++i) view[i] = s.charCodeAt(i) & 0xFF;
|
||||||
|
return buf;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function export_table_to_excel(id) {
|
||||||
|
var theTable = document.getElementById(id);
|
||||||
|
var oo = generateArray(theTable);
|
||||||
|
var ranges = oo[1];
|
||||||
|
|
||||||
|
/* original data */
|
||||||
|
var data = oo[0];
|
||||||
|
var ws_name = "SheetJS";
|
||||||
|
|
||||||
|
var wb = new Workbook(),
|
||||||
|
ws = sheet_from_array_of_arrays(data);
|
||||||
|
|
||||||
|
/* add ranges to worksheet */
|
||||||
|
// ws['!cols'] = ['apple', 'banan'];
|
||||||
|
ws['!merges'] = ranges;
|
||||||
|
|
||||||
|
/* add worksheet to workbook */
|
||||||
|
wb.SheetNames.push(ws_name);
|
||||||
|
wb.Sheets[ws_name] = ws;
|
||||||
|
|
||||||
|
var wbout = XLSX.write(wb, {
|
||||||
|
bookType: 'xlsx',
|
||||||
|
bookSST: false,
|
||||||
|
type: 'binary'
|
||||||
|
});
|
||||||
|
|
||||||
|
saveAs(new Blob([s2ab(wbout)], {
|
||||||
|
type: "application/octet-stream"
|
||||||
|
}), "test.xlsx")
|
||||||
|
}
|
||||||
|
|
||||||
|
export function export_json_to_excel({
|
||||||
|
multiHeader = [],
|
||||||
|
header,
|
||||||
|
data,
|
||||||
|
filename,
|
||||||
|
merges = [],
|
||||||
|
autoWidth = true,
|
||||||
|
bookType = 'xlsx'
|
||||||
|
} = {}) {
|
||||||
|
/* original data */
|
||||||
|
filename = filename || 'excel-list'
|
||||||
|
data = [...data]
|
||||||
|
data.unshift(header);
|
||||||
|
|
||||||
|
for (let i = multiHeader.length - 1; i > -1; i--) {
|
||||||
|
data.unshift(multiHeader[i])
|
||||||
|
}
|
||||||
|
|
||||||
|
var ws_name = "SheetJS";
|
||||||
|
var wb = new Workbook(),
|
||||||
|
ws = sheet_from_array_of_arrays(data);
|
||||||
|
|
||||||
|
if (merges.length > 0) {
|
||||||
|
if (!ws['!merges']) ws['!merges'] = [];
|
||||||
|
merges.forEach(item => {
|
||||||
|
ws['!merges'].push(XLSX.utils.decode_range(item))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
if (autoWidth) {
|
||||||
|
/*设置worksheet每列的最大宽度*/
|
||||||
|
const colWidth = data.map(row => row.map(val => {
|
||||||
|
/*先判断是否为null/undefined*/
|
||||||
|
if (val == null) {
|
||||||
|
return {
|
||||||
|
'wch': 10
|
||||||
|
};
|
||||||
|
}
|
||||||
|
/*再判断是否为中文*/
|
||||||
|
else if (val.toString().charCodeAt(0) > 255) {
|
||||||
|
return {
|
||||||
|
'wch': val.toString().length * 2
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
return {
|
||||||
|
'wch': val.toString().length
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}))
|
||||||
|
/*以第一行为初始值*/
|
||||||
|
let result = colWidth[0];
|
||||||
|
for (let i = 1; i < colWidth.length; i++) {
|
||||||
|
for (let j = 0; j < colWidth[i].length; j++) {
|
||||||
|
if (result[j]['wch'] < colWidth[i][j]['wch']) {
|
||||||
|
result[j]['wch'] = colWidth[i][j]['wch'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ws['!cols'] = result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* add worksheet to workbook */
|
||||||
|
wb.SheetNames.push(ws_name);
|
||||||
|
wb.Sheets[ws_name] = ws;
|
||||||
|
|
||||||
|
var wbout = XLSX.write(wb, {
|
||||||
|
bookType: bookType,
|
||||||
|
bookSST: false,
|
||||||
|
type: 'binary'
|
||||||
|
});
|
||||||
|
saveAs(new Blob([s2ab(wbout)], {
|
||||||
|
type: "application/octet-stream"
|
||||||
|
}), `${filename}.${bookType}`);
|
||||||
|
}
|
||||||
BIN
src/assets/ico-xl.png
Normal file
|
After Width: | Height: | Size: 215 B |
BIN
src/assets/icon/iconfont.ttf
Normal file
BIN
src/assets/icon/iconfont.woff
Normal file
BIN
src/assets/icon/iconfont.woff2
Normal file
BIN
src/assets/logo.png
Normal file
|
After Width: | Height: | Size: 977 B |
BIN
src/assets/open.png
Normal file
|
After Width: | Height: | Size: 242 B |
43
src/assets/style/common.scss
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
// 表格
|
||||||
|
.btn-group{
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.btn-group span{
|
||||||
|
color: #409eff;
|
||||||
|
margin-right: 10px;
|
||||||
|
font-size: 14px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.router-links{
|
||||||
|
color: #409eff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
::v-deep(.avatar) {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
padding-top: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-icon-plus) {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 2px;
|
||||||
|
line-height: 40px;
|
||||||
|
border: 1px dashed rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
.img-show {
|
||||||
|
width: 150px;
|
||||||
|
height: 150px;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
|
overflow: hidden;
|
||||||
|
z-index: 9;
|
||||||
|
background-color: #fff;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-top: -60px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.img-show img {
|
||||||
|
z-index: 10;
|
||||||
|
max-width: 150px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
380
src/assets/style/global.scss
Normal file
@@ -0,0 +1,380 @@
|
|||||||
|
html,
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
color: #333;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*去掉项目标签*/
|
||||||
|
ul {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-main {
|
||||||
|
padding: 0px !important;
|
||||||
|
height: 100%!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-container {
|
||||||
|
width: -moz-available;
|
||||||
|
width: -webkit-fill-available;
|
||||||
|
width: stretch;
|
||||||
|
height: -moz-available;
|
||||||
|
height: -webkit-fill-available;
|
||||||
|
height: stretch;
|
||||||
|
height: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.min-height-fill4parent {
|
||||||
|
height: -moz-available;
|
||||||
|
height: -webkit-fill-available;
|
||||||
|
height: stretch;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*成本管理样式*/
|
||||||
|
.bg_white {
|
||||||
|
background-color: #FFF
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-t-20 {
|
||||||
|
margin-top: 20px
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-t-10 {
|
||||||
|
margin-top: 10px
|
||||||
|
}
|
||||||
|
|
||||||
|
.table_90 {
|
||||||
|
width: -moz-calc(100% - 24px);
|
||||||
|
width: -webkit-calc(100% - 24px);
|
||||||
|
width: calc(100% - 24px);
|
||||||
|
margin-left: 12px;
|
||||||
|
margin-right: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table_80 {
|
||||||
|
width: 1180px;
|
||||||
|
overflow: hidden;
|
||||||
|
margin-left: 12px;
|
||||||
|
margin-right: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.p-t-10 {
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-b-10 {
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.border-r-10 {
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-black {
|
||||||
|
color: #606266;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-red {
|
||||||
|
color: #e73235;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-green {
|
||||||
|
color: #38b48b;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-b-90 {
|
||||||
|
margin-bottom: 90px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-t-10 {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-b-20 {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-t-20 {
|
||||||
|
padding-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-b-20 {
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*字体居中*/
|
||||||
|
.text-l {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-c {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-r {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.f-12 {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-title {
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.svg-icon-custom {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
fill: currentColor;
|
||||||
|
overflow: hidden;
|
||||||
|
margin-right: 10px
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*图片放大样式*/
|
||||||
|
/*定位*/
|
||||||
|
.position-r {
|
||||||
|
position: relative
|
||||||
|
}
|
||||||
|
|
||||||
|
.position-a {
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
.position-f {
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*知识产权样式*/
|
||||||
|
.m-20 {
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-20 {
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-l-10 {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-r-10 {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-t-20 {
|
||||||
|
padding-top: 20px;
|
||||||
|
}
|
||||||
|
.p-l-24 {
|
||||||
|
padding-left: 24px;
|
||||||
|
}
|
||||||
|
.p-t-24 {
|
||||||
|
padding-top: 24px;
|
||||||
|
}
|
||||||
|
.p-r-24 {
|
||||||
|
padding-right: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-b-20 {
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-l-40 {
|
||||||
|
padding-left: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.p-r-40 {
|
||||||
|
padding-right: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-l-40 {
|
||||||
|
margin-left: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-r-20 {
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.m-r-40 {
|
||||||
|
margin-right: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text_blue {
|
||||||
|
color: #2c74fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fr {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fl {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Cursor {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 5;
|
||||||
|
text-align: right;
|
||||||
|
right: 0;
|
||||||
|
box-shadow: -1px 0px 15px 0px #c9ccd4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search_button {
|
||||||
|
float: right;
|
||||||
|
margin-right: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tips {
|
||||||
|
// margin-left: 120px;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 24px;
|
||||||
|
color: #999999;
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.msgbox {
|
||||||
|
width: 25%;
|
||||||
|
max-height: 70%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-table__body-wrapper::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-table__body-wrapper::-webkit-scrollbar-thumb {
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background-color: #a1a3a9;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-table--fluid-height .el-table__fixed,
|
||||||
|
.el-table--fluid-height .el-table__fixed-right {
|
||||||
|
bottom: 8px !important;
|
||||||
|
}
|
||||||
|
/***产品目录公共样式***/
|
||||||
|
.table {
|
||||||
|
width: -moz-calc(100% - 48px);
|
||||||
|
width: -webkit-calc(100% - 48px);
|
||||||
|
width: calc(100% - 48px);
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
.table_width {
|
||||||
|
width: 95.6%;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
.m-top {
|
||||||
|
margin-top: 24px; //上边距
|
||||||
|
}
|
||||||
|
.m-bottom {
|
||||||
|
margin-bottom: 24px; //下边距
|
||||||
|
}
|
||||||
|
.title_box{
|
||||||
|
margin: 24px 24px 0 24px;
|
||||||
|
}
|
||||||
|
.title_box .title{
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 24px;
|
||||||
|
color: #2D2E38;
|
||||||
|
padding-left: 10px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.title_box .title::before{
|
||||||
|
content: '';
|
||||||
|
width: 4px;
|
||||||
|
height: 16px;
|
||||||
|
background: #4178D5;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 4px;
|
||||||
|
}
|
||||||
|
.title_box1 .title{
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 24px;
|
||||||
|
color: #2D2E38;
|
||||||
|
}
|
||||||
|
.bottom_box{
|
||||||
|
box-shadow: 0px 0px 15px #E4E7ED;
|
||||||
|
position: fixed;
|
||||||
|
bottom:0;
|
||||||
|
left:0;
|
||||||
|
padding-top:16px;
|
||||||
|
padding-bottom: 16px;
|
||||||
|
z-index: 99;
|
||||||
|
background-color:#ffffff;
|
||||||
|
width: -moz-calc(100vw - 16px);
|
||||||
|
width: -webkit-calc(100vw - 16px);
|
||||||
|
width: calc(100vw - 16px);
|
||||||
|
}
|
||||||
|
.el-cascader {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
line-height: 28px !important;
|
||||||
|
height: 28px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-cascader-panel .el-radio {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 10;
|
||||||
|
padding: 0 10px;
|
||||||
|
width: 132px;
|
||||||
|
height: 28px;
|
||||||
|
line-height: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-cascader-panel .el-radio__input {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-cascader-panel .el-input-node__postfix {
|
||||||
|
top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-date-editor .el-range-input{
|
||||||
|
font-size: 12px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-message-box__container){
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
::v-deep(.el-overlay){
|
||||||
|
background-color: rgba(237, 230, 230, 0.01)!important;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
::v-deep(.el-message-box__status.el-message-box-icon--warning){
|
||||||
|
--el-messagebox-color:#e6a23c;
|
||||||
|
color: #e6a23c;
|
||||||
|
}
|
||||||
13
src/assets/style/icon.scss
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: 'icon-font';
|
||||||
|
src: url('../icon/iconfont.woff2') format('woff2'),
|
||||||
|
url('../icon/iconfont.woff') format('woff'),
|
||||||
|
url('../icon/iconfont.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
.icon-font {
|
||||||
|
font-family: "icon-font" !important;
|
||||||
|
font-style: normal;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
439
src/assets/style/lc.scss
Normal file
@@ -0,0 +1,439 @@
|
|||||||
|
$bgcolor: #409EFF;
|
||||||
|
$ftcolor: #EBEEF5;
|
||||||
|
$yj: 3px;
|
||||||
|
$fontcolor: #303133;
|
||||||
|
$fontsize12: 12px;
|
||||||
|
$fontsize14: 14px;
|
||||||
|
|
||||||
|
.lc_gxpljbt{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
.lc_title1{
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
margin-top: 24px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.lc_bz{
|
||||||
|
width: 100%;
|
||||||
|
background: #F7F8FC;
|
||||||
|
border-radius: 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 50px;
|
||||||
|
::v-deep(.el-textarea__inner){
|
||||||
|
min-height: 233px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
.lc_bzt{
|
||||||
|
font-size: $fontsize14;
|
||||||
|
color:$fontcolor;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
.lc_ttop{
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-overlay) {
|
||||||
|
background-color: rgba(0, 0, 0, .3) !important;
|
||||||
|
}
|
||||||
|
.lc_title{
|
||||||
|
color:$fontcolor ;
|
||||||
|
font-size: $fontsize14;
|
||||||
|
border-left: 2px solid #4178D5;
|
||||||
|
padding-left: 8px;
|
||||||
|
height: 14px;
|
||||||
|
line-height: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 18px;
|
||||||
|
}
|
||||||
|
.lc_add_ggdyb{
|
||||||
|
.span_color_n{
|
||||||
|
font-size: $fontsize12 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.lc-bsinfo{
|
||||||
|
padding: 0 16px;
|
||||||
|
::v-deep(.el-dialog){
|
||||||
|
// width: 430px;
|
||||||
|
}
|
||||||
|
.lc_bsmain{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
.avatar-uploader-icon{
|
||||||
|
font-size: 24px;
|
||||||
|
color: #C0C4CC;
|
||||||
|
}
|
||||||
|
::v-deep(.el-input){
|
||||||
|
width: 158px !important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item) {
|
||||||
|
margin-bottom: 18px;
|
||||||
|
}
|
||||||
|
.lc_lcselect{
|
||||||
|
::v-deep(.el-input){
|
||||||
|
width: 437px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.lcse2{
|
||||||
|
::v-deep(.el-input){
|
||||||
|
width: 995px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.lc_taskmain{
|
||||||
|
::v-deep(.el-form-item) {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
::v-deep( .el-input__icon) {
|
||||||
|
line-height: 28px ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.avatar-uploader{
|
||||||
|
width: 160px;
|
||||||
|
height: 160px;
|
||||||
|
line-height: 160px;
|
||||||
|
border-radius: 5px;
|
||||||
|
border: 1 px;
|
||||||
|
border: 1px solid #DCDFE6;
|
||||||
|
text-align: center;
|
||||||
|
overflow: hidden;
|
||||||
|
.el-icon-plu{font-size: 24px;color: #C0C4CC;}
|
||||||
|
::v-deep(.el-upload){
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
.lc-taskbsinfo{
|
||||||
|
padding: 0px !important;
|
||||||
|
}
|
||||||
|
.l-button2 {
|
||||||
|
padding: 7px 16px;
|
||||||
|
font-size: 12px;
|
||||||
|
background: $ftcolor;
|
||||||
|
border-radius: $yj;
|
||||||
|
color: $bgcolor;
|
||||||
|
border: 1px solid $bgcolor;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 16px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
::v-deep(.el-button:focus,
|
||||||
|
.el-button:hover) {
|
||||||
|
background-color: $bgcolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ico-xl {
|
||||||
|
display: block;
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
.l_bts {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.l-bt-flex {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.d_bts {
|
||||||
|
float: right;
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
::v-deep(.el-dialog) {
|
||||||
|
border-radius: 5px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
margin: 0 !important;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
max-height: calc(100% - 30px);
|
||||||
|
max-width: calc(100% - 30px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-dialog .el-dialog__body {
|
||||||
|
flex: 1;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-dialog__title) {
|
||||||
|
font-size: $fontsize14 !important;
|
||||||
|
color: $fontcolor;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.s-item {
|
||||||
|
height: 44px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.s-bts {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: flex-end;
|
||||||
|
.l-button {
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 0px;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.l-button {
|
||||||
|
padding: 6px 16px;
|
||||||
|
font-size: 12px;
|
||||||
|
background: $bgcolor;
|
||||||
|
border-radius: $yj;
|
||||||
|
color: $ftcolor;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 16px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-button:focus,
|
||||||
|
.el-button:hover) {
|
||||||
|
background-color: $bgcolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ico-xl {
|
||||||
|
display: block;
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wrap_box {
|
||||||
|
padding: 16px !important;
|
||||||
|
font-size: $fontsize12 !important;
|
||||||
|
}
|
||||||
|
@mixin theheight {
|
||||||
|
height: 27px ;
|
||||||
|
line-height: 28px !important;
|
||||||
|
}
|
||||||
|
.lc_rw {
|
||||||
|
padding: 0 16px;
|
||||||
|
padding-top: 26px;
|
||||||
|
::v-deep(.span_color_n) {
|
||||||
|
font-size: 12px !important;
|
||||||
|
}
|
||||||
|
.lc_cdlj{
|
||||||
|
|
||||||
|
display: flex;flex-direction: row;
|
||||||
|
.title{
|
||||||
|
margin-right: 10px;width: 50px;
|
||||||
|
}
|
||||||
|
.el-textarea__inner{
|
||||||
|
min-height: 98px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.lcpg {
|
||||||
|
.block{
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 26px;
|
||||||
|
::v-deep( .el-input){
|
||||||
|
width: 100px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.t_top{
|
||||||
|
margin-top: 16px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.lcS {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-textarea__inner){
|
||||||
|
min-height: 200px !important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-input__inner) {
|
||||||
|
font-size: $fontsize12;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-form-item__label) {
|
||||||
|
font-size: $fontsize12 !important;
|
||||||
|
line-height: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-input__inner) {
|
||||||
|
@include theheight
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-input__icon) {
|
||||||
|
@include theheight
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item__content) {
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
::v-deep(.el-date-editor){
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-range-separator){
|
||||||
|
line-height: 17px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-input__inner) {
|
||||||
|
font-size: $fontsize12 !important;
|
||||||
|
@include theheight
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-input) {
|
||||||
|
width: 150px !important;
|
||||||
|
font-size: $fontsize12;
|
||||||
|
@include theheight
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.vxe-cell){
|
||||||
|
font-size: 12px !important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item__label) {
|
||||||
|
font-size: $fontsize12 !important;
|
||||||
|
}
|
||||||
|
// 弹框
|
||||||
|
.pq_content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: -18px;
|
||||||
|
|
||||||
|
label {
|
||||||
|
margin-right: 20px;
|
||||||
|
font-size: 12px;
|
||||||
|
min-width: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pqbt {
|
||||||
|
margin-right: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #409EFF;
|
||||||
|
background: #fff;
|
||||||
|
border: 1px solid #409EFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-input__icon) {
|
||||||
|
line-height: 28px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.lc_gxpljbt{
|
||||||
|
margin-top: -20px;
|
||||||
|
}
|
||||||
|
::v-eddp(.btn-group>.span_color_drag){
|
||||||
|
font-size: 12px !important;
|
||||||
|
padding: 6px 10px !important;
|
||||||
|
}
|
||||||
|
.rzlx {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
::v-deep(.el-input__icon) {
|
||||||
|
height: 28px !important;
|
||||||
|
line-height: 28px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-input) {
|
||||||
|
width: 840px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.ggdy-bts {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
.l-button {
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 4px 8px;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
border-radius: 3px;
|
||||||
|
background: #fff;
|
||||||
|
color: #409eff;
|
||||||
|
font-size: 12px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.l-button:hover {
|
||||||
|
color: #fff;
|
||||||
|
background: #409eff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.expand-wrapper {
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ggdycss {
|
||||||
|
::v-deep(.vxe-input) {
|
||||||
|
width: auto !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.avatar{
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
padding-top: 5px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
::v-deep(.el-image__inner){
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.img-show {
|
||||||
|
width: 150px;
|
||||||
|
height: 150px;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
|
overflow: hidden;
|
||||||
|
z-index: 9;
|
||||||
|
background-color: #fff;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-top: -60px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.img-show img {
|
||||||
|
z-index: 10;
|
||||||
|
max-width: 150px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.position-f {
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
|
.lcrw{
|
||||||
|
::v-deep(.el-input) {
|
||||||
|
width: 214px !important;
|
||||||
|
}
|
||||||
|
.rwfy{
|
||||||
|
::v-deep(.el-input) {
|
||||||
|
width: 90px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.rzselect{
|
||||||
|
::v-deep(.el-input) {
|
||||||
|
height: auto !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.lcbhcontent {
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lcbhbt {
|
||||||
|
line-height: 16px;
|
||||||
|
margin-left: 28px;
|
||||||
|
height: 16px;
|
||||||
|
margin-top: 5px;
|
||||||
|
color: #409EFF;
|
||||||
|
background: #fff;
|
||||||
|
border: 1px solid #409EFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lc_bhitem{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
3
src/assets/style/lc_jx_style/lc_jx_bom.scss
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.search_group{
|
||||||
|
width: 340px;
|
||||||
|
}
|
||||||
45
src/assets/style/lc_jx_style/lc_jx_bzljxz.scss
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
.btn-flex{
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
.btns_box{
|
||||||
|
padding: 16px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.base_info{
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-range-editor.el-input__inner){
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item){
|
||||||
|
margin-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
.base_table{
|
||||||
|
padding-right: 32px;
|
||||||
|
}
|
||||||
|
.base_table_width_c{
|
||||||
|
width: 800px;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
.base_table_width{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
::v-deep(.el-dialog){
|
||||||
|
width: 430px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form-item){
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body){
|
||||||
|
padding-top: 0px!important;
|
||||||
|
padding-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.dialogTable){
|
||||||
|
margin:16px 0!important;
|
||||||
|
}
|
||||||
|
|
||||||
45
src/assets/style/lc_jx_style/lc_jx_bzyx.scss
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
.btn-flex{
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
.btns_box{
|
||||||
|
padding: 16px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.base_info{
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-range-editor.el-input__inner){
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item){
|
||||||
|
margin-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
.base_table{
|
||||||
|
padding-right: 32px;
|
||||||
|
}
|
||||||
|
.base_table_width_c{
|
||||||
|
width: 800px;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
.base_table_width{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
::v-deep(.el-dialog){
|
||||||
|
width: 430px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form-item){
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body){
|
||||||
|
padding-top: 0px!important;
|
||||||
|
padding-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.dialogTable){
|
||||||
|
margin:16px 0!important;
|
||||||
|
}
|
||||||
|
|
||||||
522
src/assets/style/lc_jx_style/lc_jx_com.scss
Normal file
@@ -0,0 +1,522 @@
|
|||||||
|
/**
|
||||||
|
* @Description : 流程管理 - 任务列表 - 负责详情 - 样式
|
||||||
|
* @Author : jinxin
|
||||||
|
* @Date : 2023-02-17 17:03:54
|
||||||
|
*/
|
||||||
|
.mg-t{
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
.mg-t24{
|
||||||
|
margin-top: 24px;
|
||||||
|
}
|
||||||
|
.mg-b{
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
|
.mg-b24{
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
.mg-l{
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
||||||
|
.mg-r{
|
||||||
|
margin-right: 16px;
|
||||||
|
}
|
||||||
|
.mg-tb{
|
||||||
|
margin:16px 0;
|
||||||
|
}
|
||||||
|
.pd-t{
|
||||||
|
padding-top: 16px;
|
||||||
|
}
|
||||||
|
.pd-b{
|
||||||
|
padding-bottom: 16px;
|
||||||
|
}
|
||||||
|
.pd-l{
|
||||||
|
padding-left: 16px;
|
||||||
|
}
|
||||||
|
.pd-r{
|
||||||
|
padding-right: 16px;
|
||||||
|
}
|
||||||
|
.pd-bt{
|
||||||
|
padding: 16px 0;
|
||||||
|
}
|
||||||
|
.pd-lr{
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
.bg_com{
|
||||||
|
background: #F7F8FC;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.btns_box .btn-flex){
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-flex{
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btns_box{
|
||||||
|
padding: 16px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.base_info{
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
.base_table_width{
|
||||||
|
width: 1648px;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 清除全局影响样式
|
||||||
|
::v-deep(.el-form-item){
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// vxe-table style
|
||||||
|
::v-deep(.vxe-button){
|
||||||
|
font-size: 12px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// element-plus style
|
||||||
|
::v-deep(.el-textarea__inner){
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-family:"微软雅黑"!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-dialog__header .el-dialog__title){
|
||||||
|
font-size: 14px!important;
|
||||||
|
font-weight: 900;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-dialog__header){
|
||||||
|
padding-bottom: 18px!important;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-dialog__body .el-input__inner){
|
||||||
|
height: 28px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-dialog__body .el-form-item){
|
||||||
|
margin-bottom: 0!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-dialog__body .el-form-item__label){
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-dialog__body .el-input__inner){
|
||||||
|
font-size: 12px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-dialog__body .el-input__suffix-inner){
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-dialog__body .el-form-item){
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form-item__content){
|
||||||
|
height: 28px!important;
|
||||||
|
line-height: 28px!important;
|
||||||
|
min-height: 28px!important;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body){
|
||||||
|
padding: 0 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.write-link-body .el-form-item__content){
|
||||||
|
height: 100px!important;
|
||||||
|
min-height: 100px!important;
|
||||||
|
line-height: 100px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.write-link-many .el-form-item__content){
|
||||||
|
height: 100px!important;
|
||||||
|
min-height: 100px!important;
|
||||||
|
line-height: 100px!important;
|
||||||
|
margin-bottom: 10px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-dialog__footer .el-button){
|
||||||
|
font-size: 12px!important;
|
||||||
|
min-height: 28px!important;
|
||||||
|
height: 28px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-dialog__footer .dialog-footer){
|
||||||
|
display: flex;
|
||||||
|
justify-content: right;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__footer){
|
||||||
|
padding-top: 10px!important;
|
||||||
|
text-align:right;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.write-link-footer){
|
||||||
|
padding-top: 10px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-button){
|
||||||
|
height: 28px!important;
|
||||||
|
min-height: 28px!important;
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight: 500;
|
||||||
|
padding:6px 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 基础信息、输出内容、备注、BOX公共样式
|
||||||
|
.base_info,.base_table,.base_remarks,.base_chexkbox{
|
||||||
|
background: #FFFFFF;
|
||||||
|
padding: 16px 16px!important;
|
||||||
|
margin: 0 16px!important;
|
||||||
|
border-radius: 5px 5px 5px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.base_table,.base_remarks,.base_chexkbox{
|
||||||
|
margin-top: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 搜索
|
||||||
|
::v-deep(.search-group){
|
||||||
|
padding: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.search-group .el-form .el-form-item__label){
|
||||||
|
width: inherit!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.search-group .el-form-item__label){
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
::v-deep(.search-group .el-form){
|
||||||
|
padding-top: 0px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.search-group .el-form-item__label){
|
||||||
|
height: 28px!important;
|
||||||
|
min-height: 28px!important;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.search-group .el-input__inner){
|
||||||
|
font-size: 12px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.search-group .el-form-item__content){
|
||||||
|
height: 28px!important;
|
||||||
|
min-height: 28px!important;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.search-group .el-input__inner){
|
||||||
|
height: 28px!important;
|
||||||
|
min-height: 28px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.search-group .el-input){
|
||||||
|
display: flex;
|
||||||
|
height: 28px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.search-group .el-form .c-b-f-1-item){
|
||||||
|
display: flex!important;
|
||||||
|
margin-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.search-group .el-form .c-b-f-1-item:last-child){
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.search-group .el-form .c-b-f-1-item .c-b-f-2-item){
|
||||||
|
margin-right: 16px;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.search-group .el-form .c-b-f-1-item .c-b-f-2-item:last-child){
|
||||||
|
margin-right: 0!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.search-group .el-input__prefix){
|
||||||
|
display: flex;
|
||||||
|
height: 28px!important;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
::v-deep(.search-group .el-input__suffix-inner){
|
||||||
|
display: flex;
|
||||||
|
height: 28px!important;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.task-index .btn-flex){
|
||||||
|
height: 18px!important;
|
||||||
|
line-height: 18px!important;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.task-index .text-r){
|
||||||
|
margin-top: 14px!important;
|
||||||
|
padding-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.task-index .btn_div){
|
||||||
|
height: 28px!important;
|
||||||
|
min-height: 28px!important;
|
||||||
|
display: flex;
|
||||||
|
padding: 0 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.task-index .btn-group){
|
||||||
|
height: 18px!important;
|
||||||
|
line-height: 18px!important;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.task-index .btn-group span){
|
||||||
|
font-size: 12px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 按钮组
|
||||||
|
::v-deep(.btns_box .btn-group span){
|
||||||
|
font-size: 12px!important;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.btns_box .btn-group .span_color_drag){
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 基础信息
|
||||||
|
::v-deep(.base_info_box_content .el-form .el-row .el-col:nth-child(n+6)){
|
||||||
|
margin-bottom: 0!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_info_box_content .el-form .el-row .el-col:nth-child(n+6)){
|
||||||
|
height: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_info .el-input__prefix){
|
||||||
|
display: flex;
|
||||||
|
height: 28px!important;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
::v-deep(.base_info .el-input__suffix-inner){
|
||||||
|
display: flex;
|
||||||
|
height: 28px!important;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_info .el-select__caret){
|
||||||
|
display: flex;
|
||||||
|
height: 28px!important;
|
||||||
|
vertical-align:middle;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_info .el-form-item){
|
||||||
|
height: 28px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_info .el-input__inner){
|
||||||
|
height: 28px!important;
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_info .el-input){
|
||||||
|
height: 28px!important;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_info .el-form-item__content){
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_info .el-col){
|
||||||
|
height: 28px!important;
|
||||||
|
line-height: 28px!important;
|
||||||
|
margin-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_info .el-col:nth-child(6+n)){
|
||||||
|
margin-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_info .el-form-item__label){
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight:500;
|
||||||
|
height: 28px!important;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_info .el-select-dropdown__item){
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight:500;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 复选框组
|
||||||
|
::v-deep(.base_chexkbox .checkbox_group>span){
|
||||||
|
margin-right: 40px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_chexkbox .checkbox_group>span:last-child){
|
||||||
|
margin-right: 0px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_chexkbox .vxe-checkbox .vxe-checkbox--label){
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight: 500!important;
|
||||||
|
color:#606266!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_chexkbox .lc_title_box_title p){
|
||||||
|
margin: 0!important;
|
||||||
|
font-size: 18px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_chexkbox){
|
||||||
|
margin: 16px!important;
|
||||||
|
padding: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 多选选择框
|
||||||
|
::v-deep(.manySelect .lc_title_box .el-input__inner){
|
||||||
|
height: 28px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.manySelect .lc_title_box .el-input){
|
||||||
|
height: 28px!important;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.manySelect .lc_title_box .el-form-item__content){
|
||||||
|
height: 28px!important;
|
||||||
|
line-height: 28px!important;
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.manySelect .lc_title_box .el-form-item__label){
|
||||||
|
height: 28px!important;
|
||||||
|
line-height: 28px!important;
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.manySelect .lc_title_box .el-select-dropdown__item){
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.manySelect .lc_title_box .el-select){
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.manySelect .lc_title_box .el-input__suffix-inner){
|
||||||
|
display: flex;
|
||||||
|
height: 28px!important;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 表格
|
||||||
|
// .base_table{
|
||||||
|
// height: 456px;
|
||||||
|
// }
|
||||||
|
|
||||||
|
::v-deep(.base_table .base_table_width .upload_span){
|
||||||
|
height: 18px!important;
|
||||||
|
line-height: 18px!important;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
::v-deep(.base_table .base_table_width .btn-flex){
|
||||||
|
height: 18px!important;
|
||||||
|
line-height: 18px!important;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_table .base_table_width .btn-group){
|
||||||
|
height: 18px!important;
|
||||||
|
line-height: 18px!important;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_table .btn-group span){
|
||||||
|
font-size: 12px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.vxe-table--body){
|
||||||
|
font-size: 12px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.vxe-header--row .operation_div .vxe-button){
|
||||||
|
font-size: 12px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.vxe-header--row){
|
||||||
|
font-size: 12px!important;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.base_table_width .el-dialog){
|
||||||
|
width: 430px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 分页
|
||||||
|
::v-deep(.el-pagination){
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 备注
|
||||||
|
.base_remarks{
|
||||||
|
height: 248px;
|
||||||
|
margin-bottom: 48px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 弹出
|
||||||
|
::v-deep(.dialogTable){
|
||||||
|
margin-top:12px!important;
|
||||||
|
padding-bottom: 16px!important;
|
||||||
|
}
|
||||||
46
src/assets/style/lc_jx_style/lc_jx_cpplfb.scss
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
.btn-flex{
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
.btns_box{
|
||||||
|
padding: 16px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.base_info{
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-range-editor.el-input__inner){
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item){
|
||||||
|
margin-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
.base_table{
|
||||||
|
width: 100%;
|
||||||
|
padding-right: 32px;
|
||||||
|
}
|
||||||
|
.base_table_width_c{
|
||||||
|
width: 800px;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
.base_table_width{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
::v-deep(.el-dialog){
|
||||||
|
width: 430px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form-item){
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body){
|
||||||
|
padding-top: 0px!important;
|
||||||
|
padding-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.dialogTable){
|
||||||
|
margin:16px 0!important;
|
||||||
|
}
|
||||||
|
|
||||||
45
src/assets/style/lc_jx_style/lc_jx_dzsj.scss
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
.btn-flex{
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
.btns_box{
|
||||||
|
padding: 16px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.base_info{
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-range-editor.el-input__inner){
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item){
|
||||||
|
margin-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
.base_table{
|
||||||
|
padding-right: 32px;
|
||||||
|
}
|
||||||
|
.base_table_width_c{
|
||||||
|
width: 800px;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
.base_table_width{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
::v-deep(.el-dialog){
|
||||||
|
width: 430px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form-item){
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body){
|
||||||
|
padding-top: 0px!important;
|
||||||
|
padding-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.dialogTable){
|
||||||
|
margin:16px 0!important;
|
||||||
|
}
|
||||||
|
|
||||||
45
src/assets/style/lc_jx_style/lc_jx_ggdy.scss
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
.btn-flex{
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
.btns_box{
|
||||||
|
padding: 16px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.base_info{
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-range-editor.el-input__inner){
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item){
|
||||||
|
margin-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
.base_table{
|
||||||
|
padding-right: 32px;
|
||||||
|
}
|
||||||
|
.base_table_width_c{
|
||||||
|
width: 800px;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
.base_table_width{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
::v-deep(.el-dialog){
|
||||||
|
width: 430px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form-item){
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body){
|
||||||
|
padding-top: 0px!important;
|
||||||
|
padding-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.dialogTable){
|
||||||
|
margin:16px 0!important;
|
||||||
|
}
|
||||||
|
|
||||||
45
src/assets/style/lc_jx_style/lc_jx_gysj.scss
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
.btn-flex{
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
.btns_box{
|
||||||
|
padding: 16px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.base_info{
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-range-editor.el-input__inner){
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item){
|
||||||
|
margin-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
.base_table{
|
||||||
|
padding-right: 32px;
|
||||||
|
}
|
||||||
|
.base_table_width_c{
|
||||||
|
width: 800px;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
.base_table_width{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
::v-deep(.el-dialog){
|
||||||
|
width: 430px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form-item){
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body){
|
||||||
|
padding-top: 0px!important;
|
||||||
|
padding-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.dialogTable){
|
||||||
|
margin:16px 0!important;
|
||||||
|
}
|
||||||
|
|
||||||
45
src/assets/style/lc_jx_style/lc_jx_jgsj.scss
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
.btn-flex{
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
.btns_box{
|
||||||
|
padding: 16px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.base_info{
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-range-editor.el-input__inner){
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item){
|
||||||
|
margin-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
.base_table{
|
||||||
|
padding-right: 32px;
|
||||||
|
}
|
||||||
|
.base_table_width_c{
|
||||||
|
width: 800px;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
.base_table_width{
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
::v-deep(.el-dialog){
|
||||||
|
width: 430px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form-item){
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body){
|
||||||
|
padding-top: 0px!important;
|
||||||
|
padding-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.dialogTable){
|
||||||
|
margin:16px 0!important;
|
||||||
|
}
|
||||||
|
|
||||||
11
src/assets/style/lc_jx_style/lc_jx_rzxq.scss
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
::v-deep(.el-form-item__label){
|
||||||
|
width: auto!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.base_info{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.base_remarks{
|
||||||
|
|
||||||
|
}
|
||||||
42
src/assets/style/lc_jx_style/lc_jx_scfx.scss
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
.btn-flex{
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
.btns_box{
|
||||||
|
padding: 16px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.base_info{
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
.base_table_width{
|
||||||
|
width: 1648px;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
.btn-flex{
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
::v-deep(.el-range-editor.el-input__inner){
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item){
|
||||||
|
margin-bottom: 16px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form-item){
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body){
|
||||||
|
padding-top: 0px!important;
|
||||||
|
padding-bottom: 25px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.dialogTable){
|
||||||
|
margin-top:16px!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-upload .el-button){
|
||||||
|
padding:6px 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-button){
|
||||||
|
padding:6px 10px !important;
|
||||||
|
}
|
||||||
49
src/assets/style/lc_jx_style/lc_jx_task.scss
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
/* single dialog */
|
||||||
|
::v-deep(header){
|
||||||
|
text-align: center!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__header){
|
||||||
|
text-align: center!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form .el-form-item){
|
||||||
|
margin-bottom: 0!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body){
|
||||||
|
padding-top:10px!important;
|
||||||
|
padding-bottom: 10px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__footer){
|
||||||
|
text-align:right!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form .el-form-item__label){
|
||||||
|
font-size: 16px!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog__body .el-form .text-r .el-button){
|
||||||
|
padding: 0 10px!important;
|
||||||
|
}
|
||||||
|
.el-pagination{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.el-form-item {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
.el-button {
|
||||||
|
min-height: 34px;
|
||||||
|
padding: 0 10px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
.el-button--text {
|
||||||
|
padding: 0!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-form-item__label) {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
::v-deep(.el-date-editor--date){
|
||||||
|
width: 208px!important;
|
||||||
|
}
|
||||||
|
::v-deep(label){
|
||||||
|
font-weight:500!important;
|
||||||
|
}
|
||||||
|
::v-deep(.el-dialog){
|
||||||
|
width: 440px!important;
|
||||||
|
}
|
||||||
7
src/assets/style/lc_jx_style/lc_jx_template.scss
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
::v-deep(.el-form-item__label){
|
||||||
|
width: auto!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.base_table{
|
||||||
|
width: 1000px;
|
||||||
|
}
|
||||||
11
src/assets/style/lc_jx_style/lc_jx_zscqsq.scss
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
::v-deep(.el-form-item__label){
|
||||||
|
width: auto!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.base_info{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.base_remarks{
|
||||||
|
|
||||||
|
}
|
||||||
11
src/assets/style/lc_jx_style/lc_jx_zscqxq.scss
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
::v-deep(.el-form-item__label){
|
||||||
|
width: auto!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.base_info{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.base_remarks{
|
||||||
|
|
||||||
|
}
|
||||||
BIN
src/assets/tianjia.png
Normal file
|
After Width: | Height: | Size: 471 B |
BIN
src/assets/white.png
Normal file
|
After Width: | Height: | Size: 123 B |
4
src/components/index.js
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
import Layout from './layout/index'
|
||||||
|
export {
|
||||||
|
Layout
|
||||||
|
}
|
||||||
76
src/components/layout/index.vue
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
<template>
|
||||||
|
<el-container>
|
||||||
|
<el-aside :width="leftMenuWidth">
|
||||||
|
<layout-aside />
|
||||||
|
</el-aside>
|
||||||
|
<el-container>
|
||||||
|
<!-- 头部 -->
|
||||||
|
<el-header>
|
||||||
|
<layout-header />
|
||||||
|
</el-header>
|
||||||
|
<!-- 主体 -->
|
||||||
|
<div class="app-main">
|
||||||
|
<router-view v-slot="{ Component }">
|
||||||
|
<transition name="router-fade" mode="out-in">
|
||||||
|
<keep-alive v-if="!$route.fullPath.includes('lcProject')">
|
||||||
|
<component :is="Component" />
|
||||||
|
</keep-alive>
|
||||||
|
<component :is="Component" v-else />
|
||||||
|
</transition>
|
||||||
|
</router-view>
|
||||||
|
</div>
|
||||||
|
</el-container>
|
||||||
|
</el-container>
|
||||||
|
</template>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.el-aside {
|
||||||
|
background-color: #304156;
|
||||||
|
z-index: 2000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-header {
|
||||||
|
background-color: rgba(0, 0, 0, 0.025);
|
||||||
|
padding: 0;
|
||||||
|
height: 80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app-main {
|
||||||
|
height: -moz-calc(100vh - 50px);
|
||||||
|
height: -webkit-calc(100vh - 50px);
|
||||||
|
height: calc(100vh - 50px);
|
||||||
|
background-color: #eff2f9;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
import {
|
||||||
|
LayoutAside,
|
||||||
|
LayoutHeader
|
||||||
|
} from '@/components/layout/libs/index'
|
||||||
|
import {
|
||||||
|
mapState
|
||||||
|
} from 'vuex'
|
||||||
|
export default {
|
||||||
|
name: 'Layout',
|
||||||
|
components: {
|
||||||
|
'layout-aside': LayoutAside,
|
||||||
|
'layout-header': LayoutHeader
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
...mapState('leftAside', {
|
||||||
|
leftMenuWidth: (state) => state.leftMenuWidth
|
||||||
|
}),
|
||||||
|
keyfull () {
|
||||||
|
return this.$route.fullPath
|
||||||
|
}
|
||||||
|
},
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
key: this.$route.path,
|
||||||
|
keepAlivedComponents: {},
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
8
src/components/layout/libs/index.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import LayoutAside from './layout-aside/index.vue'
|
||||||
|
import LayoutHeader from './layout-header/index.vue'
|
||||||
|
import LayoutFooter from './layout-footer/index.vue'
|
||||||
|
export {
|
||||||
|
LayoutAside,
|
||||||
|
LayoutHeader,
|
||||||
|
LayoutFooter
|
||||||
|
}
|
||||||
92
src/components/layout/libs/layout-aside/index.vue
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<div class="system-title" v-if="!isCollapse">
|
||||||
|
<img v-if="logo" src="@/assets/logo.png" class="sidebar-logo">
|
||||||
|
<span>{{ settingsTitle }}</span>
|
||||||
|
</div>
|
||||||
|
<div class="system-title" v-else>Cost</div>
|
||||||
|
<div></div>
|
||||||
|
<el-scrollbar>
|
||||||
|
<el-menu :unique-opened="true" :default-openeds="defaultOpeneds" :default-active="defaultActive"
|
||||||
|
:collapse="isCollapse" class="left-aside" @select="handleSelect" @open="handleOpen" @close="handleClose"
|
||||||
|
background-color="rgb(48, 65, 86)" text-color="#fff">
|
||||||
|
<aside-item v-for="(menu, idx) in menus" :key="idx" :item="menu" />
|
||||||
|
</el-menu>
|
||||||
|
</el-scrollbar>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.system-title {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #fff;
|
||||||
|
text-align: center;
|
||||||
|
padding: 15px 0;
|
||||||
|
line-height: 50px;
|
||||||
|
background-color: #4178D5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.left-aside {
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.left-aside:not(.el-menu--collapse) {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-logo {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 12px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
import { mapState } from 'vuex'
|
||||||
|
import AsideItem from './item'
|
||||||
|
import { title } from '@/settings'
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
'aside-item': AsideItem
|
||||||
|
},
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
settingsTitle: title,
|
||||||
|
defaultOpeneds: [],
|
||||||
|
defaultActive: this.$route.name,
|
||||||
|
logo: true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
...mapState({
|
||||||
|
menus: (state) => state.routes.routes,
|
||||||
|
isCollapse: (state) => state.leftAside.isCollapse
|
||||||
|
})
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
'$route' (to, from) {
|
||||||
|
const indexPath = this.$route.matched.map(v => v.name)
|
||||||
|
this.defaultActive = indexPath.pop()
|
||||||
|
this.defaultOpeneds = indexPath
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted () { },
|
||||||
|
methods: {
|
||||||
|
handleSelect (index, indexPath) {
|
||||||
|
if (index == 'projectMange') {
|
||||||
|
window.sessionStorage.removeItem('projectSearchdata')
|
||||||
|
}
|
||||||
|
if (index == 'taskMange') {
|
||||||
|
window.sessionStorage.removeItem('taskSearchdata')
|
||||||
|
}
|
||||||
|
if (index == 'prlog') {
|
||||||
|
window.sessionStorage.removeItem('projectLogSearchdata')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
handleOpen (index, indexPath) {
|
||||||
|
console.log(index, indexPath)
|
||||||
|
},
|
||||||
|
handleClose (index, indexPath) { }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
159
src/components/layout/libs/layout-aside/item.vue
Normal file
@@ -0,0 +1,159 @@
|
|||||||
|
<template>
|
||||||
|
<div v-if="!item.hidden">
|
||||||
|
<el-sub-menu v-if="showChildren(item)" :index="item.name">
|
||||||
|
<template #title>
|
||||||
|
<svg class="icon-font svg-icon-custom" aria-hidden="true" v-if="item.meta.icon">
|
||||||
|
<use :xlink:href="item.meta.icon"></use>
|
||||||
|
</svg>
|
||||||
|
<!-- <i v-if="item.meta.icon" :class="item.meta.icon"></i> -->
|
||||||
|
<span>{{ item.meta.title }}</span>
|
||||||
|
</template>
|
||||||
|
<aside-item v-for="(subItem, subIdx) in item.children" :key="subIdx" :item="subItem" />
|
||||||
|
</el-sub-menu>
|
||||||
|
|
||||||
|
<el-menu-item v-else :index="item.name" @click="handleOpenPage(item)" style="background-color:#1f2d3d">
|
||||||
|
<i :class="item.meta.icon"></i>
|
||||||
|
<template #title>{{ item.meta.title }}</template>
|
||||||
|
</el-menu-item>
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<aside-item v-for="(subItem, subIdx) in item.children" :key="subIdx" :item="subItem" />
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<style lang="css">
|
||||||
|
/* 该样式scoped下不生效,为不污染全局,固采用'>'选择器固定层级选取,不要删除 */
|
||||||
|
.el-menu--collapse>div>.el-submenu>.el-submenu__title>.el-submenu__icon-arrow.el-icon-arrow-right {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.el-menu--collapse .el-submenu__title span {
|
||||||
|
height: 0;
|
||||||
|
width: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
visibility: hidden;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep([class*=" el-icon-"]),
|
||||||
|
::v-deep([class^="el-icon-"]) {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-menu-item-group__title) {
|
||||||
|
// background-color: #38b48b;
|
||||||
|
color: #fff;
|
||||||
|
height: 38px;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 38px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-submenu__title) {
|
||||||
|
font-size: 16px;
|
||||||
|
height: 50px;
|
||||||
|
line-height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-submenu .el-menu-item) {
|
||||||
|
padding-left: 40px !important;
|
||||||
|
background-color: #1f2d3d !important;
|
||||||
|
color: rgb(191, 203, 217);
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-menu .el-menu-item:hover) {
|
||||||
|
padding-left: 40px !important;
|
||||||
|
background-color: #4178d5 !important;
|
||||||
|
color: rgb(191, 203, 217);
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-menu-item.submenu-title-noDropdown) {
|
||||||
|
padding-left: 20px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-menu-item.is-active) {
|
||||||
|
color: #fff !important;
|
||||||
|
background-color: #4178d5 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-sub-menu__title) {
|
||||||
|
border-bottom: 1px solid #1f2d3d;
|
||||||
|
background-color: rgb(48, 65, 86) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-sub-menu.is-active .el-sub-menu__title) {
|
||||||
|
border-bottom: 1px solid #1f2d3d;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.is-active .el-sub-menu .el-menu) {
|
||||||
|
background-color: rgb(48, 65, 86) !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'AsideItem',
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
isShowLanguage: false,
|
||||||
|
models: [
|
||||||
|
'/index/category',
|
||||||
|
'/index/brand',
|
||||||
|
'/index/productList',
|
||||||
|
'/index/editSpu',
|
||||||
|
'/index/addSpu',
|
||||||
|
'/index/editSku',
|
||||||
|
'/index/opdTeam',
|
||||||
|
'/index/propSetting',
|
||||||
|
'/download/instructions',
|
||||||
|
'/download/editInstruct',
|
||||||
|
'/download/drive',
|
||||||
|
'/download/editDrive',
|
||||||
|
'/index/language',
|
||||||
|
'/index/logInfo'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
props: {
|
||||||
|
item: {
|
||||||
|
type: Object,
|
||||||
|
required: true,
|
||||||
|
default: () => {
|
||||||
|
return {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created () {
|
||||||
|
this.isShowLanguage = this.$store.state.leftAside.isShowLanguage
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
showChildren (menu) {
|
||||||
|
if (typeof menu.children === 'undefined' || menu.children.length <= 0) return false
|
||||||
|
if (menu.children.length === 1 && menu.children[0].hidden) return false
|
||||||
|
return true
|
||||||
|
},
|
||||||
|
submenuTitleNoDropdown (menu) {
|
||||||
|
if (typeof menu.children === 'undefined' || menu.children.length <= 0) return false
|
||||||
|
if (menu.children.length === 1 && menu.children[0].hidden) return true
|
||||||
|
return false
|
||||||
|
},
|
||||||
|
handleOpenPage (item) {
|
||||||
|
// console.log(item.path)
|
||||||
|
this.ShowLanguage(item.path)
|
||||||
|
this.$router.push({
|
||||||
|
path: item.path
|
||||||
|
})
|
||||||
|
},
|
||||||
|
ShowLanguage (path) {
|
||||||
|
// console.log('click path', path)
|
||||||
|
let newPath = path.indexOf('?') != -1 ? path.substring(0, path.indexOf('?')) : path;
|
||||||
|
if (this.models.indexOf(newPath) != -1) {
|
||||||
|
this.isShowLanguage = true
|
||||||
|
this.$store.dispatch('leftAside/changeLanguage', this.isShowLanguage)
|
||||||
|
} else {
|
||||||
|
this.isShowLanguage = false
|
||||||
|
this.$store.dispatch('leftAside/changeLanguage', this.isShowLanguage)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
6
src/components/layout/libs/layout-footer/index.vue
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<template>
|
||||||
|
<div>footer</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
export default {}
|
||||||
|
</script>
|
||||||
298
src/components/layout/libs/layout-header/index.vue
Normal file
@@ -0,0 +1,298 @@
|
|||||||
|
<template>
|
||||||
|
<el-row class="header-container">
|
||||||
|
<el-col :span="20" class="tags-container">
|
||||||
|
<div class="left-menu-collapse" @click="changeCollapse">
|
||||||
|
<i :class="isCollapse ? 'el-icon-s-unfold' : 'el-icon-s-fold'"></i>
|
||||||
|
</div>
|
||||||
|
<div class="tags-box">
|
||||||
|
<el-tag v-for="(tag, idx) in tags" :key="idx" :disable-transitions="false" @click="handleClick(tag)"
|
||||||
|
@close="handleCloseTag(idx, tags)" :closable="tag.name !== 'Index' && tag.name !== 'ProductHomelist'"
|
||||||
|
:class="fullPath === tag.fullPath ? 'tag active' : 'tag'">{{ tag.meta.title }}</el-tag>
|
||||||
|
</div>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="4" class="text-c p-t-20">
|
||||||
|
<div class="dropdown_box">
|
||||||
|
<el-dropdown v-if="isShow">
|
||||||
|
<span class="el-dropdown-link">
|
||||||
|
<span class="f_14">{{ language }}</span>
|
||||||
|
<i class="el-icon-arrow-down el-icon--right"></i>
|
||||||
|
</span>
|
||||||
|
<template #dropdown>
|
||||||
|
<el-dropdown-menu>
|
||||||
|
<el-dropdown-item divided v-for="(item, index) in list" :key="index" @click="changeLanguage(item)">
|
||||||
|
{{ item.name }}
|
||||||
|
</el-dropdown-item>
|
||||||
|
</el-dropdown-menu>
|
||||||
|
</template>
|
||||||
|
</el-dropdown>
|
||||||
|
<el-dropdown :hide-on-click="false">
|
||||||
|
<span class="el-dropdown-link">
|
||||||
|
<span class="f_14">{{ userInfo.staff_name }}</span>
|
||||||
|
<i class="el-icon-arrow-down el-icon--right"></i>
|
||||||
|
</span>
|
||||||
|
<template #dropdown>
|
||||||
|
<el-dropdown-menu>
|
||||||
|
<el-dropdown-item @click="handleNavigatorPersonCenter">个人资料</el-dropdown-item>
|
||||||
|
<el-dropdown-item divided @click="handleSigninOut">
|
||||||
|
<i class="el-icon-switch-button"></i>
|
||||||
|
退出
|
||||||
|
</el-dropdown-item>
|
||||||
|
</el-dropdown-menu>
|
||||||
|
</template>
|
||||||
|
</el-dropdown>
|
||||||
|
</div>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</template>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
::v-deep(.el-dropdown-menu__item--divided:first-child) {
|
||||||
|
border-top: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown_box {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown_box ::v-deep(.el-dropdown) {
|
||||||
|
margin-left: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-container {
|
||||||
|
height: 100%;
|
||||||
|
background-color: #304156;
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tags-container {
|
||||||
|
padding: 0 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.left-menu-collapse {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 10px;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
width: 33px;
|
||||||
|
height: 33px;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 33px;
|
||||||
|
cursor: pointer;
|
||||||
|
color: #c0ccd8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tags-box {
|
||||||
|
width: calc(100% - 17%);
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50px;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.tag) {
|
||||||
|
color: #c0ccd8;
|
||||||
|
border: 1px solid #293749;
|
||||||
|
margin-right: 10px;
|
||||||
|
background-color: #293749;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 0px 10px 0px 10px;
|
||||||
|
height: 38px !important;
|
||||||
|
line-height: 38px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag.active {
|
||||||
|
background-color: #344964 !important;
|
||||||
|
color: FFF;
|
||||||
|
font-size: 14px;
|
||||||
|
border: 1px solid #4178d5;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-tag .el-icon-close) {
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-tag .el-tag__close:hover) {
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// ::v-deep([class*=" el-icon-"]) {
|
||||||
|
// color: #555;
|
||||||
|
// }
|
||||||
|
::v-deep(.el-header) {
|
||||||
|
padding: 0px 0px 0px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news-number {
|
||||||
|
position: absolute;
|
||||||
|
top: -50%;
|
||||||
|
left: 50%;
|
||||||
|
background-color: #fc8568;
|
||||||
|
padding: 2px 5px;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 6px;
|
||||||
|
border-radius: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-dropdown {
|
||||||
|
color: #c0ccd8 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-dropdown .el-dropdown-selfdefine {
|
||||||
|
line-height: 40px !important;
|
||||||
|
color: #c0ccd8 !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
import { mapActions, mapState } from 'vuex'
|
||||||
|
import { setNotLoggedIn } from '@/utils/auth'
|
||||||
|
import { async } from 'q'
|
||||||
|
export default {
|
||||||
|
inject: ['reload'],
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
fullPath: '/index',
|
||||||
|
language: '',
|
||||||
|
list: [],
|
||||||
|
isShowLanguage: false,
|
||||||
|
models: [
|
||||||
|
'/system/category',
|
||||||
|
'/index/brand',
|
||||||
|
'/index/productList',
|
||||||
|
'/index/editSpu',
|
||||||
|
'/index/addSpu',
|
||||||
|
'/index/editSku',
|
||||||
|
'/index/opdTeam',
|
||||||
|
'/index/propSetting',
|
||||||
|
'/download/instructions',
|
||||||
|
'/download/editInstruct',
|
||||||
|
'/download/drive',
|
||||||
|
'/download/editDrive',
|
||||||
|
'/index/language',
|
||||||
|
'/index/logInfo'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
...mapState({
|
||||||
|
// 取出页面标签
|
||||||
|
userInfo: state => state.user.userInfo,
|
||||||
|
tags: state => state.topNavTag.tags,
|
||||||
|
isCollapse: state => state.leftAside.isCollapse,
|
||||||
|
isShow: state => state.leftAside.isShowLanguage
|
||||||
|
})
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
// 监听路由变化
|
||||||
|
$route (to, from) {
|
||||||
|
this.fullPath = to.fullPath
|
||||||
|
this.ShowLanguage(this.fullPath)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
async created () {
|
||||||
|
this.isShowLanguage = this.$store.state.leftAside.isShowLanguage
|
||||||
|
this.fullPath = this.$route.fullPath
|
||||||
|
this.ShowLanguage(this.fullPath)
|
||||||
|
this.getLanguage()
|
||||||
|
JSON.stringify(this.$store.state.user.language) != '{}' ? await this.getCdn(this.$store.state.user.language.id) : await this.getCdn(1)
|
||||||
|
if (JSON.stringify(this.$store.state.user.language) != '{}') {
|
||||||
|
this.language = this.$store.state.user.language.name
|
||||||
|
// console.log('header language id inner',this.$store.state.user.cdn)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
...mapActions({
|
||||||
|
// 关闭标签及页面
|
||||||
|
handleCloseTag: 'topNavTag/removeNavTag',
|
||||||
|
// 展开收缩左侧菜单栏
|
||||||
|
changeCollapse: 'leftAside/changeCollapse'
|
||||||
|
}),
|
||||||
|
// 页面标签点击事件
|
||||||
|
handleClick (tag) {
|
||||||
|
let isIf = true
|
||||||
|
// this.$store.dispatch('lcJxStore/setIsClick', isIf)
|
||||||
|
this.$router.push(tag)
|
||||||
|
this.ShowLanguage(tag.fullPath)
|
||||||
|
},
|
||||||
|
//是否显示语言切换按钮
|
||||||
|
ShowLanguage (path) {
|
||||||
|
let newPath = path.indexOf('?') != -1 ? path.substring(0, path.indexOf('?')) : path;
|
||||||
|
if (this.models.indexOf(newPath) != -1) {
|
||||||
|
this.isShowLanguage = true
|
||||||
|
this.$store.dispatch('leftAside/changeLanguage', this.isShowLanguage)
|
||||||
|
} else {
|
||||||
|
this.isShowLanguage = false
|
||||||
|
this.$store.dispatch('leftAside/changeLanguage', this.isShowLanguage)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// 页面关闭标签事件
|
||||||
|
handleCloseTag (idx, tags) {
|
||||||
|
console.log('页面关闭标签事件', idx, tags)
|
||||||
|
if (tags && tags[idx].name == 'lclog') {
|
||||||
|
setTimeout(() => {
|
||||||
|
window.sessionStorage.removeItem('projectLogSearchdata')
|
||||||
|
}, 1000)
|
||||||
|
|
||||||
|
}
|
||||||
|
this.$store.dispatch('topNavTag/removeNavTag', idx)
|
||||||
|
},
|
||||||
|
// 个人中心
|
||||||
|
handleNavigatorPersonCenter () {
|
||||||
|
window.open(process.env.VUE_APP_SSO_LOGINURL)
|
||||||
|
},
|
||||||
|
// 退出
|
||||||
|
handleSigninOut () {
|
||||||
|
this.$http.get('login/logout').then(r => {
|
||||||
|
if (r.errno === 0) {
|
||||||
|
setNotLoggedIn()
|
||||||
|
this.$store.replaceState({})
|
||||||
|
this.$router.push({
|
||||||
|
path: '/login'
|
||||||
|
})
|
||||||
|
// localStorage.removeItem('userToken')
|
||||||
|
window.location.reload(); //强制刷新
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
//获取语言列表
|
||||||
|
getLanguage () {
|
||||||
|
this.$http.get('v1/lang').then((res) => {
|
||||||
|
if (res.status == 200) {
|
||||||
|
this.list = res.data
|
||||||
|
let language_id = ''
|
||||||
|
if (JSON.stringify(this.$store.state.user.language) != '{}') {
|
||||||
|
this.language = this.$store.state.user.language.name
|
||||||
|
this.$store.dispatch('user/setLanguage', this.$store.state.user.language)
|
||||||
|
language_id = this.$store.state.user.language.id
|
||||||
|
this.getCdn(language_id)
|
||||||
|
} else {
|
||||||
|
this.language = this.list[0].name
|
||||||
|
this.$store.dispatch('user/setLanguage', this.list[0])
|
||||||
|
language_id = this.$store.state.user.language.id
|
||||||
|
this.getCdn(language_id)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
async changeLanguage (item) {
|
||||||
|
this.language = item.name
|
||||||
|
this.$store.dispatch('user/setLanguage', item)
|
||||||
|
// this.$store.dispatch('topNavTag/removeAllNavTag')
|
||||||
|
let language_id = this.$store.state.user.language.id
|
||||||
|
await this.getCdn(language_id)
|
||||||
|
this.reload()
|
||||||
|
// setTimeout(() => window.location.href = "/index/index")
|
||||||
|
},
|
||||||
|
//获取cdn
|
||||||
|
async getCdn (language_id) {
|
||||||
|
await this.$http.showLoading(false).get('v1/cdn', { language_id: language_id }).then(res => {
|
||||||
|
if (res.status == 200) {
|
||||||
|
let cdn = res.data.url
|
||||||
|
this.$store.state.user.cnd = res.data.url
|
||||||
|
this.$store.dispatch('user/setCdn', cdn)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
58
src/components/lcProject/LcWriteLinks.vue
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
<!--ljm-->
|
||||||
|
<template>
|
||||||
|
<el-dialog :model-value="isShowLinksDialog" :before-close="handleClose" title="填写共享盘链接" width="380px">
|
||||||
|
<div class="pq_content">
|
||||||
|
<label>链接地址</label>
|
||||||
|
<el-input v-model="data.form.remarks_vale" maxlength="200" placeholder="请输入" show-word-limit type="textarea"
|
||||||
|
resize="none" :autosize="{ minRows: 5, maxRows: 5 }" />
|
||||||
|
</div>
|
||||||
|
<template #footer>
|
||||||
|
<span class="dialog-footer lc_gxpljbt">
|
||||||
|
<el-button @click="comClick('cancel')" size="small">取消</el-button>
|
||||||
|
<el-button type="primary" @click="comClick('sure')" size="small">确定</el-button>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import { defineComponent, onMounted, reactive } from 'vue';
|
||||||
|
export default defineComponent({
|
||||||
|
props: {
|
||||||
|
isShowLinksDialog: Boolean,
|
||||||
|
linksTitle: String
|
||||||
|
},
|
||||||
|
emits: ["update:isShowLinksDialog", 'getDragWriteData'],
|
||||||
|
setup (props, context) {
|
||||||
|
// 生命周期
|
||||||
|
onMounted(() => { })
|
||||||
|
// 变量
|
||||||
|
let data = reactive({
|
||||||
|
form: {
|
||||||
|
remarks_vale: ''
|
||||||
|
},
|
||||||
|
})
|
||||||
|
const comClick = (type) => {
|
||||||
|
if (type == 'sure') {
|
||||||
|
context.emit('getDragWriteData', data.form.remarks_vale)
|
||||||
|
}
|
||||||
|
context.emit("update:isShowLinksDialog", false)
|
||||||
|
}
|
||||||
|
const handleClose = () => {
|
||||||
|
context.emit("update:isShowLinksDialog", false)
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
data,
|
||||||
|
props,
|
||||||
|
comClick,
|
||||||
|
handleClose
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
::v-deep(.el-date-editor) {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
@import '@/assets/style/lc.scss';
|
||||||
|
</style>
|
||||||
14
src/components/lcProject/index.js
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// 全局组件注册 需要到coms这个目录下注册
|
||||||
|
|
||||||
|
export default {
|
||||||
|
install(app) {
|
||||||
|
const req = require.context('.', true, /\.vue$/);
|
||||||
|
req.keys().forEach((item) => {
|
||||||
|
const defaultObj = req(item).default;
|
||||||
|
|
||||||
|
let name = item.split('/')[1];
|
||||||
|
let newname = name.substring(0, name.indexOf("."))
|
||||||
|
app.component(newname, defaultObj)
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
338
src/components/lcProject/lcBaseInfo.vue
Normal file
@@ -0,0 +1,338 @@
|
|||||||
|
<template>
|
||||||
|
<div class="lc-bsinfo" :class="{ 'lc-taskbsinfo': type == 'taskInfo' }">
|
||||||
|
<div class="lc_title">基本信息</div>
|
||||||
|
<div class="lc_bsmain" v-if="type == 'info'">
|
||||||
|
<!--图片上传-->
|
||||||
|
<div class="lc_bsmain">
|
||||||
|
<label style=" margin-right: 16px;display: block;">项目图片</label>
|
||||||
|
<el-upload ref='uploadRef' class="avatar-uploader" :action="upLoadUrl" :show-file-list="false"
|
||||||
|
:on-success="handleAvatarSuccess" :before-upload="beforeAvatarUpload" :data="upLoadQuery"
|
||||||
|
:with-credentials="data.withcredentials">
|
||||||
|
<img v-if="imageUrl" :src="imageUrl" class="avatar" style="width: 100%; height: 100%;" />
|
||||||
|
<i v-else class="el-icon-plus avatar-uploader-icon"></i>
|
||||||
|
</el-upload>
|
||||||
|
</div>
|
||||||
|
<!--基础字段-->
|
||||||
|
<div>
|
||||||
|
<el-form label-position="right" :model="form" label-width="112px">
|
||||||
|
<el-row :gutter="5">
|
||||||
|
<el-form-item label="项目名称" :required="true">
|
||||||
|
<el-input v-model="form.name" style=" margin-left: -6px;" maxlength="80"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="项目负责人" :required="true">
|
||||||
|
<el-select v-model="form.leader_user_id" placeholder="请选择" filterable remote
|
||||||
|
:remote-method="userremoteMethod">
|
||||||
|
<!-- <div style="height: 150px;overflow: auto;" v-infinite-scroll="loadmore"
|
||||||
|
:infinite-scroll-immediate="false"> -->
|
||||||
|
<el-option v-for="item in data.userlist" :key="item.id" :label="item.nickname" :value="item.id" />
|
||||||
|
<!-- </div> -->
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="项目状态" style="margin-left: 9px;">
|
||||||
|
<el-input v-model="form.status_text" disabled></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="项目类型" style="margin-left: 11px;">
|
||||||
|
<el-select v-model="form.type" placeholder="请选择">
|
||||||
|
<el-option label="技术开发" :value="1"></el-option>
|
||||||
|
<el-option label="产品开发" :value="2"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="项目代码" style="margin-left: 10px;" :required="true" prop="code">
|
||||||
|
<el-input v-model="form.code" maxlength="80"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-row>
|
||||||
|
<el-row :gutter="16">
|
||||||
|
<el-form-item label="项目编号">
|
||||||
|
<el-input v-model="form.sn" disabled></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="产品分类" class="lc_lcselect" :required="true">
|
||||||
|
<el-cascader v-model="form.cate_id" :options="cate.cateArry"
|
||||||
|
:props="{ expandTrigger: 'hover', value: 'id', label: 'name', children: 'children' }"
|
||||||
|
clearable></el-cascader>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="项目预计开始日期" style=" margin-left: 13px;">
|
||||||
|
<el-col :span="11">
|
||||||
|
<el-date-picker type="date" placeholder="选择日期" v-model="form.plan_start_time"
|
||||||
|
style="width: 100%;margin-left: -10px;" :value-format="formatset" :format="formatset"></el-date-picker>
|
||||||
|
</el-col>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="项目预计结束日期" style=" margin-left: 4px;">
|
||||||
|
<el-col :span="11">
|
||||||
|
<el-date-picker type="date" placeholder="选择日期" v-model="form.plan_end_time"
|
||||||
|
style="width: 100%;margin-left: -10px;" :value-format="formatset" :format="formatset"></el-date-picker>
|
||||||
|
</el-col>
|
||||||
|
</el-form-item>
|
||||||
|
</el-row>
|
||||||
|
<el-row :gutter="16">
|
||||||
|
<el-form-item :label="item.label" v-for="item in html.datelist" :key="item.label">
|
||||||
|
<el-col :span="11">
|
||||||
|
<el-date-picker type="date" placeholder="选择日期" v-model="form[item.vModel]"
|
||||||
|
style="width: 100%;margin-left: -7px;" :value-format="formatset" :format="formatset"
|
||||||
|
disabled></el-date-picker>
|
||||||
|
</el-col>
|
||||||
|
</el-form-item>
|
||||||
|
</el-row>
|
||||||
|
<el-row :gutter="16">
|
||||||
|
<el-col :span="5">
|
||||||
|
<el-form-item label="项目优先级" style=" margin-left: -8px;">
|
||||||
|
<el-select v-model="form.level" placeholder="请选择">
|
||||||
|
<el-option label="P0" :value="0"></el-option>
|
||||||
|
<el-option label="P1" :value="1"></el-option>
|
||||||
|
<el-option label="P2" :value="2"></el-option>
|
||||||
|
<el-option label="P3" :value="3"></el-option>
|
||||||
|
<el-option label="P4" :value="4"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="15">
|
||||||
|
<el-form-item label="项目包含品牌" class="lcse2" :required="true" style="width: 500px;">
|
||||||
|
<el-select v-model="form.brand_ids" multiple placeholder="请选择" style="width: inherit;" size="small">
|
||||||
|
<el-checkbox v-model="data.checked" @change='selectAll' style="margin-left:20px">
|
||||||
|
全选
|
||||||
|
</el-checkbox>
|
||||||
|
<el-option v-for="item in brandArry" :key="item.name" :label="item.name" :value="item.id">
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="lc_bsmain lc_taskmain" v-if="type == 'taskInfo'">
|
||||||
|
<!--基础字段-->
|
||||||
|
<div>
|
||||||
|
<el-form label-position="right" :model="taskform" label-width="112px">
|
||||||
|
<el-row :gutter="5">
|
||||||
|
<el-form-item label="任务编码">
|
||||||
|
<el-input v-model="taskform.sn" style=" margin-left: -6px;" maxlength="80" disabled></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="任务名称" style="margin-left: 5px;">
|
||||||
|
<el-input v-model="taskform.name" style=" margin-left: -6px;" maxlength="80" disabled></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="任务负责人" style=" margin-left: 11px;" :required="true">
|
||||||
|
<el-select v-model="taskform.leader_user_id" placeholder="请选择" filterable remote
|
||||||
|
:remote-method="userremoteMethod">
|
||||||
|
<!-- <div style="height: 150px;overflow: auto;" v-infinite-scroll="loadmore"
|
||||||
|
:infinite-scroll-immediate="false"> -->
|
||||||
|
<el-option v-for="item in data.userlistall" :key="item.id" :label="item.nickname" :value="item.id" />
|
||||||
|
<!-- </div> -->
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="任务审核人" style=" margin-left: 11px;" :required="true">
|
||||||
|
<el-select v-model="taskform.reviewer_user_id" placeholder="请选择" filterable remote
|
||||||
|
:remote-method="userremoteMethod">
|
||||||
|
<!-- <el-select v-model="taskform.reviewer_user_id" placeholder="请选择" filterable remote
|
||||||
|
:remote-method="remoteMethod"> -->
|
||||||
|
<!-- <div style="height: 150px;overflow: auto;" v-infinite-scroll="loadmore"
|
||||||
|
:infinite-scroll-immediate="false"> -->
|
||||||
|
<el-option v-for="item in data.userlistall" :key="item.id" :label="item.nickname" :value="item.id" />
|
||||||
|
<!-- </div> -->
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="业务状态" style="margin-left: 9px;">
|
||||||
|
<el-input v-model="taskform.task_status_text" disabled></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="业务审核状态" style="margin-left: 9px;">
|
||||||
|
<el-input v-model="taskform.examine_status_text" disabled></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-row>
|
||||||
|
<el-row :gutter="16">
|
||||||
|
|
||||||
|
<el-form-item label="所属项目编号">
|
||||||
|
<el-input v-model="taskform.project_sn" disabled></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="所属项目名称">
|
||||||
|
<el-input v-model="taskform.project_name" disabled></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="要求完成时间" style=" margin-left: 13px;">
|
||||||
|
<el-col :span="11">
|
||||||
|
<el-date-picker type="date" placeholder="选择日期" v-model="taskform.required_time_text"
|
||||||
|
style="width: 100%;margin-left: -10px;" :value-format="formatset" :format="formatset"
|
||||||
|
disabled></el-date-picker>
|
||||||
|
</el-col>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="预计开始日期" style=" margin-left: 13px;">
|
||||||
|
<el-col :span="11">
|
||||||
|
<el-date-picker type="date" placeholder="选择日期" v-model="taskform.plan_start_time_text"
|
||||||
|
style="width: 100%;margin-left: -10px;" :value-format="formatset" :format="formatset"></el-date-picker>
|
||||||
|
</el-col>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="预计完成日期" style=" margin-left: 4px;">
|
||||||
|
<el-col :span="11">
|
||||||
|
<el-date-picker type="date" placeholder="选择日期" v-model="taskform.plan_end_time_text"
|
||||||
|
style="width: 100%;margin-left: -10px;" :value-format="formatset" :format="formatset"></el-date-picker>
|
||||||
|
</el-col>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="完成日期" style=" margin-left: 4px;">
|
||||||
|
<el-col :span="11">
|
||||||
|
<el-date-picker type="date" placeholder="选择日期" v-model="taskform.end_time_text"
|
||||||
|
style="width: 100%;margin-left: -10px;" :value-format="formatset" :format="formatset"
|
||||||
|
disabled></el-date-picker>
|
||||||
|
</el-col>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="T0日期" style=" margin-left: 4px;" v-if="kmT0tag == 'km'">
|
||||||
|
<el-col :span="11">
|
||||||
|
<el-date-picker type="date" placeholder="选择日期" v-model="taskform.t0_time_text"
|
||||||
|
style="width: 100%;margin-left: -10px;" :value-format="formatset" :format="formatset"
|
||||||
|
:disabled="taskform.examine_status_text == '未下推' || taskform.examine_status_text == '已结束'"></el-date-picker>
|
||||||
|
</el-col>
|
||||||
|
</el-form-item>
|
||||||
|
<div v-else class="l-button lcbhbt" @click="data.bhshow = true" v-if="data.reject && data.reject.length > 0">
|
||||||
|
查看任务审核驳回明细</div>
|
||||||
|
</el-row>
|
||||||
|
<el-row v-if="kmT0tag == 'km'">
|
||||||
|
<div class="l-button lcbhbt" @click="data.bhshow = true" v-if="data.reject && data.reject.length > 0">
|
||||||
|
查看任务审核驳回明细</div>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 查看驳回原因弹框-->
|
||||||
|
<el-dialog title="驳回原因" v-model="data.bhshow" :before-close="handleClose" width="500px">
|
||||||
|
<div class="lcbhcontent" v-if="data.reject && data.reject.length > 0" style="max-height: 400px; overflow-y: auto;">
|
||||||
|
<div v-for="(it, index) in data.reject" :key="index">
|
||||||
|
<div class="lc_bhitem">
|
||||||
|
<div>驳回时间:{{ it.create_time_text }}</div>
|
||||||
|
<div>驳回人:{{ it.create_user_name }}</div>
|
||||||
|
<div>{{ it.msg }}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
暂无记录
|
||||||
|
</div>
|
||||||
|
<template #footer>
|
||||||
|
<span class="dialog-footer">
|
||||||
|
<el-button type="primary" @click="data.bhshow = false">确 定</el-button>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script setup name="lcBaseInfo">
|
||||||
|
import { getUsers, getCate, getBrand } from '../../utils/lc'
|
||||||
|
import { infoForm, taskForm } from '../../utils/lc_data'
|
||||||
|
import { reactive, ref, onMounted, defineExpose, defineProps, watch, getCurrentInstance } from 'vue'
|
||||||
|
import { ElMessage } from 'element-plus'
|
||||||
|
/* 数据 */
|
||||||
|
let { proxy } = getCurrentInstance()// this替代
|
||||||
|
const prop = defineProps(['type', 'kmT0tag'])
|
||||||
|
const html = reactive({
|
||||||
|
datelist: [{ label: '项目开始日期', vModel: 'start_time' }, { label: '项目发布日期', vModel: 'issue_time' }, { label: '项目量产日期', vModel: 'product_time' }, { label: '项目上架日期', vModel: 'online_time' }, { label: '项目结束日期', vModel: 'end_time' }]
|
||||||
|
})
|
||||||
|
const upLoadQuery = ref({ type: 'images', language_id: 1 })
|
||||||
|
const upLoadUrl = ref(process.env.VUE_APP_API_BASEURL + 'admin/project/upload/file')
|
||||||
|
const formatset = ref('YYYY/MM/DD')
|
||||||
|
let imageUrl = ref('')
|
||||||
|
const form = reactive(JSON.parse(JSON.stringify(infoForm)))
|
||||||
|
const taskform = reactive(JSON.parse(JSON.stringify(taskForm)))
|
||||||
|
let lastPage = ref(0)
|
||||||
|
let data = reactive({
|
||||||
|
checked: false,//全选
|
||||||
|
withcredentials: true,
|
||||||
|
reject: [],// 驳回原因列表
|
||||||
|
bhshow: false,// 驳回原因弹框
|
||||||
|
userlist: [],
|
||||||
|
userlistall: [],
|
||||||
|
userSet: { page: 1, size: 99999, nickname: '' }
|
||||||
|
})
|
||||||
|
let cate = reactive({
|
||||||
|
cateArry: [],
|
||||||
|
cateSet: { cate_name: '', pid: '', is_tree: 1 }
|
||||||
|
})
|
||||||
|
let brandArry = ref([])
|
||||||
|
watch(() => form.brand_ids, (newValue, oldValue) => {
|
||||||
|
data.checked = brandArry.value.length == newValue.length ? true : false
|
||||||
|
})
|
||||||
|
/* 初始化 */
|
||||||
|
// 获取品牌数据
|
||||||
|
getBrand().then(res => {
|
||||||
|
brandArry.value = res
|
||||||
|
|
||||||
|
})
|
||||||
|
// 获取产品分类数据
|
||||||
|
getCate(cate.cateSet).then(res => {
|
||||||
|
cate.cateArry = res
|
||||||
|
})
|
||||||
|
// 挂载初始化---生命周期
|
||||||
|
onMounted(() => {
|
||||||
|
getUsers({ page: 1, size: 99999, nickname: '' }).then(res => {
|
||||||
|
lastPage.value = res.last_page
|
||||||
|
data.userlistall = JSON.parse(JSON.stringify(res.data))
|
||||||
|
})
|
||||||
|
init()
|
||||||
|
})
|
||||||
|
/* 方法 */
|
||||||
|
function init (value) {
|
||||||
|
data.userSet.page = 1
|
||||||
|
data.userSet.nickname = value
|
||||||
|
getUsers(data.userSet).then(res => {
|
||||||
|
lastPage.value = res.last_page
|
||||||
|
data.userlist = JSON.parse(JSON.stringify(res.data))
|
||||||
|
data.userlistall = JSON.parse(JSON.stringify(res.data))
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 远程搜索人
|
||||||
|
function userremoteMethod (value) {
|
||||||
|
proxy.$http.showLoading(false).get('project/data/user', { nickname: value, page: 1, size: 99999 }).then(res => {
|
||||||
|
data.userlistall = res.data.data
|
||||||
|
data.userlist = res.data.data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 品牌全选
|
||||||
|
function selectAll () {
|
||||||
|
form.brand_ids = []
|
||||||
|
if (data.checked) {
|
||||||
|
brandArry.value.map((item) => {
|
||||||
|
form.brand_ids.push(item.id)
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
form.brand_ids = []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//
|
||||||
|
function handleClose () {
|
||||||
|
data.bhshow = false
|
||||||
|
}
|
||||||
|
// 项目负责人懒加载
|
||||||
|
function loadmore () {
|
||||||
|
data.userSet.page++
|
||||||
|
if (data.userSet.page <= lastPage.value) {
|
||||||
|
getUsers(data.userSet).then(res => {
|
||||||
|
data.userlist = [...JSON.parse(JSON.stringify(data.userlist)), ...res.data]
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function handleAvatarSuccess (response, uploadFile) {
|
||||||
|
if (response.status == 200) {
|
||||||
|
imageUrl.value = response.data.fileurl ? response.data.fileurl : ''
|
||||||
|
form.image = imageUrl.value
|
||||||
|
proxy.$refs.uploadRef.clearFiles()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function beforeAvatarUpload (file) {
|
||||||
|
const isJPG = ['image/jpeg', 'image/jpg', 'image/png'].includes(file.type)
|
||||||
|
const isLt2M = file.size / 1024 / 1024 < 1
|
||||||
|
if (!isJPG) {
|
||||||
|
ElMessage.error('上传图片格式不对!')
|
||||||
|
}
|
||||||
|
if (!isLt2M) {
|
||||||
|
ElMessage.error('上传图片大小不能超过 1MB!')
|
||||||
|
}
|
||||||
|
return isJPG && isLt2M
|
||||||
|
}
|
||||||
|
function remoteMethod (value) {
|
||||||
|
init(value)
|
||||||
|
}
|
||||||
|
/* 曝露方法或者属性值给父组件或者其他子组件用 */
|
||||||
|
defineExpose({
|
||||||
|
form,
|
||||||
|
imageUrl,
|
||||||
|
taskform,
|
||||||
|
data
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import '../../assets/style/lc.scss';
|
||||||
|
</style>
|
||||||
341
src/components/lcProject/lcBom.vue
Normal file
@@ -0,0 +1,341 @@
|
|||||||
|
<!-- Bom-->
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<vxe-toolbar>
|
||||||
|
<template #buttons>
|
||||||
|
<div class="ggdy-bts">
|
||||||
|
<div class="l-button" @click="addRow">新增行</div>
|
||||||
|
<div class="l-button" @click="deletRow">删除行</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</vxe-toolbar>
|
||||||
|
<vxe-table id="Bomtableid" ref='Bomtable' @checkbox-change="selectionChange" @checkbox-all="selectAllChange"
|
||||||
|
max-height="600" keep-source :custom-config="{ storage: true }" border show-overflow :data="data.theBomxzTableData"
|
||||||
|
:column-config="{ resizable: true }" :sort-config="{ remote: false }" :footer-method="footerMethod" show-footer
|
||||||
|
:merge-footer-items="data.mergeFooterItems"
|
||||||
|
:edit-config="{ trigger: 'click', mode: 'cell', showUpdateStatus: true, showInsertStatus: true }" class="ggdycss">
|
||||||
|
<vxe-column type="checkbox" width="50" align="center"></vxe-column>
|
||||||
|
<vxe-column type="seq" width="50" title="序号" align="center"></vxe-column>
|
||||||
|
<vxe-column field="bom_code" title="物料编码" :edit-render="{ autofocus: '.vxe-input--inner' }" width="250"
|
||||||
|
align="left">
|
||||||
|
<template #edit="{ row }">
|
||||||
|
<vxe-input v-model="row.bom_code" :maxlenth="200"></vxe-input>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
<vxe-column field="bom_name" title="物料名称" :edit-render="{ autofocus: '.vxe-input--inner' }" width="250"
|
||||||
|
align="left">
|
||||||
|
<template #edit="{ row }">
|
||||||
|
<vxe-input v-model="row.bom_name" :maxlenth="200"></vxe-input>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
<vxe-column field="bom_desc" title="物料规格型号" :edit-render="{ autofocus: '.vxe-input--inner' }" width="250"
|
||||||
|
align="left">
|
||||||
|
<template #edit="{ row }">
|
||||||
|
<vxe-input v-model="row.bom_desc" :maxlenth="200"></vxe-input>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
<vxe-column field="molecule" title="分子" :edit-render="{ autofocus: '.vxe-input--inner' }" width="100" align="left">
|
||||||
|
<template #edit="{ row }">
|
||||||
|
<vxe-input v-model="row.molecule" min='1' type="integer"
|
||||||
|
@blur="textinput($event, row.indextb, 'molecule')"></vxe-input>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
<vxe-column field="denominator" title="分母" :edit-render="{ autofocus: '.vxe-input--inner' }" width="100"
|
||||||
|
align="left">
|
||||||
|
<template #edit="{ row }">
|
||||||
|
<vxe-input v-model="row.denominator" min='1' type="integer"
|
||||||
|
@blur="textinput($event, row.indextb, 'denominator')"></vxe-input>
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
<vxe-column field="price" title="单价" :edit-render="{ autofocus: '.vxe-input--inner' }" width="100" align="left">
|
||||||
|
<template #edit="{ row }">
|
||||||
|
<vxe-input v-model="row.price" type="number" min='0'
|
||||||
|
@blur="checkNum($event, row.indextb, 'price', 8, 4)"></vxe-input>
|
||||||
|
</template></vxe-column>
|
||||||
|
<vxe-column field="total_price" title="总价" width="110" align="left"> </vxe-column>
|
||||||
|
<vxe-column field="remark" title="备注" :edit-render="{ autofocus: '.vxe-input--inner' }" align="left">
|
||||||
|
<template #edit="{ row }">
|
||||||
|
<vxe-input v-model.trim="row.remark" :maxlenth="200" />
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
</vxe-table>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import { defineComponent, reactive, getCurrentInstance, onMounted, computed, watch } from 'vue';
|
||||||
|
import { addBomitem } from '../../utils/lc_data'// 获取人员
|
||||||
|
export default defineComponent({
|
||||||
|
name: 'lcBomtable',
|
||||||
|
props: {
|
||||||
|
BomxzTableData: {
|
||||||
|
type: Array,
|
||||||
|
default: []
|
||||||
|
},
|
||||||
|
projectId: {
|
||||||
|
type: Number,
|
||||||
|
default: null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
emits: ["update:BomxzTableData"],
|
||||||
|
setup (props, context) {
|
||||||
|
const apiVersion = process.env.VUE_APP_API_VERSION.replace(/\./g, '_')
|
||||||
|
const baseUrl = process.env.VUE_APP_API_BASEURL + apiVersion + '/'
|
||||||
|
let { proxy } = getCurrentInstance()
|
||||||
|
const data = reactive({
|
||||||
|
dataKey: new Date().getTime(),
|
||||||
|
theBomxzTableData: [],
|
||||||
|
enlargeImg: '',
|
||||||
|
top: '',
|
||||||
|
upLoadUrl: baseUrl + 'project/upload/file',
|
||||||
|
upLoadQuery: { type: 'images' },
|
||||||
|
bomlist: [],
|
||||||
|
loading: false,
|
||||||
|
bom_code: '',
|
||||||
|
mergeFooterItems: [],
|
||||||
|
fileList: [], //上传的文件列表
|
||||||
|
multipleSelection: [],// 字段选择显示选中结合
|
||||||
|
})
|
||||||
|
onMounted(() => {
|
||||||
|
setTimeout(() => {
|
||||||
|
data.theBomxzTableData = []
|
||||||
|
data.theBomxzTableData = props.BomxzTableData ? props.BomxzTableData : []
|
||||||
|
listIDX()
|
||||||
|
proxy.$refs.Bomtable.loadData(data.theBomxzTableData)
|
||||||
|
data.mergeFooterItems = [{ row: 0, col: 1, rowspan: 1, colspan: 5 }]
|
||||||
|
}, 1000)
|
||||||
|
// 标准零件的下拉交互还没
|
||||||
|
})
|
||||||
|
watch(() => props.BomxzTableData, (val, preVal) => {
|
||||||
|
//val为修改后的值,preVal为修改前的值
|
||||||
|
data.theBomxzTableData = val
|
||||||
|
}, {
|
||||||
|
immediate: true,
|
||||||
|
deep: true,
|
||||||
|
})
|
||||||
|
// 求合
|
||||||
|
const sumNum = (list, field) => {
|
||||||
|
let count = 0
|
||||||
|
list.forEach(item => {
|
||||||
|
count += Number(item[field])
|
||||||
|
})
|
||||||
|
return count ? countsetNums83(count, 8, 4) : 0
|
||||||
|
}
|
||||||
|
// 表尾合计
|
||||||
|
const footerMethod = ({ columns, data }) => {
|
||||||
|
return [
|
||||||
|
columns.map((column, columnIndex) => {
|
||||||
|
let arr = []
|
||||||
|
if (columnIndex === 0) {
|
||||||
|
return '合计'
|
||||||
|
}
|
||||||
|
['price', 'total_price'].forEach(el => {
|
||||||
|
arr.push(el)
|
||||||
|
});
|
||||||
|
if (arr.includes(column.property)) {
|
||||||
|
return sumNum(data, column.property)
|
||||||
|
}
|
||||||
|
return null
|
||||||
|
})
|
||||||
|
]
|
||||||
|
}
|
||||||
|
function countsetNums83 (numvValue, integerMax, digits) {
|
||||||
|
if (numvValue) {
|
||||||
|
let reg;
|
||||||
|
numvValue = numvValue + ''
|
||||||
|
if (integerMax) {
|
||||||
|
reg = new RegExp(`^(\\-)*(\\d{${integerMax}}).*$`); // 通过 integerMax 限制整数位,
|
||||||
|
if (!numvValue.includes('.')) {
|
||||||
|
numvValue = numvValue.replace(reg, '$1$2');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (digits) {
|
||||||
|
reg = new RegExp(`^(-)*(\\d*)\\.(\\d{0,${digits}}).*$`); // 通过 digits 限制小数位,
|
||||||
|
numvValue = numvValue.replace(reg, '$1$2.$3');
|
||||||
|
}
|
||||||
|
if (integerMax && digits) {
|
||||||
|
reg = new RegExp(`^(-)*(\\d{${integerMax}}).*\\.(\\d{0,${digits}}).*$`);
|
||||||
|
} else {
|
||||||
|
reg = new RegExp(`^(-)*(\\d*).*\\.(\\d{0,2}).*$`);
|
||||||
|
}
|
||||||
|
numvValue = numvValue.replace(reg, '$1$2.$3');
|
||||||
|
context.emit('update:BomxzTableData', data.theBomxzTableData)
|
||||||
|
return parseFloat(numvValue) ? Math.round(parseFloat(numvValue) * Math.pow(10, 3)) / Math.pow(10, 3) : 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function setNums83 (numvValue, integerMax, digits, rowIndex) {
|
||||||
|
if (numvValue) {
|
||||||
|
let reg;
|
||||||
|
numvValue = numvValue + ''
|
||||||
|
if (integerMax) {
|
||||||
|
reg = new RegExp(`^(\\-)*(\\d{${integerMax}}).*$`); // 通过 integerMax 限制整数位,
|
||||||
|
if (!numvValue.includes('.')) {
|
||||||
|
numvValue = numvValue.replace(reg, '$1$2');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (digits) {
|
||||||
|
reg = new RegExp(`^(-)*(\\d*)\\.(\\d{0,${digits}}).*$`); // 通过 digits 限制小数位,
|
||||||
|
numvValue = numvValue.replace(reg, '$1$2.$3');
|
||||||
|
}
|
||||||
|
if (integerMax && digits) {
|
||||||
|
reg = new RegExp(`^(-)*(\\d{${integerMax}}).*\\.(\\d{0,${digits}}).*$`);
|
||||||
|
} else {
|
||||||
|
reg = new RegExp(`^(-)*(\\d*).*\\.(\\d{0,2}).*$`);
|
||||||
|
}
|
||||||
|
numvValue = numvValue.replace(reg, '$1$2.$3');
|
||||||
|
if ((rowIndex || rowIndex == 0) && rowIndex != '') {
|
||||||
|
data.theBomxzTableData[rowIndex].total_price = parseFloat(numvValue).toFixed(3)
|
||||||
|
}
|
||||||
|
// return parseFloat(numvValue) ? Math.round(parseFloat(numvValue) * Math.pow(10, 3)) / Math.pow(10, 3) : 0
|
||||||
|
context.emit('update:BomxzTableData', data.theBomxzTableData)
|
||||||
|
return parseFloat(numvValue) ? Math.round(parseFloat(numvValue) * Math.pow(10, 3)) / Math.pow(10, 3) : 0
|
||||||
|
} else {
|
||||||
|
if ((rowIndex || rowIndex == 0) && rowIndex != '') {
|
||||||
|
data.theBomxzTableData[rowIndex].total_price = 0
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 输入校验前8侯三
|
||||||
|
function checkNum (event, index, key, integerMax, digits) {
|
||||||
|
let reg;
|
||||||
|
if (integerMax) {
|
||||||
|
reg = new RegExp(`^(\\-)*(\\d{${integerMax}}).*$`); // 通过 integerMax 限制整数位,
|
||||||
|
if (!event.value.includes('.')) {
|
||||||
|
event.value = event.value.replace(reg, '$1$2');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (digits) {
|
||||||
|
reg = new RegExp(`^(-)*(\\d*)\\.(\\d{0,${digits}}).*$`); // 通过 digits 限制小数位,
|
||||||
|
event.value = event.value.replace(reg, '$1$2.$3');
|
||||||
|
}
|
||||||
|
if (integerMax && digits) {
|
||||||
|
reg = new RegExp(`^(-)*(\\d{${integerMax}}).*\\.(\\d{0,${digits}}).*$`);
|
||||||
|
} else {
|
||||||
|
reg = new RegExp(`^(-)*(\\d*).*\\.(\\d{0,2}).*$`);
|
||||||
|
}
|
||||||
|
event.value = event.value.replace(reg, '$1$2.$3');
|
||||||
|
if (event.value) (
|
||||||
|
data.theBomxzTableData[index][key] = parseFloat(event.value).toFixed(3)
|
||||||
|
)
|
||||||
|
data.theBomxzTableData[index].total_price = setNums83((data.theBomxzTableData[index].molecule / data.theBomxzTableData[index].denominator) * data.theBomxzTableData[index].price, 8, 4, index)
|
||||||
|
context.emit('update:BomxzTableData', data.theBomxzTableData)
|
||||||
|
// return event.value
|
||||||
|
}
|
||||||
|
// 选中单行
|
||||||
|
function selectionChange (value) {
|
||||||
|
data.multipleSelection = value.records
|
||||||
|
}
|
||||||
|
// 选中全部
|
||||||
|
function selectAllChange (value) {
|
||||||
|
data.multipleSelection = value.records
|
||||||
|
}
|
||||||
|
function enlarge (e, row) {
|
||||||
|
data.enlargeImg = row.image
|
||||||
|
row.enlargeImgShow = true
|
||||||
|
data.top = 'top:' + e.clientY + 'px'
|
||||||
|
}
|
||||||
|
function enlargeOut (row) {
|
||||||
|
row.enlargeImgShow = false
|
||||||
|
data.enlargeImg = ''
|
||||||
|
}
|
||||||
|
function remoteMethod (query) {
|
||||||
|
if (query !== '') {
|
||||||
|
data.loading = true
|
||||||
|
setTimeout(() => {
|
||||||
|
data.loading = false
|
||||||
|
getbzBom(query)
|
||||||
|
}, 300)
|
||||||
|
} else {
|
||||||
|
data.bomlist = []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function bomchange (val) { }
|
||||||
|
// 获取标准零件下拉数据
|
||||||
|
function getbzBom (bom_code) {
|
||||||
|
proxy.$http.showLoading(false).get('project/data/bom', { page: 1, size: 6000, bom_code: bom_code }).then(r => {
|
||||||
|
if (r.errno == 200) {
|
||||||
|
data.bomlist = r.data.data
|
||||||
|
} else {
|
||||||
|
proxy.$message.error(r.errmsg)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 重置下标
|
||||||
|
function listIDX () {
|
||||||
|
if (data.theBomxzTableData && data.theBomxzTableData.length > 0) {
|
||||||
|
data.theBomxzTableData.forEach((it, index) => {
|
||||||
|
it.indextb = index
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 新增行
|
||||||
|
async function addRow () {
|
||||||
|
data.theBomxzTableData.unshift(JSON.parse(JSON.stringify(addBomitem)))
|
||||||
|
await proxy.$refs.Bomtable.loadData(data.theBomxzTableData)
|
||||||
|
await listIDX()
|
||||||
|
context.emit('update:BomxzTableData', data.theBomxzTableData)
|
||||||
|
}
|
||||||
|
// 删除行
|
||||||
|
function deletRow () {
|
||||||
|
if (data.multipleSelection && data.multipleSelection.length > 0) {
|
||||||
|
proxy.$confirm('是否确认删除?', '提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
type: 'warning',
|
||||||
|
}).then(() => {
|
||||||
|
let newlist = JSON.parse(JSON.stringify(data.theBomxzTableData))
|
||||||
|
data.multipleSelection.forEach(it => {
|
||||||
|
newlist.forEach((k, theindex) => {
|
||||||
|
if (it.indextb == k.indextb) {
|
||||||
|
newlist.splice(theindex, 1)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
data.theBomxzTableData = newlist
|
||||||
|
listIDX()
|
||||||
|
proxy.$refs.Bomtable.loadData(data.theBomxzTableData)
|
||||||
|
context.emit('update:BomxzTableData', data.theBomxzTableData)
|
||||||
|
proxy.$message({
|
||||||
|
type: 'success',
|
||||||
|
message: '删除成功',
|
||||||
|
})
|
||||||
|
}).catch(() => { })
|
||||||
|
} else {
|
||||||
|
proxy.$message({
|
||||||
|
type: 'error',
|
||||||
|
message: '请先选择你要删除的行',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function textinput (event, index, field) {
|
||||||
|
data.theBomxzTableData[index][field] = event.value
|
||||||
|
data.theBomxzTableData[index].total_price = setNums83((data.theBomxzTableData[index].molecule / data.theBomxzTableData[index].denominator) * data.theBomxzTableData[index].price, 8, 4, index)
|
||||||
|
proxy.$refs.Bomtable.loadData(data.theBomxzTableData)
|
||||||
|
context.emit('update:BomxzTableData', data.theBomxzTableData)
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
data,
|
||||||
|
getbzBom,
|
||||||
|
checkNum,
|
||||||
|
setNums83,
|
||||||
|
textinput,
|
||||||
|
countsetNums83,
|
||||||
|
selectionChange,
|
||||||
|
selectAllChange,
|
||||||
|
enlarge,
|
||||||
|
enlargeOut,
|
||||||
|
remoteMethod,
|
||||||
|
bomchange,
|
||||||
|
addRow,
|
||||||
|
deletRow,
|
||||||
|
footerMethod,
|
||||||
|
sumNum,
|
||||||
|
listIDX
|
||||||
|
};
|
||||||
|
},
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
@import '../../assets/style/lc.scss';
|
||||||
|
</style>
|
||||||
303
src/components/lcProject/lcButtons.vue
Normal file
@@ -0,0 +1,303 @@
|
|||||||
|
<template>
|
||||||
|
<div v-if="type == 1" class="l_bts">
|
||||||
|
<!-- type ==1普通按钮组-->
|
||||||
|
<div class="l-button" v-for="(it, index) in bts" :key="index" @click="btsEmit(it.methodName)">{{ it.name }}</div>
|
||||||
|
<slot name="check"></slot>
|
||||||
|
</div>
|
||||||
|
<!-- type ==2 任务列表顶按钮组-->
|
||||||
|
<div v-if="type == 2" class="l-bt-flex">
|
||||||
|
<div v-for="(it, index) in (task == 'task' ? btsArry2 : btsArry) " :key="it.name">
|
||||||
|
<div class="l-button" v-if="it.type == 'defalut'" @click="btsEmit(it.methodName)">{{ it.name }}</div>
|
||||||
|
<div class="l-button2" v-if="it.type == 'plain'" @click="btsEmit(it.methodName)">{{ it.name }}</div>
|
||||||
|
<el-dropdown size="small" split-button type="primary" @click="dropbtn(it.methodName, it.name)"
|
||||||
|
v-if="it.type == 'dropdown'" @command="btsEmit" style="margin-right: 15px;">
|
||||||
|
{{ it.name }}
|
||||||
|
<template #dropdown>
|
||||||
|
<el-dropdown-menu>
|
||||||
|
<el-dropdown-item v-for="its in it.dropdownlist" :key="its.methodName" :command="its.methodName">{{
|
||||||
|
its.name
|
||||||
|
}}</el-dropdown-item>
|
||||||
|
</el-dropdown-menu>
|
||||||
|
</template>
|
||||||
|
</el-dropdown>
|
||||||
|
<!--
|
||||||
|
<el-dropdown v-if="it.type == 'dropdown'" @command="btsEmit">
|
||||||
|
<div class="l-button">
|
||||||
|
<span class="l-bt-flex" @click="dropbtn(it.name)">{{ it.name }}<img src="../../assets/ico-xl.png"
|
||||||
|
class="ico-xl" /></span>
|
||||||
|
</div>
|
||||||
|
<template #dropdown>
|
||||||
|
<el-dropdown-menu>
|
||||||
|
<el-dropdown-item v-for="its in it.dropdownlist" :key="its.methodName" :command="its.methodName">{{
|
||||||
|
its.name
|
||||||
|
}}</el-dropdown-item>
|
||||||
|
</el-dropdown-menu>
|
||||||
|
</template>
|
||||||
|
</el-dropdown> -->
|
||||||
|
</div>
|
||||||
|
<slot name="db"></slot>
|
||||||
|
</div>
|
||||||
|
<!--项目输出资料表弹框 -->
|
||||||
|
<lcDailogzl v-model:dialogVisible="dialogVisible" @handelClose="handelClose" v-bind="$attrs" v-if="dialogVisible">
|
||||||
|
</lcDailogzl>
|
||||||
|
<!--排期弹框-->
|
||||||
|
<lcDailogPQ v-model:pQshow="pQshow" @handelClose="handelClose" :planStratTime='planStratTime' :ids="ids" v-if="pQshow"
|
||||||
|
v-bind="$attrs"></lcDailogPQ>
|
||||||
|
<!--转派弹框-->
|
||||||
|
<lcDailogZP v-model:zPshow="zPshow" @handelClose="handelClose" :userId='userId' :ids="ids" v-bind="$attrs"
|
||||||
|
v-if="zPshow"></lcDailogZP>
|
||||||
|
<!--人员变更弹框-->
|
||||||
|
<lcDailogrybg v-model:rybgshow="rybgshow" @handelClose="handelClose" :reviewerUserId='reviewerUserId' :ids="ids"
|
||||||
|
v-if="rybgshow" v-bind="$attrs">
|
||||||
|
</lcDailogrybg>
|
||||||
|
<!--人员驳回原因-->
|
||||||
|
<lcDailogrybh v-model:bhshow="bhshow" @handelClose="handelClose" :ids="ids" :msg="msg" v-bind="$attrs" v-if="bhshow">
|
||||||
|
</lcDailogrybh>
|
||||||
|
</template>
|
||||||
|
<script setup name="LButton">
|
||||||
|
import { ElMessage } from 'element-plus'
|
||||||
|
import { defineProps, defineEmits, ref, reactive, getCurrentInstance, watch, defineExpose } from 'vue'
|
||||||
|
import { useRouter } from 'vue-router';
|
||||||
|
/* 数据层 */
|
||||||
|
let router = useRouter()
|
||||||
|
const { proxy } = getCurrentInstance()
|
||||||
|
const dialogVisible = ref(false)
|
||||||
|
const pQshow = ref(false)
|
||||||
|
const zPshow = ref(false)
|
||||||
|
const rybgshow = ref(false)
|
||||||
|
const bhshow = ref(false)
|
||||||
|
function handelClose (value) {
|
||||||
|
dialogVisible.value = false
|
||||||
|
pQshow.value = false
|
||||||
|
zPshow.value = false
|
||||||
|
rybgshow.value = false
|
||||||
|
bhshow.value = false
|
||||||
|
}
|
||||||
|
const pop = defineProps(['type', 'bts', 'planStratTime', 'ids', 'userId', 'reviewerUserId', 'msg', 'task', 'projectName'])
|
||||||
|
let theids = ref('')
|
||||||
|
watch(
|
||||||
|
() => pop.ids,
|
||||||
|
(newValue, oldValue) => {
|
||||||
|
theids.value = newValue
|
||||||
|
}
|
||||||
|
)
|
||||||
|
const btsArry = reactive([
|
||||||
|
{
|
||||||
|
name: '保存',
|
||||||
|
type: 'defalut',
|
||||||
|
methodName: 'saveBt',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '操作状态',
|
||||||
|
defalutName: '操作状态',
|
||||||
|
type: 'dropdown',
|
||||||
|
dropdownlist: [{
|
||||||
|
name: '排期',
|
||||||
|
methodName: 'paiQi'
|
||||||
|
}, {
|
||||||
|
name: '转派',
|
||||||
|
methodName: 'zhuangPai'
|
||||||
|
}, {
|
||||||
|
name: '暂停',
|
||||||
|
methodName: 'zhanTing'
|
||||||
|
}]
|
||||||
|
}, {
|
||||||
|
name: '提交',
|
||||||
|
defalutName: '提交',
|
||||||
|
methodName: 'submitBt',
|
||||||
|
type: 'dropdown',
|
||||||
|
dropdownlist: [{
|
||||||
|
name: '提交',
|
||||||
|
methodName: 'submitBt'
|
||||||
|
}, {
|
||||||
|
name: '撤销',
|
||||||
|
methodName: 'revoke'
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '审核',
|
||||||
|
defalutName: '审核',
|
||||||
|
type: 'dropdown',
|
||||||
|
methodName: 'passBt',
|
||||||
|
dropdownlist: [{
|
||||||
|
name: '通过',
|
||||||
|
methodName: 'passBt'
|
||||||
|
}, {
|
||||||
|
name: '驳回',
|
||||||
|
methodName: 'rejectBt'
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '项目资料',
|
||||||
|
type: 'defalut',
|
||||||
|
methodName: 'projectInfobt'
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '修改审核人',
|
||||||
|
type: 'defalut',
|
||||||
|
methodName: 'pepoleChange'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '日志',
|
||||||
|
type: 'defalut',
|
||||||
|
methodName: 'log'
|
||||||
|
},
|
||||||
|
])
|
||||||
|
const btsArry2 = reactive([
|
||||||
|
{
|
||||||
|
name: '操作状态',
|
||||||
|
defalutName: '操作状态',
|
||||||
|
type: 'dropdown',
|
||||||
|
dropdownlist: [{
|
||||||
|
name: '排期',
|
||||||
|
methodName: 'pq'
|
||||||
|
}, {
|
||||||
|
name: '转派',
|
||||||
|
methodName: 'zp'
|
||||||
|
}, {
|
||||||
|
name: '暂停',
|
||||||
|
methodName: 'zt'
|
||||||
|
}]
|
||||||
|
}, {
|
||||||
|
name: '提交',
|
||||||
|
defalutName: '提交',
|
||||||
|
type: 'dropdown',
|
||||||
|
dropdownlist: [{
|
||||||
|
name: '提交',
|
||||||
|
methodName: 'tj'
|
||||||
|
}, {
|
||||||
|
name: '撤销',
|
||||||
|
methodName: 'cx'
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '通过',
|
||||||
|
type: 'defalut',
|
||||||
|
methodName: 'pass',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '修改审核人',
|
||||||
|
type: 'defalut',
|
||||||
|
methodName: 'rybg'
|
||||||
|
},
|
||||||
|
])
|
||||||
|
const emit = defineEmits(["btsEmit", 'getPageInfo'])
|
||||||
|
function dropbtn (methodName, btname) {
|
||||||
|
if (btname == '提交' || btname == '审核') {
|
||||||
|
btsEmit(methodName)
|
||||||
|
}
|
||||||
|
// if (btname == '审核') {
|
||||||
|
// thepass()
|
||||||
|
// }
|
||||||
|
// if (btname == '提交') {
|
||||||
|
// thesubmit('submitBt')
|
||||||
|
// }
|
||||||
|
console.log(btname)
|
||||||
|
}
|
||||||
|
function btsEmit (value) {
|
||||||
|
if (value == 'projectInfobt') {
|
||||||
|
// 项目资料
|
||||||
|
dialogVisible.value = true
|
||||||
|
}
|
||||||
|
if (value == 'paiQi') {
|
||||||
|
// 排期
|
||||||
|
pQshow.value = true
|
||||||
|
}
|
||||||
|
if (value == 'zhuangPai') {
|
||||||
|
//转派
|
||||||
|
zPshow.value = true
|
||||||
|
}
|
||||||
|
if (value == 'pepoleChange') {
|
||||||
|
// 人员变更
|
||||||
|
rybgshow.value = true
|
||||||
|
}
|
||||||
|
if (value == 'zhanTing') {
|
||||||
|
//暂停
|
||||||
|
if (theids) {
|
||||||
|
proxy.$http.showLoading(false).get('project/task/ch_status', { ids: theids.value, type: 20 }).then(res => {
|
||||||
|
if (res.errno == 200) {
|
||||||
|
ElMessage({
|
||||||
|
type: 'success',
|
||||||
|
message: '操作成功'
|
||||||
|
})
|
||||||
|
emit("getPageInfo")
|
||||||
|
} else {
|
||||||
|
ElMessage({
|
||||||
|
type: 'error',
|
||||||
|
message: res.errmsg
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (value == 'passBt') {
|
||||||
|
// thepass()
|
||||||
|
}
|
||||||
|
if (value == 'rejectBt') {
|
||||||
|
// 驳回
|
||||||
|
bhshow.value = true
|
||||||
|
}
|
||||||
|
if (value == 'revoke') {
|
||||||
|
// 驳回 value == 'submitBt' 10是提交,0是撤回
|
||||||
|
thesubmit(value)
|
||||||
|
}
|
||||||
|
// 日志
|
||||||
|
if (value == 'log') {
|
||||||
|
console.log('日志', theids, theids.value)
|
||||||
|
router.push({ path: '/lcProject/log/prlog', query: { task_id: theids.value, projectName: pop.projectName } })
|
||||||
|
}
|
||||||
|
emit("btsEmit", value)
|
||||||
|
}
|
||||||
|
function thepass () {
|
||||||
|
// 通过
|
||||||
|
if (theids) {
|
||||||
|
proxy.$http.showLoading(false).get('project/task/pass', { ids: theids.value, }).then(res => {
|
||||||
|
if (res.errno == 200) {
|
||||||
|
ElMessage({
|
||||||
|
type: 'success',
|
||||||
|
message: '操作成功'
|
||||||
|
})
|
||||||
|
emit("getPageInfo")
|
||||||
|
} else {
|
||||||
|
ElMessage({
|
||||||
|
type: 'error',
|
||||||
|
message: res.errmsg
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function thesubmit (value) {
|
||||||
|
if (theids.value) {
|
||||||
|
proxy.$http.showLoading(false).get('project/task/submit', { ids: theids.value, examine_status: value == 'submitBt' ? 10 : 0 }).then(res => {
|
||||||
|
if (res.errno == 200) {
|
||||||
|
ElMessage({
|
||||||
|
type: 'success',
|
||||||
|
message: '操作成功'
|
||||||
|
})
|
||||||
|
emit("getPageInfo")
|
||||||
|
} else {
|
||||||
|
ElMessage({
|
||||||
|
type: 'error',
|
||||||
|
message: res.errmsg
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
ElMessage({
|
||||||
|
type: 'error',
|
||||||
|
message: '请选择,在操作'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* 曝露方法或者属性值给父组件或者其他子组件用 */
|
||||||
|
defineExpose({
|
||||||
|
thepass,
|
||||||
|
thesubmit
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import '@/assets/style/lc.scss';
|
||||||
|
</style>
|
||||||
|
|
||||||
78
src/components/lcProject/lcDailogPQ.vue
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
<!--排期 -->
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<el-dialog title="任务排期" :model-value="pQshow" width="300px" :before-close="handleClose" :center="false">
|
||||||
|
<div class="pq_content">
|
||||||
|
<label>预计开始时间</label>
|
||||||
|
<el-date-picker type="date" placeholder="选择日期" v-model="theplanStratTime" style="width: 100%;margin-left: -10px;"
|
||||||
|
:value-format="formatset" :format="formatset"></el-date-picker>
|
||||||
|
</div>
|
||||||
|
<div class="pq_content" style="justify-content: right;margin-top: 15px;">
|
||||||
|
<div class="l-button pqbt" @click="handleClose">取消</div>
|
||||||
|
<div class="l-button" style="margin-right: 0;margin-left: 15px;" @click="makeSure">确认</div>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script setup name= "LDialog">
|
||||||
|
import { ElMessage } from 'element-plus'
|
||||||
|
import { defineProps, defineEmits, ref, getCurrentInstance, watch, useAttrs } from 'vue'
|
||||||
|
/* 数据层 */
|
||||||
|
const { proxy } = getCurrentInstance()
|
||||||
|
const formatset = ref('YYYY/MM/DD')
|
||||||
|
const props = defineProps(['ids', 'pQshow', 'planStratTime'])
|
||||||
|
let theplanStratTime = ref(JSON.parse(JSON.stringify(props.planStratTime)))
|
||||||
|
const attrs = useAttrs()
|
||||||
|
/* 方法 */
|
||||||
|
const emits = defineEmits(['update:pQshow'])
|
||||||
|
// 确认
|
||||||
|
function makeSure () {
|
||||||
|
if (props.ids) {
|
||||||
|
proxy.$http.showLoading(false).get('project/task/ch_status', { ids: props.ids, type: 0, plan_start_time: theplanStratTime.value }).then(res => {
|
||||||
|
// 刷新爷组件详情数据接口
|
||||||
|
if (res.errno == 200) {
|
||||||
|
attrs.deppgetPageInfo()
|
||||||
|
ElMessage({ type: 'success', message: '操作成功' })
|
||||||
|
} else {
|
||||||
|
ElMessage({
|
||||||
|
type: 'error',
|
||||||
|
message: res.errmsg
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
emits('update:pQshow', false)
|
||||||
|
}
|
||||||
|
//关闭的点击事件
|
||||||
|
function handleClose () {
|
||||||
|
emits('update:pQshow', false)
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import '@/assets/style/lc.scss';
|
||||||
|
|
||||||
|
.pq_content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
margin-top: -18px;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
label {
|
||||||
|
margin-right: 20px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pqbt {
|
||||||
|
margin-right: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #409EFF;
|
||||||
|
background: #fff;
|
||||||
|
border: 1px solid #409EFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-input__icon) {
|
||||||
|
line-height: 28px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
70
src/components/lcProject/lcDailogZP.vue
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
<!--转派 -->
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<el-dialog title="修改审核人" :model-value="zPshow" width="320px" :before-close="handleClose" :center="false">
|
||||||
|
<div class="pq_content">
|
||||||
|
<label>任务负责人</label>
|
||||||
|
<el-select v-model="theUserId" placeholder="请选择" filterable remote :remote-method="userremoteMethod">
|
||||||
|
<el-option v-for="item in data.userlist" :key="item.id" :label="item.nickname" :value="item.id" />
|
||||||
|
</el-select>
|
||||||
|
</div>
|
||||||
|
<div class="pq_content" style="justify-content: right;margin-top: 15px;">
|
||||||
|
<div class="l-button pqbt" @click="handleClose">取消</div>
|
||||||
|
<div class="l-button" style="margin-right: 0;margin-left: 15px;" @click="makeSure">确认</div>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script setup name= "LDialog">
|
||||||
|
import { ElMessage } from 'element-plus'
|
||||||
|
import { getUsers } from '../../utils/lc'
|
||||||
|
import { defineProps, defineEmits, getCurrentInstance, reactive, ref, watch, useAttrs } from 'vue'
|
||||||
|
/* 数据层 */
|
||||||
|
const { proxy } = getCurrentInstance()
|
||||||
|
let data = reactive({
|
||||||
|
userlist: [],
|
||||||
|
userSet: { page: 1, size: 9999999, nickname: '' }
|
||||||
|
})
|
||||||
|
// 爷爷给孙子传值赋值
|
||||||
|
const props = defineProps(['zPshow', 'userId', 'ids'])
|
||||||
|
let theUserId = ref(JSON.parse(JSON.stringify(props.userId)))
|
||||||
|
const attrs = useAttrs()
|
||||||
|
/* 初始化 */
|
||||||
|
getUsers(data.userSet).then(res => {
|
||||||
|
data.userlist = JSON.parse(JSON.stringify(res.data))
|
||||||
|
})
|
||||||
|
/* 方法 */
|
||||||
|
const emits = defineEmits(['update:zPshow'])
|
||||||
|
// 远程搜索人
|
||||||
|
function userremoteMethod (value) {
|
||||||
|
proxy.$http.showLoading(false).get('project/data/user', { nickname: value, page: 1, size: 99999 }).then(res => {
|
||||||
|
data.userlist = res.data.data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 确认
|
||||||
|
function makeSure () {
|
||||||
|
if (props.ids) {
|
||||||
|
proxy.$http.showLoading(false).get('project/task/ch_user', { ids: props.ids, type: 'leader_user', user_id: theUserId.value }).then(res => {
|
||||||
|
// 刷新爷组件详情数据接口
|
||||||
|
if (res.errno == 200) {
|
||||||
|
attrs.deppgetPageInfo()
|
||||||
|
ElMessage({ type: 'success', message: '操作成功' })
|
||||||
|
} else {
|
||||||
|
ElMessage({
|
||||||
|
type: 'error',
|
||||||
|
message: res.errmsg
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
emits('update:zPshow', false)
|
||||||
|
}
|
||||||
|
//关闭的点击事件
|
||||||
|
function handleClose () {
|
||||||
|
emits('update:zPshow', false)
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import '@/assets/style/lc.scss';
|
||||||
|
</style>
|
||||||
|
|
||||||
93
src/components/lcProject/lcDailogrybg.vue
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
<!--人员变更 -->
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<el-dialog title="审核人" :model-value="rybgshow" width="320px" :before-close="handleClose" :center="false">
|
||||||
|
<div class="pq_content">
|
||||||
|
<label>任务审核人</label>
|
||||||
|
<el-select v-model="thereviewerUserId" placeholder="请选择" filterable remote :remote-method="userremoteMethod">
|
||||||
|
<el-option v-for="item in data.userlist" :key="item.id" :label="item.nickname" :value="item.id" />
|
||||||
|
</el-select>
|
||||||
|
</div>
|
||||||
|
<div class="pq_content" style="justify-content: right;margin-top: 15px;">
|
||||||
|
<div class="l-button pqbt" @click="handleClose">取消</div>
|
||||||
|
<div class="l-button" style="margin-right: 0;margin-left: 15px;" @click="makeSure">确认</div>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script setup name= "LDialog">
|
||||||
|
import { ElMessage } from 'element-plus'
|
||||||
|
import { getUsers } from '../../utils/lc'
|
||||||
|
import { defineProps, defineEmits, getCurrentInstance, ref, reactive, watch, useAttrs } from 'vue'
|
||||||
|
/* 数据层 */
|
||||||
|
const { proxy } = getCurrentInstance()
|
||||||
|
let data = reactive({
|
||||||
|
userlist: [],
|
||||||
|
userSet: { page: 1, size: 9999999, nickname: '' }
|
||||||
|
})
|
||||||
|
const props = defineProps(['ids', 'rybgshow', 'reviewerUserId'])
|
||||||
|
let thereviewerUserId = ref(props.reviewerUserId ? JSON.parse(JSON.stringify(props.reviewerUserId)) : '')
|
||||||
|
const attrs = useAttrs()
|
||||||
|
/* 初始化 */
|
||||||
|
getUsers(data.userSet).then(res => {
|
||||||
|
data.userlist = JSON.parse(JSON.stringify(res.data))
|
||||||
|
})
|
||||||
|
/* 方法 */
|
||||||
|
const emits = defineEmits(['update:rybgshow'])
|
||||||
|
// 远程搜索人
|
||||||
|
function userremoteMethod (value) {
|
||||||
|
proxy.$http.showLoading(false).get('project/data/user', { nickname: value, page: 1, size: 99999 }).then(res => {
|
||||||
|
data.userlist = res.data.data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 确认
|
||||||
|
function makeSure () {
|
||||||
|
if (props.ids) {
|
||||||
|
proxy.$http.showLoading(false).get('project/task/ch_user', { ids: props.ids, type: 'reviewer_user', user_id: thereviewerUserId.value }).then(res => {
|
||||||
|
// 刷新爷组件详情数据接口
|
||||||
|
if (res.errno == 200) {
|
||||||
|
attrs.deppgetPageInfo()
|
||||||
|
ElMessage({ type: 'success', message: '操作成功' })
|
||||||
|
} else {
|
||||||
|
ElMessage({
|
||||||
|
type: 'error',
|
||||||
|
message: res.errmsg
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
emits('update:rybgshow', false)
|
||||||
|
}
|
||||||
|
//关闭的点击事件
|
||||||
|
function handleClose () {
|
||||||
|
emits('update:rybgshow', false)
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import '@/assets/style/lc.scss';
|
||||||
|
|
||||||
|
.pq_content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
margin-top: -18px;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
label {
|
||||||
|
margin-right: 20px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pqbt {
|
||||||
|
margin-right: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #409EFF;
|
||||||
|
background: #fff;
|
||||||
|
border: 1px solid #409EFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-input__icon) {
|
||||||
|
line-height: 28px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
79
src/components/lcProject/lcDailogrybh.vue
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
<!--驳回 -->
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<el-dialog title="驳回原因" :model-value="bhshow" width="500px" :before-close="handleClose" :center="false">
|
||||||
|
<div class="pq_content">
|
||||||
|
<el-input type="textarea" placeholder="请输入内容" v-model="remark" class="lc_bz"
|
||||||
|
style="max-height:300px;margin-bottom: 0 !important;" />
|
||||||
|
</div>
|
||||||
|
<div class="pq_content" style="justify-content: right;margin-top: 15px;">
|
||||||
|
<div class="l-button pqbt" @click="handleClose">取消</div>
|
||||||
|
<div class="l-button" style="margin-right: 0;margin-left: 15px;" @click="makeSure">确认</div>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script setup name= "LDialog">
|
||||||
|
import { ElMessage } from 'element-plus'
|
||||||
|
import { defineProps, defineEmits, getCurrentInstance, ref, useAttrs, watch } from 'vue'
|
||||||
|
/* 数据层 */
|
||||||
|
const { proxy } = getCurrentInstance()
|
||||||
|
const props = defineProps(['ids', 'bhshow', 'msg'])
|
||||||
|
const remark = ref(JSON.parse(JSON.stringify(props.msg)))
|
||||||
|
/* 初始化 */
|
||||||
|
/* 方法 */
|
||||||
|
const emits = defineEmits(['update:bhshow'])
|
||||||
|
const attrs = useAttrs()
|
||||||
|
|
||||||
|
|
||||||
|
// 确认
|
||||||
|
function makeSure () {
|
||||||
|
if (props.ids) {
|
||||||
|
proxy.$http.showLoading(false).post('project/task/reject', { id: props.ids, msg: remark.value }).then(res => {
|
||||||
|
// 刷新爷组件详情数据接口
|
||||||
|
if (res.errno == 200) {
|
||||||
|
attrs.deppgetPageInfo()
|
||||||
|
ElMessage({ type: 'success', message: '操作成功' })
|
||||||
|
} else {
|
||||||
|
ElMessage({
|
||||||
|
type: 'error',
|
||||||
|
message: res.errmsg
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
emits('update:bhshow', false)
|
||||||
|
}
|
||||||
|
//关闭的点击事件
|
||||||
|
function handleClose () {
|
||||||
|
emits('update:bhshow', false)
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import '@/assets/style/lc.scss';
|
||||||
|
|
||||||
|
.pq_content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
margin-top: -18px;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
label {
|
||||||
|
margin-right: 20px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pqbt {
|
||||||
|
margin-right: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #409EFF;
|
||||||
|
background: #fff;
|
||||||
|
border: 1px solid #409EFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep(.el-input__icon) {
|
||||||
|
line-height: 28px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||