初始化
0 parents
Showing
276 changed files
with
19546 additions
and
0 deletions
.babelrc
0 → 100644
.bowerrc
0 → 100644
.editorconfig
0 → 100644
.gitignore
0 → 100644
1 | /node_modules |
build/build.js
0 → 100644
1 | // https://github.com/shelljs/shelljs | ||
2 | require('./check-versions')() | ||
3 | require('shelljs/global') | ||
4 | env.NODE_ENV = 'production' | ||
5 | |||
6 | var path = require('path') | ||
7 | var config = require('../config') | ||
8 | var ora = require('ora') | ||
9 | var webpack = require('webpack') | ||
10 | var webpackConfig = require('./webpack.prod.conf') | ||
11 | |||
12 | console.log( | ||
13 | ' Tip:\n' + | ||
14 | ' Built files are meant to be served over an HTTP server.\n' + | ||
15 | ' Opening index.html over file:// won\'t work.\n' | ||
16 | ) | ||
17 | |||
18 | var spinner = ora('building for production...') | ||
19 | spinner.start() | ||
20 | |||
21 | var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory) | ||
22 | rm('-rf', assetsPath) | ||
23 | mkdir('-p', assetsPath) | ||
24 | cp('-R', 'static/*', assetsPath) | ||
25 | |||
26 | webpack(webpackConfig, function (err, stats) { | ||
27 | spinner.stop() | ||
28 | if (err) throw err | ||
29 | process.stdout.write(stats.toString({ | ||
30 | colors: true, | ||
31 | modules: false, | ||
32 | children: false, | ||
33 | chunks: false, | ||
34 | chunkModules: false | ||
35 | }) + '\n') | ||
36 | }) |
build/check-versions.js
0 → 100644
1 | var semver = require('semver') | ||
2 | var chalk = require('chalk') | ||
3 | var packageConfig = require('../package.json') | ||
4 | var exec = function (cmd) { | ||
5 | return require('child_process') | ||
6 | .execSync(cmd).toString().trim() | ||
7 | } | ||
8 | |||
9 | var versionRequirements = [ | ||
10 | { | ||
11 | name: 'node', | ||
12 | currentVersion: semver.clean(process.version), | ||
13 | versionRequirement: packageConfig.engines.node | ||
14 | }, | ||
15 | { | ||
16 | name: 'npm', | ||
17 | currentVersion: exec('npm --version'), | ||
18 | versionRequirement: packageConfig.engines.npm | ||
19 | } | ||
20 | ] | ||
21 | |||
22 | module.exports = function () { | ||
23 | var warnings = [] | ||
24 | for (var i = 0; i < versionRequirements.length; i++) { | ||
25 | var mod = versionRequirements[i] | ||
26 | if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) { | ||
27 | warnings.push(mod.name + ': ' + | ||
28 | chalk.red(mod.currentVersion) + ' should be ' + | ||
29 | chalk.green(mod.versionRequirement) | ||
30 | ) | ||
31 | } | ||
32 | } | ||
33 | |||
34 | if (warnings.length) { | ||
35 | console.log('') | ||
36 | console.log(chalk.yellow('To use this template, you must update following to modules:')) | ||
37 | console.log() | ||
38 | for (var i = 0; i < warnings.length; i++) { | ||
39 | var warning = warnings[i] | ||
40 | console.log(' ' + warning) | ||
41 | } | ||
42 | console.log() | ||
43 | process.exit(1) | ||
44 | } | ||
45 | } |
build/dev-client.js
0 → 100644
build/dev-server.js
0 → 100644
1 | require('./check-versions')() | ||
2 | var config = require('../config') | ||
3 | if (!process.env.NODE_ENV) process.env.NODE_ENV = JSON.parse(config.dev.env.NODE_ENV) | ||
4 | var path = require('path') | ||
5 | var express = require('express') | ||
6 | var webpack = require('webpack') | ||
7 | var opn = require('opn') | ||
8 | var proxyMiddleware = require('http-proxy-middleware') | ||
9 | var webpackConfig = require('./webpack.dev.conf') | ||
10 | |||
11 | // default port where dev server listens for incoming traffic | ||
12 | var port = process.env.PORT || config.dev.port | ||
13 | // Define HTTP proxies to your custom API backend | ||
14 | // https://github.com/chimurai/http-proxy-middleware | ||
15 | var proxyTable = config.dev.proxyTable | ||
16 | |||
17 | var app = express() | ||
18 | var compiler = webpack(webpackConfig) | ||
19 | |||
20 | var devMiddleware = require('webpack-dev-middleware')(compiler, { | ||
21 | publicPath: webpackConfig.output.publicPath, | ||
22 | quiet: true | ||
23 | }) | ||
24 | |||
25 | var hotMiddleware = require('webpack-hot-middleware')(compiler, { | ||
26 | log: () => {} | ||
27 | }) | ||
28 | // force page reload when html-webpack-plugin template changes | ||
29 | compiler.plugin('compilation', function (compilation) { | ||
30 | compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) { | ||
31 | hotMiddleware.publish({ action: 'reload' }) | ||
32 | cb() | ||
33 | }) | ||
34 | }) | ||
35 | |||
36 | // proxy api requests | ||
37 | Object.keys(proxyTable).forEach(function (context) { | ||
38 | var options = proxyTable[context] | ||
39 | if (typeof options === 'string') { | ||
40 | options = { target: options } | ||
41 | } | ||
42 | app.use(proxyMiddleware(context, options)) | ||
43 | }) | ||
44 | |||
45 | // handle fallback for HTML5 history API | ||
46 | app.use(require('connect-history-api-fallback')()) | ||
47 | |||
48 | // serve webpack bundle output | ||
49 | app.use(devMiddleware) | ||
50 | |||
51 | // enable hot-reload and state-preserving | ||
52 | // compilation error display | ||
53 | app.use(hotMiddleware) | ||
54 | |||
55 | // serve pure static assets | ||
56 | var staticPath = path.posix.join(config.dev.assetsPublicPath, config.dev.assetsSubDirectory) | ||
57 | app.use(staticPath, express.static('./static')) | ||
58 | |||
59 | var uri = 'http://localhost:' + port | ||
60 | |||
61 | devMiddleware.waitUntilValid(function () { | ||
62 | console.log('> Listening at ' + uri + '\n') | ||
63 | }) | ||
64 | |||
65 | module.exports = app.listen(port, function (err) { | ||
66 | if (err) { | ||
67 | console.log(err) | ||
68 | return | ||
69 | } | ||
70 | |||
71 | // when env is testing, don't need open it | ||
72 | if (process.env.NODE_ENV !== 'testing') { | ||
73 | opn(uri) | ||
74 | } | ||
75 | }) |
build/utils.js
0 → 100644
1 | var path = require('path') | ||
2 | var config = require('../config') | ||
3 | var ExtractTextPlugin = require('extract-text-webpack-plugin') | ||
4 | |||
5 | exports.assetsPath = function (_path) { | ||
6 | var assetsSubDirectory = process.env.NODE_ENV === 'production' | ||
7 | ? config.build.assetsSubDirectory | ||
8 | : config.dev.assetsSubDirectory | ||
9 | return path.posix.join(assetsSubDirectory, _path) | ||
10 | } | ||
11 | |||
12 | exports.cssLoaders = function (options) { | ||
13 | options = options || {} | ||
14 | // generate loader string to be used with extract text plugin | ||
15 | function generateLoaders (loaders) { | ||
16 | var sourceLoader = loaders.map(function (loader) { | ||
17 | var extraParamChar | ||
18 | if (/\?/.test(loader)) { | ||
19 | loader = loader.replace(/\?/, '-loader?') | ||
20 | extraParamChar = '&' | ||
21 | } else { | ||
22 | loader = loader + '-loader' | ||
23 | extraParamChar = '?' | ||
24 | } | ||
25 | return loader + (options.sourceMap ? extraParamChar + 'sourceMap' : '') | ||
26 | }).join('!') | ||
27 | |||
28 | // Extract CSS when that option is specified | ||
29 | // (which is the case during production build) | ||
30 | if (options.extract) { | ||
31 | return ExtractTextPlugin.extract('vue-style-loader', sourceLoader) | ||
32 | } else { | ||
33 | return ['vue-style-loader', sourceLoader].join('!') | ||
34 | } | ||
35 | } | ||
36 | |||
37 | // http://vuejs.github.io/vue-loader/en/configurations/extract-css.html | ||
38 | return { | ||
39 | css: generateLoaders(['css']), | ||
40 | postcss: generateLoaders(['css']), | ||
41 | less: generateLoaders(['css', 'less']), | ||
42 | sass: generateLoaders(['css', 'sass?indentedSyntax']), | ||
43 | scss: generateLoaders(['css', 'sass']), | ||
44 | stylus: generateLoaders(['css', 'stylus']), | ||
45 | styl: generateLoaders(['css', 'stylus']) | ||
46 | } | ||
47 | } | ||
48 | |||
49 | // Generate loaders for standalone style files (outside of .vue) | ||
50 | exports.styleLoaders = function (options) { | ||
51 | var output = [] | ||
52 | var loaders = exports.cssLoaders(options) | ||
53 | for (var extension in loaders) { | ||
54 | var loader = loaders[extension] | ||
55 | output.push({ | ||
56 | test: new RegExp('\\.' + extension + '$'), | ||
57 | loader: loader | ||
58 | }) | ||
59 | } | ||
60 | return output | ||
61 | } |
build/webpack.base.conf.js
0 → 100644
1 | var path = require('path') | ||
2 | var config = require('../config') | ||
3 | var utils = require('./utils') | ||
4 | var projectRoot = path.resolve(__dirname, '../') | ||
5 | |||
6 | var env = process.env.NODE_ENV | ||
7 | // check env & config/index.js to decide whether to enable CSS source maps for the | ||
8 | // various preprocessor loaders added to vue-loader at the end of this file | ||
9 | var cssSourceMapDev = (env === 'development' && config.dev.cssSourceMap) | ||
10 | var cssSourceMapProd = (env === 'production' && config.build.productionSourceMap) | ||
11 | var useCssSourceMap = cssSourceMapDev || cssSourceMapProd | ||
12 | |||
13 | module.exports = { | ||
14 | entry: { | ||
15 | app: './src/main.js' | ||
16 | }, | ||
17 | output: { | ||
18 | path: config.build.assetsRoot, | ||
19 | publicPath: process.env.NODE_ENV === 'production' ? config.build.assetsPublicPath : config.dev.assetsPublicPath, | ||
20 | filename: '[name].js' | ||
21 | }, | ||
22 | resolve: { | ||
23 | extensions: ['', '.js', '.vue', '.json'], | ||
24 | fallback: [path.join(__dirname, '../node_modules')], | ||
25 | alias: { | ||
26 | 'vue$': 'vue/dist/vue.common.js', | ||
27 | 'src': path.resolve(__dirname, '../src'), | ||
28 | 'assets': path.resolve(__dirname, '../src/assets'), | ||
29 | |||
30 | 'components': path.resolve(__dirname, '../src/components'), | ||
31 | |||
32 | 'common': path.resolve(__dirname, '../src/components/Common'), | ||
33 | |||
34 | 'modules': path.resolve(__dirname, '../src/components/Modules'), | ||
35 | |||
36 | 'demo': path.resolve(__dirname, '../src/components/Modules/Demo'), | ||
37 | 'function': path.resolve(__dirname, '../src/components/Modules/Function'), | ||
38 | |||
39 | 'config': path.resolve(__dirname, '../src/config'), | ||
40 | 'store': path.resolve(__dirname, '../src/store'), | ||
41 | 'libs': path.resolve(__dirname, '../src/libs'), | ||
42 | 'util': path.resolve(__dirname, '../src/util'), | ||
43 | 'register': path.resolve(__dirname, '../src/register'), | ||
44 | 'plugins': path.resolve(__dirname, '../src/plugins'), | ||
45 | 'mixin': path.resolve(__dirname, '../src/mixin'), | ||
46 | } | ||
47 | }, | ||
48 | resolveLoader: { | ||
49 | fallback: [path.join(__dirname, '../node_modules')] | ||
50 | }, | ||
51 | module: { | ||
52 | loaders: [{ | ||
53 | test: /\.vue$/, | ||
54 | loader: 'vue' | ||
55 | }, { | ||
56 | test: /\.js$/, | ||
57 | loader: 'babel', | ||
58 | include: [ | ||
59 | path.join(projectRoot, 'src') | ||
60 | ], | ||
61 | exclude: /node_modules/ | ||
62 | }, { | ||
63 | test: /\.json$/, | ||
64 | loader: 'json' | ||
65 | }, { | ||
66 | test: /\.(png|jpe?g|gif|svg)(\?.*)?$/, | ||
67 | loader: 'url', | ||
68 | query: { | ||
69 | limit: 10000, | ||
70 | name: utils.assetsPath('img/[name].[hash:7].[ext]') | ||
71 | } | ||
72 | }, { | ||
73 | test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/, | ||
74 | loader: 'url', | ||
75 | query: { | ||
76 | limit: 10000, | ||
77 | name: utils.assetsPath('fonts/[name].[hash:7].[ext]') | ||
78 | } | ||
79 | }] | ||
80 | }, | ||
81 | vue: { | ||
82 | loaders: utils.cssLoaders({ | ||
83 | sourceMap: useCssSourceMap | ||
84 | }), | ||
85 | postcss: [ | ||
86 | require('autoprefixer')({ | ||
87 | browsers: ['last 2 versions'] | ||
88 | }) | ||
89 | ] | ||
90 | } | ||
91 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
build/webpack.dev.conf.js
0 → 100644
1 | var config = require('../config') | ||
2 | var webpack = require('webpack') | ||
3 | var merge = require('webpack-merge') | ||
4 | var utils = require('./utils') | ||
5 | var baseWebpackConfig = require('./webpack.base.conf') | ||
6 | var HtmlWebpackPlugin = require('html-webpack-plugin') | ||
7 | var FriendlyErrors = require('friendly-errors-webpack-plugin') | ||
8 | |||
9 | // add hot-reload related code to entry chunks | ||
10 | Object.keys(baseWebpackConfig.entry).forEach(function(name) { | ||
11 | baseWebpackConfig.entry[name] = ['./build/dev-client'].concat(baseWebpackConfig.entry[name]) | ||
12 | }) | ||
13 | |||
14 | module.exports = merge(baseWebpackConfig, { | ||
15 | module: { | ||
16 | loaders: utils.styleLoaders({ | ||
17 | sourceMap: config.dev.cssSourceMap | ||
18 | }) | ||
19 | }, | ||
20 | // eval-source-map is faster for development | ||
21 | devtool: '#eval-source-map', | ||
22 | plugins: [ | ||
23 | new webpack.DefinePlugin({ | ||
24 | 'process.env': config.dev.env | ||
25 | }), | ||
26 | // https://github.com/glenjamin/webpack-hot-middleware#installation--usage | ||
27 | new webpack.optimize.OccurrenceOrderPlugin(), | ||
28 | new webpack.HotModuleReplacementPlugin(), | ||
29 | new webpack.NoErrorsPlugin(), | ||
30 | // https://github.com/ampedandwired/html-webpack-plugin | ||
31 | new HtmlWebpackPlugin({ | ||
32 | filename: 'index.html', | ||
33 | template: 'index.html', | ||
34 | inject: true | ||
35 | }), | ||
36 | new FriendlyErrors() | ||
37 | ] | ||
38 | }) | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
build/webpack.prod.conf.js
0 → 100644
1 | var path = require('path') | ||
2 | var config = require('../config') | ||
3 | var utils = require('./utils') | ||
4 | var webpack = require('webpack') | ||
5 | var merge = require('webpack-merge') | ||
6 | var baseWebpackConfig = require('./webpack.base.conf') | ||
7 | var ExtractTextPlugin = require('extract-text-webpack-plugin') | ||
8 | var HtmlWebpackPlugin = require('html-webpack-plugin') | ||
9 | var env = config.build.env | ||
10 | |||
11 | var webpackConfig = merge(baseWebpackConfig, { | ||
12 | module: { | ||
13 | loaders: utils.styleLoaders({ | ||
14 | sourceMap: config.build.productionSourceMap, | ||
15 | extract: true | ||
16 | }) | ||
17 | }, | ||
18 | devtool: config.build.productionSourceMap ? '#source-map' : false, | ||
19 | output: { | ||
20 | path: config.build.assetsRoot, | ||
21 | filename: utils.assetsPath('js/[name].[chunkhash].js'), | ||
22 | chunkFilename: utils.assetsPath('js/[id].[chunkhash].js') | ||
23 | }, | ||
24 | vue: { | ||
25 | loaders: utils.cssLoaders({ | ||
26 | sourceMap: config.build.productionSourceMap, | ||
27 | extract: true | ||
28 | }) | ||
29 | }, | ||
30 | plugins: [ | ||
31 | // http://vuejs.github.io/vue-loader/en/workflow/production.html | ||
32 | new webpack.DefinePlugin({ | ||
33 | 'process.env': env | ||
34 | }), | ||
35 | new webpack.optimize.UglifyJsPlugin({ | ||
36 | compress: { | ||
37 | warnings: false | ||
38 | } | ||
39 | }), | ||
40 | new webpack.optimize.OccurrenceOrderPlugin(), | ||
41 | // extract css into its own file | ||
42 | new ExtractTextPlugin(utils.assetsPath('css/[name].[contenthash].css')), | ||
43 | // generate dist index.html with correct asset hash for caching. | ||
44 | // you can customize output by editing /index.html | ||
45 | // see https://github.com/ampedandwired/html-webpack-plugin | ||
46 | new HtmlWebpackPlugin({ | ||
47 | filename: config.build.index, | ||
48 | template: 'index.html', | ||
49 | inject: true, | ||
50 | minify: { | ||
51 | removeComments: true, | ||
52 | collapseWhitespace: true, | ||
53 | removeAttributeQuotes: true | ||
54 | // more options: | ||
55 | // https://github.com/kangax/html-minifier#options-quick-reference | ||
56 | }, | ||
57 | // necessary to consistently work with multiple chunks via CommonsChunkPlugin | ||
58 | chunksSortMode: 'dependency' | ||
59 | }), | ||
60 | // split vendor js into its own file | ||
61 | new webpack.optimize.CommonsChunkPlugin({ | ||
62 | name: 'vendor', | ||
63 | minChunks: function(module, count) { | ||
64 | // any required modules inside node_modules are extracted to vendor | ||
65 | return ( | ||
66 | module.resource && | ||
67 | /\.js$/.test(module.resource) && | ||
68 | module.resource.indexOf( | ||
69 | path.join(__dirname, '../node_modules') | ||
70 | ) === 0 | ||
71 | ) | ||
72 | } | ||
73 | }), | ||
74 | // extract webpack runtime and module manifest to its own file in order to | ||
75 | // prevent vendor hash from being updated whenever app bundle is updated | ||
76 | new webpack.optimize.CommonsChunkPlugin({ | ||
77 | name: 'manifest', | ||
78 | chunks: ['vendor'] | ||
79 | }) | ||
80 | ] | ||
81 | }) | ||
82 | |||
83 | if (config.build.productionGzip) { | ||
84 | var CompressionWebpackPlugin = require('compression-webpack-plugin') | ||
85 | |||
86 | webpackConfig.plugins.push( | ||
87 | new CompressionWebpackPlugin({ | ||
88 | asset: '[path].gz[query]', | ||
89 | algorithm: 'gzip', | ||
90 | test: new RegExp( | ||
91 | '\\.(' + | ||
92 | config.build.productionGzipExtensions.join('|') + | ||
93 | ')$' | ||
94 | ), | ||
95 | threshold: 10240, | ||
96 | minRatio: 0.8 | ||
97 | }) | ||
98 | ) | ||
99 | } | ||
100 | |||
101 | module.exports = webpackConfig | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
config/dev.env.js
0 → 100644
config/index.js
0 → 100644
1 | // see http://vuejs-templates.github.io/webpack for documentation. | ||
2 | var path = require('path'); | ||
3 | |||
4 | module.exports = { | ||
5 | build: { | ||
6 | env: require('./prod.env'), | ||
7 | index: path.resolve(__dirname, '../dist/index.html'), | ||
8 | assetsRoot: path.resolve(__dirname, '../dist'), | ||
9 | assetsSubDirectory: 'static', | ||
10 | assetsPublicPath: './', | ||
11 | productionSourceMap: true, | ||
12 | // Gzip off by default as many popular static hosts such as | ||
13 | // Surge or Netlify already gzip all static assets for you. | ||
14 | // Before setting to `true`, make sure to: | ||
15 | // npm install --save-dev compression-webpack-plugin | ||
16 | productionGzip: false, | ||
17 | productionGzipExtensions: ['js', 'css'] | ||
18 | }, | ||
19 | dev: { | ||
20 | env: require('./dev.env'), | ||
21 | port: 8090, | ||
22 | assetsSubDirectory: 'static', | ||
23 | assetsPublicPath: '/', | ||
24 | proxyTable: { | ||
25 | '/vuedemo': { | ||
26 | target: 'http://127.0.0.1:8087', | ||
27 | changeOrigin: true, | ||
28 | pathRewrite: { | ||
29 | '^/vuedemo': '/vuedemo' | ||
30 | } | ||
31 | } | ||
32 | }, | ||
33 | // CSS Sourcemaps off by default because relative paths are "buggy" | ||
34 | // with this option, according to the CSS-Loader README | ||
35 | // (https://github.com/webpack/css-loader#sourcemaps) | ||
36 | // In our experience, they generally work as expected, | ||
37 | // just be aware of this issue when enabling this option. | ||
38 | cssSourceMap: false | ||
39 | } | ||
40 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
config/prod.env.js
0 → 100644
index.html
0 → 100644
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | |||
4 | <head> | ||
5 | <meta charset="utf-8"> | ||
6 | <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"> | ||
7 | <link rel="stylesheet" href="static/font-awesome/css/font-awesome.min.css"> | ||
8 | <link rel="stylesheet" href="static/libs/wangeditor/css/wangEditor.min.css"> | ||
9 | <link rel="stylesheet" href="static/libs/highlight/styles/github.css"> | ||
10 | <title>API管理</title> | ||
11 | <style> | ||
12 | * { | ||
13 | -webkit-box-sizing: border-box; | ||
14 | -moz-box-sizing: border-box; | ||
15 | box-sizing: border-box; | ||
16 | margin: 0px; | ||
17 | padding: 0px; | ||
18 | } | ||
19 | </style> | ||
20 | </head> | ||
21 | |||
22 | <body> | ||
23 | <div id="app"></div> | ||
24 | |||
25 | <script src='static/libs/jquery/jquery.min.js'></script> | ||
26 | <script src='static/libs/wangeditor/js/wangEditor.js'></script> | ||
27 | <script src='static/libs/highlight/highlight.pack.min.js'></script> | ||
28 | <script src='static/libs/highlight/highlightjs-line-numbers.min.js'></script> | ||
29 | <script> | ||
30 | $(function() { | ||
31 | |||
32 | }); | ||
33 | </script> | ||
34 | </body> | ||
35 | |||
36 | </html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
package.json
0 → 100644
1 | { | ||
2 | "name": "vuepro", | ||
3 | "version": "1.0.0", | ||
4 | "description": "vuepro", | ||
5 | "author": "test", | ||
6 | "private": true, | ||
7 | "scripts": { | ||
8 | "dev": "node build/dev-server.js", | ||
9 | "build": "node build/build.js" | ||
10 | }, | ||
11 | "dependencies": { | ||
12 | "axios": "^0.15.3", | ||
13 | "css-loader": "^0.25.0", | ||
14 | "echarts": "^3.3.2", | ||
15 | "element-ui": "^1.1.2", | ||
16 | "font-awesome": "^4.7.0", | ||
17 | "iview": "^2.0.0-rc.10", | ||
18 | "less": "^2.7.2", | ||
19 | "less-loader": "^2.2.3", | ||
20 | "nprogress": "^0.2.0", | ||
21 | "vue": "^2.1.0", | ||
22 | "vue-axios": "^1.2.2", | ||
23 | "vue-bus": "^0.3.0", | ||
24 | "vue-router": "^2.1.1", | ||
25 | "vuex": "^2.1.1", | ||
26 | "wangeditor": "^2.1.22" | ||
27 | }, | ||
28 | "devDependencies": { | ||
29 | "autoprefixer": "^6.4.0", | ||
30 | "babel-core": "^6.0.0", | ||
31 | "babel-loader": "^6.0.0", | ||
32 | "babel-plugin-transform-runtime": "^6.0.0", | ||
33 | "babel-preset-es2015": "^6.0.0", | ||
34 | "babel-preset-stage-2": "^6.0.0", | ||
35 | "babel-register": "^6.0.0", | ||
36 | "chalk": "^1.1.3", | ||
37 | "connect-history-api-fallback": "^1.1.0", | ||
38 | "css-loader": "^0.25.0", | ||
39 | "eventsource-polyfill": "^0.9.6", | ||
40 | "express": "^4.13.3", | ||
41 | "extract-text-webpack-plugin": "^1.0.1", | ||
42 | "file-loader": "^0.9.0", | ||
43 | "friendly-errors-webpack-plugin": "^1.1.2", | ||
44 | "function-bind": "^1.0.2", | ||
45 | "html-webpack-plugin": "^2.8.1", | ||
46 | "http-proxy-middleware": "^0.17.2", | ||
47 | "json-loader": "^0.5.4", | ||
48 | "semver": "^5.3.0", | ||
49 | "opn": "^4.0.2", | ||
50 | "ora": "^0.3.0", | ||
51 | "shelljs": "^0.7.4", | ||
52 | "url-loader": "^0.5.7", | ||
53 | "vue-loader": "^10.0.0", | ||
54 | "vue-style-loader": "^1.0.0", | ||
55 | "vue-template-compiler": "^2.1.0", | ||
56 | "webpack": "^1.13.2", | ||
57 | "webpack-dev-middleware": "^1.8.3", | ||
58 | "webpack-hot-middleware": "^2.12.2", | ||
59 | "webpack-merge": "^0.14.1" | ||
60 | }, | ||
61 | "engines": { | ||
62 | "node": ">= 4.0.0", | ||
63 | "npm": ">= 3.0.0" | ||
64 | } | ||
65 | } |
src/App.vue
0 → 100644
1 | <template> | ||
2 | <div id="app"> | ||
3 | <head-nav></head-nav> | ||
4 | <transition > | ||
5 | <router-view></router-view> | ||
6 | </transition> | ||
7 | </div> | ||
8 | </template> | ||
9 | |||
10 | <script> | ||
11 | import Layout from './components/Layout/'; | ||
12 | export default { | ||
13 | name: 'app', | ||
14 | components: Layout, | ||
15 | methods:{ | ||
16 | |||
17 | }, | ||
18 | mounted(){ | ||
19 | |||
20 | }, | ||
21 | watch:{ | ||
22 | $route(to,from){ | ||
23 | // console.log(to); | ||
24 | if (!to.matched.length) { | ||
25 | this.$router.push('/404'); | ||
26 | } | ||
27 | } | ||
28 | } | ||
29 | } | ||
30 | </script> | ||
31 | <style scoped lang='less'> | ||
32 | .bounce-enter-active { | ||
33 | animation: bounce-in .5s; | ||
34 | -webkit-animation:bounce-in .5s; | ||
35 | } | ||
36 | |||
37 | .bounce-leave-active { | ||
38 | animation: bounce-out .2s; | ||
39 | -webkit-animation: bounce-out .2s; | ||
40 | } | ||
41 | |||
42 | @keyframes bounce-in { | ||
43 | 0% { | ||
44 | transform: scale(0); | ||
45 | } | ||
46 | 50% { | ||
47 | transform: scale(1.05); | ||
48 | } | ||
49 | 100% { | ||
50 | transform: scale(1); | ||
51 | } | ||
52 | } | ||
53 | |||
54 | @keyframes bounce-out { | ||
55 | 0% { | ||
56 | transform: scale(1); | ||
57 | } | ||
58 | 50% { | ||
59 | transform: scale(0.95); | ||
60 | } | ||
61 | 100% { | ||
62 | transform: scale(0); | ||
63 | } | ||
64 | } | ||
65 | </style> |
src/assets/css/main.css
0 → 100644
1 | html, | ||
2 | body, | ||
3 | h1, | ||
4 | h2, | ||
5 | h3, | ||
6 | h4, | ||
7 | h5, | ||
8 | h6, | ||
9 | div, | ||
10 | dl, | ||
11 | dt, | ||
12 | dd, | ||
13 | ul, | ||
14 | ol, | ||
15 | li, | ||
16 | p, | ||
17 | blockquote, | ||
18 | pre, | ||
19 | hr, | ||
20 | figure, | ||
21 | table, | ||
22 | caption, | ||
23 | th, | ||
24 | td, | ||
25 | form, | ||
26 | fieldset, | ||
27 | legend, | ||
28 | input, | ||
29 | button, | ||
30 | textarea, | ||
31 | menu { | ||
32 | margin: 0; | ||
33 | padding: 0; | ||
34 | } | ||
35 | |||
36 | header, | ||
37 | footer, | ||
38 | section, | ||
39 | article, | ||
40 | aside, | ||
41 | nav, | ||
42 | hgroup, | ||
43 | address, | ||
44 | figure, | ||
45 | figcaption, | ||
46 | menu, | ||
47 | details { | ||
48 | display: block; | ||
49 | } | ||
50 | |||
51 | table { | ||
52 | border-collapse: collapse; | ||
53 | border-spacing: 0; | ||
54 | } | ||
55 | |||
56 | caption, | ||
57 | th { | ||
58 | text-align: left; | ||
59 | font-weight: normal; | ||
60 | } | ||
61 | |||
62 | html, | ||
63 | body, | ||
64 | fieldset, | ||
65 | img, | ||
66 | iframe, | ||
67 | abbr { | ||
68 | border: 0; | ||
69 | } | ||
70 | |||
71 | i, | ||
72 | cite, | ||
73 | em, | ||
74 | var, | ||
75 | address, | ||
76 | dfn { | ||
77 | font-style: normal; | ||
78 | } | ||
79 | |||
80 | [hidefocus], | ||
81 | summary { | ||
82 | outline: 0; | ||
83 | } | ||
84 | |||
85 | li { | ||
86 | list-style: none; | ||
87 | } | ||
88 | |||
89 | h1, | ||
90 | h2, | ||
91 | h3, | ||
92 | h4, | ||
93 | h5, | ||
94 | h6, | ||
95 | small { | ||
96 | font-size: 100%; | ||
97 | } | ||
98 | |||
99 | q:before, | ||
100 | q:after { | ||
101 | content: none; | ||
102 | } | ||
103 | |||
104 | textarea { | ||
105 | overflow: auto; | ||
106 | resize: none; | ||
107 | } | ||
108 | |||
109 | label, | ||
110 | summary { | ||
111 | cursor: default; | ||
112 | } | ||
113 | |||
114 | a, | ||
115 | button { | ||
116 | cursor: pointer; | ||
117 | } | ||
118 | |||
119 | blockquote { | ||
120 | display: block; | ||
121 | -webkit-margin-before: 1em; | ||
122 | -webkit-margin-after: 1em; | ||
123 | -webkit-margin-start: 40px; | ||
124 | -webkit-margin-end: 40px; | ||
125 | padding: 10px 20px; | ||
126 | margin: 0 0 20px; | ||
127 | font-size: 17.5px; | ||
128 | border-left: 5px solid #eeeeee; | ||
129 | font-size: 12px; | ||
130 | color: #407aaa; | ||
131 | } | ||
132 | |||
133 | .clear { | ||
134 | clear: both; | ||
135 | height: 0; | ||
136 | line-height: 0; | ||
137 | font-size: 0; | ||
138 | } | ||
139 | |||
140 | .code { | ||
141 | font-size: 12px; | ||
142 | color: #595959; | ||
143 | border: 1px dashed #cecfcf; | ||
144 | background-color: #f5f6f7; | ||
145 | padding: 6px 12px; | ||
146 | margin-top: 10px; | ||
147 | margin-bottom: 10px; | ||
148 | } | ||
149 | |||
150 | .code pre { | ||
151 | border: 0px; | ||
152 | color: #595959; | ||
153 | font-family: Tahoma, "SimSun"!important; | ||
154 | font-weight: 100; | ||
155 | line-height: 24px; | ||
156 | font-size: 12px; | ||
157 | white-space: pre-wrap; | ||
158 | word-wrap: break-word; | ||
159 | } | ||
160 | |||
161 | .layout { | ||
162 | /*border: 1px solid #d7dde4;*/ | ||
163 | background: #f5f7f9; | ||
164 | } | ||
165 | |||
166 | .layout-breadcrumb { | ||
167 | margin-bottom: 5px; | ||
168 | border: 1px solid #f5f7f9; | ||
169 | background: #fff; | ||
170 | } | ||
171 | |||
172 | .layout-assistant { | ||
173 | width: 100%; | ||
174 | margin: 0 auto; | ||
175 | height: 50px; | ||
176 | line-height: 50px; | ||
177 | background: #B0C4DE; | ||
178 | /*background: #657180;*/ | ||
179 | } | ||
180 | |||
181 | .layout-assistant .layout-assistant-content { | ||
182 | width: 95%; | ||
183 | margin: 0 auto; | ||
184 | padding-top: 10px; | ||
185 | } | ||
186 | |||
187 | .ass-input { | ||
188 | width: 300px; | ||
189 | float: right; | ||
190 | } | ||
191 | |||
192 | .layout-content { | ||
193 | min-height: 500px; | ||
194 | margin: 15px auto; | ||
195 | width: 95%; | ||
196 | overflow: hidden; | ||
197 | border-radius: 6px; | ||
198 | background: #fff; | ||
199 | box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1); | ||
200 | } | ||
201 | |||
202 | .layout-content-main { | ||
203 | padding: 10px 10px 0 20px; | ||
204 | background: #fff; | ||
205 | } | ||
206 | |||
207 | .layout-content-main:after { | ||
208 | content: ""; | ||
209 | display: block; | ||
210 | width: 1px; | ||
211 | background: #d7dde4; | ||
212 | position: absolute; | ||
213 | top: 0; | ||
214 | bottom: 0; | ||
215 | left: -1px; | ||
216 | } | ||
217 | |||
218 | .layout-copy { | ||
219 | text-align: center; | ||
220 | background: #fff; | ||
221 | padding: 10px 0 20px; | ||
222 | color: #9ea7b4; | ||
223 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/assets/logo-sm.png
0 → 100644

68.8 KB
src/components/Common/Bread/Bread.vue
0 → 100644
1 | <template> | ||
2 | <div class='bread'> | ||
3 | <strong> | ||
4 | {{strong}} | ||
5 | </strong> | ||
6 | <Breadcrumb separator="/" class='el-bread'> | ||
7 | <Breadcrumb-item href="{ path: '/' }">首页</Breadcrumb-item> | ||
8 | <Breadcrumb-item v-for='(item,index) in $route.matched'>{{item.name}}</Breadcrumb-item> | ||
9 | </Breadcrumb> | ||
10 | </div> | ||
11 | </template> | ||
12 | |||
13 | <script> | ||
14 | export default { | ||
15 | name: 'bread', | ||
16 | data () { | ||
17 | return { | ||
18 | strong:'' | ||
19 | } | ||
20 | }, | ||
21 | methods:{ | ||
22 | getPageText(name){ | ||
23 | return name=name.replace('编辑',this.$route.query.id ? '修改' : '添加'); | ||
24 | } | ||
25 | }, | ||
26 | mounted(){ | ||
27 | |||
28 | }, | ||
29 | created(){ | ||
30 | if (this.$route.matched.length) { | ||
31 | var name=this.$route.matched[this.$route.matched.length-1].name; | ||
32 | this.strong=this.getPageText(name); | ||
33 | } | ||
34 | }, | ||
35 | watch:{ | ||
36 | $route(to,from){ | ||
37 | this.strong=this.getPageText(to.name); | ||
38 | } | ||
39 | } | ||
40 | } | ||
41 | </script> | ||
42 | |||
43 | <style scoped lang='less'> | ||
44 | .bread{ | ||
45 | height: 40px; | ||
46 | line-height: 26px; | ||
47 | .el-bread{ | ||
48 | display: inline-block; | ||
49 | float: right; | ||
50 | text-align: right; | ||
51 | line-height: 26px; | ||
52 | } | ||
53 | } | ||
54 | </style> |
1 | module.exports = { | ||
2 | name: 'dialog-info', | ||
3 | data() { | ||
4 | return { | ||
5 | dialog: this.Dialog || {} | ||
6 | } | ||
7 | }, | ||
8 | methods: { | ||
9 | onClose() { | ||
10 | this.dialog.show = false; | ||
11 | } | ||
12 | }, | ||
13 | |||
14 | computed: { | ||
15 | show() { | ||
16 | return this.dialog.show; | ||
17 | } | ||
18 | }, | ||
19 | |||
20 | mounted() { | ||
21 | // console.log(this.Show); | ||
22 | }, | ||
23 | |||
24 | /** | ||
25 | * 接收参数 | ||
26 | * @type {Object} | ||
27 | */ | ||
28 | props: { | ||
29 | Dialog: { | ||
30 | type: Object, | ||
31 | validator: (v) => { | ||
32 | return true; | ||
33 | } | ||
34 | } | ||
35 | }, | ||
36 | |||
37 | |||
38 | /** | ||
39 | * 监控参数 | ||
40 | * @type {Object} | ||
41 | */ | ||
42 | watch: { | ||
43 | |||
44 | } | ||
45 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <template> | ||
2 | <div class=""> | ||
3 | <el-dialog size="tiny" | ||
4 | :title="dialog.title" | ||
5 | v-model="show" | ||
6 | @close='onClose'> | ||
7 | <el-form style="margin:20px;width:60%;min-width:100%" | ||
8 | label-width="100px"> | ||
9 | <el-form-item class='edit-form' | ||
10 | v-for='field in dialog.fields' | ||
11 | :label='field.label'> | ||
12 | {{dialog.data[field.key]}} | ||
13 | </el-form-item> | ||
14 | </el-form> | ||
15 | <span slot="footer" class="dialog-footer"> | ||
16 | <el-button type="primary" @click="onClose">关 闭</el-button> | ||
17 | </span> | ||
18 | </el-dialog> | ||
19 | </div> | ||
20 | </template> | ||
21 | |||
22 | <script> | ||
23 | import DialogInfoJs from './DialogInfo.js'; | ||
24 | module.exports=DialogInfoJs; | ||
25 | </script> | ||
26 | <style scoped lang='less'> | ||
27 | .demo-form-inline{ | ||
28 | display: inline-block; | ||
29 | float: right; | ||
30 | } | ||
31 | .btm-action{ | ||
32 | margin-top: 20px; | ||
33 | text-align: center; | ||
34 | } | ||
35 | .actions-top{ | ||
36 | height: 46px; | ||
37 | } | ||
38 | .pagination{ | ||
39 | display: inline-block; | ||
40 | } | ||
41 | </style> |
src/components/Common/DialogInfo/index.js
0 → 100644
1 | import echarts from 'echarts'; | ||
2 | module.exports = { | ||
3 | name: 'echarts', | ||
4 | data() { | ||
5 | return { | ||
6 | chartDom: null, | ||
7 | data: { | ||
8 | id: this.id, | ||
9 | title: this.title, | ||
10 | subtext: this.subtext, | ||
11 | hover_title: this.hoverTitle, | ||
12 | text_list: this.textList, | ||
13 | value_list: this.valueList | ||
14 | }, | ||
15 | } | ||
16 | }, | ||
17 | methods: { | ||
18 | init() { | ||
19 | //基于准备好的dom,初始化echarts实例 | ||
20 | if (this.data.id) { | ||
21 | this.chartDom = echarts.init(document.getElementById(this.data.id)); | ||
22 | } | ||
23 | return this; | ||
24 | }, | ||
25 | update() { | ||
26 | if (this.chartDom === null) { | ||
27 | this.init(); | ||
28 | } | ||
29 | |||
30 | if (this.chartDom) { | ||
31 | this.chartDom.setOption({ | ||
32 | title: { | ||
33 | text: this.data.title, | ||
34 | subtext: this.data.subtext | ||
35 | }, | ||
36 | tooltip: {}, | ||
37 | xAxis: { | ||
38 | data: this.data.text_list | ||
39 | }, | ||
40 | yAxis: {}, | ||
41 | series: [{ | ||
42 | name: this.data.hover_title, | ||
43 | type: 'bar', | ||
44 | data: this.data.value_list | ||
45 | }] | ||
46 | }); | ||
47 | } | ||
48 | } | ||
49 | }, | ||
50 | mounted: function() { | ||
51 | this.init() | ||
52 | .update(this.data); | ||
53 | }, | ||
54 | props: { | ||
55 | id: [String], | ||
56 | title: [String, Number], | ||
57 | subtext: [String, Number], | ||
58 | hoverTitle: [String, Number], | ||
59 | textList: { | ||
60 | type: Array, | ||
61 | required: true | ||
62 | }, | ||
63 | valueList: { | ||
64 | type: Array, | ||
65 | required: true | ||
66 | } | ||
67 | }, | ||
68 | watch: { | ||
69 | valueList(v) { | ||
70 | this.data.value_list = v; | ||
71 | this.update(); | ||
72 | }, | ||
73 | textList(v) { | ||
74 | this.data.text_list = v; | ||
75 | this.update(); | ||
76 | }, | ||
77 | title(v) { | ||
78 | this.data.title = v; | ||
79 | this.update(); | ||
80 | }, | ||
81 | subtext(v) { | ||
82 | this.data.subtext = v; | ||
83 | this.update(); | ||
84 | }, | ||
85 | hoverTitle(v) { | ||
86 | this.data.hover_title = v; | ||
87 | this.update(); | ||
88 | } | ||
89 | } | ||
90 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <template> | ||
2 | <section class="chart"> | ||
3 | <el-row> | ||
4 | <el-col :span="24"> | ||
5 | <div :id="data.id" style="width:100%; height:400px;"></div> | ||
6 | </el-col> | ||
7 | </el-row> | ||
8 | </section> | ||
9 | </template> | ||
10 | <script> | ||
11 | import DefaultJs from './Default.js'; | ||
12 | module.exports=DefaultJs; | ||
13 | </script> | ||
14 | <style scoped> | ||
15 | |||
16 | </style> |
1 | import echarts from 'echarts'; | ||
2 | module.exports = { | ||
3 | name: 'echarts', | ||
4 | data() { | ||
5 | return { | ||
6 | chartDom: null, | ||
7 | data: {}, | ||
8 | } | ||
9 | }, | ||
10 | methods: { | ||
11 | init() { | ||
12 | //基于准备好的dom,初始化echarts实例 | ||
13 | this.chartDom = echarts.init(document.getElementById('chartDom')); | ||
14 | return this; | ||
15 | }, | ||
16 | update() { | ||
17 | if (this.chartDom === null) { | ||
18 | this.init(); | ||
19 | } | ||
20 | this.chartDom.setOption({ | ||
21 | title: { | ||
22 | text: 'Bar Chart', | ||
23 | subtext: '数据来自网络' | ||
24 | }, | ||
25 | tooltip: { | ||
26 | trigger: 'axis', | ||
27 | axisPointer: { | ||
28 | type: 'shadow' | ||
29 | } | ||
30 | }, | ||
31 | legend: { | ||
32 | data: ['2011年', '2012年'] | ||
33 | }, | ||
34 | grid: { | ||
35 | left: '3%', | ||
36 | right: '4%', | ||
37 | bottom: '3%', | ||
38 | containLabel: true | ||
39 | }, | ||
40 | xAxis: { | ||
41 | type: 'value', | ||
42 | boundaryGap: [0, 0.01] | ||
43 | }, | ||
44 | yAxis: { | ||
45 | type: 'category', | ||
46 | data: ['巴西', '印尼', '美国', '印度', '中国', '世界人口(万)'] | ||
47 | }, | ||
48 | series: [{ | ||
49 | name: '2011年', | ||
50 | type: 'bar', | ||
51 | data: [18203, 23489, 29034, 104970, 131744, 630230] | ||
52 | }, { | ||
53 | name: '2012年', | ||
54 | type: 'bar', | ||
55 | data: [19325, 23438, 31000, 121594, 134141, 681807] | ||
56 | }] | ||
57 | }); | ||
58 | } | ||
59 | }, | ||
60 | mounted: function() { | ||
61 | this.init() | ||
62 | .update(this.data); | ||
63 | } | ||
64 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <template> | ||
2 | <section class="chart"> | ||
3 | <el-row> | ||
4 | <el-col :span="24"> | ||
5 | <div id="chartDom" style="width:100%; height:400px;"></div> | ||
6 | </el-col> | ||
7 | </el-row> | ||
8 | </section> | ||
9 | </template> | ||
10 | <script> | ||
11 | import HorizontalJs from './Horizontal.js'; | ||
12 | module.exports=HorizontalJs; | ||
13 | </script> | ||
14 | <style scoped> | ||
15 | |||
16 | </style> |
src/components/Common/Echarts/Bar/index.js
0 → 100644
1 | import echarts from 'echarts'; | ||
2 | module.exports = { | ||
3 | name: 'echarts', | ||
4 | data() { | ||
5 | return { | ||
6 | chartDom: null, | ||
7 | data: { | ||
8 | title: '垂直方向柱状标题', | ||
9 | subtext: '子标题描述信息', | ||
10 | }, | ||
11 | } | ||
12 | }, | ||
13 | methods: { | ||
14 | init() { | ||
15 | //基于准备好的dom,初始化echarts实例 | ||
16 | this.chartDom = echarts.init(document.getElementById('chartDom')); | ||
17 | return this; | ||
18 | }, | ||
19 | update() { | ||
20 | if (this.chartDom === null) { | ||
21 | this.init(); | ||
22 | } | ||
23 | this.chartDom.setOption({ | ||
24 | title: { | ||
25 | text: 'Line Chart' | ||
26 | }, | ||
27 | tooltip: { | ||
28 | trigger: 'axis' | ||
29 | }, | ||
30 | legend: { | ||
31 | data: ['邮件营销', '联盟广告', '搜索引擎'] | ||
32 | }, | ||
33 | grid: { | ||
34 | left: '3%', | ||
35 | right: '4%', | ||
36 | bottom: '3%', | ||
37 | containLabel: true | ||
38 | }, | ||
39 | xAxis: { | ||
40 | type: 'category', | ||
41 | boundaryGap: false, | ||
42 | data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'] | ||
43 | }, | ||
44 | yAxis: { | ||
45 | type: 'value' | ||
46 | }, | ||
47 | series: [{ | ||
48 | name: '邮件营销', | ||
49 | type: 'line', | ||
50 | stack: '总量', | ||
51 | data: [120, 132, 101, 134, 90, 230, 210] | ||
52 | }, { | ||
53 | name: '联盟广告', | ||
54 | type: 'line', | ||
55 | stack: '总量', | ||
56 | data: [220, 182, 191, 234, 290, 330, 310] | ||
57 | }, { | ||
58 | name: '搜索引擎', | ||
59 | type: 'line', | ||
60 | stack: '总量', | ||
61 | data: [820, 932, 901, 934, 1290, 1330, 1320] | ||
62 | }] | ||
63 | }); | ||
64 | } | ||
65 | }, | ||
66 | mounted: function() { | ||
67 | this.init() | ||
68 | .update(); | ||
69 | } | ||
70 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <template> | ||
2 | <section class="chart"> | ||
3 | <el-row> | ||
4 | <el-col :span="24"> | ||
5 | <div id="chartDom" style="width:100%; height:400px;"></div> | ||
6 | </el-col> | ||
7 | </el-row> | ||
8 | </section> | ||
9 | </template> | ||
10 | <script> | ||
11 | import DefaultJs from './Default.js'; | ||
12 | module.exports=DefaultJs; | ||
13 | </script> | ||
14 | <style scoped> | ||
15 | |||
16 | </style> |
src/components/Common/Echarts/Line/index.js
0 → 100644
1 | import echarts from 'echarts'; | ||
2 | module.exports = { | ||
3 | name: 'echarts', | ||
4 | data() { | ||
5 | return { | ||
6 | chartDom: null, | ||
7 | data: { | ||
8 | id: this.id, | ||
9 | title: this.title, | ||
10 | subtext: this.subtext, | ||
11 | hover_title: this.hoverTitle, | ||
12 | data_list: this.dataList, | ||
13 | text_list: [] | ||
14 | }, | ||
15 | } | ||
16 | }, | ||
17 | methods: { | ||
18 | init() { | ||
19 | //基于准备好的dom,初始化echarts实例 | ||
20 | if (this.data.id) { | ||
21 | this.chartDom = echarts.init(document.getElementById(this.data.id)); | ||
22 | } | ||
23 | return this; | ||
24 | }, | ||
25 | update() { | ||
26 | if (this.chartDom === null) { | ||
27 | this.init(); | ||
28 | } | ||
29 | this.chartDom.setOption({ | ||
30 | title: { | ||
31 | text: this.data.title, | ||
32 | subtext: this.data.subtext, | ||
33 | x: 'center' | ||
34 | }, | ||
35 | tooltip: { | ||
36 | trigger: 'item', | ||
37 | formatter: "{a} <br/>{b} : {c} ({d}%)" | ||
38 | }, | ||
39 | legend: { | ||
40 | orient: 'vertical', | ||
41 | left: 'left', | ||
42 | data: this.data.text_list | ||
43 | }, | ||
44 | series: [{ | ||
45 | name: this.data.hover_title, | ||
46 | type: 'pie', | ||
47 | radius: '55%', | ||
48 | // center: ['50%', '60%'], | ||
49 | data: this.data.data_list, | ||
50 | itemStyle: { | ||
51 | emphasis: { | ||
52 | shadowBlur: 10, | ||
53 | shadowOffsetX: 0, | ||
54 | shadowColor: 'rgba(0, 0, 0, 0.5)' | ||
55 | } | ||
56 | } | ||
57 | }] | ||
58 | }); | ||
59 | }, | ||
60 | |||
61 | updateTextList() { | ||
62 | var data = this.data.data_list; | ||
63 | this.data.text_list = []; | ||
64 | for (var i = 0; i < data.length; i++) { | ||
65 | this.data.text_list.push(data[i].name); | ||
66 | } | ||
67 | return this; | ||
68 | } | ||
69 | }, | ||
70 | mounted: function() { | ||
71 | this.updateTextList() | ||
72 | .init() | ||
73 | .update(); | ||
74 | }, | ||
75 | props: { | ||
76 | id: { | ||
77 | type: String, | ||
78 | required: true | ||
79 | }, | ||
80 | title: [String, Number], | ||
81 | subtext: [String, Number], | ||
82 | hoverTitle: [String, Number], | ||
83 | dataList: { | ||
84 | type: Array, | ||
85 | required: true | ||
86 | } | ||
87 | }, | ||
88 | watch: { | ||
89 | dataList(v) { | ||
90 | this.data.value_list = v; | ||
91 | this.updateTextList().update(); | ||
92 | }, | ||
93 | title(v) { | ||
94 | this.data.title = v; | ||
95 | this.update(); | ||
96 | }, | ||
97 | subtext(v) { | ||
98 | this.data.subtext = v; | ||
99 | this.update(); | ||
100 | }, | ||
101 | hoverTitle(v) { | ||
102 | this.data.hover_title = v; | ||
103 | this.update(); | ||
104 | } | ||
105 | } | ||
106 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <template> | ||
2 | <section class="chart"> | ||
3 | <el-row> | ||
4 | <el-col :span="24"> | ||
5 | <div :id="data.id" style="width:100%; height:400px;"></div> | ||
6 | </el-col> | ||
7 | </el-row> | ||
8 | </section> | ||
9 | </template> | ||
10 | <script> | ||
11 | import DefaultJs from './Default.js'; | ||
12 | module.exports=DefaultJs; | ||
13 | </script> | ||
14 | <style scoped> | ||
15 | |||
16 | </style> |
src/components/Common/Echarts/Pie/index.js
0 → 100644
src/components/Common/Echarts/index.js
0 → 100644
src/components/Common/FormData/FormData.js
0 → 100644
1 | module.exports = { | ||
2 | name: 'list', | ||
3 | data() { | ||
4 | return { | ||
5 | checkall_temp: '_checkall_temp', | ||
6 | |||
7 | fields: this.FieldList || [], | ||
8 | editor: this.Editor || {}, | ||
9 | submit_data: this.DefaultValue || {}, | ||
10 | rules: this.Rules || {}, | ||
11 | |||
12 | /** | ||
13 | * 富文本编辑器信息 | ||
14 | * @type {Object} | ||
15 | */ | ||
16 | wangEditor: { | ||
17 | //存富文本实例的对象,支持多个 | ||
18 | //key为富文本对象ID,value为实例 | ||
19 | editor: {}, | ||
20 | //默认为单个编辑器,如果为多个,此值为true,因为多个编辑器时,地图菜单不可用 | ||
21 | many: false, | ||
22 | has: false, | ||
23 | //默认显示菜单,支持自定义 | ||
24 | bar: [ | ||
25 | 'source', '|', | ||
26 | 'bold', | ||
27 | 'underline', | ||
28 | 'italic', | ||
29 | 'strikethrough', | ||
30 | 'eraser', | ||
31 | 'forecolor', | ||
32 | 'bgcolor', '|', | ||
33 | 'quote', | ||
34 | 'fontfamily', | ||
35 | 'fontsize', | ||
36 | 'head', | ||
37 | 'unorderlist', | ||
38 | 'orderlist', | ||
39 | 'alignleft', | ||
40 | 'aligncenter', | ||
41 | 'alignright', '|', | ||
42 | 'link', | ||
43 | 'unlink', | ||
44 | 'table', | ||
45 | 'emotion', '|', | ||
46 | 'img', | ||
47 | 'video', | ||
48 | // 'location', | ||
49 | 'insertcode', '|', | ||
50 | 'undo', | ||
51 | 'redo', | ||
52 | 'fullscreen' | ||
53 | ], | ||
54 | temp: { | ||
55 | |||
56 | }, | ||
57 | }, | ||
58 | } | ||
59 | }, | ||
60 | methods: { | ||
61 | /** | ||
62 | * 初始化编辑器 | ||
63 | * @param {string} id 编辑器ID属性 | ||
64 | * @param {object} config 初始化配置 | ||
65 | * @return {object} 所有编辑器所在对象,属性已ID为key | ||
66 | */ | ||
67 | initEditor(id, config) { | ||
68 | if (id) { | ||
69 | this.wangEditor.editor[id] = new wangEditor(id); | ||
70 | this.wangEditor.temp[id] = { | ||
71 | html: '', | ||
72 | text: '' | ||
73 | }; | ||
74 | } | ||
75 | this.configEditor(id, config).eventEditor(id).createEditor(id); | ||
76 | }, | ||
77 | |||
78 | |||
79 | /** | ||
80 | * 配置编辑器参数 | ||
81 | * @param {string} id 编辑器ID | ||
82 | * @param {object} config 编辑器配置信息 | ||
83 | */ | ||
84 | configEditor(id, config) { | ||
85 | if (id && config) { | ||
86 | this.wangEditor.editor[id].config.uploadImgFileName = config.name || this.editor.name || 'sls-admin'; | ||
87 | this.wangEditor.editor[id].config.uploadImgUrl = config.url || this.editor.url || ''; | ||
88 | this.wangEditor.editor[id].config.uploadParams = config.params || this.editor.params || {}; | ||
89 | |||
90 | /** | ||
91 | * 显示的菜单,分四种情况 | ||
92 | * 1-只传显示的菜单,直接赋值 | ||
93 | * 2-只传隐藏的菜单,过滤不需要显示的 | ||
94 | * 3-显示隐藏都传了,显示优先级高于隐藏优先级 | ||
95 | * 4-啥都不传,取默认全部显示 | ||
96 | * @type {object} | ||
97 | */ | ||
98 | if (Array.isArray(config.show_bar) && config.show_bar.length) { | ||
99 | var bar = config.show_bar; | ||
100 | } else if (Array.isArray(config.hide_bar) && config.hide_bar.length) { | ||
101 | var bar = this.wangEditor.bar.filter((item) => { | ||
102 | return config.hide_bar.indexOf(item) === -1; | ||
103 | }); | ||
104 | } else if (Array.isArray(this.editor.show_bar) && this.editor.show_bar.length) { | ||
105 | var bar = this.editor.show_bar; | ||
106 | } else if (Array.isArray(this.editor.hide_bar) && this.editor.hide_bar.length) { | ||
107 | var bar = this.wangEditor.bar.filter((item) => { | ||
108 | return this.editor.hide_bar.indexOf(item) === -1; | ||
109 | }); | ||
110 | } else { | ||
111 | var bar = this.wangEditor.bar; | ||
112 | } | ||
113 | |||
114 | if (this.wangEditor.many === true && bar.indexOf('location') !== -1) { | ||
115 | var bar = bar.splice(bar.indexOf('location'), 1); | ||
116 | } | ||
117 | |||
118 | this.wangEditor.editor[id].config.menus = bar; | ||
119 | } | ||
120 | |||
121 | return this; | ||
122 | }, | ||
123 | |||
124 | |||
125 | /** | ||
126 | * 编辑器常用事件 | ||
127 | * @param {string} id 编辑器ID | ||
128 | */ | ||
129 | eventEditor(id) { | ||
130 | var self = this; | ||
131 | this.wangEditor.editor[id].config.uploadImgFns.onload = function(data) { | ||
132 | if (data.status === 200) { | ||
133 | var originalName = this.uploadImgOriginalName || ''; | ||
134 | |||
135 | this.command(null, 'insertHtml', '<img src="' + data.data.fileinfo.getSaveName + '" alt="' + originalName + '" style="max-width:100%;"/>'); | ||
136 | } else { | ||
137 | if (data.status === 404) { | ||
138 | self.$message.error('上传错误信息:token无效!'); | ||
139 | } else { | ||
140 | self.$message.error('上传错误信息:' + data.msg); | ||
141 | } | ||
142 | } | ||
143 | |||
144 | }; | ||
145 | |||
146 | this.wangEditor.editor[id].config.uploadImgFns.onerror = (xhr) => { | ||
147 | this.$message.error('上传错误信息:网络错误!'); | ||
148 | }; | ||
149 | |||
150 | this.wangEditor.editor[id].onchange = function() { | ||
151 | var text = this.$txt.text().replace(/(^\s*)|(\s*$)/g, ""), | ||
152 | html = this.$txt.html(); | ||
153 | |||
154 | self.wangEditor.temp[id].html = html; | ||
155 | self.wangEditor.temp[id].text = text; | ||
156 | |||
157 | self.$emit('onEditorChange', { | ||
158 | id, | ||
159 | data: { | ||
160 | html, | ||
161 | text | ||
162 | } | ||
163 | }); | ||
164 | }; | ||
165 | |||
166 | return this; | ||
167 | }, | ||
168 | |||
169 | |||
170 | /** | ||
171 | * 创建编辑器 | ||
172 | * @param {string} id 编辑器ID | ||
173 | */ | ||
174 | createEditor(id) { | ||
175 | this.wangEditor.editor[id].create(); | ||
176 | }, | ||
177 | |||
178 | |||
179 | /** | ||
180 | * 从字段列表中提取出来表单字段 | ||
181 | * @return {object} [表单需要的字段] | ||
182 | */ | ||
183 | deepObj() { | ||
184 | if (this.fields) { | ||
185 | var fields = this.fields, | ||
186 | k = 0, | ||
187 | update = this.submit_data.id ? true : false; | ||
188 | for (var i = 0; i < fields.length; i++) { | ||
189 | var field = fields[i]; | ||
190 | |||
191 | if (field.value && field.value.constructor === Object) { | ||
192 | if (field.checkall && typeof field.checkall === 'object') { | ||
193 | var temp = {}; | ||
194 | temp.text = field.checkall.text; | ||
195 | temp.value = field.checkall.value; | ||
196 | temp.indeterminate = field.checkall.indeterminate; | ||
197 | temp.checkbox_list = field.value.list; | ||
198 | temp.checkbox_value = field.value.default; | ||
199 | this.$set(this.submit_data, field.key + this.checkall_temp, temp); | ||
200 | } else { | ||
201 | this.$set(this.submit_data, field.key, field.value.default); | ||
202 | } | ||
203 | } else { | ||
204 | this.$set(this.submit_data, field.key, field.value); | ||
205 | } | ||
206 | |||
207 | |||
208 | if (field.type && field.type === 'editor') { | ||
209 | k++; | ||
210 | this.initEditor(field.id, field.config || {}); | ||
211 | if (k == 2) { | ||
212 | this.wangEditor.many = true; | ||
213 | } | ||
214 | if (k == 1) { | ||
215 | this.wangEditor.has = true; | ||
216 | } | ||
217 | } | ||
218 | } | ||
219 | |||
220 | console.log(this.submit_data); | ||
221 | } | ||
222 | }, | ||
223 | |||
224 | |||
225 | /** | ||
226 | * 表单提交事件 | ||
227 | */ | ||
228 | onSubmit(ref) { | ||
229 | var data = { | ||
230 | data: this.submit_data, | ||
231 | }; | ||
232 | if (this.wangEditor.has === true) { | ||
233 | data.editor_temp_data = this.wangEditor.temp; | ||
234 | } | ||
235 | |||
236 | if (this.rules) { | ||
237 | this.$refs[ref].validate((valid) => { | ||
238 | if (valid) { | ||
239 | this.$emit('onSubmit', data); | ||
240 | } | ||
241 | }); | ||
242 | } else { | ||
243 | this.$emit('onSubmit', data); | ||
244 | } | ||
245 | }, | ||
246 | |||
247 | |||
248 | onCheckboxChange(key) { | ||
249 | var checkall_temp = this.submit_data[key + this.checkall_temp]; | ||
250 | |||
251 | if (checkall_temp.checkbox_value.length > 0 && checkall_temp.checkbox_value.length < checkall_temp.checkbox_list.length) { | ||
252 | checkall_temp.indeterminate = true; | ||
253 | } else { | ||
254 | checkall_temp.indeterminate = false; | ||
255 | } | ||
256 | |||
257 | checkall_temp.value = checkall_temp.checkbox_value.length === checkall_temp.checkbox_list.length; | ||
258 | }, | ||
259 | |||
260 | |||
261 | onCheckallChange(key) { | ||
262 | var checkall_temp = this.submit_data[key + this.checkall_temp]; | ||
263 | checkall_temp.indeterminate = false; | ||
264 | |||
265 | var value = []; | ||
266 | if (checkall_temp.value == true) { | ||
267 | for (var i = 0; i < checkall_temp.checkbox_list.length; i++) { | ||
268 | value.push(checkall_temp.checkbox_list[i].value); | ||
269 | } | ||
270 | } | ||
271 | |||
272 | checkall_temp.checkbox_value = value; | ||
273 | } | ||
274 | }, | ||
275 | |||
276 | |||
277 | /** | ||
278 | * ready | ||
279 | */ | ||
280 | mounted() { | ||
281 | this.deepObj(); | ||
282 | }, | ||
283 | |||
284 | |||
285 | /** | ||
286 | * 接收参数 | ||
287 | * @type {Object} | ||
288 | */ | ||
289 | props: { | ||
290 | FieldList: { | ||
291 | type: Array, | ||
292 | required: true | ||
293 | }, | ||
294 | Editor: { | ||
295 | type: Object | ||
296 | }, | ||
297 | Rules: { | ||
298 | type: Object | ||
299 | }, | ||
300 | DefaultValue: { | ||
301 | type: Object | ||
302 | } | ||
303 | }, | ||
304 | |||
305 | |||
306 | /** | ||
307 | * 监控参数 | ||
308 | * @type {Object} | ||
309 | */ | ||
310 | watch: { | ||
311 | FieldList(v) { | ||
312 | if (v) { | ||
313 | this.fields = v; | ||
314 | } | ||
315 | }, | ||
316 | DefaultValue(v) { | ||
317 | if (v) { | ||
318 | this.submit_data = v; | ||
319 | } | ||
320 | } | ||
321 | } | ||
322 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/components/Common/FormData/FormData.vue
0 → 100644
1 | <template> | ||
2 | <div class="form"> | ||
3 | <el-form style="" | ||
4 | label-width="100px" | ||
5 | ref='form-data' | ||
6 | :rules='rules' | ||
7 | :model='submit_data'> | ||
8 | <el-form-item | ||
9 | class='edit-form' | ||
10 | v-for='field in fields' | ||
11 | :label="field.label" | ||
12 | :prop='field.key' | ||
13 | :style="field.item_style"> | ||
14 | |||
15 | <!-- 单选CheckBox --> | ||
16 | <el-checkbox | ||
17 | v-if='field.type==="checkbox" && field.multiple!==true' | ||
18 | v-model="submit_data[field.key]">{{field.label}}</el-checkbox> | ||
19 | |||
20 | |||
21 | <!-- 复选CheckBox --> | ||
22 | <!-- 是否全选全不选 --> | ||
23 | <el-checkbox | ||
24 | v-if='field.checkall && typeof field.checkall==="object" && submit_data[field.key+checkall_temp]' | ||
25 | :indeterminate="submit_data[field.key+checkall_temp].indeterminate" | ||
26 | v-model="submit_data[field.key+checkall_temp].value" | ||
27 | @change='onCheckallChange(field.key)'>{{submit_data[field.key+checkall_temp].text}}</el-checkbox> | ||
28 | <!-- CheckBox选项列表 --> | ||
29 | <el-checkbox-group | ||
30 | v-if='(field.type==="checkbox" && field.multiple===true && !field.checkall) || (field.type==="checkbox" && field.multiple===true && field.checkall && submit_data[field.key+checkall_temp])' | ||
31 | v-model="submit_data[field.key+checkall_temp].checkbox_value" | ||
32 | @change='onCheckboxChange(field.key)'> | ||
33 | <el-checkbox | ||
34 | v-for='item in submit_data[field.key+checkall_temp].checkbox_list' | ||
35 | :label="item.value">{{item.text}}</el-checkbox> | ||
36 | </el-checkbox-group> | ||
37 | |||
38 | <!-- wangeditor --> | ||
39 | <div | ||
40 | v-if='field.type==="editor"' | ||
41 | :id="field.id" | ||
42 | :style="field.style" | ||
43 | v-html='submit_data[field.key]'></div> | ||
44 | |||
45 | <!-- | ||
46 | input,textarea | ||
47 | --> | ||
48 | <el-input | ||
49 | v-if='!field.type || field.type==="input" || field.type==="textarea"' | ||
50 | :type='!field.type ? "input" : field.type' | ||
51 | v-model="submit_data[field.key]" | ||
52 | :placeholder='field.desc'></el-input> | ||
53 | |||
54 | <!-- | ||
55 | radia,单选 | ||
56 | --> | ||
57 | <el-radio-group | ||
58 | v-if='field.type==="radio"' | ||
59 | v-model="submit_data[field.key]"> | ||
60 | <el-radio | ||
61 | v-for='item in field.value.list' | ||
62 | :label="item.value">{{item.text || item.value}}</el-radio> | ||
63 | </el-radio-group> | ||
64 | |||
65 | <!-- select,下拉框 --> | ||
66 | <el-select | ||
67 | v-if='field.type==="select" && submit_data[field.key]' | ||
68 | v-model="submit_data[field.key]" | ||
69 | :multiple='field.multiple ? true : false' | ||
70 | :placeholder="field.desc"> | ||
71 | <el-option | ||
72 | v-for='item in field.value.list' | ||
73 | :value="item.value" | ||
74 | :label="item.text || item.value"></el-option> | ||
75 | </el-select> | ||
76 | |||
77 | <!-- | ||
78 | switch,开关 | ||
79 | --> | ||
80 | <el-switch | ||
81 | v-if='field.type==="switch"' | ||
82 | :on-text="field.value.on" | ||
83 | :off-text="field.value.off" | ||
84 | :disabled='field.disabled' | ||
85 | v-model="submit_data[field.key]"></el-switch> | ||
86 | </el-form-item> | ||
87 | |||
88 | <el-form-item> | ||
89 | <el-button type="primary" @click='onSubmit("form-data")'>提交</el-button> | ||
90 | </el-form-item> | ||
91 | </el-form> | ||
92 | </div> | ||
93 | </template> | ||
94 | |||
95 | <script> | ||
96 | import FormDataJs from './FormData.js'; | ||
97 | module.exports=FormDataJs; | ||
98 | </script> | ||
99 | <style scoped lang='less'> | ||
100 | .demo-form-inline{ | ||
101 | display: inline-block; | ||
102 | float: right; | ||
103 | } | ||
104 | .btm-action{ | ||
105 | margin-top: 20px; | ||
106 | text-align: center; | ||
107 | } | ||
108 | .actions-top{ | ||
109 | height: 46px; | ||
110 | } | ||
111 | .pagination{ | ||
112 | display: inline-block; | ||
113 | } | ||
114 | </style> |
src/components/Common/FormData/index.js
0 → 100644
src/components/Common/HeadNav/HeadNav.js
0 → 100644
1 | import { | ||
2 | user as UserApi, | ||
3 | system as SystemApi | ||
4 | } from '../../../config/request.js'; | ||
5 | |||
6 | module.exports = { | ||
7 | name: 'head-nav', | ||
8 | data() { | ||
9 | return { | ||
10 | dialog: { | ||
11 | show_set: false, | ||
12 | show_pass: false, | ||
13 | title: '修改密码', | ||
14 | user_info: this.$store.state.user.userinfo, | ||
15 | |||
16 | set_info: { | ||
17 | login_style: '', | ||
18 | disabled_update_pass: [], | ||
19 | select_users: [] | ||
20 | }, | ||
21 | |||
22 | user_info_rules: { | ||
23 | old_password: [{ | ||
24 | required: true, | ||
25 | message: '旧密码不能为空!', | ||
26 | trigger: 'blur' | ||
27 | }], | ||
28 | password: [{ | ||
29 | required: true, | ||
30 | message: '新密码不能为空!', | ||
31 | trigger: 'blur' | ||
32 | }, { | ||
33 | trigger: 'blur', | ||
34 | validator: (rule, value, callback) => { | ||
35 | if (value === '') { | ||
36 | callback(new Error('请再次输入密码')); | ||
37 | } else { | ||
38 | if ('' !== this.dialog.user_info.password) { | ||
39 | this.$refs.user_info.validateField('password_confirm'); | ||
40 | } | ||
41 | callback(); | ||
42 | } | ||
43 | } | ||
44 | }], | ||
45 | password_confirm: [{ | ||
46 | required: true, | ||
47 | message: '确认密码不能为空!', | ||
48 | trigger: 'blur' | ||
49 | }, { | ||
50 | trigger: 'blur', | ||
51 | validator: (rule, value, callback) => { | ||
52 | if (value === '') { | ||
53 | callback(new Error('请再次输入密码')); | ||
54 | } else if (value !== this.dialog.user_info.password) { | ||
55 | callback(new Error('两次输入密码不一致!')); | ||
56 | } else { | ||
57 | callback(); | ||
58 | } | ||
59 | } | ||
60 | }], | ||
61 | } | ||
62 | } | ||
63 | } | ||
64 | }, | ||
65 | mounted() { | ||
66 | // this.onGetSetting(); | ||
67 | }, | ||
68 | methods: { | ||
69 | /** | ||
70 | * 退出登录 | ||
71 | */ | ||
72 | logout() { | ||
73 | this.$confirm('你确定退出登录么?', '确认退出', { | ||
74 | confirmButtonText: '确定', | ||
75 | cancelButtonText: '取消', | ||
76 | type: 'warning' | ||
77 | }).then(() => { | ||
78 | this.$store.dispatch('remove_userinfo').then(() => { | ||
79 | this.$router.push('/login'); | ||
80 | }); | ||
81 | }); | ||
82 | }, | ||
83 | |||
84 | /** | ||
85 | * 弹出框-修改密码或者系统设置 | ||
86 | * @param {string} cmditem 弹框类型 | ||
87 | */ | ||
88 | setDialogInfo(cmditem) { | ||
89 | if (!cmditem) { | ||
90 | this.$message.error('菜单选项缺少command属性'); | ||
91 | return; | ||
92 | } | ||
93 | switch (cmditem) { | ||
94 | case 'info': | ||
95 | this.$router.push({ | ||
96 | path: '/demo/user/edit', | ||
97 | query: { | ||
98 | id: this.$store.state.user.userinfo.id | ||
99 | } | ||
100 | }); | ||
101 | break; | ||
102 | case 'pass': | ||
103 | this.dialog.show_pass = true; | ||
104 | this.dialog.title = '修改密码'; | ||
105 | break; | ||
106 | case 'set': | ||
107 | this.onGetSetting(); | ||
108 | this.dialog.show_set = true; | ||
109 | this.dialog.title = '系统设置'; | ||
110 | break; | ||
111 | } | ||
112 | }, | ||
113 | |||
114 | /** | ||
115 | * 修改密码 | ||
116 | * @param {object} userinfo 当前修改密码的表单信息 | ||
117 | */ | ||
118 | updUserPass(userinfo) { | ||
119 | this.$refs[userinfo].validate((valid) => { | ||
120 | if (valid) { | ||
121 | UserApi.updPass.call(this, { | ||
122 | old_password: this.dialog[userinfo].old_password, | ||
123 | password: this.dialog[userinfo].password, | ||
124 | password_confirm: this.dialog[userinfo].password_confirm | ||
125 | }, (data) => { | ||
126 | this.dialog.show_pass = false; | ||
127 | // this.$nextTick(() => { | ||
128 | this.$message.success('修改成功!'); | ||
129 | // }); | ||
130 | }); | ||
131 | } | ||
132 | }); | ||
133 | }, | ||
134 | |||
135 | /** | ||
136 | * 获取系统设置信息 | ||
137 | */ | ||
138 | onGetSetting() { | ||
139 | //获取系统设置信息 | ||
140 | if (this.$store.state.user.userinfo.pid == 0) { | ||
141 | SystemApi.getSetting.call(this, (data) => { | ||
142 | // console.log(data); | ||
143 | if (data.setting_info.disabled_update_pass) { | ||
144 | data.setting_info.disabled_update_pass = data.setting_info.disabled_update_pass.split(','); | ||
145 | } else { | ||
146 | data.setting_info.disabled_update_pass = []; | ||
147 | } | ||
148 | data.setting_info.login_style = data.setting_info.login_style + ''; | ||
149 | |||
150 | this.dialog.set_info = data.setting_info; | ||
151 | }); | ||
152 | } else { | ||
153 | this.$message.error('只有管理员才能操作!'); | ||
154 | } | ||
155 | }, | ||
156 | |||
157 | /** | ||
158 | * 修改系统设置信息 | ||
159 | */ | ||
160 | onUpdateSetting() { | ||
161 | // console.log(this.dialog.set_info.login_style); | ||
162 | // console.log(this.dialog.set_info.disabled_update_pass); | ||
163 | // console.log(this.dialog.set_info.id); | ||
164 | |||
165 | SystemApi.updateSetting.call(this, { | ||
166 | id: this.dialog.set_info.id, | ||
167 | login_style: this.dialog.set_info.login_style, | ||
168 | disabled_update_pass: this.dialog.set_info.disabled_update_pass && this.dialog.set_info.disabled_update_pass.length ? this.dialog.set_info.disabled_update_pass.join(',') : '' | ||
169 | }, (data) => { | ||
170 | // console.log(data); | ||
171 | this.dialog.show_set = false; | ||
172 | }); | ||
173 | } | ||
174 | } | ||
175 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/components/Common/HeadNav/HeadNav.vue
0 → 100644
1 | <template> | ||
2 | <header class="head-nav"> | ||
3 | <el-row> | ||
4 | <el-col :span="4" class='logo-container'> | ||
5 | <img src="../../../assets/logo-sm.png" class='logo' alt=""> | ||
6 | </el-col> | ||
7 | <el-col :span="16"> | ||
8 | <el-menu theme="dark" :default-active="$store.state.router.headerCurRouter" class="el-menu-demo" mode="horizontal" unique-opened router> | ||
9 | <!-- <el-submenu index="1"> | ||
10 | <template slot="title">向导中心</template> | ||
11 | <el-menu-item index="1-1">快捷方式1</el-menu-item> | ||
12 | <el-menu-item index="1-2">快捷方式2</el-menu-item> | ||
13 | <el-menu-item index="1-3">快捷方式3</el-menu-item> | ||
14 | </el-submenu> | ||
15 | <el-submenu index="2"> | ||
16 | <template slot="title">商城中心</template> | ||
17 | <el-menu-item index="2-1">订单统计</el-menu-item> | ||
18 | <el-menu-item index="2-2">其他</el-menu-item> | ||
19 | </el-submenu> --> | ||
20 | <!-- <el-menu-item index="2">商城中心</el-menu-item> | ||
21 | <el-menu-item index="3">系统设置</el-menu-item> --> | ||
22 | |||
23 | <!-- v-if='!item.hidden && $store.state.user.userinfo.access.indexOf(item.path)===-1' --> | ||
24 | <el-menu-item | ||
25 | :index="item.path" | ||
26 | v-for='(item,index) in $router.options.routes' | ||
27 | v-if='!item.hidden'> | ||
28 | {{item.name}}<!-- {{item.path}} --> | ||
29 | </el-menu-item> | ||
30 | </el-menu> | ||
31 | </el-col> | ||
32 | <el-col :span="4" class="userinfo"> | ||
33 | <!-- <span class='username'><i class='fa fa-user'></i>{{this.$store.state.user.userinfo.username}}</span> --> | ||
34 | <span class='username'> | ||
35 | <el-dropdown | ||
36 | trigger="click" | ||
37 | @command='setDialogInfo'> | ||
38 | <span class="el-dropdown-link"> | ||
39 | {{this.$store.state.user.userinfo.username}}<i class="el-icon-caret-bottom el-icon--right"></i> | ||
40 | </span> | ||
41 | <el-dropdown-menu slot="dropdown"> | ||
42 | <el-dropdown-item command='info'>修改信息</el-dropdown-item> | ||
43 | <el-dropdown-item | ||
44 | command='pass' | ||
45 | v-if='$store.state.user.userinfo.is_update_pass'>修改密码</el-dropdown-item> | ||
46 | <el-dropdown-item | ||
47 | command='set' | ||
48 | v-if='$store.state.user.userinfo.pid==0'>系统设置</el-dropdown-item> | ||
49 | </el-dropdown-menu> | ||
50 | </el-dropdown> | ||
51 | </span> | ||
52 | <i class="fa fa-sign-out logout" @click='logout'></i> | ||
53 | </el-col> | ||
54 | </el-row> | ||
55 | |||
56 | <el-dialog size="tiny" :title="dialog.title" | ||
57 | v-model="dialog.show_pass"> | ||
58 | <el-form style="margin:20px;width:80%;" | ||
59 | label-width="100px" | ||
60 | :model="dialog.user_info" | ||
61 | :rules="dialog.user_info_rules" | ||
62 | ref='user_info'> | ||
63 | <el-form-item class='edit-form' | ||
64 | label="邮箱" | ||
65 | prop='email'> | ||
66 | <el-input v-model="dialog.user_info.email" disabled placeholder='常用邮箱'></el-input> | ||
67 | </el-form-item> | ||
68 | <el-form-item class='edit-form' | ||
69 | label="用户名称" | ||
70 | prop='username'> | ||
71 | <el-input v-model="dialog.user_info.username" disabled placeholder='用户名'></el-input> | ||
72 | </el-form-item> | ||
73 | <el-form-item class='edit-form' | ||
74 | label="当前密码" | ||
75 | prop='old_password'> | ||
76 | <el-input | ||
77 | type='password' | ||
78 | placeholder='当前密码' | ||
79 | auto-complete='off' | ||
80 | v-model="dialog.user_info.old_password"></el-input> | ||
81 | </el-form-item> | ||
82 | <el-form-item class='edit-form' | ||
83 | label="新密码" | ||
84 | prop='password'> | ||
85 | <el-input | ||
86 | type='password' | ||
87 | placeholder='新密码' | ||
88 | auto-complete='off' | ||
89 | v-model="dialog.user_info.password"></el-input> | ||
90 | </el-form-item> | ||
91 | <el-form-item class='edit-form' | ||
92 | label="确认密码" | ||
93 | prop='password_confirm'> | ||
94 | <el-input | ||
95 | type='password' | ||
96 | placeholder='确认密码' | ||
97 | auto-complete='off' | ||
98 | v-model="dialog.user_info.password_confirm"></el-input> | ||
99 | </el-form-item> | ||
100 | </el-form> | ||
101 | <span slot="footer" class="dialog-footer"> | ||
102 | <el-button @click="dialog.show_pass = false">取 消</el-button> | ||
103 | <el-button type="primary" @click="updUserPass('user_info')">确 定</el-button> | ||
104 | </span> | ||
105 | </el-dialog> | ||
106 | |||
107 | |||
108 | <el-dialog size="small" :title="dialog.title" | ||
109 | v-model="dialog.show_set"> | ||
110 | <el-form style="margin:20px;width:80%;" | ||
111 | label-width="100px" | ||
112 | v-model='dialog.set_info' | ||
113 | ref='set_info'> | ||
114 | <el-form-item label="登录方式"> | ||
115 | <el-select placeholder="请选择登录方式" | ||
116 | v-model='dialog.set_info.login_style'> | ||
117 | <el-option label="单一登录" value="1"></el-option> | ||
118 | <el-option label="多点登录" value="2"></el-option> | ||
119 | </el-select> | ||
120 | </el-form-item> | ||
121 | <el-form-item label="禁止修改密码"> | ||
122 | <el-select placeholder="请选择用户" | ||
123 | multiple | ||
124 | v-model='dialog.set_info.disabled_update_pass'> | ||
125 | <!-- value的值的ID是number,disabled_update_pass的元素中的是字符串, | ||
126 | 所以在value上,需要拼装一个空串,来转化 | ||
127 | 因为elementUI内部用了=== | ||
128 | --> | ||
129 | <el-option | ||
130 | v-for='user in dialog.set_info.select_users' | ||
131 | :label='user.username' | ||
132 | :value='user.id+""'></el-option> | ||
133 | </el-select> | ||
134 | </el-form-item> | ||
135 | </el-form> | ||
136 | <span slot="footer" class="dialog-footer"> | ||
137 | <el-button @click="dialog.show_set = false">取 消</el-button> | ||
138 | <el-button type="primary" @click="onUpdateSetting">确 定</el-button> | ||
139 | </span> | ||
140 | </el-dialog> | ||
141 | </header> | ||
142 | </template> | ||
143 | |||
144 | <script> | ||
145 | import HeadNavJs from './HeadNav.js'; | ||
146 | export default HeadNavJs; | ||
147 | </script> | ||
148 | |||
149 | <style scoped lang='less'> | ||
150 | .logo-container{ | ||
151 | height: 60px; | ||
152 | } | ||
153 | .logo{ | ||
154 | height: 50px; | ||
155 | width: auto; | ||
156 | margin-left: 10px; | ||
157 | margin-top: 5px; | ||
158 | } | ||
159 | .fa-user{ | ||
160 | position: relative; | ||
161 | top:-2px; | ||
162 | margin-right: 4px; | ||
163 | } | ||
164 | .head-nav{ | ||
165 | width:100%; | ||
166 | height: 60px; | ||
167 | background: #324057; | ||
168 | position: fixed; | ||
169 | top:0px; | ||
170 | left:0px; | ||
171 | z-index: 999; | ||
172 | color:#FFF; | ||
173 | border-bottom: 1px solid #1F2D3D; | ||
174 | |||
175 | .logout{ | ||
176 | width:60px; | ||
177 | height: 60px; | ||
178 | line-height: 60px; | ||
179 | text-align: center; | ||
180 | float: right; | ||
181 | cursor: pointer; | ||
182 | } | ||
183 | } | ||
184 | .userinfo{ | ||
185 | text-align: right; | ||
186 | } | ||
187 | .username{ | ||
188 | height: 60px; | ||
189 | line-height: 60px; | ||
190 | cursor: pointer; | ||
191 | |||
192 | .el-dropdown{ | ||
193 | color:#FFF; | ||
194 | } | ||
195 | } | ||
196 | </style> |
src/components/Common/LeftMenu/LeftMenu.vue
0 → 100644
1 | <template> | ||
2 | <div class="left" :style="{'height':win_size.height,'width':$store.state.leftmenu.width}" id='admin-left'> | ||
3 | <div id='left-menu'> | ||
4 | <Row class='tac' | ||
5 | v-for="(route,index) in $router.options.routes" | ||
6 | v-if='!route.hidden && $route.matched.length && $route.matched[0].path===route.path'> | ||
7 | <Col :span="24"> | ||
8 | <el-menu | ||
9 | class="el-menu-vertical-demo" | ||
10 | theme="dark" | ||
11 | :default-active="$route.path" | ||
12 | unique-opened | ||
13 | router> | ||
14 | <!-- v-if="!item.hidden && $store.state.user.userinfo.access.indexOf(route.path+'/'+item.path)===-1" --> | ||
15 | <template | ||
16 | v-for="(item,index) in route.children" | ||
17 | v-if="!item.hidden"> | ||
18 | <el-submenu | ||
19 | :index="item.path"> | ||
20 | <template | ||
21 | slot="title"> | ||
22 | <el-tooltip | ||
23 | class="item" | ||
24 | effect="dark" | ||
25 | placement="right" | ||
26 | :disabled="$store.state.leftmenu.menu_flag" | ||
27 | :content="item.name"> | ||
28 | <i :class="'fa fa-'+item.icon"></i> | ||
29 | </el-tooltip> | ||
30 | <span | ||
31 | class='menu-name' | ||
32 | v-if="$store.state.leftmenu.menu_flag">{{item.name}}<!-- {{route.path+'/'+item.path}} --></span> | ||
33 | </template> | ||
34 | |||
35 | <!-- v-if="!child.hidden && $store.state.user.userinfo.access.indexOf(route.path+'/'+item.path+'/'+child.path)===-1" --> | ||
36 | <el-menu-item | ||
37 | v-for='(child,cindex) in item.children' | ||
38 | v-if="!child.hidden" | ||
39 | :style="{'padding-left':$store.state.leftmenu.menu_flag? '40px' : '23px'}" | ||
40 | :index='$store.state.router.headerCurRouter+"/"+item.path+"/"+child.path'> | ||
41 | <el-tooltip | ||
42 | class="item" | ||
43 | effect="dark" | ||
44 | placement="right" | ||
45 | :disabled="$store.state.leftmenu.menu_flag" | ||
46 | :content="child.name"> | ||
47 | <i :class="'fa fa-'+child.icon"></i> | ||
48 | </el-tooltip> | ||
49 | <span | ||
50 | class='menu-name' | ||
51 | v-if="$store.state.leftmenu.menu_flag">{{child.name}}<!-- {{route.path+'/'+item.path+'/'+child.path}} --></span> | ||
52 | </el-menu-item> | ||
53 | </el-submenu> | ||
54 | </template> | ||
55 | </el-menu> | ||
56 | </Col> | ||
57 | </Row> | ||
58 | <div class="toggle-menu" @click='toggleMenu'> | ||
59 | <i class='el-icon-arrow-left'></i> | ||
60 | </div> | ||
61 | </div> | ||
62 | </div> | ||
63 | </template> | ||
64 | |||
65 | <script> | ||
66 | export default { | ||
67 | name: 'left-menu', | ||
68 | data () { | ||
69 | return { | ||
70 | menu_list:[], | ||
71 | |||
72 | win_size:{ | ||
73 | height:'', | ||
74 | } | ||
75 | } | ||
76 | }, | ||
77 | methods:{ | ||
78 | setSize(){ | ||
79 | this.win_size.height=$(window).height()+"px"; | ||
80 | }, | ||
81 | |||
82 | toggleMenu(){ | ||
83 | this.$store.dispatch(this.$store.state.leftmenu.menu_flag?'set_menu_close':'set_menu_open'); | ||
84 | }, | ||
85 | |||
86 | updateCurMenu(route){ | ||
87 | var route=route || this.$route; | ||
88 | if (route.matched.length) { | ||
89 | var rootPath=route.matched[0].path, | ||
90 | fullPath=route.path; | ||
91 | this.$store.dispatch('set_cur_route',{ | ||
92 | rootPath, | ||
93 | fullPath | ||
94 | }); | ||
95 | var routes=this.$router.options.routes; | ||
96 | for (var i = 0; i < routes.length; i++) { | ||
97 | if (routes[i].path===rootPath && !routes[i].hidden) { | ||
98 | this.menu_list=routes[i].children; | ||
99 | break; | ||
100 | } | ||
101 | } | ||
102 | }else{ | ||
103 | this.$router.push('/404'); | ||
104 | } | ||
105 | } | ||
106 | |||
107 | }, | ||
108 | created(){ | ||
109 | this.setSize(); | ||
110 | $(window).resize(()=>{ | ||
111 | this.setSize(); | ||
112 | }); | ||
113 | |||
114 | this.updateCurMenu(); | ||
115 | }, | ||
116 | mounted(){ | ||
117 | // console.log(this.$store.state.user.userinfo.access); | ||
118 | }, | ||
119 | watch:{ | ||
120 | $route(to,from){ | ||
121 | this.updateCurMenu(to); | ||
122 | } | ||
123 | } | ||
124 | } | ||
125 | </script> | ||
126 | |||
127 | <style scoped lang='less'> | ||
128 | .fa{ | ||
129 | margin-right: 8px; | ||
130 | } | ||
131 | .left-fixed-right-auto{ | ||
132 | padding-top: 60px; | ||
133 | } | ||
134 | .left{ | ||
135 | position:fixed; | ||
136 | float:left; | ||
137 | /*width:190px; | ||
138 | margin-right:-190px;*/ | ||
139 | top:60px; | ||
140 | } | ||
141 | .right-content{ | ||
142 | float:right; | ||
143 | width:100%; | ||
144 | } | ||
145 | #left-menu{ | ||
146 | height: 100%; | ||
147 | background: #324057; | ||
148 | position: relative; | ||
149 | overflow-x: hidden; | ||
150 | |||
151 | |||
152 | .toggle-menu{ | ||
153 | width: 100%; | ||
154 | height: 50px; | ||
155 | background: #1f2f3d; | ||
156 | position: absolute; | ||
157 | bottom: 50px; | ||
158 | left: 0px; | ||
159 | z-index: 1000; | ||
160 | cursor: pointer; | ||
161 | line-height: 40px; | ||
162 | text-align: center; | ||
163 | color: #fff; | ||
164 | font-size: 14px; | ||
165 | } | ||
166 | } | ||
167 | </style> |
src/components/Common/ListData/ListData.js
0 → 100644
1 | module.exports = { | ||
2 | name: 'list-data', | ||
3 | data() { | ||
4 | return { | ||
5 | batch_flag: true, //符合批量删除为true,否则为false | ||
6 | batch_datas: [], | ||
7 | batch_ids: [], | ||
8 | |||
9 | list: this.List, //列表数组 | ||
10 | fields: this.FieldList, //字段数组 | ||
11 | selection: this.Selection, //是否需要批量选择 | ||
12 | btn_info: this.BtnInfo, | ||
13 | |||
14 | pagination: this.Pagination, | ||
15 | } | ||
16 | }, | ||
17 | methods: { | ||
18 | /** | ||
19 | * 表格列表触发CheckBox的事件 | ||
20 | * @param {array} val 当前选中的用户信息数组,每个元素是用户信息对象 | ||
21 | */ | ||
22 | onSelectionChange(val) { | ||
23 | this.batch_datas = val; | ||
24 | |||
25 | this.batch_ids = []; | ||
26 | if (val.length) { | ||
27 | this.batch_flag = false; | ||
28 | for (var i = 0; i < val.length; i++) { | ||
29 | this.batch_ids.push(val[i].id); | ||
30 | } | ||
31 | } else { | ||
32 | this.batch_flag = true; | ||
33 | } | ||
34 | |||
35 | /** | ||
36 | * 改变CheckBox事件,第一个参数是ID数组,第二个参数二维数组,每个数组是选中的对象 | ||
37 | */ | ||
38 | this.$emit('onSelectionChange', this.batch_ids, this.batch_datas); | ||
39 | this.$emit('onSelectionChangeObj', { | ||
40 | ids: this.batch_ids, | ||
41 | datas: this.batch_datas | ||
42 | }); | ||
43 | }, | ||
44 | |||
45 | |||
46 | |||
47 | /** | ||
48 | * 删除事件 | ||
49 | * @param {object || boolean} user 当前信息对象或者为布尔值,为布尔值时,代表是批量删除 | ||
50 | * @param {number} index 当前列表索引 | ||
51 | */ | ||
52 | onDelete(data, index) { | ||
53 | var opts = {}; | ||
54 | if (data === true) { | ||
55 | opts.batch_ids = this.batch_ids; | ||
56 | opts.batch_datas = this.batch_datas; | ||
57 | } else { | ||
58 | opts.data = data; | ||
59 | opts.index = index; | ||
60 | } | ||
61 | |||
62 | /** | ||
63 | * 删除事件,参数为对象 | ||
64 | * 分两种情况,一种是单个删除,一种是批量删除,属性分别如下 | ||
65 | * 1:单个删除 | ||
66 | * opts.data 当前要删除的数据对象 | ||
67 | * opts.index 当前要删除的索引 | ||
68 | * opts.list 当前列表数组 | ||
69 | * 2:批量删除 | ||
70 | * opts.batch_ids 一维数组,需要删除的ID数组 | ||
71 | * opts.batch_datas 二维数组,每个元素为对象(需要删除的数据对象) | ||
72 | */ | ||
73 | this.$emit('onDelete', opts); | ||
74 | }, | ||
75 | |||
76 | /** | ||
77 | * 获取行信息事件 | ||
78 | * @param {object} row 当前行对象 | ||
79 | * @param {number} index 当前行索引 | ||
80 | * @param {array} list 当前列表数组 | ||
81 | */ | ||
82 | onGetInfo(row, index, list, type) { | ||
83 | this.$emit('onGetInfo', { | ||
84 | row, | ||
85 | index, | ||
86 | list, | ||
87 | type | ||
88 | }); | ||
89 | }, | ||
90 | |||
91 | |||
92 | onUpdateBtn(data, index, list) { | ||
93 | if (this.btn_info.update && this.btn_info.update.path) { | ||
94 | var path = this.btn_info.update.path, | ||
95 | param_keys = this.btn_info.update.param_keys || [], | ||
96 | query_keys = this.btn_info.update.query_keys || [], | ||
97 | query = {}; | ||
98 | |||
99 | for (var i = 0; i < param_keys.length; i++) { | ||
100 | path += '/' + data[param_keys[i]]; | ||
101 | } | ||
102 | for (var i = 0; i < query_keys.length; i++) { | ||
103 | query[query_keys[i]] = data[query_keys[i]]; | ||
104 | } | ||
105 | |||
106 | // console.log(path); | ||
107 | // console.log(query); | ||
108 | |||
109 | this.$router.push({ | ||
110 | path: path, | ||
111 | query: query | ||
112 | }); | ||
113 | } else { | ||
114 | this.onGetInfo(data, index, list, 'update'); | ||
115 | } | ||
116 | |||
117 | }, | ||
118 | |||
119 | |||
120 | /** | ||
121 | * 内置删除事件执行成功后,更新列表方法 | ||
122 | * 分两种情况,一种是批量删除,一种是单个删除 | ||
123 | * 1:单个删除 | ||
124 | * row 当前需要删除行的索引 | ||
125 | * 2:批量删除 | ||
126 | * row 一维数组,需要删除的ID数组 | ||
127 | */ | ||
128 | onUpdateList(row) { | ||
129 | if (!Array.isArray(row)) { | ||
130 | this.list.splice(row, 1); | ||
131 | } else { | ||
132 | this.list = this.list.filter(function(item, idx) { | ||
133 | return row.indexOf(item.id) === -1; | ||
134 | }); | ||
135 | } | ||
136 | }, | ||
137 | |||
138 | onChangeCurrentPage(page) { | ||
139 | this.$emit('onChangeCurrentPage', page); | ||
140 | }, | ||
141 | onChangePageSize(page_size) { | ||
142 | this.$emit('onChangePageSize', page_size); | ||
143 | } | ||
144 | }, | ||
145 | |||
146 | mounted() { | ||
147 | // console.log(this.list); | ||
148 | }, | ||
149 | |||
150 | /** | ||
151 | * 接收参数 | ||
152 | * @type {Object} | ||
153 | */ | ||
154 | props: { | ||
155 | List: { | ||
156 | type: Array, | ||
157 | required: true | ||
158 | }, | ||
159 | FieldList: { | ||
160 | type: Array, | ||
161 | required: true | ||
162 | }, | ||
163 | BtnInfo: { | ||
164 | type: Object, | ||
165 | default: {} | ||
166 | }, | ||
167 | Selection: { | ||
168 | type: Boolean, | ||
169 | default: false | ||
170 | }, | ||
171 | Pagination: { | ||
172 | type: Object, | ||
173 | default: {} | ||
174 | } | ||
175 | }, | ||
176 | |||
177 | |||
178 | /** | ||
179 | * 监控参数 | ||
180 | * @type {Object} | ||
181 | */ | ||
182 | watch: { | ||
183 | List(v) { | ||
184 | if (v) { | ||
185 | this.list = v; | ||
186 | } | ||
187 | }, | ||
188 | FieldList(v) { | ||
189 | if (v) { | ||
190 | this.fields = v; | ||
191 | } | ||
192 | }, | ||
193 | Selection(v) { | ||
194 | this.selection = v; | ||
195 | }, | ||
196 | BtnInfo(v) { | ||
197 | this.btn_info = v; | ||
198 | }, | ||
199 | Pagination(v) { | ||
200 | this.pagination = v; | ||
201 | } | ||
202 | } | ||
203 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/components/Common/ListData/ListData.vue
0 → 100644
1 | <template> | ||
2 | <div class="list"> | ||
3 | <el-col :span="24" class='actions-top'> | ||
4 | <el-button type='danger' icon='delete' | ||
5 | :disabled='batch_flag' | ||
6 | @click='onDelete(true)'>删除选中</el-button> | ||
7 | </el-col> | ||
8 | |||
9 | <el-table border style="width: 100%" align='center' | ||
10 | :data="list" | ||
11 | @selection-change='onSelectionChange'> | ||
12 | <el-table-column v-if='selection' | ||
13 | type="selection" | ||
14 | width="55"> | ||
15 | </el-table-column> | ||
16 | |||
17 | |||
18 | <el-table-column v-for='field in fields' | ||
19 | :prop="field.key" | ||
20 | :label="field.label" | ||
21 | :align="field.align || 'center'" | ||
22 | :sortable="field.sort || false" | ||
23 | :formatter='field.formatter' | ||
24 | :filters='field.filter_list' | ||
25 | :filter-method="field.filter_method" | ||
26 | :filter-multiple="field.filter_multiple"> | ||
27 | </el-table-column> | ||
28 | |||
29 | |||
30 | |||
31 | <el-table-column | ||
32 | v-if='btn_info.show!==false' | ||
33 | :label="btn_info.label || '操作'" | ||
34 | :width="btn_info.width || 160" | ||
35 | :context="_self"> | ||
36 | <template scope='scope'> | ||
37 | <el-button | ||
38 | v-if='btn_info.select!==false' | ||
39 | type="info" | ||
40 | icon='view' | ||
41 | size="mini" | ||
42 | @click='onGetInfo(scope.row,scope.$index,list,"select")'></el-button> | ||
43 | <el-button | ||
44 | v-if='btn_info.update!==false' | ||
45 | type="info" | ||
46 | icon='edit' | ||
47 | size="mini" | ||
48 | @click='onUpdateBtn(scope.row,scope.$index,list)'></el-button> | ||
49 | <el-button | ||
50 | v-if='btn_info.delete!==false' | ||
51 | type="danger" | ||
52 | icon='delete' | ||
53 | size="mini" | ||
54 | @click='onDelete(scope.row,scope.$index)'></el-button> | ||
55 | |||
56 | |||
57 | <el-button | ||
58 | v-if='btn_info.list' | ||
59 | v-for='btn in btn_info.list' | ||
60 | :type="btn.type || 'info'" | ||
61 | size="mini" | ||
62 | @click='onGetInfo(scope.row,scope.$index,list,btn.fn_type || btn.text)'>{{btn.text}}</el-button> | ||
63 | </template> | ||
64 | </el-table-column> | ||
65 | </el-table> | ||
66 | <el-col :span="24" class='btm-action'> | ||
67 | <!-- | ||
68 | |||
69 | --> | ||
70 | <el-pagination | ||
71 | v-if='pagination.total>0' | ||
72 | class='pagination' | ||
73 | :page-sizes="pagination.page_sizes" | ||
74 | :page-size="pagination.page_size" | ||
75 | :layout="pagination.layout" | ||
76 | :total="pagination.total" | ||
77 | :current-page='pagination.current_page' | ||
78 | @current-change='onChangeCurrentPage' | ||
79 | @size-change='onChangePageSize'> | ||
80 | </el-pagination> | ||
81 | </el-col> | ||
82 | </div> | ||
83 | </template> | ||
84 | |||
85 | <script> | ||
86 | import ListDataJs from './ListData.js'; | ||
87 | module.exports=ListDataJs; | ||
88 | </script> | ||
89 | <style scoped lang='less'> | ||
90 | .demo-form-inline{ | ||
91 | display: inline-block; | ||
92 | float: right; | ||
93 | } | ||
94 | .btm-action{ | ||
95 | margin-top: 20px; | ||
96 | text-align: center; | ||
97 | } | ||
98 | .actions-top{ | ||
99 | height: 46px; | ||
100 | } | ||
101 | .pagination{ | ||
102 | display: inline-block; | ||
103 | } | ||
104 | </style> |
src/components/Common/ListData/index.js
0 → 100644
src/components/Common/index.js
0 → 100644
1 | module.exports = { | ||
2 | Bread: require('./Bread/Bread.vue'), | ||
3 | HeadNav: require('./HeadNav/HeadNav.vue'), | ||
4 | LeftMenu: require('./LeftMenu/LeftMenu.vue'), | ||
5 | Echarts: require('./Echarts/'), | ||
6 | ListData: require('./ListData/'), | ||
7 | FormData: require('./FormData/'), | ||
8 | DialogInfo: require('./DialogInfo/'), | ||
9 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/components/Layout/Bread.vue
0 → 100644
1 | <template> | ||
2 | <div class="layout-assistant"> | ||
3 | <div class="layout-assistant-content"> | ||
4 | <div class='bread'> | ||
5 | |||
6 | <Breadcrumb separator="/" class='el-bread'> | ||
7 | <!--<Breadcrumb-item href="{ path: '/' }">首页</Breadcrumb-item>--> | ||
8 | <Breadcrumb-item v-for='(item,index) in $route.matched' v-if="item.name">{{item.name}}</Breadcrumb-item> | ||
9 | </Breadcrumb> | ||
10 | </div> | ||
11 | <Input class="ass-input" placeholder="API搜索"> | ||
12 | <Button slot="append" icon="ios-search"></Button> | ||
13 | </Input> | ||
14 | </div> | ||
15 | |||
16 | </div> | ||
17 | </template> | ||
18 | |||
19 | <script> | ||
20 | export default { | ||
21 | name: 'bread', | ||
22 | data() { | ||
23 | return { | ||
24 | strong: '' | ||
25 | } | ||
26 | }, | ||
27 | methods: { | ||
28 | showStr(pa) { | ||
29 | console.log(pa); | ||
30 | }, | ||
31 | // getPageText(name) { | ||
32 | // return name = name.replace('编辑', this.$route.query.id ? '修改' : '添加'); | ||
33 | // } | ||
34 | }, | ||
35 | mounted() { | ||
36 | |||
37 | }, | ||
38 | created() { | ||
39 | // if (this.$route.matched.length) { | ||
40 | // var name = this.$route.matched[this.$route.matched.length - 1].name; | ||
41 | // this.strong = this.getPageText(name); | ||
42 | // } | ||
43 | }, | ||
44 | watch: { | ||
45 | // $route(to, from) { | ||
46 | // this.strong = this.getPageText(to.name); | ||
47 | // } | ||
48 | } | ||
49 | } | ||
50 | </script> | ||
51 | |||
52 | <style scoped lang='less'> | ||
53 | .bread { | ||
54 | height: 30px; | ||
55 | line-height: 30px; | ||
56 | padding-left: 15px; // background: #f5f7f9; | ||
57 | float: left; | ||
58 | width: 500px; | ||
59 | .el-bread { | ||
60 | display: inline-block; // float: right; | ||
61 | text-align: right; | ||
62 | line-height: 30px; | ||
63 | color: #fff; | ||
64 | font-size: 12px; | ||
65 | } | ||
66 | } | ||
67 | .layout-assistant { | ||
68 | width: 100%; | ||
69 | margin: 0 auto; | ||
70 | height: 50px; | ||
71 | line-height: 50px; | ||
72 | background: #B0C4DE; | ||
73 | /*background: #657180;*/ | ||
74 | |||
75 | } | ||
76 | .layout-assistant .layout-assistant-content { | ||
77 | width: 95%; | ||
78 | margin: 0 auto; | ||
79 | padding-top: 10px; | ||
80 | } | ||
81 | |||
82 | .ass-input{ | ||
83 | width: 300px; | ||
84 | float: right; | ||
85 | |||
86 | } | ||
87 | |||
88 | //设置导航最后一个菜单的样式 | ||
89 | .ivu-breadcrumb span:last-child { | ||
90 | // font-weight: 100; | ||
91 | // color: #fff | ||
92 | } | ||
93 | </style> |
src/components/Layout/HeadNav.vue
0 → 100644
1 | <style> | ||
2 | .layout-logo { | ||
3 | width: 100px; | ||
4 | height: 30px; | ||
5 | background: #5b6270; | ||
6 | border-radius: 3px; | ||
7 | float: left; | ||
8 | position: relative; | ||
9 | top: 15px; | ||
10 | left: 20px; | ||
11 | |||
12 | } | ||
13 | |||
14 | .layout-nav { | ||
15 | /*width: 620px;*/ | ||
16 | float: left; | ||
17 | margin-left: 100px; | ||
18 | /*margin: 0 auto;*/ | ||
19 | |||
20 | } | ||
21 | |||
22 | .layout-assistant { | ||
23 | width: 300px; | ||
24 | margin: 0 auto; | ||
25 | height: inherit; | ||
26 | } | ||
27 | |||
28 | .layout-ceiling-main { | ||
29 | float: right; | ||
30 | margin-right: 15px; | ||
31 | } | ||
32 | |||
33 | .layout-ceiling-main a { | ||
34 | color: #9ba7b5; | ||
35 | margin: 0 10px; | ||
36 | } | ||
37 | |||
38 | .layout-ceiling-main .down { | ||
39 | line-height: 10px; | ||
40 | } | ||
41 | </style> | ||
42 | <template> | ||
43 | <Menu mode="horizontal" | ||
44 | theme="dark" | ||
45 | @on-select="itemSelect" | ||
46 | active-name="1"> | ||
47 | <div class="layout-logo"></div> | ||
48 | <div class="layout-nav"> | ||
49 | <Menu-item name="/" > | ||
50 | <Icon type="home"></Icon> | ||
51 | 首页 | ||
52 | </Menu-item> | ||
53 | <Menu-item name="/interface" > | ||
54 | <Icon type="document"></Icon> | ||
55 | 接口文档 | ||
56 | </Menu-item> | ||
57 | <Menu-item name="/doc" > | ||
58 | <Icon type="information-circled"></Icon> | ||
59 | 帮助文档 | ||
60 | </Menu-item> | ||
61 | <Menu-item name="/support" > | ||
62 | <Icon type="ios-navigate"></Icon> | ||
63 | 服务支持 | ||
64 | </Menu-item> | ||
65 | </div> | ||
66 | <div class="layout-ceiling-main"> | ||
67 | <Dropdown class="down" @on-click="clickDown"> | ||
68 | <a href="javascript:void(0)"> | ||
69 | admin | ||
70 | <Icon type="arrow-down-b"></Icon> | ||
71 | </a> | ||
72 | <Dropdown-menu slot="list"> | ||
73 | <Dropdown-item name="1">修改密码</Dropdown-item> | ||
74 | <Dropdown-item name="2">帐号信息</Dropdown-item> | ||
75 | <Dropdown-item name="3">我的主页</Dropdown-item> | ||
76 | <Dropdown-item name="4" divided>退出登录</Dropdown-item> | ||
77 | </Dropdown-menu> | ||
78 | </Dropdown>| | ||
79 | <router-link to="/login">注册登录</router-link> | | ||
80 | <router-link to="/account">帐号中心</router-link> | ||
81 | |||
82 | </div> | ||
83 | </Menu> | ||
84 | </template> | ||
85 | <script> | ||
86 | module.exports = { | ||
87 | name: 'head-nav', | ||
88 | methods: { | ||
89 | itemSelect(name) { | ||
90 | this.$router.push(name) | ||
91 | }, | ||
92 | clickDown(name){ | ||
93 | this.$Modal.info({ | ||
94 | title:"提示", | ||
95 | content: "你点击了:"+name, | ||
96 | onOk: () => { | ||
97 | this.$Message.info('点击了确定'); | ||
98 | }, | ||
99 | }) | ||
100 | } | ||
101 | } | ||
102 | }; | ||
103 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/components/Layout/LeftMenu.vue
0 → 100644
1 | <template> | ||
2 | <div> | ||
3 | |||
4 | <Menu | ||
5 | width="auto" | ||
6 | active-name="1" | ||
7 | @on-select="itemSelect" | ||
8 | > | ||
9 | <Submenu name="/1"> | ||
10 | <template slot="title"> | ||
11 | <Icon type="ios-paper"></Icon> | ||
12 | 医链云API | ||
13 | </template> | ||
14 | <Menu-group title="用户模块"> | ||
15 | <Menu-item name="/111"> | ||
16 | 获取用户信息API | ||
17 | </Menu-item> | ||
18 | <Menu-item name="2"> | ||
19 | 获取用户名API | ||
20 | </Menu-item> | ||
21 | </Menu-group> | ||
22 | <Menu-group title="订单模块"> | ||
23 | <Menu-item name="3"> | ||
24 | 获取订单信息API | ||
25 | </Menu-item> | ||
26 | <Menu-item name="4"> | ||
27 | 获取订单状态API | ||
28 | </Menu-item> | ||
29 | </Menu-group> | ||
30 | </Submenu> | ||
31 | |||
32 | <Submenu name="/2"> | ||
33 | <template slot="title"> | ||
34 | <Icon type="ios-paper"></Icon> | ||
35 | 四方云API | ||
36 | </template> | ||
37 | <Menu-group title="用户模块"> | ||
38 | <Menu-item name="1"> | ||
39 | 获取用户信息API | ||
40 | </Menu-item> | ||
41 | <Menu-item name="2"> | ||
42 | 获取用户名API | ||
43 | </Menu-item> | ||
44 | </Menu-group> | ||
45 | <Menu-group title="订单模块"> | ||
46 | <Menu-item name="3"> | ||
47 | 获取订单信息API | ||
48 | </Menu-item> | ||
49 | <Menu-item name="4"> | ||
50 | 获取订单状态API | ||
51 | </Menu-item> | ||
52 | </Menu-group> | ||
53 | </Submenu> | ||
54 | </Menu> | ||
55 | <!--<Menu active-name="1" | ||
56 | width="auto" | ||
57 | :open-names="['1']" | ||
58 | @on-select="itemSelect" | ||
59 | v-for="(route,index) in $router.options.routes" | ||
60 | v-if='!route.hidden && $route.matched.length && $route.matched[0].path===route.path'> | ||
61 | <template v-for="(item,index) in route.children"> | ||
62 | |||
63 | <template v-if="item.children"> | ||
64 | <Submenu :name="route.path+'/'+item.path"> | ||
65 | <template slot="title"> | ||
66 | <Icon type="ios-navigate"></Icon> | ||
67 | {{item.name}} | ||
68 | </template> | ||
69 | <Menu-item v-for='(child,cindex) in item.children' | ||
70 | :name="route.path+'/'+item.path+'/'+child.path"> | ||
71 | {{child.name}} | ||
72 | </Menu-item> | ||
73 | </Submenu> | ||
74 | </template> | ||
75 | <template v-else> | ||
76 | <Menu-item :name="route.path+'/'+item.path"> | ||
77 | <Icon type="ios-navigate"></Icon> | ||
78 | {{item.name}} | ||
79 | </Menu-item> | ||
80 | </template> | ||
81 | |||
82 | </template> | ||
83 | |||
84 | </Menu>--> | ||
85 | |||
86 | </div> | ||
87 | </template> | ||
88 | |||
89 | <script> | ||
90 | module.exports = { | ||
91 | name: 'left-menu', | ||
92 | data() { | ||
93 | return { | ||
94 | strong: '' | ||
95 | } | ||
96 | }, | ||
97 | methods: { | ||
98 | itemSelect(name) { | ||
99 | this.$router.push($route.path+name) | ||
100 | } | ||
101 | } | ||
102 | }; | ||
103 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/components/Layout/index.js
0 → 100644
src/components/Login/Login.js
0 → 100644
1 | // import { | ||
2 | // user as UserApi | ||
3 | // } from '../../config/request.js'; | ||
4 | |||
5 | module.exports = { | ||
6 | name: 'login', | ||
7 | data() { | ||
8 | return { | ||
9 | winSize: { | ||
10 | width: '', | ||
11 | height: '' | ||
12 | }, | ||
13 | |||
14 | formOffset: { | ||
15 | position: 'absolute', | ||
16 | left: '', | ||
17 | top: '' | ||
18 | }, | ||
19 | |||
20 | remumber: this.$store.state.user.remumber, | ||
21 | |||
22 | login_actions: { | ||
23 | disabled: false | ||
24 | }, | ||
25 | |||
26 | data: { | ||
27 | username: '', | ||
28 | password: '', | ||
29 | // token: '' | ||
30 | }, | ||
31 | |||
32 | rule_data: { | ||
33 | username: [{ | ||
34 | required: true, | ||
35 | message: '用户名不能为空!', | ||
36 | trigger: 'blur' | ||
37 | }], | ||
38 | password: [{ | ||
39 | required: true, | ||
40 | message: '密码不能为空!', | ||
41 | trigger: 'blur' | ||
42 | }], | ||
43 | } | ||
44 | } | ||
45 | }, | ||
46 | methods: { | ||
47 | setSize() { | ||
48 | this.winSize.width = $(window).width() + "px"; | ||
49 | this.winSize.height = $(window).height() + "px"; | ||
50 | |||
51 | this.formOffset.left = (parseInt(this.winSize.width) / 2 - 175) + 'px'; | ||
52 | this.formOffset.top = (parseInt(this.winSize.height) / 2 - 178) + 'px'; | ||
53 | }, | ||
54 | |||
55 | // login(ref) { | ||
56 | // this.$refs[ref].validate((valid) => { | ||
57 | // if (valid) { | ||
58 | // this.login_actions.disabled = true; | ||
59 | // //如果记住密码,提交的信息包括真实token,密码则是假的 | ||
60 | // //服务端登录验证优先级:用户名必须,其次先取token,不存在时再取密码 | ||
61 | // UserApi.login.call(this, this[ref], data => { | ||
62 | // //登录成功之后,验证是否记住密码,如果记住密码,本地保存记住信息 | ||
63 | // //如果没有记住,就初始化本地记住信息 | ||
64 | // if (this.remumber.remumber_flag === true) { | ||
65 | // this.$store.dispatch('update_remumber', { | ||
66 | // remumber_flag: this.remumber.remumber_flag, | ||
67 | // remumber_login_info: { | ||
68 | // username: this[ref].username, | ||
69 | // token: data.userinfo.token | ||
70 | // } | ||
71 | // }); | ||
72 | // } else { | ||
73 | // this.$store.dispatch('remove_remumber'); | ||
74 | // } | ||
75 | |||
76 | // // this.$set(data.userinfo, 'access', ['/adv', '/demo/user', '/demo/user/list']); | ||
77 | // this.$store.dispatch('update_userinfo', { | ||
78 | // userinfo: data.userinfo | ||
79 | // }).then(() => { | ||
80 | // this.login_actions.disabled = false; | ||
81 | // this.$router.push('/demo/user/list'); | ||
82 | // }); | ||
83 | // }, () => { | ||
84 | // this.login_actions.disabled = false; | ||
85 | // }, () => { | ||
86 | // this.login_actions.disabled = false; | ||
87 | // }); | ||
88 | // } | ||
89 | // }); | ||
90 | // }, | ||
91 | |||
92 | resetForm(ref) { | ||
93 | this.$refs[ref].resetFields(); | ||
94 | } | ||
95 | }, | ||
96 | created() { | ||
97 | this.setSize(); | ||
98 | $(window).resize(() => { | ||
99 | this.setSize(); | ||
100 | }); | ||
101 | }, | ||
102 | mounted() { | ||
103 | // console.log(this.remumber); | ||
104 | |||
105 | //如果上次登录选择的是记住密码并登录成功,则会保存状态,用户名以及token | ||
106 | // if (this.remumber.remumber_flag === true) { | ||
107 | // this.data.username = this.remumber.remumber_login_info.username; | ||
108 | // this.data.password = this.remumber.remumber_login_info.token.substring(0, 16); | ||
109 | // this.$set(this.data, 'token', this.remumber.remumber_login_info.token); | ||
110 | // } | ||
111 | } | ||
112 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/components/Login/Login.vue
0 → 100644
1 | <template> | ||
2 | <div class="login" :style="winSize"> | ||
3 | <Row> | ||
4 | <Col span="24"> | ||
5 | <div class="content"> | ||
6 | <Form ref='data' :model="data" class="card-box loginform" :rules="rule_data" :style="formOffset"> | ||
7 | <h3 class="title">系统登录</h3> | ||
8 | |||
9 | <Form-item prop="username"> | ||
10 | <Input type="text" placeholder="用户名"> | ||
11 | <Icon type="ios-person-outline" slot="prepend"></Icon> | ||
12 | </Input> | ||
13 | </Form-item> | ||
14 | <Form-item prop="password"> | ||
15 | <Input type="password" placeholder="密码"> | ||
16 | <Icon type="ios-locked-outline" slot="prepend"></Icon> | ||
17 | </Input> | ||
18 | </Form-item> | ||
19 | <Form-item label-width='0'> | ||
20 | <Button type="primary" long>登录</Button> | ||
21 | |||
22 | </Form-item> | ||
23 | <hr> | ||
24 | <div class="bottom"> | ||
25 | <span>忘记密码</span> | ||
26 | <span><router-link to="/register">免费注册</router-link></span> | ||
27 | </div> | ||
28 | </Form> | ||
29 | |||
30 | </div> | ||
31 | </Col> | ||
32 | </Row> | ||
33 | </div> | ||
34 | </template> | ||
35 | |||
36 | <script> | ||
37 | import LoginJs from './Login.js'; | ||
38 | module.exports = LoginJs; | ||
39 | </script> | ||
40 | |||
41 | <style scoped lang='less'> | ||
42 | .login { | ||
43 | background: #1F2D3D; | ||
44 | .ivu-form-item { | ||
45 | margin-bottom: 20px; | ||
46 | } | ||
47 | .bottom { | ||
48 | float: right; | ||
49 | margin-top: 10px; // color: red; | ||
50 | } | ||
51 | .bottom span { | ||
52 | margin-left: 20px; | ||
53 | } | ||
54 | .title { | ||
55 | // padding-left: 30px; | ||
56 | font-size: 20px; | ||
57 | } | ||
58 | .card-box { | ||
59 | box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.06), 0 1px 0px 0 rgba(0, 0, 0, 0.02); | ||
60 | -webkit-border-radius: 5px; | ||
61 | border-radius: 5px; | ||
62 | -moz-border-radius: 5px; | ||
63 | background-clip: padding-box; | ||
64 | margin-bottom: 100px; | ||
65 | background-color: #F9FAFC; | ||
66 | border: 2px solid #8492A6; | ||
67 | } | ||
68 | |||
69 | .title { | ||
70 | margin: 0px auto 20px auto; | ||
71 | text-align: center; | ||
72 | color: #505458; | ||
73 | } | ||
74 | |||
75 | .loginform { | ||
76 | width: 350px; | ||
77 | padding: 25px 35px 15px 35px; | ||
78 | } | ||
79 | } | ||
80 | </style> |
src/components/Login/Register.js
0 → 100644
1 | // import { | ||
2 | // user as UserApi | ||
3 | // } from '../../config/request.js'; | ||
4 | |||
5 | module.exports = { | ||
6 | name: 'login', | ||
7 | data() { | ||
8 | return { | ||
9 | winSize: { | ||
10 | width: '', | ||
11 | height: '' | ||
12 | }, | ||
13 | |||
14 | formOffset: { | ||
15 | position: 'absolute', | ||
16 | left: '', | ||
17 | top: '' | ||
18 | }, | ||
19 | |||
20 | remumber: this.$store.state.user.remumber, | ||
21 | |||
22 | login_actions: { | ||
23 | disabled: false | ||
24 | }, | ||
25 | |||
26 | data: { | ||
27 | username: '', | ||
28 | password: '', | ||
29 | // token: '' | ||
30 | }, | ||
31 | |||
32 | rule_data: { | ||
33 | username: [{ | ||
34 | required: true, | ||
35 | message: '用户名不能为空!', | ||
36 | trigger: 'blur' | ||
37 | }], | ||
38 | password: [{ | ||
39 | required: true, | ||
40 | message: '密码不能为空!', | ||
41 | trigger: 'blur' | ||
42 | }], | ||
43 | } | ||
44 | } | ||
45 | }, | ||
46 | methods: { | ||
47 | setSize() { | ||
48 | this.winSize.width = $(window).width() + "px"; | ||
49 | this.winSize.height = $(window).height() + "px"; | ||
50 | |||
51 | this.formOffset.left = (parseInt(this.winSize.width) / 2 - 175) + 'px'; | ||
52 | this.formOffset.top = (parseInt(this.winSize.height) / 2 - 220) + 'px'; | ||
53 | }, | ||
54 | |||
55 | // login(ref) { | ||
56 | // this.$refs[ref].validate((valid) => { | ||
57 | // if (valid) { | ||
58 | // this.login_actions.disabled = true; | ||
59 | // //如果记住密码,提交的信息包括真实token,密码则是假的 | ||
60 | // //服务端登录验证优先级:用户名必须,其次先取token,不存在时再取密码 | ||
61 | // UserApi.login.call(this, this[ref], data => { | ||
62 | // //登录成功之后,验证是否记住密码,如果记住密码,本地保存记住信息 | ||
63 | // //如果没有记住,就初始化本地记住信息 | ||
64 | // if (this.remumber.remumber_flag === true) { | ||
65 | // this.$store.dispatch('update_remumber', { | ||
66 | // remumber_flag: this.remumber.remumber_flag, | ||
67 | // remumber_login_info: { | ||
68 | // username: this[ref].username, | ||
69 | // token: data.userinfo.token | ||
70 | // } | ||
71 | // }); | ||
72 | // } else { | ||
73 | // this.$store.dispatch('remove_remumber'); | ||
74 | // } | ||
75 | |||
76 | // // this.$set(data.userinfo, 'access', ['/adv', '/demo/user', '/demo/user/list']); | ||
77 | // this.$store.dispatch('update_userinfo', { | ||
78 | // userinfo: data.userinfo | ||
79 | // }).then(() => { | ||
80 | // this.login_actions.disabled = false; | ||
81 | // this.$router.push('/demo/user/list'); | ||
82 | // }); | ||
83 | // }, () => { | ||
84 | // this.login_actions.disabled = false; | ||
85 | // }, () => { | ||
86 | // this.login_actions.disabled = false; | ||
87 | // }); | ||
88 | // } | ||
89 | // }); | ||
90 | // }, | ||
91 | |||
92 | resetForm(ref) { | ||
93 | this.$refs[ref].resetFields(); | ||
94 | } | ||
95 | }, | ||
96 | created() { | ||
97 | this.setSize(); | ||
98 | $(window).resize(() => { | ||
99 | this.setSize(); | ||
100 | }); | ||
101 | }, | ||
102 | mounted() { | ||
103 | // console.log(this.remumber); | ||
104 | |||
105 | //如果上次登录选择的是记住密码并登录成功,则会保存状态,用户名以及token | ||
106 | // if (this.remumber.remumber_flag === true) { | ||
107 | // this.data.username = this.remumber.remumber_login_info.username; | ||
108 | // this.data.password = this.remumber.remumber_login_info.token.substring(0, 16); | ||
109 | // this.$set(this.data, 'token', this.remumber.remumber_login_info.token); | ||
110 | // } | ||
111 | } | ||
112 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/components/Login/Register.vue
0 → 100644
1 | <template> | ||
2 | <div class="login" :style="winSize"> | ||
3 | <Row> | ||
4 | <Col span="24"> | ||
5 | <div class="content"> | ||
6 | <Form ref='data' :model="data" class="card-box loginform" :rules="rule_data" :style="formOffset"> | ||
7 | <h3 class="title">用户注册</h3> | ||
8 | |||
9 | <Form-item prop="username"> | ||
10 | <Input type="text" placeholder="手机号"> | ||
11 | <Icon type="ios-person-outline" slot="prepend"></Icon> | ||
12 | </Input> | ||
13 | </Form-item> | ||
14 | <Form-item prop="password"> | ||
15 | <Input type="password" placeholder="密码"> | ||
16 | <Icon type="ios-locked-outline" slot="prepend"></Icon> | ||
17 | </Input> | ||
18 | </Form-item> | ||
19 | <Form-item prop="password"> | ||
20 | <Input type="password" placeholder="密码确认"> | ||
21 | <Icon type="ios-locked-outline" slot="prepend"></Icon> | ||
22 | </Input> | ||
23 | </Form-item> | ||
24 | <Form-item prop="password"> | ||
25 | <Input type="password" placeholder="安全邮箱"> | ||
26 | <Icon type="ios-email-outline" slot="prepend"></Icon> | ||
27 | </Input> | ||
28 | </Form-item> | ||
29 | <Form-item label-width='0'> | ||
30 | <Button type="success" long>注册</Button> | ||
31 | |||
32 | </Form-item> | ||
33 | <hr> | ||
34 | <div class="bottom"> | ||
35 | <span><router-link to="/login">立即登录</router-link></span> | ||
36 | </div> | ||
37 | </Form> | ||
38 | |||
39 | </div> | ||
40 | </Col> | ||
41 | </Row> | ||
42 | </div> | ||
43 | </template> | ||
44 | |||
45 | <script> | ||
46 | import RegisterJS from './Register.js'; | ||
47 | module.exports = RegisterJS; | ||
48 | </script> | ||
49 | |||
50 | <style scoped lang='less'> | ||
51 | .login { | ||
52 | background: #1F2D3D; | ||
53 | .ivu-form-item { | ||
54 | margin-bottom: 20px; | ||
55 | } | ||
56 | .bottom { | ||
57 | float: right; | ||
58 | margin-top: 10px; // color: red; | ||
59 | } | ||
60 | .bottom span { | ||
61 | margin-left: 20px; | ||
62 | } | ||
63 | .title { | ||
64 | // padding-left: 30px; | ||
65 | font-size: 20px; | ||
66 | } | ||
67 | .card-box { | ||
68 | box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.06), 0 1px 0px 0 rgba(0, 0, 0, 0.02); | ||
69 | -webkit-border-radius: 5px; | ||
70 | border-radius: 5px; | ||
71 | -moz-border-radius: 5px; | ||
72 | background-clip: padding-box; | ||
73 | margin-bottom: 100px; | ||
74 | background-color: #F9FAFC; | ||
75 | border: 2px solid #8492A6; | ||
76 | } | ||
77 | |||
78 | .title { | ||
79 | margin: 0px auto 20px auto; | ||
80 | text-align: center; | ||
81 | color: #505458; | ||
82 | } | ||
83 | |||
84 | .loginform { | ||
85 | width: 350px; | ||
86 | padding: 25px 35px 15px 35px; | ||
87 | } | ||
88 | } | ||
89 | </style> |
src/components/Login/index.js
0 → 100644
1 | <template> | ||
2 | <Table border :columns="columns1" :data="data1"></Table> | ||
3 | </template> | ||
4 | <script> | ||
5 | export default { | ||
6 | data () { | ||
7 | return { | ||
8 | columns1: [ | ||
9 | { | ||
10 | title: '帐号中心', | ||
11 | key: 'name', | ||
12 | width:300 | ||
13 | |||
14 | }, | ||
15 | { | ||
16 | title: '所属模块', | ||
17 | key: 'model', | ||
18 | width:200 | ||
19 | |||
20 | }, | ||
21 | { | ||
22 | title: '类型', | ||
23 | key: 'age', | ||
24 | width:100, | ||
25 | render (row, column, index) { | ||
26 | const color = index % 2 ==0 ? 'blue' : 'red'; | ||
27 | const text = index % 2 ==0 ? '免费' : '收费'; | ||
28 | return `<tag type="border" color="${color}">${text}</tag>`; | ||
29 | } | ||
30 | }, | ||
31 | { | ||
32 | title: '描述', | ||
33 | key: 'address' | ||
34 | } | ||
35 | ], | ||
36 | data1: [ | ||
37 | { | ||
38 | name: '王小明', | ||
39 | age: 18, | ||
40 | model:'用户管理', | ||
41 | address: '北京市朝阳区芍药居' | ||
42 | }, | ||
43 | { | ||
44 | name: '张小刚', | ||
45 | age: 25, | ||
46 | model:'用户管理', | ||
47 | address: '北京市海淀区西二旗' | ||
48 | }, | ||
49 | { | ||
50 | name: '李小红', | ||
51 | age: 30, | ||
52 | model:'用户管理', | ||
53 | address: '上海市浦东新区世纪大道' | ||
54 | }, | ||
55 | { | ||
56 | name: '周小伟', | ||
57 | age: 26, | ||
58 | model:'订单管理', | ||
59 | address: '深圳市南山区深南大道' | ||
60 | }, | ||
61 | { | ||
62 | name: '王小明', | ||
63 | age: 18, | ||
64 | model:'用户管理', | ||
65 | address: '北京市朝阳区芍药居' | ||
66 | }, | ||
67 | { | ||
68 | name: '张小刚', | ||
69 | age: 25, | ||
70 | model:'用户管理', | ||
71 | address: '北京市海淀区西二旗' | ||
72 | }, | ||
73 | { | ||
74 | name: '李小红', | ||
75 | age: 30, | ||
76 | model:'用户管理', | ||
77 | address: '上海市浦东新区世纪大道' | ||
78 | },{ | ||
79 | name: '王小明', | ||
80 | age: 18, | ||
81 | model:'用户管理', | ||
82 | address: '北京市朝阳区芍药居' | ||
83 | }, | ||
84 | { | ||
85 | name: '张小刚', | ||
86 | age: 25, | ||
87 | model:'用户管理', | ||
88 | address: '北京市海淀区西二旗' | ||
89 | }, | ||
90 | { | ||
91 | name: '李小红', | ||
92 | age: 30, | ||
93 | model:'用户管理', | ||
94 | address: '上海市浦东新区世纪大道' | ||
95 | },{ | ||
96 | name: '王小明', | ||
97 | age: 18, | ||
98 | model:'用户管理', | ||
99 | address: '北京市朝阳区芍药居' | ||
100 | }, | ||
101 | { | ||
102 | name: '张小刚', | ||
103 | age: 25, | ||
104 | model:'用户管理', | ||
105 | address: '北京市海淀区西二旗' | ||
106 | }, | ||
107 | { | ||
108 | name: '李小红', | ||
109 | age: 30, | ||
110 | model:'用户管理', | ||
111 | address: '上海市浦东新区世纪大道' | ||
112 | },{ | ||
113 | name: '王小明', | ||
114 | age: 18, | ||
115 | model:'用户管理', | ||
116 | address: '北京市朝阳区芍药居' | ||
117 | }, | ||
118 | { | ||
119 | name: '张小刚', | ||
120 | age: 25, | ||
121 | model:'用户管理', | ||
122 | address: '北京市海淀区西二旗' | ||
123 | }, | ||
124 | { | ||
125 | name: '李小红', | ||
126 | age: 30, | ||
127 | model:'用户管理', | ||
128 | address: '上海市浦东新区世纪大道' | ||
129 | },{ | ||
130 | name: '王小明', | ||
131 | age: 18, | ||
132 | model:'用户管理', | ||
133 | address: '北京市朝阳区芍药居' | ||
134 | }, | ||
135 | { | ||
136 | name: '张小刚', | ||
137 | age: 25, | ||
138 | model:'用户管理', | ||
139 | address: '北京市海淀区西二旗' | ||
140 | }, | ||
141 | { | ||
142 | name: '李小红', | ||
143 | age: 30, | ||
144 | model:'用户管理', | ||
145 | address: '上海市浦东新区世纪大道' | ||
146 | },{ | ||
147 | name: '王小明', | ||
148 | age: 18, | ||
149 | model:'用户管理', | ||
150 | address: '北京市朝阳区芍药居' | ||
151 | }, | ||
152 | { | ||
153 | name: '张小刚', | ||
154 | age: 25, | ||
155 | model:'用户管理', | ||
156 | address: '北京市海淀区西二旗' | ||
157 | }, | ||
158 | { | ||
159 | name: '李小红', | ||
160 | age: 30, | ||
161 | model:'用户管理', | ||
162 | address: '上海市浦东新区世纪大道' | ||
163 | }, | ||
164 | ] | ||
165 | } | ||
166 | } | ||
167 | } | ||
168 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <style scoped> | ||
2 | |||
3 | </style> | ||
4 | <template> | ||
5 | <div class="layout"> | ||
6 | <bread></bread> | ||
7 | <div class="layout-content"> | ||
8 | |||
9 | <Row> | ||
10 | <i-col span="5"> | ||
11 | <Menu width="auto" @on-select="itemSelect"> | ||
12 | <Menu-item name="/account/1"> | ||
13 | 帐号信息 | ||
14 | </Menu-item> | ||
15 | <Menu-item name="/account/2"> | ||
16 | 调用统计 | ||
17 | </Menu-item> | ||
18 | <Menu-item name="/account/3"> | ||
19 | 帐号安全 | ||
20 | </Menu-item> | ||
21 | <Menu-item name="/account/4"> | ||
22 | 密钥管理 | ||
23 | </Menu-item> | ||
24 | </Menu> | ||
25 | </i-col> | ||
26 | <i-col span="19"> | ||
27 | <div class="layout-breadcrumb"> | ||
28 | |||
29 | </div> | ||
30 | <div class="layout-content-main"> | ||
31 | <router-view></router-view> | ||
32 | </div> | ||
33 | </i-col> | ||
34 | </Row> | ||
35 | </div> | ||
36 | <div class="layout-copy"> | ||
37 | 2011-2016 © | ||
38 | </div> | ||
39 | </div> | ||
40 | </template> | ||
41 | <script> | ||
42 | export default { | ||
43 | name: 'home', | ||
44 | data() { | ||
45 | return { | ||
46 | // leftWidth:'5' | ||
47 | } | ||
48 | }, | ||
49 | computed: { | ||
50 | |||
51 | }, | ||
52 | methods: { | ||
53 | itemSelect(name) { | ||
54 | this.$router.push(name); | ||
55 | } | ||
56 | }, | ||
57 | } | ||
58 | </script> |
src/components/Modules/Account/index.js
0 → 100644
src/components/Modules/ApiDoc/ApiDocView.vue
0 → 100644
1 | <style scoped> | ||
2 | |||
3 | </style> | ||
4 | <template> | ||
5 | <div class="layout"> | ||
6 | <bread></bread> | ||
7 | <div class="layout-content"> | ||
8 | |||
9 | <Row> | ||
10 | <i-col span="5"> | ||
11 | <Menu width="auto" @on-select="itemSelect"> | ||
12 | <Menu-item name="/interface"> | ||
13 | 目录 | ||
14 | </Menu-item> | ||
15 | <Submenu name="/interface/1"> | ||
16 | <template slot="title"> | ||
17 | <Icon type="ios-paper"></Icon> | ||
18 | 医链云 | ||
19 | </template> | ||
20 | <Menu-item name="/interface/detail/111"> | ||
21 | 获取用户信息API | ||
22 | </Menu-item> | ||
23 | <Menu-item name="/interface/pro/222"> | ||
24 | 获取用户名API | ||
25 | </Menu-item> | ||
26 | <Menu-item name="/interface/debug/222"> | ||
27 | 获取订单信息API | ||
28 | </Menu-item> | ||
29 | <Menu-item name="4"> | ||
30 | 获取订单状态API | ||
31 | </Menu-item> | ||
32 | </Submenu> | ||
33 | |||
34 | <Submenu name="/2"> | ||
35 | <template slot="title"> | ||
36 | <Icon type="ios-paper"></Icon> | ||
37 | 四方云 | ||
38 | </template> | ||
39 | <Menu-item name="1"> | ||
40 | 获取用户信息API | ||
41 | </Menu-item> | ||
42 | <Menu-item name="2"> | ||
43 | 获取用户名API | ||
44 | </Menu-item> | ||
45 | <Menu-item name="3"> | ||
46 | 获取订单信息API | ||
47 | </Menu-item> | ||
48 | <Menu-item name="5"> | ||
49 | 获取订单状态API | ||
50 | </Menu-item> | ||
51 | </Submenu> | ||
52 | </Menu> | ||
53 | </i-col> | ||
54 | <i-col span="19"> | ||
55 | <div class="layout-breadcrumb"> | ||
56 | |||
57 | </div> | ||
58 | <div class="layout-content-main"> | ||
59 | <router-view></router-view> | ||
60 | </div> | ||
61 | </i-col> | ||
62 | </Row> | ||
63 | </div> | ||
64 | <div class="layout-copy"> | ||
65 | 2011-2016 © | ||
66 | </div> | ||
67 | </div> | ||
68 | </template> | ||
69 | <script> | ||
70 | export default { | ||
71 | name: 'home', | ||
72 | data() { | ||
73 | return { | ||
74 | // leftWidth:'5' | ||
75 | } | ||
76 | }, | ||
77 | computed: { | ||
78 | |||
79 | }, | ||
80 | methods: { | ||
81 | itemSelect(name) { | ||
82 | this.$router.push(name); | ||
83 | } | ||
84 | }, | ||
85 | } | ||
86 | </script> |
src/components/Modules/ApiDoc/ApiList.vue
0 → 100644
1 | <template> | ||
2 | <Table border :columns="columns1" :data="data1"></Table> | ||
3 | </template> | ||
4 | <script> | ||
5 | export default { | ||
6 | data () { | ||
7 | return { | ||
8 | columns1: [ | ||
9 | { | ||
10 | title: 'API名称', | ||
11 | key: 'name', | ||
12 | width:300 | ||
13 | |||
14 | }, | ||
15 | { | ||
16 | title: '所属模块', | ||
17 | key: 'model', | ||
18 | width:200 | ||
19 | |||
20 | }, | ||
21 | { | ||
22 | title: '类型', | ||
23 | key: 'age', | ||
24 | width:100, | ||
25 | render (row, column, index) { | ||
26 | const color = index % 2 ==0 ? 'blue' : 'red'; | ||
27 | const text = index % 2 ==0 ? '免费' : '收费'; | ||
28 | return `<tag type="border" color="${color}">${text}</tag>`; | ||
29 | } | ||
30 | }, | ||
31 | { | ||
32 | title: '描述', | ||
33 | key: 'address' | ||
34 | } | ||
35 | ], | ||
36 | data1: [ | ||
37 | { | ||
38 | name: '王小明', | ||
39 | age: 18, | ||
40 | model:'用户管理', | ||
41 | address: '北京市朝阳区芍药居' | ||
42 | }, | ||
43 | { | ||
44 | name: '张小刚', | ||
45 | age: 25, | ||
46 | model:'用户管理', | ||
47 | address: '北京市海淀区西二旗' | ||
48 | }, | ||
49 | { | ||
50 | name: '李小红', | ||
51 | age: 30, | ||
52 | model:'用户管理', | ||
53 | address: '上海市浦东新区世纪大道' | ||
54 | }, | ||
55 | { | ||
56 | name: '周小伟', | ||
57 | age: 26, | ||
58 | model:'订单管理', | ||
59 | address: '深圳市南山区深南大道' | ||
60 | }, | ||
61 | { | ||
62 | name: '王小明', | ||
63 | age: 18, | ||
64 | model:'用户管理', | ||
65 | address: '北京市朝阳区芍药居' | ||
66 | }, | ||
67 | { | ||
68 | name: '张小刚', | ||
69 | age: 25, | ||
70 | model:'用户管理', | ||
71 | address: '北京市海淀区西二旗' | ||
72 | }, | ||
73 | { | ||
74 | name: '李小红', | ||
75 | age: 30, | ||
76 | model:'用户管理', | ||
77 | address: '上海市浦东新区世纪大道' | ||
78 | },{ | ||
79 | name: '王小明', | ||
80 | age: 18, | ||
81 | model:'用户管理', | ||
82 | address: '北京市朝阳区芍药居' | ||
83 | }, | ||
84 | { | ||
85 | name: '张小刚', | ||
86 | age: 25, | ||
87 | model:'用户管理', | ||
88 | address: '北京市海淀区西二旗' | ||
89 | }, | ||
90 | { | ||
91 | name: '李小红', | ||
92 | age: 30, | ||
93 | model:'用户管理', | ||
94 | address: '上海市浦东新区世纪大道' | ||
95 | },{ | ||
96 | name: '王小明', | ||
97 | age: 18, | ||
98 | model:'用户管理', | ||
99 | address: '北京市朝阳区芍药居' | ||
100 | }, | ||
101 | { | ||
102 | name: '张小刚', | ||
103 | age: 25, | ||
104 | model:'用户管理', | ||
105 | address: '北京市海淀区西二旗' | ||
106 | }, | ||
107 | { | ||
108 | name: '李小红', | ||
109 | age: 30, | ||
110 | model:'用户管理', | ||
111 | address: '上海市浦东新区世纪大道' | ||
112 | },{ | ||
113 | name: '王小明', | ||
114 | age: 18, | ||
115 | model:'用户管理', | ||
116 | address: '北京市朝阳区芍药居' | ||
117 | }, | ||
118 | { | ||
119 | name: '张小刚', | ||
120 | age: 25, | ||
121 | model:'用户管理', | ||
122 | address: '北京市海淀区西二旗' | ||
123 | }, | ||
124 | { | ||
125 | name: '李小红', | ||
126 | age: 30, | ||
127 | model:'用户管理', | ||
128 | address: '上海市浦东新区世纪大道' | ||
129 | },{ | ||
130 | name: '王小明', | ||
131 | age: 18, | ||
132 | model:'用户管理', | ||
133 | address: '北京市朝阳区芍药居' | ||
134 | }, | ||
135 | { | ||
136 | name: '张小刚', | ||
137 | age: 25, | ||
138 | model:'用户管理', | ||
139 | address: '北京市海淀区西二旗' | ||
140 | }, | ||
141 | { | ||
142 | name: '李小红', | ||
143 | age: 30, | ||
144 | model:'用户管理', | ||
145 | address: '上海市浦东新区世纪大道' | ||
146 | },{ | ||
147 | name: '王小明', | ||
148 | age: 18, | ||
149 | model:'用户管理', | ||
150 | address: '北京市朝阳区芍药居' | ||
151 | }, | ||
152 | { | ||
153 | name: '张小刚', | ||
154 | age: 25, | ||
155 | model:'用户管理', | ||
156 | address: '北京市海淀区西二旗' | ||
157 | }, | ||
158 | { | ||
159 | name: '李小红', | ||
160 | age: 30, | ||
161 | model:'用户管理', | ||
162 | address: '上海市浦东新区世纪大道' | ||
163 | }, | ||
164 | ] | ||
165 | } | ||
166 | } | ||
167 | } | ||
168 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <style> | ||
2 | .ivu-form-item{ | ||
3 | margin-bottom: 10px; | ||
4 | } | ||
5 | </style> | ||
6 | <template> | ||
7 | <Card> | ||
8 | <p slot="title"> | ||
9 | 接口调试 | ||
10 | </p> | ||
11 | <p slot="extra"> | ||
12 | <Button type="info" icon="navicon-round">调试历史</Button> | ||
13 | </p> | ||
14 | <Alert show-icon > | ||
15 | 消息提示文案 | ||
16 | <template slot="desc"> | ||
17 | 系统分配AppKey只能调用基础API,增值API需要填入自己申请的AppKey | ||
18 | </template> | ||
19 | </Alert> | ||
20 | <Row :gutter="32"> | ||
21 | <Col span="12"> | ||
22 | <Form :model="formItem" :label-width="80"> | ||
23 | <Form-item label="返回格式"> | ||
24 | <Radio-group v-model="formItem.radio"> | ||
25 | <Radio label="JSON">JSON</Radio> | ||
26 | <Radio label="XML">XML</Radio> | ||
27 | </Radio-group> | ||
28 | </Form-item> | ||
29 | <Form-item label="API模块"> | ||
30 | <Select v-model="formItem.select" placeholder="请选择"> | ||
31 | <Option value="beijing">商品模块</Option> | ||
32 | <Option value="shanghai">用户模块</Option> | ||
33 | </Select> | ||
34 | </Form-item> | ||
35 | <Form-item label="API名称"> | ||
36 | <Select v-model="formItem.select" placeholder="请选择"> | ||
37 | <Option value="beijing">获取用户信息</Option> | ||
38 | <Option value="shanghai">获取用户名</Option> | ||
39 | </Select> | ||
40 | </Form-item> | ||
41 | <Form-item label="提交方式"> | ||
42 | <Radio-group v-model="formItem.radio"> | ||
43 | <Radio label="POST">POST</Radio> | ||
44 | <Radio label="GET">GET</Radio> | ||
45 | </Radio-group> | ||
46 | </Form-item> | ||
47 | <Form-item label="AppKey"> | ||
48 | <Input v-model="formItem.input" placeholder="请输入"></Input> | ||
49 | </Form-item> | ||
50 | <Form-item label="AppSecret"> | ||
51 | <Input v-model="formItem.input" placeholder="请输入"></Input> | ||
52 | </Form-item> | ||
53 | <Form-item label="参数1"> | ||
54 | <Input v-model="formItem.input" placeholder="请输入"></Input> | ||
55 | </Form-item> | ||
56 | <Form-item label="参数2"> | ||
57 | <Input v-model="formItem.input" placeholder="请输入"></Input> | ||
58 | </Form-item> | ||
59 | <Form-item label="参数3"> | ||
60 | <Input v-model="formItem.input" placeholder="请输入"></Input> | ||
61 | </Form-item> | ||
62 | <Form-item> | ||
63 | <Row :gutter="64"> | ||
64 | <Col span="12"> | ||
65 | <Button type="primary" long>提交</Button> | ||
66 | </Col> | ||
67 | <Col span="12"> | ||
68 | <Button type="ghost" long>保存</Button> | ||
69 | </Col> | ||
70 | </Row> | ||
71 | |||
72 | |||
73 | </Form-item> | ||
74 | </Form> | ||
75 | </Col> | ||
76 | <Col span="12"> | ||
77 | |||
78 | <Form label-position="top"> | ||
79 | <Form-item label="API请求参数"> | ||
80 | <Input v-model="formItem.textarea" type="textarea" :autosize="{minRows: 5}" ></Input> | ||
81 | </Form-item> | ||
82 | <Form-item label="API返回参数"> | ||
83 | <Input v-model="formItem.textarea" type="textarea" :autosize="{minRows: 5}" ></Input> | ||
84 | </Form-item> | ||
85 | |||
86 | </Form> | ||
87 | |||
88 | </Col> | ||
89 | </Row> | ||
90 | </Card> | ||
91 | </template> | ||
92 | <script> | ||
93 | export default { | ||
94 | data () { | ||
95 | return { | ||
96 | formItem: { | ||
97 | input: '', | ||
98 | select: '', | ||
99 | radio: 'male', | ||
100 | checkbox: [], | ||
101 | switch: true, | ||
102 | date: '', | ||
103 | time: '', | ||
104 | slider: [20, 50], | ||
105 | textarea: '' | ||
106 | } | ||
107 | } | ||
108 | } | ||
109 | } | ||
110 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <style> | ||
2 | .apidetail blockquote { | ||
3 | margin: 10px 0; | ||
4 | } | ||
5 | |||
6 | .apidetail-title-name { | ||
7 | float: left; | ||
8 | } | ||
9 | |||
10 | .apidetail-title-btn { | ||
11 | float: right; | ||
12 | } | ||
13 | |||
14 | .apidetail-title-name-1 { | ||
15 | display: block; | ||
16 | font-size: 25px; | ||
17 | font-weight: 100; | ||
18 | } | ||
19 | |||
20 | .apidetail-title-name-2 { | ||
21 | display: block; | ||
22 | margin: 10px 0; | ||
23 | } | ||
24 | </style> | ||
25 | <template> | ||
26 | <div class="apidetail"> | ||
27 | <Back-top></Back-top> | ||
28 | <div class="apidetail-title"> | ||
29 | <div class="apidetail-title-name"> | ||
30 | <span class="apidetail-title-name-1"> taobao.product.update </span> | ||
31 | <span class="apidetail-title-name-2"> (修改一个产品,可以修改主图,不能修改子图片)</span> | ||
32 | </div> | ||
33 | <div class="apidetail-title-btn"> | ||
34 | |||
35 | <Button-group> | ||
36 | <Button type="ghost" | ||
37 | icon="information-circled"> | ||
38 | |||
39 | 1.0</Button> | ||
40 | <Button type="primary" | ||
41 | icon="gear-a"> | ||
42 | 调试</Button> | ||
43 | </Button-group> | ||
44 | </div> | ||
45 | <div class="clear"></div> | ||
46 | </div> | ||
47 | <Tag type="border" | ||
48 | color="yellow">免费</Tag> | ||
49 | <Tag type="border" | ||
50 | color="yellow">需授权</Tag> | ||
51 | <blockquote> | ||
52 | 接口说明信息说明信息说明信息说明信息说明信息说明信息说明信息说明信息 说明信息说明信息说明信息说明信息说明信息说明信息说明信息说明信息说明信息说明信息说 说明信息说明信息说明信息 | ||
53 | </blockquote> | ||
54 | |||
55 | <Collapse v-model="openPanel"> | ||
56 | <Panel name="0"> | ||
57 | 接口地址 | ||
58 | <p slot="content"> | ||
59 | <Table border | ||
60 | :columns="columns2" | ||
61 | :data="data2"></Table> | ||
62 | </p> | ||
63 | </Panel> | ||
64 | <Panel name="1"> | ||
65 | 公共参数 | ||
66 | <p slot="content"> | ||
67 | <Table border | ||
68 | :columns="columns1" | ||
69 | :data="data1"></Table> | ||
70 | </p> | ||
71 | </Panel> | ||
72 | <Panel name="2"> | ||
73 | 请求参数 | ||
74 | <p slot="content">斯蒂夫·盖瑞·沃兹尼亚克(Stephen Gary Wozniak),美国电脑工程师,曾与史蒂夫·乔布斯合伙创立苹果电脑(今之苹果公司)。斯蒂夫·盖瑞·沃兹尼亚克曾就读于美国科罗拉多大学,后转学入美国著名高等学府加州大学伯克利分校(UC Berkeley)并获得电机工程及计算机(EECS)本科学位(1987年)。</p> | ||
75 | </Panel> | ||
76 | <Panel name="3"> | ||
77 | 响应参数 | ||
78 | <p slot="content">乔纳森·伊夫是一位工业设计师,现任Apple公司设计师兼资深副总裁,英国爵士。他曾参与设计了iPod,iMac,iPhone,iPad等众多苹果产品。除了乔布斯,他是对苹果那些著名的产品最有影响力的人。</p> | ||
79 | </Panel> | ||
80 | <Panel name="4"> | ||
81 | 请求示例 | ||
82 | <p slot="content" | ||
83 | class="code"> | ||
84 | <pre> | ||
85 | { | ||
86 | "nu":"1093590637819", | ||
87 | "message":"ok", | ||
88 | "companytype":"ems", | ||
89 | "ischeck":"1", | ||
90 | "com":"ems", | ||
91 | "updatetime":"2016-08-22 01:37:27", | ||
92 | "status":"200", | ||
93 | "condition":"F00", | ||
94 | "codenumber":"1093590637819", | ||
95 | "data":[ | ||
96 | { | ||
97 | "time":"2016-08-17 10:57:02", | ||
98 | "context":"【北京市】 投递并签收,签收人:他人收 前台", | ||
99 | "ftime":"2016-08-17 10:57:02" | ||
100 | }, | ||
101 | { | ||
102 | "time":"2016-08-17 07:51:00", | ||
103 | "context":"【北京市】 北京邮政速递朝阳路区域分公司呼家楼营投部安排投递,预计23:59:00前投递(投递员姓名:徐龙会18519361767;联系电话:18519361767)", | ||
104 | "ftime":"2016-08-17 07:51:00" | ||
105 | }, | ||
106 | { | ||
107 | "time":"2016-08-16 17:11:34", | ||
108 | "context":"北京市已收件(揽投员姓名:白中位,联系电话:)", | ||
109 | "ftime":"2016-08-16 17:11:34" | ||
110 | } | ||
111 | ], | ||
112 | "state":"3" | ||
113 | } | ||
114 | </pre> | ||
115 | |||
116 | </p> | ||
117 | </Panel> | ||
118 | <Panel name="5"> | ||
119 | 响应示例 | ||
120 | <p slot="content">乔纳森·伊夫是一位工业设计师,现任Apple公司设计师兼资深副总裁,英国爵士。他曾参与设计了iPod,iMac,iPhone,iPad等众多苹果产品。除了乔布斯,他是对苹果那些著名的产品最有影响力的人。</p> | ||
121 | </Panel> | ||
122 | </Collapse> | ||
123 | </div> | ||
124 | </template> | ||
125 | <script> | ||
126 | export default { | ||
127 | data() { | ||
128 | return { | ||
129 | openPanel: [0,1, 2, 3, 4], | ||
130 | columns2:[{ | ||
131 | title: '环境', | ||
132 | key: 'str1', | ||
133 | width: 200, | ||
134 | },{ | ||
135 | title: '地址', | ||
136 | key: 'str2', | ||
137 | |||
138 | }, | ||
139 | ], | ||
140 | data2:[ | ||
141 | { | ||
142 | str1: '正式环境', | ||
143 | str2: 'http://www.baidu.com', | ||
144 | }, | ||
145 | { | ||
146 | str1: '沙箱环境', | ||
147 | str2: 'http://www.baidu.com', | ||
148 | }, | ||
149 | ], | ||
150 | columns1: [ | ||
151 | { | ||
152 | title: '名称', | ||
153 | key: 'str1', | ||
154 | width: 200, | ||
155 | }, | ||
156 | { | ||
157 | title: '类型', | ||
158 | key: 'str2', | ||
159 | width: 100, | ||
160 | }, | ||
161 | { | ||
162 | title: '是否必填', | ||
163 | key: 'str3', | ||
164 | width: 100, | ||
165 | }, | ||
166 | { | ||
167 | title: '描述', | ||
168 | key: 'str4' | ||
169 | } | ||
170 | ], | ||
171 | data1: [ | ||
172 | { | ||
173 | str1: 'method', | ||
174 | str2: 'String', | ||
175 | str3: '是', | ||
176 | str4: '描述信息' | ||
177 | }, | ||
178 | { | ||
179 | str1: 'app_key', | ||
180 | str2: 'String', | ||
181 | str3: '是', | ||
182 | str4: '描述信息' | ||
183 | }, | ||
184 | { | ||
185 | str1: 'target_app_key', | ||
186 | str2: 'String', | ||
187 | str3: '是', | ||
188 | str4: '描述信息' | ||
189 | }, | ||
190 | { | ||
191 | str1: 'sign_method', | ||
192 | str2: 'String', | ||
193 | str3: '是', | ||
194 | str4: '描述信息' | ||
195 | }, | ||
196 | { | ||
197 | str1: 'session', | ||
198 | str2: 'String', | ||
199 | str3: '是', | ||
200 | str4: '描述信息' | ||
201 | }, | ||
202 | { | ||
203 | str1: 'sign', | ||
204 | str2: 'String', | ||
205 | str3: '是', | ||
206 | str4: '描述信息' | ||
207 | } | ||
208 | ] | ||
209 | |||
210 | } | ||
211 | } | ||
212 | } | ||
213 | </script> |
src/components/Modules/ApiDoc/DetailView.vue
0 → 100644
src/components/Modules/ApiDoc/index.js
0 → 100644
src/components/Modules/HelpDoc/DocList.vue
0 → 100644
1 | <template> | ||
2 | <Table border :columns="columns1" :data="data1"></Table> | ||
3 | </template> | ||
4 | <script> | ||
5 | export default { | ||
6 | data () { | ||
7 | return { | ||
8 | columns1: [ | ||
9 | { | ||
10 | title: '文档名称', | ||
11 | key: 'name', | ||
12 | width:300 | ||
13 | |||
14 | }, | ||
15 | { | ||
16 | title: '所属模块', | ||
17 | key: 'model', | ||
18 | width:200 | ||
19 | |||
20 | }, | ||
21 | { | ||
22 | title: '类型', | ||
23 | key: 'age', | ||
24 | width:100, | ||
25 | render (row, column, index) { | ||
26 | const color = index % 2 ==0 ? 'blue' : 'red'; | ||
27 | const text = index % 2 ==0 ? '免费' : '收费'; | ||
28 | return `<tag type="border" color="${color}">${text}</tag>`; | ||
29 | } | ||
30 | }, | ||
31 | { | ||
32 | title: '描述', | ||
33 | key: 'address' | ||
34 | } | ||
35 | ], | ||
36 | data1: [ | ||
37 | { | ||
38 | name: '王小明', | ||
39 | age: 18, | ||
40 | model:'用户管理', | ||
41 | address: '北京市朝阳区芍药居' | ||
42 | }, | ||
43 | { | ||
44 | name: '张小刚', | ||
45 | age: 25, | ||
46 | model:'用户管理', | ||
47 | address: '北京市海淀区西二旗' | ||
48 | }, | ||
49 | { | ||
50 | name: '李小红', | ||
51 | age: 30, | ||
52 | model:'用户管理', | ||
53 | address: '上海市浦东新区世纪大道' | ||
54 | }, | ||
55 | { | ||
56 | name: '周小伟', | ||
57 | age: 26, | ||
58 | model:'订单管理', | ||
59 | address: '深圳市南山区深南大道' | ||
60 | }, | ||
61 | { | ||
62 | name: '王小明', | ||
63 | age: 18, | ||
64 | model:'用户管理', | ||
65 | address: '北京市朝阳区芍药居' | ||
66 | }, | ||
67 | { | ||
68 | name: '张小刚', | ||
69 | age: 25, | ||
70 | model:'用户管理', | ||
71 | address: '北京市海淀区西二旗' | ||
72 | }, | ||
73 | { | ||
74 | name: '李小红', | ||
75 | age: 30, | ||
76 | model:'用户管理', | ||
77 | address: '上海市浦东新区世纪大道' | ||
78 | },{ | ||
79 | name: '王小明', | ||
80 | age: 18, | ||
81 | model:'用户管理', | ||
82 | address: '北京市朝阳区芍药居' | ||
83 | }, | ||
84 | { | ||
85 | name: '张小刚', | ||
86 | age: 25, | ||
87 | model:'用户管理', | ||
88 | address: '北京市海淀区西二旗' | ||
89 | }, | ||
90 | { | ||
91 | name: '李小红', | ||
92 | age: 30, | ||
93 | model:'用户管理', | ||
94 | address: '上海市浦东新区世纪大道' | ||
95 | },{ | ||
96 | name: '王小明', | ||
97 | age: 18, | ||
98 | model:'用户管理', | ||
99 | address: '北京市朝阳区芍药居' | ||
100 | }, | ||
101 | { | ||
102 | name: '张小刚', | ||
103 | age: 25, | ||
104 | model:'用户管理', | ||
105 | address: '北京市海淀区西二旗' | ||
106 | }, | ||
107 | { | ||
108 | name: '李小红', | ||
109 | age: 30, | ||
110 | model:'用户管理', | ||
111 | address: '上海市浦东新区世纪大道' | ||
112 | },{ | ||
113 | name: '王小明', | ||
114 | age: 18, | ||
115 | model:'用户管理', | ||
116 | address: '北京市朝阳区芍药居' | ||
117 | }, | ||
118 | { | ||
119 | name: '张小刚', | ||
120 | age: 25, | ||
121 | model:'用户管理', | ||
122 | address: '北京市海淀区西二旗' | ||
123 | }, | ||
124 | { | ||
125 | name: '李小红', | ||
126 | age: 30, | ||
127 | model:'用户管理', | ||
128 | address: '上海市浦东新区世纪大道' | ||
129 | },{ | ||
130 | name: '王小明', | ||
131 | age: 18, | ||
132 | model:'用户管理', | ||
133 | address: '北京市朝阳区芍药居' | ||
134 | }, | ||
135 | { | ||
136 | name: '张小刚', | ||
137 | age: 25, | ||
138 | model:'用户管理', | ||
139 | address: '北京市海淀区西二旗' | ||
140 | }, | ||
141 | { | ||
142 | name: '李小红', | ||
143 | age: 30, | ||
144 | model:'用户管理', | ||
145 | address: '上海市浦东新区世纪大道' | ||
146 | },{ | ||
147 | name: '王小明', | ||
148 | age: 18, | ||
149 | model:'用户管理', | ||
150 | address: '北京市朝阳区芍药居' | ||
151 | }, | ||
152 | { | ||
153 | name: '张小刚', | ||
154 | age: 25, | ||
155 | model:'用户管理', | ||
156 | address: '北京市海淀区西二旗' | ||
157 | }, | ||
158 | { | ||
159 | name: '李小红', | ||
160 | age: 30, | ||
161 | model:'用户管理', | ||
162 | address: '上海市浦东新区世纪大道' | ||
163 | }, | ||
164 | ] | ||
165 | } | ||
166 | } | ||
167 | } | ||
168 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <style scoped> | ||
2 | |||
3 | </style> | ||
4 | <template> | ||
5 | <div class="layout"> | ||
6 | <bread></bread> | ||
7 | <div class="layout-content"> | ||
8 | |||
9 | <Row> | ||
10 | <i-col span="5"> | ||
11 | <Menu width="auto" @on-select="itemSelect"> | ||
12 | <Menu-item name="/interface"> | ||
13 | 开放平台 | ||
14 | </Menu-item> | ||
15 | <Submenu name="/interface/1"> | ||
16 | <template slot="title"> | ||
17 | <Icon type="ios-paper"></Icon> | ||
18 | 平台简介 | ||
19 | </template> | ||
20 | <Menu-item name="/interface/detail/111"> | ||
21 | 业务接入 | ||
22 | </Menu-item> | ||
23 | <Menu-item name="/interface/pro/222"> | ||
24 | 接口规范 | ||
25 | </Menu-item> | ||
26 | <Menu-item name="/interface/debug/222"> | ||
27 | 调用说明 | ||
28 | </Menu-item> | ||
29 | <Menu-item name="4"> | ||
30 | 错误编码 | ||
31 | </Menu-item> | ||
32 | </Submenu> | ||
33 | |||
34 | <Submenu name="/2"> | ||
35 | <template slot="title"> | ||
36 | <Icon type="ios-paper"></Icon> | ||
37 | 调用场景 | ||
38 | </template> | ||
39 | <Menu-item name="1"> | ||
40 | 获取用户信息API | ||
41 | </Menu-item> | ||
42 | <Menu-item name="2"> | ||
43 | 获取用户名API | ||
44 | </Menu-item> | ||
45 | <Menu-item name="3"> | ||
46 | 获取订单信息API | ||
47 | </Menu-item> | ||
48 | <Menu-item name="5"> | ||
49 | 获取订单状态API | ||
50 | </Menu-item> | ||
51 | </Submenu> | ||
52 | </Menu> | ||
53 | </i-col> | ||
54 | <i-col span="19"> | ||
55 | <div class="layout-breadcrumb"> | ||
56 | |||
57 | </div> | ||
58 | <div class="layout-content-main"> | ||
59 | <router-view></router-view> | ||
60 | </div> | ||
61 | </i-col> | ||
62 | </Row> | ||
63 | </div> | ||
64 | <div class="layout-copy"> | ||
65 | 2011-2016 © | ||
66 | </div> | ||
67 | </div> | ||
68 | </template> | ||
69 | <script> | ||
70 | export default { | ||
71 | name: 'home', | ||
72 | data() { | ||
73 | return { | ||
74 | // leftWidth:'5' | ||
75 | } | ||
76 | }, | ||
77 | computed: { | ||
78 | |||
79 | }, | ||
80 | methods: { | ||
81 | itemSelect(name) { | ||
82 | this.$router.push(name); | ||
83 | } | ||
84 | }, | ||
85 | } | ||
86 | </script> |
src/components/Modules/HelpDoc/index.js
0 → 100644
src/components/Modules/HomeView.vue
0 → 100644
1 | <style scoped> | ||
2 | .demo-carousel { | ||
3 | height: 400px; | ||
4 | line-height: 400px; | ||
5 | text-align: center; | ||
6 | color: #fff; | ||
7 | font-size: 20px; | ||
8 | background: #657180; | ||
9 | } | ||
10 | .bg1{ | ||
11 | background: #9ea7b4; | ||
12 | } | ||
13 | .bg2{ | ||
14 | background: #c3cbd6; | ||
15 | } | ||
16 | </style> | ||
17 | <template> | ||
18 | <div class="layout"> | ||
19 | <!--<bread></bread>--> | ||
20 | <Carousel autoplay v-model="value2"> | ||
21 | <Carousel-item> | ||
22 | <div class="demo-carousel">1</div> | ||
23 | </Carousel-item> | ||
24 | <Carousel-item> | ||
25 | <div class="demo-carousel bg1">2</div> | ||
26 | </Carousel-item> | ||
27 | <Carousel-item> | ||
28 | <div class="demo-carousel bg2">3</div> | ||
29 | </Carousel-item> | ||
30 | <Carousel-item> | ||
31 | <div class="demo-carousel">4</div> | ||
32 | </Carousel-item> | ||
33 | </Carousel> | ||
34 | <div class="layout-content"> | ||
35 | |||
36 | <div class="layout-content-main"> | ||
37 | <router-view></router-view> | ||
38 | </div> | ||
39 | </div> | ||
40 | <div class="layout-copy"> | ||
41 | 2011-2016 © | ||
42 | </div> | ||
43 | </div> | ||
44 | </template> | ||
45 | <script> | ||
46 | import Layout from '../Layout'; | ||
47 | export default { | ||
48 | name: 'home', | ||
49 | data() { | ||
50 | return { | ||
51 | value2: 0 | ||
52 | } | ||
53 | }, | ||
54 | computed: { | ||
55 | |||
56 | }, | ||
57 | components: Layout | ||
58 | } | ||
59 | </script> |
src/components/Modules/MainCon/MainCon.vue
0 → 100644
1 | <style> | ||
2 | .demo-carousel { | ||
3 | height: 400px; | ||
4 | line-height: 400px; | ||
5 | text-align: center; | ||
6 | color: #fff; | ||
7 | font-size: 20px; | ||
8 | background: #506b9e; | ||
9 | } | ||
10 | </style> | ||
11 | <template> | ||
12 | <div> | ||
13 | <Alert show-icon | ||
14 | style="width:100%"> | ||
15 | 最新公告 | ||
16 | <template slot="desc">消息提示的描述文案消息提示的描述文案消息提示的描述文案消息提示的描述文案消息提示的描述文案</template> | ||
17 | </Alert> | ||
18 | |||
19 | |||
20 | <Row :gutter="16"> | ||
21 | <Col span="8"> | ||
22 | <Card> | ||
23 | <p slot="title" style="font-size:15px">接入指南</p> | ||
24 | <ul class="maincon-cart-ul"> | ||
25 | <li v-for="n in 4">这里是内容-------{{n}}</li> | ||
26 | <li>更多</li> | ||
27 | </ul> | ||
28 | </Card> | ||
29 | </Col> | ||
30 | <Col span="8"> | ||
31 | <Card> | ||
32 | <p slot="title" style="font-size:15px">平台规则</p> | ||
33 | <ul class="maincon-cart-ul"> | ||
34 | <li v-for="n in 4">这里是内容-------{{n}}</li> | ||
35 | <li>更多</li> | ||
36 | </ul> | ||
37 | </Card> | ||
38 | </Col> | ||
39 | <Col span="8"> | ||
40 | <Card> | ||
41 | <p slot="title" style="font-size:15px">基础技术</p> | ||
42 | <ul class="maincon-cart-ul"> | ||
43 | <li v-for="n in 4">这里是内容-------{{n}}</li> | ||
44 | <li>更多</li> | ||
45 | </ul> | ||
46 | </Card> | ||
47 | </Col> | ||
48 | </Row> | ||
49 | <Row style="margin-top:20px"> | ||
50 | <Col span="24"> | ||
51 | <Card> | ||
52 | <p slot="title" style="font-size:15px">常用工具</p> | ||
53 | <ul class="maincon-cart-ul"> | ||
54 | <li v-for="n in 4">这里是内容-------{{n}}</li> | ||
55 | </ul> | ||
56 | </Card> | ||
57 | </Col> | ||
58 | </Row> | ||
59 | </div> | ||
60 | </template> | ||
61 | <style> | ||
62 | .maincon-cart-ul li{ | ||
63 | padding: 15px 0 10px 0; | ||
64 | border-bottom: 1px #e3e8ee dashed; | ||
65 | } | ||
66 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/components/Modules/MainCon/index.js
0 → 100644
1 | <template> | ||
2 | <Table border :columns="columns1" :data="data1"></Table> | ||
3 | </template> | ||
4 | <script> | ||
5 | export default { | ||
6 | data () { | ||
7 | return { | ||
8 | columns1: [ | ||
9 | { | ||
10 | title: '文档名称', | ||
11 | key: 'name', | ||
12 | width:300 | ||
13 | |||
14 | }, | ||
15 | { | ||
16 | title: '所属模块', | ||
17 | key: 'model', | ||
18 | width:200 | ||
19 | |||
20 | }, | ||
21 | { | ||
22 | title: '类型', | ||
23 | key: 'age', | ||
24 | width:100, | ||
25 | render (row, column, index) { | ||
26 | const color = index % 2 ==0 ? 'blue' : 'red'; | ||
27 | const text = index % 2 ==0 ? '免费' : '收费'; | ||
28 | return `<tag type="border" color="${color}">${text}</tag>`; | ||
29 | } | ||
30 | }, | ||
31 | { | ||
32 | title: '描述', | ||
33 | key: 'address' | ||
34 | } | ||
35 | ], | ||
36 | data1: [ | ||
37 | { | ||
38 | name: '王小明', | ||
39 | age: 18, | ||
40 | model:'用户管理', | ||
41 | address: '北京市朝阳区芍药居' | ||
42 | }, | ||
43 | { | ||
44 | name: '张小刚', | ||
45 | age: 25, | ||
46 | model:'用户管理', | ||
47 | address: '北京市海淀区西二旗' | ||
48 | }, | ||
49 | { | ||
50 | name: '李小红', | ||
51 | age: 30, | ||
52 | model:'用户管理', | ||
53 | address: '上海市浦东新区世纪大道' | ||
54 | }, | ||
55 | { | ||
56 | name: '周小伟', | ||
57 | age: 26, | ||
58 | model:'订单管理', | ||
59 | address: '深圳市南山区深南大道' | ||
60 | }, | ||
61 | { | ||
62 | name: '王小明', | ||
63 | age: 18, | ||
64 | model:'用户管理', | ||
65 | address: '北京市朝阳区芍药居' | ||
66 | }, | ||
67 | { | ||
68 | name: '张小刚', | ||
69 | age: 25, | ||
70 | model:'用户管理', | ||
71 | address: '北京市海淀区西二旗' | ||
72 | }, | ||
73 | { | ||
74 | name: '李小红', | ||
75 | age: 30, | ||
76 | model:'用户管理', | ||
77 | address: '上海市浦东新区世纪大道' | ||
78 | },{ | ||
79 | name: '王小明', | ||
80 | age: 18, | ||
81 | model:'用户管理', | ||
82 | address: '北京市朝阳区芍药居' | ||
83 | }, | ||
84 | { | ||
85 | name: '张小刚', | ||
86 | age: 25, | ||
87 | model:'用户管理', | ||
88 | address: '北京市海淀区西二旗' | ||
89 | }, | ||
90 | { | ||
91 | name: '李小红', | ||
92 | age: 30, | ||
93 | model:'用户管理', | ||
94 | address: '上海市浦东新区世纪大道' | ||
95 | },{ | ||
96 | name: '王小明', | ||
97 | age: 18, | ||
98 | model:'用户管理', | ||
99 | address: '北京市朝阳区芍药居' | ||
100 | }, | ||
101 | { | ||
102 | name: '张小刚', | ||
103 | age: 25, | ||
104 | model:'用户管理', | ||
105 | address: '北京市海淀区西二旗' | ||
106 | }, | ||
107 | { | ||
108 | name: '李小红', | ||
109 | age: 30, | ||
110 | model:'用户管理', | ||
111 | address: '上海市浦东新区世纪大道' | ||
112 | },{ | ||
113 | name: '王小明', | ||
114 | age: 18, | ||
115 | model:'用户管理', | ||
116 | address: '北京市朝阳区芍药居' | ||
117 | }, | ||
118 | { | ||
119 | name: '张小刚', | ||
120 | age: 25, | ||
121 | model:'用户管理', | ||
122 | address: '北京市海淀区西二旗' | ||
123 | }, | ||
124 | { | ||
125 | name: '李小红', | ||
126 | age: 30, | ||
127 | model:'用户管理', | ||
128 | address: '上海市浦东新区世纪大道' | ||
129 | },{ | ||
130 | name: '王小明', | ||
131 | age: 18, | ||
132 | model:'用户管理', | ||
133 | address: '北京市朝阳区芍药居' | ||
134 | }, | ||
135 | { | ||
136 | name: '张小刚', | ||
137 | age: 25, | ||
138 | model:'用户管理', | ||
139 | address: '北京市海淀区西二旗' | ||
140 | }, | ||
141 | { | ||
142 | name: '李小红', | ||
143 | age: 30, | ||
144 | model:'用户管理', | ||
145 | address: '上海市浦东新区世纪大道' | ||
146 | },{ | ||
147 | name: '王小明', | ||
148 | age: 18, | ||
149 | model:'用户管理', | ||
150 | address: '北京市朝阳区芍药居' | ||
151 | }, | ||
152 | { | ||
153 | name: '张小刚', | ||
154 | age: 25, | ||
155 | model:'用户管理', | ||
156 | address: '北京市海淀区西二旗' | ||
157 | }, | ||
158 | { | ||
159 | name: '李小红', | ||
160 | age: 30, | ||
161 | model:'用户管理', | ||
162 | address: '上海市浦东新区世纪大道' | ||
163 | }, | ||
164 | ] | ||
165 | } | ||
166 | } | ||
167 | } | ||
168 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <style scoped> | ||
2 | .top-bar { | ||
3 | height: 320px; | ||
4 | line-height: 320px; | ||
5 | background-color: #0182c1; | ||
6 | margin-bottom: 48px; | ||
7 | text-align: center; | ||
8 | color: #fff; | ||
9 | font-size: 16px; | ||
10 | background: #273e4d url(//img.alicdn.com/tps/TB18wHKJVXXXXX_XVXXXXXXXXXX-1700-350.jpg) no-repeat; | ||
11 | } | ||
12 | </style> | ||
13 | <template> | ||
14 | <div class="layout"> | ||
15 | <div class="top-bar"> | ||
16 | 服务中心 | ||
17 | |||
18 | </div> | ||
19 | <div class="layout-content"> | ||
20 | |||
21 | <div class="layout-content-main"> | ||
22 | <router-view></router-view> | ||
23 | </div> | ||
24 | </div> | ||
25 | <div class="layout-copy"> | ||
26 | 2011-2016 © | ||
27 | </div> | ||
28 | </div> | ||
29 | </template> | ||
30 | <script> | ||
31 | export default { | ||
32 | name: 'home', | ||
33 | data() { | ||
34 | return { | ||
35 | value2: 0 | ||
36 | } | ||
37 | }, | ||
38 | computed: { | ||
39 | |||
40 | }, | ||
41 | } | ||
42 | </script> |
src/components/Modules/Support/index.js
0 → 100644
src/components/Modules/index.js
0 → 100644
src/components/TestPages/index.js
0 → 100644
src/components/TestPages/testaxios.vue
0 → 100644
1 | <template> | ||
2 | <div> | ||
3 | <Row> | ||
4 | <Col span="24"> | ||
5 | <div class="content"> | ||
6 | <Form ref='data' | ||
7 | :model="data" | ||
8 | :label-width="80" | ||
9 | class="demo-ruleForm card-box loginform"> | ||
10 | <h3 class="title">系统登录</h3> | ||
11 | <Form-item label="帐号" | ||
12 | prop="username"> | ||
13 | <Input type="text" | ||
14 | v-model="data.username"></Input> | ||
15 | </Form-item> | ||
16 | <Form-item label="密码" | ||
17 | prop="password"> | ||
18 | <Input type="password" | ||
19 | v-model="data.password"></Input> | ||
20 | </Form-item> | ||
21 | <Form-item> | ||
22 | <Button type="primary" | ||
23 | @click='login()'>提交</Button> | ||
24 | <Button type="primary" | ||
25 | @click='loginError()'>错误提交</Button> | ||
26 | <Button type="ghost" | ||
27 | style="margin-left: 8px">重置</Button> | ||
28 | </Form-item> | ||
29 | |||
30 | </Form> | ||
31 | </div> | ||
32 | </Col> | ||
33 | </Row> | ||
34 | </div> | ||
35 | </template> | ||
36 | <script> | ||
37 | export default { | ||
38 | name: 'content', | ||
39 | data() { | ||
40 | return { | ||
41 | data: { | ||
42 | username: '', | ||
43 | password: '', | ||
44 | // token: '' | ||
45 | }, | ||
46 | } | ||
47 | }, | ||
48 | methods: { | ||
49 | login() { | ||
50 | var self = this; | ||
51 | console.log(self.data.username); | ||
52 | this.axios.get("public/act/getAll").then((res) => { | ||
53 | console.log(JSON.stringify(error)); | ||
54 | console.log("页面里面:" + res); | ||
55 | }) | ||
56 | }, | ||
57 | loginError(){ | ||
58 | this.axios.get("test/axioserror").then((res) => { | ||
59 | console.log("页面里面:" + res); | ||
60 | }).catch((error)=>{ | ||
61 | console.log(error); | ||
62 | }) | ||
63 | } | ||
64 | }, | ||
65 | created() { | ||
66 | |||
67 | }, | ||
68 | mounted() { | ||
69 | |||
70 | } | ||
71 | } | ||
72 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/components/TestPages/testaxios2.vue
0 → 100644
1 | <template> | ||
2 | <div> | ||
3 | <blockquote> 22222222222222222222222222</blockquote> | ||
4 | </div> | ||
5 | </template> | ||
6 | <script> | ||
7 | export default { | ||
8 | name: 'content', | ||
9 | data() { | ||
10 | return { | ||
11 | data: { | ||
12 | username: '', | ||
13 | password: '', | ||
14 | // token: '' | ||
15 | }, | ||
16 | } | ||
17 | }, | ||
18 | methods: { | ||
19 | login() { | ||
20 | var self = this; | ||
21 | console.log(self.data.username); | ||
22 | this.axios.get("public/act/getAll").then((res) => { | ||
23 | console.log(JSON.stringify(error)); | ||
24 | console.log("页面里面:" + res); | ||
25 | }) | ||
26 | }, | ||
27 | loginError(){ | ||
28 | this.axios.get("test/axioserror").then((res) => { | ||
29 | console.log("页面里面:" + res); | ||
30 | }).catch((error)=>{ | ||
31 | console.log(error); | ||
32 | }) | ||
33 | } | ||
34 | }, | ||
35 | created() { | ||
36 | |||
37 | }, | ||
38 | mounted() { | ||
39 | |||
40 | } | ||
41 | } | ||
42 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/components/index.js
0 → 100644
1 | import Login from './Login/'; | ||
2 | import Test from './TestPages/'; | ||
3 | |||
4 | // import NotFound from './Routeview/NotFound.vue'; | ||
5 | |||
6 | import Modules from './Modules/'; | ||
7 | import Layout from './Layout/'; | ||
8 | module.exports = { | ||
9 | Login, | ||
10 | // NotFound, | ||
11 | Test, | ||
12 | Layout, | ||
13 | Modules | ||
14 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/config/index.js
0 → 100644
src/config/request.js
0 → 100644
1 | import { | ||
2 | ajax | ||
3 | } from 'util/'; | ||
4 | |||
5 | /** | ||
6 | * 导出所有模块需要用到接口 | ||
7 | * 一级属性:模块名 | ||
8 | * 一级属性中的方法:当前模块需要用的接口 | ||
9 | * @type {Object} | ||
10 | */ | ||
11 | module.exports = { | ||
12 | //用户模块 | ||
13 | user: { | ||
14 | /** | ||
15 | * 登录 | ||
16 | * @param {object} data 参数 | ||
17 | * @param {string} data.username 登陆用户名 | ||
18 | * @param {string} data.password 登陆密码 | ||
19 | * @param {function} fn 成功回调 | ||
20 | */ | ||
21 | login(data, fn, errFn) { | ||
22 | // ajax.call(this, 'post', '/Login/login', data, fn, true, errFn); | ||
23 | ajax('post', '/Login/login', data, fn, true, errFn); | ||
24 | }, | ||
25 | |||
26 | /** | ||
27 | * 获取用户列表 | ||
28 | * @param {object} data 参数 | ||
29 | * @param {string} data.username 用户名-搜索 | ||
30 | * @param {string} data.email 邮箱-搜索 | ||
31 | * @param {Function} fn 成功回的回调 | ||
32 | */ | ||
33 | selectUser(data, fn) { | ||
34 | ajax.call(this, 'get', '/User/selectUser', data, fn); | ||
35 | }, | ||
36 | |||
37 | /** | ||
38 | * 添加修改用户公用接口 | ||
39 | * @param {object} data 参数 | ||
40 | * @param {string} data.id 用户ID-修改时必须 | ||
41 | * @param {string} data.username 用户名 | ||
42 | * @param {string} data.email 邮箱 | ||
43 | * @param {string} data.sex 性别 | ||
44 | * @param {string} data.birthday 生日 | ||
45 | * @param {string} data.address 住址 | ||
46 | * @param {string} data.status 状态 | ||
47 | * @param {function} fn 成功回调 | ||
48 | */ | ||
49 | saveUser(data, fn) { | ||
50 | ajax.call(this, 'post', '/User/saveUser', data, fn); | ||
51 | }, | ||
52 | |||
53 | /** | ||
54 | * 删除用户 | ||
55 | * @param {object} data 参数 | ||
56 | * @param {string} data.id 需要删除的用户ID,批量删除时,值为以逗号分开的ID字符串 | ||
57 | * @param {Function} fn 成功回调 | ||
58 | */ | ||
59 | deleteUser(data, fn) { | ||
60 | ajax.call(this, 'post', '/User/deleteUser', data, fn); | ||
61 | }, | ||
62 | |||
63 | /** | ||
64 | * 获取用户信息 | ||
65 | * @param {string} id 用户ID | ||
66 | * @param {Function} fn 成功回调 | ||
67 | */ | ||
68 | findUser(id, fn) { | ||
69 | ajax.call(this, 'get', '/User/findUser', { | ||
70 | id: id | ||
71 | }, fn); | ||
72 | }, | ||
73 | |||
74 | |||
75 | /** | ||
76 | * 修改密码 | ||
77 | * @param {object} data 参数 | ||
78 | * @param {string} data.old_password 旧密码 | ||
79 | * @param {string} data.password 新密码 | ||
80 | * @param {string} data.password_confirm 确认密码 | ||
81 | * @param {Function} fn 成功回调 | ||
82 | */ | ||
83 | updPass(data, fn) { | ||
84 | ajax.call(this, 'post', '/User/updatePass', data, fn); | ||
85 | }, | ||
86 | |||
87 | /** | ||
88 | * 设置权限 | ||
89 | * @param {object} data 参数 | ||
90 | * @param {string} data.id 数据ID | ||
91 | * @param {string} data.login_style 登录方式,1:单点登录;2:多点登录 | ||
92 | * @param {string} data.disabled_update_pass 不允许修改密码的用户ID,以逗号隔开 | ||
93 | * @param {Function} fn 成功回调 | ||
94 | */ | ||
95 | accessUser(data, fn) { | ||
96 | ajax.call(this, 'post', '/User/accessUser', data, fn); | ||
97 | } | ||
98 | }, | ||
99 | |||
100 | /** | ||
101 | * 文章管理 | ||
102 | * @type {Object} | ||
103 | */ | ||
104 | article: { | ||
105 | /** | ||
106 | * 查看用户列表 | ||
107 | * @param {object} data 参数 | ||
108 | * @param {Function} fn 成功回调 | ||
109 | */ | ||
110 | selectArticle(data, fn) { | ||
111 | ajax.call(this, 'get', '/Article/selectArticle', data, fn); | ||
112 | }, | ||
113 | |||
114 | /** | ||
115 | * 添加修改公用接口 | ||
116 | * @param {object} data 参数 | ||
117 | * @param {Function} fn 成功回调 | ||
118 | */ | ||
119 | saveArticle(data, fn) { | ||
120 | ajax.call(this, 'post', '/Article/saveArticle', data, fn); | ||
121 | }, | ||
122 | |||
123 | /** | ||
124 | * 删除文章 | ||
125 | * @param {object} data 参数 | ||
126 | * @param {Function} fn 成功回调 | ||
127 | */ | ||
128 | deleteArticle(data, fn) { | ||
129 | ajax.call(this, 'post', '/Article/deleteArticle', data, fn); | ||
130 | }, | ||
131 | |||
132 | /** | ||
133 | * 获取文章 | ||
134 | * @param {object} data 参数 | ||
135 | * @param {Function} fn 成功回调 | ||
136 | */ | ||
137 | findArticle(data, fn) { | ||
138 | ajax.call(this, 'get', '/Article/findArticle', data, fn); | ||
139 | }, | ||
140 | }, | ||
141 | |||
142 | |||
143 | /** | ||
144 | * 订单管理 | ||
145 | * @type {Object} | ||
146 | */ | ||
147 | order: { | ||
148 | /** | ||
149 | * 统计订单 | ||
150 | * @param {object} data 参数 | ||
151 | * @param {Function} fn 成功回调 | ||
152 | */ | ||
153 | statisOrder(data, fn) { | ||
154 | ajax.call(this, 'get', '/Order/statisOrder', data, fn); | ||
155 | }, | ||
156 | |||
157 | /** | ||
158 | * 获取订单列表 | ||
159 | * @param {object} data 获取订单列表 | ||
160 | * @param {Function} fn 成功回调 | ||
161 | */ | ||
162 | selectOrder(data, fn) { | ||
163 | ajax.call(this, 'get', '/Order/selectOrder', data, fn); | ||
164 | }, | ||
165 | |||
166 | /** | ||
167 | * 添加订单 | ||
168 | * @param {object} data 参数 | ||
169 | * @param {Function} fn 成功回调 | ||
170 | */ | ||
171 | saveOrder(data, fn) { | ||
172 | ajax.call(this, 'post', '/Order/saveOrder', data, fn); | ||
173 | }, | ||
174 | }, | ||
175 | |||
176 | /** | ||
177 | * 系统设置 | ||
178 | * @type {Object} | ||
179 | */ | ||
180 | system: { | ||
181 | /** | ||
182 | * 获取系统设置信息 | ||
183 | * @param {Function} fn 成功回调 | ||
184 | */ | ||
185 | getSetting(fn) { | ||
186 | ajax.call(this, 'get', '/System/getSetting', {}, fn); | ||
187 | }, | ||
188 | |||
189 | /** | ||
190 | * 修改系统设置信息 | ||
191 | * @param {object} data 参数 | ||
192 | * @param {Function} fn 成功回调 | ||
193 | */ | ||
194 | updateSetting(data, fn) { | ||
195 | ajax.call(this, 'post', '/System/updateSetting', data, fn); | ||
196 | } | ||
197 | } | ||
198 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/config/settings.js
0 → 100644
1 | var env = process.env; | ||
2 | |||
3 | var settings = { | ||
4 | |||
5 | //全局设置 | ||
6 | gbs: { | ||
7 | // host: '//slsadmin.api.' + (env.NODE_ENV === 'development' ? 'sls' : 'sailengsi') + '.com', | ||
8 | host: '/vuedemo', //接口根地址。本地代理到slsadmin.api.sls.com,线上使用的是Nginx代理 | ||
9 | db_prefix: 'sls_admin_', //本地存储的key | ||
10 | }, | ||
11 | |||
12 | //回调 | ||
13 | cbs: { | ||
14 | /** | ||
15 | * ajax请求成功,返回的状态码不是200时调用 | ||
16 | * @param {object} err 返回的对象,包含错误码和错误信息 | ||
17 | */ | ||
18 | statusError(err) { | ||
19 | if (err.status !== 404) { | ||
20 | this.$message({ | ||
21 | showClose: true, | ||
22 | message: '返回错误:' + err.msg, | ||
23 | type: 'error' | ||
24 | }); | ||
25 | } else { | ||
26 | this.$store.dispatch('remove_userinfo').then(() => { | ||
27 | this.$alert(err.status + ',' + err.msg + '!', '登录错误', { | ||
28 | confirmButtonText: '确定', | ||
29 | callback: action => { | ||
30 | this.$router.push('/login'); | ||
31 | } | ||
32 | }); | ||
33 | }); | ||
34 | } | ||
35 | }, | ||
36 | |||
37 | /** | ||
38 | * ajax请求网络出错时调用 | ||
39 | */ | ||
40 | requestError(err) { | ||
41 | this.$message({ | ||
42 | showClose: true, | ||
43 | message: '请求错误:' + err.response.status + ',' + err.response.statusText, | ||
44 | type: 'error' | ||
45 | }); | ||
46 | } | ||
47 | } | ||
48 | }; | ||
49 | |||
50 | |||
51 | module.exports = settings; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/libs/jroll/jroll.min.js
0 → 100644
1 | /*! JRoll v2.3.2 ~ (c) 2015-2016 Author:BarZu Git:https://github.com/chjtx/JRoll Website:http://www.chjtx.com/JRoll/ */ | ||
2 | ;!function(o,r,l){"use strict";function e(o){var r=v.findScroller(o.target);r?(c.jrollActive=r,r.moving&&(o.preventDefault(),r.moving=!1),r._start(o)):c.jrollActive=null}function t(o){if(c.jrollActive){var l=r.activeElement;c.jrollActive.options.preventDefault&&o.preventDefault(),!v.isMobile||"INPUT"!==l.tagName&&"TEXTAREA"!==l.tagName||l.blur(),c.jrollActive._move(o)}}function s(){c.jrollActive&&c.jrollActive._end()}function n(){setTimeout(function(){for(var o in m)m[o].refresh().scrollTo(m[o].x,m[o].y,200)},600)}function i(o){var r=v.findScroller(o.target);r&&r._wheel(o)}function a(o,l){r.addEventListener(o,l,!1)}var c,p="2.3.2",d=o.requestAnimationFrame||o.webkitRequestAnimationFrame||function(o){setTimeout(o,17)},u=r.createElement("div").style,m={},f=navigator.userAgent.toLowerCase(),_=function(){for(var o,r=["t","webkitT","MozT","msT","OT"],l=r.length;l--;)if(o=r[l]+"ransform",o in u)return r[l]}(),v={TSF:_+"ransform",TSD:_+"ransitionDuration",TFO:_+"ransformOrigin",isAndroid:/android/.test(f),isIOS:/iphone|ipad/.test(f),isMobile:/mobile|phone|android|pad/.test(f),translateZ:function(o){var r;return r=o?o+"Perspective"in u:"perspective"in u,r?" translateZ(0px)":""}(_.substr(0,_.length-1)),computePosition:function(o,r){for(var l=0,e=0;o;)l+=o.offsetLeft,e+=o.offsetTop,o=o.offsetParent,o===r&&(o=null);return{left:l,top:e}},moveTo:function(o,r,l,e,t){function s(){p-=17,p<=0?(n=r,i=l):(n=parseInt(n+a,10),i=parseInt(i+c,10)),o.style[v.TSF]="translate("+n+"px, "+i+"px)"+v.translateZ+" scale("+_+")",p>0&&(n!==r||i!==l)?d(s):"function"==typeof t&&t()}var n,i,a,c,p,u,m=0,f=0,_=1;u=/translate\(([\-\d\.]+)px,\s+([\-\d\.]+)px\)\s+(?:translateZ\(0px\)\s+)?scale\(([\d\.]+)\)/.exec(o.style[v.TSF]),u&&(m=Number(u[1]),f=Number(u[2]),_=Number(u[3])),p=e||17,a=(r-m)/(p/17),c=(l-f)/(p/17),n=m,i=f,s()},findScroller:function(o,l){var e;if(l||!("TEXTAREA"===o.tagName&&o.scrollHeight>o.offsetHeight))for(;o!==r;){if(e=o.getAttribute("jroll-id"))return m[e];o=o.parentNode}return null}};a(v.isMobile?"touchstart":"mousedown",e),a(v.isMobile?"touchmove":"mousemove",t),a(v.isMobile?"touchend":"mouseup",s),v.isMobile?a("touchcancel",s):a(/firefox/.test(f)?"DOMMouseScroll":"mousewheel",i),o.addEventListener("resize",n),o.addEventListener("orientationchange",n),c=function(o,r){this._init(o,r)},c.version=p,c.utils=v,c.jrollMap=m,c.prototype={_init:function(e,t){var s=this;if(s.wrapper="string"==typeof e?r.querySelector(e):e,s.scroller=t&&t.scroller?"string"==typeof t.scroller?r.querySelector(t.scroller):t.scroller:s.wrapper.children[0],s.scroller.jroll)return s.scroller.jroll.refresh(),s.scroller.jroll;s.scroller.jroll=s,s.wrapperOffset=v.computePosition(s.wrapper,r.body),s.id=t&&t.id||s.scroller.getAttribute("jroll-id")||"jroll_"+l.random().toString().substr(2,8),s.scroller.setAttribute("jroll-id",s.id),m[s.id]=s,s.options={scrollX:!1,scrollY:!0,scrollFree:!1,minX:null,maxX:null,minY:null,maxY:null,zoom:!1,zoomMin:1,zoomMax:4,bounce:!0,scrollBarX:!1,scrollBarY:!1,scrollBarFade:!1,preventDefault:!0,momentum:!0,autoStyle:!0};for(var n in t)"scroller"!==n&&(s.options[n]=t[n]);s.options.autoStyle&&("static"===o.getComputedStyle(s.wrapper).position&&(s.wrapper.style.position="relative",s.wrapper.style.top="0",s.wrapper.style.left="0"),s.wrapper.style.overflow="hidden",s.scroller.style.minHeight="100%"),s.x=0,s.y=0,s.s=null,s.scrollBarX=null,s.scrollBarY=null,s._s={startX:0,startY:0,lastX:0,lastY:0,endX:0,endY:0},s._z={spacing:0,scale:1,startScale:1},s._event={scrollStart:[],scroll:[],scrollEnd:[],zoomStart:[],zoom:[],zoomEnd:[],refresh:[],touchEnd:[]},s.refresh(!0)},enable:function(){var o=this;return o.scroller.setAttribute("jroll-id",o.id),o},disable:function(){var o=this;return o.scroller.removeAttribute("jroll-id"),o},destroy:function(){var o=this;delete m[o.id],delete o.scroller.jroll,o.scrollBarX&&o.wrapper.removeChild(o.scrollBarX),o.scrollBarY&&o.wrapper.removeChild(o.scrollBarY),o.disable(),o.scroller.style[v.tSF]="",o.scroller.style[v.tSD]="",o.prototype=null;for(var r in o)o.hasOwnProperty(r)&&delete o[r]},call:function(o,r){var l=this;return l._s.lockX=!1,l._s.lockY=!1,l.scrollTo(l.x,l.y),c.jrollActive=o,r&&o._start(r),o},refresh:function(o){var r,e,t,s,n,i,a=this,c=getComputedStyle(a.wrapper),p=getComputedStyle(a.scroller);return a.wrapperWidth=a.wrapper.clientWidth,a.wrapperHeight=a.wrapper.clientHeight,a.scrollerWidth=l.round(a.scroller.offsetWidth*a._z.scale),a.scrollerHeight=l.round(a.scroller.offsetHeight*a._z.scale),r=parseInt(c["padding-left"])+parseInt(c["padding-right"]),e=parseInt(c["padding-top"])+parseInt(c["padding-bottom"]),t=parseInt(p["margin-left"])+parseInt(p["margin-right"]),s=parseInt(p["margin-top"])+parseInt(p["margin-bottom"]),a.minScrollX=null===a.options.minX?0:a.options.minX,a.maxScrollX=null===a.options.maxX?a.wrapperWidth-a.scrollerWidth-r-t:a.options.maxX,a.minScrollY=null===a.options.minY?0:a.options.minY,a.maxScrollY=null===a.options.maxY?a.wrapperHeight-a.scrollerHeight-e-s:a.options.maxY,a.minScrollX<0&&(a.minScrollX=0),a.minScrollY<0&&(a.minScrollY=0),a.maxScrollX>0&&(a.maxScrollX=0),a.maxScrollY>0&&(a.maxScrollY=0),a._s.endX=a.x,a._s.endY=a.y,a.options.scrollBarX?(a.scrollBarX||(n=a._createScrollBar("jroll-xbar","jroll-xbtn",!1),a.scrollBarX=n[0],a.scrollBtnX=n[1]),a.scrollBarScaleX=a.wrapper.clientWidth/a.scrollerWidth,i=l.round(a.scrollBarX.clientWidth*a.scrollBarScaleX),a.scrollBtnX.style.width=(i>8?i:8)+"px",a._runScrollBarX()):a.scrollBarX&&(a.wrapper.removeChild(a.scrollBarX),a.scrollBarX=null),a.options.scrollBarY?(a.scrollBarY||(n=a._createScrollBar("jroll-ybar","jroll-ybtn",!0),a.scrollBarY=n[0],a.scrollBtnY=n[1]),a.scrollBarScaleY=a.wrapper.clientHeight/a.scrollerHeight,i=l.round(a.scrollBarY.clientHeight*a.scrollBarScaleY),a.scrollBtnY.style.height=(i>8?i:8)+"px",a._runScrollBarY()):a.scrollBarY&&(a.wrapper.removeChild(a.scrollBarY),a.scrollBarY=null),o||a._execEvent("refresh"),a},scale:function(o){var r=this,l=parseFloat(o);return isNaN(l)||(r.scroller.style[v.TFO]="0 0",r._z.scale=l,r.refresh()._scrollTo(r.x,r.y),r.scrollTo(r.x,r.y,400)),r},_wheel:function(o){var r=this,l=o.wheelDelta||120*-(o.detail/3);(r.options.scrollY||r.options.scrollFree)&&r.scrollTo(r.x,r._compute(r.y+l,r.minScrollY,r.maxScrollY))},_runScrollBarX:function(){var o=this,r=l.round(-1*o.x*o.scrollBarScaleX);o._scrollTo.call({scroller:o.scrollBtnX,_z:{scale:1}},r,0)},_runScrollBarY:function(){var o=this,r=l.round(-1*o.y*o.scrollBarScaleY);o._scrollTo.call({scroller:o.scrollBtnY,_z:{scale:1}},0,r)},_createScrollBar:function(o,l,e){var t,s,n=this;return t=r.createElement("div"),s=r.createElement("div"),t.className=o,s.className=l,this.options.scrollBarX!==!0&&this.options.scrollBarY!==!0||(e?(t.style.cssText="position:absolute;top:2px;right:2px;bottom:2px;width:6px;overflow:hidden;border-radius:2px;-webkit-transform: scaleX(.5);transform: scaleX(.5);",s.style.cssText="background:rgba(0,0,0,.4);position:absolute;top:0;left:0;right:0;border-radius:2px;"):(t.style.cssText="position:absolute;left:2px;bottom:2px;right:2px;height:6px;overflow:hidden;border-radius:2px;-webkit-transform: scaleY(.5);transform: scaleY(.5);",s.style.cssText="background:rgba(0,0,0,.4);height:100%;position:absolute;left:0;top:0;bottom:0;border-radius:2px;")),n.options.scrollBarFade&&(t.style.opacity=0),t.appendChild(s),n.wrapper.appendChild(t),[t,s]},_fade:function(o,r){var l=this;l.fading&&r>0&&(r-=25,r%100===0&&(o.style.opacity=r/1e3),d(l._fade.bind(l,o,r)))},on:function(o,r){var l=this;switch(o){case"scrollStart":l._event.scrollStart.push(r);break;case"scroll":l._event.scroll.push(r);break;case"scrollEnd":l._event.scrollEnd.push(r);break;case"zoomStart":l._event.zoomStart.push(r);break;case"zoom":l._event.zoom.push(r);break;case"zoomEnd":l._event.zoomEnd.push(r);break;case"refresh":l._event.refresh.push(r);break;case"touchEnd":l._event.touchEnd.push(r)}},_execEvent:function(o,r){for(var l=this,e=l._event[o].length-1;e>=0;e--)l._event[o][e].call(l,r)},_compute:function(o,r,e){var t=this;return o>r?t.options.bounce&&o>r+10?l.round(r+(o-r)/4):r:o<e?t.options.bounce&&o<e-10?l.round(e+(o-e)/4):e:o},_scrollTo:function(o,r){this.scroller.style[v.TSF]="translate("+o+"px, "+r+"px)"+v.translateZ+" scale("+this._z.scale+")"},scrollTo:function(o,r,l,e,t,s,n){var i=this;return e?(i.x=o,i.y=r):(o>=i.minScrollX?(i.x=i.minScrollX,n&&(i._s.startX=n[0].pageX,i._s.endX=i.minScrollX)):o<=i.maxScrollX?(i.x=i.maxScrollX,n&&(i._s.startX=n[0].pageX,i._s.endX=i.maxScrollX)):i.x=o,r>=i.minScrollY?(i.y=i.minScrollY,n&&(i._s.startY=n[0].pageY,i._s.endY=i.minScrollY)):r<=i.maxScrollY?(i.y=i.maxScrollY,n&&(i._s.startY=n[0].pageY,i._s.endY=i.maxScrollY)):i.y=r),s||(i._s.endX=i.x,i._s.endY=i.y),l?v.moveTo(i.scroller,i.x,i.y,l,t):(i._scrollTo(i.x,i.y),"function"==typeof t&&t()),i.scrollBtnX&&i._runScrollBarX(),i.scrollBtnY&&i._runScrollBarY(),i},_endAction:function(){var o=this;o._s.endX=o.x,o._s.endY=o.y,o.moving=!1,o.options.scrollBarFade&&!o.fading&&(o.fading=!0,o.scrollBarX&&o._fade(o.scrollBarX,2e3),o.scrollBarY&&o._fade(o.scrollBarY,2e3)),o._execEvent("scrollEnd")},_stepBounce:function(){function o(){r.scrollTo(r.x,r.y,100)}var r=this;r.bouncing=!1,"scrollY"===r.s?1===r.directionY?(r.scrollTo(r.x,r.minScrollY+20,100,!0,o),r.y=r.minScrollY):(r.scrollTo(r.x,r.maxScrollY-20,100,!0,o),r.y=r.maxScrollY):"scrollX"===r.s&&(1===r.directionX?(r.scrollTo(r.minScrollX+20,r.y,100,!0,o),r.x=r.minScrollX):(r.scrollTo(r.maxScrollX-20,r.y,100,!0,o),r.x=r.maxScrollX))},_x:function(o){var r=this,l=r.directionX*o;isNaN(l)||(r.x=r.x+l,(r.x>=r.minScrollX||r.x<=r.maxScrollX)&&(r.moving=!1,r.options.bounce&&(r.bouncing=!0)))},_y:function(o){var r=this,l=r.directionY*o;isNaN(l)||(r.y=r.y+l,(r.y>=r.minScrollY||r.y<=r.maxScrollY)&&(r.moving=!1,r.options.bounce&&(r.bouncing=!0)))},_xy:function(o){var r=this,e=l.round(r.cosX*o),t=l.round(r.cosY*o);isNaN(e)||isNaN(t)||(r.x=r.x+e,r.y=r.y+t,(r.x>=r.minScrollX||r.x<=r.maxScrollX)&&(r.y>=r.minScrollY||r.y<=r.maxScrollY)&&(r.moving=!1))},_step:function(o){var r=this,e=Date.now(),t=e-o,s=0;if(r.bouncing&&r._stepBounce(),!r.moving)return void r._endAction();if(t>10){if(r.speed=r.speed-t*(r.speed>1.2?.001:r.speed>.6?8e-4:6e-4),s=l.round(r.speed*t),r.speed<=0||s<=0)return void r._endAction();o=e,r._do(s),r.scrollTo(r.x,r.y,0,!1,null,!0),r._execEvent("scroll")}d(r._step.bind(r,o))},_doScroll:function(r,l){var e,t=this;t.distance=r,t.options.bounce&&(t.x=t._compute(t.x,t.minScrollX,t.maxScrollX),t.y=t._compute(t.y,t.minScrollY,t.maxScrollY)),t.scrollTo(t.x,t.y,0,t.options.bounce,null,!0,l.touches||[l]),t._execEvent("scroll",l),l&&l.touches&&(e=l.touches[0].pageY,(e<=10||e>=o.innerHeight-10)&&t._end())},_start:function(o){var r=this,e=o.touches||[o];if((r.options.scrollX||r.options.scrollY||r.options.scrollFree)&&(1===e.length||!r.options.zoom))return r.s="preScroll",r.distance=0,r.lastMoveTime=r.startTime=Date.now(),r._s.lastX=r.startPositionX=r._s.startX=e[0].pageX,r._s.lastY=r.startPositionY=r._s.startY=e[0].pageY,void r._execEvent("scrollStart",o);if(r.s=null,r.options.zoom&&e.length>1){r.s="preZoom",r.scroller.style[v.TFO]="0 0";var t=l.abs(e[0].pageX-e[1].pageX),s=l.abs(e[0].pageY-e[1].pageY);return r._z.spacing=l.sqrt(t*t+s*s),r._z.startScale=r._z.scale,r.originX=l.abs(e[0].pageX+e[1].pageX)/2-r.wrapperOffset.left-r.x,r.originY=l.abs(e[0].pageY+e[1].pageY)/2-r.wrapperOffset.top-r.y,void r._execEvent("zoomStart",o)}},_move:function(o){var r,e,t,s,n,i,a,c,p=this,d=o.touches||[o],u=1,m=1;if(e=d[0].pageX,t=d[0].pageY,s=e-p._s.lastX,n=t-p._s.lastY,p._s.lastX=e,p._s.lastY=t,u=s>=0?1:-1,m=n>=0?1:-1,r=Date.now(),(r-p.lastMoveTime>200||p.directionX!==u||p.directionY!==m)&&(p.startTime=r,p.startPositionX=e,p.startPositionY=t,p.directionX=u,p.directionY=m),p.lastMoveTime=r,i=e-p.startPositionX,a=t-p.startPositionY,"preScroll"===p.s){if(p.options.scrollBarFade&&(p.fading=!1,p.scrollBarX&&(p.scrollBarX.style.opacity=1),p.scrollBarY&&(p.scrollBarY.style.opacity=1)),!p.options.scrollFree&&p.options.scrollY&&(!p.options.scrollX||l.abs(t-p._s.startY)>=l.abs(e-p._s.startX)))return p._do=p._y,void(p.s="scrollY");if(!p.options.scrollFree&&p.options.scrollX&&(!p.options.scrollY||l.abs(t-p._s.startY)<l.abs(e-p._s.startX)))return p._do=p._x,void(p.s="scrollX");if(p.options.scrollFree)return p._do=p._xy,void(p.s="scrollFree")}if("scrollY"===p.s)return p.y=t-p._s.startY+p._s.endY,void p._doScroll(a,o);if("scrollX"===p.s)return p.x=e-p._s.startX+p._s.endX,void p._doScroll(i,o);if("scrollFree"===p.s)return p.x=e-p._s.startX+p._s.endX,p.y=t-p._s.startY+p._s.endY,c=l.sqrt(i*i+a*a),p.cosX=i/c,p.cosY=a/c,void p._doScroll(l.sqrt(i*i+a*a),o);if("preZoom"===p.s){var f,_=l.abs(d[0].pageX-d[1].pageX),v=l.abs(d[0].pageY-d[1].pageY),x=l.sqrt(_*_+v*v),h=x/p._z.spacing*p._z.startScale;return h<p.options.zoomMin?h=p.options.zoomMin:h>p.options.zoomMax&&(h=p.options.zoomMax),f=h/p._z.startScale,p.x=l.round(p.originX-p.originX*f+p._s.endX),p.y=l.round(p.originY-p.originY*f+p._s.endY),p._z.scale=h,p._scrollTo(p.x,p.y),void p._execEvent("zoom",o)}},_end:function(){var o,r,e=this,t=Date.now(),s="scrollY"===e.s,n="scrollX"===e.s,i="scrollFree"===e.s;return c.jrollActive=null,e._execEvent("touchEnd"),s||n||i?(e.duration=t-e.startTime,o=e.y>e.minScrollY||e.y<e.maxScrollY,r=e.x>e.minScrollX||e.x<e.maxScrollX,void(s&&o||n&&r||i&&(o||r)?e.scrollTo(e.x,e.y,300)._endAction():e.options.momentum&&e.duration<200&&e.distance?(e.speed=l.abs(e.distance/e.duration),e.speed=e.speed>2?2:e.speed,e.moving=!0,d(e._step.bind(e,t))):e._endAction())):"preZoom"===e.s?(e._z.scale>e.options.zoomMax?e._z.scale=e.options.zoomMax:e._z.scale<e.options.zoomMin&&(e._z.scale=e.options.zoomMin),e.refresh(),e.scrollTo(e.x,e.y,400),void e._execEvent("zoomEnd")):void("preScroll"!==e.s&&"preZoom"!==e.s||!e.options.scrollBarFade||e.fading||(e.fading=!0,e.scrollBarX&&e._fade(e.scrollBarX,2e3),e.scrollBarY&&e._fade(e.scrollBarY,2e3)))}},"undefined"!=typeof module&&module.exports&&(module.exports=c),"function"==typeof define&&define(function(){return c}),o.JRoll=c}(window,document,Math); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/main.js
0 → 100644
1 | import Vue from 'vue'; | ||
2 | |||
3 | // element-ui | ||
4 | import ElementUI from 'element-ui'; | ||
5 | import 'element-ui/lib/theme-default/index.css'; | ||
6 | Vue.use(ElementUI); | ||
7 | //iview | ||
8 | import iview from 'iview'; | ||
9 | import 'iview/dist/styles/iview.css'; // 使用 CSS | ||
10 | Vue.use(iview); | ||
11 | |||
12 | // router | ||
13 | import VueRouter from 'vue-router'; | ||
14 | Vue.use(VueRouter); | ||
15 | // vuex | ||
16 | import Vuex from 'vuex'; | ||
17 | Vue.use(Vuex); | ||
18 | |||
19 | //全局的CSS | ||
20 | import './assets/css/main.css'; | ||
21 | |||
22 | //全局组件 | ||
23 | import Bread from './components/Layout/Bread.vue'; | ||
24 | Vue.component('bread', Bread); | ||
25 | |||
26 | // root component | ||
27 | import App from './App'; | ||
28 | |||
29 | //vuex store | ||
30 | import store from './store/'; | ||
31 | |||
32 | |||
33 | import routes from './router'; | ||
34 | //import routes from './config/router.js'; | ||
35 | |||
36 | import 'plugins/'; | ||
37 | import 'mixin/'; | ||
38 | |||
39 | const router = new VueRouter({ | ||
40 | routes | ||
41 | }); | ||
42 | |||
43 | router.beforeEach((to, from, next) => { | ||
44 | window.scroll(0, 0); | ||
45 | iview.LoadingBar.start(); | ||
46 | // if (!store.state.user.userinfo.token && to.path !== '/login') { | ||
47 | // store.dispatch('remove_userinfo'); | ||
48 | // next('/login'); | ||
49 | // } else { | ||
50 | // if (store.state.user.userinfo.token && to.path === '/login') { | ||
51 | // next({ | ||
52 | // path: '/demo/user/list' | ||
53 | // }); | ||
54 | // } else { | ||
55 | // NProgress.start(); | ||
56 | // next(); | ||
57 | // } | ||
58 | // } | ||
59 | next(); | ||
60 | }) | ||
61 | |||
62 | router.afterEach(transition => { | ||
63 | iview.LoadingBar.finish(); | ||
64 | }); | ||
65 | |||
66 | const appAdmin = new Vue({ | ||
67 | el: '#app', | ||
68 | data() { | ||
69 | return { | ||
70 | |||
71 | }; | ||
72 | }, | ||
73 | // template: '<App/>', | ||
74 | router, | ||
75 | store, | ||
76 | render: h => h(App) | ||
77 | }) | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/mixin/Created/index.js
0 → 100644
File mode changed
src/mixin/Methods/Common/FormData.js
0 → 100644
1 | module.exports = { | ||
2 | /** | ||
3 | * 检测富文本内容 | ||
4 | * @param {object} object 富文本对象集 | ||
5 | * @param {object} object.editor_temp_data 富文本对象集 | ||
6 | * @param {object} object.field_infos 富文本对象说明 | ||
7 | * @param {boolean} object.type 是否返回boolean值 | ||
8 | * @return {object or boolean} 如果传了type返回Boolean,否则返回验证信息 | ||
9 | */ | ||
10 | onCheckEditor({ | ||
11 | editor_temp_data, | ||
12 | field_infos, | ||
13 | type | ||
14 | }) { | ||
15 | var obj = { | ||
16 | status: 200 | ||
17 | }; | ||
18 | for (var id in editor_temp_data) { | ||
19 | if (!editor_temp_data[id].text) { | ||
20 | if ((editor_temp_data[id].html.indexOf('<iframe') == -1 || editor_temp_data[id].html.indexOf('</iframe>') == -1) && (editor_temp_data[id].html.indexOf('<img') == -1)) { | ||
21 | if (field_infos && field_infos[id]) { | ||
22 | this.$message.error(field_infos[id].msg); | ||
23 | } | ||
24 | obj.status = 1; | ||
25 | obj.id = id; | ||
26 | break; | ||
27 | } | ||
28 | } | ||
29 | } | ||
30 | return type === true ? obj.status === 200 : obj; | ||
31 | }, | ||
32 | |||
33 | onSubmit({ | ||
34 | data, | ||
35 | editor_temp_data | ||
36 | }) { | ||
37 | if (editor_temp_data) { | ||
38 | var check = this.onCheckEditor({ | ||
39 | editor_temp_data, | ||
40 | field_infos: this.tips, | ||
41 | type: true | ||
42 | }); | ||
43 | if (check) { | ||
44 | for (var f in this.tips) { | ||
45 | data[this.tips[f].field] = editor_temp_data[f].html; | ||
46 | } | ||
47 | this.onSubmitFn && this.onSubmitFn(data); | ||
48 | } | ||
49 | } else { | ||
50 | this.onSubmitFn && this.onSubmitFn(data); | ||
51 | } | ||
52 | } | ||
53 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/mixin/Methods/Common/ListData.js
0 → 100644
1 | module.exports = { | ||
2 | getDataList() { | ||
3 | var query = this.$route.query; | ||
4 | var params = Object.assign({}, { | ||
5 | page_size: this.pagination.page_size, | ||
6 | page: this.pagination.current_page | ||
7 | }, query); | ||
8 | |||
9 | |||
10 | this[this.apis.method.get_list](params, (data) => { | ||
11 | this.list = data.list.data; | ||
12 | this.pagination.total = data.list.total; | ||
13 | }); | ||
14 | }, | ||
15 | |||
16 | onChangeCurrentPage(page) { | ||
17 | this.setRoutePath({ | ||
18 | page | ||
19 | }); | ||
20 | }, | ||
21 | onChangePageSize(page_size) { | ||
22 | this.setRoutePath({ | ||
23 | page_size | ||
24 | }); | ||
25 | }, | ||
26 | |||
27 | setRoutePath(q) { | ||
28 | var query = this.$route.query; | ||
29 | var params = Object.assign({}, query, q); | ||
30 | var path = this.$route.path; | ||
31 | |||
32 | this.$router.push({ | ||
33 | path, | ||
34 | query: params | ||
35 | }); | ||
36 | |||
37 | this.getDataList(); | ||
38 | |||
39 | }, | ||
40 | |||
41 | /** | ||
42 | * 点击按钮通用事件 | ||
43 | * @param {object} opts 返回参数 | ||
44 | */ | ||
45 | onGetInfo(opts) { | ||
46 | console.log('on-get-info'); | ||
47 | console.log(opts); | ||
48 | switch (opts.type) { | ||
49 | case 'select': | ||
50 | console.log('select'); | ||
51 | break; | ||
52 | case 'update': | ||
53 | this.$router.push({ | ||
54 | path: this.apis.route.update_path, | ||
55 | query: { | ||
56 | id: opts.row.id | ||
57 | } | ||
58 | }); | ||
59 | break; | ||
60 | } | ||
61 | }, | ||
62 | |||
63 | |||
64 | /** | ||
65 | * 点击删除按钮事件 | ||
66 | * @param {object} opts 返回参数 | ||
67 | */ | ||
68 | onDelete(opts) { | ||
69 | console.log('on-delete'); | ||
70 | console.log(opts); | ||
71 | |||
72 | |||
73 | if (opts.index >= 0) { | ||
74 | var batch = false; | ||
75 | var id = opts.data.id; | ||
76 | } else { | ||
77 | var batch = true; | ||
78 | var id = opts.batch_ids.join(','); | ||
79 | } | ||
80 | |||
81 | this[this.apis.method.delete_data]({ | ||
82 | id: id | ||
83 | }, data => { | ||
84 | if (batch === true) { | ||
85 | this.list = this.list.filter((item) => { | ||
86 | return opts.batch_ids.indexOf(item.id) === -1; | ||
87 | }); | ||
88 | } else { | ||
89 | this.list.splice(opts.index, 1); | ||
90 | } | ||
91 | }); | ||
92 | }, | ||
93 | |||
94 | onSelectionChange(ids, datas) { | ||
95 | console.log('on-selection-change'); | ||
96 | }, | ||
97 | |||
98 | onSelectionChangeObj({ | ||
99 | ids, | ||
100 | datas | ||
101 | }) { | ||
102 | console.log('on-selection-change-obj'); | ||
103 | }, | ||
104 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/mixin/Methods/Common/index.js
0 → 100644
src/mixin/Methods/index.js
0 → 100644
src/mixin/Mounted/index.js
0 → 100644
File mode changed
src/mixin/index.js
0 → 100644
1 | import Vue from 'vue'; | ||
2 | |||
3 | /** | ||
4 | * 递归提取一个对象中的所有函数 | ||
5 | * @param {object} obj 对象 | ||
6 | * @return {object} 所有函数都将被包装到这个对象中 | ||
7 | */ | ||
8 | function mergeManyObjToOneObj(obj) { | ||
9 | var newObj = {}; | ||
10 | if (obj && typeof obj === 'object') { | ||
11 | for (var f in obj) { | ||
12 | if (typeof obj[f] === 'function') { | ||
13 | newObj[f] = obj[f]; | ||
14 | } | ||
15 | if (typeof obj[f] === 'object') { | ||
16 | Object.assign(newObj, mergeManyObjToOneObj(obj[f])); | ||
17 | } | ||
18 | } | ||
19 | } | ||
20 | return newObj; | ||
21 | } | ||
22 | |||
23 | //导入自定义的全局混合 | ||
24 | var mixins = { | ||
25 | methods: mergeManyObjToOneObj(require('./Methods/')) | ||
26 | }; | ||
27 | |||
28 | //注册全局混合 | ||
29 | Vue.mixin(mixins); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/plugins/index.js
0 → 100644
1 | import Vue from 'vue'; | ||
2 | |||
3 | |||
4 | /** | ||
5 | * 导入需要注册的对象 | ||
6 | */ | ||
7 | import { | ||
8 | plugins | ||
9 | } from 'register/'; | ||
10 | |||
11 | |||
12 | /** | ||
13 | * 注册到Vue对象中 | ||
14 | */ | ||
15 | Vue.use({ | ||
16 | install(Vue, options) { | ||
17 | |||
18 | /** | ||
19 | * 递归把需要用到的方法以插件形式注册到Vue上 | ||
20 | * @param {object} target 注册目标对象,即Vue | ||
21 | * @param {object} source 需要注册的对象 | ||
22 | */ | ||
23 | var deepRegister = function(target, source) { | ||
24 | for (var k in source) { | ||
25 | if (typeof source[k] === 'object') { | ||
26 | deepRegister(target, source[k]); | ||
27 | } else { | ||
28 | target.prototype['$$' + k] = source[k]; | ||
29 | } | ||
30 | } | ||
31 | } | ||
32 | |||
33 | deepRegister(Vue, plugins); | ||
34 | } | ||
35 | }); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/register/index.js
0 → 100644
src/router/accountRouter.js
0 → 100644
1 | import { | ||
2 | Layout, | ||
3 | Modules | ||
4 | } from '../components/'; | ||
5 | |||
6 | module.exports = [{ | ||
7 | path: '/account', | ||
8 | name: '帐号中心', | ||
9 | component: Modules.Account.AccountView, | ||
10 | children: [{ | ||
11 | path: '', | ||
12 | name: '目录', | ||
13 | component: Modules.Account.AccountList | ||
14 | }, { | ||
15 | path: ':id', | ||
16 | name: '帐号设置', | ||
17 | component: Modules.Account.AccountList | ||
18 | } | ||
19 | |||
20 | ] | ||
21 | }] | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/router/apiDocRouter.js
0 → 100644
1 | import { | ||
2 | Layout, | ||
3 | Modules | ||
4 | } from '../components/'; | ||
5 | |||
6 | |||
7 | module.exports = [{ | ||
8 | path: '/interface', | ||
9 | name: '接口文档', | ||
10 | component: Modules.ApiDoc.ApiDocView, | ||
11 | children: [{ | ||
12 | path: '', | ||
13 | name: '目录', | ||
14 | component: Modules.ApiDoc.ApiList, | ||
15 | }, { | ||
16 | path: 'pro/:id', | ||
17 | name: '项目详情', | ||
18 | component: Modules.ApiDoc.Detail.ApiDetail, | ||
19 | }, { | ||
20 | path: 'detail/:id', | ||
21 | name: '商品模块', | ||
22 | component: Modules.ApiDoc.Detail.ApiDetail, | ||
23 | }, { | ||
24 | path: 'debug/:id', | ||
25 | name: '商品模块', | ||
26 | component: Modules.ApiDoc.Detail.ApiDebug, | ||
27 | } | ||
28 | |||
29 | ] | ||
30 | }] | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/router/helpDocRouter.js
0 → 100644
1 | import { | ||
2 | Layout, | ||
3 | Modules | ||
4 | } from '../components/'; | ||
5 | |||
6 | module.exports = [{ | ||
7 | path: '/doc', | ||
8 | name: '帮助文档', | ||
9 | component: Modules.HelpDoc.HelpDocView, | ||
10 | children: [{ | ||
11 | path: '', | ||
12 | name: '目录', | ||
13 | component: Modules.HelpDoc.DocList, | ||
14 | }, { | ||
15 | path: 'pro/:id', | ||
16 | name: '项目详情', | ||
17 | component: Modules.ApiDoc.Detail.ApiDetail, | ||
18 | }, { | ||
19 | path: 'detail/:id', | ||
20 | name: '商品模块', | ||
21 | component: Modules.ApiDoc.Detail.ApiDetail, | ||
22 | }, { | ||
23 | path: 'debug/:id', | ||
24 | name: '商品模块', | ||
25 | component: Modules.ApiDoc.Detail.ApiDebug, | ||
26 | } | ||
27 | |||
28 | ] | ||
29 | }] | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/router/index.js
0 → 100644
1 | import apiDocRouter from './apiDocRouter' | ||
2 | import helpDocRouter from './helpDocRouter' | ||
3 | import supportRouter from './supportRouter' | ||
4 | import accountRouter from './accountRouter' | ||
5 | import { | ||
6 | Layout, | ||
7 | Modules, | ||
8 | Login | ||
9 | } from '../components/'; | ||
10 | const routes = [{ | ||
11 | path: '/', | ||
12 | name: '首页', | ||
13 | // hidden: true, | ||
14 | component: Modules.HomeView, | ||
15 | children: [{ | ||
16 | path: '', | ||
17 | name: '概要介绍', | ||
18 | // hidden: true, | ||
19 | meta: { hidenleft: true }, | ||
20 | component: Modules.MainCon.MainCon, | ||
21 | }] | ||
22 | }, { | ||
23 | path: '/login', | ||
24 | name: '登录', | ||
25 | component: Login.Login, | ||
26 | }, { | ||
27 | path: '/register', | ||
28 | name: '注册', | ||
29 | component: Login.Register, | ||
30 | } | ||
31 | |||
32 | ]; | ||
33 | module.exports = routes.concat(apiDocRouter).concat(helpDocRouter).concat(supportRouter).concat(accountRouter); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/router/supportRouter.js
0 → 100644
1 | import { | ||
2 | Layout, | ||
3 | Modules | ||
4 | } from '../components/'; | ||
5 | |||
6 | module.exports = [{ | ||
7 | path: '/support', | ||
8 | name: '支持中心', | ||
9 | component: Modules.Support.SupportView, | ||
10 | children: [{ | ||
11 | path: '', | ||
12 | name: '目录', | ||
13 | component: Modules.Support.SupportList | ||
14 | } | ||
15 | |||
16 | ] | ||
17 | }] | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/cart/actions.js
0 → 100644
1 | import * as types from './mutations_types'; | ||
2 | |||
3 | |||
4 | /*var actions = {}; | ||
5 | var mts = Object.keys(types); | ||
6 | for (var i = 0; i < mts.length; i++) { | ||
7 | var fun_name = mts[i].toLocaleLowerCase(), | ||
8 | cmt_name = mts[i]; | ||
9 | |||
10 | // console.log(fun_name, cmt_name); | ||
11 | |||
12 | actions[fun_name] = (function() { | ||
13 | return function({ | ||
14 | commit | ||
15 | }, arg) { | ||
16 | console.log(types[cmt_name]); | ||
17 | commit(types[cmt_name], arg); | ||
18 | commit(types.UPDATE_LOCAL); | ||
19 | } | ||
20 | })(); | ||
21 | } | ||
22 | console.log(actions); | ||
23 | module.exports = actions;*/ | ||
24 | |||
25 | |||
26 | module.exports = { | ||
27 | clear_local: ({ | ||
28 | commit | ||
29 | }) => { | ||
30 | commit(types.CLEAR_LOCAL); | ||
31 | }, | ||
32 | update_local: ({ | ||
33 | commit | ||
34 | }) => { | ||
35 | commit(types.UPDATE_LOCAL); | ||
36 | }, | ||
37 | update_cur_shop_status: ({ | ||
38 | commit | ||
39 | }, obj) => { | ||
40 | commit(types.UPDATE_CUR_SHOP_STATUS, obj); | ||
41 | }, | ||
42 | delete_db: ({ | ||
43 | commit | ||
44 | }) => { | ||
45 | commit(types.DELETE_DB); | ||
46 | commit(types.UPDATE_LOCAL); | ||
47 | }, | ||
48 | create_db: ({ | ||
49 | commit | ||
50 | }, { | ||
51 | shop | ||
52 | }) => { | ||
53 | commit(types.CREATE_DB, shop); | ||
54 | commit(types.UPDATE_LOCAL); | ||
55 | }, | ||
56 | add_db: ({ | ||
57 | commit | ||
58 | }) => { | ||
59 | commit(types.ADD_DB); | ||
60 | commit(types.UPDATE_LOCAL); | ||
61 | }, | ||
62 | reduce_db: ({ | ||
63 | commit | ||
64 | }) => { | ||
65 | commit(types.REDUCE_DB); | ||
66 | commit(types.UPDATE_LOCAL); | ||
67 | }, | ||
68 | check_db: ({ | ||
69 | commit | ||
70 | }, obj) => { | ||
71 | commit(types.CHECK_DB, obj); | ||
72 | } | ||
73 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/cart/getters.js
0 → 100644
1 | module.exports = { | ||
2 | getInfos(state) { | ||
3 | state.cartInfos.total_price = 0; | ||
4 | state.cartInfos.total_nums = 0; | ||
5 | var list = state.cartList; | ||
6 | for (var i = 0; i < list.length; i++) { | ||
7 | var price = parseInt(list[i].price), | ||
8 | num = parseInt(list[i].num); | ||
9 | |||
10 | state.cartInfos.total_price += price * num; | ||
11 | state.cartInfos.total_nums += num; | ||
12 | } | ||
13 | return state.cartInfos; | ||
14 | }, | ||
15 | getCartList(state) { | ||
16 | return state.cartList; | ||
17 | } | ||
18 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/cart/index.js
0 → 100644
src/store/cart/mutations.js
0 → 100644
1 | import * as types from './mutations_types' | ||
2 | |||
3 | module.exports = { | ||
4 | [types.CLEAR_LOCAL](state) { | ||
5 | state.cartList.forEach(function(item) { | ||
6 | item.num = 0; | ||
7 | }); | ||
8 | state.cartList = []; | ||
9 | localStorage.removeItem('vuex_cart'); | ||
10 | }, | ||
11 | [types.UPDATE_LOCAL](state) { | ||
12 | localStorage.setItem('vuex_cart', JSON.stringify(state.cartList)); | ||
13 | }, | ||
14 | [types.UPDATE_CUR_SHOP_STATUS](state, { | ||
15 | index = -1 | ||
16 | }) { | ||
17 | state.curIndex = index; | ||
18 | }, | ||
19 | [types.DELETE_DB](state) { | ||
20 | if (state.curIndex >= 0) { | ||
21 | state.cartList[state.curIndex].num = 0; | ||
22 | state.cartList.splice(state.curIndex, 1); | ||
23 | } | ||
24 | }, | ||
25 | [types.CREATE_DB](state, shop) { | ||
26 | // console.log('mu create'); | ||
27 | |||
28 | state.cartList.push(shop); | ||
29 | }, | ||
30 | [types.ADD_DB](state) { | ||
31 | // console.log('mu add id:' + state.curIndex); | ||
32 | |||
33 | state.cartList[state.curIndex].num = parseInt(state.cartList[state.curIndex].num); | ||
34 | state.cartList[state.curIndex].num++; | ||
35 | }, | ||
36 | [types.REDUCE_DB](state) { | ||
37 | // console.log('mu reduce'); | ||
38 | |||
39 | state.cartList[state.curIndex].num = parseInt(state.cartList[state.curIndex].num); | ||
40 | state.cartList[state.curIndex].num--; | ||
41 | |||
42 | // console.log(state.cartList[state.curIndex].num); | ||
43 | if (state.cartList[state.curIndex].num == 0) { | ||
44 | state.cartList.splice(state.curIndex, 1); | ||
45 | } | ||
46 | }, | ||
47 | [types.CHECK_DB](state, { | ||
48 | id | ||
49 | }) { | ||
50 | // console.log('mu check id :' + id); | ||
51 | // console.log(state.cartList); | ||
52 | |||
53 | state.curIndex = -1; | ||
54 | |||
55 | var list = state.cartList; | ||
56 | if (list.length) { | ||
57 | for (var i = 0; i < list.length; i++) { | ||
58 | if (list[i].id == id) { | ||
59 | state.curIndex = i; | ||
60 | break; | ||
61 | } | ||
62 | } | ||
63 | } | ||
64 | } | ||
65 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/cart/mutations_types.js
0 → 100644
1 | //添加菜品到购物车 | ||
2 | export const CREATE_DB = 'CREATE_DB'; | ||
3 | |||
4 | //给购物车的菜品++ | ||
5 | export const ADD_DB = 'ADD_DB'; | ||
6 | |||
7 | //给购物车的菜品-- | ||
8 | export const REDUCE_DB = 'REDUCE_DB'; | ||
9 | |||
10 | //删除购物车的索引 | ||
11 | export const DELETE_DB = 'DELETE_DB'; | ||
12 | |||
13 | //更新当前菜品在购物车的状态 | ||
14 | export const UPDATE_CUR_SHOP_STATUS = 'UPDATE_CUR_SHOP_STATUS'; | ||
15 | |||
16 | //检测购物车内是否存在某菜品 | ||
17 | export const CHECK_DB = 'CHECK_DB'; | ||
18 | |||
19 | //更新本地数据 | ||
20 | export const UPDATE_LOCAL = 'UPDATE_LOCAL'; | ||
21 | |||
22 | //清空本地数据 | ||
23 | export const CLEAR_LOCAL = 'CLEAR_LOCAL'; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/cart/state.js
0 → 100644
1 | module.exports = { | ||
2 | //购物车列表 | ||
3 | cartList: localStorage.getItem('vuex_cart') ? JSON.parse(localStorage.getItem('vuex_cart')) : [], | ||
4 | |||
5 | //当前购物车信息 | ||
6 | cartInfos: { | ||
7 | total_price: 0, | ||
8 | total_nums: 0 | ||
9 | }, | ||
10 | |||
11 | //当前菜品是否在购物车的状态。在则是对应的索引,不在则是-1 | ||
12 | curIndex: -1 | ||
13 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/global/actions.js
0 → 100644
1 | import * as types from './mutations_types'; | ||
2 | |||
3 | module.exports = { | ||
4 | show_loading: ({ | ||
5 | commit | ||
6 | }) => { | ||
7 | return new Promise((resolve, reject) => { | ||
8 | commit(types.SHOW_LOADING); | ||
9 | resolve() | ||
10 | }); | ||
11 | }, | ||
12 | |||
13 | hide_loading: ({ | ||
14 | commit | ||
15 | }) => { | ||
16 | return new Promise((resolve, reject) => { | ||
17 | commit(types.HIDE_LOADING); | ||
18 | resolve() | ||
19 | }); | ||
20 | } | ||
21 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/global/getters.js
0 → 100644
src/store/global/index.js
0 → 100644
src/store/global/mutations.js
0 → 100644
1 | import * as types from './mutations_types' | ||
2 | |||
3 | import { | ||
4 | store | ||
5 | } from '../../util/'; | ||
6 | |||
7 | module.exports = { | ||
8 | [types.SHOW_LOADING](state) { | ||
9 | state.ajax_loading = true; | ||
10 | }, | ||
11 | |||
12 | [types.HIDE_LOADING](state) { | ||
13 | state.ajax_loading = false; | ||
14 | } | ||
15 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/global/mutations_types.js
0 → 100644
src/store/global/state.js
0 → 100644
src/store/index.js
0 → 100644
1 | import Vue from 'vue'; | ||
2 | import Vuex from 'vuex'; | ||
3 | Vue.use(Vuex); | ||
4 | |||
5 | import cart from './cart/'; | ||
6 | import router from './router/'; | ||
7 | import leftmenu from './leftmenu/'; | ||
8 | import user from './userinfo/'; | ||
9 | import global from './global/'; | ||
10 | |||
11 | module.exports = new Vuex.Store({ | ||
12 | modules: { | ||
13 | global, | ||
14 | cart, | ||
15 | router, | ||
16 | leftmenu, | ||
17 | user | ||
18 | } | ||
19 | }); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/leftmenu/actions.js
0 → 100644
src/store/leftmenu/getters.js
0 → 100644
src/store/leftmenu/index.js
0 → 100644
src/store/leftmenu/mutations.js
0 → 100644
1 | import * as types from './mutations_types' | ||
2 | |||
3 | module.exports = { | ||
4 | [types.SET_MENU_OPEN](state) { | ||
5 | state.width = '190px'; | ||
6 | state.menu_flag = true; | ||
7 | }, | ||
8 | [types.SET_MENU_CLOSE](state) { | ||
9 | state.width = '50px'; | ||
10 | state.menu_flag = false; | ||
11 | }, | ||
12 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/leftmenu/mutations_types.js
0 → 100644
src/store/leftmenu/state.js
0 → 100644
src/store/router/actions.js
0 → 100644
src/store/router/getters.js
0 → 100644
src/store/router/index.js
0 → 100644
src/store/router/mutations.js
0 → 100644
src/store/router/mutations_types.js
0 → 100644
src/store/router/state.js
0 → 100644
src/store/userinfo/actions.js
0 → 100644
1 | import * as types from './mutations_types'; | ||
2 | |||
3 | module.exports = { | ||
4 | update_userinfo: ({ | ||
5 | commit | ||
6 | }, { | ||
7 | userinfo | ||
8 | }) => { | ||
9 | return new Promise((resolve, reject) => { | ||
10 | commit(types.UPDATE_USERINFO, { | ||
11 | userinfo | ||
12 | }); | ||
13 | resolve() | ||
14 | }); | ||
15 | }, | ||
16 | |||
17 | remove_userinfo: ({ | ||
18 | commit | ||
19 | }) => { | ||
20 | return new Promise((resolve, reject) => { | ||
21 | commit(types.REMOVE_USERINFO); | ||
22 | resolve() | ||
23 | }); | ||
24 | }, | ||
25 | |||
26 | |||
27 | update_remumber: ({ | ||
28 | commit | ||
29 | }, { | ||
30 | remumber_flag, | ||
31 | remumber_login_info | ||
32 | }) => { | ||
33 | return new Promise((resolve, reject) => { | ||
34 | commit(types.UPDATE_REMUMBER, { | ||
35 | remumber_flag, | ||
36 | remumber_login_info | ||
37 | }); | ||
38 | resolve() | ||
39 | }); | ||
40 | }, | ||
41 | |||
42 | remove_remumber: ({ | ||
43 | commit | ||
44 | }) => { | ||
45 | return new Promise((resolve, reject) => { | ||
46 | commit(types.REMOVE_REMUMBER); | ||
47 | resolve() | ||
48 | }); | ||
49 | } | ||
50 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/userinfo/getters.js
0 → 100644
1 | module.exports = { | ||
2 | getUserinfo(state) { | ||
3 | return state.userinfo; | ||
4 | }, | ||
5 | |||
6 | getToken(state) { | ||
7 | return state.userinfo && state.userinfo.token ? state.userinfo.token : ''; | ||
8 | }, | ||
9 | |||
10 | getRemumber(state){ | ||
11 | return state.remumber; | ||
12 | } | ||
13 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/userinfo/index.js
0 → 100644
src/store/userinfo/mutations.js
0 → 100644
1 | import * as types from './mutations_types' | ||
2 | |||
3 | import { | ||
4 | store | ||
5 | } from '../../util/'; | ||
6 | |||
7 | module.exports = { | ||
8 | [types.UPDATE_USERINFO](state, user_db) { | ||
9 | state.userinfo = user_db.userinfo || {}; | ||
10 | store.set('userinfo', state.userinfo); | ||
11 | }, | ||
12 | |||
13 | [types.REMOVE_USERINFO](state) { | ||
14 | store.remove('userinfo'); | ||
15 | state.userinfo = {}; | ||
16 | }, | ||
17 | |||
18 | [types.UPDATE_REMUMBER](state, user_db) { | ||
19 | state.remumber.remumber_flag = user_db.remumber_flag; | ||
20 | state.remumber.remumber_login_info = user_db.remumber_login_info; | ||
21 | |||
22 | store.set('remumber_flag', state.remumber.remumber_flag); | ||
23 | store.set('remumber_login_info', state.remumber.remumber_login_info); | ||
24 | }, | ||
25 | |||
26 | |||
27 | [types.REMOVE_REMUMBER](state) { | ||
28 | store.remove('remumber_flag'); | ||
29 | store.remove('remumber_login_info'); | ||
30 | |||
31 | state.remumber.remumber_flag = false; | ||
32 | state.remumber.remumber_login_info = { | ||
33 | username: '', | ||
34 | token: '' | ||
35 | }; | ||
36 | }, | ||
37 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/userinfo/mutations_types.js
0 → 100644
1 | //更新用户信息 | ||
2 | export const UPDATE_USERINFO = 'UPDATE_USERINFO'; | ||
3 | |||
4 | //清空用户信息 | ||
5 | export const REMOVE_USERINFO = 'REMOVE_USERINFO'; | ||
6 | |||
7 | //更新记录密码相关信息 | ||
8 | export const UPDATE_REMUMBER = 'UPDATE_REMUMBER'; | ||
9 | |||
10 | //清空记录密码相关信息 | ||
11 | export const REMOVE_REMUMBER = 'REMOVE_REMUMBER'; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/store/userinfo/state.js
0 → 100644
1 | import { | ||
2 | store | ||
3 | } from '../../util/'; | ||
4 | |||
5 | |||
6 | module.exports = { | ||
7 | //登录成功后的用户信息 | ||
8 | userinfo: store.get('userinfo') || {}, | ||
9 | |||
10 | //记住密码相关信息,现在暂且只做记住一个账号密码 | ||
11 | //后期:每次登录成功一次,就缓存到列表中,然后在登录表单,输入时,会出现下拉列表选择之前登录过得用户 | ||
12 | remumber: { | ||
13 | remumber_flag: store.get('remumber_flag') ? true : false, | ||
14 | remumber_login_info: store.get('remumber_login_info') || { | ||
15 | username: '', | ||
16 | token: '' | ||
17 | } | ||
18 | }, | ||
19 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/util/ajax/ajax.js
0 → 100644
1 | import Vue from 'vue'; | ||
2 | import axios from 'axios'; | ||
3 | import VueAxios from 'vue-axios'; | ||
4 | import iview from 'iview'; | ||
5 | // 导入封装的回调函数 | ||
6 | import { | ||
7 | cbs, | ||
8 | gbs | ||
9 | } from 'config/settings.js'; | ||
10 | // axios 配置 | ||
11 | axios.defaults.timeout = 5000; | ||
12 | axios.defaults.baseURL = gbs.host; | ||
13 | |||
14 | // http request 拦截器 | ||
15 | axios.interceptors.request.use( | ||
16 | config => { | ||
17 | // if (store.state.token) { | ||
18 | // config.headers.Authorization = `token ${store.state.token}`; | ||
19 | // } | ||
20 | return config; | ||
21 | }, | ||
22 | err => { | ||
23 | return Promise.reject(err); | ||
24 | }); | ||
25 | |||
26 | // http response 拦截器 | ||
27 | axios.interceptors.response.use( | ||
28 | response => { | ||
29 | iview.Message.info("response拦截器vue"); | ||
30 | console.log("response拦截器"); | ||
31 | return response; | ||
32 | }, | ||
33 | error => { | ||
34 | if (error.response) { | ||
35 | switch (error.response.status) { | ||
36 | case 500: | ||
37 | console.log("500,服务器异常"); | ||
38 | // 401 清除token信息并跳转到登录页面 | ||
39 | // store.commit(types.LOGOUT); | ||
40 | // router.replace({ | ||
41 | // path: 'login', | ||
42 | // query: { redirect: router.currentRoute.fullPath } | ||
43 | // }) | ||
44 | } | ||
45 | } | ||
46 | iview.Message.error("发生了错误") | ||
47 | // console.log(JSON.stringify(error)); //console : Error: Request failed with status code 402 | ||
48 | return Promise.reject(error.response.data) | ||
49 | }); | ||
50 | |||
51 | Vue.use(VueAxios, axios); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/util/ajax/http.js
0 → 100644
1 | import axios from 'axios' | ||
2 | import store from './store/store' | ||
3 | import * as types from './store/types' | ||
4 | import router from './router' | ||
5 | |||
6 | // axios 配置 | ||
7 | axios.defaults.timeout = 5000; | ||
8 | axios.defaults.baseURL = 'https://api.github.com'; | ||
9 | |||
10 | // http request 拦截器 | ||
11 | axios.interceptors.request.use( | ||
12 | config => { | ||
13 | if (store.state.token) { | ||
14 | config.headers.Authorization = `token ${store.state.token}`; | ||
15 | } | ||
16 | return config; | ||
17 | }, | ||
18 | err => { | ||
19 | return Promise.reject(err); | ||
20 | }); | ||
21 | |||
22 | // http response 拦截器 | ||
23 | axios.interceptors.response.use( | ||
24 | response => { | ||
25 | return response; | ||
26 | }, | ||
27 | error => { | ||
28 | if (error.response) { | ||
29 | switch (error.response.status) { | ||
30 | case 401: | ||
31 | // 401 清除token信息并跳转到登录页面 | ||
32 | store.commit(types.LOGOUT); | ||
33 | router.replace({ | ||
34 | path: 'login', | ||
35 | query: { redirect: router.currentRoute.fullPath } | ||
36 | }) | ||
37 | } | ||
38 | } | ||
39 | // console.log(JSON.stringify(error));//console : Error: Request failed with status code 402 | ||
40 | return Promise.reject(error.response.data) | ||
41 | }); | ||
42 | |||
43 | export default axios; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/util/ajax/index.js
0 → 100644
1 | module.exports = require('./ajax.js'); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/util/index.js
0 → 100644
src/util/store/index.js
0 → 100644
1 | module.exports = require('./store.js'); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/util/store/store.js
0 → 100644
1 | import { | ||
2 | gbs | ||
3 | } from 'config/settings.js'; | ||
4 | |||
5 | class Store { | ||
6 | constructor() { | ||
7 | this.store = window.localStorage; | ||
8 | this.prefix = gbs.db_prefix; | ||
9 | } | ||
10 | set(key, value, fn) { | ||
11 | try { | ||
12 | value = JSON.stringify(value); | ||
13 | } catch (e) { | ||
14 | value = value; | ||
15 | } | ||
16 | |||
17 | this.store.setItem(this.prefix + key, value); | ||
18 | |||
19 | fn && fn(); | ||
20 | } | ||
21 | get(key, fn) { | ||
22 | if (!key) { | ||
23 | throw new Error('没有找到key。'); | ||
24 | return; | ||
25 | } | ||
26 | if (typeof key === 'object') { | ||
27 | throw new Error('key不能是一个对象。'); | ||
28 | return; | ||
29 | } | ||
30 | var value = this.store.getItem(this.prefix + key); | ||
31 | if (value !== null) { | ||
32 | try { | ||
33 | value = JSON.parse(value); | ||
34 | } catch (e) { | ||
35 | value = value; | ||
36 | } | ||
37 | } | ||
38 | |||
39 | return value; | ||
40 | } | ||
41 | remove(key) { | ||
42 | this.store.removeItem(this.prefix + key); | ||
43 | } | ||
44 | } | ||
45 | module.exports = new Store(); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
static/.gitkeep
0 → 100644
File mode changed
static/font-awesome/css/font-awesome.css
0 → 100644
1 | /*! | ||
2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome | ||
3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) | ||
4 | */ | ||
5 | /* FONT PATH | ||
6 | * -------------------------- */ | ||
7 | @font-face { | ||
8 | font-family: 'FontAwesome'; | ||
9 | src: url('../fonts/fontawesome-webfont.eot?v=4.7.0'); | ||
10 | src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg'); | ||
11 | font-weight: normal; | ||
12 | font-style: normal; | ||
13 | } | ||
14 | .fa { | ||
15 | display: inline-block; | ||
16 | font: normal normal normal 14px/1 FontAwesome; | ||
17 | font-size: inherit; | ||
18 | text-rendering: auto; | ||
19 | -webkit-font-smoothing: antialiased; | ||
20 | -moz-osx-font-smoothing: grayscale; | ||
21 | } | ||
22 | /* makes the font 33% larger relative to the icon container */ | ||
23 | .fa-lg { | ||
24 | font-size: 1.33333333em; | ||
25 | line-height: 0.75em; | ||
26 | vertical-align: -15%; | ||
27 | } | ||
28 | .fa-2x { | ||
29 | font-size: 2em; | ||
30 | } | ||
31 | .fa-3x { | ||
32 | font-size: 3em; | ||
33 | } | ||
34 | .fa-4x { | ||
35 | font-size: 4em; | ||
36 | } | ||
37 | .fa-5x { | ||
38 | font-size: 5em; | ||
39 | } | ||
40 | .fa-fw { | ||
41 | width: 1.28571429em; | ||
42 | text-align: center; | ||
43 | } | ||
44 | .fa-ul { | ||
45 | padding-left: 0; | ||
46 | margin-left: 2.14285714em; | ||
47 | list-style-type: none; | ||
48 | } | ||
49 | .fa-ul > li { | ||
50 | position: relative; | ||
51 | } | ||
52 | .fa-li { | ||
53 | position: absolute; | ||
54 | left: -2.14285714em; | ||
55 | width: 2.14285714em; | ||
56 | top: 0.14285714em; | ||
57 | text-align: center; | ||
58 | } | ||
59 | .fa-li.fa-lg { | ||
60 | left: -1.85714286em; | ||
61 | } | ||
62 | .fa-border { | ||
63 | padding: .2em .25em .15em; | ||
64 | border: solid 0.08em #eeeeee; | ||
65 | border-radius: .1em; | ||
66 | } | ||
67 | .fa-pull-left { | ||
68 | float: left; | ||
69 | } | ||
70 | .fa-pull-right { | ||
71 | float: right; | ||
72 | } | ||
73 | .fa.fa-pull-left { | ||
74 | margin-right: .3em; | ||
75 | } | ||
76 | .fa.fa-pull-right { | ||
77 | margin-left: .3em; | ||
78 | } | ||
79 | /* Deprecated as of 4.4.0 */ | ||
80 | .pull-right { | ||
81 | float: right; | ||
82 | } | ||
83 | .pull-left { | ||
84 | float: left; | ||
85 | } | ||
86 | .fa.pull-left { | ||
87 | margin-right: .3em; | ||
88 | } | ||
89 | .fa.pull-right { | ||
90 | margin-left: .3em; | ||
91 | } | ||
92 | .fa-spin { | ||
93 | -webkit-animation: fa-spin 2s infinite linear; | ||
94 | animation: fa-spin 2s infinite linear; | ||
95 | } | ||
96 | .fa-pulse { | ||
97 | -webkit-animation: fa-spin 1s infinite steps(8); | ||
98 | animation: fa-spin 1s infinite steps(8); | ||
99 | } | ||
100 | @-webkit-keyframes fa-spin { | ||
101 | 0% { | ||
102 | -webkit-transform: rotate(0deg); | ||
103 | transform: rotate(0deg); | ||
104 | } | ||
105 | 100% { | ||
106 | -webkit-transform: rotate(359deg); | ||
107 | transform: rotate(359deg); | ||
108 | } | ||
109 | } | ||
110 | @keyframes fa-spin { | ||
111 | 0% { | ||
112 | -webkit-transform: rotate(0deg); | ||
113 | transform: rotate(0deg); | ||
114 | } | ||
115 | 100% { | ||
116 | -webkit-transform: rotate(359deg); | ||
117 | transform: rotate(359deg); | ||
118 | } | ||
119 | } | ||
120 | .fa-rotate-90 { | ||
121 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)"; | ||
122 | -webkit-transform: rotate(90deg); | ||
123 | -ms-transform: rotate(90deg); | ||
124 | transform: rotate(90deg); | ||
125 | } | ||
126 | .fa-rotate-180 { | ||
127 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; | ||
128 | -webkit-transform: rotate(180deg); | ||
129 | -ms-transform: rotate(180deg); | ||
130 | transform: rotate(180deg); | ||
131 | } | ||
132 | .fa-rotate-270 { | ||
133 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)"; | ||
134 | -webkit-transform: rotate(270deg); | ||
135 | -ms-transform: rotate(270deg); | ||
136 | transform: rotate(270deg); | ||
137 | } | ||
138 | .fa-flip-horizontal { | ||
139 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"; | ||
140 | -webkit-transform: scale(-1, 1); | ||
141 | -ms-transform: scale(-1, 1); | ||
142 | transform: scale(-1, 1); | ||
143 | } | ||
144 | .fa-flip-vertical { | ||
145 | -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"; | ||
146 | -webkit-transform: scale(1, -1); | ||
147 | -ms-transform: scale(1, -1); | ||
148 | transform: scale(1, -1); | ||
149 | } | ||
150 | :root .fa-rotate-90, | ||
151 | :root .fa-rotate-180, | ||
152 | :root .fa-rotate-270, | ||
153 | :root .fa-flip-horizontal, | ||
154 | :root .fa-flip-vertical { | ||
155 | filter: none; | ||
156 | } | ||
157 | .fa-stack { | ||
158 | position: relative; | ||
159 | display: inline-block; | ||
160 | width: 2em; | ||
161 | height: 2em; | ||
162 | line-height: 2em; | ||
163 | vertical-align: middle; | ||
164 | } | ||
165 | .fa-stack-1x, | ||
166 | .fa-stack-2x { | ||
167 | position: absolute; | ||
168 | left: 0; | ||
169 | width: 100%; | ||
170 | text-align: center; | ||
171 | } | ||
172 | .fa-stack-1x { | ||
173 | line-height: inherit; | ||
174 | } | ||
175 | .fa-stack-2x { | ||
176 | font-size: 2em; | ||
177 | } | ||
178 | .fa-inverse { | ||
179 | color: #ffffff; | ||
180 | } | ||
181 | /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen | ||
182 | readers do not read off random characters that represent icons */ | ||
183 | .fa-glass:before { | ||
184 | content: "\f000"; | ||
185 | } | ||
186 | .fa-music:before { | ||
187 | content: "\f001"; | ||
188 | } | ||
189 | .fa-search:before { | ||
190 | content: "\f002"; | ||
191 | } | ||
192 | .fa-envelope-o:before { | ||
193 | content: "\f003"; | ||
194 | } | ||
195 | .fa-heart:before { | ||
196 | content: "\f004"; | ||
197 | } | ||
198 | .fa-star:before { | ||
199 | content: "\f005"; | ||
200 | } | ||
201 | .fa-star-o:before { | ||
202 | content: "\f006"; | ||
203 | } | ||
204 | .fa-user:before { | ||
205 | content: "\f007"; | ||
206 | } | ||
207 | .fa-film:before { | ||
208 | content: "\f008"; | ||
209 | } | ||
210 | .fa-th-large:before { | ||
211 | content: "\f009"; | ||
212 | } | ||
213 | .fa-th:before { | ||
214 | content: "\f00a"; | ||
215 | } | ||
216 | .fa-th-list:before { | ||
217 | content: "\f00b"; | ||
218 | } | ||
219 | .fa-check:before { | ||
220 | content: "\f00c"; | ||
221 | } | ||
222 | .fa-remove:before, | ||
223 | .fa-close:before, | ||
224 | .fa-times:before { | ||
225 | content: "\f00d"; | ||
226 | } | ||
227 | .fa-search-plus:before { | ||
228 | content: "\f00e"; | ||
229 | } | ||
230 | .fa-search-minus:before { | ||
231 | content: "\f010"; | ||
232 | } | ||
233 | .fa-power-off:before { | ||
234 | content: "\f011"; | ||
235 | } | ||
236 | .fa-signal:before { | ||
237 | content: "\f012"; | ||
238 | } | ||
239 | .fa-gear:before, | ||
240 | .fa-cog:before { | ||
241 | content: "\f013"; | ||
242 | } | ||
243 | .fa-trash-o:before { | ||
244 | content: "\f014"; | ||
245 | } | ||
246 | .fa-home:before { | ||
247 | content: "\f015"; | ||
248 | } | ||
249 | .fa-file-o:before { | ||
250 | content: "\f016"; | ||
251 | } | ||
252 | .fa-clock-o:before { | ||
253 | content: "\f017"; | ||
254 | } | ||
255 | .fa-road:before { | ||
256 | content: "\f018"; | ||
257 | } | ||
258 | .fa-download:before { | ||
259 | content: "\f019"; | ||
260 | } | ||
261 | .fa-arrow-circle-o-down:before { | ||
262 | content: "\f01a"; | ||
263 | } | ||
264 | .fa-arrow-circle-o-up:before { | ||
265 | content: "\f01b"; | ||
266 | } | ||
267 | .fa-inbox:before { | ||
268 | content: "\f01c"; | ||
269 | } | ||
270 | .fa-play-circle-o:before { | ||
271 | content: "\f01d"; | ||
272 | } | ||
273 | .fa-rotate-right:before, | ||
274 | .fa-repeat:before { | ||
275 | content: "\f01e"; | ||
276 | } | ||
277 | .fa-refresh:before { | ||
278 | content: "\f021"; | ||
279 | } | ||
280 | .fa-list-alt:before { | ||
281 | content: "\f022"; | ||
282 | } | ||
283 | .fa-lock:before { | ||
284 | content: "\f023"; | ||
285 | } | ||
286 | .fa-flag:before { | ||
287 | content: "\f024"; | ||
288 | } | ||
289 | .fa-headphones:before { | ||
290 | content: "\f025"; | ||
291 | } | ||
292 | .fa-volume-off:before { | ||
293 | content: "\f026"; | ||
294 | } | ||
295 | .fa-volume-down:before { | ||
296 | content: "\f027"; | ||
297 | } | ||
298 | .fa-volume-up:before { | ||
299 | content: "\f028"; | ||
300 | } | ||
301 | .fa-qrcode:before { | ||
302 | content: "\f029"; | ||
303 | } | ||
304 | .fa-barcode:before { | ||
305 | content: "\f02a"; | ||
306 | } | ||
307 | .fa-tag:before { | ||
308 | content: "\f02b"; | ||
309 | } | ||
310 | .fa-tags:before { | ||
311 | content: "\f02c"; | ||
312 | } | ||
313 | .fa-book:before { | ||
314 | content: "\f02d"; | ||
315 | } | ||
316 | .fa-bookmark:before { | ||
317 | content: "\f02e"; | ||
318 | } | ||
319 | .fa-print:before { | ||
320 | content: "\f02f"; | ||
321 | } | ||
322 | .fa-camera:before { | ||
323 | content: "\f030"; | ||
324 | } | ||
325 | .fa-font:before { | ||
326 | content: "\f031"; | ||
327 | } | ||
328 | .fa-bold:before { | ||
329 | content: "\f032"; | ||
330 | } | ||
331 | .fa-italic:before { | ||
332 | content: "\f033"; | ||
333 | } | ||
334 | .fa-text-height:before { | ||
335 | content: "\f034"; | ||
336 | } | ||
337 | .fa-text-width:before { | ||
338 | content: "\f035"; | ||
339 | } | ||
340 | .fa-align-left:before { | ||
341 | content: "\f036"; | ||
342 | } | ||
343 | .fa-align-center:before { | ||
344 | content: "\f037"; | ||
345 | } | ||
346 | .fa-align-right:before { | ||
347 | content: "\f038"; | ||
348 | } | ||
349 | .fa-align-justify:before { | ||
350 | content: "\f039"; | ||
351 | } | ||
352 | .fa-list:before { | ||
353 | content: "\f03a"; | ||
354 | } | ||
355 | .fa-dedent:before, | ||
356 | .fa-outdent:before { | ||
357 | content: "\f03b"; | ||
358 | } | ||
359 | .fa-indent:before { | ||
360 | content: "\f03c"; | ||
361 | } | ||
362 | .fa-video-camera:before { | ||
363 | content: "\f03d"; | ||
364 | } | ||
365 | .fa-photo:before, | ||
366 | .fa-image:before, | ||
367 | .fa-picture-o:before { | ||
368 | content: "\f03e"; | ||
369 | } | ||
370 | .fa-pencil:before { | ||
371 | content: "\f040"; | ||
372 | } | ||
373 | .fa-map-marker:before { | ||
374 | content: "\f041"; | ||
375 | } | ||
376 | .fa-adjust:before { | ||
377 | content: "\f042"; | ||
378 | } | ||
379 | .fa-tint:before { | ||
380 | content: "\f043"; | ||
381 | } | ||
382 | .fa-edit:before, | ||
383 | .fa-pencil-square-o:before { | ||
384 | content: "\f044"; | ||
385 | } | ||
386 | .fa-share-square-o:before { | ||
387 | content: "\f045"; | ||
388 | } | ||
389 | .fa-check-square-o:before { | ||
390 | content: "\f046"; | ||
391 | } | ||
392 | .fa-arrows:before { | ||
393 | content: "\f047"; | ||
394 | } | ||
395 | .fa-step-backward:before { | ||
396 | content: "\f048"; | ||
397 | } | ||
398 | .fa-fast-backward:before { | ||
399 | content: "\f049"; | ||
400 | } | ||
401 | .fa-backward:before { | ||
402 | content: "\f04a"; | ||
403 | } | ||
404 | .fa-play:before { | ||
405 | content: "\f04b"; | ||
406 | } | ||
407 | .fa-pause:before { | ||
408 | content: "\f04c"; | ||
409 | } | ||
410 | .fa-stop:before { | ||
411 | content: "\f04d"; | ||
412 | } | ||
413 | .fa-forward:before { | ||
414 | content: "\f04e"; | ||
415 | } | ||
416 | .fa-fast-forward:before { | ||
417 | content: "\f050"; | ||
418 | } | ||
419 | .fa-step-forward:before { | ||
420 | content: "\f051"; | ||
421 | } | ||
422 | .fa-eject:before { | ||
423 | content: "\f052"; | ||
424 | } | ||
425 | .fa-chevron-left:before { | ||
426 | content: "\f053"; | ||
427 | } | ||
428 | .fa-chevron-right:before { | ||
429 | content: "\f054"; | ||
430 | } | ||
431 | .fa-plus-circle:before { | ||
432 | content: "\f055"; | ||
433 | } | ||
434 | .fa-minus-circle:before { | ||
435 | content: "\f056"; | ||
436 | } | ||
437 | .fa-times-circle:before { | ||
438 | content: "\f057"; | ||
439 | } | ||
440 | .fa-check-circle:before { | ||
441 | content: "\f058"; | ||
442 | } | ||
443 | .fa-question-circle:before { | ||
444 | content: "\f059"; | ||
445 | } | ||
446 | .fa-info-circle:before { | ||
447 | content: "\f05a"; | ||
448 | } | ||
449 | .fa-crosshairs:before { | ||
450 | content: "\f05b"; | ||
451 | } | ||
452 | .fa-times-circle-o:before { | ||
453 | content: "\f05c"; | ||
454 | } | ||
455 | .fa-check-circle-o:before { | ||
456 | content: "\f05d"; | ||
457 | } | ||
458 | .fa-ban:before { | ||
459 | content: "\f05e"; | ||
460 | } | ||
461 | .fa-arrow-left:before { | ||
462 | content: "\f060"; | ||
463 | } | ||
464 | .fa-arrow-right:before { | ||
465 | content: "\f061"; | ||
466 | } | ||
467 | .fa-arrow-up:before { | ||
468 | content: "\f062"; | ||
469 | } | ||
470 | .fa-arrow-down:before { | ||
471 | content: "\f063"; | ||
472 | } | ||
473 | .fa-mail-forward:before, | ||
474 | .fa-share:before { | ||
475 | content: "\f064"; | ||
476 | } | ||
477 | .fa-expand:before { | ||
478 | content: "\f065"; | ||
479 | } | ||
480 | .fa-compress:before { | ||
481 | content: "\f066"; | ||
482 | } | ||
483 | .fa-plus:before { | ||
484 | content: "\f067"; | ||
485 | } | ||
486 | .fa-minus:before { | ||
487 | content: "\f068"; | ||
488 | } | ||
489 | .fa-asterisk:before { | ||
490 | content: "\f069"; | ||
491 | } | ||
492 | .fa-exclamation-circle:before { | ||
493 | content: "\f06a"; | ||
494 | } | ||
495 | .fa-gift:before { | ||
496 | content: "\f06b"; | ||
497 | } | ||
498 | .fa-leaf:before { | ||
499 | content: "\f06c"; | ||
500 | } | ||
501 | .fa-fire:before { | ||
502 | content: "\f06d"; | ||
503 | } | ||
504 | .fa-eye:before { | ||
505 | content: "\f06e"; | ||
506 | } | ||
507 | .fa-eye-slash:before { | ||
508 | content: "\f070"; | ||
509 | } | ||
510 | .fa-warning:before, | ||
511 | .fa-exclamation-triangle:before { | ||
512 | content: "\f071"; | ||
513 | } | ||
514 | .fa-plane:before { | ||
515 | content: "\f072"; | ||
516 | } | ||
517 | .fa-calendar:before { | ||
518 | content: "\f073"; | ||
519 | } | ||
520 | .fa-random:before { | ||
521 | content: "\f074"; | ||
522 | } | ||
523 | .fa-comment:before { | ||
524 | content: "\f075"; | ||
525 | } | ||
526 | .fa-magnet:before { | ||
527 | content: "\f076"; | ||
528 | } | ||
529 | .fa-chevron-up:before { | ||
530 | content: "\f077"; | ||
531 | } | ||
532 | .fa-chevron-down:before { | ||
533 | content: "\f078"; | ||
534 | } | ||
535 | .fa-retweet:before { | ||
536 | content: "\f079"; | ||
537 | } | ||
538 | .fa-shopping-cart:before { | ||
539 | content: "\f07a"; | ||
540 | } | ||
541 | .fa-folder:before { | ||
542 | content: "\f07b"; | ||
543 | } | ||
544 | .fa-folder-open:before { | ||
545 | content: "\f07c"; | ||
546 | } | ||
547 | .fa-arrows-v:before { | ||
548 | content: "\f07d"; | ||
549 | } | ||
550 | .fa-arrows-h:before { | ||
551 | content: "\f07e"; | ||
552 | } | ||
553 | .fa-bar-chart-o:before, | ||
554 | .fa-bar-chart:before { | ||
555 | content: "\f080"; | ||
556 | } | ||
557 | .fa-twitter-square:before { | ||
558 | content: "\f081"; | ||
559 | } | ||
560 | .fa-facebook-square:before { | ||
561 | content: "\f082"; | ||
562 | } | ||
563 | .fa-camera-retro:before { | ||
564 | content: "\f083"; | ||
565 | } | ||
566 | .fa-key:before { | ||
567 | content: "\f084"; | ||
568 | } | ||
569 | .fa-gears:before, | ||
570 | .fa-cogs:before { | ||
571 | content: "\f085"; | ||
572 | } | ||
573 | .fa-comments:before { | ||
574 | content: "\f086"; | ||
575 | } | ||
576 | .fa-thumbs-o-up:before { | ||
577 | content: "\f087"; | ||
578 | } | ||
579 | .fa-thumbs-o-down:before { | ||
580 | content: "\f088"; | ||
581 | } | ||
582 | .fa-star-half:before { | ||
583 | content: "\f089"; | ||
584 | } | ||
585 | .fa-heart-o:before { | ||
586 | content: "\f08a"; | ||
587 | } | ||
588 | .fa-sign-out:before { | ||
589 | content: "\f08b"; | ||
590 | } | ||
591 | .fa-linkedin-square:before { | ||
592 | content: "\f08c"; | ||
593 | } | ||
594 | .fa-thumb-tack:before { | ||
595 | content: "\f08d"; | ||
596 | } | ||
597 | .fa-external-link:before { | ||
598 | content: "\f08e"; | ||
599 | } | ||
600 | .fa-sign-in:before { | ||
601 | content: "\f090"; | ||
602 | } | ||
603 | .fa-trophy:before { | ||
604 | content: "\f091"; | ||
605 | } | ||
606 | .fa-github-square:before { | ||
607 | content: "\f092"; | ||
608 | } | ||
609 | .fa-upload:before { | ||
610 | content: "\f093"; | ||
611 | } | ||
612 | .fa-lemon-o:before { | ||
613 | content: "\f094"; | ||
614 | } | ||
615 | .fa-phone:before { | ||
616 | content: "\f095"; | ||
617 | } | ||
618 | .fa-square-o:before { | ||
619 | content: "\f096"; | ||
620 | } | ||
621 | .fa-bookmark-o:before { | ||
622 | content: "\f097"; | ||
623 | } | ||
624 | .fa-phone-square:before { | ||
625 | content: "\f098"; | ||
626 | } | ||
627 | .fa-twitter:before { | ||
628 | content: "\f099"; | ||
629 | } | ||
630 | .fa-facebook-f:before, | ||
631 | .fa-facebook:before { | ||
632 | content: "\f09a"; | ||
633 | } | ||
634 | .fa-github:before { | ||
635 | content: "\f09b"; | ||
636 | } | ||
637 | .fa-unlock:before { | ||
638 | content: "\f09c"; | ||
639 | } | ||
640 | .fa-credit-card:before { | ||
641 | content: "\f09d"; | ||
642 | } | ||
643 | .fa-feed:before, | ||
644 | .fa-rss:before { | ||
645 | content: "\f09e"; | ||
646 | } | ||
647 | .fa-hdd-o:before { | ||
648 | content: "\f0a0"; | ||
649 | } | ||
650 | .fa-bullhorn:before { | ||
651 | content: "\f0a1"; | ||
652 | } | ||
653 | .fa-bell:before { | ||
654 | content: "\f0f3"; | ||
655 | } | ||
656 | .fa-certificate:before { | ||
657 | content: "\f0a3"; | ||
658 | } | ||
659 | .fa-hand-o-right:before { | ||
660 | content: "\f0a4"; | ||
661 | } | ||
662 | .fa-hand-o-left:before { | ||
663 | content: "\f0a5"; | ||
664 | } | ||
665 | .fa-hand-o-up:before { | ||
666 | content: "\f0a6"; | ||
667 | } | ||
668 | .fa-hand-o-down:before { | ||
669 | content: "\f0a7"; | ||
670 | } | ||
671 | .fa-arrow-circle-left:before { | ||
672 | content: "\f0a8"; | ||
673 | } | ||
674 | .fa-arrow-circle-right:before { | ||
675 | content: "\f0a9"; | ||
676 | } | ||
677 | .fa-arrow-circle-up:before { | ||
678 | content: "\f0aa"; | ||
679 | } | ||
680 | .fa-arrow-circle-down:before { | ||
681 | content: "\f0ab"; | ||
682 | } | ||
683 | .fa-globe:before { | ||
684 | content: "\f0ac"; | ||
685 | } | ||
686 | .fa-wrench:before { | ||
687 | content: "\f0ad"; | ||
688 | } | ||
689 | .fa-tasks:before { | ||
690 | content: "\f0ae"; | ||
691 | } | ||
692 | .fa-filter:before { | ||
693 | content: "\f0b0"; | ||
694 | } | ||
695 | .fa-briefcase:before { | ||
696 | content: "\f0b1"; | ||
697 | } | ||
698 | .fa-arrows-alt:before { | ||
699 | content: "\f0b2"; | ||
700 | } | ||
701 | .fa-group:before, | ||
702 | .fa-users:before { | ||
703 | content: "\f0c0"; | ||
704 | } | ||
705 | .fa-chain:before, | ||
706 | .fa-link:before { | ||
707 | content: "\f0c1"; | ||
708 | } | ||
709 | .fa-cloud:before { | ||
710 | content: "\f0c2"; | ||
711 | } | ||
712 | .fa-flask:before { | ||
713 | content: "\f0c3"; | ||
714 | } | ||
715 | .fa-cut:before, | ||
716 | .fa-scissors:before { | ||
717 | content: "\f0c4"; | ||
718 | } | ||
719 | .fa-copy:before, | ||
720 | .fa-files-o:before { | ||
721 | content: "\f0c5"; | ||
722 | } | ||
723 | .fa-paperclip:before { | ||
724 | content: "\f0c6"; | ||
725 | } | ||
726 | .fa-save:before, | ||
727 | .fa-floppy-o:before { | ||
728 | content: "\f0c7"; | ||
729 | } | ||
730 | .fa-square:before { | ||
731 | content: "\f0c8"; | ||
732 | } | ||
733 | .fa-navicon:before, | ||
734 | .fa-reorder:before, | ||
735 | .fa-bars:before { | ||
736 | content: "\f0c9"; | ||
737 | } | ||
738 | .fa-list-ul:before { | ||
739 | content: "\f0ca"; | ||
740 | } | ||
741 | .fa-list-ol:before { | ||
742 | content: "\f0cb"; | ||
743 | } | ||
744 | .fa-strikethrough:before { | ||
745 | content: "\f0cc"; | ||
746 | } | ||
747 | .fa-underline:before { | ||
748 | content: "\f0cd"; | ||
749 | } | ||
750 | .fa-table:before { | ||
751 | content: "\f0ce"; | ||
752 | } | ||
753 | .fa-magic:before { | ||
754 | content: "\f0d0"; | ||
755 | } | ||
756 | .fa-truck:before { | ||
757 | content: "\f0d1"; | ||
758 | } | ||
759 | .fa-pinterest:before { | ||
760 | content: "\f0d2"; | ||
761 | } | ||
762 | .fa-pinterest-square:before { | ||
763 | content: "\f0d3"; | ||
764 | } | ||
765 | .fa-google-plus-square:before { | ||
766 | content: "\f0d4"; | ||
767 | } | ||
768 | .fa-google-plus:before { | ||
769 | content: "\f0d5"; | ||
770 | } | ||
771 | .fa-money:before { | ||
772 | content: "\f0d6"; | ||
773 | } | ||
774 | .fa-caret-down:before { | ||
775 | content: "\f0d7"; | ||
776 | } | ||
777 | .fa-caret-up:before { | ||
778 | content: "\f0d8"; | ||
779 | } | ||
780 | .fa-caret-left:before { | ||
781 | content: "\f0d9"; | ||
782 | } | ||
783 | .fa-caret-right:before { | ||
784 | content: "\f0da"; | ||
785 | } | ||
786 | .fa-columns:before { | ||
787 | content: "\f0db"; | ||
788 | } | ||
789 | .fa-unsorted:before, | ||
790 | .fa-sort:before { | ||
791 | content: "\f0dc"; | ||
792 | } | ||
793 | .fa-sort-down:before, | ||
794 | .fa-sort-desc:before { | ||
795 | content: "\f0dd"; | ||
796 | } | ||
797 | .fa-sort-up:before, | ||
798 | .fa-sort-asc:before { | ||
799 | content: "\f0de"; | ||
800 | } | ||
801 | .fa-envelope:before { | ||
802 | content: "\f0e0"; | ||
803 | } | ||
804 | .fa-linkedin:before { | ||
805 | content: "\f0e1"; | ||
806 | } | ||
807 | .fa-rotate-left:before, | ||
808 | .fa-undo:before { | ||
809 | content: "\f0e2"; | ||
810 | } | ||
811 | .fa-legal:before, | ||
812 | .fa-gavel:before { | ||
813 | content: "\f0e3"; | ||
814 | } | ||
815 | .fa-dashboard:before, | ||
816 | .fa-tachometer:before { | ||
817 | content: "\f0e4"; | ||
818 | } | ||
819 | .fa-comment-o:before { | ||
820 | content: "\f0e5"; | ||
821 | } | ||
822 | .fa-comments-o:before { | ||
823 | content: "\f0e6"; | ||
824 | } | ||
825 | .fa-flash:before, | ||
826 | .fa-bolt:before { | ||
827 | content: "\f0e7"; | ||
828 | } | ||
829 | .fa-sitemap:before { | ||
830 | content: "\f0e8"; | ||
831 | } | ||
832 | .fa-umbrella:before { | ||
833 | content: "\f0e9"; | ||
834 | } | ||
835 | .fa-paste:before, | ||
836 | .fa-clipboard:before { | ||
837 | content: "\f0ea"; | ||
838 | } | ||
839 | .fa-lightbulb-o:before { | ||
840 | content: "\f0eb"; | ||
841 | } | ||
842 | .fa-exchange:before { | ||
843 | content: "\f0ec"; | ||
844 | } | ||
845 | .fa-cloud-download:before { | ||
846 | content: "\f0ed"; | ||
847 | } | ||
848 | .fa-cloud-upload:before { | ||
849 | content: "\f0ee"; | ||
850 | } | ||
851 | .fa-user-md:before { | ||
852 | content: "\f0f0"; | ||
853 | } | ||
854 | .fa-stethoscope:before { | ||
855 | content: "\f0f1"; | ||
856 | } | ||
857 | .fa-suitcase:before { | ||
858 | content: "\f0f2"; | ||
859 | } | ||
860 | .fa-bell-o:before { | ||
861 | content: "\f0a2"; | ||
862 | } | ||
863 | .fa-coffee:before { | ||
864 | content: "\f0f4"; | ||
865 | } | ||
866 | .fa-cutlery:before { | ||
867 | content: "\f0f5"; | ||
868 | } | ||
869 | .fa-file-text-o:before { | ||
870 | content: "\f0f6"; | ||
871 | } | ||
872 | .fa-building-o:before { | ||
873 | content: "\f0f7"; | ||
874 | } | ||
875 | .fa-hospital-o:before { | ||
876 | content: "\f0f8"; | ||
877 | } | ||
878 | .fa-ambulance:before { | ||
879 | content: "\f0f9"; | ||
880 | } | ||
881 | .fa-medkit:before { | ||
882 | content: "\f0fa"; | ||
883 | } | ||
884 | .fa-fighter-jet:before { | ||
885 | content: "\f0fb"; | ||
886 | } | ||
887 | .fa-beer:before { | ||
888 | content: "\f0fc"; | ||
889 | } | ||
890 | .fa-h-square:before { | ||
891 | content: "\f0fd"; | ||
892 | } | ||
893 | .fa-plus-square:before { | ||
894 | content: "\f0fe"; | ||
895 | } | ||
896 | .fa-angle-double-left:before { | ||
897 | content: "\f100"; | ||
898 | } | ||
899 | .fa-angle-double-right:before { | ||
900 | content: "\f101"; | ||
901 | } | ||
902 | .fa-angle-double-up:before { | ||
903 | content: "\f102"; | ||
904 | } | ||
905 | .fa-angle-double-down:before { | ||
906 | content: "\f103"; | ||
907 | } | ||
908 | .fa-angle-left:before { | ||
909 | content: "\f104"; | ||
910 | } | ||
911 | .fa-angle-right:before { | ||
912 | content: "\f105"; | ||
913 | } | ||
914 | .fa-angle-up:before { | ||
915 | content: "\f106"; | ||
916 | } | ||
917 | .fa-angle-down:before { | ||
918 | content: "\f107"; | ||
919 | } | ||
920 | .fa-desktop:before { | ||
921 | content: "\f108"; | ||
922 | } | ||
923 | .fa-laptop:before { | ||
924 | content: "\f109"; | ||
925 | } | ||
926 | .fa-tablet:before { | ||
927 | content: "\f10a"; | ||
928 | } | ||
929 | .fa-mobile-phone:before, | ||
930 | .fa-mobile:before { | ||
931 | content: "\f10b"; | ||
932 | } | ||
933 | .fa-circle-o:before { | ||
934 | content: "\f10c"; | ||
935 | } | ||
936 | .fa-quote-left:before { | ||
937 | content: "\f10d"; | ||
938 | } | ||
939 | .fa-quote-right:before { | ||
940 | content: "\f10e"; | ||
941 | } | ||
942 | .fa-spinner:before { | ||
943 | content: "\f110"; | ||
944 | } | ||
945 | .fa-circle:before { | ||
946 | content: "\f111"; | ||
947 | } | ||
948 | .fa-mail-reply:before, | ||
949 | .fa-reply:before { | ||
950 | content: "\f112"; | ||
951 | } | ||
952 | .fa-github-alt:before { | ||
953 | content: "\f113"; | ||
954 | } | ||
955 | .fa-folder-o:before { | ||
956 | content: "\f114"; | ||
957 | } | ||
958 | .fa-folder-open-o:before { | ||
959 | content: "\f115"; | ||
960 | } | ||
961 | .fa-smile-o:before { | ||
962 | content: "\f118"; | ||
963 | } | ||
964 | .fa-frown-o:before { | ||
965 | content: "\f119"; | ||
966 | } | ||
967 | .fa-meh-o:before { | ||
968 | content: "\f11a"; | ||
969 | } | ||
970 | .fa-gamepad:before { | ||
971 | content: "\f11b"; | ||
972 | } | ||
973 | .fa-keyboard-o:before { | ||
974 | content: "\f11c"; | ||
975 | } | ||
976 | .fa-flag-o:before { | ||
977 | content: "\f11d"; | ||
978 | } | ||
979 | .fa-flag-checkered:before { | ||
980 | content: "\f11e"; | ||
981 | } | ||
982 | .fa-terminal:before { | ||
983 | content: "\f120"; | ||
984 | } | ||
985 | .fa-code:before { | ||
986 | content: "\f121"; | ||
987 | } | ||
988 | .fa-mail-reply-all:before, | ||
989 | .fa-reply-all:before { | ||
990 | content: "\f122"; | ||
991 | } | ||
992 | .fa-star-half-empty:before, | ||
993 | .fa-star-half-full:before, | ||
994 | .fa-star-half-o:before { | ||
995 | content: "\f123"; | ||
996 | } | ||
997 | .fa-location-arrow:before { | ||
998 | content: "\f124"; | ||
999 | } | ||
1000 | .fa-crop:before { | ||
1001 | content: "\f125"; | ||
1002 | } | ||
1003 | .fa-code-fork:before { | ||
1004 | content: "\f126"; | ||
1005 | } | ||
1006 | .fa-unlink:before, | ||
1007 | .fa-chain-broken:before { | ||
1008 | content: "\f127"; | ||
1009 | } | ||
1010 | .fa-question:before { | ||
1011 | content: "\f128"; | ||
1012 | } | ||
1013 | .fa-info:before { | ||
1014 | content: "\f129"; | ||
1015 | } | ||
1016 | .fa-exclamation:before { | ||
1017 | content: "\f12a"; | ||
1018 | } | ||
1019 | .fa-superscript:before { | ||
1020 | content: "\f12b"; | ||
1021 | } | ||
1022 | .fa-subscript:before { | ||
1023 | content: "\f12c"; | ||
1024 | } | ||
1025 | .fa-eraser:before { | ||
1026 | content: "\f12d"; | ||
1027 | } | ||
1028 | .fa-puzzle-piece:before { | ||
1029 | content: "\f12e"; | ||
1030 | } | ||
1031 | .fa-microphone:before { | ||
1032 | content: "\f130"; | ||
1033 | } | ||
1034 | .fa-microphone-slash:before { | ||
1035 | content: "\f131"; | ||
1036 | } | ||
1037 | .fa-shield:before { | ||
1038 | content: "\f132"; | ||
1039 | } | ||
1040 | .fa-calendar-o:before { | ||
1041 | content: "\f133"; | ||
1042 | } | ||
1043 | .fa-fire-extinguisher:before { | ||
1044 | content: "\f134"; | ||
1045 | } | ||
1046 | .fa-rocket:before { | ||
1047 | content: "\f135"; | ||
1048 | } | ||
1049 | .fa-maxcdn:before { | ||
1050 | content: "\f136"; | ||
1051 | } | ||
1052 | .fa-chevron-circle-left:before { | ||
1053 | content: "\f137"; | ||
1054 | } | ||
1055 | .fa-chevron-circle-right:before { | ||
1056 | content: "\f138"; | ||
1057 | } | ||
1058 | .fa-chevron-circle-up:before { | ||
1059 | content: "\f139"; | ||
1060 | } | ||
1061 | .fa-chevron-circle-down:before { | ||
1062 | content: "\f13a"; | ||
1063 | } | ||
1064 | .fa-html5:before { | ||
1065 | content: "\f13b"; | ||
1066 | } | ||
1067 | .fa-css3:before { | ||
1068 | content: "\f13c"; | ||
1069 | } | ||
1070 | .fa-anchor:before { | ||
1071 | content: "\f13d"; | ||
1072 | } | ||
1073 | .fa-unlock-alt:before { | ||
1074 | content: "\f13e"; | ||
1075 | } | ||
1076 | .fa-bullseye:before { | ||
1077 | content: "\f140"; | ||
1078 | } | ||
1079 | .fa-ellipsis-h:before { | ||
1080 | content: "\f141"; | ||
1081 | } | ||
1082 | .fa-ellipsis-v:before { | ||
1083 | content: "\f142"; | ||
1084 | } | ||
1085 | .fa-rss-square:before { | ||
1086 | content: "\f143"; | ||
1087 | } | ||
1088 | .fa-play-circle:before { | ||
1089 | content: "\f144"; | ||
1090 | } | ||
1091 | .fa-ticket:before { | ||
1092 | content: "\f145"; | ||
1093 | } | ||
1094 | .fa-minus-square:before { | ||
1095 | content: "\f146"; | ||
1096 | } | ||
1097 | .fa-minus-square-o:before { | ||
1098 | content: "\f147"; | ||
1099 | } | ||
1100 | .fa-level-up:before { | ||
1101 | content: "\f148"; | ||
1102 | } | ||
1103 | .fa-level-down:before { | ||
1104 | content: "\f149"; | ||
1105 | } | ||
1106 | .fa-check-square:before { | ||
1107 | content: "\f14a"; | ||
1108 | } | ||
1109 | .fa-pencil-square:before { | ||
1110 | content: "\f14b"; | ||
1111 | } | ||
1112 | .fa-external-link-square:before { | ||
1113 | content: "\f14c"; | ||
1114 | } | ||
1115 | .fa-share-square:before { | ||
1116 | content: "\f14d"; | ||
1117 | } | ||
1118 | .fa-compass:before { | ||
1119 | content: "\f14e"; | ||
1120 | } | ||
1121 | .fa-toggle-down:before, | ||
1122 | .fa-caret-square-o-down:before { | ||
1123 | content: "\f150"; | ||
1124 | } | ||
1125 | .fa-toggle-up:before, | ||
1126 | .fa-caret-square-o-up:before { | ||
1127 | content: "\f151"; | ||
1128 | } | ||
1129 | .fa-toggle-right:before, | ||
1130 | .fa-caret-square-o-right:before { | ||
1131 | content: "\f152"; | ||
1132 | } | ||
1133 | .fa-euro:before, | ||
1134 | .fa-eur:before { | ||
1135 | content: "\f153"; | ||
1136 | } | ||
1137 | .fa-gbp:before { | ||
1138 | content: "\f154"; | ||
1139 | } | ||
1140 | .fa-dollar:before, | ||
1141 | .fa-usd:before { | ||
1142 | content: "\f155"; | ||
1143 | } | ||
1144 | .fa-rupee:before, | ||
1145 | .fa-inr:before { | ||
1146 | content: "\f156"; | ||
1147 | } | ||
1148 | .fa-cny:before, | ||
1149 | .fa-rmb:before, | ||
1150 | .fa-yen:before, | ||
1151 | .fa-jpy:before { | ||
1152 | content: "\f157"; | ||
1153 | } | ||
1154 | .fa-ruble:before, | ||
1155 | .fa-rouble:before, | ||
1156 | .fa-rub:before { | ||
1157 | content: "\f158"; | ||
1158 | } | ||
1159 | .fa-won:before, | ||
1160 | .fa-krw:before { | ||
1161 | content: "\f159"; | ||
1162 | } | ||
1163 | .fa-bitcoin:before, | ||
1164 | .fa-btc:before { | ||
1165 | content: "\f15a"; | ||
1166 | } | ||
1167 | .fa-file:before { | ||
1168 | content: "\f15b"; | ||
1169 | } | ||
1170 | .fa-file-text:before { | ||
1171 | content: "\f15c"; | ||
1172 | } | ||
1173 | .fa-sort-alpha-asc:before { | ||
1174 | content: "\f15d"; | ||
1175 | } | ||
1176 | .fa-sort-alpha-desc:before { | ||
1177 | content: "\f15e"; | ||
1178 | } | ||
1179 | .fa-sort-amount-asc:before { | ||
1180 | content: "\f160"; | ||
1181 | } | ||
1182 | .fa-sort-amount-desc:before { | ||
1183 | content: "\f161"; | ||
1184 | } | ||
1185 | .fa-sort-numeric-asc:before { | ||
1186 | content: "\f162"; | ||
1187 | } | ||
1188 | .fa-sort-numeric-desc:before { | ||
1189 | content: "\f163"; | ||
1190 | } | ||
1191 | .fa-thumbs-up:before { | ||
1192 | content: "\f164"; | ||
1193 | } | ||
1194 | .fa-thumbs-down:before { | ||
1195 | content: "\f165"; | ||
1196 | } | ||
1197 | .fa-youtube-square:before { | ||
1198 | content: "\f166"; | ||
1199 | } | ||
1200 | .fa-youtube:before { | ||
1201 | content: "\f167"; | ||
1202 | } | ||
1203 | .fa-xing:before { | ||
1204 | content: "\f168"; | ||
1205 | } | ||
1206 | .fa-xing-square:before { | ||
1207 | content: "\f169"; | ||
1208 | } | ||
1209 | .fa-youtube-play:before { | ||
1210 | content: "\f16a"; | ||
1211 | } | ||
1212 | .fa-dropbox:before { | ||
1213 | content: "\f16b"; | ||
1214 | } | ||
1215 | .fa-stack-overflow:before { | ||
1216 | content: "\f16c"; | ||
1217 | } | ||
1218 | .fa-instagram:before { | ||
1219 | content: "\f16d"; | ||
1220 | } | ||
1221 | .fa-flickr:before { | ||
1222 | content: "\f16e"; | ||
1223 | } | ||
1224 | .fa-adn:before { | ||
1225 | content: "\f170"; | ||
1226 | } | ||
1227 | .fa-bitbucket:before { | ||
1228 | content: "\f171"; | ||
1229 | } | ||
1230 | .fa-bitbucket-square:before { | ||
1231 | content: "\f172"; | ||
1232 | } | ||
1233 | .fa-tumblr:before { | ||
1234 | content: "\f173"; | ||
1235 | } | ||
1236 | .fa-tumblr-square:before { | ||
1237 | content: "\f174"; | ||
1238 | } | ||
1239 | .fa-long-arrow-down:before { | ||
1240 | content: "\f175"; | ||
1241 | } | ||
1242 | .fa-long-arrow-up:before { | ||
1243 | content: "\f176"; | ||
1244 | } | ||
1245 | .fa-long-arrow-left:before { | ||
1246 | content: "\f177"; | ||
1247 | } | ||
1248 | .fa-long-arrow-right:before { | ||
1249 | content: "\f178"; | ||
1250 | } | ||
1251 | .fa-apple:before { | ||
1252 | content: "\f179"; | ||
1253 | } | ||
1254 | .fa-windows:before { | ||
1255 | content: "\f17a"; | ||
1256 | } | ||
1257 | .fa-android:before { | ||
1258 | content: "\f17b"; | ||
1259 | } | ||
1260 | .fa-linux:before { | ||
1261 | content: "\f17c"; | ||
1262 | } | ||
1263 | .fa-dribbble:before { | ||
1264 | content: "\f17d"; | ||
1265 | } | ||
1266 | .fa-skype:before { | ||
1267 | content: "\f17e"; | ||
1268 | } | ||
1269 | .fa-foursquare:before { | ||
1270 | content: "\f180"; | ||
1271 | } | ||
1272 | .fa-trello:before { | ||
1273 | content: "\f181"; | ||
1274 | } | ||
1275 | .fa-female:before { | ||
1276 | content: "\f182"; | ||
1277 | } | ||
1278 | .fa-male:before { | ||
1279 | content: "\f183"; | ||
1280 | } | ||
1281 | .fa-gittip:before, | ||
1282 | .fa-gratipay:before { | ||
1283 | content: "\f184"; | ||
1284 | } | ||
1285 | .fa-sun-o:before { | ||
1286 | content: "\f185"; | ||
1287 | } | ||
1288 | .fa-moon-o:before { | ||
1289 | content: "\f186"; | ||
1290 | } | ||
1291 | .fa-archive:before { | ||
1292 | content: "\f187"; | ||
1293 | } | ||
1294 | .fa-bug:before { | ||
1295 | content: "\f188"; | ||
1296 | } | ||
1297 | .fa-vk:before { | ||
1298 | content: "\f189"; | ||
1299 | } | ||
1300 | .fa-weibo:before { | ||
1301 | content: "\f18a"; | ||
1302 | } | ||
1303 | .fa-renren:before { | ||
1304 | content: "\f18b"; | ||
1305 | } | ||
1306 | .fa-pagelines:before { | ||
1307 | content: "\f18c"; | ||
1308 | } | ||
1309 | .fa-stack-exchange:before { | ||
1310 | content: "\f18d"; | ||
1311 | } | ||
1312 | .fa-arrow-circle-o-right:before { | ||
1313 | content: "\f18e"; | ||
1314 | } | ||
1315 | .fa-arrow-circle-o-left:before { | ||
1316 | content: "\f190"; | ||
1317 | } | ||
1318 | .fa-toggle-left:before, | ||
1319 | .fa-caret-square-o-left:before { | ||
1320 | content: "\f191"; | ||
1321 | } | ||
1322 | .fa-dot-circle-o:before { | ||
1323 | content: "\f192"; | ||
1324 | } | ||
1325 | .fa-wheelchair:before { | ||
1326 | content: "\f193"; | ||
1327 | } | ||
1328 | .fa-vimeo-square:before { | ||
1329 | content: "\f194"; | ||
1330 | } | ||
1331 | .fa-turkish-lira:before, | ||
1332 | .fa-try:before { | ||
1333 | content: "\f195"; | ||
1334 | } | ||
1335 | .fa-plus-square-o:before { | ||
1336 | content: "\f196"; | ||
1337 | } | ||
1338 | .fa-space-shuttle:before { | ||
1339 | content: "\f197"; | ||
1340 | } | ||
1341 | .fa-slack:before { | ||
1342 | content: "\f198"; | ||
1343 | } | ||
1344 | .fa-envelope-square:before { | ||
1345 | content: "\f199"; | ||
1346 | } | ||
1347 | .fa-wordpress:before { | ||
1348 | content: "\f19a"; | ||
1349 | } | ||
1350 | .fa-openid:before { | ||
1351 | content: "\f19b"; | ||
1352 | } | ||
1353 | .fa-institution:before, | ||
1354 | .fa-bank:before, | ||
1355 | .fa-university:before { | ||
1356 | content: "\f19c"; | ||
1357 | } | ||
1358 | .fa-mortar-board:before, | ||
1359 | .fa-graduation-cap:before { | ||
1360 | content: "\f19d"; | ||
1361 | } | ||
1362 | .fa-yahoo:before { | ||
1363 | content: "\f19e"; | ||
1364 | } | ||
1365 | .fa-google:before { | ||
1366 | content: "\f1a0"; | ||
1367 | } | ||
1368 | .fa-reddit:before { | ||
1369 | content: "\f1a1"; | ||
1370 | } | ||
1371 | .fa-reddit-square:before { | ||
1372 | content: "\f1a2"; | ||
1373 | } | ||
1374 | .fa-stumbleupon-circle:before { | ||
1375 | content: "\f1a3"; | ||
1376 | } | ||
1377 | .fa-stumbleupon:before { | ||
1378 | content: "\f1a4"; | ||
1379 | } | ||
1380 | .fa-delicious:before { | ||
1381 | content: "\f1a5"; | ||
1382 | } | ||
1383 | .fa-digg:before { | ||
1384 | content: "\f1a6"; | ||
1385 | } | ||
1386 | .fa-pied-piper-pp:before { | ||
1387 | content: "\f1a7"; | ||
1388 | } | ||
1389 | .fa-pied-piper-alt:before { | ||
1390 | content: "\f1a8"; | ||
1391 | } | ||
1392 | .fa-drupal:before { | ||
1393 | content: "\f1a9"; | ||
1394 | } | ||
1395 | .fa-joomla:before { | ||
1396 | content: "\f1aa"; | ||
1397 | } | ||
1398 | .fa-language:before { | ||
1399 | content: "\f1ab"; | ||
1400 | } | ||
1401 | .fa-fax:before { | ||
1402 | content: "\f1ac"; | ||
1403 | } | ||
1404 | .fa-building:before { | ||
1405 | content: "\f1ad"; | ||
1406 | } | ||
1407 | .fa-child:before { | ||
1408 | content: "\f1ae"; | ||
1409 | } | ||
1410 | .fa-paw:before { | ||
1411 | content: "\f1b0"; | ||
1412 | } | ||
1413 | .fa-spoon:before { | ||
1414 | content: "\f1b1"; | ||
1415 | } | ||
1416 | .fa-cube:before { | ||
1417 | content: "\f1b2"; | ||
1418 | } | ||
1419 | .fa-cubes:before { | ||
1420 | content: "\f1b3"; | ||
1421 | } | ||
1422 | .fa-behance:before { | ||
1423 | content: "\f1b4"; | ||
1424 | } | ||
1425 | .fa-behance-square:before { | ||
1426 | content: "\f1b5"; | ||
1427 | } | ||
1428 | .fa-steam:before { | ||
1429 | content: "\f1b6"; | ||
1430 | } | ||
1431 | .fa-steam-square:before { | ||
1432 | content: "\f1b7"; | ||
1433 | } | ||
1434 | .fa-recycle:before { | ||
1435 | content: "\f1b8"; | ||
1436 | } | ||
1437 | .fa-automobile:before, | ||
1438 | .fa-car:before { | ||
1439 | content: "\f1b9"; | ||
1440 | } | ||
1441 | .fa-cab:before, | ||
1442 | .fa-taxi:before { | ||
1443 | content: "\f1ba"; | ||
1444 | } | ||
1445 | .fa-tree:before { | ||
1446 | content: "\f1bb"; | ||
1447 | } | ||
1448 | .fa-spotify:before { | ||
1449 | content: "\f1bc"; | ||
1450 | } | ||
1451 | .fa-deviantart:before { | ||
1452 | content: "\f1bd"; | ||
1453 | } | ||
1454 | .fa-soundcloud:before { | ||
1455 | content: "\f1be"; | ||
1456 | } | ||
1457 | .fa-database:before { | ||
1458 | content: "\f1c0"; | ||
1459 | } | ||
1460 | .fa-file-pdf-o:before { | ||
1461 | content: "\f1c1"; | ||
1462 | } | ||
1463 | .fa-file-word-o:before { | ||
1464 | content: "\f1c2"; | ||
1465 | } | ||
1466 | .fa-file-excel-o:before { | ||
1467 | content: "\f1c3"; | ||
1468 | } | ||
1469 | .fa-file-powerpoint-o:before { | ||
1470 | content: "\f1c4"; | ||
1471 | } | ||
1472 | .fa-file-photo-o:before, | ||
1473 | .fa-file-picture-o:before, | ||
1474 | .fa-file-image-o:before { | ||
1475 | content: "\f1c5"; | ||
1476 | } | ||
1477 | .fa-file-zip-o:before, | ||
1478 | .fa-file-archive-o:before { | ||
1479 | content: "\f1c6"; | ||
1480 | } | ||
1481 | .fa-file-sound-o:before, | ||
1482 | .fa-file-audio-o:before { | ||
1483 | content: "\f1c7"; | ||
1484 | } | ||
1485 | .fa-file-movie-o:before, | ||
1486 | .fa-file-video-o:before { | ||
1487 | content: "\f1c8"; | ||
1488 | } | ||
1489 | .fa-file-code-o:before { | ||
1490 | content: "\f1c9"; | ||
1491 | } | ||
1492 | .fa-vine:before { | ||
1493 | content: "\f1ca"; | ||
1494 | } | ||
1495 | .fa-codepen:before { | ||
1496 | content: "\f1cb"; | ||
1497 | } | ||
1498 | .fa-jsfiddle:before { | ||
1499 | content: "\f1cc"; | ||
1500 | } | ||
1501 | .fa-life-bouy:before, | ||
1502 | .fa-life-buoy:before, | ||
1503 | .fa-life-saver:before, | ||
1504 | .fa-support:before, | ||
1505 | .fa-life-ring:before { | ||
1506 | content: "\f1cd"; | ||
1507 | } | ||
1508 | .fa-circle-o-notch:before { | ||
1509 | content: "\f1ce"; | ||
1510 | } | ||
1511 | .fa-ra:before, | ||
1512 | .fa-resistance:before, | ||
1513 | .fa-rebel:before { | ||
1514 | content: "\f1d0"; | ||
1515 | } | ||
1516 | .fa-ge:before, | ||
1517 | .fa-empire:before { | ||
1518 | content: "\f1d1"; | ||
1519 | } | ||
1520 | .fa-git-square:before { | ||
1521 | content: "\f1d2"; | ||
1522 | } | ||
1523 | .fa-git:before { | ||
1524 | content: "\f1d3"; | ||
1525 | } | ||
1526 | .fa-y-combinator-square:before, | ||
1527 | .fa-yc-square:before, | ||
1528 | .fa-hacker-news:before { | ||
1529 | content: "\f1d4"; | ||
1530 | } | ||
1531 | .fa-tencent-weibo:before { | ||
1532 | content: "\f1d5"; | ||
1533 | } | ||
1534 | .fa-qq:before { | ||
1535 | content: "\f1d6"; | ||
1536 | } | ||
1537 | .fa-wechat:before, | ||
1538 | .fa-weixin:before { | ||
1539 | content: "\f1d7"; | ||
1540 | } | ||
1541 | .fa-send:before, | ||
1542 | .fa-paper-plane:before { | ||
1543 | content: "\f1d8"; | ||
1544 | } | ||
1545 | .fa-send-o:before, | ||
1546 | .fa-paper-plane-o:before { | ||
1547 | content: "\f1d9"; | ||
1548 | } | ||
1549 | .fa-history:before { | ||
1550 | content: "\f1da"; | ||
1551 | } | ||
1552 | .fa-circle-thin:before { | ||
1553 | content: "\f1db"; | ||
1554 | } | ||
1555 | .fa-header:before { | ||
1556 | content: "\f1dc"; | ||
1557 | } | ||
1558 | .fa-paragraph:before { | ||
1559 | content: "\f1dd"; | ||
1560 | } | ||
1561 | .fa-sliders:before { | ||
1562 | content: "\f1de"; | ||
1563 | } | ||
1564 | .fa-share-alt:before { | ||
1565 | content: "\f1e0"; | ||
1566 | } | ||
1567 | .fa-share-alt-square:before { | ||
1568 | content: "\f1e1"; | ||
1569 | } | ||
1570 | .fa-bomb:before { | ||
1571 | content: "\f1e2"; | ||
1572 | } | ||
1573 | .fa-soccer-ball-o:before, | ||
1574 | .fa-futbol-o:before { | ||
1575 | content: "\f1e3"; | ||
1576 | } | ||
1577 | .fa-tty:before { | ||
1578 | content: "\f1e4"; | ||
1579 | } | ||
1580 | .fa-binoculars:before { | ||
1581 | content: "\f1e5"; | ||
1582 | } | ||
1583 | .fa-plug:before { | ||
1584 | content: "\f1e6"; | ||
1585 | } | ||
1586 | .fa-slideshare:before { | ||
1587 | content: "\f1e7"; | ||
1588 | } | ||
1589 | .fa-twitch:before { | ||
1590 | content: "\f1e8"; | ||
1591 | } | ||
1592 | .fa-yelp:before { | ||
1593 | content: "\f1e9"; | ||
1594 | } | ||
1595 | .fa-newspaper-o:before { | ||
1596 | content: "\f1ea"; | ||
1597 | } | ||
1598 | .fa-wifi:before { | ||
1599 | content: "\f1eb"; | ||
1600 | } | ||
1601 | .fa-calculator:before { | ||
1602 | content: "\f1ec"; | ||
1603 | } | ||
1604 | .fa-paypal:before { | ||
1605 | content: "\f1ed"; | ||
1606 | } | ||
1607 | .fa-google-wallet:before { | ||
1608 | content: "\f1ee"; | ||
1609 | } | ||
1610 | .fa-cc-visa:before { | ||
1611 | content: "\f1f0"; | ||
1612 | } | ||
1613 | .fa-cc-mastercard:before { | ||
1614 | content: "\f1f1"; | ||
1615 | } | ||
1616 | .fa-cc-discover:before { | ||
1617 | content: "\f1f2"; | ||
1618 | } | ||
1619 | .fa-cc-amex:before { | ||
1620 | content: "\f1f3"; | ||
1621 | } | ||
1622 | .fa-cc-paypal:before { | ||
1623 | content: "\f1f4"; | ||
1624 | } | ||
1625 | .fa-cc-stripe:before { | ||
1626 | content: "\f1f5"; | ||
1627 | } | ||
1628 | .fa-bell-slash:before { | ||
1629 | content: "\f1f6"; | ||
1630 | } | ||
1631 | .fa-bell-slash-o:before { | ||
1632 | content: "\f1f7"; | ||
1633 | } | ||
1634 | .fa-trash:before { | ||
1635 | content: "\f1f8"; | ||
1636 | } | ||
1637 | .fa-copyright:before { | ||
1638 | content: "\f1f9"; | ||
1639 | } | ||
1640 | .fa-at:before { | ||
1641 | content: "\f1fa"; | ||
1642 | } | ||
1643 | .fa-eyedropper:before { | ||
1644 | content: "\f1fb"; | ||
1645 | } | ||
1646 | .fa-paint-brush:before { | ||
1647 | content: "\f1fc"; | ||
1648 | } | ||
1649 | .fa-birthday-cake:before { | ||
1650 | content: "\f1fd"; | ||
1651 | } | ||
1652 | .fa-area-chart:before { | ||
1653 | content: "\f1fe"; | ||
1654 | } | ||
1655 | .fa-pie-chart:before { | ||
1656 | content: "\f200"; | ||
1657 | } | ||
1658 | .fa-line-chart:before { | ||
1659 | content: "\f201"; | ||
1660 | } | ||
1661 | .fa-lastfm:before { | ||
1662 | content: "\f202"; | ||
1663 | } | ||
1664 | .fa-lastfm-square:before { | ||
1665 | content: "\f203"; | ||
1666 | } | ||
1667 | .fa-toggle-off:before { | ||
1668 | content: "\f204"; | ||
1669 | } | ||
1670 | .fa-toggle-on:before { | ||
1671 | content: "\f205"; | ||
1672 | } | ||
1673 | .fa-bicycle:before { | ||
1674 | content: "\f206"; | ||
1675 | } | ||
1676 | .fa-bus:before { | ||
1677 | content: "\f207"; | ||
1678 | } | ||
1679 | .fa-ioxhost:before { | ||
1680 | content: "\f208"; | ||
1681 | } | ||
1682 | .fa-angellist:before { | ||
1683 | content: "\f209"; | ||
1684 | } | ||
1685 | .fa-cc:before { | ||
1686 | content: "\f20a"; | ||
1687 | } | ||
1688 | .fa-shekel:before, | ||
1689 | .fa-sheqel:before, | ||
1690 | .fa-ils:before { | ||
1691 | content: "\f20b"; | ||
1692 | } | ||
1693 | .fa-meanpath:before { | ||
1694 | content: "\f20c"; | ||
1695 | } | ||
1696 | .fa-buysellads:before { | ||
1697 | content: "\f20d"; | ||
1698 | } | ||
1699 | .fa-connectdevelop:before { | ||
1700 | content: "\f20e"; | ||
1701 | } | ||
1702 | .fa-dashcube:before { | ||
1703 | content: "\f210"; | ||
1704 | } | ||
1705 | .fa-forumbee:before { | ||
1706 | content: "\f211"; | ||
1707 | } | ||
1708 | .fa-leanpub:before { | ||
1709 | content: "\f212"; | ||
1710 | } | ||
1711 | .fa-sellsy:before { | ||
1712 | content: "\f213"; | ||
1713 | } | ||
1714 | .fa-shirtsinbulk:before { | ||
1715 | content: "\f214"; | ||
1716 | } | ||
1717 | .fa-simplybuilt:before { | ||
1718 | content: "\f215"; | ||
1719 | } | ||
1720 | .fa-skyatlas:before { | ||
1721 | content: "\f216"; | ||
1722 | } | ||
1723 | .fa-cart-plus:before { | ||
1724 | content: "\f217"; | ||
1725 | } | ||
1726 | .fa-cart-arrow-down:before { | ||
1727 | content: "\f218"; | ||
1728 | } | ||
1729 | .fa-diamond:before { | ||
1730 | content: "\f219"; | ||
1731 | } | ||
1732 | .fa-ship:before { | ||
1733 | content: "\f21a"; | ||
1734 | } | ||
1735 | .fa-user-secret:before { | ||
1736 | content: "\f21b"; | ||
1737 | } | ||
1738 | .fa-motorcycle:before { | ||
1739 | content: "\f21c"; | ||
1740 | } | ||
1741 | .fa-street-view:before { | ||
1742 | content: "\f21d"; | ||
1743 | } | ||
1744 | .fa-heartbeat:before { | ||
1745 | content: "\f21e"; | ||
1746 | } | ||
1747 | .fa-venus:before { | ||
1748 | content: "\f221"; | ||
1749 | } | ||
1750 | .fa-mars:before { | ||
1751 | content: "\f222"; | ||
1752 | } | ||
1753 | .fa-mercury:before { | ||
1754 | content: "\f223"; | ||
1755 | } | ||
1756 | .fa-intersex:before, | ||
1757 | .fa-transgender:before { | ||
1758 | content: "\f224"; | ||
1759 | } | ||
1760 | .fa-transgender-alt:before { | ||
1761 | content: "\f225"; | ||
1762 | } | ||
1763 | .fa-venus-double:before { | ||
1764 | content: "\f226"; | ||
1765 | } | ||
1766 | .fa-mars-double:before { | ||
1767 | content: "\f227"; | ||
1768 | } | ||
1769 | .fa-venus-mars:before { | ||
1770 | content: "\f228"; | ||
1771 | } | ||
1772 | .fa-mars-stroke:before { | ||
1773 | content: "\f229"; | ||
1774 | } | ||
1775 | .fa-mars-stroke-v:before { | ||
1776 | content: "\f22a"; | ||
1777 | } | ||
1778 | .fa-mars-stroke-h:before { | ||
1779 | content: "\f22b"; | ||
1780 | } | ||
1781 | .fa-neuter:before { | ||
1782 | content: "\f22c"; | ||
1783 | } | ||
1784 | .fa-genderless:before { | ||
1785 | content: "\f22d"; | ||
1786 | } | ||
1787 | .fa-facebook-official:before { | ||
1788 | content: "\f230"; | ||
1789 | } | ||
1790 | .fa-pinterest-p:before { | ||
1791 | content: "\f231"; | ||
1792 | } | ||
1793 | .fa-whatsapp:before { | ||
1794 | content: "\f232"; | ||
1795 | } | ||
1796 | .fa-server:before { | ||
1797 | content: "\f233"; | ||
1798 | } | ||
1799 | .fa-user-plus:before { | ||
1800 | content: "\f234"; | ||
1801 | } | ||
1802 | .fa-user-times:before { | ||
1803 | content: "\f235"; | ||
1804 | } | ||
1805 | .fa-hotel:before, | ||
1806 | .fa-bed:before { | ||
1807 | content: "\f236"; | ||
1808 | } | ||
1809 | .fa-viacoin:before { | ||
1810 | content: "\f237"; | ||
1811 | } | ||
1812 | .fa-train:before { | ||
1813 | content: "\f238"; | ||
1814 | } | ||
1815 | .fa-subway:before { | ||
1816 | content: "\f239"; | ||
1817 | } | ||
1818 | .fa-medium:before { | ||
1819 | content: "\f23a"; | ||
1820 | } | ||
1821 | .fa-yc:before, | ||
1822 | .fa-y-combinator:before { | ||
1823 | content: "\f23b"; | ||
1824 | } | ||
1825 | .fa-optin-monster:before { | ||
1826 | content: "\f23c"; | ||
1827 | } | ||
1828 | .fa-opencart:before { | ||
1829 | content: "\f23d"; | ||
1830 | } | ||
1831 | .fa-expeditedssl:before { | ||
1832 | content: "\f23e"; | ||
1833 | } | ||
1834 | .fa-battery-4:before, | ||
1835 | .fa-battery:before, | ||
1836 | .fa-battery-full:before { | ||
1837 | content: "\f240"; | ||
1838 | } | ||
1839 | .fa-battery-3:before, | ||
1840 | .fa-battery-three-quarters:before { | ||
1841 | content: "\f241"; | ||
1842 | } | ||
1843 | .fa-battery-2:before, | ||
1844 | .fa-battery-half:before { | ||
1845 | content: "\f242"; | ||
1846 | } | ||
1847 | .fa-battery-1:before, | ||
1848 | .fa-battery-quarter:before { | ||
1849 | content: "\f243"; | ||
1850 | } | ||
1851 | .fa-battery-0:before, | ||
1852 | .fa-battery-empty:before { | ||
1853 | content: "\f244"; | ||
1854 | } | ||
1855 | .fa-mouse-pointer:before { | ||
1856 | content: "\f245"; | ||
1857 | } | ||
1858 | .fa-i-cursor:before { | ||
1859 | content: "\f246"; | ||
1860 | } | ||
1861 | .fa-object-group:before { | ||
1862 | content: "\f247"; | ||
1863 | } | ||
1864 | .fa-object-ungroup:before { | ||
1865 | content: "\f248"; | ||
1866 | } | ||
1867 | .fa-sticky-note:before { | ||
1868 | content: "\f249"; | ||
1869 | } | ||
1870 | .fa-sticky-note-o:before { | ||
1871 | content: "\f24a"; | ||
1872 | } | ||
1873 | .fa-cc-jcb:before { | ||
1874 | content: "\f24b"; | ||
1875 | } | ||
1876 | .fa-cc-diners-club:before { | ||
1877 | content: "\f24c"; | ||
1878 | } | ||
1879 | .fa-clone:before { | ||
1880 | content: "\f24d"; | ||
1881 | } | ||
1882 | .fa-balance-scale:before { | ||
1883 | content: "\f24e"; | ||
1884 | } | ||
1885 | .fa-hourglass-o:before { | ||
1886 | content: "\f250"; | ||
1887 | } | ||
1888 | .fa-hourglass-1:before, | ||
1889 | .fa-hourglass-start:before { | ||
1890 | content: "\f251"; | ||
1891 | } | ||
1892 | .fa-hourglass-2:before, | ||
1893 | .fa-hourglass-half:before { | ||
1894 | content: "\f252"; | ||
1895 | } | ||
1896 | .fa-hourglass-3:before, | ||
1897 | .fa-hourglass-end:before { | ||
1898 | content: "\f253"; | ||
1899 | } | ||
1900 | .fa-hourglass:before { | ||
1901 | content: "\f254"; | ||
1902 | } | ||
1903 | .fa-hand-grab-o:before, | ||
1904 | .fa-hand-rock-o:before { | ||
1905 | content: "\f255"; | ||
1906 | } | ||
1907 | .fa-hand-stop-o:before, | ||
1908 | .fa-hand-paper-o:before { | ||
1909 | content: "\f256"; | ||
1910 | } | ||
1911 | .fa-hand-scissors-o:before { | ||
1912 | content: "\f257"; | ||
1913 | } | ||
1914 | .fa-hand-lizard-o:before { | ||
1915 | content: "\f258"; | ||
1916 | } | ||
1917 | .fa-hand-spock-o:before { | ||
1918 | content: "\f259"; | ||
1919 | } | ||
1920 | .fa-hand-pointer-o:before { | ||
1921 | content: "\f25a"; | ||
1922 | } | ||
1923 | .fa-hand-peace-o:before { | ||
1924 | content: "\f25b"; | ||
1925 | } | ||
1926 | .fa-trademark:before { | ||
1927 | content: "\f25c"; | ||
1928 | } | ||
1929 | .fa-registered:before { | ||
1930 | content: "\f25d"; | ||
1931 | } | ||
1932 | .fa-creative-commons:before { | ||
1933 | content: "\f25e"; | ||
1934 | } | ||
1935 | .fa-gg:before { | ||
1936 | content: "\f260"; | ||
1937 | } | ||
1938 | .fa-gg-circle:before { | ||
1939 | content: "\f261"; | ||
1940 | } | ||
1941 | .fa-tripadvisor:before { | ||
1942 | content: "\f262"; | ||
1943 | } | ||
1944 | .fa-odnoklassniki:before { | ||
1945 | content: "\f263"; | ||
1946 | } | ||
1947 | .fa-odnoklassniki-square:before { | ||
1948 | content: "\f264"; | ||
1949 | } | ||
1950 | .fa-get-pocket:before { | ||
1951 | content: "\f265"; | ||
1952 | } | ||
1953 | .fa-wikipedia-w:before { | ||
1954 | content: "\f266"; | ||
1955 | } | ||
1956 | .fa-safari:before { | ||
1957 | content: "\f267"; | ||
1958 | } | ||
1959 | .fa-chrome:before { | ||
1960 | content: "\f268"; | ||
1961 | } | ||
1962 | .fa-firefox:before { | ||
1963 | content: "\f269"; | ||
1964 | } | ||
1965 | .fa-opera:before { | ||
1966 | content: "\f26a"; | ||
1967 | } | ||
1968 | .fa-internet-explorer:before { | ||
1969 | content: "\f26b"; | ||
1970 | } | ||
1971 | .fa-tv:before, | ||
1972 | .fa-television:before { | ||
1973 | content: "\f26c"; | ||
1974 | } | ||
1975 | .fa-contao:before { | ||
1976 | content: "\f26d"; | ||
1977 | } | ||
1978 | .fa-500px:before { | ||
1979 | content: "\f26e"; | ||
1980 | } | ||
1981 | .fa-amazon:before { | ||
1982 | content: "\f270"; | ||
1983 | } | ||
1984 | .fa-calendar-plus-o:before { | ||
1985 | content: "\f271"; | ||
1986 | } | ||
1987 | .fa-calendar-minus-o:before { | ||
1988 | content: "\f272"; | ||
1989 | } | ||
1990 | .fa-calendar-times-o:before { | ||
1991 | content: "\f273"; | ||
1992 | } | ||
1993 | .fa-calendar-check-o:before { | ||
1994 | content: "\f274"; | ||
1995 | } | ||
1996 | .fa-industry:before { | ||
1997 | content: "\f275"; | ||
1998 | } | ||
1999 | .fa-map-pin:before { | ||
2000 | content: "\f276"; | ||
2001 | } | ||
2002 | .fa-map-signs:before { | ||
2003 | content: "\f277"; | ||
2004 | } | ||
2005 | .fa-map-o:before { | ||
2006 | content: "\f278"; | ||
2007 | } | ||
2008 | .fa-map:before { | ||
2009 | content: "\f279"; | ||
2010 | } | ||
2011 | .fa-commenting:before { | ||
2012 | content: "\f27a"; | ||
2013 | } | ||
2014 | .fa-commenting-o:before { | ||
2015 | content: "\f27b"; | ||
2016 | } | ||
2017 | .fa-houzz:before { | ||
2018 | content: "\f27c"; | ||
2019 | } | ||
2020 | .fa-vimeo:before { | ||
2021 | content: "\f27d"; | ||
2022 | } | ||
2023 | .fa-black-tie:before { | ||
2024 | content: "\f27e"; | ||
2025 | } | ||
2026 | .fa-fonticons:before { | ||
2027 | content: "\f280"; | ||
2028 | } | ||
2029 | .fa-reddit-alien:before { | ||
2030 | content: "\f281"; | ||
2031 | } | ||
2032 | .fa-edge:before { | ||
2033 | content: "\f282"; | ||
2034 | } | ||
2035 | .fa-credit-card-alt:before { | ||
2036 | content: "\f283"; | ||
2037 | } | ||
2038 | .fa-codiepie:before { | ||
2039 | content: "\f284"; | ||
2040 | } | ||
2041 | .fa-modx:before { | ||
2042 | content: "\f285"; | ||
2043 | } | ||
2044 | .fa-fort-awesome:before { | ||
2045 | content: "\f286"; | ||
2046 | } | ||
2047 | .fa-usb:before { | ||
2048 | content: "\f287"; | ||
2049 | } | ||
2050 | .fa-product-hunt:before { | ||
2051 | content: "\f288"; | ||
2052 | } | ||
2053 | .fa-mixcloud:before { | ||
2054 | content: "\f289"; | ||
2055 | } | ||
2056 | .fa-scribd:before { | ||
2057 | content: "\f28a"; | ||
2058 | } | ||
2059 | .fa-pause-circle:before { | ||
2060 | content: "\f28b"; | ||
2061 | } | ||
2062 | .fa-pause-circle-o:before { | ||
2063 | content: "\f28c"; | ||
2064 | } | ||
2065 | .fa-stop-circle:before { | ||
2066 | content: "\f28d"; | ||
2067 | } | ||
2068 | .fa-stop-circle-o:before { | ||
2069 | content: "\f28e"; | ||
2070 | } | ||
2071 | .fa-shopping-bag:before { | ||
2072 | content: "\f290"; | ||
2073 | } | ||
2074 | .fa-shopping-basket:before { | ||
2075 | content: "\f291"; | ||
2076 | } | ||
2077 | .fa-hashtag:before { | ||
2078 | content: "\f292"; | ||
2079 | } | ||
2080 | .fa-bluetooth:before { | ||
2081 | content: "\f293"; | ||
2082 | } | ||
2083 | .fa-bluetooth-b:before { | ||
2084 | content: "\f294"; | ||
2085 | } | ||
2086 | .fa-percent:before { | ||
2087 | content: "\f295"; | ||
2088 | } | ||
2089 | .fa-gitlab:before { | ||
2090 | content: "\f296"; | ||
2091 | } | ||
2092 | .fa-wpbeginner:before { | ||
2093 | content: "\f297"; | ||
2094 | } | ||
2095 | .fa-wpforms:before { | ||
2096 | content: "\f298"; | ||
2097 | } | ||
2098 | .fa-envira:before { | ||
2099 | content: "\f299"; | ||
2100 | } | ||
2101 | .fa-universal-access:before { | ||
2102 | content: "\f29a"; | ||
2103 | } | ||
2104 | .fa-wheelchair-alt:before { | ||
2105 | content: "\f29b"; | ||
2106 | } | ||
2107 | .fa-question-circle-o:before { | ||
2108 | content: "\f29c"; | ||
2109 | } | ||
2110 | .fa-blind:before { | ||
2111 | content: "\f29d"; | ||
2112 | } | ||
2113 | .fa-audio-description:before { | ||
2114 | content: "\f29e"; | ||
2115 | } | ||
2116 | .fa-volume-control-phone:before { | ||
2117 | content: "\f2a0"; | ||
2118 | } | ||
2119 | .fa-braille:before { | ||
2120 | content: "\f2a1"; | ||
2121 | } | ||
2122 | .fa-assistive-listening-systems:before { | ||
2123 | content: "\f2a2"; | ||
2124 | } | ||
2125 | .fa-asl-interpreting:before, | ||
2126 | .fa-american-sign-language-interpreting:before { | ||
2127 | content: "\f2a3"; | ||
2128 | } | ||
2129 | .fa-deafness:before, | ||
2130 | .fa-hard-of-hearing:before, | ||
2131 | .fa-deaf:before { | ||
2132 | content: "\f2a4"; | ||
2133 | } | ||
2134 | .fa-glide:before { | ||
2135 | content: "\f2a5"; | ||
2136 | } | ||
2137 | .fa-glide-g:before { | ||
2138 | content: "\f2a6"; | ||
2139 | } | ||
2140 | .fa-signing:before, | ||
2141 | .fa-sign-language:before { | ||
2142 | content: "\f2a7"; | ||
2143 | } | ||
2144 | .fa-low-vision:before { | ||
2145 | content: "\f2a8"; | ||
2146 | } | ||
2147 | .fa-viadeo:before { | ||
2148 | content: "\f2a9"; | ||
2149 | } | ||
2150 | .fa-viadeo-square:before { | ||
2151 | content: "\f2aa"; | ||
2152 | } | ||
2153 | .fa-snapchat:before { | ||
2154 | content: "\f2ab"; | ||
2155 | } | ||
2156 | .fa-snapchat-ghost:before { | ||
2157 | content: "\f2ac"; | ||
2158 | } | ||
2159 | .fa-snapchat-square:before { | ||
2160 | content: "\f2ad"; | ||
2161 | } | ||
2162 | .fa-pied-piper:before { | ||
2163 | content: "\f2ae"; | ||
2164 | } | ||
2165 | .fa-first-order:before { | ||
2166 | content: "\f2b0"; | ||
2167 | } | ||
2168 | .fa-yoast:before { | ||
2169 | content: "\f2b1"; | ||
2170 | } | ||
2171 | .fa-themeisle:before { | ||
2172 | content: "\f2b2"; | ||
2173 | } | ||
2174 | .fa-google-plus-circle:before, | ||
2175 | .fa-google-plus-official:before { | ||
2176 | content: "\f2b3"; | ||
2177 | } | ||
2178 | .fa-fa:before, | ||
2179 | .fa-font-awesome:before { | ||
2180 | content: "\f2b4"; | ||
2181 | } | ||
2182 | .fa-handshake-o:before { | ||
2183 | content: "\f2b5"; | ||
2184 | } | ||
2185 | .fa-envelope-open:before { | ||
2186 | content: "\f2b6"; | ||
2187 | } | ||
2188 | .fa-envelope-open-o:before { | ||
2189 | content: "\f2b7"; | ||
2190 | } | ||
2191 | .fa-linode:before { | ||
2192 | content: "\f2b8"; | ||
2193 | } | ||
2194 | .fa-address-book:before { | ||
2195 | content: "\f2b9"; | ||
2196 | } | ||
2197 | .fa-address-book-o:before { | ||
2198 | content: "\f2ba"; | ||
2199 | } | ||
2200 | .fa-vcard:before, | ||
2201 | .fa-address-card:before { | ||
2202 | content: "\f2bb"; | ||
2203 | } | ||
2204 | .fa-vcard-o:before, | ||
2205 | .fa-address-card-o:before { | ||
2206 | content: "\f2bc"; | ||
2207 | } | ||
2208 | .fa-user-circle:before { | ||
2209 | content: "\f2bd"; | ||
2210 | } | ||
2211 | .fa-user-circle-o:before { | ||
2212 | content: "\f2be"; | ||
2213 | } | ||
2214 | .fa-user-o:before { | ||
2215 | content: "\f2c0"; | ||
2216 | } | ||
2217 | .fa-id-badge:before { | ||
2218 | content: "\f2c1"; | ||
2219 | } | ||
2220 | .fa-drivers-license:before, | ||
2221 | .fa-id-card:before { | ||
2222 | content: "\f2c2"; | ||
2223 | } | ||
2224 | .fa-drivers-license-o:before, | ||
2225 | .fa-id-card-o:before { | ||
2226 | content: "\f2c3"; | ||
2227 | } | ||
2228 | .fa-quora:before { | ||
2229 | content: "\f2c4"; | ||
2230 | } | ||
2231 | .fa-free-code-camp:before { | ||
2232 | content: "\f2c5"; | ||
2233 | } | ||
2234 | .fa-telegram:before { | ||
2235 | content: "\f2c6"; | ||
2236 | } | ||
2237 | .fa-thermometer-4:before, | ||
2238 | .fa-thermometer:before, | ||
2239 | .fa-thermometer-full:before { | ||
2240 | content: "\f2c7"; | ||
2241 | } | ||
2242 | .fa-thermometer-3:before, | ||
2243 | .fa-thermometer-three-quarters:before { | ||
2244 | content: "\f2c8"; | ||
2245 | } | ||
2246 | .fa-thermometer-2:before, | ||
2247 | .fa-thermometer-half:before { | ||
2248 | content: "\f2c9"; | ||
2249 | } | ||
2250 | .fa-thermometer-1:before, | ||
2251 | .fa-thermometer-quarter:before { | ||
2252 | content: "\f2ca"; | ||
2253 | } | ||
2254 | .fa-thermometer-0:before, | ||
2255 | .fa-thermometer-empty:before { | ||
2256 | content: "\f2cb"; | ||
2257 | } | ||
2258 | .fa-shower:before { | ||
2259 | content: "\f2cc"; | ||
2260 | } | ||
2261 | .fa-bathtub:before, | ||
2262 | .fa-s15:before, | ||
2263 | .fa-bath:before { | ||
2264 | content: "\f2cd"; | ||
2265 | } | ||
2266 | .fa-podcast:before { | ||
2267 | content: "\f2ce"; | ||
2268 | } | ||
2269 | .fa-window-maximize:before { | ||
2270 | content: "\f2d0"; | ||
2271 | } | ||
2272 | .fa-window-minimize:before { | ||
2273 | content: "\f2d1"; | ||
2274 | } | ||
2275 | .fa-window-restore:before { | ||
2276 | content: "\f2d2"; | ||
2277 | } | ||
2278 | .fa-times-rectangle:before, | ||
2279 | .fa-window-close:before { | ||
2280 | content: "\f2d3"; | ||
2281 | } | ||
2282 | .fa-times-rectangle-o:before, | ||
2283 | .fa-window-close-o:before { | ||
2284 | content: "\f2d4"; | ||
2285 | } | ||
2286 | .fa-bandcamp:before { | ||
2287 | content: "\f2d5"; | ||
2288 | } | ||
2289 | .fa-grav:before { | ||
2290 | content: "\f2d6"; | ||
2291 | } | ||
2292 | .fa-etsy:before { | ||
2293 | content: "\f2d7"; | ||
2294 | } | ||
2295 | .fa-imdb:before { | ||
2296 | content: "\f2d8"; | ||
2297 | } | ||
2298 | .fa-ravelry:before { | ||
2299 | content: "\f2d9"; | ||
2300 | } | ||
2301 | .fa-eercast:before { | ||
2302 | content: "\f2da"; | ||
2303 | } | ||
2304 | .fa-microchip:before { | ||
2305 | content: "\f2db"; | ||
2306 | } | ||
2307 | .fa-snowflake-o:before { | ||
2308 | content: "\f2dc"; | ||
2309 | } | ||
2310 | .fa-superpowers:before { | ||
2311 | content: "\f2dd"; | ||
2312 | } | ||
2313 | .fa-wpexplorer:before { | ||
2314 | content: "\f2de"; | ||
2315 | } | ||
2316 | .fa-meetup:before { | ||
2317 | content: "\f2e0"; | ||
2318 | } | ||
2319 | .sr-only { | ||
2320 | position: absolute; | ||
2321 | width: 1px; | ||
2322 | height: 1px; | ||
2323 | padding: 0; | ||
2324 | margin: -1px; | ||
2325 | overflow: hidden; | ||
2326 | clip: rect(0, 0, 0, 0); | ||
2327 | border: 0; | ||
2328 | } | ||
2329 | .sr-only-focusable:active, | ||
2330 | .sr-only-focusable:focus { | ||
2331 | position: static; | ||
2332 | width: auto; | ||
2333 | height: auto; | ||
2334 | margin: 0; | ||
2335 | overflow: visible; | ||
2336 | clip: auto; | ||
2337 | } |
static/font-awesome/css/font-awesome.min.css
0 → 100644
1 | /*! | ||
2 | * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome | ||
3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) | ||
4 | */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} |
static/font-awesome/fonts/FontAwesome.otf
0 → 100644
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
static/images/logo-sm.png
0 → 100644

68.8 KB
static/libs/highlight/highlight.pack.js
0 → 100644
This diff could not be displayed because it is too large.
static/libs/highlight/highlight.pack.min.js
0 → 100644
This diff could not be displayed because it is too large.
1 | (function (w) { | ||
2 | 'use strict'; | ||
3 | |||
4 | if (typeof w.hljs === 'undefined') { | ||
5 | console.error('highlight.js not detected!'); | ||
6 | } else { | ||
7 | w.hljs.initLineNumbersOnLoad = initLineNumbersOnLoad; | ||
8 | w.hljs.lineNumbersBlock = lineNumbersBlock; | ||
9 | } | ||
10 | |||
11 | function initLineNumbersOnLoad () { | ||
12 | if (document.readyState === 'complete') { | ||
13 | documentReady(); | ||
14 | } else { | ||
15 | w.addEventListener('DOMContentLoaded', documentReady); | ||
16 | } | ||
17 | } | ||
18 | |||
19 | function documentReady () { | ||
20 | try { | ||
21 | var blocks = document.querySelectorAll('code.hljs'); | ||
22 | |||
23 | for (var i in blocks) { | ||
24 | if (blocks.hasOwnProperty(i)) { | ||
25 | lineNumbersBlock(blocks[i]); | ||
26 | } | ||
27 | } | ||
28 | } catch (e) { | ||
29 | console.error('LineNumbers error: ', e); | ||
30 | } | ||
31 | } | ||
32 | |||
33 | function lineNumbersBlock (element) { | ||
34 | if (typeof element !== 'object') return; | ||
35 | |||
36 | var parent = element.parentNode; | ||
37 | var lines = getCountLines(parent.textContent); | ||
38 | |||
39 | if (lines > 1) { | ||
40 | var l = ''; | ||
41 | for (var i = 0; i < lines; i++) { | ||
42 | l += (i + 1) + '\n'; | ||
43 | } | ||
44 | |||
45 | var linesPanel = document.createElement('code'); | ||
46 | linesPanel.className = 'hljs hljs-line-numbers'; | ||
47 | linesPanel.style.float = 'left'; | ||
48 | linesPanel.textContent = l; | ||
49 | |||
50 | parent.insertBefore(linesPanel, element); | ||
51 | } | ||
52 | } | ||
53 | |||
54 | function getCountLines(text) { | ||
55 | if (text.length === 0) return 0; | ||
56 | |||
57 | var regExp = /\r\n|\r|\n/g; | ||
58 | var lines = text.match(regExp); | ||
59 | lines = lines ? lines.length : 0; | ||
60 | |||
61 | if (!text[text.length - 1].match(regExp)) { | ||
62 | lines += 1; | ||
63 | } | ||
64 | |||
65 | return lines; | ||
66 | } | ||
67 | }(window)); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | !function(e){"use strict";function t(){"complete"===document.readyState?n():e.addEventListener("DOMContentLoaded",n)}function n(){try{var e=document.querySelectorAll("code.hljs");for(var t in e)e.hasOwnProperty(t)&&r(e[t])}catch(n){console.error("LineNumbers error: ",n)}}function r(e){if("object"==typeof e){var t=e.parentNode,n=o(t.textContent);if(n>1){for(var r="",c=0;n>c;c++)r+=c+1+"\n";var l=document.createElement("code");l.className="hljs hljs-line-numbers",l.style["float"]="left",l.textContent=r,t.insertBefore(l,e)}}}function o(e){if(0===e.length)return 0;var t=/\r\n|\r|\n/g,n=e.match(t);return n=n?n.length:0,e[e.length-1].match(t)||(n+=1),n}"undefined"==typeof e.hljs?console.error("highlight.js not detected!"):(e.hljs.initLineNumbersOnLoad=t,e.hljs.lineNumbersBlock=r)}(window); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
static/libs/highlight/styles/agate.css
0 → 100644
1 | /*! | ||
2 | * Agate by Taufik Nurrohman <https://github.com/tovic> | ||
3 | * ---------------------------------------------------- | ||
4 | * | ||
5 | * #ade5fc | ||
6 | * #a2fca2 | ||
7 | * #c6b4f0 | ||
8 | * #d36363 | ||
9 | * #fcc28c | ||
10 | * #fc9b9b | ||
11 | * #ffa | ||
12 | * #fff | ||
13 | * #333 | ||
14 | * #62c8f3 | ||
15 | * #888 | ||
16 | * | ||
17 | */ | ||
18 | |||
19 | .hljs { | ||
20 | display: block; | ||
21 | overflow-x: auto; | ||
22 | padding: 0.5em; | ||
23 | background: #333; | ||
24 | color: white; | ||
25 | } | ||
26 | |||
27 | .hljs-name, | ||
28 | .hljs-strong { | ||
29 | font-weight: bold; | ||
30 | } | ||
31 | |||
32 | .hljs-code, | ||
33 | .hljs-emphasis { | ||
34 | font-style: italic; | ||
35 | } | ||
36 | |||
37 | .hljs-tag { | ||
38 | color: #62c8f3; | ||
39 | } | ||
40 | |||
41 | .hljs-variable, | ||
42 | .hljs-template-variable, | ||
43 | .hljs-selector-id, | ||
44 | .hljs-selector-class { | ||
45 | color: #ade5fc; | ||
46 | } | ||
47 | |||
48 | .hljs-string, | ||
49 | .hljs-bullet { | ||
50 | color: #a2fca2; | ||
51 | } | ||
52 | |||
53 | .hljs-type, | ||
54 | .hljs-title, | ||
55 | .hljs-section, | ||
56 | .hljs-attribute, | ||
57 | .hljs-quote, | ||
58 | .hljs-built_in, | ||
59 | .hljs-builtin-name { | ||
60 | color: #ffa; | ||
61 | } | ||
62 | |||
63 | .hljs-number, | ||
64 | .hljs-symbol, | ||
65 | .hljs-bullet { | ||
66 | color: #d36363; | ||
67 | } | ||
68 | |||
69 | .hljs-keyword, | ||
70 | .hljs-selector-tag, | ||
71 | .hljs-literal { | ||
72 | color: #fcc28c; | ||
73 | } | ||
74 | |||
75 | .hljs-comment, | ||
76 | .hljs-deletion, | ||
77 | .hljs-code { | ||
78 | color: #888; | ||
79 | } | ||
80 | |||
81 | .hljs-regexp, | ||
82 | .hljs-link { | ||
83 | color: #c6b4f0; | ||
84 | } | ||
85 | |||
86 | .hljs-meta { | ||
87 | color: #fc9b9b; | ||
88 | } | ||
89 | |||
90 | .hljs-deletion { | ||
91 | background-color: #fc9b9b; | ||
92 | color: #333; | ||
93 | } | ||
94 | |||
95 | .hljs-addition { | ||
96 | background-color: #a2fca2; | ||
97 | color: #333; | ||
98 | } | ||
99 | |||
100 | .hljs a { | ||
101 | color: inherit; | ||
102 | } | ||
103 | |||
104 | .hljs a:focus, | ||
105 | .hljs a:hover { | ||
106 | color: inherit; | ||
107 | text-decoration: underline; | ||
108 | } |
1 | /* | ||
2 | Date: 24 Fev 2015 | ||
3 | Author: Pedro Oliveira <kanytu@gmail . com> | ||
4 | */ | ||
5 | |||
6 | .hljs { | ||
7 | color: #a9b7c6; | ||
8 | background: #282b2e; | ||
9 | display: block; | ||
10 | overflow-x: auto; | ||
11 | padding: 0.5em; | ||
12 | } | ||
13 | |||
14 | .hljs-number, | ||
15 | .hljs-literal, | ||
16 | .hljs-symbol, | ||
17 | .hljs-bullet { | ||
18 | color: #6897BB; | ||
19 | } | ||
20 | |||
21 | .hljs-keyword, | ||
22 | .hljs-selector-tag, | ||
23 | .hljs-deletion { | ||
24 | color: #cc7832; | ||
25 | } | ||
26 | |||
27 | .hljs-variable, | ||
28 | .hljs-template-variable, | ||
29 | .hljs-link { | ||
30 | color: #629755; | ||
31 | } | ||
32 | |||
33 | .hljs-comment, | ||
34 | .hljs-quote { | ||
35 | color: #808080; | ||
36 | } | ||
37 | |||
38 | .hljs-meta { | ||
39 | color: #bbb529; | ||
40 | } | ||
41 | |||
42 | .hljs-string, | ||
43 | .hljs-attribute, | ||
44 | .hljs-addition { | ||
45 | color: #6A8759; | ||
46 | } | ||
47 | |||
48 | .hljs-section, | ||
49 | .hljs-title, | ||
50 | .hljs-type { | ||
51 | color: #ffc66d; | ||
52 | } | ||
53 | |||
54 | .hljs-name, | ||
55 | .hljs-selector-id, | ||
56 | .hljs-selector-class { | ||
57 | color: #e8bf6a; | ||
58 | } | ||
59 | |||
60 | .hljs-emphasis { | ||
61 | font-style: italic; | ||
62 | } | ||
63 | |||
64 | .hljs-strong { | ||
65 | font-weight: bold; | ||
66 | } |
1 | /* | ||
2 | |||
3 | Arduino® Light Theme - Stefania Mellai <s.mellai@arduino.cc> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #FFFFFF; | ||
12 | } | ||
13 | |||
14 | .hljs, | ||
15 | .hljs-subst { | ||
16 | color: #434f54; | ||
17 | } | ||
18 | |||
19 | .hljs-keyword, | ||
20 | .hljs-attribute, | ||
21 | .hljs-selector-tag, | ||
22 | .hljs-doctag, | ||
23 | .hljs-name { | ||
24 | color: #00979D; | ||
25 | } | ||
26 | |||
27 | .hljs-built_in, | ||
28 | .hljs-literal, | ||
29 | .hljs-bullet, | ||
30 | .hljs-code, | ||
31 | .hljs-addition { | ||
32 | color: #D35400; | ||
33 | } | ||
34 | |||
35 | .hljs-regexp, | ||
36 | .hljs-symbol, | ||
37 | .hljs-variable, | ||
38 | .hljs-template-variable, | ||
39 | .hljs-link, | ||
40 | .hljs-selector-attr, | ||
41 | .hljs-selector-pseudo { | ||
42 | color: #00979D; | ||
43 | } | ||
44 | |||
45 | .hljs-type, | ||
46 | .hljs-string, | ||
47 | .hljs-selector-id, | ||
48 | .hljs-selector-class, | ||
49 | .hljs-quote, | ||
50 | .hljs-template-tag, | ||
51 | .hljs-deletion { | ||
52 | color: #005C5F; | ||
53 | } | ||
54 | |||
55 | .hljs-title, | ||
56 | .hljs-section { | ||
57 | color: #880000; | ||
58 | font-weight: bold; | ||
59 | } | ||
60 | |||
61 | .hljs-comment { | ||
62 | color: rgba(149,165,166,.8); | ||
63 | } | ||
64 | |||
65 | .hljs-meta-keyword { | ||
66 | color: #728E00; | ||
67 | } | ||
68 | |||
69 | .hljs-meta { | ||
70 | color: #728E00; | ||
71 | color: #434f54; | ||
72 | } | ||
73 | |||
74 | .hljs-emphasis { | ||
75 | font-style: italic; | ||
76 | } | ||
77 | |||
78 | .hljs-strong { | ||
79 | font-weight: bold; | ||
80 | } | ||
81 | |||
82 | .hljs-function { | ||
83 | color: #728E00; | ||
84 | } | ||
85 | |||
86 | .hljs-number { | ||
87 | color: #8A7B52; | ||
88 | } |
static/libs/highlight/styles/arta.css
0 → 100644
1 | /* | ||
2 | Date: 17.V.2011 | ||
3 | Author: pumbur <pumbur@pumbur.net> | ||
4 | */ | ||
5 | |||
6 | .hljs { | ||
7 | display: block; | ||
8 | overflow-x: auto; | ||
9 | padding: 0.5em; | ||
10 | background: #222; | ||
11 | } | ||
12 | |||
13 | .hljs, | ||
14 | .hljs-subst { | ||
15 | color: #aaa; | ||
16 | } | ||
17 | |||
18 | .hljs-section { | ||
19 | color: #fff; | ||
20 | } | ||
21 | |||
22 | .hljs-comment, | ||
23 | .hljs-quote, | ||
24 | .hljs-meta { | ||
25 | color: #444; | ||
26 | } | ||
27 | |||
28 | .hljs-string, | ||
29 | .hljs-symbol, | ||
30 | .hljs-bullet, | ||
31 | .hljs-regexp { | ||
32 | color: #ffcc33; | ||
33 | } | ||
34 | |||
35 | .hljs-number, | ||
36 | .hljs-addition { | ||
37 | color: #00cc66; | ||
38 | } | ||
39 | |||
40 | .hljs-built_in, | ||
41 | .hljs-builtin-name, | ||
42 | .hljs-literal, | ||
43 | .hljs-type, | ||
44 | .hljs-template-variable, | ||
45 | .hljs-attribute, | ||
46 | .hljs-link { | ||
47 | color: #32aaee; | ||
48 | } | ||
49 | |||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag, | ||
52 | .hljs-name, | ||
53 | .hljs-selector-id, | ||
54 | .hljs-selector-class { | ||
55 | color: #6644aa; | ||
56 | } | ||
57 | |||
58 | .hljs-title, | ||
59 | .hljs-variable, | ||
60 | .hljs-deletion, | ||
61 | .hljs-template-tag { | ||
62 | color: #bb1166; | ||
63 | } | ||
64 | |||
65 | .hljs-section, | ||
66 | .hljs-doctag, | ||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } | ||
70 | |||
71 | .hljs-emphasis { | ||
72 | font-style: italic; | ||
73 | } |
static/libs/highlight/styles/ascetic.css
0 → 100644
1 | /* | ||
2 | |||
3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: white; | ||
12 | color: black; | ||
13 | } | ||
14 | |||
15 | .hljs-string, | ||
16 | .hljs-variable, | ||
17 | .hljs-template-variable, | ||
18 | .hljs-symbol, | ||
19 | .hljs-bullet, | ||
20 | .hljs-section, | ||
21 | .hljs-addition, | ||
22 | .hljs-attribute, | ||
23 | .hljs-link { | ||
24 | color: #888; | ||
25 | } | ||
26 | |||
27 | .hljs-comment, | ||
28 | .hljs-quote, | ||
29 | .hljs-meta, | ||
30 | .hljs-deletion { | ||
31 | color: #ccc; | ||
32 | } | ||
33 | |||
34 | .hljs-keyword, | ||
35 | .hljs-selector-tag, | ||
36 | .hljs-section, | ||
37 | .hljs-name, | ||
38 | .hljs-type, | ||
39 | .hljs-strong { | ||
40 | font-weight: bold; | ||
41 | } | ||
42 | |||
43 | .hljs-emphasis { | ||
44 | font-style: italic; | ||
45 | } |
1 | /* Base16 Atelier Cave Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Cave Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #7e7887; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Cave Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-regexp, | ||
16 | .hljs-link, | ||
17 | .hljs-tag, | ||
18 | .hljs-name, | ||
19 | .hljs-selector-id, | ||
20 | .hljs-selector-class { | ||
21 | color: #be4678; | ||
22 | } | ||
23 | |||
24 | /* Atelier-Cave Orange */ | ||
25 | .hljs-number, | ||
26 | .hljs-meta, | ||
27 | .hljs-built_in, | ||
28 | .hljs-builtin-name, | ||
29 | .hljs-literal, | ||
30 | .hljs-type, | ||
31 | .hljs-params { | ||
32 | color: #aa573c; | ||
33 | } | ||
34 | |||
35 | /* Atelier-Cave Green */ | ||
36 | .hljs-string, | ||
37 | .hljs-symbol, | ||
38 | .hljs-bullet { | ||
39 | color: #2a9292; | ||
40 | } | ||
41 | |||
42 | /* Atelier-Cave Blue */ | ||
43 | .hljs-title, | ||
44 | .hljs-section { | ||
45 | color: #576ddb; | ||
46 | } | ||
47 | |||
48 | /* Atelier-Cave Purple */ | ||
49 | .hljs-keyword, | ||
50 | .hljs-selector-tag { | ||
51 | color: #955ae7; | ||
52 | } | ||
53 | |||
54 | .hljs-deletion, | ||
55 | .hljs-addition { | ||
56 | color: #19171c; | ||
57 | display: inline-block; | ||
58 | width: 100%; | ||
59 | } | ||
60 | |||
61 | .hljs-deletion { | ||
62 | background-color: #be4678; | ||
63 | } | ||
64 | |||
65 | .hljs-addition { | ||
66 | background-color: #2a9292; | ||
67 | } | ||
68 | |||
69 | .hljs { | ||
70 | display: block; | ||
71 | overflow-x: auto; | ||
72 | background: #19171c; | ||
73 | color: #8b8792; | ||
74 | padding: 0.5em; | ||
75 | } | ||
76 | |||
77 | .hljs-emphasis { | ||
78 | font-style: italic; | ||
79 | } | ||
80 | |||
81 | .hljs-strong { | ||
82 | font-weight: bold; | ||
83 | } |
1 | /* Base16 Atelier Cave Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Cave Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #655f6d; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Cave Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-name, | ||
21 | .hljs-selector-id, | ||
22 | .hljs-selector-class { | ||
23 | color: #be4678; | ||
24 | } | ||
25 | |||
26 | /* Atelier-Cave Orange */ | ||
27 | .hljs-number, | ||
28 | .hljs-meta, | ||
29 | .hljs-built_in, | ||
30 | .hljs-builtin-name, | ||
31 | .hljs-literal, | ||
32 | .hljs-type, | ||
33 | .hljs-params { | ||
34 | color: #aa573c; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Cave Green */ | ||
38 | .hljs-string, | ||
39 | .hljs-symbol, | ||
40 | .hljs-bullet { | ||
41 | color: #2a9292; | ||
42 | } | ||
43 | |||
44 | /* Atelier-Cave Blue */ | ||
45 | .hljs-title, | ||
46 | .hljs-section { | ||
47 | color: #576ddb; | ||
48 | } | ||
49 | |||
50 | /* Atelier-Cave Purple */ | ||
51 | .hljs-keyword, | ||
52 | .hljs-selector-tag { | ||
53 | color: #955ae7; | ||
54 | } | ||
55 | |||
56 | .hljs-deletion, | ||
57 | .hljs-addition { | ||
58 | color: #19171c; | ||
59 | display: inline-block; | ||
60 | width: 100%; | ||
61 | } | ||
62 | |||
63 | .hljs-deletion { | ||
64 | background-color: #be4678; | ||
65 | } | ||
66 | |||
67 | .hljs-addition { | ||
68 | background-color: #2a9292; | ||
69 | } | ||
70 | |||
71 | .hljs { | ||
72 | display: block; | ||
73 | overflow-x: auto; | ||
74 | background: #efecf4; | ||
75 | color: #585260; | ||
76 | padding: 0.5em; | ||
77 | } | ||
78 | |||
79 | .hljs-emphasis { | ||
80 | font-style: italic; | ||
81 | } | ||
82 | |||
83 | .hljs-strong { | ||
84 | font-weight: bold; | ||
85 | } |
1 | /* Base16 Atelier Cave Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Cave Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #7e7887; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Cave Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #be4678; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Cave Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #aa573c; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Cave Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #a06e3b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Cave Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #2a9292; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Cave Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #398bc6; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Cave Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #576ddb; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Cave Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #955ae7; | ||
75 | } | ||
76 | |||
77 | .diff .hljs-deletion, | ||
78 | .diff .hljs-addition { | ||
79 | color: #19171c; | ||
80 | display: inline-block; | ||
81 | width: 100%; | ||
82 | } | ||
83 | |||
84 | .diff .hljs-deletion { | ||
85 | background-color: #be4678; | ||
86 | } | ||
87 | |||
88 | .diff .hljs-addition { | ||
89 | background-color: #2a9292; | ||
90 | } | ||
91 | |||
92 | .diff .hljs-change { | ||
93 | color: #576ddb; | ||
94 | } | ||
95 | |||
96 | .hljs { | ||
97 | display: block; | ||
98 | overflow-x: auto; | ||
99 | background: #19171c; | ||
100 | color: #8b8792; | ||
101 | padding: 0.5em; | ||
102 | -webkit-text-size-adjust: none; | ||
103 | } | ||
104 | |||
105 | .coffeescript .javascript, | ||
106 | .javascript .xml, | ||
107 | .tex .hljs-formula, | ||
108 | .xml .javascript, | ||
109 | .xml .vbscript, | ||
110 | .xml .css, | ||
111 | .xml .hljs-cdata { | ||
112 | opacity: 0.5; | ||
113 | } |
1 | /* Base16 Atelier Cave Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Cave Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #655f6d; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Cave Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #be4678; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Cave Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #aa573c; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Cave Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #a06e3b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Cave Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #2a9292; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Cave Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #398bc6; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Cave Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #576ddb; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Cave Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #955ae7; | ||
75 | } | ||
76 | |||
77 | .diff .hljs-deletion, | ||
78 | .diff .hljs-addition { | ||
79 | color: #19171c; | ||
80 | display: inline-block; | ||
81 | width: 100%; | ||
82 | } | ||
83 | |||
84 | .diff .hljs-deletion { | ||
85 | background-color: #be4678; | ||
86 | } | ||
87 | |||
88 | .diff .hljs-addition { | ||
89 | background-color: #2a9292; | ||
90 | } | ||
91 | |||
92 | .diff .hljs-change { | ||
93 | color: #576ddb; | ||
94 | } | ||
95 | |||
96 | .hljs { | ||
97 | display: block; | ||
98 | overflow-x: auto; | ||
99 | background: #efecf4; | ||
100 | color: #585260; | ||
101 | padding: 0.5em; | ||
102 | -webkit-text-size-adjust: none; | ||
103 | } | ||
104 | |||
105 | .coffeescript .javascript, | ||
106 | .javascript .xml, | ||
107 | .tex .hljs-formula, | ||
108 | .xml .javascript, | ||
109 | .xml .vbscript, | ||
110 | .xml .css, | ||
111 | .xml .hljs-cdata { | ||
112 | opacity: 0.5; | ||
113 | } |
1 | /* Base16 Atelier Dune Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Dune Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #999580; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Dune Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #d73737; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Dune Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #b65611; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Dune Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #60ac39; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Dune Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #6684e1; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Dune Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #b854d4; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #20201d; | ||
59 | color: #a6a28c; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Dune Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Dune Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #7d7a68; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Dune Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #d73737; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Dune Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #b65611; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Dune Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #60ac39; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Dune Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #6684e1; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Dune Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #b854d4; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #fefbec; | ||
59 | color: #6e6b5e; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Dune Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Dune Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #999580; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Dune Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #d73737; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Dune Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #b65611; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Dune Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #ae9513; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Dune Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #60ac39; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Dune Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #1fad83; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Dune Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #6684e1; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Dune Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #b854d4; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #20201d; | ||
81 | color: #a6a28c; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* Base16 Atelier Dune Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Dune Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #7d7a68; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Dune Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #d73737; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Dune Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #b65611; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Dune Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #ae9513; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Dune Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #60ac39; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Dune Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #1fad83; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Dune Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #6684e1; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Dune Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #b854d4; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #fefbec; | ||
81 | color: #6e6b5e; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* Base16 Atelier Estuary Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Estuary Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #878573; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Estuary Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #ba6236; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Estuary Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #ae7313; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Estuary Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #7d9726; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Estuary Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #36a166; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Estuary Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #5f9182; | ||
53 | } | ||
54 | |||
55 | .hljs-deletion, | ||
56 | .hljs-addition { | ||
57 | color: #22221b; | ||
58 | display: inline-block; | ||
59 | width: 100%; | ||
60 | } | ||
61 | |||
62 | .hljs-deletion { | ||
63 | background-color: #ba6236; | ||
64 | } | ||
65 | |||
66 | .hljs-addition { | ||
67 | background-color: #7d9726; | ||
68 | } | ||
69 | |||
70 | .hljs { | ||
71 | display: block; | ||
72 | overflow-x: auto; | ||
73 | background: #22221b; | ||
74 | color: #929181; | ||
75 | padding: 0.5em; | ||
76 | } | ||
77 | |||
78 | .hljs-emphasis { | ||
79 | font-style: italic; | ||
80 | } | ||
81 | |||
82 | .hljs-strong { | ||
83 | font-weight: bold; | ||
84 | } |
1 | /* Base16 Atelier Estuary Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Estuary Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #6c6b5a; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Estuary Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #ba6236; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Estuary Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #ae7313; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Estuary Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #7d9726; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Estuary Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #36a166; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Estuary Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #5f9182; | ||
53 | } | ||
54 | |||
55 | .hljs-deletion, | ||
56 | .hljs-addition { | ||
57 | color: #22221b; | ||
58 | display: inline-block; | ||
59 | width: 100%; | ||
60 | } | ||
61 | |||
62 | .hljs-deletion { | ||
63 | background-color: #ba6236; | ||
64 | } | ||
65 | |||
66 | .hljs-addition { | ||
67 | background-color: #7d9726; | ||
68 | } | ||
69 | |||
70 | .hljs { | ||
71 | display: block; | ||
72 | overflow-x: auto; | ||
73 | background: #f4f3ec; | ||
74 | color: #5f5e4e; | ||
75 | padding: 0.5em; | ||
76 | } | ||
77 | |||
78 | .hljs-emphasis { | ||
79 | font-style: italic; | ||
80 | } | ||
81 | |||
82 | .hljs-strong { | ||
83 | font-weight: bold; | ||
84 | } |
1 | /* Base16 Atelier Estuary Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Estuary Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #878573; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Estuary Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #ba6236; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Estuary Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #ae7313; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Estuary Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #a5980d; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Estuary Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #7d9726; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Estuary Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #5b9d48; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Estuary Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #36a166; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Estuary Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #5f9182; | ||
75 | } | ||
76 | |||
77 | .diff .hljs-deletion, | ||
78 | .diff .hljs-addition { | ||
79 | color: #22221b; | ||
80 | display: inline-block; | ||
81 | width: 100%; | ||
82 | } | ||
83 | |||
84 | .diff .hljs-deletion { | ||
85 | background-color: #ba6236; | ||
86 | } | ||
87 | |||
88 | .diff .hljs-addition { | ||
89 | background-color: #7d9726; | ||
90 | } | ||
91 | |||
92 | .diff .hljs-change { | ||
93 | color: #36a166; | ||
94 | } | ||
95 | |||
96 | .hljs { | ||
97 | display: block; | ||
98 | overflow-x: auto; | ||
99 | background: #22221b; | ||
100 | color: #929181; | ||
101 | padding: 0.5em; | ||
102 | -webkit-text-size-adjust: none; | ||
103 | } | ||
104 | |||
105 | .coffeescript .javascript, | ||
106 | .javascript .xml, | ||
107 | .tex .hljs-formula, | ||
108 | .xml .javascript, | ||
109 | .xml .vbscript, | ||
110 | .xml .css, | ||
111 | .xml .hljs-cdata { | ||
112 | opacity: 0.5; | ||
113 | } |
1 | /* Base16 Atelier Estuary Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Estuary Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #6c6b5a; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Estuary Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #ba6236; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Estuary Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #ae7313; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Estuary Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #a5980d; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Estuary Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #7d9726; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Estuary Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #5b9d48; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Estuary Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #36a166; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Estuary Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #5f9182; | ||
75 | } | ||
76 | |||
77 | .diff .hljs-deletion, | ||
78 | .diff .hljs-addition { | ||
79 | color: #22221b; | ||
80 | display: inline-block; | ||
81 | width: 100%; | ||
82 | } | ||
83 | |||
84 | .diff .hljs-deletion { | ||
85 | background-color: #ba6236; | ||
86 | } | ||
87 | |||
88 | .diff .hljs-addition { | ||
89 | background-color: #7d9726; | ||
90 | } | ||
91 | |||
92 | .diff .hljs-change { | ||
93 | color: #36a166; | ||
94 | } | ||
95 | |||
96 | .hljs { | ||
97 | display: block; | ||
98 | overflow-x: auto; | ||
99 | background: #f4f3ec; | ||
100 | color: #5f5e4e; | ||
101 | padding: 0.5em; | ||
102 | -webkit-text-size-adjust: none; | ||
103 | } | ||
104 | |||
105 | .coffeescript .javascript, | ||
106 | .javascript .xml, | ||
107 | .tex .hljs-formula, | ||
108 | .xml .javascript, | ||
109 | .xml .vbscript, | ||
110 | .xml .css, | ||
111 | .xml .hljs-cdata { | ||
112 | opacity: 0.5; | ||
113 | } |
1 | /* Base16 Atelier Forest Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Forest Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #9c9491; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Forest Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #f22c40; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Forest Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #df5320; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Forest Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #7b9726; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Forest Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #407ee7; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Forest Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #6666ea; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #1b1918; | ||
59 | color: #a8a19f; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Forest Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Forest Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #766e6b; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Forest Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #f22c40; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Forest Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #df5320; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Forest Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #7b9726; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Forest Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #407ee7; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Forest Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #6666ea; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #f1efee; | ||
59 | color: #68615e; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Forest Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Forest Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #9c9491; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Forest Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #f22c40; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Forest Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #df5320; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Forest Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #c38418; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Forest Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #7b9726; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Forest Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #3d97b8; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Forest Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #407ee7; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Forest Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #6666ea; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #1b1918; | ||
81 | color: #a8a19f; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* Base16 Atelier Forest Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Forest Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #766e6b; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Forest Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #f22c40; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Forest Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #df5320; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Forest Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #c38418; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Forest Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #7b9726; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Forest Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #3d97b8; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Forest Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #407ee7; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Forest Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #6666ea; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #f1efee; | ||
81 | color: #68615e; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* Base16 Atelier Heath Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Heath Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #9e8f9e; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Heath Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #ca402b; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Heath Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #a65926; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Heath Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #918b3b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Heath Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #516aec; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Heath Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #7b59c0; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #1b181b; | ||
59 | color: #ab9bab; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Heath Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Heath Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #776977; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Heath Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #ca402b; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Heath Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #a65926; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Heath Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #918b3b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Heath Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #516aec; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Heath Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #7b59c0; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #f7f3f7; | ||
59 | color: #695d69; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Heath Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Heath Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #9e8f9e; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Heath Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #ca402b; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Heath Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #a65926; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Heath Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #bb8a35; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Heath Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #918b3b; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Heath Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #159393; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Heath Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #516aec; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Heath Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #7b59c0; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #1b181b; | ||
81 | color: #ab9bab; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* Base16 Atelier Heath Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Heath Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #776977; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Heath Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #ca402b; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Heath Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #a65926; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Heath Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #bb8a35; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Heath Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #918b3b; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Heath Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #159393; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Heath Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #516aec; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Heath Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #7b59c0; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #f7f3f7; | ||
81 | color: #695d69; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* Base16 Atelier Lakeside Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Lakeside Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #7195a8; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Lakeside Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #d22d72; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Lakeside Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #935c25; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Lakeside Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #568c3b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Lakeside Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #257fad; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Lakeside Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #6b6bb8; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #161b1d; | ||
59 | color: #7ea2b4; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Lakeside Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Lakeside Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #5a7b8c; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Lakeside Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #d22d72; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Lakeside Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #935c25; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Lakeside Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #568c3b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Lakeside Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #257fad; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Lakeside Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #6b6bb8; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #ebf8ff; | ||
59 | color: #516d7b; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Lakeside Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Lakeside Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #7195a8; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Lakeside Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #d22d72; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Lakeside Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #935c25; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Lakeside Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #8a8a0f; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Lakeside Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #568c3b; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Lakeside Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #2d8f6f; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Lakeside Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #257fad; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Lakeside Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #6b6bb8; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #161b1d; | ||
81 | color: #7ea2b4; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* Base16 Atelier Lakeside Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Lakeside Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #5a7b8c; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Lakeside Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #d22d72; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Lakeside Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #935c25; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Lakeside Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #8a8a0f; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Lakeside Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #568c3b; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Lakeside Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #2d8f6f; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Lakeside Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #257fad; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Lakeside Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #6b6bb8; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #ebf8ff; | ||
81 | color: #516d7b; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* Base16 Atelier Plateau Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Plateau Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #7e7777; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Plateau Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #ca4949; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Plateau Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #b45a3c; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Plateau Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #4b8b8b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Plateau Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #7272ca; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Plateau Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #8464c4; | ||
53 | } | ||
54 | |||
55 | .hljs-deletion, | ||
56 | .hljs-addition { | ||
57 | color: #1b1818; | ||
58 | display: inline-block; | ||
59 | width: 100%; | ||
60 | } | ||
61 | |||
62 | .hljs-deletion { | ||
63 | background-color: #ca4949; | ||
64 | } | ||
65 | |||
66 | .hljs-addition { | ||
67 | background-color: #4b8b8b; | ||
68 | } | ||
69 | |||
70 | .hljs { | ||
71 | display: block; | ||
72 | overflow-x: auto; | ||
73 | background: #1b1818; | ||
74 | color: #8a8585; | ||
75 | padding: 0.5em; | ||
76 | } | ||
77 | |||
78 | .hljs-emphasis { | ||
79 | font-style: italic; | ||
80 | } | ||
81 | |||
82 | .hljs-strong { | ||
83 | font-weight: bold; | ||
84 | } |
1 | /* Base16 Atelier Plateau Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Plateau Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #655d5d; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Plateau Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #ca4949; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Plateau Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #b45a3c; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Plateau Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #4b8b8b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Plateau Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #7272ca; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Plateau Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #8464c4; | ||
53 | } | ||
54 | |||
55 | .hljs-deletion, | ||
56 | .hljs-addition { | ||
57 | color: #1b1818; | ||
58 | display: inline-block; | ||
59 | width: 100%; | ||
60 | } | ||
61 | |||
62 | .hljs-deletion { | ||
63 | background-color: #ca4949; | ||
64 | } | ||
65 | |||
66 | .hljs-addition { | ||
67 | background-color: #4b8b8b; | ||
68 | } | ||
69 | |||
70 | .hljs { | ||
71 | display: block; | ||
72 | overflow-x: auto; | ||
73 | background: #f4ecec; | ||
74 | color: #585050; | ||
75 | padding: 0.5em; | ||
76 | } | ||
77 | |||
78 | .hljs-emphasis { | ||
79 | font-style: italic; | ||
80 | } | ||
81 | |||
82 | .hljs-strong { | ||
83 | font-weight: bold; | ||
84 | } |
1 | /* Base16 Atelier Plateau Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Plateau Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #7e7777; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Plateau Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #ca4949; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Plateau Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #b45a3c; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Plateau Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #a06e3b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Plateau Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #4b8b8b; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Plateau Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #5485b6; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Plateau Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #7272ca; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Plateau Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #8464c4; | ||
75 | } | ||
76 | |||
77 | .diff .hljs-deletion, | ||
78 | .diff .hljs-addition { | ||
79 | color: #1b1818; | ||
80 | display: inline-block; | ||
81 | width: 100%; | ||
82 | } | ||
83 | |||
84 | .diff .hljs-deletion { | ||
85 | background-color: #ca4949; | ||
86 | } | ||
87 | |||
88 | .diff .hljs-addition { | ||
89 | background-color: #4b8b8b; | ||
90 | } | ||
91 | |||
92 | .diff .hljs-change { | ||
93 | color: #7272ca; | ||
94 | } | ||
95 | |||
96 | .hljs { | ||
97 | display: block; | ||
98 | overflow-x: auto; | ||
99 | background: #1b1818; | ||
100 | color: #8a8585; | ||
101 | padding: 0.5em; | ||
102 | -webkit-text-size-adjust: none; | ||
103 | } | ||
104 | |||
105 | .coffeescript .javascript, | ||
106 | .javascript .xml, | ||
107 | .tex .hljs-formula, | ||
108 | .xml .javascript, | ||
109 | .xml .vbscript, | ||
110 | .xml .css, | ||
111 | .xml .hljs-cdata { | ||
112 | opacity: 0.5; | ||
113 | } |
1 | /* Base16 Atelier Plateau Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Plateau Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #655d5d; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Plateau Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #ca4949; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Plateau Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #b45a3c; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Plateau Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #a06e3b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Plateau Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #4b8b8b; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Plateau Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #5485b6; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Plateau Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #7272ca; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Plateau Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #8464c4; | ||
75 | } | ||
76 | |||
77 | .diff .hljs-deletion, | ||
78 | .diff .hljs-addition { | ||
79 | color: #1b1818; | ||
80 | display: inline-block; | ||
81 | width: 100%; | ||
82 | } | ||
83 | |||
84 | .diff .hljs-deletion { | ||
85 | background-color: #ca4949; | ||
86 | } | ||
87 | |||
88 | .diff .hljs-addition { | ||
89 | background-color: #4b8b8b; | ||
90 | } | ||
91 | |||
92 | .diff .hljs-change { | ||
93 | color: #7272ca; | ||
94 | } | ||
95 | |||
96 | .hljs { | ||
97 | display: block; | ||
98 | overflow-x: auto; | ||
99 | background: #f4ecec; | ||
100 | color: #585050; | ||
101 | padding: 0.5em; | ||
102 | -webkit-text-size-adjust: none; | ||
103 | } | ||
104 | |||
105 | .coffeescript .javascript, | ||
106 | .javascript .xml, | ||
107 | .tex .hljs-formula, | ||
108 | .xml .javascript, | ||
109 | .xml .vbscript, | ||
110 | .xml .css, | ||
111 | .xml .hljs-cdata { | ||
112 | opacity: 0.5; | ||
113 | } |
1 | /* Base16 Atelier Savanna Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Savanna Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #78877d; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Savanna Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #b16139; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Savanna Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #9f713c; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Savanna Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #489963; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Savanna Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #478c90; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Savanna Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #55859b; | ||
53 | } | ||
54 | |||
55 | .hljs-deletion, | ||
56 | .hljs-addition { | ||
57 | color: #171c19; | ||
58 | display: inline-block; | ||
59 | width: 100%; | ||
60 | } | ||
61 | |||
62 | .hljs-deletion { | ||
63 | background-color: #b16139; | ||
64 | } | ||
65 | |||
66 | .hljs-addition { | ||
67 | background-color: #489963; | ||
68 | } | ||
69 | |||
70 | .hljs { | ||
71 | display: block; | ||
72 | overflow-x: auto; | ||
73 | background: #171c19; | ||
74 | color: #87928a; | ||
75 | padding: 0.5em; | ||
76 | } | ||
77 | |||
78 | .hljs-emphasis { | ||
79 | font-style: italic; | ||
80 | } | ||
81 | |||
82 | .hljs-strong { | ||
83 | font-weight: bold; | ||
84 | } |
1 | /* Base16 Atelier Savanna Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Savanna Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #5f6d64; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Savanna Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #b16139; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Savanna Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #9f713c; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Savanna Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #489963; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Savanna Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #478c90; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Savanna Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #55859b; | ||
53 | } | ||
54 | |||
55 | .hljs-deletion, | ||
56 | .hljs-addition { | ||
57 | color: #171c19; | ||
58 | display: inline-block; | ||
59 | width: 100%; | ||
60 | } | ||
61 | |||
62 | .hljs-deletion { | ||
63 | background-color: #b16139; | ||
64 | } | ||
65 | |||
66 | .hljs-addition { | ||
67 | background-color: #489963; | ||
68 | } | ||
69 | |||
70 | .hljs { | ||
71 | display: block; | ||
72 | overflow-x: auto; | ||
73 | background: #ecf4ee; | ||
74 | color: #526057; | ||
75 | padding: 0.5em; | ||
76 | } | ||
77 | |||
78 | .hljs-emphasis { | ||
79 | font-style: italic; | ||
80 | } | ||
81 | |||
82 | .hljs-strong { | ||
83 | font-weight: bold; | ||
84 | } |
1 | /* Base16 Atelier Savanna Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Savanna Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #78877d; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Savanna Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #b16139; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Savanna Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #9f713c; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Savanna Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #a07e3b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Savanna Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #489963; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Savanna Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #1c9aa0; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Savanna Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #478c90; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Savanna Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #55859b; | ||
75 | } | ||
76 | |||
77 | .diff .hljs-deletion, | ||
78 | .diff .hljs-addition { | ||
79 | color: #171c19; | ||
80 | display: inline-block; | ||
81 | width: 100%; | ||
82 | } | ||
83 | |||
84 | .diff .hljs-deletion { | ||
85 | background-color: #b16139; | ||
86 | } | ||
87 | |||
88 | .diff .hljs-addition { | ||
89 | background-color: #489963; | ||
90 | } | ||
91 | |||
92 | .diff .hljs-change { | ||
93 | color: #478c90; | ||
94 | } | ||
95 | |||
96 | .hljs { | ||
97 | display: block; | ||
98 | overflow-x: auto; | ||
99 | background: #171c19; | ||
100 | color: #87928a; | ||
101 | padding: 0.5em; | ||
102 | -webkit-text-size-adjust: none; | ||
103 | } | ||
104 | |||
105 | .coffeescript .javascript, | ||
106 | .javascript .xml, | ||
107 | .tex .hljs-formula, | ||
108 | .xml .javascript, | ||
109 | .xml .vbscript, | ||
110 | .xml .css, | ||
111 | .xml .hljs-cdata { | ||
112 | opacity: 0.5; | ||
113 | } |
1 | /* Base16 Atelier Savanna Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Savanna Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #5f6d64; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Savanna Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #b16139; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Savanna Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #9f713c; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Savanna Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #a07e3b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Savanna Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #489963; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Savanna Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #1c9aa0; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Savanna Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #478c90; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Savanna Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #55859b; | ||
75 | } | ||
76 | |||
77 | .diff .hljs-deletion, | ||
78 | .diff .hljs-addition { | ||
79 | color: #171c19; | ||
80 | display: inline-block; | ||
81 | width: 100%; | ||
82 | } | ||
83 | |||
84 | .diff .hljs-deletion { | ||
85 | background-color: #b16139; | ||
86 | } | ||
87 | |||
88 | .diff .hljs-addition { | ||
89 | background-color: #489963; | ||
90 | } | ||
91 | |||
92 | .diff .hljs-change { | ||
93 | color: #478c90; | ||
94 | } | ||
95 | |||
96 | .hljs { | ||
97 | display: block; | ||
98 | overflow-x: auto; | ||
99 | background: #ecf4ee; | ||
100 | color: #526057; | ||
101 | padding: 0.5em; | ||
102 | -webkit-text-size-adjust: none; | ||
103 | } | ||
104 | |||
105 | .coffeescript .javascript, | ||
106 | .javascript .xml, | ||
107 | .tex .hljs-formula, | ||
108 | .xml .javascript, | ||
109 | .xml .vbscript, | ||
110 | .xml .css, | ||
111 | .xml .hljs-cdata { | ||
112 | opacity: 0.5; | ||
113 | } |
1 | /* Base16 Atelier Seaside Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Seaside Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #809980; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Seaside Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #e6193c; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Seaside Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #87711d; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Seaside Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #29a329; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Seaside Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #3d62f5; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Seaside Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #ad2bee; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #131513; | ||
59 | color: #8ca68c; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Seaside Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Seaside Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #687d68; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Seaside Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #e6193c; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Seaside Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #87711d; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Seaside Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #29a329; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Seaside Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #3d62f5; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Seaside Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #ad2bee; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #f4fbf4; | ||
59 | color: #5e6e5e; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Seaside Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Seaside Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #809980; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Seaside Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #e6193c; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Seaside Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #87711d; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Seaside Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #98981b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Seaside Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #29a329; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Seaside Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #1999b3; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Seaside Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #3d62f5; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Seaside Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #ad2bee; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #131513; | ||
81 | color: #8ca68c; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* Base16 Atelier Seaside Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Seaside Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #687d68; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Seaside Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #e6193c; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Seaside Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #87711d; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Seaside Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #98981b; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Seaside Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #29a329; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Seaside Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #1999b3; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Seaside Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #3d62f5; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Seaside Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #ad2bee; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #f4fbf4; | ||
81 | color: #5e6e5e; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* Base16 Atelier Sulphurpool Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Sulphurpool Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #898ea4; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Sulphurpool Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #c94922; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Sulphurpool Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #c76b29; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Sulphurpool Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #ac9739; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Sulphurpool Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #3d8fd1; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Sulphurpool Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #6679cc; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #202746; | ||
59 | color: #979db4; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Sulphurpool Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Sulphurpool Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #6b7394; | ||
9 | } | ||
10 | |||
11 | /* Atelier-Sulphurpool Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-attribute, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-regexp, | ||
18 | .hljs-link, | ||
19 | .hljs-name, | ||
20 | .hljs-selector-id, | ||
21 | .hljs-selector-class { | ||
22 | color: #c94922; | ||
23 | } | ||
24 | |||
25 | /* Atelier-Sulphurpool Orange */ | ||
26 | .hljs-number, | ||
27 | .hljs-meta, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params { | ||
33 | color: #c76b29; | ||
34 | } | ||
35 | |||
36 | /* Atelier-Sulphurpool Green */ | ||
37 | .hljs-string, | ||
38 | .hljs-symbol, | ||
39 | .hljs-bullet { | ||
40 | color: #ac9739; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Sulphurpool Blue */ | ||
44 | .hljs-title, | ||
45 | .hljs-section { | ||
46 | color: #3d8fd1; | ||
47 | } | ||
48 | |||
49 | /* Atelier-Sulphurpool Purple */ | ||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag { | ||
52 | color: #6679cc; | ||
53 | } | ||
54 | |||
55 | .hljs { | ||
56 | display: block; | ||
57 | overflow-x: auto; | ||
58 | background: #f5f7ff; | ||
59 | color: #5e6687; | ||
60 | padding: 0.5em; | ||
61 | } | ||
62 | |||
63 | .hljs-emphasis { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-strong { | ||
68 | font-weight: bold; | ||
69 | } |
1 | /* Base16 Atelier Sulphurpool Dark - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Sulphurpool Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #898ea4; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Sulphurpool Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #c94922; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Sulphurpool Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #c76b29; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Sulphurpool Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #c08b30; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Sulphurpool Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #ac9739; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Sulphurpool Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #22a2c9; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Sulphurpool Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #3d8fd1; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Sulphurpool Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #6679cc; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #202746; | ||
81 | color: #979db4; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* Base16 Atelier Sulphurpool Light - Theme */ | ||
2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ | ||
3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
4 | |||
5 | /* Atelier-Sulphurpool Comment */ | ||
6 | .hljs-comment { | ||
7 | color: #6b7394; | ||
8 | } | ||
9 | |||
10 | /* Atelier-Sulphurpool Red */ | ||
11 | .hljs-variable, | ||
12 | .hljs-attribute, | ||
13 | .hljs-tag, | ||
14 | .hljs-regexp, | ||
15 | .hljs-name, | ||
16 | .ruby .hljs-constant, | ||
17 | .xml .hljs-tag .hljs-title, | ||
18 | .xml .hljs-pi, | ||
19 | .xml .hljs-doctype, | ||
20 | .html .hljs-doctype, | ||
21 | .css .hljs-id, | ||
22 | .css .hljs-class, | ||
23 | .css .hljs-pseudo { | ||
24 | color: #c94922; | ||
25 | } | ||
26 | |||
27 | /* Atelier-Sulphurpool Orange */ | ||
28 | .hljs-number, | ||
29 | .hljs-preprocessor, | ||
30 | .hljs-built_in, | ||
31 | .hljs-literal, | ||
32 | .hljs-params, | ||
33 | .hljs-constant { | ||
34 | color: #c76b29; | ||
35 | } | ||
36 | |||
37 | /* Atelier-Sulphurpool Yellow */ | ||
38 | .ruby .hljs-class .hljs-title, | ||
39 | .css .hljs-rule .hljs-attribute { | ||
40 | color: #c08b30; | ||
41 | } | ||
42 | |||
43 | /* Atelier-Sulphurpool Green */ | ||
44 | .hljs-string, | ||
45 | .hljs-value, | ||
46 | .hljs-inheritance, | ||
47 | .hljs-header, | ||
48 | .ruby .hljs-symbol, | ||
49 | .xml .hljs-cdata { | ||
50 | color: #ac9739; | ||
51 | } | ||
52 | |||
53 | /* Atelier-Sulphurpool Aqua */ | ||
54 | .hljs-title, | ||
55 | .css .hljs-hexcolor { | ||
56 | color: #22a2c9; | ||
57 | } | ||
58 | |||
59 | /* Atelier-Sulphurpool Blue */ | ||
60 | .hljs-function, | ||
61 | .python .hljs-decorator, | ||
62 | .python .hljs-title, | ||
63 | .ruby .hljs-function .hljs-title, | ||
64 | .ruby .hljs-title .hljs-keyword, | ||
65 | .perl .hljs-sub, | ||
66 | .javascript .hljs-title, | ||
67 | .coffeescript .hljs-title { | ||
68 | color: #3d8fd1; | ||
69 | } | ||
70 | |||
71 | /* Atelier-Sulphurpool Purple */ | ||
72 | .hljs-keyword, | ||
73 | .javascript .hljs-function { | ||
74 | color: #6679cc; | ||
75 | } | ||
76 | |||
77 | .hljs { | ||
78 | display: block; | ||
79 | overflow-x: auto; | ||
80 | background: #f5f7ff; | ||
81 | color: #5e6687; | ||
82 | padding: 0.5em; | ||
83 | -webkit-text-size-adjust: none; | ||
84 | } | ||
85 | |||
86 | .coffeescript .javascript, | ||
87 | .javascript .xml, | ||
88 | .tex .hljs-formula, | ||
89 | .xml .javascript, | ||
90 | .xml .vbscript, | ||
91 | .xml .css, | ||
92 | .xml .hljs-cdata { | ||
93 | opacity: 0.5; | ||
94 | } |
1 | /* | ||
2 | |||
3 | Atom One Dark by Daniel Gamage | ||
4 | Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax | ||
5 | |||
6 | base: #282c34 | ||
7 | mono-1: #abb2bf | ||
8 | mono-2: #818896 | ||
9 | mono-3: #5c6370 | ||
10 | hue-1: #56b6c2 | ||
11 | hue-2: #61aeee | ||
12 | hue-3: #c678dd | ||
13 | hue-4: #98c379 | ||
14 | hue-5: #e06c75 | ||
15 | hue-5-2: #be5046 | ||
16 | hue-6: #d19a66 | ||
17 | hue-6-2: #e6c07b | ||
18 | |||
19 | */ | ||
20 | |||
21 | .hljs { | ||
22 | display: block; | ||
23 | overflow-x: auto; | ||
24 | padding: 0.5em; | ||
25 | color: #abb2bf; | ||
26 | background: #282c34; | ||
27 | } | ||
28 | |||
29 | .hljs-comment, | ||
30 | .hljs-quote { | ||
31 | color: #5c6370; | ||
32 | font-style: italic; | ||
33 | } | ||
34 | |||
35 | .hljs-doctag, | ||
36 | .hljs-keyword, | ||
37 | .hljs-formula { | ||
38 | color: #c678dd; | ||
39 | } | ||
40 | |||
41 | .hljs-section, | ||
42 | .hljs-name, | ||
43 | .hljs-selector-tag, | ||
44 | .hljs-deletion, | ||
45 | .hljs-subst { | ||
46 | color: #e06c75; | ||
47 | } | ||
48 | |||
49 | .hljs-literal { | ||
50 | color: #56b6c2; | ||
51 | } | ||
52 | |||
53 | .hljs-string, | ||
54 | .hljs-regexp, | ||
55 | .hljs-addition, | ||
56 | .hljs-attribute, | ||
57 | .hljs-meta-string { | ||
58 | color: #98c379; | ||
59 | } | ||
60 | |||
61 | .hljs-built_in, | ||
62 | .hljs-class .hljs-title { | ||
63 | color: #e6c07b; | ||
64 | } | ||
65 | |||
66 | .hljs-attr, | ||
67 | .hljs-variable, | ||
68 | .hljs-template-variable, | ||
69 | .hljs-type, | ||
70 | .hljs-selector-class, | ||
71 | .hljs-selector-attr, | ||
72 | .hljs-selector-pseudo, | ||
73 | .hljs-number { | ||
74 | color: #d19a66; | ||
75 | } | ||
76 | |||
77 | .hljs-symbol, | ||
78 | .hljs-bullet, | ||
79 | .hljs-link, | ||
80 | .hljs-meta, | ||
81 | .hljs-selector-id, | ||
82 | .hljs-title { | ||
83 | color: #61aeee; | ||
84 | } | ||
85 | |||
86 | .hljs-emphasis { | ||
87 | font-style: italic; | ||
88 | } | ||
89 | |||
90 | .hljs-strong { | ||
91 | font-weight: bold; | ||
92 | } | ||
93 | |||
94 | .hljs-link { | ||
95 | text-decoration: underline; | ||
96 | } |
1 | /* | ||
2 | |||
3 | Atom One Light by Daniel Gamage | ||
4 | Original One Light Syntax theme from https://github.com/atom/one-light-syntax | ||
5 | |||
6 | base: #fafafa | ||
7 | mono-1: #383a42 | ||
8 | mono-2: #686b77 | ||
9 | mono-3: #a0a1a7 | ||
10 | hue-1: #0184bb | ||
11 | hue-2: #4078f2 | ||
12 | hue-3: #a626a4 | ||
13 | hue-4: #50a14f | ||
14 | hue-5: #e45649 | ||
15 | hue-5-2: #c91243 | ||
16 | hue-6: #986801 | ||
17 | hue-6-2: #c18401 | ||
18 | |||
19 | */ | ||
20 | |||
21 | .hljs { | ||
22 | display: block; | ||
23 | overflow-x: auto; | ||
24 | padding: 0.5em; | ||
25 | color: #383a42; | ||
26 | background: #fafafa; | ||
27 | } | ||
28 | |||
29 | .hljs-comment, | ||
30 | .hljs-quote { | ||
31 | color: #a0a1a7; | ||
32 | font-style: italic; | ||
33 | } | ||
34 | |||
35 | .hljs-doctag, | ||
36 | .hljs-keyword, | ||
37 | .hljs-formula { | ||
38 | color: #a626a4; | ||
39 | } | ||
40 | |||
41 | .hljs-section, | ||
42 | .hljs-name, | ||
43 | .hljs-selector-tag, | ||
44 | .hljs-deletion, | ||
45 | .hljs-subst { | ||
46 | color: #e45649; | ||
47 | } | ||
48 | |||
49 | .hljs-literal { | ||
50 | color: #0184bb; | ||
51 | } | ||
52 | |||
53 | .hljs-string, | ||
54 | .hljs-regexp, | ||
55 | .hljs-addition, | ||
56 | .hljs-attribute, | ||
57 | .hljs-meta-string { | ||
58 | color: #50a14f; | ||
59 | } | ||
60 | |||
61 | .hljs-built_in, | ||
62 | .hljs-class .hljs-title { | ||
63 | color: #c18401; | ||
64 | } | ||
65 | |||
66 | .hljs-attr, | ||
67 | .hljs-variable, | ||
68 | .hljs-template-variable, | ||
69 | .hljs-type, | ||
70 | .hljs-selector-class, | ||
71 | .hljs-selector-attr, | ||
72 | .hljs-selector-pseudo, | ||
73 | .hljs-number { | ||
74 | color: #986801; | ||
75 | } | ||
76 | |||
77 | .hljs-symbol, | ||
78 | .hljs-bullet, | ||
79 | .hljs-link, | ||
80 | .hljs-meta, | ||
81 | .hljs-selector-id, | ||
82 | .hljs-title { | ||
83 | color: #4078f2; | ||
84 | } | ||
85 | |||
86 | .hljs-emphasis { | ||
87 | font-style: italic; | ||
88 | } | ||
89 | |||
90 | .hljs-strong { | ||
91 | font-weight: bold; | ||
92 | } | ||
93 | |||
94 | .hljs-link { | ||
95 | text-decoration: underline; | ||
96 | } |
static/libs/highlight/styles/brown-paper.css
0 → 100644
1 | /* | ||
2 | |||
3 | Brown Paper style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background:#b7a68e url(./brown-papersq.png); | ||
12 | } | ||
13 | |||
14 | .hljs-keyword, | ||
15 | .hljs-selector-tag, | ||
16 | .hljs-literal { | ||
17 | color:#005599; | ||
18 | font-weight:bold; | ||
19 | } | ||
20 | |||
21 | .hljs, | ||
22 | .hljs-subst { | ||
23 | color: #363c69; | ||
24 | } | ||
25 | |||
26 | .hljs-string, | ||
27 | .hljs-title, | ||
28 | .hljs-section, | ||
29 | .hljs-type, | ||
30 | .hljs-attribute, | ||
31 | .hljs-symbol, | ||
32 | .hljs-bullet, | ||
33 | .hljs-built_in, | ||
34 | .hljs-addition, | ||
35 | .hljs-variable, | ||
36 | .hljs-template-tag, | ||
37 | .hljs-template-variable, | ||
38 | .hljs-link, | ||
39 | .hljs-name { | ||
40 | color: #2c009f; | ||
41 | } | ||
42 | |||
43 | .hljs-comment, | ||
44 | .hljs-quote, | ||
45 | .hljs-meta, | ||
46 | .hljs-deletion { | ||
47 | color: #802022; | ||
48 | } | ||
49 | |||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag, | ||
52 | .hljs-literal, | ||
53 | .hljs-doctag, | ||
54 | .hljs-title, | ||
55 | .hljs-section, | ||
56 | .hljs-type, | ||
57 | .hljs-name, | ||
58 | .hljs-strong { | ||
59 | font-weight: bold; | ||
60 | } | ||
61 | |||
62 | .hljs-emphasis { | ||
63 | font-style: italic; | ||
64 | } |

17.8 KB
static/libs/highlight/styles/brown_paper.css
0 → 100644
1 | /* | ||
2 | |||
3 | Brown Paper style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background:#b7a68e url(./brown_papersq.png); | ||
12 | -webkit-text-size-adjust: none; | ||
13 | } | ||
14 | |||
15 | .hljs-keyword, | ||
16 | .hljs-literal, | ||
17 | .hljs-change, | ||
18 | .hljs-winutils, | ||
19 | .hljs-flow, | ||
20 | .nginx .hljs-title, | ||
21 | .tex .hljs-special, | ||
22 | .hljs-request, | ||
23 | .hljs-status { | ||
24 | color:#005599; | ||
25 | font-weight:bold; | ||
26 | } | ||
27 | |||
28 | .hljs, | ||
29 | .hljs-subst, | ||
30 | .hljs-tag .hljs-keyword { | ||
31 | color: #363c69; | ||
32 | } | ||
33 | |||
34 | .hljs-string, | ||
35 | .hljs-title, | ||
36 | .hljs-type, | ||
37 | .hljs-tag .hljs-value, | ||
38 | .css .hljs-rule .hljs-value, | ||
39 | .hljs-preprocessor, | ||
40 | .hljs-pragma, | ||
41 | .ruby .hljs-symbol, | ||
42 | .ruby .hljs-symbol .hljs-string, | ||
43 | .ruby .hljs-class .hljs-parent, | ||
44 | .hljs-built_in, | ||
45 | .django .hljs-template_tag, | ||
46 | .django .hljs-variable, | ||
47 | .smalltalk .hljs-class, | ||
48 | .ruby .hljs-string, | ||
49 | .django .hljs-filter .hljs-argument, | ||
50 | .smalltalk .hljs-localvars, | ||
51 | .smalltalk .hljs-array, | ||
52 | .hljs-attr_selector, | ||
53 | .hljs-pseudo, | ||
54 | .hljs-addition, | ||
55 | .hljs-stream, | ||
56 | .hljs-envvar, | ||
57 | .apache .hljs-tag, | ||
58 | .apache .hljs-cbracket, | ||
59 | .tex .hljs-number, | ||
60 | .hljs-name { | ||
61 | color: #2c009f; | ||
62 | } | ||
63 | |||
64 | .hljs-comment, | ||
65 | .hljs-annotation, | ||
66 | .hljs-decorator, | ||
67 | .hljs-pi, | ||
68 | .hljs-doctype, | ||
69 | .hljs-deletion, | ||
70 | .hljs-shebang, | ||
71 | .apache .hljs-sqbracket, | ||
72 | .nginx .hljs-built_in, | ||
73 | .tex .hljs-formula { | ||
74 | color: #802022; | ||
75 | } | ||
76 | |||
77 | .hljs-keyword, | ||
78 | .hljs-literal, | ||
79 | .css .hljs-id, | ||
80 | .hljs-doctag, | ||
81 | .hljs-title, | ||
82 | .hljs-type, | ||
83 | .vbscript .hljs-built_in, | ||
84 | .rsl .hljs-built_in, | ||
85 | .smalltalk .hljs-class, | ||
86 | .diff .hljs-header, | ||
87 | .hljs-chunk, | ||
88 | .hljs-winutils, | ||
89 | .bash .hljs-variable, | ||
90 | .apache .hljs-tag, | ||
91 | .tex .hljs-command { | ||
92 | font-weight: bold; | ||
93 | } | ||
94 | |||
95 | .coffeescript .javascript, | ||
96 | .javascript .xml, | ||
97 | .tex .hljs-formula, | ||
98 | .xml .javascript, | ||
99 | .xml .vbscript, | ||
100 | .xml .css, | ||
101 | .xml .hljs-cdata { | ||
102 | opacity: 0.8; | ||
103 | } |

17.8 KB
1 | /* | ||
2 | codepen.io Embed Theme | ||
3 | Author: Justin Perry <http://github.com/ourmaninamsterdam> | ||
4 | Original theme - https://github.com/chriskempson/tomorrow-theme | ||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #222; | ||
12 | color: #fff; | ||
13 | } | ||
14 | |||
15 | .hljs-comment, | ||
16 | .hljs-quote { | ||
17 | color: #777; | ||
18 | } | ||
19 | |||
20 | .hljs-variable, | ||
21 | .hljs-template-variable, | ||
22 | .hljs-tag, | ||
23 | .hljs-regexp, | ||
24 | .hljs-meta, | ||
25 | .hljs-number, | ||
26 | .hljs-built_in, | ||
27 | .hljs-builtin-name, | ||
28 | .hljs-literal, | ||
29 | .hljs-params, | ||
30 | .hljs-symbol, | ||
31 | .hljs-bullet, | ||
32 | .hljs-link, | ||
33 | .hljs-deletion { | ||
34 | color: #ab875d; | ||
35 | } | ||
36 | |||
37 | .hljs-section, | ||
38 | .hljs-title, | ||
39 | .hljs-name, | ||
40 | .hljs-selector-id, | ||
41 | .hljs-selector-class, | ||
42 | .hljs-type, | ||
43 | .hljs-attribute { | ||
44 | color: #9b869b; | ||
45 | } | ||
46 | |||
47 | .hljs-string, | ||
48 | .hljs-keyword, | ||
49 | .hljs-selector-tag, | ||
50 | .hljs-addition { | ||
51 | color: #8f9c6c; | ||
52 | } | ||
53 | |||
54 | .hljs-emphasis { | ||
55 | font-style: italic; | ||
56 | } | ||
57 | |||
58 | .hljs-strong { | ||
59 | font-weight: bold; | ||
60 | } |
1 | /* | ||
2 | |||
3 | Colorbrewer theme | ||
4 | Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock <mike@ocks.org> | ||
5 | Ported by Fabrício Tavares de Oliveira | ||
6 | |||
7 | */ | ||
8 | |||
9 | .hljs { | ||
10 | display: block; | ||
11 | overflow-x: auto; | ||
12 | padding: 0.5em; | ||
13 | background: #fff; | ||
14 | } | ||
15 | |||
16 | .hljs, | ||
17 | .hljs-subst { | ||
18 | color: #000; | ||
19 | } | ||
20 | |||
21 | .hljs-string, | ||
22 | .hljs-meta, | ||
23 | .hljs-symbol, | ||
24 | .hljs-template-tag, | ||
25 | .hljs-template-variable, | ||
26 | .hljs-addition { | ||
27 | color: #756bb1; | ||
28 | } | ||
29 | |||
30 | .hljs-comment, | ||
31 | .hljs-quote { | ||
32 | color: #636363; | ||
33 | } | ||
34 | |||
35 | .hljs-number, | ||
36 | .hljs-regexp, | ||
37 | .hljs-literal, | ||
38 | .hljs-bullet, | ||
39 | .hljs-link { | ||
40 | color: #31a354; | ||
41 | } | ||
42 | |||
43 | .hljs-deletion, | ||
44 | .hljs-variable { | ||
45 | color: #88f; | ||
46 | } | ||
47 | |||
48 | |||
49 | |||
50 | .hljs-keyword, | ||
51 | .hljs-selector-tag, | ||
52 | .hljs-title, | ||
53 | .hljs-section, | ||
54 | .hljs-built_in, | ||
55 | .hljs-doctag, | ||
56 | .hljs-type, | ||
57 | .hljs-tag, | ||
58 | .hljs-name, | ||
59 | .hljs-selector-id, | ||
60 | .hljs-selector-class, | ||
61 | .hljs-strong { | ||
62 | color: #3182bd; | ||
63 | } | ||
64 | |||
65 | .hljs-emphasis { | ||
66 | font-style: italic; | ||
67 | } | ||
68 | |||
69 | .hljs-attribute { | ||
70 | color: #e6550d; | ||
71 | } |
static/libs/highlight/styles/darcula.css
0 → 100644
1 | /* | ||
2 | |||
3 | Darcula color scheme from the JetBrains family of IDEs | ||
4 | |||
5 | */ | ||
6 | |||
7 | |||
8 | .hljs { | ||
9 | display: block; | ||
10 | overflow-x: auto; | ||
11 | padding: 0.5em; | ||
12 | background: #2b2b2b; | ||
13 | } | ||
14 | |||
15 | .hljs { | ||
16 | color: #bababa; | ||
17 | } | ||
18 | |||
19 | .hljs-strong, | ||
20 | .hljs-emphasis { | ||
21 | color: #a8a8a2; | ||
22 | } | ||
23 | |||
24 | .hljs-bullet, | ||
25 | .hljs-quote, | ||
26 | .hljs-link, | ||
27 | .hljs-number, | ||
28 | .hljs-regexp, | ||
29 | .hljs-literal { | ||
30 | color: #6896ba; | ||
31 | } | ||
32 | |||
33 | .hljs-code, | ||
34 | .hljs-selector-class { | ||
35 | color: #a6e22e; | ||
36 | } | ||
37 | |||
38 | .hljs-emphasis { | ||
39 | font-style: italic; | ||
40 | } | ||
41 | |||
42 | .hljs-keyword, | ||
43 | .hljs-selector-tag, | ||
44 | .hljs-section, | ||
45 | .hljs-attribute, | ||
46 | .hljs-name, | ||
47 | .hljs-variable { | ||
48 | color: #cb7832; | ||
49 | } | ||
50 | |||
51 | .hljs-params { | ||
52 | color: #b9b9b9; | ||
53 | } | ||
54 | |||
55 | .hljs-string { | ||
56 | color: #6a8759; | ||
57 | } | ||
58 | |||
59 | .hljs-subst, | ||
60 | .hljs-type, | ||
61 | .hljs-built_in, | ||
62 | .hljs-builtin-name, | ||
63 | .hljs-symbol, | ||
64 | .hljs-selector-id, | ||
65 | .hljs-selector-attr, | ||
66 | .hljs-selector-pseudo, | ||
67 | .hljs-template-tag, | ||
68 | .hljs-template-variable, | ||
69 | .hljs-addition { | ||
70 | color: #e0c46c; | ||
71 | } | ||
72 | |||
73 | .hljs-comment, | ||
74 | .hljs-deletion, | ||
75 | .hljs-meta { | ||
76 | color: #7f7f7f; | ||
77 | } |
static/libs/highlight/styles/dark.css
0 → 100644
1 | /* | ||
2 | |||
3 | Dark style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #444; | ||
12 | } | ||
13 | |||
14 | .hljs-keyword, | ||
15 | .hljs-selector-tag, | ||
16 | .hljs-literal, | ||
17 | .hljs-section, | ||
18 | .hljs-link { | ||
19 | color: white; | ||
20 | } | ||
21 | |||
22 | .hljs, | ||
23 | .hljs-subst { | ||
24 | color: #ddd; | ||
25 | } | ||
26 | |||
27 | .hljs-string, | ||
28 | .hljs-title, | ||
29 | .hljs-name, | ||
30 | .hljs-type, | ||
31 | .hljs-attribute, | ||
32 | .hljs-symbol, | ||
33 | .hljs-bullet, | ||
34 | .hljs-built_in, | ||
35 | .hljs-addition, | ||
36 | .hljs-variable, | ||
37 | .hljs-template-tag, | ||
38 | .hljs-template-variable { | ||
39 | color: #d88; | ||
40 | } | ||
41 | |||
42 | .hljs-comment, | ||
43 | .hljs-quote, | ||
44 | .hljs-deletion, | ||
45 | .hljs-meta { | ||
46 | color: #777; | ||
47 | } | ||
48 | |||
49 | .hljs-keyword, | ||
50 | .hljs-selector-tag, | ||
51 | .hljs-literal, | ||
52 | .hljs-title, | ||
53 | .hljs-section, | ||
54 | .hljs-doctag, | ||
55 | .hljs-type, | ||
56 | .hljs-name, | ||
57 | .hljs-strong { | ||
58 | font-weight: bold; | ||
59 | } | ||
60 | |||
61 | .hljs-emphasis { | ||
62 | font-style: italic; | ||
63 | } |
static/libs/highlight/styles/darkula.css
0 → 100644
static/libs/highlight/styles/default.css
0 → 100644
1 | /* | ||
2 | |||
3 | Original highlight.js style (c) Ivan Sagalaev <maniac@softwaremaniacs.org> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #F0F0F0; | ||
12 | } | ||
13 | |||
14 | |||
15 | /* Base color: saturation 0; */ | ||
16 | |||
17 | .hljs, | ||
18 | .hljs-subst { | ||
19 | color: #444; | ||
20 | } | ||
21 | |||
22 | .hljs-comment { | ||
23 | color: #888888; | ||
24 | } | ||
25 | |||
26 | .hljs-keyword, | ||
27 | .hljs-attribute, | ||
28 | .hljs-selector-tag, | ||
29 | .hljs-meta-keyword, | ||
30 | .hljs-doctag, | ||
31 | .hljs-name { | ||
32 | font-weight: bold; | ||
33 | } | ||
34 | |||
35 | |||
36 | /* User color: hue: 0 */ | ||
37 | |||
38 | .hljs-type, | ||
39 | .hljs-string, | ||
40 | .hljs-number, | ||
41 | .hljs-selector-id, | ||
42 | .hljs-selector-class, | ||
43 | .hljs-quote, | ||
44 | .hljs-template-tag, | ||
45 | .hljs-deletion { | ||
46 | color: #880000; | ||
47 | } | ||
48 | |||
49 | .hljs-title, | ||
50 | .hljs-section { | ||
51 | color: #880000; | ||
52 | font-weight: bold; | ||
53 | } | ||
54 | |||
55 | .hljs-regexp, | ||
56 | .hljs-symbol, | ||
57 | .hljs-variable, | ||
58 | .hljs-template-variable, | ||
59 | .hljs-link, | ||
60 | .hljs-selector-attr, | ||
61 | .hljs-selector-pseudo { | ||
62 | color: #BC6060; | ||
63 | } | ||
64 | |||
65 | |||
66 | /* Language color: hue: 90; */ | ||
67 | |||
68 | .hljs-literal { | ||
69 | color: #78A960; | ||
70 | } | ||
71 | |||
72 | .hljs-built_in, | ||
73 | .hljs-bullet, | ||
74 | .hljs-code, | ||
75 | .hljs-addition { | ||
76 | color: #397300; | ||
77 | } | ||
78 | |||
79 | |||
80 | /* Meta color: hue: 200 */ | ||
81 | |||
82 | .hljs-meta { | ||
83 | color: #1f7199; | ||
84 | } | ||
85 | |||
86 | .hljs-meta-string { | ||
87 | color: #4d99bf; | ||
88 | } | ||
89 | |||
90 | |||
91 | /* Misc effects */ | ||
92 | |||
93 | .hljs-emphasis { | ||
94 | font-style: italic; | ||
95 | } | ||
96 | |||
97 | .hljs-strong { | ||
98 | font-weight: bold; | ||
99 | } |
static/libs/highlight/styles/docco.css
0 → 100644
1 | /* | ||
2 | Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars) | ||
3 | */ | ||
4 | |||
5 | .hljs { | ||
6 | display: block; | ||
7 | overflow-x: auto; | ||
8 | padding: 0.5em; | ||
9 | color: #000; | ||
10 | background: #f8f8ff; | ||
11 | } | ||
12 | |||
13 | .hljs-comment, | ||
14 | .hljs-quote { | ||
15 | color: #408080; | ||
16 | font-style: italic; | ||
17 | } | ||
18 | |||
19 | .hljs-keyword, | ||
20 | .hljs-selector-tag, | ||
21 | .hljs-literal, | ||
22 | .hljs-subst { | ||
23 | color: #954121; | ||
24 | } | ||
25 | |||
26 | .hljs-number { | ||
27 | color: #40a070; | ||
28 | } | ||
29 | |||
30 | .hljs-string, | ||
31 | .hljs-doctag { | ||
32 | color: #219161; | ||
33 | } | ||
34 | |||
35 | .hljs-selector-id, | ||
36 | .hljs-selector-class, | ||
37 | .hljs-section, | ||
38 | .hljs-type { | ||
39 | color: #19469d; | ||
40 | } | ||
41 | |||
42 | .hljs-params { | ||
43 | color: #00f; | ||
44 | } | ||
45 | |||
46 | .hljs-title { | ||
47 | color: #458; | ||
48 | font-weight: bold; | ||
49 | } | ||
50 | |||
51 | .hljs-tag, | ||
52 | .hljs-name, | ||
53 | .hljs-attribute { | ||
54 | color: #000080; | ||
55 | font-weight: normal; | ||
56 | } | ||
57 | |||
58 | .hljs-variable, | ||
59 | .hljs-template-variable { | ||
60 | color: #008080; | ||
61 | } | ||
62 | |||
63 | .hljs-regexp, | ||
64 | .hljs-link { | ||
65 | color: #b68; | ||
66 | } | ||
67 | |||
68 | .hljs-symbol, | ||
69 | .hljs-bullet { | ||
70 | color: #990073; | ||
71 | } | ||
72 | |||
73 | .hljs-built_in, | ||
74 | .hljs-builtin-name { | ||
75 | color: #0086b3; | ||
76 | } | ||
77 | |||
78 | .hljs-meta { | ||
79 | color: #999; | ||
80 | font-weight: bold; | ||
81 | } | ||
82 | |||
83 | .hljs-deletion { | ||
84 | background: #fdd; | ||
85 | } | ||
86 | |||
87 | .hljs-addition { | ||
88 | background: #dfd; | ||
89 | } | ||
90 | |||
91 | .hljs-emphasis { | ||
92 | font-style: italic; | ||
93 | } | ||
94 | |||
95 | .hljs-strong { | ||
96 | font-weight: bold; | ||
97 | } |
static/libs/highlight/styles/dracula.css
0 → 100644
1 | /* | ||
2 | |||
3 | Dracula Theme v1.2.0 | ||
4 | |||
5 | https://github.com/zenorocha/dracula-theme | ||
6 | |||
7 | Copyright 2015, All rights reserved | ||
8 | |||
9 | Code licensed under the MIT license | ||
10 | http://zenorocha.mit-license.org | ||
11 | |||
12 | @author Éverton Ribeiro <nuxlli@gmail.com> | ||
13 | @author Zeno Rocha <hi@zenorocha.com> | ||
14 | |||
15 | */ | ||
16 | |||
17 | .hljs { | ||
18 | display: block; | ||
19 | overflow-x: auto; | ||
20 | padding: 0.5em; | ||
21 | background: #282a36; | ||
22 | } | ||
23 | |||
24 | .hljs-keyword, | ||
25 | .hljs-selector-tag, | ||
26 | .hljs-literal, | ||
27 | .hljs-section, | ||
28 | .hljs-link { | ||
29 | color: #8be9fd; | ||
30 | } | ||
31 | |||
32 | .hljs-function .hljs-keyword { | ||
33 | color: #ff79c6; | ||
34 | } | ||
35 | |||
36 | .hljs, | ||
37 | .hljs-subst { | ||
38 | color: #f8f8f2; | ||
39 | } | ||
40 | |||
41 | .hljs-string, | ||
42 | .hljs-title, | ||
43 | .hljs-name, | ||
44 | .hljs-type, | ||
45 | .hljs-attribute, | ||
46 | .hljs-symbol, | ||
47 | .hljs-bullet, | ||
48 | .hljs-addition, | ||
49 | .hljs-variable, | ||
50 | .hljs-template-tag, | ||
51 | .hljs-template-variable { | ||
52 | color: #f1fa8c; | ||
53 | } | ||
54 | |||
55 | .hljs-comment, | ||
56 | .hljs-quote, | ||
57 | .hljs-deletion, | ||
58 | .hljs-meta { | ||
59 | color: #6272a4; | ||
60 | } | ||
61 | |||
62 | .hljs-keyword, | ||
63 | .hljs-selector-tag, | ||
64 | .hljs-literal, | ||
65 | .hljs-title, | ||
66 | .hljs-section, | ||
67 | .hljs-doctag, | ||
68 | .hljs-type, | ||
69 | .hljs-name, | ||
70 | .hljs-strong { | ||
71 | font-weight: bold; | ||
72 | } | ||
73 | |||
74 | .hljs-emphasis { | ||
75 | font-style: italic; | ||
76 | } |
static/libs/highlight/styles/far.css
0 → 100644
1 | /* | ||
2 | |||
3 | FAR Style (c) MajestiC <majestic2k@gmail.com> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #000080; | ||
12 | } | ||
13 | |||
14 | .hljs, | ||
15 | .hljs-subst { | ||
16 | color: #0ff; | ||
17 | } | ||
18 | |||
19 | .hljs-string, | ||
20 | .hljs-attribute, | ||
21 | .hljs-symbol, | ||
22 | .hljs-bullet, | ||
23 | .hljs-built_in, | ||
24 | .hljs-builtin-name, | ||
25 | .hljs-template-tag, | ||
26 | .hljs-template-variable, | ||
27 | .hljs-addition { | ||
28 | color: #ff0; | ||
29 | } | ||
30 | |||
31 | .hljs-keyword, | ||
32 | .hljs-selector-tag, | ||
33 | .hljs-section, | ||
34 | .hljs-type, | ||
35 | .hljs-name, | ||
36 | .hljs-selector-id, | ||
37 | .hljs-selector-class, | ||
38 | .hljs-variable { | ||
39 | color: #fff; | ||
40 | } | ||
41 | |||
42 | .hljs-comment, | ||
43 | .hljs-quote, | ||
44 | .hljs-doctag, | ||
45 | .hljs-deletion { | ||
46 | color: #888; | ||
47 | } | ||
48 | |||
49 | .hljs-number, | ||
50 | .hljs-regexp, | ||
51 | .hljs-literal, | ||
52 | .hljs-link { | ||
53 | color: #0f0; | ||
54 | } | ||
55 | |||
56 | .hljs-meta { | ||
57 | color: #008080; | ||
58 | } | ||
59 | |||
60 | .hljs-keyword, | ||
61 | .hljs-selector-tag, | ||
62 | .hljs-title, | ||
63 | .hljs-section, | ||
64 | .hljs-name, | ||
65 | .hljs-strong { | ||
66 | font-weight: bold; | ||
67 | } | ||
68 | |||
69 | .hljs-emphasis { | ||
70 | font-style: italic; | ||
71 | } |
static/libs/highlight/styles/foundation.css
0 → 100644
1 | /* | ||
2 | Description: Foundation 4 docs style for highlight.js | ||
3 | Author: Dan Allen <dan.j.allen@gmail.com> | ||
4 | Website: http://foundation.zurb.com/docs/ | ||
5 | Version: 1.0 | ||
6 | Date: 2013-04-02 | ||
7 | */ | ||
8 | |||
9 | .hljs { | ||
10 | display: block; | ||
11 | overflow-x: auto; | ||
12 | padding: 0.5em; | ||
13 | background: #eee; color: black; | ||
14 | } | ||
15 | |||
16 | .hljs-link, | ||
17 | .hljs-emphasis, | ||
18 | .hljs-attribute, | ||
19 | .hljs-addition { | ||
20 | color: #070; | ||
21 | } | ||
22 | |||
23 | .hljs-emphasis { | ||
24 | font-style: italic; | ||
25 | } | ||
26 | |||
27 | .hljs-strong, | ||
28 | .hljs-string, | ||
29 | .hljs-deletion { | ||
30 | color: #d14; | ||
31 | } | ||
32 | |||
33 | .hljs-strong { | ||
34 | font-weight: bold; | ||
35 | } | ||
36 | |||
37 | .hljs-quote, | ||
38 | .hljs-comment { | ||
39 | color: #998; | ||
40 | font-style: italic; | ||
41 | } | ||
42 | |||
43 | .hljs-section, | ||
44 | .hljs-title { | ||
45 | color: #900; | ||
46 | } | ||
47 | |||
48 | .hljs-class .hljs-title, | ||
49 | .hljs-type { | ||
50 | color: #458; | ||
51 | } | ||
52 | |||
53 | .hljs-variable, | ||
54 | .hljs-template-variable { | ||
55 | color: #336699; | ||
56 | } | ||
57 | |||
58 | .hljs-bullet { | ||
59 | color: #997700; | ||
60 | } | ||
61 | |||
62 | .hljs-meta { | ||
63 | color: #3344bb; | ||
64 | } | ||
65 | |||
66 | .hljs-code, | ||
67 | .hljs-number, | ||
68 | .hljs-literal, | ||
69 | .hljs-keyword, | ||
70 | .hljs-selector-tag { | ||
71 | color: #099; | ||
72 | } | ||
73 | |||
74 | .hljs-regexp { | ||
75 | background-color: #fff0ff; | ||
76 | color: #880088; | ||
77 | } | ||
78 | |||
79 | .hljs-symbol { | ||
80 | color: #990073; | ||
81 | } | ||
82 | |||
83 | .hljs-tag, | ||
84 | .hljs-name, | ||
85 | .hljs-selector-id, | ||
86 | .hljs-selector-class { | ||
87 | color: #007700; | ||
88 | } |
static/libs/highlight/styles/github-gist.css
0 → 100644
1 | /** | ||
2 | * GitHub Gist Theme | ||
3 | * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro | ||
4 | */ | ||
5 | |||
6 | .hljs { | ||
7 | display: block; | ||
8 | background: white; | ||
9 | padding: 0.5em; | ||
10 | color: #333333; | ||
11 | overflow-x: auto; | ||
12 | } | ||
13 | |||
14 | .hljs-comment, | ||
15 | .hljs-meta { | ||
16 | color: #969896; | ||
17 | } | ||
18 | |||
19 | .hljs-string, | ||
20 | .hljs-variable, | ||
21 | .hljs-template-variable, | ||
22 | .hljs-strong, | ||
23 | .hljs-emphasis, | ||
24 | .hljs-quote { | ||
25 | color: #df5000; | ||
26 | } | ||
27 | |||
28 | .hljs-keyword, | ||
29 | .hljs-selector-tag, | ||
30 | .hljs-type { | ||
31 | color: #a71d5d; | ||
32 | } | ||
33 | |||
34 | .hljs-literal, | ||
35 | .hljs-symbol, | ||
36 | .hljs-bullet, | ||
37 | .hljs-attribute { | ||
38 | color: #0086b3; | ||
39 | } | ||
40 | |||
41 | .hljs-section, | ||
42 | .hljs-name { | ||
43 | color: #63a35c; | ||
44 | } | ||
45 | |||
46 | .hljs-tag { | ||
47 | color: #333333; | ||
48 | } | ||
49 | |||
50 | .hljs-title, | ||
51 | .hljs-attr, | ||
52 | .hljs-selector-id, | ||
53 | .hljs-selector-class, | ||
54 | .hljs-selector-attr, | ||
55 | .hljs-selector-pseudo { | ||
56 | color: #795da3; | ||
57 | } | ||
58 | |||
59 | .hljs-addition { | ||
60 | color: #55a532; | ||
61 | background-color: #eaffea; | ||
62 | } | ||
63 | |||
64 | .hljs-deletion { | ||
65 | color: #bd2c00; | ||
66 | background-color: #ffecec; | ||
67 | } | ||
68 | |||
69 | .hljs-link { | ||
70 | text-decoration: underline; | ||
71 | } |
static/libs/highlight/styles/github.css
0 → 100644
1 | /* | ||
2 | |||
3 | github.com style (c) Vasily Polovnyov <vast@whiteants.net> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | color: #333; | ||
12 | background: #f8f8f8; | ||
13 | } | ||
14 | |||
15 | .hljs-comment, | ||
16 | .hljs-quote { | ||
17 | color: #998; | ||
18 | font-style: italic; | ||
19 | } | ||
20 | |||
21 | .hljs-keyword, | ||
22 | .hljs-selector-tag, | ||
23 | .hljs-subst { | ||
24 | color: #333; | ||
25 | font-weight: bold; | ||
26 | } | ||
27 | |||
28 | .hljs-number, | ||
29 | .hljs-literal, | ||
30 | .hljs-variable, | ||
31 | .hljs-template-variable, | ||
32 | .hljs-tag .hljs-attr { | ||
33 | color: #008080; | ||
34 | } | ||
35 | |||
36 | .hljs-string, | ||
37 | .hljs-doctag { | ||
38 | color: #d14; | ||
39 | } | ||
40 | |||
41 | .hljs-title, | ||
42 | .hljs-section, | ||
43 | .hljs-selector-id { | ||
44 | color: #900; | ||
45 | font-weight: bold; | ||
46 | } | ||
47 | |||
48 | .hljs-subst { | ||
49 | font-weight: normal; | ||
50 | } | ||
51 | |||
52 | .hljs-type, | ||
53 | .hljs-class .hljs-title { | ||
54 | color: #458; | ||
55 | font-weight: bold; | ||
56 | } | ||
57 | |||
58 | .hljs-tag, | ||
59 | .hljs-name, | ||
60 | .hljs-attribute { | ||
61 | color: #000080; | ||
62 | font-weight: normal; | ||
63 | } | ||
64 | |||
65 | .hljs-regexp, | ||
66 | .hljs-link { | ||
67 | color: #009926; | ||
68 | } | ||
69 | |||
70 | .hljs-symbol, | ||
71 | .hljs-bullet { | ||
72 | color: #990073; | ||
73 | } | ||
74 | |||
75 | .hljs-built_in, | ||
76 | .hljs-builtin-name { | ||
77 | color: #0086b3; | ||
78 | } | ||
79 | |||
80 | .hljs-meta { | ||
81 | color: #999; | ||
82 | font-weight: bold; | ||
83 | } | ||
84 | |||
85 | .hljs-deletion { | ||
86 | background: #fdd; | ||
87 | } | ||
88 | |||
89 | .hljs-addition { | ||
90 | background: #dfd; | ||
91 | } | ||
92 | |||
93 | .hljs-emphasis { | ||
94 | font-style: italic; | ||
95 | } | ||
96 | |||
97 | .hljs-strong { | ||
98 | font-weight: bold; | ||
99 | } |
static/libs/highlight/styles/googlecode.css
0 → 100644
1 | /* | ||
2 | |||
3 | Google Code style (c) Aahan Krish <geekpanth3r@gmail.com> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: white; | ||
12 | color: black; | ||
13 | } | ||
14 | |||
15 | .hljs-comment, | ||
16 | .hljs-quote { | ||
17 | color: #800; | ||
18 | } | ||
19 | |||
20 | .hljs-keyword, | ||
21 | .hljs-selector-tag, | ||
22 | .hljs-section, | ||
23 | .hljs-title, | ||
24 | .hljs-name { | ||
25 | color: #008; | ||
26 | } | ||
27 | |||
28 | .hljs-variable, | ||
29 | .hljs-template-variable { | ||
30 | color: #660; | ||
31 | } | ||
32 | |||
33 | .hljs-string, | ||
34 | .hljs-selector-attr, | ||
35 | .hljs-selector-pseudo, | ||
36 | .hljs-regexp { | ||
37 | color: #080; | ||
38 | } | ||
39 | |||
40 | .hljs-literal, | ||
41 | .hljs-symbol, | ||
42 | .hljs-bullet, | ||
43 | .hljs-meta, | ||
44 | .hljs-number, | ||
45 | .hljs-link { | ||
46 | color: #066; | ||
47 | } | ||
48 | |||
49 | .hljs-title, | ||
50 | .hljs-doctag, | ||
51 | .hljs-type, | ||
52 | .hljs-attr, | ||
53 | .hljs-built_in, | ||
54 | .hljs-builtin-name, | ||
55 | .hljs-params { | ||
56 | color: #606; | ||
57 | } | ||
58 | |||
59 | .hljs-attribute, | ||
60 | .hljs-subst { | ||
61 | color: #000; | ||
62 | } | ||
63 | |||
64 | .hljs-formula { | ||
65 | background-color: #eee; | ||
66 | font-style: italic; | ||
67 | } | ||
68 | |||
69 | .hljs-selector-id, | ||
70 | .hljs-selector-class { | ||
71 | color: #9B703F | ||
72 | } | ||
73 | |||
74 | .hljs-addition { | ||
75 | background-color: #baeeba; | ||
76 | } | ||
77 | |||
78 | .hljs-deletion { | ||
79 | background-color: #ffc8bd; | ||
80 | } | ||
81 | |||
82 | .hljs-doctag, | ||
83 | .hljs-strong { | ||
84 | font-weight: bold; | ||
85 | } | ||
86 | |||
87 | .hljs-emphasis { | ||
88 | font-style: italic; | ||
89 | } |
static/libs/highlight/styles/grayscale.css
0 → 100644
1 | /* | ||
2 | |||
3 | grayscale style (c) MY Sun <simonmysun@gmail.com> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | color: #333; | ||
12 | background: #fff; | ||
13 | } | ||
14 | |||
15 | .hljs-comment, | ||
16 | .hljs-quote { | ||
17 | color: #777; | ||
18 | font-style: italic; | ||
19 | } | ||
20 | |||
21 | .hljs-keyword, | ||
22 | .hljs-selector-tag, | ||
23 | .hljs-subst { | ||
24 | color: #333; | ||
25 | font-weight: bold; | ||
26 | } | ||
27 | |||
28 | .hljs-number, | ||
29 | .hljs-literal { | ||
30 | color: #777; | ||
31 | } | ||
32 | |||
33 | .hljs-string, | ||
34 | .hljs-doctag, | ||
35 | .hljs-formula { | ||
36 | color: #333; | ||
37 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC) repeat; | ||
38 | } | ||
39 | |||
40 | .hljs-title, | ||
41 | .hljs-section, | ||
42 | .hljs-selector-id { | ||
43 | color: #000; | ||
44 | font-weight: bold; | ||
45 | } | ||
46 | |||
47 | .hljs-subst { | ||
48 | font-weight: normal; | ||
49 | } | ||
50 | |||
51 | .hljs-class .hljs-title, | ||
52 | .hljs-type, | ||
53 | .hljs-name { | ||
54 | color: #333; | ||
55 | font-weight: bold; | ||
56 | } | ||
57 | |||
58 | .hljs-tag { | ||
59 | color: #333; | ||
60 | } | ||
61 | |||
62 | .hljs-regexp { | ||
63 | color: #333; | ||
64 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==) repeat; | ||
65 | } | ||
66 | |||
67 | .hljs-symbol, | ||
68 | .hljs-bullet, | ||
69 | .hljs-link { | ||
70 | color: #000; | ||
71 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==) repeat; | ||
72 | } | ||
73 | |||
74 | .hljs-built_in, | ||
75 | .hljs-builtin-name { | ||
76 | color: #000; | ||
77 | text-decoration: underline; | ||
78 | } | ||
79 | |||
80 | .hljs-meta { | ||
81 | color: #999; | ||
82 | font-weight: bold; | ||
83 | } | ||
84 | |||
85 | .hljs-deletion { | ||
86 | color: #fff; | ||
87 | background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==) repeat; | ||
88 | } | ||
89 | |||
90 | .hljs-addition { | ||
91 | color: #000; | ||
92 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC) repeat; | ||
93 | } | ||
94 | |||
95 | .hljs-emphasis { | ||
96 | font-style: italic; | ||
97 | } | ||
98 | |||
99 | .hljs-strong { | ||
100 | font-weight: bold; | ||
101 | } |
1 | /* | ||
2 | |||
3 | Gruvbox style (dark) (c) Pavel Pertsev (original style at https://github.com/morhetz/gruvbox) | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #282828; | ||
12 | } | ||
13 | |||
14 | .hljs, | ||
15 | .hljs-subst { | ||
16 | color: #ebdbb2; | ||
17 | } | ||
18 | |||
19 | /* Gruvbox Red */ | ||
20 | .hljs-deletion, | ||
21 | .hljs-formula, | ||
22 | .hljs-keyword, | ||
23 | .hljs-link, | ||
24 | .hljs-selector-tag { | ||
25 | color: #fb4934; | ||
26 | } | ||
27 | |||
28 | /* Gruvbox Blue */ | ||
29 | .hljs-built_in, | ||
30 | .hljs-emphasis, | ||
31 | .hljs-name, | ||
32 | .hljs-quote, | ||
33 | .hljs-strong, | ||
34 | .hljs-title, | ||
35 | .hljs-variable { | ||
36 | color: #83a598; | ||
37 | } | ||
38 | |||
39 | /* Gruvbox Yellow */ | ||
40 | .hljs-attr, | ||
41 | .hljs-params, | ||
42 | .hljs-template-tag, | ||
43 | .hljs-type { | ||
44 | color: #fabd2f; | ||
45 | } | ||
46 | |||
47 | /* Gruvbox Purple */ | ||
48 | .hljs-builtin-name, | ||
49 | .hljs-doctag, | ||
50 | .hljs-literal, | ||
51 | .hljs-number { | ||
52 | color: #8f3f71; | ||
53 | } | ||
54 | |||
55 | /* Gruvbox Orange */ | ||
56 | .hljs-code, | ||
57 | .hljs-meta, | ||
58 | .hljs-regexp, | ||
59 | .hljs-selector-id, | ||
60 | .hljs-template-variable { | ||
61 | color: #fe8019; | ||
62 | } | ||
63 | |||
64 | /* Gruvbox Green */ | ||
65 | .hljs-addition, | ||
66 | .hljs-meta-string, | ||
67 | .hljs-section, | ||
68 | .hljs-selector-attr, | ||
69 | .hljs-selector-class, | ||
70 | .hljs-string, | ||
71 | .hljs-symbol { | ||
72 | color: #b8bb26; | ||
73 | } | ||
74 | |||
75 | /* Gruvbox Aqua */ | ||
76 | .hljs-attribute, | ||
77 | .hljs-bullet, | ||
78 | .hljs-class, | ||
79 | .hljs-function, | ||
80 | .hljs-function .hljs-keyword, | ||
81 | .hljs-meta-keyword, | ||
82 | .hljs-selector-pseudo, | ||
83 | .hljs-tag { | ||
84 | color: #8ec07c; | ||
85 | } | ||
86 | |||
87 | /* Gruvbox Gray */ | ||
88 | .hljs-comment { | ||
89 | color: #928374; | ||
90 | } | ||
91 | |||
92 | /* Gruvbox Purple */ | ||
93 | .hljs-link_label, | ||
94 | .hljs-literal, | ||
95 | .hljs-number { | ||
96 | color: #d3869b; | ||
97 | } | ||
98 | |||
99 | .hljs-comment, | ||
100 | .hljs-emphasis { | ||
101 | font-style: italic; | ||
102 | } | ||
103 | |||
104 | .hljs-section, | ||
105 | .hljs-strong, | ||
106 | .hljs-tag { | ||
107 | font-weight: bold; | ||
108 | } |
1 | /* | ||
2 | |||
3 | Gruvbox style (light) (c) Pavel Pertsev (original style at https://github.com/morhetz/gruvbox) | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #fbf1c7; | ||
12 | } | ||
13 | |||
14 | .hljs, | ||
15 | .hljs-subst { | ||
16 | color: #3c3836; | ||
17 | } | ||
18 | |||
19 | /* Gruvbox Red */ | ||
20 | .hljs-deletion, | ||
21 | .hljs-formula, | ||
22 | .hljs-keyword, | ||
23 | .hljs-link, | ||
24 | .hljs-selector-tag { | ||
25 | color: #9d0006; | ||
26 | } | ||
27 | |||
28 | /* Gruvbox Blue */ | ||
29 | .hljs-built_in, | ||
30 | .hljs-emphasis, | ||
31 | .hljs-name, | ||
32 | .hljs-quote, | ||
33 | .hljs-strong, | ||
34 | .hljs-title, | ||
35 | .hljs-variable { | ||
36 | color: #076678; | ||
37 | } | ||
38 | |||
39 | /* Gruvbox Yellow */ | ||
40 | .hljs-attr, | ||
41 | .hljs-params, | ||
42 | .hljs-template-tag, | ||
43 | .hljs-type { | ||
44 | color: #b57614; | ||
45 | } | ||
46 | |||
47 | /* Gruvbox Purple */ | ||
48 | .hljs-builtin-name, | ||
49 | .hljs-doctag, | ||
50 | .hljs-literal, | ||
51 | .hljs-number { | ||
52 | color: #8f3f71; | ||
53 | } | ||
54 | |||
55 | /* Gruvbox Orange */ | ||
56 | .hljs-code, | ||
57 | .hljs-meta, | ||
58 | .hljs-regexp, | ||
59 | .hljs-selector-id, | ||
60 | .hljs-template-variable { | ||
61 | color: #af3a03; | ||
62 | } | ||
63 | |||
64 | /* Gruvbox Green */ | ||
65 | .hljs-addition, | ||
66 | .hljs-meta-string, | ||
67 | .hljs-section, | ||
68 | .hljs-selector-attr, | ||
69 | .hljs-selector-class, | ||
70 | .hljs-string, | ||
71 | .hljs-symbol { | ||
72 | color: #79740e; | ||
73 | } | ||
74 | |||
75 | /* Gruvbox Aqua */ | ||
76 | .hljs-attribute, | ||
77 | .hljs-bullet, | ||
78 | .hljs-class, | ||
79 | .hljs-function, | ||
80 | .hljs-function .hljs-keyword, | ||
81 | .hljs-meta-keyword, | ||
82 | .hljs-selector-pseudo, | ||
83 | .hljs-tag { | ||
84 | color: #427b58; | ||
85 | } | ||
86 | |||
87 | /* Gruvbox Gray */ | ||
88 | .hljs-comment { | ||
89 | color: #928374; | ||
90 | } | ||
91 | |||
92 | /* Gruvbox Purple */ | ||
93 | .hljs-link_label, | ||
94 | .hljs-literal, | ||
95 | .hljs-number { | ||
96 | color: #8f3f71; | ||
97 | } | ||
98 | |||
99 | .hljs-comment, | ||
100 | .hljs-emphasis { | ||
101 | font-style: italic; | ||
102 | } | ||
103 | |||
104 | .hljs-section, | ||
105 | .hljs-strong, | ||
106 | .hljs-tag { | ||
107 | font-weight: bold; | ||
108 | } |
static/libs/highlight/styles/hopscotch.css
0 → 100644
1 | /* | ||
2 | * Hopscotch | ||
3 | * by Jan T. Sott | ||
4 | * https://github.com/idleberg/Hopscotch | ||
5 | * | ||
6 | * This work is licensed under the Creative Commons CC0 1.0 Universal License | ||
7 | */ | ||
8 | |||
9 | /* Comment */ | ||
10 | .hljs-comment, | ||
11 | .hljs-quote { | ||
12 | color: #989498; | ||
13 | } | ||
14 | |||
15 | /* Red */ | ||
16 | .hljs-variable, | ||
17 | .hljs-template-variable, | ||
18 | .hljs-attribute, | ||
19 | .hljs-tag, | ||
20 | .hljs-name, | ||
21 | .hljs-selector-id, | ||
22 | .hljs-selector-class, | ||
23 | .hljs-regexp, | ||
24 | .hljs-link, | ||
25 | .hljs-deletion { | ||
26 | color: #dd464c; | ||
27 | } | ||
28 | |||
29 | /* Orange */ | ||
30 | .hljs-number, | ||
31 | .hljs-built_in, | ||
32 | .hljs-builtin-name, | ||
33 | .hljs-literal, | ||
34 | .hljs-type, | ||
35 | .hljs-params { | ||
36 | color: #fd8b19; | ||
37 | } | ||
38 | |||
39 | /* Yellow */ | ||
40 | .hljs-class .hljs-title { | ||
41 | color: #fdcc59; | ||
42 | } | ||
43 | |||
44 | /* Green */ | ||
45 | .hljs-string, | ||
46 | .hljs-symbol, | ||
47 | .hljs-bullet, | ||
48 | .hljs-addition { | ||
49 | color: #8fc13e; | ||
50 | } | ||
51 | |||
52 | /* Aqua */ | ||
53 | .hljs-meta { | ||
54 | color: #149b93; | ||
55 | } | ||
56 | |||
57 | /* Blue */ | ||
58 | .hljs-function, | ||
59 | .hljs-section, | ||
60 | .hljs-title { | ||
61 | color: #1290bf; | ||
62 | } | ||
63 | |||
64 | /* Purple */ | ||
65 | .hljs-keyword, | ||
66 | .hljs-selector-tag { | ||
67 | color: #c85e7c; | ||
68 | } | ||
69 | |||
70 | .hljs { | ||
71 | display: block; | ||
72 | background: #322931; | ||
73 | color: #b9b5b8; | ||
74 | padding: 0.5em; | ||
75 | } | ||
76 | |||
77 | .hljs-emphasis { | ||
78 | font-style: italic; | ||
79 | } | ||
80 | |||
81 | .hljs-strong { | ||
82 | font-weight: bold; | ||
83 | } |
static/libs/highlight/styles/hybrid.css
0 → 100644
1 | /* | ||
2 | |||
3 | vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid) | ||
4 | |||
5 | */ | ||
6 | |||
7 | /*background color*/ | ||
8 | .hljs { | ||
9 | display: block; | ||
10 | overflow-x: auto; | ||
11 | padding: 0.5em; | ||
12 | background: #1d1f21; | ||
13 | } | ||
14 | |||
15 | /*selection color*/ | ||
16 | .hljs::selection, | ||
17 | .hljs span::selection { | ||
18 | background: #373b41; | ||
19 | } | ||
20 | |||
21 | .hljs::-moz-selection, | ||
22 | .hljs span::-moz-selection { | ||
23 | background: #373b41; | ||
24 | } | ||
25 | |||
26 | /*foreground color*/ | ||
27 | .hljs { | ||
28 | color: #c5c8c6; | ||
29 | } | ||
30 | |||
31 | /*color: fg_yellow*/ | ||
32 | .hljs-title, | ||
33 | .hljs-name { | ||
34 | color: #f0c674; | ||
35 | } | ||
36 | |||
37 | /*color: fg_comment*/ | ||
38 | .hljs-comment, | ||
39 | .hljs-meta, | ||
40 | .hljs-meta .hljs-keyword { | ||
41 | color: #707880; | ||
42 | } | ||
43 | |||
44 | /*color: fg_red*/ | ||
45 | .hljs-number, | ||
46 | .hljs-symbol, | ||
47 | .hljs-literal, | ||
48 | .hljs-deletion, | ||
49 | .hljs-link { | ||
50 | color: #cc6666 | ||
51 | } | ||
52 | |||
53 | /*color: fg_green*/ | ||
54 | .hljs-string, | ||
55 | .hljs-doctag, | ||
56 | .hljs-addition, | ||
57 | .hljs-regexp, | ||
58 | .hljs-selector-attr, | ||
59 | .hljs-selector-pseudo { | ||
60 | color: #b5bd68; | ||
61 | } | ||
62 | |||
63 | /*color: fg_purple*/ | ||
64 | .hljs-attribute, | ||
65 | .hljs-code, | ||
66 | .hljs-selector-id { | ||
67 | color: #b294bb; | ||
68 | } | ||
69 | |||
70 | /*color: fg_blue*/ | ||
71 | .hljs-keyword, | ||
72 | .hljs-selector-tag, | ||
73 | .hljs-bullet, | ||
74 | .hljs-tag { | ||
75 | color: #81a2be; | ||
76 | } | ||
77 | |||
78 | /*color: fg_aqua*/ | ||
79 | .hljs-subst, | ||
80 | .hljs-variable, | ||
81 | .hljs-template-tag, | ||
82 | .hljs-template-variable { | ||
83 | color: #8abeb7; | ||
84 | } | ||
85 | |||
86 | /*color: fg_orange*/ | ||
87 | .hljs-type, | ||
88 | .hljs-built_in, | ||
89 | .hljs-builtin-name, | ||
90 | .hljs-quote, | ||
91 | .hljs-section, | ||
92 | .hljs-selector-class { | ||
93 | color: #de935f; | ||
94 | } | ||
95 | |||
96 | .hljs-emphasis { | ||
97 | font-style: italic; | ||
98 | } | ||
99 | |||
100 | .hljs-strong { | ||
101 | font-weight: bold; | ||
102 | } |
static/libs/highlight/styles/idea.css
0 → 100644
1 | /* | ||
2 | |||
3 | Intellij Idea-like styling (c) Vasily Polovnyov <vast@whiteants.net> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | color: #000; | ||
12 | background: #fff; | ||
13 | } | ||
14 | |||
15 | .hljs-subst, | ||
16 | .hljs-title { | ||
17 | font-weight: normal; | ||
18 | color: #000; | ||
19 | } | ||
20 | |||
21 | .hljs-comment, | ||
22 | .hljs-quote { | ||
23 | color: #808080; | ||
24 | font-style: italic; | ||
25 | } | ||
26 | |||
27 | .hljs-meta { | ||
28 | color: #808000; | ||
29 | } | ||
30 | |||
31 | .hljs-tag { | ||
32 | background: #efefef; | ||
33 | } | ||
34 | |||
35 | .hljs-section, | ||
36 | .hljs-name, | ||
37 | .hljs-literal, | ||
38 | .hljs-keyword, | ||
39 | .hljs-selector-tag, | ||
40 | .hljs-type, | ||
41 | .hljs-selector-id, | ||
42 | .hljs-selector-class { | ||
43 | font-weight: bold; | ||
44 | color: #000080; | ||
45 | } | ||
46 | |||
47 | .hljs-attribute, | ||
48 | .hljs-number, | ||
49 | .hljs-regexp, | ||
50 | .hljs-link { | ||
51 | font-weight: bold; | ||
52 | color: #0000ff; | ||
53 | } | ||
54 | |||
55 | .hljs-number, | ||
56 | .hljs-regexp, | ||
57 | .hljs-link { | ||
58 | font-weight: normal; | ||
59 | } | ||
60 | |||
61 | .hljs-string { | ||
62 | color: #008000; | ||
63 | font-weight: bold; | ||
64 | } | ||
65 | |||
66 | .hljs-symbol, | ||
67 | .hljs-bullet, | ||
68 | .hljs-formula { | ||
69 | color: #000; | ||
70 | background: #d0eded; | ||
71 | font-style: italic; | ||
72 | } | ||
73 | |||
74 | .hljs-doctag { | ||
75 | text-decoration: underline; | ||
76 | } | ||
77 | |||
78 | .hljs-variable, | ||
79 | .hljs-template-variable { | ||
80 | color: #660e7a; | ||
81 | } | ||
82 | |||
83 | .hljs-addition { | ||
84 | background: #baeeba; | ||
85 | } | ||
86 | |||
87 | .hljs-deletion { | ||
88 | background: #ffc8bd; | ||
89 | } | ||
90 | |||
91 | .hljs-emphasis { | ||
92 | font-style: italic; | ||
93 | } | ||
94 | |||
95 | .hljs-strong { | ||
96 | font-weight: bold; | ||
97 | } |
static/libs/highlight/styles/ir-black.css
0 → 100644
1 | /* | ||
2 | IR_Black style (c) Vasily Mikhailitchenko <vaskas@programica.ru> | ||
3 | */ | ||
4 | |||
5 | .hljs { | ||
6 | display: block; | ||
7 | overflow-x: auto; | ||
8 | padding: 0.5em; | ||
9 | background: #000; | ||
10 | color: #f8f8f8; | ||
11 | } | ||
12 | |||
13 | .hljs-comment, | ||
14 | .hljs-quote, | ||
15 | .hljs-meta { | ||
16 | color: #7c7c7c; | ||
17 | } | ||
18 | |||
19 | .hljs-keyword, | ||
20 | .hljs-selector-tag, | ||
21 | .hljs-tag, | ||
22 | .hljs-name { | ||
23 | color: #96cbfe; | ||
24 | } | ||
25 | |||
26 | .hljs-attribute, | ||
27 | .hljs-selector-id { | ||
28 | color: #ffffb6; | ||
29 | } | ||
30 | |||
31 | .hljs-string, | ||
32 | .hljs-selector-attr, | ||
33 | .hljs-selector-pseudo, | ||
34 | .hljs-addition { | ||
35 | color: #a8ff60; | ||
36 | } | ||
37 | |||
38 | .hljs-subst { | ||
39 | color: #daefa3; | ||
40 | } | ||
41 | |||
42 | .hljs-regexp, | ||
43 | .hljs-link { | ||
44 | color: #e9c062; | ||
45 | } | ||
46 | |||
47 | .hljs-title, | ||
48 | .hljs-section, | ||
49 | .hljs-type, | ||
50 | .hljs-doctag { | ||
51 | color: #ffffb6; | ||
52 | } | ||
53 | |||
54 | .hljs-symbol, | ||
55 | .hljs-bullet, | ||
56 | .hljs-variable, | ||
57 | .hljs-template-variable, | ||
58 | .hljs-literal { | ||
59 | color: #c6c5fe; | ||
60 | } | ||
61 | |||
62 | .hljs-number, | ||
63 | .hljs-deletion { | ||
64 | color:#ff73fd; | ||
65 | } | ||
66 | |||
67 | .hljs-emphasis { | ||
68 | font-style: italic; | ||
69 | } | ||
70 | |||
71 | .hljs-strong { | ||
72 | font-weight: bold; | ||
73 | } |
static/libs/highlight/styles/ir_black.css
0 → 100644
1 | /* | ||
2 | IR_Black style (c) Vasily Mikhailitchenko <vaskas@programica.ru> | ||
3 | */ | ||
4 | |||
5 | .hljs { | ||
6 | display: block; | ||
7 | overflow-x: auto; | ||
8 | padding: 0.5em; | ||
9 | background: #000; | ||
10 | color: #f8f8f8; | ||
11 | -webkit-text-size-adjust: none; | ||
12 | } | ||
13 | |||
14 | .hljs-shebang, | ||
15 | .hljs-comment { | ||
16 | color: #7c7c7c; | ||
17 | } | ||
18 | |||
19 | .hljs-keyword, | ||
20 | .hljs-tag, | ||
21 | .tex .hljs-command, | ||
22 | .hljs-request, | ||
23 | .hljs-status, | ||
24 | .clojure .hljs-attribute { | ||
25 | color: #96cbfe; | ||
26 | } | ||
27 | |||
28 | .hljs-sub .hljs-keyword, | ||
29 | .method, | ||
30 | .hljs-list .hljs-title, | ||
31 | .nginx .hljs-title { | ||
32 | color: #ffffb6; | ||
33 | } | ||
34 | |||
35 | .hljs-string, | ||
36 | .hljs-tag .hljs-value, | ||
37 | .hljs-cdata, | ||
38 | .hljs-filter .hljs-argument, | ||
39 | .hljs-attr_selector, | ||
40 | .apache .hljs-cbracket, | ||
41 | .hljs-date, | ||
42 | .coffeescript .hljs-attribute { | ||
43 | color: #a8ff60; | ||
44 | } | ||
45 | |||
46 | .hljs-subst { | ||
47 | color: #daefa3; | ||
48 | } | ||
49 | |||
50 | .hljs-regexp { | ||
51 | color: #e9c062; | ||
52 | } | ||
53 | |||
54 | .hljs-title, | ||
55 | .hljs-sub .hljs-identifier, | ||
56 | .hljs-pi, | ||
57 | .hljs-decorator, | ||
58 | .tex .hljs-special, | ||
59 | .hljs-type, | ||
60 | .hljs-constant, | ||
61 | .smalltalk .hljs-class, | ||
62 | .hljs-doctag, | ||
63 | .nginx .hljs-built_in { | ||
64 | color: #ffffb6; | ||
65 | } | ||
66 | |||
67 | .hljs-symbol, | ||
68 | .ruby .hljs-symbol .hljs-string, | ||
69 | .hljs-number, | ||
70 | .hljs-variable, | ||
71 | .vbscript, | ||
72 | .hljs-literal, | ||
73 | .hljs-name { | ||
74 | color: #c6c5fe; | ||
75 | } | ||
76 | |||
77 | .css .hljs-tag { | ||
78 | color: #96cbfe; | ||
79 | } | ||
80 | |||
81 | .css .hljs-rule .hljs-property, | ||
82 | .css .hljs-id { | ||
83 | color: #ffffb6; | ||
84 | } | ||
85 | |||
86 | .css .hljs-class { | ||
87 | color: #fff; | ||
88 | } | ||
89 | |||
90 | .hljs-hexcolor { | ||
91 | color: #c6c5fe; | ||
92 | } | ||
93 | |||
94 | .hljs-number { | ||
95 | color:#ff73fd; | ||
96 | } | ||
97 | |||
98 | .coffeescript .javascript, | ||
99 | .javascript .xml, | ||
100 | .tex .hljs-formula, | ||
101 | .xml .javascript, | ||
102 | .xml .vbscript, | ||
103 | .xml .css, | ||
104 | .xml .hljs-cdata { | ||
105 | opacity: 0.7; | ||
106 | } |
static/libs/highlight/styles/kimbie.dark.css
0 → 100644
1 | /* | ||
2 | Name: Kimbie (dark) | ||
3 | Author: Jan T. Sott | ||
4 | License: Creative Commons Attribution-ShareAlike 4.0 Unported License | ||
5 | URL: https://github.com/idleberg/Kimbie-highlight.js | ||
6 | */ | ||
7 | |||
8 | /* Kimbie Comment */ | ||
9 | .hljs-comment, | ||
10 | .hljs-quote { | ||
11 | color: #d6baad; | ||
12 | } | ||
13 | |||
14 | /* Kimbie Red */ | ||
15 | .hljs-variable, | ||
16 | .hljs-template-variable, | ||
17 | .hljs-tag, | ||
18 | .hljs-name, | ||
19 | .hljs-selector-id, | ||
20 | .hljs-selector-class, | ||
21 | .hljs-regexp, | ||
22 | .hljs-meta { | ||
23 | color: #dc3958; | ||
24 | } | ||
25 | |||
26 | /* Kimbie Orange */ | ||
27 | .hljs-number, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params, | ||
33 | .hljs-deletion, | ||
34 | .hljs-link { | ||
35 | color: #f79a32; | ||
36 | } | ||
37 | |||
38 | /* Kimbie Yellow */ | ||
39 | .hljs-title, | ||
40 | .hljs-section, | ||
41 | .hljs-attribute { | ||
42 | color: #f06431; | ||
43 | } | ||
44 | |||
45 | /* Kimbie Green */ | ||
46 | .hljs-string, | ||
47 | .hljs-symbol, | ||
48 | .hljs-bullet, | ||
49 | .hljs-addition { | ||
50 | color: #889b4a; | ||
51 | } | ||
52 | |||
53 | /* Kimbie Purple */ | ||
54 | .hljs-keyword, | ||
55 | .hljs-selector-tag, | ||
56 | .hljs-function { | ||
57 | color: #98676a; | ||
58 | } | ||
59 | |||
60 | .hljs { | ||
61 | display: block; | ||
62 | overflow-x: auto; | ||
63 | background: #221a0f; | ||
64 | color: #d3af86; | ||
65 | padding: 0.5em; | ||
66 | } | ||
67 | |||
68 | .hljs-emphasis { | ||
69 | font-style: italic; | ||
70 | } | ||
71 | |||
72 | .hljs-strong { | ||
73 | font-weight: bold; | ||
74 | } |
1 | /* | ||
2 | Name: Kimbie (light) | ||
3 | Author: Jan T. Sott | ||
4 | License: Creative Commons Attribution-ShareAlike 4.0 Unported License | ||
5 | URL: https://github.com/idleberg/Kimbie-highlight.js | ||
6 | */ | ||
7 | |||
8 | /* Kimbie Comment */ | ||
9 | .hljs-comment, | ||
10 | .hljs-quote { | ||
11 | color: #a57a4c; | ||
12 | } | ||
13 | |||
14 | /* Kimbie Red */ | ||
15 | .hljs-variable, | ||
16 | .hljs-template-variable, | ||
17 | .hljs-tag, | ||
18 | .hljs-name, | ||
19 | .hljs-selector-id, | ||
20 | .hljs-selector-class, | ||
21 | .hljs-regexp, | ||
22 | .hljs-meta { | ||
23 | color: #dc3958; | ||
24 | } | ||
25 | |||
26 | /* Kimbie Orange */ | ||
27 | .hljs-number, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params, | ||
33 | .hljs-deletion, | ||
34 | .hljs-link { | ||
35 | color: #f79a32; | ||
36 | } | ||
37 | |||
38 | /* Kimbie Yellow */ | ||
39 | .hljs-title, | ||
40 | .hljs-section, | ||
41 | .hljs-attribute { | ||
42 | color: #f06431; | ||
43 | } | ||
44 | |||
45 | /* Kimbie Green */ | ||
46 | .hljs-string, | ||
47 | .hljs-symbol, | ||
48 | .hljs-bullet, | ||
49 | .hljs-addition { | ||
50 | color: #889b4a; | ||
51 | } | ||
52 | |||
53 | /* Kimbie Purple */ | ||
54 | .hljs-keyword, | ||
55 | .hljs-selector-tag, | ||
56 | .hljs-function { | ||
57 | color: #98676a; | ||
58 | } | ||
59 | |||
60 | .hljs { | ||
61 | display: block; | ||
62 | overflow-x: auto; | ||
63 | background: #fbebd4; | ||
64 | color: #84613d; | ||
65 | padding: 0.5em; | ||
66 | } | ||
67 | |||
68 | .hljs-emphasis { | ||
69 | font-style: italic; | ||
70 | } | ||
71 | |||
72 | .hljs-strong { | ||
73 | font-weight: bold; | ||
74 | } |
static/libs/highlight/styles/magula.css
0 → 100644
1 | /* | ||
2 | Description: Magula style for highligh.js | ||
3 | Author: Ruslan Keba <rukeba@gmail.com> | ||
4 | Website: http://rukeba.com/ | ||
5 | Version: 1.0 | ||
6 | Date: 2009-01-03 | ||
7 | Music: Aphex Twin / Xtal | ||
8 | */ | ||
9 | |||
10 | .hljs { | ||
11 | display: block; | ||
12 | overflow-x: auto; | ||
13 | padding: 0.5em; | ||
14 | background-color: #f4f4f4; | ||
15 | } | ||
16 | |||
17 | .hljs, | ||
18 | .hljs-subst { | ||
19 | color: black; | ||
20 | } | ||
21 | |||
22 | .hljs-string, | ||
23 | .hljs-title, | ||
24 | .hljs-symbol, | ||
25 | .hljs-bullet, | ||
26 | .hljs-attribute, | ||
27 | .hljs-addition, | ||
28 | .hljs-variable, | ||
29 | .hljs-template-tag, | ||
30 | .hljs-template-variable { | ||
31 | color: #050; | ||
32 | } | ||
33 | |||
34 | .hljs-comment, | ||
35 | .hljs-quote { | ||
36 | color: #777; | ||
37 | } | ||
38 | |||
39 | .hljs-number, | ||
40 | .hljs-regexp, | ||
41 | .hljs-literal, | ||
42 | .hljs-type, | ||
43 | .hljs-link { | ||
44 | color: #800; | ||
45 | } | ||
46 | |||
47 | .hljs-deletion, | ||
48 | .hljs-meta { | ||
49 | color: #00e; | ||
50 | } | ||
51 | |||
52 | .hljs-keyword, | ||
53 | .hljs-selector-tag, | ||
54 | .hljs-doctag, | ||
55 | .hljs-title, | ||
56 | .hljs-section, | ||
57 | .hljs-built_in, | ||
58 | .hljs-tag, | ||
59 | .hljs-name { | ||
60 | font-weight: bold; | ||
61 | color: navy; | ||
62 | } | ||
63 | |||
64 | .hljs-emphasis { | ||
65 | font-style: italic; | ||
66 | } | ||
67 | |||
68 | .hljs-strong { | ||
69 | font-weight: bold; | ||
70 | } |
static/libs/highlight/styles/mono-blue.css
0 → 100644
1 | /* | ||
2 | Five-color theme from a single blue hue. | ||
3 | */ | ||
4 | .hljs { | ||
5 | display: block; | ||
6 | overflow-x: auto; | ||
7 | padding: 0.5em; | ||
8 | background: #eaeef3; | ||
9 | } | ||
10 | |||
11 | .hljs { | ||
12 | color: #00193a; | ||
13 | } | ||
14 | |||
15 | .hljs-keyword, | ||
16 | .hljs-selector-tag, | ||
17 | .hljs-title, | ||
18 | .hljs-section, | ||
19 | .hljs-doctag, | ||
20 | .hljs-name, | ||
21 | .hljs-strong { | ||
22 | font-weight: bold; | ||
23 | } | ||
24 | |||
25 | .hljs-comment { | ||
26 | color: #738191; | ||
27 | } | ||
28 | |||
29 | .hljs-string, | ||
30 | .hljs-title, | ||
31 | .hljs-section, | ||
32 | .hljs-built_in, | ||
33 | .hljs-literal, | ||
34 | .hljs-type, | ||
35 | .hljs-addition, | ||
36 | .hljs-tag, | ||
37 | .hljs-quote, | ||
38 | .hljs-name, | ||
39 | .hljs-selector-id, | ||
40 | .hljs-selector-class { | ||
41 | color: #0048ab; | ||
42 | } | ||
43 | |||
44 | .hljs-meta, | ||
45 | .hljs-subst, | ||
46 | .hljs-symbol, | ||
47 | .hljs-regexp, | ||
48 | .hljs-attribute, | ||
49 | .hljs-deletion, | ||
50 | .hljs-variable, | ||
51 | .hljs-template-variable, | ||
52 | .hljs-link, | ||
53 | .hljs-bullet { | ||
54 | color: #4c81c9; | ||
55 | } | ||
56 | |||
57 | .hljs-emphasis { | ||
58 | font-style: italic; | ||
59 | } |
1 | /* | ||
2 | |||
3 | Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/ | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #23241f; | ||
12 | } | ||
13 | |||
14 | .hljs, | ||
15 | .hljs-tag, | ||
16 | .hljs-subst { | ||
17 | color: #f8f8f2; | ||
18 | } | ||
19 | |||
20 | .hljs-strong, | ||
21 | .hljs-emphasis { | ||
22 | color: #a8a8a2; | ||
23 | } | ||
24 | |||
25 | .hljs-bullet, | ||
26 | .hljs-quote, | ||
27 | .hljs-number, | ||
28 | .hljs-regexp, | ||
29 | .hljs-literal, | ||
30 | .hljs-link { | ||
31 | color: #ae81ff; | ||
32 | } | ||
33 | |||
34 | .hljs-code, | ||
35 | .hljs-title, | ||
36 | .hljs-section, | ||
37 | .hljs-selector-class { | ||
38 | color: #a6e22e; | ||
39 | } | ||
40 | |||
41 | .hljs-strong { | ||
42 | font-weight: bold; | ||
43 | } | ||
44 | |||
45 | .hljs-emphasis { | ||
46 | font-style: italic; | ||
47 | } | ||
48 | |||
49 | .hljs-keyword, | ||
50 | .hljs-selector-tag, | ||
51 | .hljs-name, | ||
52 | .hljs-attr { | ||
53 | color: #f92672; | ||
54 | } | ||
55 | |||
56 | .hljs-symbol, | ||
57 | .hljs-attribute { | ||
58 | color: #66d9ef; | ||
59 | } | ||
60 | |||
61 | .hljs-params, | ||
62 | .hljs-class .hljs-title { | ||
63 | color: #f8f8f2; | ||
64 | } | ||
65 | |||
66 | .hljs-string, | ||
67 | .hljs-type, | ||
68 | .hljs-built_in, | ||
69 | .hljs-builtin-name, | ||
70 | .hljs-selector-id, | ||
71 | .hljs-selector-attr, | ||
72 | .hljs-selector-pseudo, | ||
73 | .hljs-addition, | ||
74 | .hljs-variable, | ||
75 | .hljs-template-variable { | ||
76 | color: #e6db74; | ||
77 | } | ||
78 | |||
79 | .hljs-comment, | ||
80 | .hljs-deletion, | ||
81 | .hljs-meta { | ||
82 | color: #75715e; | ||
83 | } |
static/libs/highlight/styles/monokai.css
0 → 100644
1 | /* | ||
2 | Monokai style - ported by Luigi Maselli - http://grigio.org | ||
3 | */ | ||
4 | |||
5 | .hljs { | ||
6 | display: block; | ||
7 | overflow-x: auto; | ||
8 | padding: 0.5em; | ||
9 | background: #272822; color: #ddd; | ||
10 | } | ||
11 | |||
12 | .hljs-tag, | ||
13 | .hljs-keyword, | ||
14 | .hljs-selector-tag, | ||
15 | .hljs-literal, | ||
16 | .hljs-strong, | ||
17 | .hljs-name { | ||
18 | color: #f92672; | ||
19 | } | ||
20 | |||
21 | .hljs-code { | ||
22 | color: #66d9ef; | ||
23 | } | ||
24 | |||
25 | .hljs-class .hljs-title { | ||
26 | color: white; | ||
27 | } | ||
28 | |||
29 | .hljs-attribute, | ||
30 | .hljs-symbol, | ||
31 | .hljs-regexp, | ||
32 | .hljs-link { | ||
33 | color: #bf79db; | ||
34 | } | ||
35 | |||
36 | .hljs-string, | ||
37 | .hljs-bullet, | ||
38 | .hljs-subst, | ||
39 | .hljs-title, | ||
40 | .hljs-section, | ||
41 | .hljs-emphasis, | ||
42 | .hljs-type, | ||
43 | .hljs-built_in, | ||
44 | .hljs-builtin-name, | ||
45 | .hljs-selector-attr, | ||
46 | .hljs-selector-pseudo, | ||
47 | .hljs-addition, | ||
48 | .hljs-variable, | ||
49 | .hljs-template-tag, | ||
50 | .hljs-template-variable { | ||
51 | color: #a6e22e; | ||
52 | } | ||
53 | |||
54 | .hljs-comment, | ||
55 | .hljs-quote, | ||
56 | .hljs-deletion, | ||
57 | .hljs-meta { | ||
58 | color: #75715e; | ||
59 | } | ||
60 | |||
61 | .hljs-keyword, | ||
62 | .hljs-selector-tag, | ||
63 | .hljs-literal, | ||
64 | .hljs-doctag, | ||
65 | .hljs-title, | ||
66 | .hljs-section, | ||
67 | .hljs-type, | ||
68 | .hljs-selector-id { | ||
69 | font-weight: bold; | ||
70 | } |
1 | /* | ||
2 | |||
3 | Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/ | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #23241f; | ||
12 | -webkit-text-size-adjust: none; | ||
13 | } | ||
14 | |||
15 | .hljs, | ||
16 | .hljs-tag, | ||
17 | .css .hljs-rule, | ||
18 | .css .hljs-value, | ||
19 | .aspectj .hljs-function, | ||
20 | .css .hljs-function | ||
21 | .hljs-preprocessor, | ||
22 | .hljs-pragma { | ||
23 | color: #f8f8f2; | ||
24 | } | ||
25 | |||
26 | .hljs-strongemphasis, | ||
27 | .hljs-strong, | ||
28 | .hljs-emphasis { | ||
29 | color: #a8a8a2; | ||
30 | } | ||
31 | |||
32 | .hljs-bullet, | ||
33 | .hljs-blockquote, | ||
34 | .hljs-horizontal_rule, | ||
35 | .hljs-number, | ||
36 | .hljs-regexp, | ||
37 | .alias .hljs-keyword, | ||
38 | .hljs-literal, | ||
39 | .hljs-hexcolor { | ||
40 | color: #ae81ff; | ||
41 | } | ||
42 | |||
43 | .hljs-tag .hljs-value, | ||
44 | .hljs-code, | ||
45 | .hljs-title, | ||
46 | .css .hljs-class, | ||
47 | .hljs-class .hljs-title:last-child { | ||
48 | color: #a6e22e; | ||
49 | } | ||
50 | |||
51 | .hljs-link_url { | ||
52 | font-size: 80%; | ||
53 | } | ||
54 | |||
55 | .hljs-strong, | ||
56 | .hljs-strongemphasis { | ||
57 | font-weight: bold; | ||
58 | } | ||
59 | |||
60 | .hljs-emphasis, | ||
61 | .hljs-strongemphasis, | ||
62 | .hljs-class .hljs-title:last-child, | ||
63 | .hljs-typename { | ||
64 | font-style: italic; | ||
65 | } | ||
66 | |||
67 | .hljs-keyword, | ||
68 | .ruby .hljs-class .hljs-keyword:first-child, | ||
69 | .ruby .hljs-function .hljs-keyword, | ||
70 | .hljs-function, | ||
71 | .hljs-change, | ||
72 | .hljs-winutils, | ||
73 | .hljs-flow, | ||
74 | .nginx .hljs-title, | ||
75 | .tex .hljs-special, | ||
76 | .hljs-header, | ||
77 | .hljs-attribute, | ||
78 | .hljs-symbol, | ||
79 | .hljs-symbol .hljs-string, | ||
80 | .hljs-tag .hljs-title, | ||
81 | .hljs-value, | ||
82 | .alias .hljs-keyword:first-child, | ||
83 | .css .hljs-tag, | ||
84 | .css .unit, | ||
85 | .css .hljs-important { | ||
86 | color: #f92672; | ||
87 | } | ||
88 | |||
89 | .hljs-function .hljs-keyword, | ||
90 | .hljs-class .hljs-keyword:first-child, | ||
91 | .hljs-aspect .hljs-keyword:first-child, | ||
92 | .hljs-constant, | ||
93 | .hljs-typename, | ||
94 | .hljs-name, | ||
95 | .css .hljs-attribute { | ||
96 | color: #66d9ef; | ||
97 | } | ||
98 | |||
99 | .hljs-variable, | ||
100 | .hljs-params, | ||
101 | .hljs-class .hljs-title, | ||
102 | .hljs-aspect .hljs-title { | ||
103 | color: #f8f8f2; | ||
104 | } | ||
105 | |||
106 | .hljs-string, | ||
107 | .css .hljs-id, | ||
108 | .hljs-subst, | ||
109 | .hljs-type, | ||
110 | .ruby .hljs-class .hljs-parent, | ||
111 | .hljs-built_in, | ||
112 | .django .hljs-template_tag, | ||
113 | .django .hljs-variable, | ||
114 | .smalltalk .hljs-class, | ||
115 | .django .hljs-filter .hljs-argument, | ||
116 | .smalltalk .hljs-localvars, | ||
117 | .smalltalk .hljs-array, | ||
118 | .hljs-attr_selector, | ||
119 | .hljs-pseudo, | ||
120 | .hljs-addition, | ||
121 | .hljs-stream, | ||
122 | .hljs-envvar, | ||
123 | .apache .hljs-tag, | ||
124 | .apache .hljs-cbracket, | ||
125 | .tex .hljs-command, | ||
126 | .hljs-prompt, | ||
127 | .hljs-link_label, | ||
128 | .hljs-link_url { | ||
129 | color: #e6db74; | ||
130 | } | ||
131 | |||
132 | .hljs-comment, | ||
133 | .hljs-annotation, | ||
134 | .hljs-decorator, | ||
135 | .hljs-pi, | ||
136 | .hljs-doctype, | ||
137 | .hljs-deletion, | ||
138 | .hljs-shebang, | ||
139 | .apache .hljs-sqbracket, | ||
140 | .tex .hljs-formula { | ||
141 | color: #75715e; | ||
142 | } | ||
143 | |||
144 | .coffeescript .javascript, | ||
145 | .javascript .xml, | ||
146 | .tex .hljs-formula, | ||
147 | .xml .javascript, | ||
148 | .xml .vbscript, | ||
149 | .xml .css, | ||
150 | .xml .hljs-cdata, | ||
151 | .xml .php, | ||
152 | .php .xml { | ||
153 | opacity: 0.5; | ||
154 | } |
static/libs/highlight/styles/obsidian.css
0 → 100644
1 | /** | ||
2 | * Obsidian style | ||
3 | * ported by Alexander Marenin (http://github.com/ioncreature) | ||
4 | */ | ||
5 | |||
6 | .hljs { | ||
7 | display: block; | ||
8 | overflow-x: auto; | ||
9 | padding: 0.5em; | ||
10 | background: #282b2e; | ||
11 | } | ||
12 | |||
13 | .hljs-keyword, | ||
14 | .hljs-selector-tag, | ||
15 | .hljs-literal, | ||
16 | .hljs-selector-id { | ||
17 | color: #93c763; | ||
18 | } | ||
19 | |||
20 | .hljs-number { | ||
21 | color: #ffcd22; | ||
22 | } | ||
23 | |||
24 | .hljs { | ||
25 | color: #e0e2e4; | ||
26 | } | ||
27 | |||
28 | .hljs-attribute { | ||
29 | color: #668bb0; | ||
30 | } | ||
31 | |||
32 | .hljs-code, | ||
33 | .hljs-class .hljs-title, | ||
34 | .hljs-section { | ||
35 | color: white; | ||
36 | } | ||
37 | |||
38 | .hljs-regexp, | ||
39 | .hljs-link { | ||
40 | color: #d39745; | ||
41 | } | ||
42 | |||
43 | .hljs-meta { | ||
44 | color: #557182; | ||
45 | } | ||
46 | |||
47 | .hljs-tag, | ||
48 | .hljs-name, | ||
49 | .hljs-bullet, | ||
50 | .hljs-subst, | ||
51 | .hljs-emphasis, | ||
52 | .hljs-type, | ||
53 | .hljs-built_in, | ||
54 | .hljs-selector-attr, | ||
55 | .hljs-selector-pseudo, | ||
56 | .hljs-addition, | ||
57 | .hljs-variable, | ||
58 | .hljs-template-tag, | ||
59 | .hljs-template-variable { | ||
60 | color: #8cbbad; | ||
61 | } | ||
62 | |||
63 | .hljs-string, | ||
64 | .hljs-symbol { | ||
65 | color: #ec7600; | ||
66 | } | ||
67 | |||
68 | .hljs-comment, | ||
69 | .hljs-quote, | ||
70 | .hljs-deletion { | ||
71 | color: #818e96; | ||
72 | } | ||
73 | |||
74 | .hljs-selector-class { | ||
75 | color: #A082BD | ||
76 | } | ||
77 | |||
78 | .hljs-keyword, | ||
79 | .hljs-selector-tag, | ||
80 | .hljs-literal, | ||
81 | .hljs-doctag, | ||
82 | .hljs-title, | ||
83 | .hljs-section, | ||
84 | .hljs-type, | ||
85 | .hljs-name, | ||
86 | .hljs-strong { | ||
87 | font-weight: bold; | ||
88 | } |
static/libs/highlight/styles/ocean.css
0 → 100644
1 | /* Ocean Dark Theme */ | ||
2 | /* https://github.com/gavsiu */ | ||
3 | /* Original theme - https://github.com/chriskempson/base16 */ | ||
4 | |||
5 | /* Ocean Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #65737e; | ||
9 | } | ||
10 | |||
11 | /* Ocean Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-tag, | ||
15 | .hljs-name, | ||
16 | .hljs-selector-id, | ||
17 | .hljs-selector-class, | ||
18 | .hljs-regexp, | ||
19 | .hljs-deletion { | ||
20 | color: #bf616a; | ||
21 | } | ||
22 | |||
23 | /* Ocean Orange */ | ||
24 | .hljs-number, | ||
25 | .hljs-built_in, | ||
26 | .hljs-builtin-name, | ||
27 | .hljs-literal, | ||
28 | .hljs-type, | ||
29 | .hljs-params, | ||
30 | .hljs-meta, | ||
31 | .hljs-link { | ||
32 | color: #d08770; | ||
33 | } | ||
34 | |||
35 | /* Ocean Yellow */ | ||
36 | .hljs-attribute { | ||
37 | color: #ebcb8b; | ||
38 | } | ||
39 | |||
40 | /* Ocean Green */ | ||
41 | .hljs-string, | ||
42 | .hljs-symbol, | ||
43 | .hljs-bullet, | ||
44 | .hljs-addition { | ||
45 | color: #a3be8c; | ||
46 | } | ||
47 | |||
48 | /* Ocean Blue */ | ||
49 | .hljs-title, | ||
50 | .hljs-section { | ||
51 | color: #8fa1b3; | ||
52 | } | ||
53 | |||
54 | /* Ocean Purple */ | ||
55 | .hljs-keyword, | ||
56 | .hljs-selector-tag { | ||
57 | color: #b48ead; | ||
58 | } | ||
59 | |||
60 | .hljs { | ||
61 | display: block; | ||
62 | overflow-x: auto; | ||
63 | background: #2b303b; | ||
64 | color: #c0c5ce; | ||
65 | padding: 0.5em; | ||
66 | } | ||
67 | |||
68 | .hljs-emphasis { | ||
69 | font-style: italic; | ||
70 | } | ||
71 | |||
72 | .hljs-strong { | ||
73 | font-weight: bold; | ||
74 | } |
1 | /* | ||
2 | Paraíso (dark) | ||
3 | Created by Jan T. Sott (http://github.com/idleberg) | ||
4 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) | ||
5 | */ | ||
6 | |||
7 | /* Paraíso Comment */ | ||
8 | .hljs-comment, | ||
9 | .hljs-quote { | ||
10 | color: #8d8687; | ||
11 | } | ||
12 | |||
13 | /* Paraíso Red */ | ||
14 | .hljs-variable, | ||
15 | .hljs-template-variable, | ||
16 | .hljs-tag, | ||
17 | .hljs-name, | ||
18 | .hljs-selector-id, | ||
19 | .hljs-selector-class, | ||
20 | .hljs-regexp, | ||
21 | .hljs-link, | ||
22 | .hljs-meta { | ||
23 | color: #ef6155; | ||
24 | } | ||
25 | |||
26 | /* Paraíso Orange */ | ||
27 | .hljs-number, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params, | ||
33 | .hljs-deletion { | ||
34 | color: #f99b15; | ||
35 | } | ||
36 | |||
37 | /* Paraíso Yellow */ | ||
38 | .hljs-title, | ||
39 | .hljs-section, | ||
40 | .hljs-attribute { | ||
41 | color: #fec418; | ||
42 | } | ||
43 | |||
44 | /* Paraíso Green */ | ||
45 | .hljs-string, | ||
46 | .hljs-symbol, | ||
47 | .hljs-bullet, | ||
48 | .hljs-addition { | ||
49 | color: #48b685; | ||
50 | } | ||
51 | |||
52 | /* Paraíso Purple */ | ||
53 | .hljs-keyword, | ||
54 | .hljs-selector-tag { | ||
55 | color: #815ba4; | ||
56 | } | ||
57 | |||
58 | .hljs { | ||
59 | display: block; | ||
60 | overflow-x: auto; | ||
61 | background: #2f1e2e; | ||
62 | color: #a39e9b; | ||
63 | padding: 0.5em; | ||
64 | } | ||
65 | |||
66 | .hljs-emphasis { | ||
67 | font-style: italic; | ||
68 | } | ||
69 | |||
70 | .hljs-strong { | ||
71 | font-weight: bold; | ||
72 | } |
1 | /* | ||
2 | Paraíso (light) | ||
3 | Created by Jan T. Sott (http://github.com/idleberg) | ||
4 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) | ||
5 | */ | ||
6 | |||
7 | /* Paraíso Comment */ | ||
8 | .hljs-comment, | ||
9 | .hljs-quote { | ||
10 | color: #776e71; | ||
11 | } | ||
12 | |||
13 | /* Paraíso Red */ | ||
14 | .hljs-variable, | ||
15 | .hljs-template-variable, | ||
16 | .hljs-tag, | ||
17 | .hljs-name, | ||
18 | .hljs-selector-id, | ||
19 | .hljs-selector-class, | ||
20 | .hljs-regexp, | ||
21 | .hljs-link, | ||
22 | .hljs-meta { | ||
23 | color: #ef6155; | ||
24 | } | ||
25 | |||
26 | /* Paraíso Orange */ | ||
27 | .hljs-number, | ||
28 | .hljs-built_in, | ||
29 | .hljs-builtin-name, | ||
30 | .hljs-literal, | ||
31 | .hljs-type, | ||
32 | .hljs-params, | ||
33 | .hljs-deletion { | ||
34 | color: #f99b15; | ||
35 | } | ||
36 | |||
37 | /* Paraíso Yellow */ | ||
38 | .hljs-title, | ||
39 | .hljs-section, | ||
40 | .hljs-attribute { | ||
41 | color: #fec418; | ||
42 | } | ||
43 | |||
44 | /* Paraíso Green */ | ||
45 | .hljs-string, | ||
46 | .hljs-symbol, | ||
47 | .hljs-bullet, | ||
48 | .hljs-addition { | ||
49 | color: #48b685; | ||
50 | } | ||
51 | |||
52 | /* Paraíso Purple */ | ||
53 | .hljs-keyword, | ||
54 | .hljs-selector-tag { | ||
55 | color: #815ba4; | ||
56 | } | ||
57 | |||
58 | .hljs { | ||
59 | display: block; | ||
60 | overflow-x: auto; | ||
61 | background: #e7e9db; | ||
62 | color: #4f424c; | ||
63 | padding: 0.5em; | ||
64 | } | ||
65 | |||
66 | .hljs-emphasis { | ||
67 | font-style: italic; | ||
68 | } | ||
69 | |||
70 | .hljs-strong { | ||
71 | font-weight: bold; | ||
72 | } |
1 | /* | ||
2 | Paraíso (dark) | ||
3 | Created by Jan T. Sott (http://github.com/idleberg) | ||
4 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) | ||
5 | */ | ||
6 | |||
7 | /* Paraíso Comment */ | ||
8 | .hljs-comment, | ||
9 | .hljs-title { | ||
10 | color: #8d8687; | ||
11 | } | ||
12 | |||
13 | /* Paraíso Red */ | ||
14 | .hljs-variable, | ||
15 | .hljs-attribute, | ||
16 | .hljs-tag, | ||
17 | .hljs-regexp, | ||
18 | .hljs-name, | ||
19 | .ruby .hljs-constant, | ||
20 | .xml .hljs-tag .hljs-title, | ||
21 | .xml .hljs-pi, | ||
22 | .xml .hljs-doctype, | ||
23 | .html .hljs-doctype, | ||
24 | .css .hljs-id, | ||
25 | .css .hljs-class, | ||
26 | .css .hljs-pseudo { | ||
27 | color: #ef6155; | ||
28 | } | ||
29 | |||
30 | /* Paraíso Orange */ | ||
31 | .hljs-number, | ||
32 | .hljs-preprocessor, | ||
33 | .hljs-built_in, | ||
34 | .hljs-literal, | ||
35 | .hljs-params, | ||
36 | .hljs-constant { | ||
37 | color: #f99b15; | ||
38 | } | ||
39 | |||
40 | /* Paraíso Yellow */ | ||
41 | .ruby .hljs-class .hljs-title, | ||
42 | .css .hljs-rule .hljs-attribute { | ||
43 | color: #fec418; | ||
44 | } | ||
45 | |||
46 | /* Paraíso Green */ | ||
47 | .hljs-string, | ||
48 | .hljs-value, | ||
49 | .hljs-inheritance, | ||
50 | .hljs-header, | ||
51 | .ruby .hljs-symbol, | ||
52 | .xml .hljs-cdata { | ||
53 | color: #48b685; | ||
54 | } | ||
55 | |||
56 | /* Paraíso Aqua */ | ||
57 | .css .hljs-hexcolor { | ||
58 | color: #5bc4bf; | ||
59 | } | ||
60 | |||
61 | /* Paraíso Blue */ | ||
62 | .hljs-function, | ||
63 | .python .hljs-decorator, | ||
64 | .python .hljs-title, | ||
65 | .ruby .hljs-function .hljs-title, | ||
66 | .ruby .hljs-title .hljs-keyword, | ||
67 | .perl .hljs-sub, | ||
68 | .javascript .hljs-title, | ||
69 | .coffeescript .hljs-title { | ||
70 | color: #06b6ef; | ||
71 | } | ||
72 | |||
73 | /* Paraíso Purple */ | ||
74 | .hljs-keyword, | ||
75 | .javascript .hljs-function { | ||
76 | color: #815ba4; | ||
77 | } | ||
78 | |||
79 | .hljs { | ||
80 | display: block; | ||
81 | overflow-x: auto; | ||
82 | background: #2f1e2e; | ||
83 | color: #a39e9b; | ||
84 | padding: 0.5em; | ||
85 | -webkit-text-size-adjust: none; | ||
86 | } | ||
87 | |||
88 | .coffeescript .javascript, | ||
89 | .javascript .xml, | ||
90 | .tex .hljs-formula, | ||
91 | .xml .javascript, | ||
92 | .xml .vbscript, | ||
93 | .xml .css, | ||
94 | .xml .hljs-cdata { | ||
95 | opacity: 0.5; | ||
96 | } |
1 | /* | ||
2 | Paraíso (light) | ||
3 | Created by Jan T. Sott (http://github.com/idleberg) | ||
4 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) | ||
5 | */ | ||
6 | |||
7 | /* Paraíso Comment */ | ||
8 | .hljs-comment, | ||
9 | .hljs-title { | ||
10 | color: #776e71; | ||
11 | } | ||
12 | |||
13 | /* Paraíso Red */ | ||
14 | .hljs-variable, | ||
15 | .hljs-attribute, | ||
16 | .hljs-tag, | ||
17 | .hljs-regexp, | ||
18 | .hljs-name, | ||
19 | .ruby .hljs-constant, | ||
20 | .xml .hljs-tag .hljs-title, | ||
21 | .xml .hljs-pi, | ||
22 | .xml .hljs-doctype, | ||
23 | .html .hljs-doctype, | ||
24 | .css .hljs-id, | ||
25 | .css .hljs-class, | ||
26 | .css .hljs-pseudo { | ||
27 | color: #ef6155; | ||
28 | } | ||
29 | |||
30 | /* Paraíso Orange */ | ||
31 | .hljs-number, | ||
32 | .hljs-preprocessor, | ||
33 | .hljs-built_in, | ||
34 | .hljs-literal, | ||
35 | .hljs-params, | ||
36 | .hljs-constant { | ||
37 | color: #f99b15; | ||
38 | } | ||
39 | |||
40 | /* Paraíso Yellow */ | ||
41 | .ruby .hljs-class .hljs-title, | ||
42 | .css .hljs-rule .hljs-attribute { | ||
43 | color: #fec418; | ||
44 | } | ||
45 | |||
46 | /* Paraíso Green */ | ||
47 | .hljs-string, | ||
48 | .hljs-value, | ||
49 | .hljs-inheritance, | ||
50 | .hljs-header, | ||
51 | .ruby .hljs-symbol, | ||
52 | .xml .hljs-cdata { | ||
53 | color: #48b685; | ||
54 | } | ||
55 | |||
56 | /* Paraíso Aqua */ | ||
57 | .css .hljs-hexcolor { | ||
58 | color: #5bc4bf; | ||
59 | } | ||
60 | |||
61 | /* Paraíso Blue */ | ||
62 | .hljs-function, | ||
63 | .python .hljs-decorator, | ||
64 | .python .hljs-title, | ||
65 | .ruby .hljs-function .hljs-title, | ||
66 | .ruby .hljs-title .hljs-keyword, | ||
67 | .perl .hljs-sub, | ||
68 | .javascript .hljs-title, | ||
69 | .coffeescript .hljs-title { | ||
70 | color: #06b6ef; | ||
71 | } | ||
72 | |||
73 | /* Paraíso Purple */ | ||
74 | .hljs-keyword, | ||
75 | .javascript .hljs-function { | ||
76 | color: #815ba4; | ||
77 | } | ||
78 | |||
79 | .hljs { | ||
80 | display: block; | ||
81 | overflow-x: auto; | ||
82 | background: #e7e9db; | ||
83 | color: #4f424c; | ||
84 | padding: 0.5em; | ||
85 | -webkit-text-size-adjust: none; | ||
86 | } | ||
87 | |||
88 | .coffeescript .javascript, | ||
89 | .javascript .xml, | ||
90 | .tex .hljs-formula, | ||
91 | .xml .javascript, | ||
92 | .xml .vbscript, | ||
93 | .xml .css, | ||
94 | .xml .hljs-cdata { | ||
95 | opacity: 0.5; | ||
96 | } |
static/libs/highlight/styles/pojoaque.css
0 → 100644
1 | /* | ||
2 | |||
3 | Pojoaque Style by Jason Tate | ||
4 | http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html | ||
5 | Based on Solarized Style from http://ethanschoonover.com/solarized | ||
6 | |||
7 | */ | ||
8 | |||
9 | .hljs { | ||
10 | display: block; | ||
11 | overflow-x: auto; | ||
12 | padding: 0.5em; | ||
13 | color: #dccf8f; | ||
14 | background: url(./pojoaque.jpg) repeat scroll left top #181914; | ||
15 | } | ||
16 | |||
17 | .hljs-comment, | ||
18 | .hljs-quote { | ||
19 | color: #586e75; | ||
20 | font-style: italic; | ||
21 | } | ||
22 | |||
23 | .hljs-keyword, | ||
24 | .hljs-selector-tag, | ||
25 | .hljs-literal, | ||
26 | .hljs-addition { | ||
27 | color: #b64926; | ||
28 | } | ||
29 | |||
30 | .hljs-number, | ||
31 | .hljs-string, | ||
32 | .hljs-doctag, | ||
33 | .hljs-regexp { | ||
34 | color: #468966; | ||
35 | } | ||
36 | |||
37 | .hljs-title, | ||
38 | .hljs-section, | ||
39 | .hljs-built_in, | ||
40 | .hljs-name { | ||
41 | color: #ffb03b; | ||
42 | } | ||
43 | |||
44 | .hljs-variable, | ||
45 | .hljs-template-variable, | ||
46 | .hljs-class .hljs-title, | ||
47 | .hljs-type, | ||
48 | .hljs-tag { | ||
49 | color: #b58900; | ||
50 | } | ||
51 | |||
52 | .hljs-attribute { | ||
53 | color: #b89859; | ||
54 | } | ||
55 | |||
56 | .hljs-symbol, | ||
57 | .hljs-bullet, | ||
58 | .hljs-link, | ||
59 | .hljs-subst, | ||
60 | .hljs-meta { | ||
61 | color: #cb4b16; | ||
62 | } | ||
63 | |||
64 | .hljs-deletion { | ||
65 | color: #dc322f; | ||
66 | } | ||
67 | |||
68 | .hljs-selector-id, | ||
69 | .hljs-selector-class { | ||
70 | color: #d3a60c; | ||
71 | } | ||
72 | |||
73 | .hljs-formula { | ||
74 | background: #073642; | ||
75 | } | ||
76 | |||
77 | .hljs-emphasis { | ||
78 | font-style: italic; | ||
79 | } | ||
80 | |||
81 | .hljs-strong { | ||
82 | font-weight: bold; | ||
83 | } |
static/libs/highlight/styles/pojoaque.jpg
0 → 100644

1.16 KB
static/libs/highlight/styles/purebasic.css
0 → 100644
1 | /* | ||
2 | |||
3 | PureBASIC native IDE style ( version 1.0 - April 2016 ) | ||
4 | |||
5 | by Tristano Ajmone <tajmone@gmail.com> | ||
6 | |||
7 | Public Domain | ||
8 | |||
9 | NOTE_1: PureBASIC code syntax highlighting only applies the following classes: | ||
10 | .hljs-comment | ||
11 | .hljs-function | ||
12 | .hljs-keywords | ||
13 | .hljs-string | ||
14 | .hljs-symbol | ||
15 | |||
16 | Other classes are added here for the benefit of styling other languages with the look and feel of PureBASIC native IDE style. | ||
17 | If you need to customize a stylesheet for PureBASIC only, remove all non-relevant classes -- PureBASIC-related classes are followed by | ||
18 | a "--- used for PureBASIC ... ---" comment on same line. | ||
19 | |||
20 | NOTE_2: Color names provided in comments were derived using "Name that Color" online tool: | ||
21 | http://chir.ag/projects/name-that-color | ||
22 | */ | ||
23 | |||
24 | .hljs { /* Common set of rules required by highlight.js (don'r remove!) */ | ||
25 | display: block; | ||
26 | overflow-x: auto; | ||
27 | padding: 0.5em; | ||
28 | background: #FFFFDF; /* Half and Half (approx.) */ | ||
29 | /* --- Uncomment to add PureBASIC native IDE styled font! | ||
30 | font-family: Consolas; | ||
31 | */ | ||
32 | } | ||
33 | |||
34 | .hljs, /* --- used for PureBASIC base color --- */ | ||
35 | .hljs-type, /* --- used for PureBASIC Procedures return type --- */ | ||
36 | .hljs-function, /* --- used for wrapping PureBASIC Procedures definitions --- */ | ||
37 | .hljs-name, | ||
38 | .hljs-number, | ||
39 | .hljs-attr, | ||
40 | .hljs-params, | ||
41 | .hljs-subst { | ||
42 | color: #000000; /* Black */ | ||
43 | } | ||
44 | |||
45 | .hljs-comment, /* --- used for PureBASIC Comments --- */ | ||
46 | .hljs-regexp, | ||
47 | .hljs-section, | ||
48 | .hljs-selector-pseudo, | ||
49 | .hljs-addition { | ||
50 | color: #00AAAA; /* Persian Green (approx.) */ | ||
51 | } | ||
52 | |||
53 | .hljs-title, /* --- used for PureBASIC Procedures Names --- */ | ||
54 | .hljs-tag, | ||
55 | .hljs-variable, | ||
56 | .hljs-code { | ||
57 | color: #006666; /* Blue Stone (approx.) */ | ||
58 | } | ||
59 | |||
60 | .hljs-keyword, /* --- used for PureBASIC Keywords --- */ | ||
61 | .hljs-class, | ||
62 | .hljs-meta-keyword, | ||
63 | .hljs-selector-class, | ||
64 | .hljs-built_in, | ||
65 | .hljs-builtin-name { | ||
66 | color: #006666; /* Blue Stone (approx.) */ | ||
67 | font-weight: bold; | ||
68 | } | ||
69 | |||
70 | .hljs-string, /* --- used for PureBASIC Strings --- */ | ||
71 | .hljs-selector-attr { | ||
72 | color: #0080FF; /* Azure Radiance (approx.) */ | ||
73 | } | ||
74 | |||
75 | .hljs-symbol, /* --- used for PureBASIC Constants --- */ | ||
76 | .hljs-link, | ||
77 | .hljs-deletion, | ||
78 | .hljs-attribute { | ||
79 | color: #924B72; /* Cannon Pink (approx.) */ | ||
80 | } | ||
81 | |||
82 | .hljs-meta, | ||
83 | .hljs-literal, | ||
84 | .hljs-selector-id { | ||
85 | color: #924B72; /* Cannon Pink (approx.) */ | ||
86 | font-weight: bold; | ||
87 | } | ||
88 | |||
89 | .hljs-strong, | ||
90 | .hljs-name { | ||
91 | font-weight: bold; | ||
92 | } | ||
93 | |||
94 | .hljs-emphasis { | ||
95 | font-style: italic; | ||
96 | } |
1 | /* | ||
2 | |||
3 | Qt Creator dark color scheme | ||
4 | |||
5 | */ | ||
6 | |||
7 | |||
8 | .hljs { | ||
9 | display: block; | ||
10 | overflow-x: auto; | ||
11 | padding: 0.5em; | ||
12 | background: #000000; | ||
13 | } | ||
14 | |||
15 | .hljs, | ||
16 | .hljs-subst, | ||
17 | .hljs-tag, | ||
18 | .hljs-title { | ||
19 | color: #aaaaaa; | ||
20 | } | ||
21 | |||
22 | .hljs-strong, | ||
23 | .hljs-emphasis { | ||
24 | color: #a8a8a2; | ||
25 | } | ||
26 | |||
27 | .hljs-bullet, | ||
28 | .hljs-quote, | ||
29 | .hljs-number, | ||
30 | .hljs-regexp, | ||
31 | .hljs-literal { | ||
32 | color: #ff55ff; | ||
33 | } | ||
34 | |||
35 | .hljs-code | ||
36 | .hljs-selector-class { | ||
37 | color: #aaaaff; | ||
38 | } | ||
39 | |||
40 | .hljs-emphasis, | ||
41 | .hljs-stronge, | ||
42 | .hljs-type { | ||
43 | font-style: italic; | ||
44 | } | ||
45 | |||
46 | .hljs-keyword, | ||
47 | .hljs-selector-tag, | ||
48 | .hljs-function, | ||
49 | .hljs-section, | ||
50 | .hljs-symbol, | ||
51 | .hljs-name { | ||
52 | color: #ffff55; | ||
53 | } | ||
54 | |||
55 | .hljs-attribute { | ||
56 | color: #ff5555; | ||
57 | } | ||
58 | |||
59 | .hljs-variable, | ||
60 | .hljs-params, | ||
61 | .hljs-class .hljs-title { | ||
62 | color: #8888ff; | ||
63 | } | ||
64 | |||
65 | .hljs-string, | ||
66 | .hljs-selector-id, | ||
67 | .hljs-selector-attr, | ||
68 | .hljs-selector-pseudo, | ||
69 | .hljs-type, | ||
70 | .hljs-built_in, | ||
71 | .hljs-builtin-name, | ||
72 | .hljs-template-tag, | ||
73 | .hljs-template-variable, | ||
74 | .hljs-addition, | ||
75 | .hljs-link { | ||
76 | color: #ff55ff; | ||
77 | } | ||
78 | |||
79 | .hljs-comment, | ||
80 | .hljs-meta, | ||
81 | .hljs-deletion { | ||
82 | color: #55ffff; | ||
83 | } |
1 | /* | ||
2 | |||
3 | Qt Creator light color scheme | ||
4 | |||
5 | */ | ||
6 | |||
7 | |||
8 | .hljs { | ||
9 | display: block; | ||
10 | overflow-x: auto; | ||
11 | padding: 0.5em; | ||
12 | background: #ffffff; | ||
13 | } | ||
14 | |||
15 | .hljs, | ||
16 | .hljs-subst, | ||
17 | .hljs-tag, | ||
18 | .hljs-title { | ||
19 | color: #000000; | ||
20 | } | ||
21 | |||
22 | .hljs-strong, | ||
23 | .hljs-emphasis { | ||
24 | color: #000000; | ||
25 | } | ||
26 | |||
27 | .hljs-bullet, | ||
28 | .hljs-quote, | ||
29 | .hljs-number, | ||
30 | .hljs-regexp, | ||
31 | .hljs-literal { | ||
32 | color: #000080; | ||
33 | } | ||
34 | |||
35 | .hljs-code | ||
36 | .hljs-selector-class { | ||
37 | color: #800080; | ||
38 | } | ||
39 | |||
40 | .hljs-emphasis, | ||
41 | .hljs-stronge, | ||
42 | .hljs-type { | ||
43 | font-style: italic; | ||
44 | } | ||
45 | |||
46 | .hljs-keyword, | ||
47 | .hljs-selector-tag, | ||
48 | .hljs-function, | ||
49 | .hljs-section, | ||
50 | .hljs-symbol, | ||
51 | .hljs-name { | ||
52 | color: #808000; | ||
53 | } | ||
54 | |||
55 | .hljs-attribute { | ||
56 | color: #800000; | ||
57 | } | ||
58 | |||
59 | .hljs-variable, | ||
60 | .hljs-params, | ||
61 | .hljs-class .hljs-title { | ||
62 | color: #0055AF; | ||
63 | } | ||
64 | |||
65 | .hljs-string, | ||
66 | .hljs-selector-id, | ||
67 | .hljs-selector-attr, | ||
68 | .hljs-selector-pseudo, | ||
69 | .hljs-type, | ||
70 | .hljs-built_in, | ||
71 | .hljs-builtin-name, | ||
72 | .hljs-template-tag, | ||
73 | .hljs-template-variable, | ||
74 | .hljs-addition, | ||
75 | .hljs-link { | ||
76 | color: #008000; | ||
77 | } | ||
78 | |||
79 | .hljs-comment, | ||
80 | .hljs-meta, | ||
81 | .hljs-deletion { | ||
82 | color: #008000; | ||
83 | } |
static/libs/highlight/styles/railscasts.css
0 → 100644
1 | /* | ||
2 | |||
3 | Railscasts-like style (c) Visoft, Inc. (Damien White) | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #232323; | ||
12 | color: #e6e1dc; | ||
13 | } | ||
14 | |||
15 | .hljs-comment, | ||
16 | .hljs-quote { | ||
17 | color: #bc9458; | ||
18 | font-style: italic; | ||
19 | } | ||
20 | |||
21 | .hljs-keyword, | ||
22 | .hljs-selector-tag { | ||
23 | color: #c26230; | ||
24 | } | ||
25 | |||
26 | .hljs-string, | ||
27 | .hljs-number, | ||
28 | .hljs-regexp, | ||
29 | .hljs-variable, | ||
30 | .hljs-template-variable { | ||
31 | color: #a5c261; | ||
32 | } | ||
33 | |||
34 | .hljs-subst { | ||
35 | color: #519f50; | ||
36 | } | ||
37 | |||
38 | .hljs-tag, | ||
39 | .hljs-name { | ||
40 | color: #e8bf6a; | ||
41 | } | ||
42 | |||
43 | .hljs-type { | ||
44 | color: #da4939; | ||
45 | } | ||
46 | |||
47 | |||
48 | .hljs-symbol, | ||
49 | .hljs-bullet, | ||
50 | .hljs-built_in, | ||
51 | .hljs-builtin-name, | ||
52 | .hljs-attr, | ||
53 | .hljs-link { | ||
54 | color: #6d9cbe; | ||
55 | } | ||
56 | |||
57 | .hljs-params { | ||
58 | color: #d0d0ff; | ||
59 | } | ||
60 | |||
61 | .hljs-attribute { | ||
62 | color: #cda869; | ||
63 | } | ||
64 | |||
65 | .hljs-meta { | ||
66 | color: #9b859d; | ||
67 | } | ||
68 | |||
69 | .hljs-title, | ||
70 | .hljs-section { | ||
71 | color: #ffc66d; | ||
72 | } | ||
73 | |||
74 | .hljs-addition { | ||
75 | background-color: #144212; | ||
76 | color: #e6e1dc; | ||
77 | display: inline-block; | ||
78 | width: 100%; | ||
79 | } | ||
80 | |||
81 | .hljs-deletion { | ||
82 | background-color: #600; | ||
83 | color: #e6e1dc; | ||
84 | display: inline-block; | ||
85 | width: 100%; | ||
86 | } | ||
87 | |||
88 | .hljs-selector-class { | ||
89 | color: #9b703f; | ||
90 | } | ||
91 | |||
92 | .hljs-selector-id { | ||
93 | color: #8b98ab; | ||
94 | } | ||
95 | |||
96 | .hljs-emphasis { | ||
97 | font-style: italic; | ||
98 | } | ||
99 | |||
100 | .hljs-strong { | ||
101 | font-weight: bold; | ||
102 | } | ||
103 | |||
104 | .hljs-link { | ||
105 | text-decoration: underline; | ||
106 | } |
static/libs/highlight/styles/rainbow.css
0 → 100644
1 | /* | ||
2 | |||
3 | Style with support for rainbow parens | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #474949; | ||
12 | color: #d1d9e1; | ||
13 | } | ||
14 | |||
15 | |||
16 | .hljs-comment, | ||
17 | .hljs-quote { | ||
18 | color: #969896; | ||
19 | font-style: italic; | ||
20 | } | ||
21 | |||
22 | .hljs-keyword, | ||
23 | .hljs-selector-tag, | ||
24 | .hljs-literal, | ||
25 | .hljs-type, | ||
26 | .hljs-addition { | ||
27 | color: #cc99cc; | ||
28 | } | ||
29 | |||
30 | .hljs-number, | ||
31 | .hljs-selector-attr, | ||
32 | .hljs-selector-pseudo { | ||
33 | color: #f99157; | ||
34 | } | ||
35 | |||
36 | .hljs-string, | ||
37 | .hljs-doctag, | ||
38 | .hljs-regexp { | ||
39 | color: #8abeb7; | ||
40 | } | ||
41 | |||
42 | .hljs-title, | ||
43 | .hljs-name, | ||
44 | .hljs-section, | ||
45 | .hljs-built_in { | ||
46 | color: #b5bd68; | ||
47 | } | ||
48 | |||
49 | .hljs-variable, | ||
50 | .hljs-template-variable, | ||
51 | .hljs-selector-id, | ||
52 | .hljs-class .hljs-title { | ||
53 | color: #ffcc66; | ||
54 | } | ||
55 | |||
56 | .hljs-section, | ||
57 | .hljs-name, | ||
58 | .hljs-strong { | ||
59 | font-weight: bold; | ||
60 | } | ||
61 | |||
62 | .hljs-symbol, | ||
63 | .hljs-bullet, | ||
64 | .hljs-subst, | ||
65 | .hljs-meta, | ||
66 | .hljs-link { | ||
67 | color: #f99157; | ||
68 | } | ||
69 | |||
70 | .hljs-deletion { | ||
71 | color: #dc322f; | ||
72 | } | ||
73 | |||
74 | .hljs-formula { | ||
75 | background: #eee8d5; | ||
76 | } | ||
77 | |||
78 | .hljs-attr, | ||
79 | .hljs-attribute { | ||
80 | color: #81a2be; | ||
81 | } | ||
82 | |||
83 | .hljs-emphasis { | ||
84 | font-style: italic; | ||
85 | } |
static/libs/highlight/styles/school-book.css
0 → 100644
1 | /* | ||
2 | |||
3 | School Book style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 15px 0.5em 0.5em 30px; | ||
11 | font-size: 11px; | ||
12 | line-height:16px; | ||
13 | } | ||
14 | |||
15 | pre{ | ||
16 | background:#f6f6ae url(./school-book.png); | ||
17 | border-top: solid 2px #d2e8b9; | ||
18 | border-bottom: solid 1px #d2e8b9; | ||
19 | } | ||
20 | |||
21 | .hljs-keyword, | ||
22 | .hljs-selector-tag, | ||
23 | .hljs-literal { | ||
24 | color:#005599; | ||
25 | font-weight:bold; | ||
26 | } | ||
27 | |||
28 | .hljs, | ||
29 | .hljs-subst { | ||
30 | color: #3e5915; | ||
31 | } | ||
32 | |||
33 | .hljs-string, | ||
34 | .hljs-title, | ||
35 | .hljs-section, | ||
36 | .hljs-type, | ||
37 | .hljs-symbol, | ||
38 | .hljs-bullet, | ||
39 | .hljs-attribute, | ||
40 | .hljs-built_in, | ||
41 | .hljs-builtin-name, | ||
42 | .hljs-addition, | ||
43 | .hljs-variable, | ||
44 | .hljs-template-tag, | ||
45 | .hljs-template-variable, | ||
46 | .hljs-link { | ||
47 | color: #2c009f; | ||
48 | } | ||
49 | |||
50 | .hljs-comment, | ||
51 | .hljs-quote, | ||
52 | .hljs-deletion, | ||
53 | .hljs-meta { | ||
54 | color: #e60415; | ||
55 | } | ||
56 | |||
57 | .hljs-keyword, | ||
58 | .hljs-selector-tag, | ||
59 | .hljs-literal, | ||
60 | .hljs-doctag, | ||
61 | .hljs-title, | ||
62 | .hljs-section, | ||
63 | .hljs-type, | ||
64 | .hljs-name, | ||
65 | .hljs-selector-id, | ||
66 | .hljs-strong { | ||
67 | font-weight: bold; | ||
68 | } | ||
69 | |||
70 | .hljs-emphasis { | ||
71 | font-style: italic; | ||
72 | } |
static/libs/highlight/styles/school-book.png
0 → 100644

486 Bytes
static/libs/highlight/styles/school_book.css
0 → 100644
1 | /* | ||
2 | |||
3 | School Book style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 15px 0.5em 0.5em 30px; | ||
11 | font-size: 11px !important; | ||
12 | line-height:16px !important; | ||
13 | -webkit-text-size-adjust: none; | ||
14 | } | ||
15 | |||
16 | pre{ | ||
17 | background:#f6f6ae url(./school_book.png); | ||
18 | border-top: solid 2px #d2e8b9; | ||
19 | border-bottom: solid 1px #d2e8b9; | ||
20 | } | ||
21 | |||
22 | .hljs-keyword, | ||
23 | .hljs-literal, | ||
24 | .hljs-change, | ||
25 | .hljs-winutils, | ||
26 | .hljs-flow, | ||
27 | .nginx .hljs-title, | ||
28 | .tex .hljs-special { | ||
29 | color:#005599; | ||
30 | font-weight:bold; | ||
31 | } | ||
32 | |||
33 | .hljs, | ||
34 | .hljs-subst, | ||
35 | .hljs-tag .hljs-keyword { | ||
36 | color: #3e5915; | ||
37 | } | ||
38 | |||
39 | .hljs-string, | ||
40 | .hljs-title, | ||
41 | .hljs-type, | ||
42 | .hljs-tag .hljs-value, | ||
43 | .css .hljs-rule .hljs-value, | ||
44 | .hljs-preprocessor, | ||
45 | .hljs-pragma, | ||
46 | .ruby .hljs-symbol, | ||
47 | .ruby .hljs-symbol .hljs-string, | ||
48 | .ruby .hljs-class .hljs-parent, | ||
49 | .hljs-built_in, | ||
50 | .django .hljs-template_tag, | ||
51 | .django .hljs-variable, | ||
52 | .smalltalk .hljs-class, | ||
53 | .ruby .hljs-string, | ||
54 | .django .hljs-filter .hljs-argument, | ||
55 | .smalltalk .hljs-localvars, | ||
56 | .smalltalk .hljs-array, | ||
57 | .hljs-attr_selector, | ||
58 | .hljs-pseudo, | ||
59 | .hljs-addition, | ||
60 | .hljs-stream, | ||
61 | .hljs-envvar, | ||
62 | .apache .hljs-tag, | ||
63 | .apache .hljs-cbracket, | ||
64 | .nginx .hljs-built_in, | ||
65 | .tex .hljs-command, | ||
66 | .coffeescript .hljs-attribute, | ||
67 | .hljs-name { | ||
68 | color: #2c009f; | ||
69 | } | ||
70 | |||
71 | .hljs-comment, | ||
72 | .hljs-annotation, | ||
73 | .hljs-decorator, | ||
74 | .hljs-pi, | ||
75 | .hljs-doctype, | ||
76 | .hljs-deletion, | ||
77 | .hljs-shebang, | ||
78 | .apache .hljs-sqbracket { | ||
79 | color: #e60415; | ||
80 | } | ||
81 | |||
82 | .hljs-keyword, | ||
83 | .hljs-literal, | ||
84 | .css .hljs-id, | ||
85 | .hljs-doctag, | ||
86 | .hljs-title, | ||
87 | .hljs-type, | ||
88 | .vbscript .hljs-built_in, | ||
89 | .rsl .hljs-built_in, | ||
90 | .smalltalk .hljs-class, | ||
91 | .xml .hljs-tag .hljs-title, | ||
92 | .diff .hljs-header, | ||
93 | .hljs-chunk, | ||
94 | .hljs-winutils, | ||
95 | .bash .hljs-variable, | ||
96 | .apache .hljs-tag, | ||
97 | .tex .hljs-command, | ||
98 | .hljs-request, | ||
99 | .hljs-status { | ||
100 | font-weight: bold; | ||
101 | } | ||
102 | |||
103 | .coffeescript .javascript, | ||
104 | .javascript .xml, | ||
105 | .tex .hljs-formula, | ||
106 | .xml .javascript, | ||
107 | .xml .vbscript, | ||
108 | .xml .css, | ||
109 | .xml .hljs-cdata { | ||
110 | opacity: 0.5; | ||
111 | } |
static/libs/highlight/styles/school_book.png
0 → 100644

486 Bytes
1 | /* | ||
2 | |||
3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #002b36; | ||
12 | color: #839496; | ||
13 | } | ||
14 | |||
15 | .hljs-comment, | ||
16 | .hljs-quote { | ||
17 | color: #586e75; | ||
18 | } | ||
19 | |||
20 | /* Solarized Green */ | ||
21 | .hljs-keyword, | ||
22 | .hljs-selector-tag, | ||
23 | .hljs-addition { | ||
24 | color: #859900; | ||
25 | } | ||
26 | |||
27 | /* Solarized Cyan */ | ||
28 | .hljs-number, | ||
29 | .hljs-string, | ||
30 | .hljs-meta .hljs-meta-string, | ||
31 | .hljs-literal, | ||
32 | .hljs-doctag, | ||
33 | .hljs-regexp { | ||
34 | color: #2aa198; | ||
35 | } | ||
36 | |||
37 | /* Solarized Blue */ | ||
38 | .hljs-title, | ||
39 | .hljs-section, | ||
40 | .hljs-name, | ||
41 | .hljs-selector-id, | ||
42 | .hljs-selector-class { | ||
43 | color: #268bd2; | ||
44 | } | ||
45 | |||
46 | /* Solarized Yellow */ | ||
47 | .hljs-attribute, | ||
48 | .hljs-attr, | ||
49 | .hljs-variable, | ||
50 | .hljs-template-variable, | ||
51 | .hljs-class .hljs-title, | ||
52 | .hljs-type { | ||
53 | color: #b58900; | ||
54 | } | ||
55 | |||
56 | /* Solarized Orange */ | ||
57 | .hljs-symbol, | ||
58 | .hljs-bullet, | ||
59 | .hljs-subst, | ||
60 | .hljs-meta, | ||
61 | .hljs-meta .hljs-keyword, | ||
62 | .hljs-selector-attr, | ||
63 | .hljs-selector-pseudo, | ||
64 | .hljs-link { | ||
65 | color: #cb4b16; | ||
66 | } | ||
67 | |||
68 | /* Solarized Red */ | ||
69 | .hljs-built_in, | ||
70 | .hljs-deletion { | ||
71 | color: #dc322f; | ||
72 | } | ||
73 | |||
74 | .hljs-formula { | ||
75 | background: #073642; | ||
76 | } | ||
77 | |||
78 | .hljs-emphasis { | ||
79 | font-style: italic; | ||
80 | } | ||
81 | |||
82 | .hljs-strong { | ||
83 | font-weight: bold; | ||
84 | } |
1 | /* | ||
2 | |||
3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #fdf6e3; | ||
12 | color: #657b83; | ||
13 | } | ||
14 | |||
15 | .hljs-comment, | ||
16 | .hljs-quote { | ||
17 | color: #93a1a1; | ||
18 | } | ||
19 | |||
20 | /* Solarized Green */ | ||
21 | .hljs-keyword, | ||
22 | .hljs-selector-tag, | ||
23 | .hljs-addition { | ||
24 | color: #859900; | ||
25 | } | ||
26 | |||
27 | /* Solarized Cyan */ | ||
28 | .hljs-number, | ||
29 | .hljs-string, | ||
30 | .hljs-meta .hljs-meta-string, | ||
31 | .hljs-literal, | ||
32 | .hljs-doctag, | ||
33 | .hljs-regexp { | ||
34 | color: #2aa198; | ||
35 | } | ||
36 | |||
37 | /* Solarized Blue */ | ||
38 | .hljs-title, | ||
39 | .hljs-section, | ||
40 | .hljs-name, | ||
41 | .hljs-selector-id, | ||
42 | .hljs-selector-class { | ||
43 | color: #268bd2; | ||
44 | } | ||
45 | |||
46 | /* Solarized Yellow */ | ||
47 | .hljs-attribute, | ||
48 | .hljs-attr, | ||
49 | .hljs-variable, | ||
50 | .hljs-template-variable, | ||
51 | .hljs-class .hljs-title, | ||
52 | .hljs-type { | ||
53 | color: #b58900; | ||
54 | } | ||
55 | |||
56 | /* Solarized Orange */ | ||
57 | .hljs-symbol, | ||
58 | .hljs-bullet, | ||
59 | .hljs-subst, | ||
60 | .hljs-meta, | ||
61 | .hljs-meta .hljs-keyword, | ||
62 | .hljs-selector-attr, | ||
63 | .hljs-selector-pseudo, | ||
64 | .hljs-link { | ||
65 | color: #cb4b16; | ||
66 | } | ||
67 | |||
68 | /* Solarized Red */ | ||
69 | .hljs-built_in, | ||
70 | .hljs-deletion { | ||
71 | color: #dc322f; | ||
72 | } | ||
73 | |||
74 | .hljs-formula { | ||
75 | background: #eee8d5; | ||
76 | } | ||
77 | |||
78 | .hljs-emphasis { | ||
79 | font-style: italic; | ||
80 | } | ||
81 | |||
82 | .hljs-strong { | ||
83 | font-weight: bold; | ||
84 | } |
1 | /* | ||
2 | |||
3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #002b36; | ||
12 | color: #839496; | ||
13 | -webkit-text-size-adjust: none; | ||
14 | } | ||
15 | |||
16 | .hljs-comment, | ||
17 | .diff .hljs-header, | ||
18 | .hljs-doctype, | ||
19 | .hljs-pi, | ||
20 | .lisp .hljs-string { | ||
21 | color: #586e75; | ||
22 | } | ||
23 | |||
24 | /* Solarized Green */ | ||
25 | .hljs-keyword, | ||
26 | .hljs-winutils, | ||
27 | .method, | ||
28 | .hljs-addition, | ||
29 | .css .hljs-tag, | ||
30 | .hljs-request, | ||
31 | .hljs-status, | ||
32 | .nginx .hljs-title { | ||
33 | color: #859900; | ||
34 | } | ||
35 | |||
36 | /* Solarized Cyan */ | ||
37 | .hljs-number, | ||
38 | .hljs-command, | ||
39 | .hljs-string, | ||
40 | .hljs-tag .hljs-value, | ||
41 | .hljs-rule .hljs-value, | ||
42 | .hljs-doctag, | ||
43 | .tex .hljs-formula, | ||
44 | .hljs-regexp, | ||
45 | .hljs-hexcolor, | ||
46 | .hljs-link_url { | ||
47 | color: #2aa198; | ||
48 | } | ||
49 | |||
50 | /* Solarized Blue */ | ||
51 | .hljs-title, | ||
52 | .hljs-localvars, | ||
53 | .hljs-chunk, | ||
54 | .hljs-decorator, | ||
55 | .hljs-built_in, | ||
56 | .hljs-identifier, | ||
57 | .vhdl .hljs-literal, | ||
58 | .hljs-id, | ||
59 | .css .hljs-function, | ||
60 | .hljs-name { | ||
61 | color: #268bd2; | ||
62 | } | ||
63 | |||
64 | /* Solarized Yellow */ | ||
65 | .hljs-attribute, | ||
66 | .hljs-variable, | ||
67 | .lisp .hljs-body, | ||
68 | .smalltalk .hljs-number, | ||
69 | .hljs-constant, | ||
70 | .hljs-class .hljs-title, | ||
71 | .hljs-parent, | ||
72 | .hljs-type, | ||
73 | .hljs-link_reference { | ||
74 | color: #b58900; | ||
75 | } | ||
76 | |||
77 | /* Solarized Orange */ | ||
78 | .hljs-preprocessor, | ||
79 | .hljs-preprocessor .hljs-keyword, | ||
80 | .hljs-pragma, | ||
81 | .hljs-shebang, | ||
82 | .hljs-symbol, | ||
83 | .hljs-symbol .hljs-string, | ||
84 | .diff .hljs-change, | ||
85 | .hljs-special, | ||
86 | .hljs-attr_selector, | ||
87 | .hljs-subst, | ||
88 | .hljs-cdata, | ||
89 | .css .hljs-pseudo, | ||
90 | .hljs-header { | ||
91 | color: #cb4b16; | ||
92 | } | ||
93 | |||
94 | /* Solarized Red */ | ||
95 | .hljs-deletion, | ||
96 | .hljs-important { | ||
97 | color: #dc322f; | ||
98 | } | ||
99 | |||
100 | /* Solarized Violet */ | ||
101 | .hljs-link_label { | ||
102 | color: #6c71c4; | ||
103 | } | ||
104 | |||
105 | .tex .hljs-formula { | ||
106 | background: #073642; | ||
107 | } |
1 | /* | ||
2 | |||
3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #fdf6e3; | ||
12 | color: #657b83; | ||
13 | -webkit-text-size-adjust: none; | ||
14 | } | ||
15 | |||
16 | .hljs-comment, | ||
17 | .diff .hljs-header, | ||
18 | .hljs-doctype, | ||
19 | .hljs-pi, | ||
20 | .lisp .hljs-string { | ||
21 | color: #93a1a1; | ||
22 | } | ||
23 | |||
24 | /* Solarized Green */ | ||
25 | .hljs-keyword, | ||
26 | .hljs-winutils, | ||
27 | .method, | ||
28 | .hljs-addition, | ||
29 | .css .hljs-tag, | ||
30 | .hljs-request, | ||
31 | .hljs-status, | ||
32 | .nginx .hljs-title { | ||
33 | color: #859900; | ||
34 | } | ||
35 | |||
36 | /* Solarized Cyan */ | ||
37 | .hljs-number, | ||
38 | .hljs-command, | ||
39 | .hljs-string, | ||
40 | .hljs-tag .hljs-value, | ||
41 | .hljs-rule .hljs-value, | ||
42 | .hljs-doctag, | ||
43 | .tex .hljs-formula, | ||
44 | .hljs-regexp, | ||
45 | .hljs-hexcolor, | ||
46 | .hljs-link_url { | ||
47 | color: #2aa198; | ||
48 | } | ||
49 | |||
50 | /* Solarized Blue */ | ||
51 | .hljs-title, | ||
52 | .hljs-localvars, | ||
53 | .hljs-chunk, | ||
54 | .hljs-decorator, | ||
55 | .hljs-built_in, | ||
56 | .hljs-identifier, | ||
57 | .vhdl .hljs-literal, | ||
58 | .hljs-id, | ||
59 | .css .hljs-function, | ||
60 | .hljs-name { | ||
61 | color: #268bd2; | ||
62 | } | ||
63 | |||
64 | /* Solarized Yellow */ | ||
65 | .hljs-attribute, | ||
66 | .hljs-variable, | ||
67 | .lisp .hljs-body, | ||
68 | .smalltalk .hljs-number, | ||
69 | .hljs-constant, | ||
70 | .hljs-class .hljs-title, | ||
71 | .hljs-parent, | ||
72 | .hljs-type, | ||
73 | .hljs-link_reference { | ||
74 | color: #b58900; | ||
75 | } | ||
76 | |||
77 | /* Solarized Orange */ | ||
78 | .hljs-preprocessor, | ||
79 | .hljs-preprocessor .hljs-keyword, | ||
80 | .hljs-pragma, | ||
81 | .hljs-shebang, | ||
82 | .hljs-symbol, | ||
83 | .hljs-symbol .hljs-string, | ||
84 | .diff .hljs-change, | ||
85 | .hljs-special, | ||
86 | .hljs-attr_selector, | ||
87 | .hljs-subst, | ||
88 | .hljs-cdata, | ||
89 | .css .hljs-pseudo, | ||
90 | .hljs-header { | ||
91 | color: #cb4b16; | ||
92 | } | ||
93 | |||
94 | /* Solarized Red */ | ||
95 | .hljs-deletion, | ||
96 | .hljs-important { | ||
97 | color: #dc322f; | ||
98 | } | ||
99 | |||
100 | /* Solarized Violet */ | ||
101 | .hljs-link_label { | ||
102 | color: #6c71c4; | ||
103 | } | ||
104 | |||
105 | .tex .hljs-formula { | ||
106 | background: #eee8d5; | ||
107 | } |
static/libs/highlight/styles/sunburst.css
0 → 100644
1 | /* | ||
2 | |||
3 | Sunburst-like style (c) Vasily Polovnyov <vast@whiteants.net> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #000; | ||
12 | color: #f8f8f8; | ||
13 | } | ||
14 | |||
15 | .hljs-comment, | ||
16 | .hljs-quote { | ||
17 | color: #aeaeae; | ||
18 | font-style: italic; | ||
19 | } | ||
20 | |||
21 | .hljs-keyword, | ||
22 | .hljs-selector-tag, | ||
23 | .hljs-type { | ||
24 | color: #e28964; | ||
25 | } | ||
26 | |||
27 | .hljs-string { | ||
28 | color: #65b042; | ||
29 | } | ||
30 | |||
31 | .hljs-subst { | ||
32 | color: #daefa3; | ||
33 | } | ||
34 | |||
35 | .hljs-regexp, | ||
36 | .hljs-link { | ||
37 | color: #e9c062; | ||
38 | } | ||
39 | |||
40 | .hljs-title, | ||
41 | .hljs-section, | ||
42 | .hljs-tag, | ||
43 | .hljs-name { | ||
44 | color: #89bdff; | ||
45 | } | ||
46 | |||
47 | .hljs-class .hljs-title, | ||
48 | .hljs-doctag { | ||
49 | text-decoration: underline; | ||
50 | } | ||
51 | |||
52 | .hljs-symbol, | ||
53 | .hljs-bullet, | ||
54 | .hljs-number { | ||
55 | color: #3387cc; | ||
56 | } | ||
57 | |||
58 | .hljs-params, | ||
59 | .hljs-variable, | ||
60 | .hljs-template-variable { | ||
61 | color: #3e87e3; | ||
62 | } | ||
63 | |||
64 | .hljs-attribute { | ||
65 | color: #cda869; | ||
66 | } | ||
67 | |||
68 | .hljs-meta { | ||
69 | color: #8996a8; | ||
70 | } | ||
71 | |||
72 | .hljs-formula { | ||
73 | background-color: #0e2231; | ||
74 | color: #f8f8f8; | ||
75 | font-style: italic; | ||
76 | } | ||
77 | |||
78 | .hljs-addition { | ||
79 | background-color: #253b22; | ||
80 | color: #f8f8f8; | ||
81 | } | ||
82 | |||
83 | .hljs-deletion { | ||
84 | background-color: #420e09; | ||
85 | color: #f8f8f8; | ||
86 | } | ||
87 | |||
88 | .hljs-selector-class { | ||
89 | color: #9b703f; | ||
90 | } | ||
91 | |||
92 | .hljs-selector-id { | ||
93 | color: #8b98ab; | ||
94 | } | ||
95 | |||
96 | .hljs-emphasis { | ||
97 | font-style: italic; | ||
98 | } | ||
99 | |||
100 | .hljs-strong { | ||
101 | font-weight: bold; | ||
102 | } |
1 | /* Tomorrow Night Blue Theme */ | ||
2 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
3 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ | ||
4 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
5 | |||
6 | /* Tomorrow Comment */ | ||
7 | .hljs-comment, | ||
8 | .hljs-quote { | ||
9 | color: #7285b7; | ||
10 | } | ||
11 | |||
12 | /* Tomorrow Red */ | ||
13 | .hljs-variable, | ||
14 | .hljs-template-variable, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-selector-id, | ||
18 | .hljs-selector-class, | ||
19 | .hljs-regexp, | ||
20 | .hljs-deletion { | ||
21 | color: #ff9da4; | ||
22 | } | ||
23 | |||
24 | /* Tomorrow Orange */ | ||
25 | .hljs-number, | ||
26 | .hljs-built_in, | ||
27 | .hljs-builtin-name, | ||
28 | .hljs-literal, | ||
29 | .hljs-type, | ||
30 | .hljs-params, | ||
31 | .hljs-meta, | ||
32 | .hljs-link { | ||
33 | color: #ffc58f; | ||
34 | } | ||
35 | |||
36 | /* Tomorrow Yellow */ | ||
37 | .hljs-attribute { | ||
38 | color: #ffeead; | ||
39 | } | ||
40 | |||
41 | /* Tomorrow Green */ | ||
42 | .hljs-string, | ||
43 | .hljs-symbol, | ||
44 | .hljs-bullet, | ||
45 | .hljs-addition { | ||
46 | color: #d1f1a9; | ||
47 | } | ||
48 | |||
49 | /* Tomorrow Blue */ | ||
50 | .hljs-title, | ||
51 | .hljs-section { | ||
52 | color: #bbdaff; | ||
53 | } | ||
54 | |||
55 | /* Tomorrow Purple */ | ||
56 | .hljs-keyword, | ||
57 | .hljs-selector-tag { | ||
58 | color: #ebbbff; | ||
59 | } | ||
60 | |||
61 | .hljs { | ||
62 | display: block; | ||
63 | overflow-x: auto; | ||
64 | background: #002451; | ||
65 | color: white; | ||
66 | padding: 0.5em; | ||
67 | } | ||
68 | |||
69 | .hljs-emphasis { | ||
70 | font-style: italic; | ||
71 | } | ||
72 | |||
73 | .hljs-strong { | ||
74 | font-weight: bold; | ||
75 | } |
1 | /* Tomorrow Night Bright Theme */ | ||
2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ | ||
3 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
4 | |||
5 | /* Tomorrow Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #969896; | ||
9 | } | ||
10 | |||
11 | /* Tomorrow Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-tag, | ||
15 | .hljs-name, | ||
16 | .hljs-selector-id, | ||
17 | .hljs-selector-class, | ||
18 | .hljs-regexp, | ||
19 | .hljs-deletion { | ||
20 | color: #d54e53; | ||
21 | } | ||
22 | |||
23 | /* Tomorrow Orange */ | ||
24 | .hljs-number, | ||
25 | .hljs-built_in, | ||
26 | .hljs-builtin-name, | ||
27 | .hljs-literal, | ||
28 | .hljs-type, | ||
29 | .hljs-params, | ||
30 | .hljs-meta, | ||
31 | .hljs-link { | ||
32 | color: #e78c45; | ||
33 | } | ||
34 | |||
35 | /* Tomorrow Yellow */ | ||
36 | .hljs-attribute { | ||
37 | color: #e7c547; | ||
38 | } | ||
39 | |||
40 | /* Tomorrow Green */ | ||
41 | .hljs-string, | ||
42 | .hljs-symbol, | ||
43 | .hljs-bullet, | ||
44 | .hljs-addition { | ||
45 | color: #b9ca4a; | ||
46 | } | ||
47 | |||
48 | /* Tomorrow Blue */ | ||
49 | .hljs-title, | ||
50 | .hljs-section { | ||
51 | color: #7aa6da; | ||
52 | } | ||
53 | |||
54 | /* Tomorrow Purple */ | ||
55 | .hljs-keyword, | ||
56 | .hljs-selector-tag { | ||
57 | color: #c397d8; | ||
58 | } | ||
59 | |||
60 | .hljs { | ||
61 | display: block; | ||
62 | overflow-x: auto; | ||
63 | background: black; | ||
64 | color: #eaeaea; | ||
65 | padding: 0.5em; | ||
66 | } | ||
67 | |||
68 | .hljs-emphasis { | ||
69 | font-style: italic; | ||
70 | } | ||
71 | |||
72 | .hljs-strong { | ||
73 | font-weight: bold; | ||
74 | } |
1 | /* Tomorrow Night Eighties Theme */ | ||
2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ | ||
3 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
4 | |||
5 | /* Tomorrow Comment */ | ||
6 | .hljs-comment, | ||
7 | .hljs-quote { | ||
8 | color: #999999; | ||
9 | } | ||
10 | |||
11 | /* Tomorrow Red */ | ||
12 | .hljs-variable, | ||
13 | .hljs-template-variable, | ||
14 | .hljs-tag, | ||
15 | .hljs-name, | ||
16 | .hljs-selector-id, | ||
17 | .hljs-selector-class, | ||
18 | .hljs-regexp, | ||
19 | .hljs-deletion { | ||
20 | color: #f2777a; | ||
21 | } | ||
22 | |||
23 | /* Tomorrow Orange */ | ||
24 | .hljs-number, | ||
25 | .hljs-built_in, | ||
26 | .hljs-builtin-name, | ||
27 | .hljs-literal, | ||
28 | .hljs-type, | ||
29 | .hljs-params, | ||
30 | .hljs-meta, | ||
31 | .hljs-link { | ||
32 | color: #f99157; | ||
33 | } | ||
34 | |||
35 | /* Tomorrow Yellow */ | ||
36 | .hljs-attribute { | ||
37 | color: #ffcc66; | ||
38 | } | ||
39 | |||
40 | /* Tomorrow Green */ | ||
41 | .hljs-string, | ||
42 | .hljs-symbol, | ||
43 | .hljs-bullet, | ||
44 | .hljs-addition { | ||
45 | color: #99cc99; | ||
46 | } | ||
47 | |||
48 | /* Tomorrow Blue */ | ||
49 | .hljs-title, | ||
50 | .hljs-section { | ||
51 | color: #6699cc; | ||
52 | } | ||
53 | |||
54 | /* Tomorrow Purple */ | ||
55 | .hljs-keyword, | ||
56 | .hljs-selector-tag { | ||
57 | color: #cc99cc; | ||
58 | } | ||
59 | |||
60 | .hljs { | ||
61 | display: block; | ||
62 | overflow-x: auto; | ||
63 | background: #2d2d2d; | ||
64 | color: #cccccc; | ||
65 | padding: 0.5em; | ||
66 | } | ||
67 | |||
68 | .hljs-emphasis { | ||
69 | font-style: italic; | ||
70 | } | ||
71 | |||
72 | .hljs-strong { | ||
73 | font-weight: bold; | ||
74 | } |
1 | /* Tomorrow Night Theme */ | ||
2 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
3 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ | ||
4 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
5 | |||
6 | /* Tomorrow Comment */ | ||
7 | .hljs-comment, | ||
8 | .hljs-quote { | ||
9 | color: #969896; | ||
10 | } | ||
11 | |||
12 | /* Tomorrow Red */ | ||
13 | .hljs-variable, | ||
14 | .hljs-template-variable, | ||
15 | .hljs-tag, | ||
16 | .hljs-name, | ||
17 | .hljs-selector-id, | ||
18 | .hljs-selector-class, | ||
19 | .hljs-regexp, | ||
20 | .hljs-deletion { | ||
21 | color: #cc6666; | ||
22 | } | ||
23 | |||
24 | /* Tomorrow Orange */ | ||
25 | .hljs-number, | ||
26 | .hljs-built_in, | ||
27 | .hljs-builtin-name, | ||
28 | .hljs-literal, | ||
29 | .hljs-type, | ||
30 | .hljs-params, | ||
31 | .hljs-meta, | ||
32 | .hljs-link { | ||
33 | color: #de935f; | ||
34 | } | ||
35 | |||
36 | /* Tomorrow Yellow */ | ||
37 | .hljs-attribute { | ||
38 | color: #f0c674; | ||
39 | } | ||
40 | |||
41 | /* Tomorrow Green */ | ||
42 | .hljs-string, | ||
43 | .hljs-symbol, | ||
44 | .hljs-bullet, | ||
45 | .hljs-addition { | ||
46 | color: #b5bd68; | ||
47 | } | ||
48 | |||
49 | /* Tomorrow Blue */ | ||
50 | .hljs-title, | ||
51 | .hljs-section { | ||
52 | color: #81a2be; | ||
53 | } | ||
54 | |||
55 | /* Tomorrow Purple */ | ||
56 | .hljs-keyword, | ||
57 | .hljs-selector-tag { | ||
58 | color: #b294bb; | ||
59 | } | ||
60 | |||
61 | .hljs { | ||
62 | display: block; | ||
63 | overflow-x: auto; | ||
64 | background: #1d1f21; | ||
65 | color: #c5c8c6; | ||
66 | padding: 0.5em; | ||
67 | } | ||
68 | |||
69 | .hljs-emphasis { | ||
70 | font-style: italic; | ||
71 | } | ||
72 | |||
73 | .hljs-strong { | ||
74 | font-weight: bold; | ||
75 | } |
static/libs/highlight/styles/tomorrow.css
0 → 100644
1 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
2 | |||
3 | /* Tomorrow Comment */ | ||
4 | .hljs-comment, | ||
5 | .hljs-quote { | ||
6 | color: #8e908c; | ||
7 | } | ||
8 | |||
9 | /* Tomorrow Red */ | ||
10 | .hljs-variable, | ||
11 | .hljs-template-variable, | ||
12 | .hljs-tag, | ||
13 | .hljs-name, | ||
14 | .hljs-selector-id, | ||
15 | .hljs-selector-class, | ||
16 | .hljs-regexp, | ||
17 | .hljs-deletion { | ||
18 | color: #c82829; | ||
19 | } | ||
20 | |||
21 | /* Tomorrow Orange */ | ||
22 | .hljs-number, | ||
23 | .hljs-built_in, | ||
24 | .hljs-builtin-name, | ||
25 | .hljs-literal, | ||
26 | .hljs-type, | ||
27 | .hljs-params, | ||
28 | .hljs-meta, | ||
29 | .hljs-link { | ||
30 | color: #f5871f; | ||
31 | } | ||
32 | |||
33 | /* Tomorrow Yellow */ | ||
34 | .hljs-attribute { | ||
35 | color: #eab700; | ||
36 | } | ||
37 | |||
38 | /* Tomorrow Green */ | ||
39 | .hljs-string, | ||
40 | .hljs-symbol, | ||
41 | .hljs-bullet, | ||
42 | .hljs-addition { | ||
43 | color: #718c00; | ||
44 | } | ||
45 | |||
46 | /* Tomorrow Blue */ | ||
47 | .hljs-title, | ||
48 | .hljs-section { | ||
49 | color: #4271ae; | ||
50 | } | ||
51 | |||
52 | /* Tomorrow Purple */ | ||
53 | .hljs-keyword, | ||
54 | .hljs-selector-tag { | ||
55 | color: #8959a8; | ||
56 | } | ||
57 | |||
58 | .hljs { | ||
59 | display: block; | ||
60 | overflow-x: auto; | ||
61 | background: white; | ||
62 | color: #4d4d4c; | ||
63 | padding: 0.5em; | ||
64 | } | ||
65 | |||
66 | .hljs-emphasis { | ||
67 | font-style: italic; | ||
68 | } | ||
69 | |||
70 | .hljs-strong { | ||
71 | font-weight: bold; | ||
72 | } |
static/libs/highlight/styles/vs.css
0 → 100644
1 | /* | ||
2 | |||
3 | Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name> | ||
4 | |||
5 | */ | ||
6 | .hljs { | ||
7 | display: block; | ||
8 | overflow-x: auto; | ||
9 | padding: 0.5em; | ||
10 | background: white; | ||
11 | color: black; | ||
12 | } | ||
13 | |||
14 | .hljs-comment, | ||
15 | .hljs-quote, | ||
16 | .hljs-variable { | ||
17 | color: #008000; | ||
18 | } | ||
19 | |||
20 | .hljs-keyword, | ||
21 | .hljs-selector-tag, | ||
22 | .hljs-built_in, | ||
23 | .hljs-name, | ||
24 | .hljs-tag { | ||
25 | color: #00f; | ||
26 | } | ||
27 | |||
28 | .hljs-string, | ||
29 | .hljs-title, | ||
30 | .hljs-section, | ||
31 | .hljs-attribute, | ||
32 | .hljs-literal, | ||
33 | .hljs-template-tag, | ||
34 | .hljs-template-variable, | ||
35 | .hljs-type, | ||
36 | .hljs-addition { | ||
37 | color: #a31515; | ||
38 | } | ||
39 | |||
40 | .hljs-deletion, | ||
41 | .hljs-selector-attr, | ||
42 | .hljs-selector-pseudo, | ||
43 | .hljs-meta { | ||
44 | color: #2b91af; | ||
45 | } | ||
46 | |||
47 | .hljs-doctag { | ||
48 | color: #808080; | ||
49 | } | ||
50 | |||
51 | .hljs-attr { | ||
52 | color: #f00; | ||
53 | } | ||
54 | |||
55 | .hljs-symbol, | ||
56 | .hljs-bullet, | ||
57 | .hljs-link { | ||
58 | color: #00b0e8; | ||
59 | } | ||
60 | |||
61 | |||
62 | .hljs-emphasis { | ||
63 | font-style: italic; | ||
64 | } | ||
65 | |||
66 | .hljs-strong { | ||
67 | font-weight: bold; | ||
68 | } |
static/libs/highlight/styles/xcode.css
0 → 100644
1 | /* | ||
2 | |||
3 | XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com> | ||
4 | |||
5 | */ | ||
6 | |||
7 | .hljs { | ||
8 | display: block; | ||
9 | overflow-x: auto; | ||
10 | padding: 0.5em; | ||
11 | background: #fff; | ||
12 | color: black; | ||
13 | } | ||
14 | |||
15 | .hljs-comment, | ||
16 | .hljs-quote { | ||
17 | color: #006a00; | ||
18 | } | ||
19 | |||
20 | .hljs-keyword, | ||
21 | .hljs-selector-tag, | ||
22 | .hljs-literal { | ||
23 | color: #aa0d91; | ||
24 | } | ||
25 | |||
26 | .hljs-name { | ||
27 | color: #008; | ||
28 | } | ||
29 | |||
30 | .hljs-variable, | ||
31 | .hljs-template-variable { | ||
32 | color: #660; | ||
33 | } | ||
34 | |||
35 | .hljs-string { | ||
36 | color: #c41a16; | ||
37 | } | ||
38 | |||
39 | .hljs-regexp, | ||
40 | .hljs-link { | ||
41 | color: #080; | ||
42 | } | ||
43 | |||
44 | .hljs-title, | ||
45 | .hljs-tag, | ||
46 | .hljs-symbol, | ||
47 | .hljs-bullet, | ||
48 | .hljs-number, | ||
49 | .hljs-meta { | ||
50 | color: #1c00cf; | ||
51 | } | ||
52 | |||
53 | .hljs-section, | ||
54 | .hljs-class .hljs-title, | ||
55 | .hljs-type, | ||
56 | .hljs-attr, | ||
57 | .hljs-built_in, | ||
58 | .hljs-builtin-name, | ||
59 | .hljs-params { | ||
60 | color: #5c2699; | ||
61 | } | ||
62 | |||
63 | .hljs-attribute, | ||
64 | .hljs-subst { | ||
65 | color: #000; | ||
66 | } | ||
67 | |||
68 | .hljs-formula { | ||
69 | background-color: #eee; | ||
70 | font-style: italic; | ||
71 | } | ||
72 | |||
73 | .hljs-addition { | ||
74 | background-color: #baeeba; | ||
75 | } | ||
76 | |||
77 | .hljs-deletion { | ||
78 | background-color: #ffc8bd; | ||
79 | } | ||
80 | |||
81 | .hljs-selector-id, | ||
82 | .hljs-selector-class { | ||
83 | color: #9b703f; | ||
84 | } | ||
85 | |||
86 | .hljs-doctag, | ||
87 | .hljs-strong { | ||
88 | font-weight: bold; | ||
89 | } | ||
90 | |||
91 | .hljs-emphasis { | ||
92 | font-style: italic; | ||
93 | } |
static/libs/highlight/styles/xt256.css
0 → 100644
1 | |||
2 | /* | ||
3 | xt256.css | ||
4 | |||
5 | Contact: initbar [at] protonmail [dot] ch | ||
6 | : github.com/initbar | ||
7 | */ | ||
8 | |||
9 | .hljs { | ||
10 | display: block; | ||
11 | overflow-x: auto; | ||
12 | color: #eaeaea; | ||
13 | background: #000; | ||
14 | padding: 0.5; | ||
15 | } | ||
16 | |||
17 | .hljs-subst { | ||
18 | color: #eaeaea; | ||
19 | } | ||
20 | |||
21 | .hljs-emphasis { | ||
22 | font-style: italic; | ||
23 | } | ||
24 | |||
25 | .hljs-strong { | ||
26 | font-weight: bold; | ||
27 | } | ||
28 | |||
29 | .hljs-builtin-name, | ||
30 | .hljs-type { | ||
31 | color: #eaeaea; | ||
32 | } | ||
33 | |||
34 | .hljs-params { | ||
35 | color: #da0000; | ||
36 | } | ||
37 | |||
38 | .hljs-literal, | ||
39 | .hljs-number, | ||
40 | .hljs-name { | ||
41 | color: #ff0000; | ||
42 | font-weight: bolder; | ||
43 | } | ||
44 | |||
45 | .hljs-comment { | ||
46 | color: #969896; | ||
47 | } | ||
48 | |||
49 | .hljs-selector-id, | ||
50 | .hljs-quote { | ||
51 | color: #00ffff; | ||
52 | } | ||
53 | |||
54 | .hljs-template-variable, | ||
55 | .hljs-variable, | ||
56 | .hljs-title { | ||
57 | color: #00ffff; | ||
58 | font-weight: bold; | ||
59 | } | ||
60 | |||
61 | .hljs-selector-class, | ||
62 | .hljs-keyword, | ||
63 | .hljs-symbol { | ||
64 | color: #fff000; | ||
65 | } | ||
66 | |||
67 | .hljs-string, | ||
68 | .hljs-bullet { | ||
69 | color: #00ff00; | ||
70 | } | ||
71 | |||
72 | .hljs-tag, | ||
73 | .hljs-section { | ||
74 | color: #000fff; | ||
75 | } | ||
76 | |||
77 | .hljs-selector-tag { | ||
78 | color: #000fff; | ||
79 | font-weight: bold; | ||
80 | } | ||
81 | |||
82 | .hljs-attribute, | ||
83 | .hljs-built_in, | ||
84 | .hljs-regexp, | ||
85 | .hljs-link { | ||
86 | color: #ff00ff; | ||
87 | } | ||
88 | |||
89 | .hljs-meta { | ||
90 | color: #fff; | ||
91 | font-weight: bolder; | ||
92 | } |
static/libs/highlight/styles/zenburn.css
0 → 100644
1 | /* | ||
2 | |||
3 | Zenburn style from voldmar.ru (c) Vladimir Epifanov <voldmar@voldmar.ru> | ||
4 | based on dark.css by Ivan Sagalaev | ||
5 | |||
6 | */ | ||
7 | |||
8 | .hljs { | ||
9 | display: block; | ||
10 | overflow-x: auto; | ||
11 | padding: 0.5em; | ||
12 | background: #3f3f3f; | ||
13 | color: #dcdcdc; | ||
14 | } | ||
15 | |||
16 | .hljs-keyword, | ||
17 | .hljs-selector-tag, | ||
18 | .hljs-tag { | ||
19 | color: #e3ceab; | ||
20 | } | ||
21 | |||
22 | .hljs-template-tag { | ||
23 | color: #dcdcdc; | ||
24 | } | ||
25 | |||
26 | .hljs-number { | ||
27 | color: #8cd0d3; | ||
28 | } | ||
29 | |||
30 | .hljs-variable, | ||
31 | .hljs-template-variable, | ||
32 | .hljs-attribute { | ||
33 | color: #efdcbc; | ||
34 | } | ||
35 | |||
36 | .hljs-literal { | ||
37 | color: #efefaf; | ||
38 | } | ||
39 | |||
40 | .hljs-subst { | ||
41 | color: #8f8f8f; | ||
42 | } | ||
43 | |||
44 | .hljs-title, | ||
45 | .hljs-name, | ||
46 | .hljs-selector-id, | ||
47 | .hljs-selector-class, | ||
48 | .hljs-section, | ||
49 | .hljs-type { | ||
50 | color: #efef8f; | ||
51 | } | ||
52 | |||
53 | .hljs-symbol, | ||
54 | .hljs-bullet, | ||
55 | .hljs-link { | ||
56 | color: #dca3a3; | ||
57 | } | ||
58 | |||
59 | .hljs-deletion, | ||
60 | .hljs-string, | ||
61 | .hljs-built_in, | ||
62 | .hljs-builtin-name { | ||
63 | color: #cc9393; | ||
64 | } | ||
65 | |||
66 | .hljs-addition, | ||
67 | .hljs-comment, | ||
68 | .hljs-quote, | ||
69 | .hljs-meta { | ||
70 | color: #7f9f7f; | ||
71 | } | ||
72 | |||
73 | |||
74 | .hljs-emphasis { | ||
75 | font-style: italic; | ||
76 | } | ||
77 | |||
78 | .hljs-strong { | ||
79 | font-weight: bold; | ||
80 | } |
static/libs/jquery/jquery.min.js
0 → 100644
1 | /*! jQuery v3.1.1 | (c) jQuery Foundation | jquery.org/license */ | ||
2 | !function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.1.1",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:c.sort,splice:c.splice},r.extend=r.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||r.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(r.isPlainObject(d)||(e=r.isArray(d)))?(e?(e=!1,f=c&&r.isArray(c)?c:[]):f=c&&r.isPlainObject(c)?c:{},g[b]=r.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},r.extend({expando:"jQuery"+(q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===r.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=r.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))},isPlainObject:function(a){var b,c;return!(!a||"[object Object]"!==k.call(a))&&(!(b=e(a))||(c=l.call(b,"constructor")&&b.constructor,"function"==typeof c&&m.call(c)===n))},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?j[k.call(a)]||"object":typeof a},globalEval:function(a){p(a)},camelCase:function(a){return a.replace(t,"ms-").replace(u,v)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(w(a)){for(c=a.length;d<c;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(s,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(w(Object(a))?r.merge(c,"string"==typeof a?[a]:a):h.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:i.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,f=0,h=[];if(w(a))for(d=a.length;f<d;f++)e=b(a[f],f,c),null!=e&&h.push(e);else for(f in a)e=b(a[f],f,c),null!=e&&h.push(e);return g.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;if("string"==typeof b&&(c=a[b],b=a,a=c),r.isFunction(a))return d=f.call(arguments,2),e=function(){return a.apply(b||this,d.concat(f.call(arguments)))},e.guid=a.guid=a.guid||r.guid++,e},now:Date.now,support:o}),"function"==typeof Symbol&&(r.fn[Symbol.iterator]=c[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){j["[object "+b+"]"]=b.toLowerCase()});function w(a){var b=!!a&&"length"in a&&a.length,c=r.type(a);return"function"!==c&&!r.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",M="\\["+K+"*("+L+")(?:"+K+"*([*^$|!~]?=)"+K+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+K+"*\\]",N=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",O=new RegExp(K+"+","g"),P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&("form"in a||"label"in a)},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:"label"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode("id"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode("id"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:pa(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:pa(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function ra(){}ra.prototype=d.filters=d.pseudos,d.setFilters=new ra,g=ga.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=Q.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function sa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function ta(a,b,c){var d=b.dir,e=b.next,f=e||d,g=c&&"parentNode"===f,h=x++;return b.first?function(b,c,e){while(b=b[d])if(1===b.nodeType||g)return a(b,c,e);return!1}:function(b,c,i){var j,k,l,m=[w,h];if(i){while(b=b[d])if((1===b.nodeType||g)&&a(b,c,i))return!0}else while(b=b[d])if(1===b.nodeType||g)if(l=b[u]||(b[u]={}),k=l[b.uniqueID]||(l[b.uniqueID]={}),e&&e===b.nodeName.toLowerCase())b=b[d]||b;else{if((j=k[f])&&j[0]===w&&j[1]===h)return m[2]=j[2];if(k[f]=m,m[2]=a(b,c,i))return!0}return!1}}function ua(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d<e;d++)ga(a,b[d],c);return c}function wa(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function xa(a,b,c,d,e,f){return d&&!d[u]&&(d=xa(d)),e&&!e[u]&&(e=xa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||va(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:wa(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=wa(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i<f;i++)if(c=d.relative[a[i].type])m=[ta(ua(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return xa(i>1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i<e&&ya(a.slice(i,e)),e<f&&ya(a=a.slice(e)),e<f&&sa(a))}m.push(c)}return ua(m)}function za(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m="function"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,C=/^.[^:#\[\.,]*$/;function D(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):"string"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):C.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b<d;b++)if(r.contains(e[b],this))return!0}));for(c=this.pushStack([]),b=0;b<d;b++)r.find(a,e[b],c);return d>1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(D(this,a||[],!1))},not:function(a){return this.pushStack(D(this,a||[],!0))},is:function(a){return!!D(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var E,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,G=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||E,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:F.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),B.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};G.prototype=r.fn,E=r(d);var H=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a<c;a++)if(r.contains(this,b[a]))return!0})},closest:function(a,b){var c,d=0,e=this.length,f=[],g="string"!=typeof a&&r(a);if(!A.test(a))for(;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function J(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return J(a,"nextSibling")},prev:function(a){return J(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return a.contentDocument||r.merge([],a.childNodes)}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(I[a]||r.uniqueSort(e),H.test(a)&&e.reverse()),this.pushStack(e)}});var K=/[^\x20\t\r\n\f]+/g;function L(a){var b={};return r.each(a.match(K)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?L(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){r.each(b,function(b,c){r.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==r.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return r.each(arguments,function(a,b){var c;while((c=r.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function M(a){return a}function N(a){throw a}function O(a,b,c){var d;try{a&&r.isFunction(d=a.promise)?d.call(a).done(b).fail(c):a&&r.isFunction(d=a.then)?d.call(a,b,c):b.call(void 0,a)}catch(a){c.call(void 0,a)}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b<f)){if(a=d.apply(h,i),a===c.promise())throw new TypeError("Thenable self-resolution");j=a&&("object"==typeof a||"function"==typeof a)&&a.then,r.isFunction(j)?e?j.call(a,g(f,c,M,e),g(f,c,N,e)):(f++,j.call(a,g(f,c,M,e),g(f,c,N,e),g(f,c,M,c.notifyWith))):(d!==M&&(h=void 0,i=[a]),(e||c.resolveWith)(h,i))}},k=e?j:function(){try{j()}catch(a){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(a,k.stackTrace),b+1>=f&&(d!==N&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:M,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:M)),c[2][3].add(g(0,a,r.isFunction(d)?d:N))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(O(a,g.done(h(c)).resolve,g.reject),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)O(e[c],h(c),g.reject);return g.promise()}});var P=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&P.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var Q=r.Deferred();r.fn.ready=function(a){return Q.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,holdReady:function(a){a?r.readyWait++:r.ready(!0)},ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||Q.resolveWith(d,[r]))}}),r.ready.then=Q.then;function R(){d.removeEventListener("DOMContentLoaded",R), | ||
3 | a.removeEventListener("load",R),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",R),a.addEventListener("load",R));var S=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)S(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},T=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function U(){this.expando=r.expando+U.uid++}U.uid=1,U.prototype={cache:function(a){var b=a[this.expando];return b||(b={},T(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[r.camelCase(b)]=c;else for(d in b)e[r.camelCase(d)]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][r.camelCase(b)]},access:function(a,b,c){return void 0===b||b&&"string"==typeof b&&void 0===c?this.get(a,b):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d=a[this.expando];if(void 0!==d){if(void 0!==b){r.isArray(b)?b=b.map(r.camelCase):(b=r.camelCase(b),b=b in d?[b]:b.match(K)||[]),c=b.length;while(c--)delete d[b[c]]}(void 0===b||r.isEmptyObject(d))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!r.isEmptyObject(b)}};var V=new U,W=new U,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Y=/[A-Z]/g;function Z(a){return"true"===a||"false"!==a&&("null"===a?null:a===+a+""?+a:X.test(a)?JSON.parse(a):a)}function $(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Y,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c=Z(c)}catch(e){}W.set(a,b,c)}else c=void 0;return c}r.extend({hasData:function(a){return W.hasData(a)||V.hasData(a)},data:function(a,b,c){return W.access(a,b,c)},removeData:function(a,b){W.remove(a,b)},_data:function(a,b,c){return V.access(a,b,c)},_removeData:function(a,b){V.remove(a,b)}}),r.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=W.get(f),1===f.nodeType&&!V.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=r.camelCase(d.slice(5)),$(f,d,e[d])));V.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){W.set(this,a)}):S(this,function(b){var c;if(f&&void 0===b){if(c=W.get(f,a),void 0!==c)return c;if(c=$(f,a),void 0!==c)return c}else this.each(function(){W.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){W.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=V.get(a,b),c&&(!d||r.isArray(c)?d=V.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return V.get(a,c)||V.access(a,c,{empty:r.Callbacks("once memory").add(function(){V.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?r.queue(this[0],a):void 0===b?this:this.each(function(){var c=r.queue(this,a,b);r._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&r.dequeue(this,a)})},dequeue:function(a){return this.each(function(){r.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=r.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=V.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var _=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,aa=new RegExp("^(?:([+-])=|)("+_+")([a-z%]*)$","i"),ba=["Top","Right","Bottom","Left"],ca=function(a,b){return a=b||a,"none"===a.style.display||""===a.style.display&&r.contains(a.ownerDocument,a)&&"none"===r.css(a,"display")},da=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};function ea(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return r.css(a,b,"")},i=h(),j=c&&c[3]||(r.cssNumber[b]?"":"px"),k=(r.cssNumber[b]||"px"!==j&&+i)&&aa.exec(r.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,r.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var fa={};function ga(a){var b,c=a.ownerDocument,d=a.nodeName,e=fa[d];return e?e:(b=c.body.appendChild(c.createElement(d)),e=r.css(b,"display"),b.parentNode.removeChild(b),"none"===e&&(e="block"),fa[d]=e,e)}function ha(a,b){for(var c,d,e=[],f=0,g=a.length;f<g;f++)d=a[f],d.style&&(c=d.style.display,b?("none"===c&&(e[f]=V.get(d,"display")||null,e[f]||(d.style.display="")),""===d.style.display&&ca(d)&&(e[f]=ga(d))):"none"!==c&&(e[f]="none",V.set(d,"display",c)));for(f=0;f<g;f++)null!=e[f]&&(a[f].style.display=e[f]);return a}r.fn.extend({show:function(){return ha(this,!0)},hide:function(){return ha(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){ca(this)?r(this).show():r(this).hide()})}});var ia=/^(?:checkbox|radio)$/i,ja=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ka=/^$|\/(?:java|ecma)script/i,la={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};la.optgroup=la.option,la.tbody=la.tfoot=la.colgroup=la.caption=la.thead,la.th=la.td;function ma(a,b){var c;return c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[],void 0===b||b&&r.nodeName(a,b)?r.merge([a],c):c}function na(a,b){for(var c=0,d=a.length;c<d;c++)V.set(a[c],"globalEval",!b||V.get(b[c],"globalEval"))}var oa=/<|&#?\w+;/;function pa(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],n=0,o=a.length;n<o;n++)if(f=a[n],f||0===f)if("object"===r.type(f))r.merge(m,f.nodeType?[f]:f);else if(oa.test(f)){g=g||l.appendChild(b.createElement("div")),h=(ja.exec(f)||["",""])[1].toLowerCase(),i=la[h]||la._default,g.innerHTML=i[1]+r.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;r.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",n=0;while(f=m[n++])if(d&&r.inArray(f,d)>-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=ma(l.appendChild(f),"script"),j&&na(g),c){k=0;while(f=g[k++])ka.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var qa=d.documentElement,ra=/^key/,sa=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ta=/^([^.]*)(?:\.(.+)|)/;function ua(){return!0}function va(){return!1}function wa(){try{return d.activeElement}catch(a){}}function xa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)xa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=va;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(qa,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(K)||[""],j=b.length;while(j--)h=ta.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.hasData(a)&&V.get(a);if(q&&(i=q.events)){b=(b||"").match(K)||[""],j=b.length;while(j--)if(h=ta.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&V.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(V.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c<arguments.length;c++)i[c]=arguments[c];if(b.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,b)!==!1){h=r.event.handlers.call(this,b,j),c=0;while((f=h[c++])&&!b.isPropagationStopped()){b.currentTarget=f.elem,d=0;while((g=f.handlers[d++])&&!b.isImmediatePropagationStopped())b.rnamespace&&!b.rnamespace.test(g.namespace)||(b.handleObj=g,b.data=g.data,e=((r.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(b.result=e)===!1&&(b.preventDefault(),b.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,b),b.result}},handlers:function(a,b){var c,d,e,f,g,h=[],i=b.delegateCount,j=a.target;if(i&&j.nodeType&&!("click"===a.type&&a.button>=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&("click"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c<i;c++)d=b[c],e=d.selector+" ",void 0===g[e]&&(g[e]=d.needsContext?r(e,this).index(j)>-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i<b.length&&h.push({elem:j,handlers:b.slice(i)}),h},addProp:function(a,b){Object.defineProperty(r.Event.prototype,a,{enumerable:!0,configurable:!0,get:r.isFunction(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(a){return a[r.expando]?a:new r.Event(a)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==wa()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===wa()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&r.nodeName(this,"input"))return this.click(),!1},_default:function(a){return r.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},r.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},r.Event=function(a,b){return this instanceof r.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ua:va,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,b&&r.extend(this,b),this.timeStamp=a&&a.timeStamp||r.now(),void(this[r.expando]=!0)):new r.Event(a,b)},r.Event.prototype={constructor:r.Event,isDefaultPrevented:va,isPropagationStopped:va,isImmediatePropagationStopped:va,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ua,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ua,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ua,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},r.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var b=a.button;return null==a.which&&ra.test(a.type)?null!=a.charCode?a.charCode:a.keyCode:!a.which&&void 0!==b&&sa.test(a.type)?1&b?1:2&b?3:4&b?2:0:a.which}},r.event.addProp),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){r.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||r.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),r.fn.extend({on:function(a,b,c,d){return xa(this,a,b,c,d)},one:function(a,b,c,d){return xa(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,r(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=va),this.each(function(){r.event.remove(this,a,c,b)})}});var ya=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,za=/<script|<style|<link/i,Aa=/checked\s*(?:[^=]|=\s*.checked.)/i,Ba=/^true\/(.*)/,Ca=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Da(a,b){return r.nodeName(a,"table")&&r.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a:a}function Ea(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Fa(a){var b=Ba.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ga(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(V.hasData(a)&&(f=V.access(a),g=V.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c<d;c++)r.event.add(b,e,j[e][c])}W.hasData(a)&&(h=W.access(a),i=r.extend({},h),W.set(b,i))}}function Ha(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ia.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function Ia(a,b,c,d){b=g.apply([],b);var e,f,h,i,j,k,l=0,m=a.length,n=m-1,q=b[0],s=r.isFunction(q);if(s||m>1&&"string"==typeof q&&!o.checkClone&&Aa.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ia(f,b,c,d)});if(m&&(e=pa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(ma(e,"script"),Ea),i=h.length;l<m;l++)j=e,l!==n&&(j=r.clone(j,!0,!0),i&&r.merge(h,ma(j,"script"))),c.call(a[l],j,l);if(i)for(k=h[h.length-1].ownerDocument,r.map(h,Fa),l=0;l<i;l++)j=h[l],ka.test(j.type||"")&&!V.access(j,"globalEval")&&r.contains(k,j)&&(j.src?r._evalUrl&&r._evalUrl(j.src):p(j.textContent.replace(Ca,""),k))}return a}function Ja(a,b,c){for(var d,e=b?r.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||r.cleanData(ma(d)),d.parentNode&&(c&&r.contains(d.ownerDocument,d)&&na(ma(d,"script")),d.parentNode.removeChild(d));return a}r.extend({htmlPrefilter:function(a){return a.replace(ya,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=ma(h),f=ma(a),d=0,e=f.length;d<e;d++)Ha(f[d],g[d]);if(b)if(c)for(f=f||ma(a),g=g||ma(h),d=0,e=f.length;d<e;d++)Ga(f[d],g[d]);else Ga(a,h);return g=ma(h,"script"),g.length>0&&na(g,!i&&ma(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(T(c)){if(b=c[V.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[V.expando]=void 0}c[W.expando]&&(c[W.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ja(this,a,!0)},remove:function(a){return Ja(this,a)},text:function(a){return S(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ia(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Da(this,a);b.appendChild(a)}})},prepend:function(){return Ia(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Da(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ia(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ia(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(ma(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return S(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!za.test(a)&&!la[(ja.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(r.cleanData(ma(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ia(this,arguments,function(b){var c=this.parentNode;r.inArray(this,a)<0&&(r.cleanData(ma(this)),c&&c.replaceChild(b,this))},a)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){r.fn[a]=function(a){for(var c,d=[],e=r(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),r(e[g])[b](c),h.apply(d,c.get());return this.pushStack(d)}});var Ka=/^margin/,La=new RegExp("^("+_+")(?!px)[a-z%]+$","i"),Ma=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)};!function(){function b(){if(i){i.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i.innerHTML="",qa.appendChild(h);var b=a.getComputedStyle(i);c="1%"!==b.top,g="2px"===b.marginLeft,e="4px"===b.width,i.style.marginRight="50%",f="4px"===b.marginRight,qa.removeChild(h),i=null}}var c,e,f,g,h=d.createElement("div"),i=d.createElement("div");i.style&&(i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===i.style.backgroundClip,h.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",h.appendChild(i),r.extend(o,{pixelPosition:function(){return b(),c},boxSizingReliable:function(){return b(),e},pixelMarginRight:function(){return b(),f},reliableMarginLeft:function(){return b(),g}}))}();function Na(a,b,c){var d,e,f,g,h=a.style;return c=c||Ma(a),c&&(g=c.getPropertyValue(b)||c[b],""!==g||r.contains(a.ownerDocument,a)||(g=r.style(a,b)),!o.pixelMarginRight()&&La.test(g)&&Ka.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function Oa(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Pa=/^(none|table(?!-c[ea]).+)/,Qa={position:"absolute",visibility:"hidden",display:"block"},Ra={letterSpacing:"0",fontWeight:"400"},Sa=["Webkit","Moz","ms"],Ta=d.createElement("div").style;function Ua(a){if(a in Ta)return a;var b=a[0].toUpperCase()+a.slice(1),c=Sa.length;while(c--)if(a=Sa[c]+b,a in Ta)return a}function Va(a,b,c){var d=aa.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Wa(a,b,c,d,e){var f,g=0;for(f=c===(d?"border":"content")?4:"width"===b?1:0;f<4;f+=2)"margin"===c&&(g+=r.css(a,c+ba[f],!0,e)),d?("content"===c&&(g-=r.css(a,"padding"+ba[f],!0,e)),"margin"!==c&&(g-=r.css(a,"border"+ba[f]+"Width",!0,e))):(g+=r.css(a,"padding"+ba[f],!0,e),"padding"!==c&&(g+=r.css(a,"border"+ba[f]+"Width",!0,e)));return g}function Xa(a,b,c){var d,e=!0,f=Ma(a),g="border-box"===r.css(a,"boxSizing",!1,f);if(a.getClientRects().length&&(d=a.getBoundingClientRect()[b]),d<=0||null==d){if(d=Na(a,b,f),(d<0||null==d)&&(d=a.style[b]),La.test(d))return d;e=g&&(o.boxSizingReliable()||d===a.style[b]),d=parseFloat(d)||0}return d+Wa(a,b,c||(g?"border":"content"),e,f)+"px"}r.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Na(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=r.camelCase(b),i=a.style;return b=r.cssProps[h]||(r.cssProps[h]=Ua(h)||h),g=r.cssHooks[b]||r.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=aa.exec(c))&&e[1]&&(c=ea(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(r.cssNumber[h]?"":"px")),o.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=r.camelCase(b);return b=r.cssProps[h]||(r.cssProps[h]=Ua(h)||h),g=r.cssHooks[b]||r.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Na(a,b,d)),"normal"===e&&b in Ra&&(e=Ra[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),r.each(["height","width"],function(a,b){r.cssHooks[b]={get:function(a,c,d){if(c)return!Pa.test(r.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?Xa(a,b,d):da(a,Qa,function(){return Xa(a,b,d)})},set:function(a,c,d){var e,f=d&&Ma(a),g=d&&Wa(a,b,d,"border-box"===r.css(a,"boxSizing",!1,f),f);return g&&(e=aa.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=r.css(a,b)),Va(a,c,g)}}}),r.cssHooks.marginLeft=Oa(o.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Na(a,"marginLeft"))||a.getBoundingClientRect().left-da(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(a,b){r.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+ba[d]+b]=f[d]||f[d-2]||f[0];return e}},Ka.test(a)||(r.cssHooks[a+b].set=Va)}),r.fn.extend({css:function(a,b){return S(this,function(a,b,c){var d,e,f={},g=0;if(r.isArray(b)){for(d=Ma(a),e=b.length;g<e;g++)f[b[g]]=r.css(a,b[g],!1,d);return f}return void 0!==c?r.style(a,b,c):r.css(a,b)},a,b,arguments.length>1)}});function Ya(a,b,c,d,e){return new Ya.prototype.init(a,b,c,d,e)}r.Tween=Ya,Ya.prototype={constructor:Ya,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=Ya.propHooks[this.prop];return a&&a.get?a.get(this):Ya.propHooks._default.get(this)},run:function(a){var b,c=Ya.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Ya.propHooks._default.set(this),this}},Ya.prototype.init.prototype=Ya.prototype,Ya.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},Ya.propHooks.scrollTop=Ya.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=Ya.prototype.init,r.fx.step={};var Za,$a,_a=/^(?:toggle|show|hide)$/,ab=/queueHooks$/;function bb(){$a&&(a.requestAnimationFrame(bb),r.fx.tick())}function cb(){return a.setTimeout(function(){Za=void 0}),Za=r.now()}function db(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=ba[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function eb(a,b,c){for(var d,e=(hb.tweeners[b]||[]).concat(hb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function fb(a,b,c){var d,e,f,g,h,i,j,k,l="width"in b||"height"in b,m=this,n={},o=a.style,p=a.nodeType&&ca(a),q=V.get(a,"fxshow");c.queue||(g=r._queueHooks(a,"fx"),null==g.unqueued&&(g.unqueued=0,h=g.empty.fire,g.empty.fire=function(){g.unqueued||h()}),g.unqueued++,m.always(function(){m.always(function(){g.unqueued--,r.queue(a,"fx").length||g.empty.fire()})}));for(d in b)if(e=b[d],_a.test(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}n[d]=q&&q[d]||r.style(a,d)}if(i=!r.isEmptyObject(b),i||!r.isEmptyObject(n)){l&&1===a.nodeType&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=q&&q.display,null==j&&(j=V.get(a,"display")),k=r.css(a,"display"),"none"===k&&(j?k=j:(ha([a],!0),j=a.style.display||j,k=r.css(a,"display"),ha([a]))),("inline"===k||"inline-block"===k&&null!=j)&&"none"===r.css(a,"float")&&(i||(m.done(function(){o.display=j}),null==j&&(k=o.display,j="none"===k?"":k)),o.display="inline-block")),c.overflow&&(o.overflow="hidden",m.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]})),i=!1;for(d in n)i||(q?"hidden"in q&&(p=q.hidden):q=V.access(a,"fxshow",{display:j}),f&&(q.hidden=!p),p&&ha([a],!0),m.done(function(){p||ha([a]),V.remove(a,"fxshow");for(d in n)r.style(a,d,n[d])})),i=eb(p?q[d]:0,d,m),d in q||(q[d]=i.start,p&&(i.end=i.start,i.start=0))}}function gb(a,b){var c,d,e,f,g;for(c in a)if(d=r.camelCase(c),e=b[d],f=a[c],r.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=r.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function hb(a,b,c){var d,e,f=0,g=hb.prefilters.length,h=r.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Za||cb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:r.extend({},b),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},c),originalProperties:b,originalOptions:c,startTime:Za||cb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=r.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(gb(k,j.opts.specialEasing);f<g;f++)if(d=hb.prefilters[f].call(j,a,k,j.opts))return r.isFunction(d.stop)&&(r._queueHooks(j.elem,j.opts.queue).stop=r.proxy(d.stop,d)),d;return r.map(k,eb,j),r.isFunction(j.opts.start)&&j.opts.start.call(a,j),r.fx.timer(r.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}r.Animation=r.extend(hb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return ea(c.elem,a,aa.exec(b),c),c}]},tweener:function(a,b){r.isFunction(a)?(b=a,a=["*"]):a=a.match(K);for(var c,d=0,e=a.length;d<e;d++)c=a[d],hb.tweeners[c]=hb.tweeners[c]||[],hb.tweeners[c].unshift(b)},prefilters:[fb],prefilter:function(a,b){b?hb.prefilters.unshift(a):hb.prefilters.push(a)}}),r.speed=function(a,b,c){var e=a&&"object"==typeof a?r.extend({},a):{complete:c||!c&&b||r.isFunction(a)&&a,duration:a,easing:c&&b||b&&!r.isFunction(b)&&b};return r.fx.off||d.hidden?e.duration=0:"number"!=typeof e.duration&&(e.duration in r.fx.speeds?e.duration=r.fx.speeds[e.duration]:e.duration=r.fx.speeds._default),null!=e.queue&&e.queue!==!0||(e.queue="fx"),e.old=e.complete,e.complete=function(){r.isFunction(e.old)&&e.old.call(this),e.queue&&r.dequeue(this,e.queue)},e},r.fn.extend({fadeTo:function(a,b,c,d){return this.filter(ca).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=r.isEmptyObject(a),f=r.speed(b,c,d),g=function(){var b=hb(this,r.extend({},a),f);(e||V.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=r.timers,g=V.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&ab.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||r.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=V.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=r.timers,g=d?d.length:0;for(c.finish=!0,r.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),r.each(["toggle","show","hide"],function(a,b){var c=r.fn[b];r.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(db(b,!0),a,d,e)}}),r.each({slideDown:db("show"),slideUp:db("hide"),slideToggle:db("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){r.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),r.timers=[],r.fx.tick=function(){var a,b=0,c=r.timers;for(Za=r.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||r.fx.stop(),Za=void 0},r.fx.timer=function(a){r.timers.push(a),a()?r.fx.start():r.timers.pop()},r.fx.interval=13,r.fx.start=function(){$a||($a=a.requestAnimationFrame?a.requestAnimationFrame(bb):a.setInterval(r.fx.tick,r.fx.interval))},r.fx.stop=function(){a.cancelAnimationFrame?a.cancelAnimationFrame($a):a.clearInterval($a),$a=null},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(b,c){return b=r.fx?r.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",o.checkOn=""!==a.value,o.optSelected=c.selected,a=d.createElement("input"),a.value="t",a.type="radio",o.radioValue="t"===a.value}();var ib,jb=r.expr.attrHandle;r.fn.extend({attr:function(a,b){return S(this,r.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?ib:void 0)), | ||
4 | void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&r.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(K);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),ib={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=jb[b]||r.find.attr;jb[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=jb[g],jb[g]=e,e=null!=c(a,b,d)?g:null,jb[g]=f),e}});var kb=/^(?:input|select|textarea|button)$/i,lb=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return S(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):kb.test(a.nodeName)||lb.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});function mb(a){var b=a.match(K)||[];return b.join(" ")}function nb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,nb(this)))});if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=nb(c),d=1===c.nodeType&&" "+mb(e)+" "){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=mb(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,nb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=nb(c),d=1===c.nodeType&&" "+mb(e)+" "){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=mb(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,nb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(K)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=nb(this),b&&V.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":V.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+mb(nb(c))+" ").indexOf(b)>-1)return!0;return!1}});var ob=/\r/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":r.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(ob,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:mb(r.text(a))}},select:{get:function(a){var b,c,d,e=a.options,f=a.selectedIndex,g="select-one"===a.type,h=g?null:[],i=g?f+1:e.length;for(d=f<0?i:g?f:0;d<i;d++)if(c=e[d],(c.selected||d===f)&&!c.disabled&&(!c.parentNode.disabled||!r.nodeName(c.parentNode,"optgroup"))){if(b=r(c).val(),g)return b;h.push(b)}return h},set:function(a,b){var c,d,e=a.options,f=r.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=r.inArray(r.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(r.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var pb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!pb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,pb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(V.get(h,"events")||{})[b.type]&&V.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&T(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!T(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=V.access(d,b);e||d.addEventListener(a,c,!0),V.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=V.access(d,b)-1;e?V.access(d,b,e):(d.removeEventListener(a,c,!0),V.remove(d,b))}}});var qb=a.location,rb=r.now(),sb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var tb=/\[\]$/,ub=/\r?\n/g,vb=/^(?:submit|button|image|reset|file)$/i,wb=/^(?:input|select|textarea|keygen)/i;function xb(a,b,c,d){var e;if(r.isArray(b))r.each(b,function(b,e){c||tb.test(a)?d(a,e):xb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)xb(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(r.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)xb(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&wb.test(this.nodeName)&&!vb.test(a)&&(this.checked||!ia.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:r.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(ub,"\r\n")}}):{name:b.name,value:c.replace(ub,"\r\n")}}).get()}});var yb=/%20/g,zb=/#.*$/,Ab=/([?&])_=[^&]*/,Bb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Cb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Db=/^(?:GET|HEAD)$/,Eb=/^\/\//,Fb={},Gb={},Hb="*/".concat("*"),Ib=d.createElement("a");Ib.href=qb.href;function Jb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(K)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Kb(a,b,c,d){var e={},f=a===Gb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Lb(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Mb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Nb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qb.href,type:"GET",isLocal:Cb.test(qb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Lb(Lb(a,r.ajaxSettings),b):Lb(r.ajaxSettings,a)},ajaxPrefilter:Jb(Fb),ajaxTransport:Jb(Gb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Bb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||qb.href)+"").replace(Eb,qb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(K)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Ib.protocol+"//"+Ib.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Kb(Fb,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Db.test(o.type),f=o.url.replace(zb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(yb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(sb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Ab,"$1"),n=(sb.test(f)?"&":"?")+"_="+rb++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Hb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Kb(Gb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Mb(o,y,d)),v=Nb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Ob={0:200,1223:204},Pb=r.ajaxSettings.xhr();o.cors=!!Pb&&"withCredentials"in Pb,o.ajax=Pb=!!Pb,r.ajaxTransport(function(b){var c,d;if(o.cors||Pb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Ob[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Qb=[],Rb=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Qb.pop()||r.expando+"_"+rb++;return this[a]=!0,a}}),r.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Rb.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rb.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=r.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Rb,"$1"+e):b.jsonp!==!1&&(b.url+=(sb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||r.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?r(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Qb.push(e)),g&&r.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),o.createHTMLDocument=function(){var a=d.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}(),r.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&&(c=b,b=!1);var e,f,g;return b||(o.createHTMLDocument?(b=d.implementation.createHTMLDocument(""),e=b.createElement("base"),e.href=d.location.href,b.head.appendChild(e)):b=d),f=B.exec(a),g=!c&&[],f?[b.createElement(f[1])]:(f=pa([a],b,g),g&&g.length&&r(g).remove(),r.merge([],f.childNodes))},r.fn.load=function(a,b,c){var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=mb(a.slice(h)),a=a.slice(0,h)),r.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&r.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?r("<div>").append(r.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){r.fn[b]=function(a){return this.on(b,a)}}),r.expr.pseudos.animated=function(a){return r.grep(r.timers,function(b){return a===b.elem}).length};function Sb(a){return r.isWindow(a)?a:9===a.nodeType&&a.defaultView}r.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=r.css(a,"position"),l=r(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=r.css(a,"top"),i=r.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),r.isFunction(b)&&(b=b.call(a,c,r.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},r.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){r.offset.setOffset(this,a,b)});var b,c,d,e,f=this[0];if(f)return f.getClientRects().length?(d=f.getBoundingClientRect(),d.width||d.height?(e=f.ownerDocument,c=Sb(e),b=e.documentElement,{top:d.top+c.pageYOffset-b.clientTop,left:d.left+c.pageXOffset-b.clientLeft}):d):{top:0,left:0}},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===r.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),r.nodeName(a[0],"html")||(d=a.offset()),d={top:d.top+r.css(a[0],"borderTopWidth",!0),left:d.left+r.css(a[0],"borderLeftWidth",!0)}),{top:b.top-d.top-r.css(c,"marginTop",!0),left:b.left-d.left-r.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===r.css(a,"position"))a=a.offsetParent;return a||qa})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;r.fn[a]=function(d){return S(this,function(a,d,e){var f=Sb(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),r.each(["top","left"],function(a,b){r.cssHooks[b]=Oa(o.pixelPosition,function(a,c){if(c)return c=Na(a,b),La.test(c)?r(a).position()[b]+"px":c})}),r.each({Height:"height",Width:"width"},function(a,b){r.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){r.fn[d]=function(e,f){var g=arguments.length&&(c||"boolean"!=typeof e),h=c||(e===!0||f===!0?"margin":"border");return S(this,function(b,c,e){var f;return r.isWindow(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?r.css(b,c,h):r.style(b,c,e,h)},b,g?e:void 0,g)}})}),r.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),r.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return r});var Tb=a.jQuery,Ub=a.$;return r.noConflict=function(b){return a.$===r&&(a.$=Ub),b&&a.jQuery===r&&(a.jQuery=Tb),r},b||(a.jQuery=a.$=r),r}); |
static/libs/wangeditor/css/wangEditor.css
0 → 100644
1 | /* 编辑器边框颜色 */ | ||
2 | /* 菜单颜色、上边框颜色 */ | ||
3 | /* 菜单选中状态的颜色 */ | ||
4 | /* input focus 时的颜色 */ | ||
5 | /* 按钮颜色 */ | ||
6 | /* tab selected 状态下的颜色 */ | ||
7 | .wangEditor-container { | ||
8 | position: relative; | ||
9 | background-color: #fff; | ||
10 | border: 1px solid #ccc; | ||
11 | z-index: 1; | ||
12 | width: 100%; | ||
13 | } | ||
14 | .wangEditor-container a:focus, | ||
15 | .wangEditor-container button:focus { | ||
16 | outline: none; | ||
17 | } | ||
18 | .wangEditor-container, | ||
19 | .wangEditor-container * { | ||
20 | margin: 0; | ||
21 | padding: 0; | ||
22 | box-sizing: border-box; | ||
23 | line-height: 1; | ||
24 | } | ||
25 | .wangEditor-container img { | ||
26 | border: none; | ||
27 | } | ||
28 | .wangEditor-container .clearfix:after { | ||
29 | content: ''; | ||
30 | display: table; | ||
31 | clear: both; | ||
32 | } | ||
33 | .wangEditor-container .clearfix { | ||
34 | *zoom: 1; | ||
35 | } | ||
36 | .wangEditor-container textarea { | ||
37 | border: none; | ||
38 | } | ||
39 | .wangEditor-container textarea:focus { | ||
40 | outline: none; | ||
41 | } | ||
42 | .wangEditor-container .height-tip { | ||
43 | position: absolute; | ||
44 | width: 3px; | ||
45 | background-color: #ccc; | ||
46 | left: 0; | ||
47 | transition: top .2s; | ||
48 | } | ||
49 | .wangEditor-container .txt-toolbar { | ||
50 | position: absolute; | ||
51 | background-color: #fff; | ||
52 | padding: 3px 5px; | ||
53 | border-top: 2px solid #666; | ||
54 | box-shadow: 1px 3px 3px #999; | ||
55 | border-left: 1px\9 solid\9 #ccc\9; | ||
56 | border-bottom: 1px\9 solid\9 #999\9; | ||
57 | border-right: 1px\9 solid\9 #999\9; | ||
58 | } | ||
59 | .wangEditor-container .txt-toolbar .tip-triangle { | ||
60 | display: block; | ||
61 | position: absolute; | ||
62 | width: 0; | ||
63 | height: 0; | ||
64 | border: 5px solid; | ||
65 | border-color: transparent transparent #666 transparent; | ||
66 | top: -12px; | ||
67 | left: 50%; | ||
68 | margin-left: -5px; | ||
69 | } | ||
70 | .wangEditor-container .txt-toolbar a { | ||
71 | color: #666; | ||
72 | display: inline-block; | ||
73 | margin: 0 3px; | ||
74 | padding: 5px; | ||
75 | text-decoration: none; | ||
76 | border-radius: 3px; | ||
77 | } | ||
78 | .wangEditor-container .txt-toolbar a:hover { | ||
79 | background-color: #f1f1f1; | ||
80 | } | ||
81 | .wangEditor-container .img-drag-point { | ||
82 | display: block; | ||
83 | position: absolute; | ||
84 | width: 12px; | ||
85 | height: 12px; | ||
86 | border-radius: 50%; | ||
87 | cursor: se-resize; | ||
88 | background-color: #666; | ||
89 | margin-left: -6px; | ||
90 | margin-top: -6px; | ||
91 | box-shadow: 1px 1px 5px #999; | ||
92 | } | ||
93 | .wangEditor-container .wangEditor-upload-progress { | ||
94 | position: absolute; | ||
95 | height: 1px; | ||
96 | background: #1e88e5; | ||
97 | width: 0; | ||
98 | display: none; | ||
99 | -webkit-transition: width .5s; | ||
100 | -o-transition: width .5s; | ||
101 | transition: width .5s; | ||
102 | } | ||
103 | .wangEditor-fullscreen { | ||
104 | position: fixed; | ||
105 | top: 0; | ||
106 | bottom: 0; | ||
107 | left: 0; | ||
108 | right: 0; | ||
109 | } | ||
110 | .wangEditor-container .code-textarea { | ||
111 | resize: none; | ||
112 | width: 100%; | ||
113 | font-size: 14px; | ||
114 | line-height: 1.5; | ||
115 | font-family: 'Verdana'; | ||
116 | color: #333; | ||
117 | padding: 0 15px 0 15px; | ||
118 | } | ||
119 | .wangEditor-menu-container { | ||
120 | width: 100%; | ||
121 | border-bottom: 1px solid #f1f1f1; | ||
122 | background-color: #fff; | ||
123 | } | ||
124 | .wangEditor-menu-container a { | ||
125 | text-decoration: none; | ||
126 | } | ||
127 | .wangEditor-menu-container .menu-group { | ||
128 | float: left; | ||
129 | padding: 0 8px; | ||
130 | border-right: 1px solid #f1f1f1; | ||
131 | } | ||
132 | .wangEditor-menu-container .menu-item { | ||
133 | float: left; | ||
134 | position: relative; | ||
135 | text-align: center; | ||
136 | height: 31px; | ||
137 | width: 35px; | ||
138 | } | ||
139 | .wangEditor-menu-container .menu-item:hover { | ||
140 | background-color: #f1f1f1; | ||
141 | } | ||
142 | .wangEditor-menu-container .menu-item a { | ||
143 | display: block; | ||
144 | text-align: center; | ||
145 | color: #666; | ||
146 | width: 100%; | ||
147 | padding: 8px 0; | ||
148 | font-size: 0.9em; | ||
149 | } | ||
150 | .wangEditor-menu-container .menu-item .selected { | ||
151 | color: #1e88e5; | ||
152 | } | ||
153 | .wangEditor-menu-container .menu-item .active { | ||
154 | background-color: #f1f1f1; | ||
155 | } | ||
156 | .wangEditor-menu-container .menu-item .disable { | ||
157 | opacity: 0.5; | ||
158 | filter: alpha(opacity=50); | ||
159 | } | ||
160 | .wangEditor-menu-container .menu-tip { | ||
161 | display: block; | ||
162 | position: absolute; | ||
163 | z-index: 20; | ||
164 | width: 60px; | ||
165 | text-align: center; | ||
166 | background-color: #666; | ||
167 | color: #fff; | ||
168 | padding: 7px 0; | ||
169 | font-size: 12px; | ||
170 | top: 100%; | ||
171 | left: 50%; | ||
172 | margin-left: -30px; | ||
173 | border-radius: 2px; | ||
174 | box-shadow: 1px 1px 5px #999; | ||
175 | display: none; | ||
176 | /*// 小三角 | ||
177 | .tip-triangle { | ||
178 | display: block; | ||
179 | position: absolute; | ||
180 | width: 0; | ||
181 | height: 0; | ||
182 | border:5px solid; | ||
183 | border-color: transparent transparent @fore-color transparent; | ||
184 | top: -10px; | ||
185 | left: 50%; | ||
186 | margin-left: -5px; | ||
187 | }*/ | ||
188 | } | ||
189 | .wangEditor-menu-container .menu-tip-40 { | ||
190 | width: 40px; | ||
191 | margin-left: -20px; | ||
192 | } | ||
193 | .wangEditor-menu-container .menu-tip-50 { | ||
194 | width: 50px; | ||
195 | margin-left: -25px; | ||
196 | } | ||
197 | .wangEditor-menu-shadow { | ||
198 | /*border-bottom-width: 0;*/ | ||
199 | border-bottom: 1px\9 solid\9 #f1f1f1\9; | ||
200 | box-shadow: 0 1px 3px #999; | ||
201 | } | ||
202 | .wangEditor-container .wangEditor-txt { | ||
203 | width: 100%; | ||
204 | text-align: left; | ||
205 | padding: 15px; | ||
206 | padding-top: 0; | ||
207 | margin-top: 5px; | ||
208 | overflow-y: auto; | ||
209 | } | ||
210 | .wangEditor-container .wangEditor-txt p, | ||
211 | .wangEditor-container .wangEditor-txt h1, | ||
212 | .wangEditor-container .wangEditor-txt h2, | ||
213 | .wangEditor-container .wangEditor-txt h3, | ||
214 | .wangEditor-container .wangEditor-txt h4, | ||
215 | .wangEditor-container .wangEditor-txt h5 { | ||
216 | margin: 10px 0; | ||
217 | line-height: 1.8; | ||
218 | } | ||
219 | .wangEditor-container .wangEditor-txt p *, | ||
220 | .wangEditor-container .wangEditor-txt h1 *, | ||
221 | .wangEditor-container .wangEditor-txt h2 *, | ||
222 | .wangEditor-container .wangEditor-txt h3 *, | ||
223 | .wangEditor-container .wangEditor-txt h4 *, | ||
224 | .wangEditor-container .wangEditor-txt h5 * { | ||
225 | line-height: 1.8; | ||
226 | } | ||
227 | .wangEditor-container .wangEditor-txt ul, | ||
228 | .wangEditor-container .wangEditor-txt ol { | ||
229 | padding-left: 20px; | ||
230 | } | ||
231 | .wangEditor-container .wangEditor-txt img { | ||
232 | cursor: pointer; | ||
233 | } | ||
234 | .wangEditor-container .wangEditor-txt img.clicked { | ||
235 | box-shadow: 1px 1px 10px #999; | ||
236 | } | ||
237 | .wangEditor-container .wangEditor-txt table.clicked { | ||
238 | box-shadow: 1px 1px 10px #999; | ||
239 | } | ||
240 | .wangEditor-container .wangEditor-txt pre code { | ||
241 | line-height: 1.5; | ||
242 | } | ||
243 | .wangEditor-container .wangEditor-txt:focus { | ||
244 | outline: none; | ||
245 | } | ||
246 | .wangEditor-container .wangEditor-txt blockquote { | ||
247 | display: block; | ||
248 | border-left: 8px solid #d0e5f2; | ||
249 | padding: 5px 10px; | ||
250 | margin: 10px 0; | ||
251 | line-height: 1.4; | ||
252 | font-size: 100%; | ||
253 | background-color: #f1f1f1; | ||
254 | } | ||
255 | .wangEditor-container .wangEditor-txt table { | ||
256 | border: none; | ||
257 | border-collapse: collapse; | ||
258 | } | ||
259 | .wangEditor-container .wangEditor-txt table td, | ||
260 | .wangEditor-container .wangEditor-txt table th { | ||
261 | border: 1px solid #999; | ||
262 | padding: 3px 5px; | ||
263 | min-width: 50px; | ||
264 | height: 20px; | ||
265 | } | ||
266 | .wangEditor-container .wangEditor-txt pre { | ||
267 | border: 1px solid #ccc; | ||
268 | background-color: #f8f8f8; | ||
269 | padding: 10px; | ||
270 | margin: 5px 0px; | ||
271 | font-size: 0.8em; | ||
272 | border-radius: 3px; | ||
273 | } | ||
274 | .wangEditor-drop-list { | ||
275 | display: none; | ||
276 | position: absolute; | ||
277 | background-color: #fff; | ||
278 | overflow: hidden; | ||
279 | z-index: 10; | ||
280 | transition: height .7s; | ||
281 | border-top: 1px solid #f1f1f1; | ||
282 | box-shadow: 1px 3px 3px #999; | ||
283 | border-left: 1px\9 solid\9 #ccc\9; | ||
284 | border-bottom: 1px\9 solid\9 #999\9; | ||
285 | border-right: 1px\9 solid\9 #999\9; | ||
286 | } | ||
287 | .wangEditor-drop-list a { | ||
288 | text-decoration: none; | ||
289 | display: block; | ||
290 | color: #666; | ||
291 | padding: 3px 5px; | ||
292 | } | ||
293 | .wangEditor-drop-list a:hover { | ||
294 | background-color: #f1f1f1; | ||
295 | } | ||
296 | .wangEditor-drop-panel, | ||
297 | .txt-toolbar { | ||
298 | display: none; | ||
299 | position: absolute; | ||
300 | padding: 10px; | ||
301 | font-size: 14px; | ||
302 | /*border: 1px\9 solid\9 #cccccc\9;*/ | ||
303 | background-color: #fff; | ||
304 | z-index: 10; | ||
305 | border-top: 2px solid #666; | ||
306 | box-shadow: 1px 3px 3px #999; | ||
307 | border-left: 1px\9 solid\9 #ccc\9; | ||
308 | border-bottom: 1px\9 solid\9 #999\9; | ||
309 | border-right: 1px\9 solid\9 #999\9; | ||
310 | } | ||
311 | .wangEditor-drop-panel .tip-triangle, | ||
312 | .txt-toolbar .tip-triangle { | ||
313 | display: block; | ||
314 | position: absolute; | ||
315 | width: 0; | ||
316 | height: 0; | ||
317 | border: 5px solid; | ||
318 | border-color: transparent transparent #666 transparent; | ||
319 | top: -12px; | ||
320 | left: 50%; | ||
321 | margin-left: -5px; | ||
322 | } | ||
323 | .wangEditor-drop-panel a, | ||
324 | .txt-toolbar a { | ||
325 | text-decoration: none; | ||
326 | } | ||
327 | .wangEditor-drop-panel input[type=text], | ||
328 | .txt-toolbar input[type=text] { | ||
329 | border: none; | ||
330 | border-bottom: 1px solid #ccc; | ||
331 | font-size: 14px; | ||
332 | height: 20px; | ||
333 | color: #333; | ||
334 | padding: 3px 0; | ||
335 | } | ||
336 | .wangEditor-drop-panel input[type=text]:focus, | ||
337 | .txt-toolbar input[type=text]:focus { | ||
338 | outline: none; | ||
339 | border-bottom: 2px solid #1e88e5; | ||
340 | } | ||
341 | .wangEditor-drop-panel input[type=text].block, | ||
342 | .txt-toolbar input[type=text].block { | ||
343 | display: block; | ||
344 | width: 100%; | ||
345 | } | ||
346 | .wangEditor-drop-panel textarea, | ||
347 | .txt-toolbar textarea { | ||
348 | border: 1px solid #ccc; | ||
349 | } | ||
350 | .wangEditor-drop-panel textarea:focus, | ||
351 | .txt-toolbar textarea:focus { | ||
352 | outline: none; | ||
353 | border-color: #1e88e5; | ||
354 | } | ||
355 | .wangEditor-drop-panel button, | ||
356 | .txt-toolbar button { | ||
357 | font-size: 14px; | ||
358 | color: #1e88e5; | ||
359 | border: none; | ||
360 | padding: 10px; | ||
361 | background-color: #fff; | ||
362 | cursor: pointer; | ||
363 | border-radius: 3px; | ||
364 | } | ||
365 | .wangEditor-drop-panel button:hover, | ||
366 | .txt-toolbar button:hover { | ||
367 | background-color: #f1f1f1; | ||
368 | } | ||
369 | .wangEditor-drop-panel button:focus, | ||
370 | .txt-toolbar button:focus { | ||
371 | outline: none; | ||
372 | } | ||
373 | .wangEditor-drop-panel button.right, | ||
374 | .txt-toolbar button.right { | ||
375 | float: right; | ||
376 | margin-left: 10px; | ||
377 | } | ||
378 | .wangEditor-drop-panel button.gray, | ||
379 | .txt-toolbar button.gray { | ||
380 | color: #999; | ||
381 | } | ||
382 | .wangEditor-drop-panel button.link, | ||
383 | .txt-toolbar button.link { | ||
384 | padding: 5px 10px; | ||
385 | } | ||
386 | .wangEditor-drop-panel button.link:hover, | ||
387 | .txt-toolbar button.link:hover { | ||
388 | background-color: #fff; | ||
389 | text-decoration: underline; | ||
390 | } | ||
391 | .wangEditor-drop-panel .color-item, | ||
392 | .txt-toolbar .color-item { | ||
393 | display: block; | ||
394 | float: left; | ||
395 | width: 25px; | ||
396 | height: 25px; | ||
397 | text-align: center; | ||
398 | padding: 2px; | ||
399 | border-radius: 2px; | ||
400 | text-decoration: underline; | ||
401 | } | ||
402 | .wangEditor-drop-panel .color-item:hover, | ||
403 | .txt-toolbar .color-item:hover { | ||
404 | background-color: #f1f1f1; | ||
405 | } | ||
406 | .wangEditor-drop-panel .list-menu-item, | ||
407 | .txt-toolbar .list-menu-item { | ||
408 | display: block; | ||
409 | float: left; | ||
410 | color: #333; | ||
411 | padding: 5px 5px; | ||
412 | border-radius: 2px; | ||
413 | } | ||
414 | .wangEditor-drop-panel .list-menu-item:hover, | ||
415 | .txt-toolbar .list-menu-item:hover { | ||
416 | background-color: #f1f1f1; | ||
417 | } | ||
418 | .wangEditor-drop-panel table.choose-table, | ||
419 | .txt-toolbar table.choose-table { | ||
420 | border: none; | ||
421 | border-collapse: collapse; | ||
422 | } | ||
423 | .wangEditor-drop-panel table.choose-table td, | ||
424 | .txt-toolbar table.choose-table td { | ||
425 | border: 1px solid #ccc; | ||
426 | width: 16px; | ||
427 | height: 12px; | ||
428 | } | ||
429 | .wangEditor-drop-panel table.choose-table td.active, | ||
430 | .txt-toolbar table.choose-table td.active { | ||
431 | background-color: #ccc; | ||
432 | opacity: .5; | ||
433 | filter: alpha(opacity=50); | ||
434 | } | ||
435 | .wangEditor-drop-panel .panel-tab .tab-container, | ||
436 | .txt-toolbar .panel-tab .tab-container { | ||
437 | margin-bottom: 5px; | ||
438 | } | ||
439 | .wangEditor-drop-panel .panel-tab .tab-container a, | ||
440 | .txt-toolbar .panel-tab .tab-container a { | ||
441 | display: inline-block; | ||
442 | color: #999; | ||
443 | text-align: center; | ||
444 | margin: 0 5px; | ||
445 | padding: 5px 5px; | ||
446 | } | ||
447 | .wangEditor-drop-panel .panel-tab .tab-container a.selected, | ||
448 | .txt-toolbar .panel-tab .tab-container a.selected { | ||
449 | color: #1e88e5; | ||
450 | border-bottom: 2px solid #1e88e5; | ||
451 | } | ||
452 | .wangEditor-drop-panel .panel-tab .content-container .content, | ||
453 | .txt-toolbar .panel-tab .content-container .content { | ||
454 | display: none; | ||
455 | } | ||
456 | .wangEditor-drop-panel .panel-tab .content-container .content a, | ||
457 | .txt-toolbar .panel-tab .content-container .content a { | ||
458 | display: inline-block; | ||
459 | margin: 2px; | ||
460 | padding: 2px; | ||
461 | border-radius: 2px; | ||
462 | } | ||
463 | .wangEditor-drop-panel .panel-tab .content-container .content a:hover, | ||
464 | .txt-toolbar .panel-tab .content-container .content a:hover { | ||
465 | background-color: #f1f1f1; | ||
466 | } | ||
467 | .wangEditor-drop-panel .panel-tab .content-container .selected, | ||
468 | .txt-toolbar .panel-tab .content-container .selected { | ||
469 | display: block; | ||
470 | } | ||
471 | .wangEditor-drop-panel .panel-tab .emotion-content-container, | ||
472 | .txt-toolbar .panel-tab .emotion-content-container { | ||
473 | height: 200px; | ||
474 | overflow-y: auto; | ||
475 | } | ||
476 | .wangEditor-drop-panel .upload-icon-container, | ||
477 | .txt-toolbar .upload-icon-container { | ||
478 | color: #ccc; | ||
479 | text-align: center; | ||
480 | margin: 20px 20px 15px 20px !important; | ||
481 | padding: 5px !important; | ||
482 | font-size: 65px; | ||
483 | cursor: pointer; | ||
484 | border: 2px dotted #f1f1f1; | ||
485 | display: block !important; | ||
486 | } | ||
487 | .wangEditor-drop-panel .upload-icon-container:hover, | ||
488 | .txt-toolbar .upload-icon-container:hover { | ||
489 | color: #666; | ||
490 | border-color: #ccc; | ||
491 | } | ||
492 | .wangEditor-modal { | ||
493 | position: absolute; | ||
494 | top: 50%; | ||
495 | left: 50%; | ||
496 | background-color: #fff; | ||
497 | border-top: 1px solid #f1f1f1; | ||
498 | box-shadow: 1px 3px 3px #999; | ||
499 | border-top: 1px\9 solid\9 #ccc\9; | ||
500 | border-left: 1px\9 solid\9 #ccc\9; | ||
501 | border-bottom: 1px\9 solid\9 #999\9; | ||
502 | border-right: 1px\9 solid\9 #999\9; | ||
503 | } | ||
504 | .wangEditor-modal .wangEditor-modal-close { | ||
505 | position: absolute; | ||
506 | top: 0; | ||
507 | right: 0; | ||
508 | margin-top: -25px; | ||
509 | margin-right: -25px; | ||
510 | font-size: 1.5em; | ||
511 | color: #666; | ||
512 | cursor: pointer; | ||
513 | } | ||
514 | @font-face { | ||
515 | font-family: 'icomoon'; | ||
516 | src: url('../fonts/icomoon.eot?-qdfu1s'); | ||
517 | src: url('../fonts/icomoon.eot?#iefix-qdfu1s') format('embedded-opentype'), url('../fonts/icomoon.ttf?-qdfu1s') format('truetype'), url('../fonts/icomoon.woff?-qdfu1s') format('woff'), url('../fonts/icomoon.svg?-qdfu1s#icomoon') format('svg'); | ||
518 | font-weight: normal; | ||
519 | font-style: normal; | ||
520 | } | ||
521 | [class^="wangeditor-menu-img-"], | ||
522 | [class*=" wangeditor-menu-img-"] { | ||
523 | font-family: 'icomoon'; | ||
524 | speak: none; | ||
525 | font-style: normal; | ||
526 | font-weight: normal; | ||
527 | font-variant: normal; | ||
528 | text-transform: none; | ||
529 | line-height: 1; | ||
530 | /* Better Font Rendering =========== */ | ||
531 | -webkit-font-smoothing: antialiased; | ||
532 | -moz-osx-font-smoothing: grayscale; | ||
533 | } | ||
534 | .wangeditor-menu-img-link:before { | ||
535 | content: "\e800"; | ||
536 | } | ||
537 | .wangeditor-menu-img-unlink:before { | ||
538 | content: "\e801"; | ||
539 | } | ||
540 | .wangeditor-menu-img-code:before { | ||
541 | content: "\e802"; | ||
542 | } | ||
543 | .wangeditor-menu-img-cancel:before { | ||
544 | content: "\e803"; | ||
545 | } | ||
546 | .wangeditor-menu-img-terminal:before { | ||
547 | content: "\e804"; | ||
548 | } | ||
549 | .wangeditor-menu-img-angle-down:before { | ||
550 | content: "\e805"; | ||
551 | } | ||
552 | .wangeditor-menu-img-font:before { | ||
553 | content: "\e806"; | ||
554 | } | ||
555 | .wangeditor-menu-img-bold:before { | ||
556 | content: "\e807"; | ||
557 | } | ||
558 | .wangeditor-menu-img-italic:before { | ||
559 | content: "\e808"; | ||
560 | } | ||
561 | .wangeditor-menu-img-header:before { | ||
562 | content: "\e809"; | ||
563 | } | ||
564 | .wangeditor-menu-img-align-left:before { | ||
565 | content: "\e80a"; | ||
566 | } | ||
567 | .wangeditor-menu-img-align-center:before { | ||
568 | content: "\e80b"; | ||
569 | } | ||
570 | .wangeditor-menu-img-align-right:before { | ||
571 | content: "\e80c"; | ||
572 | } | ||
573 | .wangeditor-menu-img-list-bullet:before { | ||
574 | content: "\e80d"; | ||
575 | } | ||
576 | .wangeditor-menu-img-indent-left:before { | ||
577 | content: "\e80e"; | ||
578 | } | ||
579 | .wangeditor-menu-img-indent-right:before { | ||
580 | content: "\e80f"; | ||
581 | } | ||
582 | .wangeditor-menu-img-list-numbered:before { | ||
583 | content: "\e810"; | ||
584 | } | ||
585 | .wangeditor-menu-img-underline:before { | ||
586 | content: "\e811"; | ||
587 | } | ||
588 | .wangeditor-menu-img-table:before { | ||
589 | content: "\e812"; | ||
590 | } | ||
591 | .wangeditor-menu-img-eraser:before { | ||
592 | content: "\e813"; | ||
593 | } | ||
594 | .wangeditor-menu-img-text-height:before { | ||
595 | content: "\e814"; | ||
596 | } | ||
597 | .wangeditor-menu-img-brush:before { | ||
598 | content: "\e815"; | ||
599 | } | ||
600 | .wangeditor-menu-img-pencil:before { | ||
601 | content: "\e816"; | ||
602 | } | ||
603 | .wangeditor-menu-img-minus:before { | ||
604 | content: "\e817"; | ||
605 | } | ||
606 | .wangeditor-menu-img-picture:before { | ||
607 | content: "\e818"; | ||
608 | } | ||
609 | .wangeditor-menu-img-file-image:before { | ||
610 | content: "\e819"; | ||
611 | } | ||
612 | .wangeditor-menu-img-cw:before { | ||
613 | content: "\e81a"; | ||
614 | } | ||
615 | .wangeditor-menu-img-ccw:before { | ||
616 | content: "\e81b"; | ||
617 | } | ||
618 | .wangeditor-menu-img-music:before { | ||
619 | content: "\e911"; | ||
620 | } | ||
621 | .wangeditor-menu-img-play:before { | ||
622 | content: "\e912"; | ||
623 | } | ||
624 | .wangeditor-menu-img-location:before { | ||
625 | content: "\e947"; | ||
626 | } | ||
627 | .wangeditor-menu-img-happy:before { | ||
628 | content: "\e9df"; | ||
629 | } | ||
630 | .wangeditor-menu-img-sigma:before { | ||
631 | content: "\ea67"; | ||
632 | } | ||
633 | .wangeditor-menu-img-enlarge2:before { | ||
634 | content: "\e98b"; | ||
635 | } | ||
636 | .wangeditor-menu-img-shrink2:before { | ||
637 | content: "\e98c"; | ||
638 | } | ||
639 | .wangeditor-menu-img-newspaper:before { | ||
640 | content: "\e904"; | ||
641 | } | ||
642 | .wangeditor-menu-img-camera:before { | ||
643 | content: "\e90f"; | ||
644 | } | ||
645 | .wangeditor-menu-img-video-camera:before { | ||
646 | content: "\e914"; | ||
647 | } | ||
648 | .wangeditor-menu-img-file-zip:before { | ||
649 | content: "\e92b"; | ||
650 | } | ||
651 | .wangeditor-menu-img-stack:before { | ||
652 | content: "\e92e"; | ||
653 | } | ||
654 | .wangeditor-menu-img-credit-card:before { | ||
655 | content: "\e93f"; | ||
656 | } | ||
657 | .wangeditor-menu-img-address-book:before { | ||
658 | content: "\e944"; | ||
659 | } | ||
660 | .wangeditor-menu-img-envelop:before { | ||
661 | content: "\e945"; | ||
662 | } | ||
663 | .wangeditor-menu-img-drawer:before { | ||
664 | content: "\e95c"; | ||
665 | } | ||
666 | .wangeditor-menu-img-download:before { | ||
667 | content: "\e960"; | ||
668 | } | ||
669 | .wangeditor-menu-img-upload:before { | ||
670 | content: "\e961"; | ||
671 | } | ||
672 | .wangeditor-menu-img-lock:before { | ||
673 | content: "\e98f"; | ||
674 | } | ||
675 | .wangeditor-menu-img-unlocked:before { | ||
676 | content: "\e990"; | ||
677 | } | ||
678 | .wangeditor-menu-img-wrench:before { | ||
679 | content: "\e991"; | ||
680 | } | ||
681 | .wangeditor-menu-img-eye:before { | ||
682 | content: "\e9ce"; | ||
683 | } | ||
684 | .wangeditor-menu-img-eye-blocked:before { | ||
685 | content: "\e9d1"; | ||
686 | } | ||
687 | .wangeditor-menu-img-command:before { | ||
688 | content: "\ea4e"; | ||
689 | } | ||
690 | .wangeditor-menu-img-font2:before { | ||
691 | content: "\ea5c"; | ||
692 | } | ||
693 | .wangeditor-menu-img-libreoffice:before { | ||
694 | content: "\eade"; | ||
695 | } | ||
696 | .wangeditor-menu-img-quotes-left:before { | ||
697 | content: "\e977"; | ||
698 | } | ||
699 | .wangeditor-menu-img-strikethrough:before { | ||
700 | content: "\ea65"; | ||
701 | } | ||
702 | .wangeditor-menu-img-desktop:before { | ||
703 | content: "\f108"; | ||
704 | } | ||
705 | .wangeditor-menu-img-tablet:before { | ||
706 | content: "\f10a"; | ||
707 | } | ||
708 | .wangeditor-menu-img-search-plus:before { | ||
709 | content: "\f00e"; | ||
710 | } | ||
711 | .wangeditor-menu-img-search-minus:before { | ||
712 | content: "\f010"; | ||
713 | } | ||
714 | .wangeditor-menu-img-trash-o:before { | ||
715 | content: "\f014"; | ||
716 | } | ||
717 | .wangeditor-menu-img-align-justify:before { | ||
718 | content: "\f039"; | ||
719 | } | ||
720 | .wangeditor-menu-img-arrows-v:before { | ||
721 | content: "\f07d"; | ||
722 | } | ||
723 | .wangeditor-menu-img-sigma2:before { | ||
724 | content: "\ea68"; | ||
725 | } | ||
726 | .wangeditor-menu-img-omega:before { | ||
727 | content: "\e900"; | ||
728 | } | ||
729 | .wangeditor-menu-img-cancel-circle:before { | ||
730 | content: "\e901"; | ||
731 | } | ||
732 | .hljs { | ||
733 | display: block; | ||
734 | overflow-x: auto; | ||
735 | padding: 0.5em; | ||
736 | color: #333; | ||
737 | background: #f8f8f8; | ||
738 | -webkit-text-size-adjust: none; | ||
739 | } | ||
740 | .hljs-comment, | ||
741 | .diff .hljs-header { | ||
742 | color: #998; | ||
743 | font-style: italic; | ||
744 | } | ||
745 | .hljs-keyword, | ||
746 | .css .rule .hljs-keyword, | ||
747 | .hljs-winutils, | ||
748 | .nginx .hljs-title, | ||
749 | .hljs-subst, | ||
750 | .hljs-request, | ||
751 | .hljs-status { | ||
752 | color: #333; | ||
753 | font-weight: bold; | ||
754 | } | ||
755 | .hljs-number, | ||
756 | .hljs-hexcolor, | ||
757 | .ruby .hljs-constant { | ||
758 | color: #008080; | ||
759 | } | ||
760 | .hljs-string, | ||
761 | .hljs-tag .hljs-value, | ||
762 | .hljs-doctag, | ||
763 | .tex .hljs-formula { | ||
764 | color: #d14; | ||
765 | } | ||
766 | .hljs-title, | ||
767 | .hljs-id, | ||
768 | .scss .hljs-preprocessor { | ||
769 | color: #900; | ||
770 | font-weight: bold; | ||
771 | } | ||
772 | .hljs-list .hljs-keyword, | ||
773 | .hljs-subst { | ||
774 | font-weight: normal; | ||
775 | } | ||
776 | .hljs-class .hljs-title, | ||
777 | .hljs-type, | ||
778 | .vhdl .hljs-literal, | ||
779 | .tex .hljs-command { | ||
780 | color: #458; | ||
781 | font-weight: bold; | ||
782 | } | ||
783 | .hljs-tag, | ||
784 | .hljs-tag .hljs-title, | ||
785 | .hljs-rule .hljs-property, | ||
786 | .django .hljs-tag .hljs-keyword { | ||
787 | color: #000080; | ||
788 | font-weight: normal; | ||
789 | } | ||
790 | .hljs-attribute, | ||
791 | .hljs-variable, | ||
792 | .lisp .hljs-body, | ||
793 | .hljs-name { | ||
794 | color: #008080; | ||
795 | } | ||
796 | .hljs-regexp { | ||
797 | color: #009926; | ||
798 | } | ||
799 | .hljs-symbol, | ||
800 | .ruby .hljs-symbol .hljs-string, | ||
801 | .lisp .hljs-keyword, | ||
802 | .clojure .hljs-keyword, | ||
803 | .scheme .hljs-keyword, | ||
804 | .tex .hljs-special, | ||
805 | .hljs-prompt { | ||
806 | color: #990073; | ||
807 | } | ||
808 | .hljs-built_in { | ||
809 | color: #0086b3; | ||
810 | } | ||
811 | .hljs-preprocessor, | ||
812 | .hljs-pragma, | ||
813 | .hljs-pi, | ||
814 | .hljs-doctype, | ||
815 | .hljs-shebang, | ||
816 | .hljs-cdata { | ||
817 | color: #999; | ||
818 | font-weight: bold; | ||
819 | } | ||
820 | .hljs-deletion { | ||
821 | background: #fdd; | ||
822 | } | ||
823 | .hljs-addition { | ||
824 | background: #dfd; | ||
825 | } | ||
826 | .diff .hljs-change { | ||
827 | background: #0086b3; | ||
828 | } | ||
829 | .hljs-chunk { | ||
830 | color: #aaa; | ||
831 | } |
static/libs/wangeditor/css/wangEditor.less
0 → 100644
1 | |||
2 | // ---------- begin 全局颜色配置 ------------ | ||
3 | |||
4 | /* 编辑器边框颜色 */ | ||
5 | @border-color: #ccc; | ||
6 | |||
7 | /* 菜单颜色、上边框颜色 */ | ||
8 | @fore-color: #666; | ||
9 | |||
10 | /* 菜单选中状态的颜色 */ | ||
11 | @selected-color: #1e88e5; | ||
12 | |||
13 | /* input focus 时的颜色 */ | ||
14 | @focus-input-color: #1e88e5; | ||
15 | |||
16 | /* 按钮颜色 */ | ||
17 | @button-color: #1e88e5; | ||
18 | |||
19 | /* tab selected 状态下的颜色 */ | ||
20 | @selected-tab-color: #1e88e5; | ||
21 | |||
22 | // ---------- end 全局颜色配置 ------------ | ||
23 | |||
24 | |||
25 | .wangEditor-container { | ||
26 | position: relative; | ||
27 | background-color: #fff; | ||
28 | border: 1px solid @border-color; | ||
29 | z-index: 1; | ||
30 | width: 100%; | ||
31 | |||
32 | a:focus, | ||
33 | button:focus{ | ||
34 | outline:none; | ||
35 | } | ||
36 | |||
37 | &,* { | ||
38 | margin: 0; | ||
39 | padding: 0; | ||
40 | box-sizing: border-box; | ||
41 | line-height: 1; | ||
42 | } | ||
43 | |||
44 | img { | ||
45 | border: none; | ||
46 | } | ||
47 | |||
48 | .clearfix:after { | ||
49 | content: ''; | ||
50 | display: table; | ||
51 | clear: both; | ||
52 | } | ||
53 | .clearfix { | ||
54 | *zoom: 1; | ||
55 | } | ||
56 | |||
57 | textarea { | ||
58 | border: none; | ||
59 | &:focus{ | ||
60 | outline: none; | ||
61 | } | ||
62 | } | ||
63 | |||
64 | // 显示p head 高度的 tip | ||
65 | .height-tip { | ||
66 | position: absolute; | ||
67 | width: 3px; | ||
68 | background-color: #ccc; | ||
69 | left: 0; | ||
70 | transition: top .2s; | ||
71 | } | ||
72 | |||
73 | // 设置 img table 的 toolbar | ||
74 | .txt-toolbar { | ||
75 | position: absolute; | ||
76 | background-color: #fff; | ||
77 | padding: 3px 5px; | ||
78 | border-top: 2px solid @fore-color; | ||
79 | box-shadow: 1px 3px 3px #999; | ||
80 | |||
81 | // for IE8 | ||
82 | border-left: 1px\9 solid\9 #ccc\9; | ||
83 | border-bottom: 1px\9 solid\9 #999\9; | ||
84 | border-right: 1px\9 solid\9 #999\9; | ||
85 | |||
86 | // 小三角 | ||
87 | .tip-triangle { | ||
88 | display: block; | ||
89 | position: absolute; | ||
90 | width: 0; | ||
91 | height: 0; | ||
92 | border: 5px solid; | ||
93 | border-color: transparent transparent @fore-color transparent; | ||
94 | top: -12px; | ||
95 | left: 50%; | ||
96 | margin-left: -5px; | ||
97 | } | ||
98 | |||
99 | a { | ||
100 | color: @fore-color; | ||
101 | display: inline-block; | ||
102 | margin: 0 3px; | ||
103 | padding: 5px; | ||
104 | text-decoration: none; | ||
105 | border-radius: 3px; | ||
106 | |||
107 | &:hover { | ||
108 | background-color: #f1f1f1; | ||
109 | } | ||
110 | } | ||
111 | } | ||
112 | // 图品拖拽大小 | ||
113 | .img-drag-point { | ||
114 | display: block; | ||
115 | position: absolute; | ||
116 | width: 12px; | ||
117 | height: 12px; | ||
118 | border-radius: 50%; | ||
119 | cursor: se-resize; | ||
120 | background-color: @fore-color; | ||
121 | margin-left: -6px; | ||
122 | margin-top: -6px; | ||
123 | box-shadow: 1px 1px 5px #999; | ||
124 | } | ||
125 | |||
126 | // 进度条 | ||
127 | .wangEditor-upload-progress { | ||
128 | position: absolute; | ||
129 | height: 1px; | ||
130 | background: #1e88e5; | ||
131 | width: 0; | ||
132 | display: none; | ||
133 | -webkit-transition: width .5s; | ||
134 | -o-transition: width .5s; | ||
135 | transition: width .5s; | ||
136 | } | ||
137 | } | ||
138 | .wangEditor-fullscreen { | ||
139 | position: fixed; | ||
140 | top: 0; | ||
141 | bottom: 0; | ||
142 | left: 0; | ||
143 | right: 0; | ||
144 | } | ||
145 | .wangEditor-container { | ||
146 | .code-textarea { | ||
147 | resize: none; | ||
148 | width: 100%; | ||
149 | font-size: 14px; | ||
150 | line-height: 1.5; | ||
151 | font-family: 'Verdana'; | ||
152 | color: #333; | ||
153 | padding: 0 15px 0 15px; | ||
154 | } | ||
155 | } | ||
156 | .wangEditor-menu-container { | ||
157 | |||
158 | width: 100%; | ||
159 | border-bottom: 1px solid #f1f1f1; | ||
160 | background-color: #fff; | ||
161 | |||
162 | a { | ||
163 | text-decoration: none; | ||
164 | } | ||
165 | |||
166 | // 菜单组 | ||
167 | .menu-group { | ||
168 | float: left; | ||
169 | padding: 0 8px; | ||
170 | border-right: 1px solid #f1f1f1; | ||
171 | } | ||
172 | |||
173 | // 单个菜单容器 | ||
174 | .menu-item { | ||
175 | float: left; | ||
176 | position: relative; | ||
177 | text-align: center; | ||
178 | height: 31px; | ||
179 | width: 35px; | ||
180 | |||
181 | &:hover { | ||
182 | background-color: #f1f1f1; | ||
183 | } | ||
184 | |||
185 | // 菜单 | ||
186 | a { | ||
187 | display: block; | ||
188 | text-align: center; | ||
189 | color: @fore-color; | ||
190 | width: 100%; | ||
191 | padding: 8px 0; | ||
192 | font-size: 0.9em; | ||
193 | } | ||
194 | |||
195 | // 菜单选中状态 | ||
196 | .selected { | ||
197 | color: @selected-color; | ||
198 | } | ||
199 | |||
200 | // 激活状态 | ||
201 | .active { | ||
202 | background-color: #f1f1f1; | ||
203 | } | ||
204 | |||
205 | // 禁用状态 | ||
206 | .disable { | ||
207 | opacity: 0.5; | ||
208 | filter: Alpha(opacity=50); | ||
209 | } | ||
210 | } | ||
211 | |||
212 | // tip提示 | ||
213 | .menu-tip { | ||
214 | display: block; | ||
215 | position: absolute; | ||
216 | z-index: 20; | ||
217 | width: 60px; | ||
218 | text-align: center; | ||
219 | background-color: @fore-color; | ||
220 | color: #fff; | ||
221 | padding: 7px 0; | ||
222 | font-size: 12px; | ||
223 | top: 100%; | ||
224 | left: 50%; | ||
225 | margin-left: -30px; | ||
226 | border-radius: 2px; | ||
227 | box-shadow: 1px 1px 5px #999; | ||
228 | |||
229 | display: none; | ||
230 | |||
231 | /*// 小三角 | ||
232 | .tip-triangle { | ||
233 | display: block; | ||
234 | position: absolute; | ||
235 | width: 0; | ||
236 | height: 0; | ||
237 | border:5px solid; | ||
238 | border-color: transparent transparent @fore-color transparent; | ||
239 | top: -10px; | ||
240 | left: 50%; | ||
241 | margin-left: -5px; | ||
242 | }*/ | ||
243 | } | ||
244 | .menu-tip-40 { | ||
245 | width: 40px; | ||
246 | margin-left: -20px; | ||
247 | } | ||
248 | .menu-tip-50 { | ||
249 | width: 50px; | ||
250 | margin-left: -25px; | ||
251 | } | ||
252 | } | ||
253 | .wangEditor-menu-shadow { | ||
254 | /*border-bottom-width: 0;*/ | ||
255 | border-bottom: 1px\9 solid\9 #f1f1f1\9; | ||
256 | box-shadow: 0 1px 3px #999; | ||
257 | } | ||
258 | .wangEditor-container { | ||
259 | .wangEditor-txt{ | ||
260 | width: 100%; | ||
261 | text-align: left; | ||
262 | padding: 15px; | ||
263 | padding-top: 0; | ||
264 | margin-top: 5px; | ||
265 | overflow-y: auto; | ||
266 | |||
267 | p,h1,h2,h3,h4,h5 { | ||
268 | margin: 10px 0; | ||
269 | line-height: 1.8; | ||
270 | |||
271 | * { | ||
272 | line-height: 1.8; | ||
273 | } | ||
274 | } | ||
275 | |||
276 | ul, ol { | ||
277 | padding-left: 20px; | ||
278 | } | ||
279 | |||
280 | img { | ||
281 | cursor: pointer; | ||
282 | } | ||
283 | img.clicked { | ||
284 | box-shadow: 1px 1px 10px #999; | ||
285 | } | ||
286 | |||
287 | table.clicked { | ||
288 | box-shadow: 1px 1px 10px #999; | ||
289 | } | ||
290 | |||
291 | pre code { | ||
292 | line-height: 1.5; | ||
293 | } | ||
294 | |||
295 | &:focus{ | ||
296 | outline: none; | ||
297 | } | ||
298 | } | ||
299 | } | ||
300 | .wangEditor-container { | ||
301 | .wangEditor-txt { | ||
302 | blockquote { | ||
303 | display: block; | ||
304 | border-left: 8px solid #d0e5f2; | ||
305 | padding: 5px 10px; | ||
306 | margin: 10px 0; | ||
307 | line-height: 1.4; | ||
308 | font-size: 100%; | ||
309 | background-color: #f1f1f1; | ||
310 | } | ||
311 | table { | ||
312 | border: none; | ||
313 | border-collapse: collapse; | ||
314 | } | ||
315 | table td, | ||
316 | table th { | ||
317 | border: 1px solid #999; | ||
318 | padding: 3px 5px; | ||
319 | min-width: 50px; | ||
320 | height: 20px; | ||
321 | } | ||
322 | pre { | ||
323 | border: 1px solid #ccc; | ||
324 | background-color: #f8f8f8; | ||
325 | padding: 10px; | ||
326 | margin: 5px 0px; | ||
327 | font-size: 0.8em; | ||
328 | border-radius: 3px; | ||
329 | } | ||
330 | } | ||
331 | } | ||
332 | .wangEditor-drop-list { | ||
333 | display: none; | ||
334 | position: absolute; | ||
335 | background-color: #fff; | ||
336 | overflow: hidden; | ||
337 | z-index: 10; | ||
338 | |||
339 | transition: height .7s; | ||
340 | |||
341 | border-top: 1px solid #f1f1f1; | ||
342 | box-shadow: 1px 3px 3px #999; | ||
343 | |||
344 | // for IE8 | ||
345 | border-left: 1px\9 solid\9 #ccc\9; | ||
346 | border-bottom: 1px\9 solid\9 #999\9; | ||
347 | border-right: 1px\9 solid\9 #999\9; | ||
348 | |||
349 | a { | ||
350 | text-decoration: none; | ||
351 | display: block; | ||
352 | color: @fore-color; | ||
353 | padding: 3px 5px; | ||
354 | |||
355 | &:hover { | ||
356 | background-color: #f1f1f1; | ||
357 | } | ||
358 | } | ||
359 | } | ||
360 | .wangEditor-drop-panel, | ||
361 | .txt-toolbar { | ||
362 | display: none; | ||
363 | position: absolute; | ||
364 | padding: 10px; | ||
365 | font-size: 14px; | ||
366 | /*border: 1px\9 solid\9 #cccccc\9;*/ | ||
367 | |||
368 | background-color: #fff; | ||
369 | z-index: 10; | ||
370 | |||
371 | border-top: 2px solid @fore-color; | ||
372 | box-shadow: 1px 3px 3px #999; | ||
373 | |||
374 | // for IE8 | ||
375 | border-left: 1px\9 solid\9 #ccc\9; | ||
376 | border-bottom: 1px\9 solid\9 #999\9; | ||
377 | border-right: 1px\9 solid\9 #999\9; | ||
378 | |||
379 | // 小三角 | ||
380 | .tip-triangle { | ||
381 | display: block; | ||
382 | position: absolute; | ||
383 | width: 0; | ||
384 | height: 0; | ||
385 | border: 5px solid; | ||
386 | border-color: transparent transparent @fore-color transparent; | ||
387 | top: -12px; | ||
388 | left: 50%; | ||
389 | margin-left: -5px; | ||
390 | } | ||
391 | |||
392 | a { | ||
393 | text-decoration: none; | ||
394 | } | ||
395 | |||
396 | // 输入框 | ||
397 | input[type=text] { | ||
398 | border: none; | ||
399 | border-bottom: 1px solid #ccc; | ||
400 | font-size: 14px; | ||
401 | height: 20px; | ||
402 | color: #333; | ||
403 | padding: 3px 0; | ||
404 | |||
405 | &:focus{ | ||
406 | outline: none; | ||
407 | border-bottom: 2px solid @focus-input-color; | ||
408 | } | ||
409 | } | ||
410 | input[type=text].block { | ||
411 | display: block; | ||
412 | width: 100%; | ||
413 | } | ||
414 | textarea { | ||
415 | border: 1px solid #ccc; | ||
416 | &:focus { | ||
417 | outline: none; | ||
418 | border-color: @focus-input-color; | ||
419 | } | ||
420 | } | ||
421 | |||
422 | // 按钮 | ||
423 | button { | ||
424 | font-size: 14px; | ||
425 | color: @button-color; | ||
426 | border: none; | ||
427 | padding: 10px; | ||
428 | background-color: #fff; | ||
429 | cursor: pointer; | ||
430 | border-radius: 3px; | ||
431 | |||
432 | &:hover { | ||
433 | background-color: #f1f1f1; | ||
434 | } | ||
435 | &:focus{ | ||
436 | outline: none; | ||
437 | } | ||
438 | } | ||
439 | button.right { | ||
440 | float: right; | ||
441 | margin-left: 10px; | ||
442 | } | ||
443 | button.gray { | ||
444 | color: #999; | ||
445 | } | ||
446 | button.link { | ||
447 | padding: 5px 10px; | ||
448 | &:hover { | ||
449 | background-color: #fff; | ||
450 | text-decoration: underline; | ||
451 | } | ||
452 | } | ||
453 | |||
454 | // 颜色块 | ||
455 | .color-item { | ||
456 | display: block; | ||
457 | float: left; | ||
458 | width: 25px; | ||
459 | height: 25px; | ||
460 | text-align: center; | ||
461 | padding: 2px; | ||
462 | border-radius: 2px; | ||
463 | text-decoration: underline; | ||
464 | |||
465 | &:hover { | ||
466 | background-color: #f1f1f1; | ||
467 | } | ||
468 | } | ||
469 | |||
470 | // 列表 | ||
471 | .list-menu-item { | ||
472 | display: block; | ||
473 | float: left; | ||
474 | color: #333; | ||
475 | padding: 5px 5px; | ||
476 | border-radius: 2px; | ||
477 | |||
478 | &:hover { | ||
479 | background-color: #f1f1f1; | ||
480 | } | ||
481 | } | ||
482 | |||
483 | // 表格 | ||
484 | table.choose-table { | ||
485 | border: none; | ||
486 | border-collapse: collapse; | ||
487 | |||
488 | td { | ||
489 | border: 1px solid #ccc; | ||
490 | width: 16px; | ||
491 | height: 12px; | ||
492 | } | ||
493 | td.active { | ||
494 | background-color: #ccc; | ||
495 | opacity: .5; | ||
496 | filter: Alpha(opacity=50); | ||
497 | } | ||
498 | } | ||
499 | |||
500 | // tab | ||
501 | .panel-tab { | ||
502 | .tab-container { | ||
503 | margin-bottom: 5px; | ||
504 | |||
505 | a { | ||
506 | display: inline-block; | ||
507 | color: #999; | ||
508 | text-align: center; | ||
509 | margin: 0 5px; | ||
510 | padding: 5px 5px; | ||
511 | } | ||
512 | |||
513 | a.selected { | ||
514 | color: @selected-tab-color; | ||
515 | border-bottom: 2px solid @selected-tab-color; | ||
516 | } | ||
517 | } | ||
518 | .content-container { | ||
519 | .content { | ||
520 | display: none; | ||
521 | |||
522 | a { | ||
523 | display: inline-block; | ||
524 | margin: 2px; | ||
525 | padding: 2px; | ||
526 | border-radius: 2px; | ||
527 | |||
528 | &:hover { | ||
529 | background-color: #f1f1f1; | ||
530 | } | ||
531 | } | ||
532 | } | ||
533 | .selected { | ||
534 | display: block; | ||
535 | } | ||
536 | } | ||
537 | .emotion-content-container { | ||
538 | height: 200px; | ||
539 | overflow-y: auto; | ||
540 | } | ||
541 | } | ||
542 | |||
543 | // 上传图片 | ||
544 | .upload-icon-container { | ||
545 | color: #ccc; | ||
546 | text-align: center; | ||
547 | margin: 20px 20px 15px 20px !important; | ||
548 | padding: 5px !important; | ||
549 | font-size: 65px; | ||
550 | cursor: pointer; | ||
551 | border: 2px dotted #f1f1f1; | ||
552 | display: block !important; | ||
553 | |||
554 | &:hover { | ||
555 | color: #666; | ||
556 | border-color: #ccc; | ||
557 | } | ||
558 | } | ||
559 | } | ||
560 | .wangEditor-modal { | ||
561 | position: absolute; | ||
562 | top: 50%; | ||
563 | left: 50%; | ||
564 | background-color: #fff; | ||
565 | |||
566 | border-top: 1px solid #f1f1f1; | ||
567 | box-shadow: 1px 3px 3px #999; | ||
568 | |||
569 | // for IE8 | ||
570 | border-top: 1px\9 solid\9 #ccc\9; | ||
571 | border-left: 1px\9 solid\9 #ccc\9; | ||
572 | border-bottom: 1px\9 solid\9 #999\9; | ||
573 | border-right: 1px\9 solid\9 #999\9; | ||
574 | |||
575 | // 关闭按钮 | ||
576 | .wangEditor-modal-close { | ||
577 | position: absolute; | ||
578 | top: 0; | ||
579 | right: 0; | ||
580 | margin-top: -25px; | ||
581 | margin-right: -25px; | ||
582 | font-size: 1.5em; | ||
583 | color: #666; | ||
584 | cursor: pointer; | ||
585 | } | ||
586 | |||
587 | } | ||
588 | @font-face { | ||
589 | font-family: 'icomoon'; | ||
590 | src:url('../fonts/icomoon.eot?-qdfu1s'); | ||
591 | src:url('../fonts/icomoon.eot?#iefix-qdfu1s') format('embedded-opentype'), | ||
592 | url('../fonts/icomoon.ttf?-qdfu1s') format('truetype'), | ||
593 | url('../fonts/icomoon.woff?-qdfu1s') format('woff'), | ||
594 | url('../fonts/icomoon.svg?-qdfu1s#icomoon') format('svg'); | ||
595 | font-weight: normal; | ||
596 | font-style: normal; | ||
597 | } | ||
598 | |||
599 | [class^="wangeditor-menu-img-"], [class*=" wangeditor-menu-img-"] { | ||
600 | font-family: 'icomoon'; | ||
601 | speak: none; | ||
602 | font-style: normal; | ||
603 | font-weight: normal; | ||
604 | font-variant: normal; | ||
605 | text-transform: none; | ||
606 | line-height: 1; | ||
607 | |||
608 | /* Better Font Rendering =========== */ | ||
609 | -webkit-font-smoothing: antialiased; | ||
610 | -moz-osx-font-smoothing: grayscale; | ||
611 | } | ||
612 | .wangeditor-menu-img-link:before {content: "\e800";} | ||
613 | .wangeditor-menu-img-unlink:before {content: "\e801";} | ||
614 | .wangeditor-menu-img-code:before {content: "\e802";} | ||
615 | .wangeditor-menu-img-cancel:before {content: "\e803";} | ||
616 | .wangeditor-menu-img-terminal:before {content: "\e804";} | ||
617 | .wangeditor-menu-img-angle-down:before {content: "\e805";} | ||
618 | .wangeditor-menu-img-font:before {content: "\e806";} | ||
619 | .wangeditor-menu-img-bold:before {content: "\e807";} | ||
620 | .wangeditor-menu-img-italic:before {content: "\e808";} | ||
621 | .wangeditor-menu-img-header:before {content: "\e809";} | ||
622 | .wangeditor-menu-img-align-left:before {content: "\e80a";} | ||
623 | .wangeditor-menu-img-align-center:before {content: "\e80b";} | ||
624 | .wangeditor-menu-img-align-right:before {content: "\e80c";} | ||
625 | .wangeditor-menu-img-list-bullet:before {content: "\e80d";} | ||
626 | .wangeditor-menu-img-indent-left:before {content: "\e80e";} | ||
627 | .wangeditor-menu-img-indent-right:before {content: "\e80f";} | ||
628 | .wangeditor-menu-img-list-numbered:before {content: "\e810";} | ||
629 | .wangeditor-menu-img-underline:before {content: "\e811";} | ||
630 | .wangeditor-menu-img-table:before {content: "\e812";} | ||
631 | .wangeditor-menu-img-eraser:before {content: "\e813";} | ||
632 | .wangeditor-menu-img-text-height:before {content: "\e814";} | ||
633 | .wangeditor-menu-img-brush:before {content: "\e815";} | ||
634 | .wangeditor-menu-img-pencil:before {content: "\e816";} | ||
635 | .wangeditor-menu-img-minus:before {content: "\e817";} | ||
636 | .wangeditor-menu-img-picture:before {content: "\e818";} | ||
637 | .wangeditor-menu-img-file-image:before {content: "\e819";} | ||
638 | .wangeditor-menu-img-cw:before {content: "\e81a";} | ||
639 | .wangeditor-menu-img-ccw:before {content: "\e81b";} | ||
640 | .wangeditor-menu-img-music:before {content: "\e911";} | ||
641 | .wangeditor-menu-img-play:before {content: "\e912";} | ||
642 | .wangeditor-menu-img-location:before {content: "\e947";} | ||
643 | .wangeditor-menu-img-happy:before {content: "\e9df";} | ||
644 | .wangeditor-menu-img-sigma:before {content: "\ea67";} | ||
645 | .wangeditor-menu-img-enlarge2:before {content: "\e98b";} | ||
646 | .wangeditor-menu-img-shrink2:before {content: "\e98c";} | ||
647 | .wangeditor-menu-img-newspaper:before{content: "\e904";} | ||
648 | .wangeditor-menu-img-camera:before{content: "\e90f";} | ||
649 | .wangeditor-menu-img-video-camera:before{content: "\e914";} | ||
650 | .wangeditor-menu-img-file-zip:before{content: "\e92b";} | ||
651 | .wangeditor-menu-img-stack:before{content: "\e92e";} | ||
652 | .wangeditor-menu-img-credit-card:before{content: "\e93f";} | ||
653 | .wangeditor-menu-img-address-book:before{content: "\e944";} | ||
654 | .wangeditor-menu-img-envelop:before{content: "\e945";} | ||
655 | .wangeditor-menu-img-drawer:before{content: "\e95c";} | ||
656 | .wangeditor-menu-img-download:before{content: "\e960";} | ||
657 | .wangeditor-menu-img-upload:before{content: "\e961";} | ||
658 | .wangeditor-menu-img-lock:before{content: "\e98f";} | ||
659 | .wangeditor-menu-img-unlocked:before{content: "\e990";} | ||
660 | .wangeditor-menu-img-wrench:before{content: "\e991";} | ||
661 | .wangeditor-menu-img-eye:before{content: "\e9ce";} | ||
662 | .wangeditor-menu-img-eye-blocked:before{content: "\e9d1";} | ||
663 | .wangeditor-menu-img-command:before{content: "\ea4e";} | ||
664 | .wangeditor-menu-img-font2:before{content: "\ea5c";} | ||
665 | .wangeditor-menu-img-libreoffice:before{content: "\eade";} | ||
666 | .wangeditor-menu-img-quotes-left:before{content: "\e977";} | ||
667 | .wangeditor-menu-img-strikethrough:before{content: "\ea65";} | ||
668 | .wangeditor-menu-img-desktop:before{content: "\f108";} | ||
669 | .wangeditor-menu-img-tablet:before{content: "\f10a";} | ||
670 | .wangeditor-menu-img-search-plus:before { | ||
671 | content: "\f00e"; | ||
672 | } | ||
673 | .wangeditor-menu-img-search-minus:before { | ||
674 | content: "\f010"; | ||
675 | } | ||
676 | .wangeditor-menu-img-trash-o:before { | ||
677 | content: "\f014"; | ||
678 | } | ||
679 | .wangeditor-menu-img-align-justify:before { | ||
680 | content: "\f039"; | ||
681 | } | ||
682 | .wangeditor-menu-img-arrows-v:before { | ||
683 | content: "\f07d"; | ||
684 | } | ||
685 | .wangeditor-menu-img-sigma2:before { | ||
686 | content: "\ea68"; | ||
687 | } | ||
688 | .wangeditor-menu-img-omega:before { | ||
689 | content: "\e900"; | ||
690 | } | ||
691 | .wangeditor-menu-img-cancel-circle:before { | ||
692 | content: "\e901"; | ||
693 | } | ||
694 | .hljs { | ||
695 | display: block; | ||
696 | overflow-x: auto; | ||
697 | padding: 0.5em; | ||
698 | color: #333; | ||
699 | background: #f8f8f8; | ||
700 | -webkit-text-size-adjust: none; | ||
701 | } | ||
702 | |||
703 | .hljs-comment, | ||
704 | .diff .hljs-header { | ||
705 | color: #998; | ||
706 | font-style: italic; | ||
707 | } | ||
708 | |||
709 | .hljs-keyword, | ||
710 | .css .rule .hljs-keyword, | ||
711 | .hljs-winutils, | ||
712 | .nginx .hljs-title, | ||
713 | .hljs-subst, | ||
714 | .hljs-request, | ||
715 | .hljs-status { | ||
716 | color: #333; | ||
717 | font-weight: bold; | ||
718 | } | ||
719 | |||
720 | .hljs-number, | ||
721 | .hljs-hexcolor, | ||
722 | .ruby .hljs-constant { | ||
723 | color: #008080; | ||
724 | } | ||
725 | |||
726 | .hljs-string, | ||
727 | .hljs-tag .hljs-value, | ||
728 | .hljs-doctag, | ||
729 | .tex .hljs-formula { | ||
730 | color: #d14; | ||
731 | } | ||
732 | |||
733 | .hljs-title, | ||
734 | .hljs-id, | ||
735 | .scss .hljs-preprocessor { | ||
736 | color: #900; | ||
737 | font-weight: bold; | ||
738 | } | ||
739 | |||
740 | .hljs-list .hljs-keyword, | ||
741 | .hljs-subst { | ||
742 | font-weight: normal; | ||
743 | } | ||
744 | |||
745 | .hljs-class .hljs-title, | ||
746 | .hljs-type, | ||
747 | .vhdl .hljs-literal, | ||
748 | .tex .hljs-command { | ||
749 | color: #458; | ||
750 | font-weight: bold; | ||
751 | } | ||
752 | |||
753 | .hljs-tag, | ||
754 | .hljs-tag .hljs-title, | ||
755 | .hljs-rule .hljs-property, | ||
756 | .django .hljs-tag .hljs-keyword { | ||
757 | color: #000080; | ||
758 | font-weight: normal; | ||
759 | } | ||
760 | |||
761 | .hljs-attribute, | ||
762 | .hljs-variable, | ||
763 | .lisp .hljs-body, | ||
764 | .hljs-name { | ||
765 | color: #008080; | ||
766 | } | ||
767 | |||
768 | .hljs-regexp { | ||
769 | color: #009926; | ||
770 | } | ||
771 | |||
772 | .hljs-symbol, | ||
773 | .ruby .hljs-symbol .hljs-string, | ||
774 | .lisp .hljs-keyword, | ||
775 | .clojure .hljs-keyword, | ||
776 | .scheme .hljs-keyword, | ||
777 | .tex .hljs-special, | ||
778 | .hljs-prompt { | ||
779 | color: #990073; | ||
780 | } | ||
781 | |||
782 | .hljs-built_in { | ||
783 | color: #0086b3; | ||
784 | } | ||
785 | |||
786 | .hljs-preprocessor, | ||
787 | .hljs-pragma, | ||
788 | .hljs-pi, | ||
789 | .hljs-doctype, | ||
790 | .hljs-shebang, | ||
791 | .hljs-cdata { | ||
792 | color: #999; | ||
793 | font-weight: bold; | ||
794 | } | ||
795 | |||
796 | .hljs-deletion { | ||
797 | background: #fdd; | ||
798 | } | ||
799 | |||
800 | .hljs-addition { | ||
801 | background: #dfd; | ||
802 | } | ||
803 | |||
804 | .diff .hljs-change { | ||
805 | background: #0086b3; | ||
806 | } | ||
807 | |||
808 | .hljs-chunk { | ||
809 | color: #aaa; | ||
810 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | .txt-toolbar a,.wangEditor-drop-list a,.wangEditor-drop-panel a,.wangEditor-menu-container a{text-decoration:none}.wangEditor-container{position:relative;background-color:#fff;border:1px solid #ccc;z-index:1;width:100%}.wangEditor-container img,.wangEditor-container textarea{border:none}.wangEditor-container a:focus,.wangEditor-container button:focus{outline:0}.wangEditor-container,.wangEditor-container *{margin:0;padding:0;box-sizing:border-box;line-height:1}.wangEditor-container .clearfix:after{content:'';display:table;clear:both}.wangEditor-container textarea:focus{outline:0}.wangEditor-container .height-tip{position:absolute;width:3px;background-color:#ccc;left:0;transition:top .2s}.wangEditor-container .txt-toolbar{position:absolute;background-color:#fff;padding:3px 5px;border-top:2px solid #666;box-shadow:1px 3px 3px #999;border-left:1px\9 solid\9 #ccc\9;border-bottom:1px\9 solid\9 #999\9;border-right:1px\9 solid\9 #999\9}.wangEditor-container .txt-toolbar .tip-triangle{display:block;position:absolute;width:0;height:0;border:5px solid;border-color:transparent transparent #666;top:-12px;left:50%;margin-left:-5px}.wangEditor-container .txt-toolbar a{color:#666;display:inline-block;margin:0 3px;padding:5px;text-decoration:none;border-radius:3px}.wangEditor-container .txt-toolbar a:hover{background-color:#f1f1f1}.wangEditor-container .img-drag-point{display:block;position:absolute;width:12px;height:12px;border-radius:50%;cursor:se-resize;background-color:#666;margin-left:-6px;margin-top:-6px;box-shadow:1px 1px 5px #999}.wangEditor-container .wangEditor-upload-progress{position:absolute;height:1px;background:#1e88e5;width:0;display:none;-webkit-transition:width .5s;-o-transition:width .5s;transition:width .5s}.wangEditor-fullscreen{position:fixed;top:0;bottom:0;left:0;right:0}.wangEditor-container .code-textarea{resize:none;width:100%;font-size:14px;line-height:1.5;font-family:Verdana;color:#333;padding:0 15px}.wangEditor-menu-container{width:100%;border-bottom:1px solid #f1f1f1;background-color:#fff}.wangEditor-menu-container .menu-item .active,.wangEditor-menu-container .menu-item:hover{background-color:#f1f1f1}.wangEditor-menu-container .menu-group{float:left;padding:0 8px;border-right:1px solid #f1f1f1}.wangEditor-menu-container .menu-item{float:left;position:relative;text-align:center;height:31px;width:35px}.wangEditor-menu-container .menu-item a{display:block;text-align:center;color:#666;width:100%;padding:8px 0;font-size:.9em}.wangEditor-menu-container .menu-item .selected{color:#1e88e5}.wangEditor-menu-container .menu-item .disable{opacity:.5;filter:alpha(opacity=50)}.wangEditor-menu-container .menu-tip{position:absolute;z-index:20;width:60px;text-align:center;background-color:#666;color:#fff;padding:7px 0;font-size:12px;top:100%;left:50%;margin-left:-30px;border-radius:2px;box-shadow:1px 1px 5px #999;display:none}.wangEditor-menu-container .menu-tip-40{width:40px;margin-left:-20px}.wangEditor-menu-container .menu-tip-50{width:50px;margin-left:-25px}.wangEditor-menu-shadow{border-bottom:1px\9 solid\9 #f1f1f1\9;box-shadow:0 1px 3px #999}.wangEditor-container .wangEditor-txt{width:100%;text-align:left;padding:0 15px 15px;margin-top:5px;overflow-y:auto}.wangEditor-container .wangEditor-txt h1,.wangEditor-container .wangEditor-txt h2,.wangEditor-container .wangEditor-txt h3,.wangEditor-container .wangEditor-txt h4,.wangEditor-container .wangEditor-txt h5,.wangEditor-container .wangEditor-txt p{margin:10px 0;line-height:1.8}.wangEditor-container .wangEditor-txt h1 *,.wangEditor-container .wangEditor-txt h2 *,.wangEditor-container .wangEditor-txt h3 *,.wangEditor-container .wangEditor-txt h4 *,.wangEditor-container .wangEditor-txt h5 *,.wangEditor-container .wangEditor-txt p *{line-height:1.8}.wangEditor-container .wangEditor-txt ol,.wangEditor-container .wangEditor-txt ul{padding-left:20px}.wangEditor-container .wangEditor-txt img{cursor:pointer}.wangEditor-container .wangEditor-txt img.clicked,.wangEditor-container .wangEditor-txt table.clicked{box-shadow:1px 1px 10px #999}.wangEditor-container .wangEditor-txt pre code{line-height:1.5}.wangEditor-container .wangEditor-txt:focus{outline:0}.wangEditor-container .wangEditor-txt blockquote{display:block;border-left:8px solid #d0e5f2;padding:5px 10px;margin:10px 0;line-height:1.4;font-size:100%;background-color:#f1f1f1}.wangEditor-container .wangEditor-txt table{border:none;border-collapse:collapse}.wangEditor-container .wangEditor-txt table td,.wangEditor-container .wangEditor-txt table th{border:1px solid #999;padding:3px 5px;min-width:50px;height:20px}.wangEditor-container .wangEditor-txt pre{border:1px solid #ccc;background-color:#f8f8f8;padding:10px;margin:5px 0;font-size:.8em;border-radius:3px}.txt-toolbar,.wangEditor-drop-list,.wangEditor-drop-panel{z-index:10;border-left:1px\9 solid\9 #ccc\9;border-bottom:1px\9 solid\9 #999\9;border-right:1px\9 solid\9 #999\9;box-shadow:1px 3px 3px #999;position:absolute}.wangEditor-drop-list{display:none;background-color:#fff;overflow:hidden;transition:height .7s;border-top:1px solid #f1f1f1}.wangEditor-drop-list a{display:block;color:#666;padding:3px 5px}.wangEditor-drop-list a:hover{background-color:#f1f1f1}.txt-toolbar,.wangEditor-drop-panel{display:none;padding:10px;font-size:14px;background-color:#fff;border-top:2px solid #666}.txt-toolbar .tip-triangle,.wangEditor-drop-panel .tip-triangle{display:block;position:absolute;width:0;height:0;border:5px solid;border-color:transparent transparent #666;top:-12px;left:50%;margin-left:-5px}.txt-toolbar input[type=text],.wangEditor-drop-panel input[type=text]{border:none;border-bottom:1px solid #ccc;font-size:14px;height:20px;color:#333;padding:3px 0}.txt-toolbar input[type=text]:focus,.wangEditor-drop-panel input[type=text]:focus{outline:0;border-bottom:2px solid #1e88e5}.txt-toolbar input[type=text].block,.wangEditor-drop-panel input[type=text].block{display:block;width:100%}.txt-toolbar textarea,.wangEditor-drop-panel textarea{border:1px solid #ccc}.txt-toolbar textarea:focus,.wangEditor-drop-panel textarea:focus{outline:0;border-color:#1e88e5}.txt-toolbar button,.wangEditor-drop-panel button{font-size:14px;color:#1e88e5;border:none;padding:10px;background-color:#fff;cursor:pointer;border-radius:3px}.txt-toolbar button:hover,.wangEditor-drop-panel button:hover{background-color:#f1f1f1}.txt-toolbar button:focus,.wangEditor-drop-panel button:focus{outline:0}.txt-toolbar button.right,.wangEditor-drop-panel button.right{float:right;margin-left:10px}.txt-toolbar button.gray,.wangEditor-drop-panel button.gray{color:#999}.txt-toolbar button.link,.wangEditor-drop-panel button.link{padding:5px 10px}.txt-toolbar button.link:hover,.wangEditor-drop-panel button.link:hover{background-color:#fff;text-decoration:underline}.txt-toolbar .color-item:hover,.txt-toolbar .list-menu-item:hover,.wangEditor-drop-panel .color-item:hover,.wangEditor-drop-panel .list-menu-item:hover{background-color:#f1f1f1}.txt-toolbar .color-item,.wangEditor-drop-panel .color-item{display:block;float:left;width:25px;height:25px;text-align:center;padding:2px;border-radius:2px;text-decoration:underline}.txt-toolbar .list-menu-item,.wangEditor-drop-panel .list-menu-item{display:block;float:left;color:#333;padding:5px;border-radius:2px}.txt-toolbar table.choose-table,.wangEditor-drop-panel table.choose-table{border:none;border-collapse:collapse}.txt-toolbar table.choose-table td,.wangEditor-drop-panel table.choose-table td{border:1px solid #ccc;width:16px;height:12px}.txt-toolbar table.choose-table td.active,.wangEditor-drop-panel table.choose-table td.active{background-color:#ccc;opacity:.5;filter:alpha(opacity=50)}.txt-toolbar .panel-tab .tab-container,.wangEditor-drop-panel .panel-tab .tab-container{margin-bottom:5px}.txt-toolbar .panel-tab .tab-container a,.wangEditor-drop-panel .panel-tab .tab-container a{display:inline-block;color:#999;text-align:center;margin:0 5px;padding:5px}.txt-toolbar .panel-tab .tab-container a.selected,.wangEditor-drop-panel .panel-tab .tab-container a.selected{color:#1e88e5;border-bottom:2px solid #1e88e5}.txt-toolbar .panel-tab .content-container .content,.wangEditor-drop-panel .panel-tab .content-container .content{display:none}.txt-toolbar .panel-tab .content-container .content a,.wangEditor-drop-panel .panel-tab .content-container .content a{display:inline-block;margin:2px;padding:2px;border-radius:2px}.txt-toolbar .panel-tab .content-container .content a:hover,.wangEditor-drop-panel .panel-tab .content-container .content a:hover{background-color:#f1f1f1}.txt-toolbar .panel-tab .content-container .selected,.wangEditor-drop-panel .panel-tab .content-container .selected{display:block}.txt-toolbar .panel-tab .emotion-content-container,.wangEditor-drop-panel .panel-tab .emotion-content-container{height:200px;overflow-y:auto}.txt-toolbar .upload-icon-container,.wangEditor-drop-panel .upload-icon-container{color:#ccc;text-align:center;margin:20px 20px 15px!important;padding:5px!important;font-size:65px;cursor:pointer;border:2px dotted #f1f1f1;display:block!important}.txt-toolbar .upload-icon-container:hover,.wangEditor-drop-panel .upload-icon-container:hover{color:#666;border-color:#ccc}.wangEditor-modal{position:absolute;top:50%;left:50%;background-color:#fff;border-top:1px solid #f1f1f1;box-shadow:1px 3px 3px #999;border-top:1px\9 solid\9 #ccc\9;border-left:1px\9 solid\9 #ccc\9;border-bottom:1px\9 solid\9 #999\9;border-right:1px\9 solid\9 #999\9}.wangEditor-modal .wangEditor-modal-close{position:absolute;top:0;right:0;margin-top:-25px;margin-right:-25px;font-size:1.5em;color:#666;cursor:pointer}@font-face{font-family:icomoon;src:url(../fonts/icomoon.eot?-qdfu1s);src:url(../fonts/icomoon.eot?#iefix-qdfu1s) format('embedded-opentype'),url(../fonts/icomoon.ttf?-qdfu1s) format('truetype'),url(../fonts/icomoon.woff?-qdfu1s) format('woff'),url(../fonts/icomoon.svg?-qdfu1s#icomoon) format('svg');font-weight:400;font-style:normal}[class*=" wangeditor-menu-img-"],[class^=wangeditor-menu-img-]{font-family:icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wangeditor-menu-img-link:before{content:"\e800"}.wangeditor-menu-img-unlink:before{content:"\e801"}.wangeditor-menu-img-code:before{content:"\e802"}.wangeditor-menu-img-cancel:before{content:"\e803"}.wangeditor-menu-img-terminal:before{content:"\e804"}.wangeditor-menu-img-angle-down:before{content:"\e805"}.wangeditor-menu-img-font:before{content:"\e806"}.wangeditor-menu-img-bold:before{content:"\e807"}.wangeditor-menu-img-italic:before{content:"\e808"}.wangeditor-menu-img-header:before{content:"\e809"}.wangeditor-menu-img-align-left:before{content:"\e80a"}.wangeditor-menu-img-align-center:before{content:"\e80b"}.wangeditor-menu-img-align-right:before{content:"\e80c"}.wangeditor-menu-img-list-bullet:before{content:"\e80d"}.wangeditor-menu-img-indent-left:before{content:"\e80e"}.wangeditor-menu-img-indent-right:before{content:"\e80f"}.wangeditor-menu-img-list-numbered:before{content:"\e810"}.wangeditor-menu-img-underline:before{content:"\e811"}.wangeditor-menu-img-table:before{content:"\e812"}.wangeditor-menu-img-eraser:before{content:"\e813"}.wangeditor-menu-img-text-height:before{content:"\e814"}.wangeditor-menu-img-brush:before{content:"\e815"}.wangeditor-menu-img-pencil:before{content:"\e816"}.wangeditor-menu-img-minus:before{content:"\e817"}.wangeditor-menu-img-picture:before{content:"\e818"}.wangeditor-menu-img-file-image:before{content:"\e819"}.wangeditor-menu-img-cw:before{content:"\e81a"}.wangeditor-menu-img-ccw:before{content:"\e81b"}.wangeditor-menu-img-music:before{content:"\e911"}.wangeditor-menu-img-play:before{content:"\e912"}.wangeditor-menu-img-location:before{content:"\e947"}.wangeditor-menu-img-happy:before{content:"\e9df"}.wangeditor-menu-img-sigma:before{content:"\ea67"}.wangeditor-menu-img-enlarge2:before{content:"\e98b"}.wangeditor-menu-img-shrink2:before{content:"\e98c"}.wangeditor-menu-img-newspaper:before{content:"\e904"}.wangeditor-menu-img-camera:before{content:"\e90f"}.wangeditor-menu-img-video-camera:before{content:"\e914"}.wangeditor-menu-img-file-zip:before{content:"\e92b"}.wangeditor-menu-img-stack:before{content:"\e92e"}.wangeditor-menu-img-credit-card:before{content:"\e93f"}.wangeditor-menu-img-address-book:before{content:"\e944"}.wangeditor-menu-img-envelop:before{content:"\e945"}.wangeditor-menu-img-drawer:before{content:"\e95c"}.wangeditor-menu-img-download:before{content:"\e960"}.wangeditor-menu-img-upload:before{content:"\e961"}.wangeditor-menu-img-lock:before{content:"\e98f"}.wangeditor-menu-img-unlocked:before{content:"\e990"}.wangeditor-menu-img-wrench:before{content:"\e991"}.wangeditor-menu-img-eye:before{content:"\e9ce"}.wangeditor-menu-img-eye-blocked:before{content:"\e9d1"}.wangeditor-menu-img-command:before{content:"\ea4e"}.wangeditor-menu-img-font2:before{content:"\ea5c"}.wangeditor-menu-img-libreoffice:before{content:"\eade"}.wangeditor-menu-img-quotes-left:before{content:"\e977"}.wangeditor-menu-img-strikethrough:before{content:"\ea65"}.wangeditor-menu-img-desktop:before{content:"\f108"}.wangeditor-menu-img-tablet:before{content:"\f10a"}.wangeditor-menu-img-search-plus:before{content:"\f00e"}.wangeditor-menu-img-search-minus:before{content:"\f010"}.wangeditor-menu-img-trash-o:before{content:"\f014"}.wangeditor-menu-img-align-justify:before{content:"\f039"}.wangeditor-menu-img-arrows-v:before{content:"\f07d"}.wangeditor-menu-img-sigma2:before{content:"\ea68"}.wangeditor-menu-img-omega:before{content:"\e900"}.wangeditor-menu-img-cancel-circle:before{content:"\e901"}.hljs{display:block;overflow-x:auto;padding:.5em;color:#333;background:#f8f8f8;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment{color:#998;font-style:italic}.css .rule .hljs-keyword,.hljs-keyword,.hljs-request,.hljs-status,.hljs-subst,.hljs-winutils,.nginx .hljs-title{color:#333;font-weight:700}.hljs-hexcolor,.hljs-number,.ruby .hljs-constant{color:teal}.hljs-doctag,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#d14}.hljs-id,.hljs-title,.scss .hljs-preprocessor{color:#900;font-weight:700}.hljs-list .hljs-keyword,.hljs-subst{font-weight:400}.hljs-class .hljs-title,.hljs-type,.tex .hljs-command,.vhdl .hljs-literal{color:#458;font-weight:700}.django .hljs-tag .hljs-keyword,.hljs-rule .hljs-property,.hljs-tag,.hljs-tag .hljs-title{color:navy;font-weight:400}.hljs-attribute,.hljs-name,.hljs-variable,.lisp .hljs-body{color:teal}.hljs-regexp{color:#009926}.clojure .hljs-keyword,.hljs-prompt,.hljs-symbol,.lisp .hljs-keyword,.ruby .hljs-symbol .hljs-string,.scheme .hljs-keyword,.tex .hljs-special{color:#990073}.hljs-built_in{color:#0086b3}.hljs-cdata,.hljs-doctype,.hljs-pi,.hljs-pragma,.hljs-preprocessor,.hljs-shebang{color:#999;font-weight:700}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.diff .hljs-change{background:#0086b3}.hljs-chunk{color:#aaa} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
static/libs/wangeditor/fonts/icomoon.eot
0 → 100644
No preview for this file type
static/libs/wangeditor/fonts/icomoon.svg
0 → 100644
1 | <?xml version="1.0" standalone="no"?> | ||
2 | <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > | ||
3 | <svg xmlns="http://www.w3.org/2000/svg"> | ||
4 | <metadata>Generated by IcoMoon</metadata> | ||
5 | <defs> | ||
6 | <font id="icomoon" horiz-adv-x="1024"> | ||
7 | <font-face units-per-em="1024" ascent="960" descent="-64" /> | ||
8 | <missing-glyph horiz-adv-x="1024" /> | ||
9 | <glyph unicode=" " horiz-adv-x="512" d="" /> | ||
10 | <glyph unicode="" glyph-name="link" horiz-adv-x="950" d="M831.488 264.704q0 23.552-15.36 38.912l-118.784 118.784q-16.384 16.384-38.912 16.384-24.576 0-40.96-18.432 1.024-1.024 10.24-10.24t12.288-12.288 9.216-11.264 7.168-14.336 2.048-15.36q0-23.552-16.384-38.912t-38.912-16.384q-8.192 0-15.36 2.048t-14.336 7.168-11.264 9.216-12.288 12.288-10.24 10.24q-19.456-17.408-19.456-40.96t16.384-38.912l117.76-118.784q15.36-15.36 38.912-15.36 22.528 0 38.912 15.36l83.968 82.944q15.36 16.384 15.36 37.888zM430.080 668.16q0 22.528-15.36 38.912l-117.76 117.76q-16.384 16.384-38.912 16.384t-38.912-15.36l-83.968-83.968q-16.384-15.36-16.384-37.888t16.384-38.912l118.784-118.784q15.36-15.36 38.912-15.36t40.96 17.408q-2.048 2.048-11.264 11.264t-12.288 12.288-8.192 10.24-7.168 14.336-2.048 16.384q0 22.528 15.36 38.912t38.912 15.36q9.216 0 16.384-2.048t14.336-7.168 10.24-8.192 12.288-12.288 11.264-11.264q18.432 17.408 18.432 41.984zM942.080 264.704q0-68.608-49.152-115.712l-83.968-82.944q-47.104-48.128-115.712-48.128-69.632 0-116.736 49.152l-117.76 117.76q-47.104 48.128-47.104 116.736 0 69.632 50.176 118.784l-50.176 50.176q-49.152-50.176-118.784-50.176-68.608 0-116.736 48.128l-118.784 118.784q-48.128 48.128-48.128 116.736t48.128 115.712l83.968 83.968q48.128 47.104 116.736 47.104t116.736-48.128l116.736-118.784q48.128-47.104 48.128-115.712 0-70.656-50.176-119.808l50.176-50.176q49.152 50.176 118.784 50.176 68.608 0 116.736-48.128l118.784-118.784q48.128-48.128 48.128-116.736z" /> | ||
11 | <glyph unicode="" glyph-name="unlink" horiz-adv-x="950" d="M250.88 233.984l-146.432-146.432q-5.12-5.12-13.312-5.12-6.144 0-13.312 5.12-5.12 5.12-5.12 13.312t5.12 13.312l146.432 145.408q6.144 5.12 13.312 5.12t13.312-5.12q5.12-5.12 5.12-12.288t-5.12-13.312zM347.136 210.432v-183.296q0-8.192-5.12-13.312t-13.312-5.12-12.288 5.12-5.12 13.312v183.296q0 8.192 5.12 13.312t12.288 5.12 13.312-5.12 5.12-13.312zM219.136 338.432q0-8.192-5.12-13.312t-13.312-5.12h-182.272q-8.192 0-13.312 5.12t-5.12 13.312 5.12 13.312 13.312 5.12h182.272q8.192 0 13.312-5.12t5.12-13.312zM942.080 264.704q0-68.608-49.152-115.712l-83.968-82.944q-47.104-48.128-115.712-48.128-69.632 0-116.736 49.152l-190.464 191.488q-12.288 11.264-24.576 31.744l137.216 10.24 155.648-156.672q15.36-15.36 38.912-15.36t38.912 15.36l83.968 82.944q15.36 16.384 15.36 37.888 0 23.552-15.36 38.912l-156.672 157.696 10.24 136.192q20.48-12.288 31.744-23.552l192.512-192.512q48.128-49.152 48.128-116.736zM588.8 678.4l-136.192-10.24-155.648 156.672q-16.384 16.384-38.912 16.384t-38.912-15.36l-83.968-83.968q-16.384-15.36-16.384-37.888t16.384-38.912l156.672-156.672-10.24-137.216q-20.48 12.288-32.768 24.576l-191.488 191.488q-48.128 49.152-48.128 116.736 0 68.608 48.128 115.712l83.968 83.968q48.128 47.104 116.736 47.104t116.736-48.128l190.464-191.488q12.288-12.288 23.552-32.768zM951.296 631.296q0-8.192-5.12-13.312t-13.312-5.12h-183.296q-8.192 0-13.312 5.12t-5.12 13.312 5.12 12.288 13.312 5.12h183.296q8.192 0 13.312-5.12t5.12-12.288zM640 941.568v-182.272q0-8.192-5.12-13.312t-13.312-5.12-13.312 5.12-5.12 13.312v182.272q0 8.192 5.12 13.312t13.312 5.12 13.312-5.12 5.12-13.312zM872.448 855.552l-146.432-146.432q-6.144-5.12-13.312-5.12t-12.288 5.12q-5.12 6.144-5.12 13.312t5.12 13.312l145.408 145.408q6.144 5.12 13.312 5.12t13.312-5.12q5.12-5.12 5.12-12.288t-5.12-13.312z" /> | ||
12 | <glyph unicode="" glyph-name="code" horiz-adv-x="1097" d="M352.256 160.256l-28.672-28.672q-5.12-5.12-12.288-5.12t-13.312 5.12l-266.24 266.24q-6.144 6.144-6.144 13.312t6.144 13.312l266.24 266.24q5.12 6.144 13.312 6.144t12.288-6.144l28.672-28.672q6.144-5.12 6.144-13.312t-6.144-12.288l-224.256-225.28 224.256-224.256q6.144-6.144 6.144-13.312t-6.144-13.312zM690.176 770.56l-212.992-738.304q-2.048-7.168-9.216-11.264t-13.312-1.024l-34.816 9.216q-8.192 3.072-11.264 9.216t-2.048 14.336l212.992 737.28q3.072 8.192 9.216 11.264t13.312 2.048l35.84-10.24q7.168-2.048 11.264-9.216t1.024-13.312zM1065.984 397.824l-266.24-266.24q-6.144-5.12-13.312-5.12t-13.312 5.12l-28.672 28.672q-5.12 6.144-5.12 13.312t5.12 13.312l224.256 224.256-224.256 225.28q-5.12 5.12-5.12 12.288t5.12 13.312l28.672 28.672q6.144 6.144 13.312 6.144t13.312-6.144l266.24-266.24q5.12-5.12 5.12-13.312t-5.12-13.312z" /> | ||
13 | <glyph unicode="" glyph-name="cancel" horiz-adv-x="804" d="M741.376 204.288q0-22.528-15.36-38.912l-77.824-77.824q-16.384-15.36-38.912-15.36t-38.912 15.36l-167.936 168.96-167.936-168.96q-16.384-15.36-38.912-15.36t-38.912 15.36l-77.824 77.824q-16.384 16.384-16.384 38.912t16.384 38.912l167.936 167.936-167.936 167.936q-16.384 16.384-16.384 38.912t16.384 38.912l77.824 77.824q16.384 16.384 38.912 16.384t38.912-16.384l167.936-167.936 167.936 167.936q16.384 16.384 38.912 16.384t38.912-16.384l77.824-77.824q15.36-15.36 15.36-38.912t-15.36-38.912l-167.936-167.936 167.936-167.936q15.36-15.36 15.36-38.912z" /> | ||
14 | <glyph unicode="" glyph-name="terminal" horiz-adv-x="950" d="M333.824 397.824l-266.24-266.24q-5.12-5.12-12.288-5.12t-13.312 5.12l-28.672 28.672q-6.144 6.144-6.144 13.312t6.144 13.312l224.256 224.256-224.256 225.28q-6.144 5.12-6.144 12.288t6.144 13.312l28.672 28.672q5.12 6.144 13.312 6.144t12.288-6.144l266.24-266.24q6.144-5.12 6.144-13.312t-6.144-13.312zM951.296 136.704v-35.84q0-8.192-5.12-13.312t-13.312-5.12h-548.864q-8.192 0-13.312 5.12t-5.12 13.312v35.84q0 8.192 5.12 13.312t13.312 5.12h548.864q8.192 0 13.312-5.12t5.12-13.312z" /> | ||
15 | <glyph unicode="" glyph-name="angle-down" horiz-adv-x="657" d="M614.4 539.136q0-7.168-6.144-13.312l-266.24-266.24q-5.12-5.12-13.312-5.12t-12.288 5.12l-266.24 266.24q-6.144 6.144-6.144 13.312t6.144 13.312l27.648 28.672q6.144 6.144 13.312 6.144t13.312-6.144l224.256-224.256 225.28 224.256q5.12 6.144 13.312 6.144t12.288-6.144l28.672-28.672q6.144-5.12 6.144-13.312z" /> | ||
16 | <glyph unicode="" glyph-name="font" horiz-adv-x="950" d="M414.72 640.512l-97.28-257.024q18.432 0 77.824-1.024t91.136-1.024q11.264 0 32.768 1.024-49.152 144.384-104.448 258.048zM0 8.704l1.024 45.056q13.312 4.096 31.744 7.168t32.768 6.144 28.672 8.192 25.6 17.408 17.408 28.672l135.168 352.256 159.744 413.696h73.728q4.096-8.192 6.144-12.288l116.736-274.432q19.456-45.056 61.44-147.456t64.512-156.672q9.216-19.456 33.792-82.944t40.96-96.256q11.264-25.6 19.456-31.744 11.264-9.216 50.176-17.408t48.128-11.264q4.096-22.528 4.096-32.768 0-2.048-1.024-7.168t0-8.192q-35.84 0-108.544 5.12t-109.568 4.096q-43.008 0-122.88-4.096t-101.376-4.096q0 24.576 2.048 44.032l74.752 16.384q1.024 0 7.168 1.024t9.216 2.048 8.192 3.072 9.216 4.096 6.144 4.096 5.12 6.144 1.024 8.192q0 9.216-17.408 55.296t-40.96 101.376-24.576 57.344l-257.024 1.024q-14.336-33.792-44.032-111.616t-28.672-93.184q0-12.288 8.192-21.504t24.576-14.336 27.648-7.168 32.768-5.12 23.552-2.048q1.024-11.264 1.024-32.768 0-5.12-2.048-16.384-32.768 0-99.328 6.144t-99.328 6.144q-5.12 0-15.36-3.072t-12.288-2.048q-46.080-8.192-107.52-8.192z" /> | ||
17 | <glyph unicode="" glyph-name="bold" horiz-adv-x="804" d="M317.44 90.624q41.984-18.432 79.872-18.432 215.040 0 215.040 191.488 0 65.536-23.552 103.424-15.36 24.576-35.84 41.984t-37.888 26.624-46.080 14.336-48.128 6.144-54.272 1.024q-40.96 0-57.344-6.144 0-29.696 0-90.112t-1.024-91.136q0-4.096 0-37.888t0-55.296 2.048-48.128 7.168-37.888zM309.248 517.632q23.552-4.096 62.464-4.096 47.104 0 81.92 7.168t62.464 25.6 41.984 51.2 15.36 80.896q0 39.936-16.384 69.632t-46.080 47.104-61.44 24.576-70.656 8.192q-28.672 0-74.752-7.168 0-28.672 3.072-86.016t2.048-87.040q0-15.36 0-46.080t-1.024-45.056q0-26.624 1.024-38.912zM0 8.704l1.024 54.272q9.216 2.048 49.152 9.216t60.416 15.36q4.096 7.168 7.168 15.36t4.096 19.456 4.096 18.432 1.024 21.504 0 19.456v36.864q0 561.152-12.288 585.728-2.048 5.12-12.288 8.192t-25.6 6.144-28.672 4.096-27.648 3.072-17.408 2.048l-2.048 47.104q56.32 1.024 194.56 6.144t212.992 5.12q13.312 0 38.912 0t38.912 0q39.936 0 77.824-7.168t73.728-24.576 61.44-39.936 41.984-60.416 16.384-77.824q0-29.696-9.216-55.296t-22.528-40.96-36.864-32.768-41.984-25.6-48.128-22.528q88.064-20.48 147.456-76.8t58.368-142.336q0-56.32-20.48-102.4t-53.248-74.752-78.848-48.128-93.184-27.648-100.352-8.192q-25.6 0-75.776 2.048t-75.776 1.024q-60.416 0-175.104-6.144t-132.096-7.168z" /> | ||
18 | <glyph unicode="" glyph-name="italic" horiz-adv-x="585" d="M0 9.728l10.24 49.152q3.072 1.024 46.080 12.288t63.488 21.504q16.384 19.456 23.552 57.344 1.024 4.096 35.84 165.888t64.512 310.272 29.696 168.96v14.336q-13.312 7.168-30.72 11.264t-39.936 4.096-32.768 3.072l10.24 59.392q19.456-2.048 68.608-4.096t86.016-4.096 68.608-1.024q27.648 0 56.32 1.024t68.608 4.096 56.32 4.096q-2.048-22.528-10.24-51.2-17.408-6.144-58.368-16.384t-61.44-19.456q-5.12-10.24-8.192-23.552t-5.12-23.552-4.096-25.6-4.096-24.576q-15.36-83.968-50.176-239.616t-44.032-202.752q-1.024-5.12-7.168-32.768t-11.264-52.224-9.216-47.104-4.096-32.768l1.024-10.24q9.216-3.072 105.472-18.432-2.048-24.576-9.216-56.32-6.144 0-18.432-1.024t-18.432-1.024q-16.384 0-50.176 6.144t-49.152 6.144q-78.848 1.024-117.76 1.024-28.672 0-80.896-5.12t-69.632-6.144z" /> | ||
19 | <glyph unicode="" glyph-name="header" d="M961.536 8.704q-25.6 0-75.776 2.048t-76.8 2.048q-24.576 0-74.752-2.048t-75.776-2.048q-14.336 0-21.504 12.288t-7.168 25.6q0 17.408 9.216 26.624t22.528 9.216 29.696 4.096 25.6 9.216q18.432 11.264 18.432 79.872v223.232q0 12.288-1.024 17.408-7.168 3.072-28.672 3.072h-385.024q-22.528 0-29.696-3.072 0-5.12 0-17.408l-1.024-211.968q0-80.896 21.504-94.208 9.216-5.12 26.624-7.168t32.768-2.048 25.6-8.192 11.264-26.624q0-14.336-7.168-26.624t-20.48-13.312q-26.624 0-79.872 2.048t-78.848 2.048q-24.576 0-72.704-2.048t-72.704-2.048q-13.312 0-20.48 12.288t-7.168 25.6q0 17.408 9.216 25.6t20.48 10.24 26.624 4.096 24.576 9.216q18.432 13.312 18.432 81.92l-1.024 31.744v464.896q0 2.048 1.024 14.336t0 21.504-1.024 21.504-2.048 24.576-4.096 20.48-6.144 18.432-9.216 10.24q-8.192 5.12-25.6 6.144t-29.696 2.048-23.552 7.168-10.24 26.624q0 14.336 6.144 26.624t20.48 13.312q26.624 0 79.872-2.048t78.848-2.048q23.552 0 72.704 2.048t71.68 2.048q14.336 0 21.504-13.312t7.168-26.624q0-17.408-9.216-25.6t-22.528-8.192-28.672-2.048-24.576-7.168q-19.456-12.288-19.456-92.16l1.024-182.272q0-12.288 0-18.432 7.168-2.048 22.528-2.048h399.36q14.336 0 21.504 2.048 1.024 6.144 1.024 18.432v182.272q0 79.872-19.456 92.16-10.24 6.144-33.792 7.168t-37.888 7.168-14.336 28.672q0 14.336 7.168 26.624t21.504 13.312q24.576 0 75.776-2.048t74.752-2.048q24.576 0 73.728 2.048t73.728 2.048q14.336 0 21.504-13.312t7.168-26.624q0-17.408-10.24-25.6t-22.528-8.192-29.696-2.048-24.576-7.168q-20.48-13.312-20.48-92.16l1.024-538.624q0-67.584 19.456-79.872 9.216-6.144 25.6-7.168t30.72-3.072 23.552-9.216 10.24-24.576q0-15.36-6.144-27.648t-20.48-13.312z" /> | ||
20 | <glyph unicode="" glyph-name="align-left" d="M1024 192v-72.704q0-15.36-11.264-25.6t-25.6-11.264h-950.272q-15.36 0-25.6 11.264t-11.264 25.6v72.704q0 15.36 11.264 25.6t25.6 11.264h950.272q15.36 0 25.6-11.264t11.264-25.6zM804.864 411.136v-72.704q0-15.36-11.264-25.6t-25.6-11.264h-731.136q-15.36 0-25.6 11.264t-11.264 25.6v72.704q0 15.36 11.264 25.6t25.6 11.264h731.136q15.36 0 25.6-11.264t11.264-25.6zM951.296 631.296v-73.728q0-14.336-11.264-25.6t-25.6-11.264h-877.568q-15.36 0-25.6 11.264t-11.264 25.6v73.728q0 14.336 11.264 25.6t25.6 10.24h877.568q14.336 0 25.6-10.24t11.264-25.6zM731.136 850.432v-73.728q0-14.336-10.24-25.6t-25.6-10.24h-658.432q-15.36 0-25.6 10.24t-11.264 25.6v73.728q0 14.336 11.264 25.6t25.6 11.264h658.432q14.336 0 25.6-11.264t10.24-25.6z" /> | ||
21 | <glyph unicode="" glyph-name="align-center" d="M1024 192v-72.704q0-15.36-11.264-25.6t-25.6-11.264h-950.272q-15.36 0-25.6 11.264t-11.264 25.6v72.704q0 15.36 11.264 25.6t25.6 11.264h950.272q15.36 0 25.6-11.264t11.264-25.6zM804.864 411.136v-72.704q0-15.36-11.264-25.6t-25.6-11.264h-512q-14.336 0-25.6 11.264t-11.264 25.6v72.704q0 15.36 11.264 25.6t25.6 11.264h512q15.36 0 25.6-11.264t11.264-25.6zM951.296 631.296v-73.728q0-14.336-11.264-25.6t-25.6-11.264h-804.864q-14.336 0-25.6 11.264t-11.264 25.6v73.728q0 14.336 11.264 25.6t25.6 10.24h804.864q14.336 0 25.6-10.24t11.264-25.6zM731.136 850.432v-73.728q0-14.336-10.24-25.6t-25.6-10.24h-366.592q-14.336 0-25.6 10.24t-10.24 25.6v73.728q0 14.336 10.24 25.6t25.6 11.264h366.592q14.336 0 25.6-11.264t10.24-25.6z" /> | ||
22 | <glyph unicode="" glyph-name="align-right" d="M1024 192v-72.704q0-15.36-11.264-25.6t-25.6-11.264h-950.272q-15.36 0-25.6 11.264t-11.264 25.6v72.704q0 15.36 11.264 25.6t25.6 11.264h950.272q15.36 0 25.6-11.264t11.264-25.6zM1024 411.136v-72.704q0-15.36-11.264-25.6t-25.6-11.264h-731.136q-14.336 0-25.6 11.264t-11.264 25.6v72.704q0 15.36 11.264 25.6t25.6 11.264h731.136q15.36 0 25.6-11.264t11.264-25.6zM1024 631.296v-73.728q0-14.336-11.264-25.6t-25.6-11.264h-877.568q-14.336 0-25.6 11.264t-11.264 25.6v73.728q0 14.336 11.264 25.6t25.6 10.24h877.568q15.36 0 25.6-10.24t11.264-25.6zM1024 850.432v-73.728q0-14.336-11.264-25.6t-25.6-10.24h-658.432q-14.336 0-25.6 10.24t-10.24 25.6v73.728q0 14.336 10.24 25.6t25.6 11.264h658.432q15.36 0 25.6-11.264t11.264-25.6z" /> | ||
23 | <glyph unicode="" glyph-name="list-bullet" d="M219.136 155.136q0-45.056-31.744-77.824t-77.824-31.744-77.824 31.744-31.744 77.824 31.744 77.824 77.824 31.744 77.824-31.744 31.744-77.824zM219.136 448q0-46.080-31.744-77.824t-77.824-31.744-77.824 31.744-31.744 77.824 31.744 77.824 77.824 31.744 77.824-31.744 31.744-77.824zM1024 210.432v-109.568q0-7.168-5.12-13.312t-13.312-5.12h-694.272q-8.192 0-13.312 5.12t-5.12 13.312v109.568q0 7.168 5.12 12.288t13.312 6.144h694.272q7.168 0 13.312-6.144t5.12-12.288zM219.136 740.864q0-46.080-31.744-77.824t-77.824-31.744-77.824 31.744-31.744 77.824 31.744 77.824 77.824 31.744 77.824-31.744 31.744-77.824zM1024 503.296v-110.592q0-7.168-5.12-12.288t-13.312-5.12h-694.272q-8.192 0-13.312 5.12t-5.12 12.288v110.592q0 7.168 5.12 12.288t13.312 5.12h694.272q7.168 0 13.312-5.12t5.12-12.288zM1024 795.136v-109.568q0-7.168-5.12-12.288t-13.312-6.144h-694.272q-8.192 0-13.312 6.144t-5.12 12.288v109.568q0 8.192 5.12 13.312t13.312 5.12h694.272q7.168 0 13.312-5.12t5.12-13.312z" /> | ||
24 | <glyph unicode="" glyph-name="indent-left" d="M219.136 648.704v-328.704q0-7.168-5.12-13.312t-13.312-5.12q-7.168 0-12.288 5.12l-164.864 164.864q-5.12 5.12-5.12 13.312t5.12 13.312l164.864 163.84q5.12 5.12 12.288 5.12 8.192 0 13.312-5.12t5.12-13.312zM1024 210.432v-109.568q0-7.168-5.12-13.312t-13.312-5.12h-987.136q-7.168 0-13.312 5.12t-5.12 13.312v109.568q0 7.168 5.12 12.288t13.312 6.144h987.136q7.168 0 13.312-6.144t5.12-12.288zM1024 429.568v-109.568q0-7.168-5.12-13.312t-13.312-5.12h-621.568q-7.168 0-13.312 5.12t-5.12 13.312v109.568q0 7.168 5.12 13.312t13.312 5.12h621.568q7.168 0 13.312-5.12t5.12-13.312zM1024 648.704v-109.568q0-7.168-5.12-12.288t-13.312-6.144h-621.568q-7.168 0-13.312 6.144t-5.12 12.288v109.568q0 8.192 5.12 13.312t13.312 5.12h621.568q7.168 0 13.312-5.12t5.12-13.312zM1024 868.864v-109.568q0-8.192-5.12-13.312t-13.312-5.12h-987.136q-7.168 0-13.312 5.12t-5.12 13.312v109.568q0 7.168 5.12 12.288t13.312 6.144h987.136q7.168 0 13.312-6.144t5.12-12.288z" /> | ||
25 | <glyph unicode="" glyph-name="indent-right" d="M200.704 484.864q0-8.192-5.12-13.312l-163.84-164.864q-5.12-5.12-13.312-5.12-7.168 0-13.312 5.12t-5.12 13.312v328.704q0 8.192 5.12 13.312t13.312 5.12 13.312-5.12l163.84-163.84q5.12-5.12 5.12-13.312zM1024 210.432v-109.568q0-7.168-5.12-13.312t-13.312-5.12h-987.136q-7.168 0-13.312 5.12t-5.12 13.312v109.568q0 7.168 5.12 12.288t13.312 6.144h987.136q7.168 0 13.312-6.144t5.12-12.288zM1024 429.568v-109.568q0-7.168-5.12-13.312t-13.312-5.12h-621.568q-7.168 0-13.312 5.12t-5.12 13.312v109.568q0 7.168 5.12 13.312t13.312 5.12h621.568q7.168 0 13.312-5.12t5.12-13.312zM1024 648.704v-109.568q0-7.168-5.12-12.288t-13.312-6.144h-621.568q-7.168 0-13.312 6.144t-5.12 12.288v109.568q0 8.192 5.12 13.312t13.312 5.12h621.568q7.168 0 13.312-5.12t5.12-13.312zM1024 868.864v-109.568q0-8.192-5.12-13.312t-13.312-5.12h-987.136q-7.168 0-13.312 5.12t-5.12 13.312v109.568q0 7.168 5.12 12.288t13.312 6.144h987.136q7.168 0 13.312-6.144t5.12-12.288z" /> | ||
26 | <glyph unicode="" glyph-name="list-numbered" d="M218.112 34.304q0-46.080-31.744-71.68t-76.8-26.624q-61.44 0-98.304 37.888l31.744 50.176q28.672-25.6 61.44-25.6 16.384 0 28.672 8.192t12.288 24.576q0 35.84-60.416 31.744l-14.336 31.744q4.096 6.144 18.432 24.576t24.576 31.744 20.48 21.504v1.024q-9.216 0-27.648-1.024t-27.648 0v-30.72h-60.416v87.040h190.464v-50.176l-54.272-66.56q28.672-6.144 46.080-27.648t17.408-50.176zM219.136 392.704v-91.136h-206.848q-4.096 20.48-4.096 30.72 0 29.696 14.336 53.248t31.744 38.912 37.888 27.648 31.744 24.576 14.336 25.6q0 14.336-9.216 22.528t-22.528 7.168q-25.6 0-46.080-32.768l-48.128 33.792q13.312 28.672 40.96 45.056t60.416 16.384q40.96 0 69.632-23.552t28.672-64.512q0-28.672-19.456-52.224t-43.008-36.864-43.008-28.672-20.48-30.72h72.704v34.816h60.416zM1024 210.432v-109.568q0-8.192-5.12-13.312t-13.312-5.12h-694.272q-8.192 0-13.312 5.12t-5.12 13.312v109.568q0 8.192 5.12 13.312t13.312 5.12h694.272q7.168 0 13.312-6.144t5.12-12.288zM219.136 724.48v-57.344h-191.488v57.344h61.44q0 22.528 0 69.632t1.024 68.608v7.168h-1.024q-5.12-10.24-28.672-30.72l-40.96 43.008 77.824 72.704h60.416v-230.4h61.44zM1024 503.296v-110.592q0-7.168-5.12-12.288t-13.312-5.12h-694.272q-8.192 0-13.312 5.12t-5.12 12.288v110.592q0 7.168 5.12 12.288t13.312 5.12h694.272q7.168 0 13.312-5.12t5.12-12.288zM1024 795.136v-109.568q0-7.168-5.12-12.288t-13.312-6.144h-694.272q-8.192 0-13.312 6.144t-5.12 12.288v109.568q0 8.192 5.12 13.312t13.312 5.12h694.272q7.168 0 13.312-5.12t5.12-13.312z" /> | ||
27 | <glyph unicode="" glyph-name="underline" horiz-adv-x="878" d="M27.648 833.024q-21.504 1.024-25.6 2.048l-2.048 50.176q7.168 0 22.528 0 34.816 0 64.512-2.048 75.776-4.096 94.208-4.096 49.152 0 96.256 2.048 66.56 2.048 83.968 3.072 31.744 0 49.152 1.024l-1.024-8.192 1.024-36.864v-5.12q-33.792-5.12-70.656-5.12-33.792 0-45.056-14.336-7.168-7.168-7.168-74.752 0-8.192 0-18.432t0-15.36l1.024-131.072 8.192-159.744q3.072-70.656 28.672-114.688 20.48-33.792 55.296-53.248 50.176-26.624 100.352-26.624 59.392 0 109.568 16.384 31.744 10.24 56.32 28.672 27.648 20.48 37.888 36.864 20.48 31.744 29.696 64.512 12.288 41.984 12.288 131.072 0 45.056-2.048 73.728t-6.144 69.632-8.192 91.136l-2.048 33.792q-3.072 37.888-13.312 50.176-19.456 20.48-44.032 19.456l-57.344-1.024-8.192 2.048 1.024 49.152h48.128l116.736-6.144q44.032-2.048 112.64 6.144l10.24-2.048q3.072-21.504 3.072-28.672 0-4.096-2.048-17.408-25.6-7.168-48.128-8.192-41.984-6.144-45.056-9.216-8.192-9.216-8.192-23.552 0-4.096 0-15.36t1.024-17.408q5.12-11.264 13.312-226.304 3.072-111.616-9.216-174.080-8.192-43.008-23.552-69.632-21.504-36.864-63.488-70.656-43.008-32.768-104.448-50.176-62.464-19.456-145.408-19.456-95.232 0-162.816 26.624t-101.376 69.632q-34.816 43.008-48.128 111.616-9.216 45.056-9.216 135.168v190.464q0 107.52-9.216 121.856-14.336 20.48-83.968 21.504zM877.568 27.136v36.864q0 8.192-5.12 13.312t-13.312 5.12h-840.704q-8.192 0-13.312-5.12t-5.12-13.312v-36.864q0-8.192 5.12-13.312t13.312-5.12h840.704q8.192 0 13.312 5.12t5.12 13.312z" /> | ||
28 | <glyph unicode="" glyph-name="table" horiz-adv-x="950" d="M292.864 173.568v109.568q0 8.192-5.12 13.312t-13.312 5.12h-183.296q-7.168 0-13.312-5.12t-5.12-13.312v-109.568q0-8.192 5.12-13.312t13.312-5.12h183.296q8.192 0 13.312 5.12t5.12 13.312zM292.864 392.704v110.592q0 7.168-5.12 12.288t-13.312 5.12h-183.296q-7.168 0-13.312-5.12t-5.12-12.288v-110.592q0-7.168 5.12-12.288t13.312-5.12h183.296q8.192 0 13.312 5.12t5.12 12.288zM584.704 173.568v109.568q0 8.192-5.12 13.312t-12.288 5.12h-183.296q-8.192 0-13.312-5.12t-5.12-13.312v-109.568q0-8.192 5.12-13.312t13.312-5.12h183.296q7.168 0 12.288 5.12t5.12 13.312zM292.864 612.864v109.568q0 8.192-5.12 13.312t-13.312 5.12h-183.296q-7.168 0-13.312-5.12t-5.12-13.312v-109.568q0-8.192 5.12-13.312t13.312-5.12h183.296q8.192 0 13.312 5.12t5.12 13.312zM584.704 392.704v110.592q0 7.168-5.12 12.288t-12.288 5.12h-183.296q-8.192 0-13.312-5.12t-5.12-12.288v-110.592q0-7.168 5.12-12.288t13.312-5.12h183.296q7.168 0 12.288 5.12t5.12 12.288zM877.568 173.568v109.568q0 8.192-5.12 13.312t-13.312 5.12h-182.272q-8.192 0-13.312-5.12t-5.12-13.312v-109.568q0-8.192 5.12-13.312t13.312-5.12h182.272q8.192 0 13.312 5.12t5.12 13.312zM584.704 612.864v109.568q0 8.192-5.12 13.312t-12.288 5.12h-183.296q-8.192 0-13.312-5.12t-5.12-13.312v-109.568q0-8.192 5.12-13.312t13.312-5.12h183.296q7.168 0 12.288 5.12t5.12 13.312zM877.568 392.704v110.592q0 7.168-5.12 12.288t-13.312 5.12h-182.272q-8.192 0-13.312-5.12t-5.12-12.288v-110.592q0-7.168 5.12-12.288t13.312-5.12h182.272q8.192 0 13.312 5.12t5.12 12.288zM877.568 612.864v109.568q0 8.192-5.12 13.312t-13.312 5.12h-182.272q-8.192 0-13.312-5.12t-5.12-13.312v-109.568q0-8.192 5.12-13.312t13.312-5.12h182.272q8.192 0 13.312 5.12t5.12 13.312zM951.296 795.136v-621.568q0-37.888-27.648-64.512t-64.512-26.624h-768q-36.864 0-64.512 26.624t-26.624 64.512v621.568q0 37.888 26.624 64.512t64.512 27.648h768q37.888 0 64.512-27.648t27.648-64.512z" /> | ||
29 | <glyph unicode="" glyph-name="eraser" horiz-adv-x="1097" d="M512 155.136l192.512 220.16h-439.296l-192.512-220.16h439.296zM1090.56 770.56q9.216-19.456 6.144-40.96t-17.408-36.864l-512-585.728q-22.528-24.576-55.296-24.576h-439.296q-21.504 0-38.912 11.264t-27.648 31.744q-8.192 19.456-5.12 40.96t17.408 36.864l512 585.728q21.504 24.576 54.272 24.576h439.296q21.504 0 39.936-11.264t26.624-31.744z" /> | ||
30 | <glyph unicode="" glyph-name="text-height" d="M996.352 155.136q19.456 0 24.576-10.24t-6.144-25.6l-72.704-92.16q-11.264-15.36-27.648-15.36t-27.648 15.36l-72.704 92.16q-11.264 15.36-6.144 25.6t23.552 10.24h46.080v585.728h-46.080q-18.432 0-23.552 10.24t6.144 25.6l72.704 92.16q11.264 15.36 27.648 15.36t27.648-15.36l72.704-92.16q11.264-15.36 6.144-25.6t-24.576-10.24h-45.056v-585.728h45.056zM46.080 886.272l30.72-15.36q7.168-3.072 120.832-3.072 25.6 0 75.776 1.024t74.752 1.024q21.504 0 61.44 0t61.44 0h167.936q3.072 0 12.288 0t11.264 0 9.216 1.024 10.24 5.12 8.192 10.24l24.576 1.024q2.048 0 7.168-1.024t8.192 0q1.024-63.488 1.024-191.488 0-46.080-2.048-62.464-22.528-8.192-38.912-10.24-14.336 24.576-31.744 72.704-1.024 5.12-6.144 27.648t-8.192 41.984-4.096 20.48q-3.072 4.096-7.168 7.168t-8.192 3.072-8.192 1.024-10.24 1.024-9.216-1.024q-9.216 0-37.888 1.024t-43.008 0-35.84-1.024-40.96-4.096q-5.12-46.080-4.096-76.8 0-54.272 1.024-222.208t1.024-260.096q0-9.216-1.024-40.96t0-52.224 7.168-38.912q22.528-12.288 70.656-24.576t68.608-21.504q2.048-22.528 2.048-28.672 0-8.192-1.024-16.384l-19.456-1.024q-44.032-1.024-124.928 5.12t-117.76 5.12q-28.672 0-87.040-5.12t-86.016-5.12q-2.048 29.696-2.048 29.696v5.12q9.216 15.36 34.816 24.576t56.32 17.408 45.056 15.36q10.24 23.552 10.24 218.112 0 58.368-1.024 173.056t-2.048 174.080v66.56q0 1.024 0 8.192t1.024 14.336-1.024 15.36-2.048 13.312-3.072 8.192q-6.144 7.168-92.16 7.168-18.432 0-53.248-7.168t-45.056-15.36q-11.264-7.168-19.456-40.96t-18.432-63.488-24.576-30.72q-23.552 15.36-31.744 25.6v218.112z" /> | ||
31 | <glyph unicode="" glyph-name="brush" d="M922.624 960q39.936 0 70.656-26.624t29.696-66.56q0-35.84-25.6-86.016-189.44-359.424-266.24-430.080-55.296-52.224-123.904-52.224-72.704 0-123.904 53.248t-52.224 124.928q0 73.728 53.248 121.856l364.544 330.752q33.792 30.72 73.728 30.72zM403.456 369.152q22.528-43.008 60.416-74.752t86.016-43.008l1.024-40.96q2.048-121.856-73.728-197.632t-199.68-76.8q-69.632 0-123.904 26.624t-88.064 72.704-49.152 104.448-16.384 125.952q4.096-3.072 23.552-17.408t35.84-25.6 32.768-20.48 26.624-9.216q23.552 0 31.744 20.48 14.336 37.888 32.768 64.512t39.936 43.008 50.176 27.648 58.368 14.336 71.68 6.144z" /> | ||
32 | <glyph unicode="" glyph-name="pencil" horiz-adv-x="878" d="M207.872 82.432l51.2 52.224-134.144 134.144-52.224-52.224v-61.44h73.728v-72.704h61.44zM505.856 612.864q0 12.288-12.288 12.288-5.12 0-9.216-4.096l-310.272-309.248q-4.096-4.096-4.096-10.24 0-12.288 13.312-12.288 5.12 0 9.216 4.096l310.272 309.248q3.072 4.096 3.072 10.24zM475.136 722.432l237.568-237.568-475.136-476.16h-237.568v238.592zM865.28 667.136q0-29.696-20.48-51.2l-95.232-95.232-237.568 238.592 95.232 94.208q20.48 21.504 51.2 21.504 29.696 0 52.224-21.504l134.144-134.144q20.48-22.528 20.48-52.224z" /> | ||
33 | <glyph unicode="" glyph-name="minus" horiz-adv-x="804" d="M804.864 539.136v-109.568q0-22.528-16.384-38.912t-38.912-15.36h-694.272q-23.552 0-38.912 15.36t-16.384 38.912v109.568q0 23.552 16.384 38.912t38.912 16.384h694.272q22.528 0 38.912-16.384t16.384-38.912z" /> | ||
34 | <glyph unicode="" glyph-name="picture" horiz-adv-x="1097" d="M365.568 631.296q0-46.080-31.744-77.824t-77.824-32.768-77.824 32.768-31.744 77.824 31.744 76.8 77.824 32.768 77.824-32.768 31.744-76.8zM951.296 411.136v-256h-804.864v109.568l182.272 183.296 92.16-91.136 291.84 291.84zM1005.568 813.568h-914.432q-7.168 0-12.288-5.12t-6.144-13.312v-694.272q0-8.192 6.144-13.312t12.288-5.12h914.432q7.168 0 13.312 5.12t5.12 13.312v694.272q0 7.168-5.12 13.312t-13.312 5.12zM1096.704 795.136v-694.272q0-37.888-26.624-64.512t-64.512-27.648h-914.432q-36.864 0-64.512 27.648t-26.624 64.512v694.272q0 37.888 26.624 64.512t64.512 27.648h914.432q37.888 0 64.512-27.648t26.624-64.512z" /> | ||
35 | <glyph unicode="" glyph-name="file-image" horiz-adv-x="878" d="M838.656 742.912q16.384-16.384 27.648-43.008t11.264-51.2v-657.408q0-23.552-15.36-38.912t-38.912-16.384h-768q-23.552 0-38.912 16.384t-16.384 38.912v913.408q0 23.552 16.384 38.912t38.912 16.384h512q22.528 0 50.176-11.264t43.008-27.648zM584.704 882.176v-215.040h215.040q-5.12 16.384-12.288 23.552l-179.2 179.2q-6.144 7.168-23.552 12.288zM804.864 8.704v585.728h-237.568q-23.552 0-38.912 15.36t-16.384 38.912v238.592h-439.296v-878.592h732.16zM731.136 264.704v-182.272h-584.704v109.568l109.568 109.568 72.704-72.704 220.16 219.136zM256 375.296q-46.080 0-77.824 31.744t-31.744 77.824 31.744 77.824 77.824 31.744 77.824-31.744 31.744-77.824-31.744-77.824-77.824-31.744z" /> | ||
36 | <glyph unicode="" glyph-name="cw" horiz-adv-x="878" d="M877.568 813.568v-256q0-14.336-10.24-25.6t-26.624-11.264h-256q-23.552 0-32.768 23.552-10.24 22.528 7.168 38.912l78.848 78.848q-83.968 78.848-198.656 78.848-59.392 0-113.664-23.552t-93.184-62.464-63.488-93.184-22.528-113.664 22.528-113.664 63.488-93.184 93.184-62.464 113.664-23.552q67.584 0 128 29.696t102.4 83.968q4.096 6.144 13.312 7.168 8.192 0 14.336-5.12l77.824-78.848q5.12-4.096 6.144-11.264t-5.12-13.312q-61.44-75.776-150.528-116.736t-186.368-41.984q-89.088 0-171.008 34.816t-139.264 94.208-94.208 140.288-34.816 169.984 34.816 169.984 94.208 140.288 139.264 94.208 171.008 34.816q83.968 0 161.792-31.744t140.288-90.112l73.728 73.728q16.384 18.432 39.936 8.192 22.528-9.216 22.528-33.792z" /> | ||
37 | <glyph unicode="" glyph-name="ccw" horiz-adv-x="878" d="M877.568 448q0-89.088-34.816-169.984t-93.184-140.288-140.288-94.208-169.984-34.816q-98.304 0-187.392 41.984t-150.528 116.736q-4.096 6.144-4.096 13.312t5.12 11.264l77.824 78.848q6.144 5.12 14.336 5.12 9.216-1.024 13.312-7.168 41.984-54.272 102.4-83.968t129.024-29.696q59.392 0 112.64 23.552t94.208 62.464 62.464 93.184 22.528 113.664-22.528 113.664-62.464 93.184-94.208 62.464-112.64 23.552q-56.32 0-107.52-20.48t-92.16-58.368l78.848-78.848q17.408-16.384 8.192-38.912-10.24-23.552-33.792-23.552h-256q-15.36 0-25.6 11.264t-11.264 25.6v256q0 24.576 22.528 33.792 22.528 10.24 39.936-8.192l73.728-73.728q61.44 58.368 140.288 90.112t162.816 31.744q89.088 0 169.984-34.816t140.288-94.208 93.184-140.288 34.816-169.984z" /> | ||
38 | <glyph unicode="" glyph-name="omega" d="M704 64h256l64 128v-256h-384v214.214c131.112 56.484 224 197.162 224 361.786 0 214.432-157.598 382.266-352 382.266-194.406 0-352-167.832-352-382.266 0-164.624 92.886-305.302 224-361.786v-214.214h-384v256l64-128h256v32.59c-187.63 66.46-320 227.402-320 415.41 0 247.424 229.23 448 512 448s512-200.576 512-448c0-188.008-132.37-348.95-320-415.41v-32.59z" /> | ||
39 | <glyph unicode="" glyph-name="cancel-circle" d="M512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM512 32c-229.75 0-416 186.25-416 416s186.25 416 416 416 416-186.25 416-416-186.25-416-416-416zM672 704l-160-160-160 160-96-96 160-160-160-160 96-96 160 160 160-160 96 96-160 160 160 160z" /> | ||
40 | <glyph unicode="" glyph-name="newspaper" d="M896 704v128h-896v-704c0-35.346 28.654-64 64-64h864c53.022 0 96 42.978 96 96v544h-128zM832 128h-768v640h768v-640zM128 640h640v-64h-640zM512 512h256v-64h-256zM512 384h256v-64h-256zM512 256h192v-64h-192zM128 512h320v-320h-320z" /> | ||
41 | <glyph unicode="" glyph-name="camera" d="M304 352c0-114.876 93.124-208 208-208s208 93.124 208 208-93.124 208-208 208-208-93.124-208-208zM960 704h-224c-16 64-32 128-96 128h-256c-64 0-80-64-96-128h-224c-35.2 0-64-28.8-64-64v-576c0-35.2 28.8-64 64-64h896c35.2 0 64 28.8 64 64v576c0 35.2-28.8 64-64 64zM512 68c-156.85 0-284 127.148-284 284 0 156.85 127.15 284 284 284 156.852 0 284-127.15 284-284 0-156.852-127.146-284-284-284zM960 512h-128v64h128v-64z" /> | ||
42 | <glyph unicode="" glyph-name="music" d="M960 960h64v-736c0-88.366-100.29-160-224-160s-224 71.634-224 160c0 88.368 100.29 160 224 160 62.684 0 119.342-18.4 160-48.040v368.040l-512-113.778v-494.222c0-88.366-100.288-160-224-160s-224 71.634-224 160c0 88.368 100.288 160 224 160 62.684 0 119.342-18.4 160-48.040v624.040l576 128z" /> | ||
43 | <glyph unicode="" glyph-name="play" d="M981.188 799.892c-143.632 20.65-302.332 32.108-469.186 32.108-166.86 0-325.556-11.458-469.194-32.108-27.53-107.726-42.808-226.75-42.808-351.892 0-125.14 15.278-244.166 42.808-351.89 143.638-20.652 302.336-32.11 469.194-32.11 166.854 0 325.552 11.458 469.186 32.11 27.532 107.724 42.812 226.75 42.812 351.89 0 125.142-15.28 244.166-42.812 351.892zM384.002 256v384l320-192-320-192z" /> | ||
44 | <glyph unicode="" glyph-name="video-camera" d="M384 672c0 88.366 71.634 160 160 160s160-71.634 160-160c0-88.366-71.634-160-160-160s-160 71.634-160 160zM0 672c0 88.366 71.634 160 160 160s160-71.634 160-160c0-88.366-71.634-160-160-160s-160 71.634-160 160zM768 352v96c0 35.2-28.8 64-64 64h-640c-35.2 0-64-28.8-64-64v-320c0-35.2 28.8-64 64-64h640c35.2 0 64 28.8 64 64v96l256-160v448l-256-160zM640 192h-512v192h512v-192z" /> | ||
45 | <glyph unicode="" glyph-name="file-zip" d="M917.806 730.924c-22.208 30.292-53.174 65.7-87.178 99.704s-69.412 64.964-99.704 87.178c-51.574 37.82-76.592 42.194-90.924 42.194h-496c-44.112 0-80-35.888-80-80v-864c0-44.112 35.884-80 80-80h736c44.112 0 80 35.888 80 80v624c0 14.332-4.372 39.35-42.194 90.924v0 0zM785.374 785.374c30.7-30.7 54.8-58.398 72.58-81.374h-153.954v153.946c22.98-17.78 50.678-41.878 81.374-72.572v0 0zM896 16c0-8.672-7.328-16-16-16h-736c-8.672 0-16 7.328-16 16v864c0 8.672 7.328 16 16 16 0 0 495.956 0.002 496 0v-224c0-17.672 14.322-32 32-32h224v-624zM256 896h128v-64h-128v64zM384 832h128v-64h-128v64zM256 768h128v-64h-128v64zM384 704h128v-64h-128v64zM256 640h128v-64h-128v64zM384 576h128v-64h-128v64zM256 512h128v-64h-128v64zM384 448h128v-64h-128v64zM256 112c0-26.4 21.6-48 48-48h160c26.4 0 48 21.6 48 48v160c0 26.4-21.6 48-48 48h-80v64h-128v-272zM448 192v-64h-128v64h128z" /> | ||
46 | <glyph unicode="" glyph-name="stack" d="M1024 640l-512 256-512-256 512-256 512 256zM512 811.030l342.058-171.030-342.058-171.030-342.058 171.030 342.058 171.030zM921.444 499.278l102.556-51.278-512-256-512 256 102.556 51.278 409.444-204.722zM921.444 307.278l102.556-51.278-512-256-512 256 102.556 51.278 409.444-204.722z" /> | ||
47 | <glyph unicode="" glyph-name="credit-card" d="M928 832h-832c-52.8 0-96-43.2-96-96v-576c0-52.8 43.2-96 96-96h832c52.8 0 96 43.2 96 96v576c0 52.8-43.2 96-96 96zM96 768h832c17.346 0 32-14.654 32-32v-96h-896v96c0 17.346 14.654 32 32 32zM928 128h-832c-17.346 0-32 14.654-32 32v288h896v-288c0-17.346-14.654-32-32-32zM128 320h64v-128h-64zM256 320h64v-128h-64zM384 320h64v-128h-64z" /> | ||
48 | <glyph unicode="" glyph-name="address-book" d="M192 960v-1024h768v1024h-768zM576 703.67c70.51 0 127.67-57.16 127.67-127.67s-57.16-127.67-127.67-127.67-127.67 57.16-127.67 127.67 57.16 127.67 127.67 127.67v0zM768 192h-384v64c0 70.696 57.306 128 128 128v0h128c70.696 0 128-57.304 128-128v-64zM64 896h96v-192h-96v192zM64 640h96v-192h-96v192zM64 384h96v-192h-96v192zM64 128h96v-192h-96v192z" /> | ||
49 | <glyph unicode="" glyph-name="envelop" d="M928 832h-832c-52.8 0-96-43.2-96-96v-640c0-52.8 43.2-96 96-96h832c52.8 0 96 43.2 96 96v640c0 52.8-43.2 96-96 96zM398.74 409.628l-270.74-210.892v501.642l270.74-290.75zM176.38 704h671.24l-335.62-252-335.62 252zM409.288 398.302l102.712-110.302 102.71 110.302 210.554-270.302h-626.528l210.552 270.302zM625.26 409.628l270.74 290.75v-501.642l-270.74 210.892z" /> | ||
50 | <glyph unicode="" glyph-name="location" d="M512 960c-176.732 0-320-143.268-320-320 0-320 320-704 320-704s320 384 320 704c0 176.732-143.27 320-320 320zM512 448c-106.040 0-192 85.96-192 192s85.96 192 192 192 192-85.96 192-192-85.96-192-192-192z" /> | ||
51 | <glyph unicode="" glyph-name="drawer" d="M1016.988 307.99l-256 320c-6.074 7.592-15.266 12.010-24.988 12.010h-448c-9.72 0-18.916-4.418-24.988-12.010l-256-320c-4.538-5.674-7.012-12.724-7.012-19.99v-288c0-35.346 28.654-64 64-64h896c35.348 0 64 28.654 64 64v288c0 7.266-2.472 14.316-7.012 19.99zM960 256h-224l-128-128h-192l-128 128h-224v20.776l239.38 299.224h417.24l239.38-299.224v-20.776zM736 448h-448c-17.672 0-32 14.328-32 32s14.328 32 32 32h448c17.674 0 32-14.328 32-32s-14.326-32-32-32zM800 320h-576c-17.672 0-32 14.326-32 32s14.328 32 32 32h576c17.674 0 32-14.326 32-32s-14.326-32-32-32z" /> | ||
52 | <glyph unicode="" glyph-name="download" d="M512 384l256 256h-192v256h-128v-256h-192zM744.726 488.728l-71.74-71.742 260.080-96.986-421.066-157.018-421.066 157.018 260.080 96.986-71.742 71.742-279.272-104.728v-256l512-192 512 192v256z" /> | ||
53 | <glyph unicode="" glyph-name="upload" d="M448 384h128v256h192l-256 256-256-256h192zM640 528v-98.712l293.066-109.288-421.066-157.018-421.066 157.018 293.066 109.288v98.712l-384-144v-256l512-192 512 192v256z" /> | ||
54 | <glyph unicode="" glyph-name="quotes-left" d="M225 512c123.712 0 224-100.29 224-224 0-123.712-100.288-224-224-224s-224 100.288-224 224l-1 32c0 247.424 200.576 448 448 448v-128c-85.474 0-165.834-33.286-226.274-93.726-11.634-11.636-22.252-24.016-31.83-37.020 11.438 1.8 23.16 2.746 35.104 2.746zM801 512c123.71 0 224-100.29 224-224 0-123.712-100.29-224-224-224s-224 100.288-224 224l-1 32c0 247.424 200.576 448 448 448v-128c-85.474 0-165.834-33.286-226.274-93.726-11.636-11.636-22.254-24.016-31.832-37.020 11.44 1.8 23.16 2.746 35.106 2.746z" /> | ||
55 | <glyph unicode="" glyph-name="enlarge2" d="M1024 960v-416l-160 160-192-192-96 96 192 192-160 160zM448 288l-192-192 160-160h-416v416l160-160 192 192z" /> | ||
56 | <glyph unicode="" glyph-name="shrink2" d="M448 384v-416l-160 160-192-192-96 96 192 192-160 160zM1024 864l-192-192 160-160h-416v416l160-160 192 192z" /> | ||
57 | <glyph unicode="" glyph-name="lock" d="M592 512h-16v192c0 105.87-86.13 192-192 192h-128c-105.87 0-192-86.13-192-192v-192h-16c-26.4 0-48-21.6-48-48v-480c0-26.4 21.6-48 48-48h544c26.4 0 48 21.6 48 48v480c0 26.4-21.6 48-48 48zM192 704c0 35.29 28.71 64 64 64h128c35.29 0 64-28.71 64-64v-192h-256v192z" /> | ||
58 | <glyph unicode="" glyph-name="unlocked" d="M768 896c105.87 0 192-86.13 192-192v-192h-128v192c0 35.29-28.71 64-64 64h-128c-35.29 0-64-28.71-64-64v-192h16c26.4 0 48-21.6 48-48v-480c0-26.4-21.6-48-48-48h-544c-26.4 0-48 21.6-48 48v480c0 26.4 21.6 48 48 48h400v192c0 105.87 86.13 192 192 192h128z" /> | ||
59 | <glyph unicode="" glyph-name="wrench" d="M1002.934 142.124l-460.552 394.76c21.448 40.298 33.618 86.282 33.618 135.116 0 159.058-128.942 288-288 288-29.094 0-57.172-4.332-83.646-12.354l166.39-166.39c24.89-24.89 24.89-65.62 0-90.51l-101.49-101.49c-24.89-24.89-65.62-24.89-90.51 0l-166.39 166.39c-8.022-26.474-12.354-54.552-12.354-83.646 0-159.058 128.942-288 288-288 48.834 0 94.818 12.17 135.116 33.62l394.76-460.552c22.908-26.724 62.016-28.226 86.904-3.338l101.492 101.492c24.888 24.888 23.386 63.994-3.338 86.902z" /> | ||
60 | <glyph unicode="" glyph-name="eye" d="M512 768c-223.318 0-416.882-130.042-512-320 95.118-189.958 288.682-320 512-320 223.312 0 416.876 130.042 512 320-95.116 189.958-288.688 320-512 320zM764.45 598.296c60.162-38.374 111.142-89.774 149.434-150.296-38.292-60.522-89.274-111.922-149.436-150.296-75.594-48.218-162.89-73.704-252.448-73.704-89.56 0-176.858 25.486-252.452 73.704-60.158 38.372-111.138 89.772-149.432 150.296 38.292 60.524 89.274 111.924 149.434 150.296 3.918 2.5 7.876 4.922 11.86 7.3-9.96-27.328-15.41-56.822-15.41-87.596 0-141.382 114.616-256 256-256 141.382 0 256 114.618 256 256 0 30.774-5.452 60.268-15.408 87.598 3.978-2.378 7.938-4.802 11.858-7.302v0zM512 544c0-53.020-42.98-96-96-96s-96 42.98-96 96 42.98 96 96 96 96-42.982 96-96z" /> | ||
61 | <glyph unicode="" glyph-name="eye-blocked" d="M945.942 945.942c-18.746 18.744-49.136 18.744-67.882 0l-202.164-202.164c-51.938 15.754-106.948 24.222-163.896 24.222-223.318 0-416.882-130.042-512-320 41.122-82.124 100.648-153.040 173.022-207.096l-158.962-158.962c-18.746-18.746-18.746-49.136 0-67.882 9.372-9.374 21.656-14.060 33.94-14.060s24.568 4.686 33.942 14.058l864 864c18.744 18.746 18.744 49.138 0 67.884zM416 640c42.24 0 78.082-27.294 90.92-65.196l-121.724-121.724c-37.902 12.838-65.196 48.68-65.196 90.92 0 53.020 42.98 96 96 96zM110.116 448c38.292 60.524 89.274 111.924 149.434 150.296 3.918 2.5 7.876 4.922 11.862 7.3-9.962-27.328-15.412-56.822-15.412-87.596 0-54.89 17.286-105.738 46.7-147.418l-60.924-60.924c-52.446 36.842-97.202 83.882-131.66 138.342zM768 518c0 27.166-4.256 53.334-12.102 77.898l-321.808-321.808c24.568-7.842 50.742-12.090 77.91-12.090 141.382 0 256 114.618 256 256zM830.026 670.026l-69.362-69.362c1.264-0.786 2.53-1.568 3.786-2.368 60.162-38.374 111.142-89.774 149.434-150.296-38.292-60.522-89.274-111.922-149.436-150.296-75.594-48.218-162.89-73.704-252.448-73.704-38.664 0-76.902 4.76-113.962 14.040l-76.894-76.894c59.718-21.462 123.95-33.146 190.856-33.146 223.31 0 416.876 130.042 512 320-45.022 89.916-112.118 166.396-193.974 222.026z" /> | ||
62 | <glyph unicode="" glyph-name="happy" d="M512-64c282.77 0 512 229.23 512 512s-229.23 512-512 512-512-229.23-512-512 229.23-512 512-512zM512 864c229.75 0 416-186.25 416-416s-186.25-416-416-416-416 186.25-416 416 186.25 416 416 416zM512 361.24c115.95 0 226.23 30.806 320 84.92-14.574-178.438-153.128-318.16-320-318.16-166.868 0-305.422 139.872-320 318.304 93.77-54.112 204.050-85.064 320-85.064zM256 608c0 53.019 28.654 96 64 96s64-42.981 64-96c0-53.019-28.654-96-64-96s-64 42.981-64 96zM640 608c0 53.019 28.654 96 64 96s64-42.981 64-96c0-53.019-28.654-96-64-96s-64 42.981-64 96z" /> | ||
63 | <glyph unicode="" glyph-name="command" d="M736 64c-88.224 0-160 71.776-160 160v96h-128v-96c0-88.224-71.776-160-160-160s-160 71.776-160 160 71.776 160 160 160h96v128h-96c-88.224 0-160 71.776-160 160s71.776 160 160 160 160-71.776 160-160v-96h128v96c0 88.224 71.776 160 160 160s160-71.776 160-160-71.776-160-160-160h-96v-128h96c88.224 0 160-71.776 160-160s-71.774-160-160-160zM640 320v-96c0-52.934 43.066-96 96-96s96 43.066 96 96-43.066 96-96 96h-96zM288 320c-52.934 0-96-43.066-96-96s43.066-96 96-96 96 43.066 96 96v96h-96zM448 384h128v128h-128v-128zM640 576h96c52.934 0 96 43.066 96 96s-43.066 96-96 96-96-43.066-96-96v-96zM288 768c-52.934 0-96-43.066-96-96s43.066-96 96-96h96v96c0 52.934-43.064 96-96 96z" /> | ||
64 | <glyph unicode="" glyph-name="font2" d="M799.596 943.792c-90.526 0-148.62 16.208-241.848 16.208-301.284 0-441.792-171.584-441.792-345.872 0-102.678 48.64-136.458 144.564-136.458-6.758 14.864-18.914 31.080-18.914 104.034 0 204.010 77.006 263.458 175.636 267.51 0 0-80.918-793.374-315.778-888.542v-24.672h316.594l108.026 512h197.844l44.072 128h-214.908l51.944 246.19c59.446-12.156 117.542-24.316 167.532-24.316 62.148 0 118.894 18.914 149.968 162.126-37.826-12.16-78.362-16.208-122.94-16.208z" /> | ||
65 | <glyph unicode="" glyph-name="strikethrough" d="M1024 448v-64h-234.506c27.504-38.51 42.506-82.692 42.506-128 0-70.878-36.66-139.026-100.58-186.964-59.358-44.518-137.284-69.036-219.42-69.036-82.138 0-160.062 24.518-219.42 69.036-63.92 47.938-100.58 116.086-100.58 186.964h128c0-69.382 87.926-128 192-128s192 58.618 192 128c0 69.382-87.926 128-192 128h-512v64h299.518c-2.338 1.654-4.656 3.324-6.938 5.036-63.92 47.94-100.58 116.086-100.58 186.964s36.66 139.024 100.58 186.964c59.358 44.518 137.282 69.036 219.42 69.036 82.136 0 160.062-24.518 219.42-69.036 63.92-47.94 100.58-116.086 100.58-186.964h-128c0 69.382-87.926 128-192 128s-192-58.618-192-128c0-69.382 87.926-128 192-128 78.978 0 154.054-22.678 212.482-64h299.518z" /> | ||
66 | <glyph unicode="" glyph-name="sigma" d="M941.606 225.292l44.394 94.708h38l-64-384h-960v74.242l331.546 391.212-331.546 331.546v227h980l44-256h-34.376l-18.72 38.88c-35.318 73.364-61.904 89.12-138.904 89.12h-662l353.056-353.056-297.42-350.944h542.364c116.008 0 146.648 41.578 173.606 97.292z" /> | ||
67 | <glyph unicode="" glyph-name="sigma2" d="M941.606 225.292l44.394 94.708h38l-64-384h-960v74.242l331.546 391.212-331.546 331.546v227h980l44-256h-34.376l-18.72 38.88c-35.318 73.364-61.904 89.12-138.904 89.12h-662l353.056-353.056-297.42-350.944h542.364c116.008 0 146.648 41.578 173.606 97.292z" /> | ||
68 | <glyph unicode="" glyph-name="libreoffice" d="M534.626 937.372c-12.444 12.444-37.026 22.628-54.626 22.628h-384c-17.6 0-32-14.4-32-32v-960c0-17.6 14.4-32 32-32h768c17.6 0 32 14.4 32 32v576c0 17.6-10.182 42.182-22.626 54.626l-338.748 338.746zM832 0h-704v896h351.158c2.916-0.48 8.408-2.754 10.81-4.478l337.556-337.554c1.722-2.402 3.996-7.894 4.476-10.81v-543.158zM864 960h-192c-17.6 0-21.818-10.182-9.374-22.626l210.746-210.746c12.446-12.446 22.628-8.228 22.628 9.372v192c0 17.6-14.4 32-32 32z" /> | ||
69 | <glyph unicode="" glyph-name="search-plus" horiz-adv-x="951" d="M585.143 493.714v-36.571q0-7.429-5.429-12.857t-12.857-5.429h-128v-128q0-7.429-5.429-12.857t-12.857-5.429h-36.571q-7.429 0-12.857 5.429t-5.429 12.857v128h-128q-7.429 0-12.857 5.429t-5.429 12.857v36.571q0 7.429 5.429 12.857t12.857 5.429h128v128q0 7.429 5.429 12.857t12.857 5.429h36.571q7.429 0 12.857-5.429t5.429-12.857v-128h128q7.429 0 12.857-5.429t5.429-12.857zM658.286 475.428q0 105.714-75.143 180.857t-180.857 75.143-180.857-75.143-75.143-180.857 75.143-180.857 180.857-75.143 180.857 75.143 75.143 180.857zM950.857 0q0-30.286-21.429-51.714t-51.714-21.429q-30.857 0-51.429 21.714l-196 195.429q-102.286-70.857-228-70.857-81.714 0-156.286 31.714t-128.571 85.714-85.714 128.571-31.714 156.286 31.714 156.286 85.714 128.571 128.571 85.714 156.286 31.714 156.286-31.714 128.571-85.714 85.714-128.571 31.714-156.286q0-125.714-70.857-228l196-196q21.143-21.143 21.143-51.429z" /> | ||
70 | <glyph unicode="" glyph-name="search-minus" horiz-adv-x="951" d="M585.143 493.714v-36.571q0-7.429-5.429-12.857t-12.857-5.429h-329.143q-7.429 0-12.857 5.429t-5.429 12.857v36.571q0 7.429 5.429 12.857t12.857 5.429h329.143q7.429 0 12.857-5.429t5.429-12.857zM658.286 475.428q0 105.714-75.143 180.857t-180.857 75.143-180.857-75.143-75.143-180.857 75.143-180.857 180.857-75.143 180.857 75.143 75.143 180.857zM950.857 0q0-30.286-21.429-51.714t-51.714-21.429q-30.857 0-51.429 21.714l-196 195.429q-102.286-70.857-228-70.857-81.714 0-156.286 31.714t-128.571 85.714-85.714 128.571-31.714 156.286 31.714 156.286 85.714 128.571 128.571 85.714 156.286 31.714 156.286-31.714 128.571-85.714 85.714-128.571 31.714-156.286q0-125.714-70.857-228l196-196q21.143-21.143 21.143-51.429z" /> | ||
71 | <glyph unicode="" glyph-name="trash-o" horiz-adv-x="805" d="M292.571 530.286v-329.143q0-8-5.143-13.143t-13.143-5.143h-36.571q-8 0-13.143 5.143t-5.143 13.143v329.143q0 8 5.143 13.143t13.143 5.143h36.571q8 0 13.143-5.143t5.143-13.143zM438.857 530.286v-329.143q0-8-5.143-13.143t-13.143-5.143h-36.571q-8 0-13.143 5.143t-5.143 13.143v329.143q0 8 5.143 13.143t13.143 5.143h36.571q8 0 13.143-5.143t5.143-13.143zM585.143 530.286v-329.143q0-8-5.143-13.143t-13.143-5.143h-36.571q-8 0-13.143 5.143t-5.143 13.143v329.143q0 8 5.143 13.143t13.143 5.143h36.571q8 0 13.143-5.143t5.143-13.143zM658.286 116.571v541.714h-512v-541.714q0-12.571 4-23.143t8.286-15.429 6-4.857h475.429q1.714 0 6 4.857t8.286 15.429 4 23.143zM274.286 731.428h256l-27.429 66.857q-4 5.143-9.714 6.286h-181.143q-5.714-1.143-9.714-6.286zM804.571 713.143v-36.571q0-8-5.143-13.143t-13.143-5.143h-54.857v-541.714q0-47.429-26.857-82t-64.571-34.571h-475.429q-37.714 0-64.571 33.429t-26.857 80.857v544h-54.857q-8 0-13.143 5.143t-5.143 13.143v36.571q0 8 5.143 13.143t13.143 5.143h176.571l40 95.429q8.571 21.143 30.857 36t45.143 14.857h182.857q22.857 0 45.143-14.857t30.857-36l40-95.429h176.571q8 0 13.143-5.143t5.143-13.143z" /> | ||
72 | <glyph unicode="" glyph-name="align-justify" d="M1024 182.857v-73.143q0-14.857-10.857-25.714t-25.714-10.857h-950.857q-14.857 0-25.714 10.857t-10.857 25.714v73.143q0 14.857 10.857 25.714t25.714 10.857h950.857q14.857 0 25.714-10.857t10.857-25.714zM1024 402.286v-73.143q0-14.857-10.857-25.714t-25.714-10.857h-950.857q-14.857 0-25.714 10.857t-10.857 25.714v73.143q0 14.857 10.857 25.714t25.714 10.857h950.857q14.857 0 25.714-10.857t10.857-25.714zM1024 621.714v-73.143q0-14.857-10.857-25.714t-25.714-10.857h-950.857q-14.857 0-25.714 10.857t-10.857 25.714v73.143q0 14.857 10.857 25.714t25.714 10.857h950.857q14.857 0 25.714-10.857t10.857-25.714zM1024 841.143v-73.143q0-14.857-10.857-25.714t-25.714-10.857h-950.857q-14.857 0-25.714 10.857t-10.857 25.714v73.143q0 14.857 10.857 25.714t25.714 10.857h950.857q14.857 0 25.714-10.857t10.857-25.714z" /> | ||
73 | <glyph unicode="" glyph-name="arrows-v" horiz-adv-x="439" d="M402.286 768q0-14.857-10.857-25.714t-25.714-10.857h-73.143v-585.143h73.143q14.857 0 25.714-10.857t10.857-25.714-10.857-25.714l-146.286-146.286q-10.857-10.857-25.714-10.857t-25.714 10.857l-146.286 146.286q-10.857 10.857-10.857 25.714t10.857 25.714 25.714 10.857h73.143v585.143h-73.143q-14.857 0-25.714 10.857t-10.857 25.714 10.857 25.714l146.286 146.286q10.857 10.857 25.714 10.857t25.714-10.857l146.286-146.286q10.857-10.857 10.857-25.714z" /> | ||
74 | <glyph unicode="" glyph-name="desktop" horiz-adv-x="1097" d="M1024 384v475.429q0 7.429-5.429 12.857t-12.857 5.429h-914.286q-7.429 0-12.857-5.429t-5.429-12.857v-475.429q0-7.429 5.429-12.857t12.857-5.429h914.286q7.429 0 12.857 5.429t5.429 12.857zM1097.143 859.428v-621.714q0-37.714-26.857-64.571t-64.571-26.857h-310.857q0-21.143 9.143-44.286t18.286-40.571 9.143-24.857q0-14.857-10.857-25.714t-25.714-10.857h-292.571q-14.857 0-25.714 10.857t-10.857 25.714q0 8 9.143 25.143t18.286 40 9.143 44.571h-310.857q-37.714 0-64.571 26.857t-26.857 64.571v621.714q0 37.714 26.857 64.571t64.571 26.857h914.286q37.714 0 64.571-26.857t26.857-64.571z" /> | ||
75 | <glyph unicode="" glyph-name="tablet" horiz-adv-x="658" d="M365.714 146.286q0 14.857-10.857 25.714t-25.714 10.857-25.714-10.857-10.857-25.714 10.857-25.714 25.714-10.857 25.714 10.857 10.857 25.714zM585.143 237.714v548.571q0 7.429-5.429 12.857t-12.857 5.429h-475.429q-7.429 0-12.857-5.429t-5.429-12.857v-548.571q0-7.429 5.429-12.857t12.857-5.429h475.429q7.429 0 12.857 5.429t5.429 12.857zM658.286 786.286v-621.714q0-37.714-26.857-64.571t-64.571-26.857h-475.429q-37.714 0-64.571 26.857t-26.857 64.571v621.714q0 37.714 26.857 64.571t64.571 26.857h475.429q37.714 0 64.571-26.857t26.857-64.571z" /> | ||
76 | </font></defs></svg> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
static/libs/wangeditor/fonts/icomoon.ttf
0 → 100644
No preview for this file type
static/libs/wangeditor/fonts/icomoon.woff
0 → 100644
No preview for this file type
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
static/libs/wangeditor/js/wangEditor.js
0 → 100644
This diff could not be displayed because it is too large.
static/libs/wangeditor/js/wangEditor.min.js
0 → 100644
1 | /*! wangeditor.js 2016-10-26 */ | ||
2 | !function(a){"function"==typeof window.define?window.define.amd?window.define("wangEditor",["jquery"],a):window.define.cmd?window.define(function(b,c,d){return a}):a(window.jQuery):"object"==typeof module&&"object"==typeof module.exports?(window.wangEditorCssPath?require(window.wangEditorCssPath):require("../css/wangEditor.css"),module.exports=a(window.wangEditorJQueryPath?require(window.wangEditorJQueryPath):require("jquery"))):a(window.jQuery)}(function(a){if(!a||!a.fn||!a.fn.jquery)return void alert("在引用wangEditor.js之前,先引用jQuery,否则无法使用 wangEditor");var b=function(b){var c=window.wangEditor;c&&b(c,a)};return function(a,b){if(a.wangEditor)return void alert("一个页面不能重复引用 wangEditor.js 或 wangEditor.min.js !!!");var c=function(a){"string"==typeof a&&(a="#"+a);var c=b(a);if(1===c.length){var d=c[0].nodeName;"TEXTAREA"!==d&&"DIV"!==d||(this.valueNodeName=d.toLowerCase(),this.$valueContainer=c,this.$prev=c.prev(),this.$parent=c.parent(),this.init())}};c.fn=c.prototype,c.$body=b("body"),c.$document=b(document),c.$window=b(a),c.userAgent=navigator.userAgent,c.getComputedStyle=a.getComputedStyle,c.w3cRange="function"==typeof document.createRange,c.hostname=location.hostname.toLowerCase(),c.websiteHost="wangeditor.github.io|www.wangeditor.com|wangeditor.coding.me",c.isOnWebsite=c.websiteHost.indexOf(c.hostname)>=0,c.docsite="http://www.kancloud.cn/wangfupeng/wangeditor2/113961",a.wangEditor=c,c.plugin=function(a){c._plugins||(c._plugins=[]),"function"==typeof a&&c._plugins.push(a)}}(window,a),b(function(a,b){a.fn.init=function(){this.initDefaultConfig(),this.addEditorContainer(),this.addTxt(),this.addMenuContainer(),this.menus={},this.commandHooks()}}),b(function(a,b){a.fn.ready=function(a){this.readyFns||(this.readyFns=[]),this.readyFns.push(a)},a.fn.readyHeadler=function(){for(var a=this.readyFns;a.length;)a.shift().call(this)},a.fn.updateValue=function(){var a=this,b=a.$valueContainer,c=a.txt.$txt;if(b!==c){var d=c.html();b.val(d)}},a.fn.getInitValue=function(){var a=this,b=a.$valueContainer,c="",d=a.valueNodeName;return"div"===d?c=b.html():"textarea"===d&&(c=b.val()),c},a.fn.updateMenuStyle=function(){var a=this.menus;b.each(a,function(a,b){b.updateSelected()})},a.fn.enableMenusExcept=function(a){this._disabled||(a=a||[],"string"==typeof a&&(a=[a]),b.each(this.menus,function(b,c){a.indexOf(b)>=0||c.disabled(!1)}))},a.fn.disableMenusExcept=function(a){this._disabled||(a=a||[],"string"==typeof a&&(a=[a]),b.each(this.menus,function(b,c){a.indexOf(b)>=0||c.disabled(!0)}))},a.fn.hideDropPanelAndModal=function(){var a=this.menus;b.each(a,function(a,b){var c=b.dropPanel||b.dropList||b.modal;c&&c.hide&&c.hide()})}}),b(function(a,b){function c(){}var d=!a.w3cRange;a.fn.currentRange=function(a){return a?void(this._rangeData=a):this._rangeData},a.fn.collapseRange=function(a,b){b=b||"end",b="start"===b,a=a||this.currentRange(),a&&(a.collapse(b),this.currentRange(a))},a.fn.getRangeText=d?c:function(a){if(a=a||this.currentRange())return a.toString()},a.fn.getRangeElem=d?c:function(a){a=a||this.currentRange();var b=a.commonAncestorContainer;return 1===b.nodeType?b:b.parentNode},a.fn.isRangeEmpty=d?c:function(a){return a=a||this.currentRange(),!(!a||!a.startContainer||a.startContainer!==a.endContainer||a.startOffset!==a.endOffset)},a.fn.saveSelection=d?c:function(a){var c,d,e=this,f=e.txt.$txt.get(0);a?c=a.commonAncestorContainer:(d=document.getSelection(),d.getRangeAt&&d.rangeCount&&(a=document.getSelection().getRangeAt(0),c=a.commonAncestorContainer)),c&&(b.contains(f,c)||f===c)&&e.currentRange(a)},a.fn.restoreSelection=d?c:function(b){var c;if(b=b||this.currentRange())try{c=document.getSelection(),c.removeAllRanges(),c.addRange(b)}catch(d){a.error("执行 editor.restoreSelection 时,IE可能会有异常,不影响使用")}},a.fn.restoreSelectionByElem=d?c:function(a,b){a&&(b=b||"end",this.setRangeByElem(a),"start"===b&&this.collapseRange(this.currentRange(),"start"),"end"===b&&this.collapseRange(this.currentRange(),"end"),this.restoreSelection())},a.fn.initSelection=d?c:function(){var a=this;if(!a.currentRange()){var b=a.txt.$txt,c=b.children().first();c.length&&a.restoreSelectionByElem(c.get(0))}},a.fn.setRangeByElem=d?c:function(a){var c=this,d=c.txt.$txt.get(0);if(a&&b.contains(d,a)){for(var e=a.firstChild;e&&3!==e.nodeType;)e=e.firstChild;for(var f=a.lastChild;f&&3!==f.nodeType;)f=f.lastChild;var g=document.createRange();e&&f?(g.setStart(e,0),g.setEnd(f,f.textContent.length)):(g.setStart(a,0),g.setEnd(a,0)),c.saveSelection(g)}}}),b(function(a,b){a.w3cRange||(a.fn.getRangeText=function(a){if(a=a||this.currentRange())return a.text},a.fn.getRangeElem=function(a){if(a=a||this.currentRange()){var b=a.parentElement();return 1===b.nodeType?b:b.parentNode}},a.fn.isRangeEmpty=function(a){return a=a||this.currentRange(),!a||!a.text},a.fn.saveSelection=function(a){var c,d=this,e=d.txt.$txt.get(0);a?c=a.parentElement():(a=document.selection.createRange(),c="undefined"==typeof a.parentElement?null:a.parentElement()),c&&(b.contains(e,c)||e===c)&&d.currentRange(a)},a.fn.restoreSelection=function(a){var b,c=this;if(a=a||c.currentRange()){b=document.selection.createRange();try{b.setEndPoint("EndToEnd",a)}catch(d){}if(0===a.text.length)try{b.collapse(!1)}catch(d){}else b.setEndPoint("StartToStart",a);b.select()}})}),b(function(a,b){a.fn.commandHooks=function(){var a=this,c={};c.insertHtml=function(c){var d,e=b(c),f=a.getRangeElem();d=a.getLegalTags(f),d&&b(d).after(e)},a.commandHooks=c}}),b(function(a,b){a.fn.command=function(a,b,c,d){function e(){b&&(g.queryCommandSupported(b)?document.execCommand(b,!1,c):(f=g.commandHooks,b in f&&f[b](c)))}var f,g=this;this.customCommand(a,e,d)},a.fn.commandForElem=function(a,b,c,d,e){var f,g;"string"==typeof a?f=a:(f=a.selector,g=a.check);var h=this.getRangeElem();h=this.getSelfOrParentByName(h,f,g),h&&this.setRangeByElem(h),this.command(b,c,d,e)},a.fn.customCommand=function(a,b,c){function d(){e.hideDropPanelAndModal()}var e=this,f=e.currentRange();return f?(e.undoRecord(),this.restoreSelection(f),b.call(e),this.saveSelection(),this.restoreSelection(),c&&"function"==typeof c&&c.call(e),e.txt.insertEmptyP(),e.txt.wrapImgAndText(),e.updateValue(),e.updateMenuStyle(),setTimeout(d,200),void(a&&a.preventDefault())):void(a&&a.preventDefault())},a.fn.queryCommandValue=function(a){var b="";try{b=document.queryCommandValue(a)}catch(c){}return b},a.fn.queryCommandState=function(a){var b=!1;try{b=document.queryCommandState(a)}catch(c){}return b},a.fn.queryCommandSupported=function(a){var b=!1;try{b=document.queryCommandSupported(a)}catch(c){}return b}}),b(function(a,b){function c(a){var c=this,d=b(a),e=!1;return d.each(function(){if(this===c)return e=!0,!1}),e}var d;a.fn.getLegalTags=function(b){var c=this.config.legalTags;return c?this.getSelfOrParentByName(b,c):void a.error("配置项中缺少 legalTags 的配置")},a.fn.getSelfOrParentByName=function(a,e,f){if(a&&e){d||(d=a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.matchesSelector),d||(d=c);for(var g=this.txt.$txt.get(0);a&&g!==a&&b.contains(g,a);){if(d.call(a,e)){if(!f)return a;if(f(a))return a}a=a.parentNode}}}}),b(function(a,b){function c(a){return null==a._redoList&&(a._redoList=[]),a._redoList}function d(a){return null==a._undoList&&(a._undoList=[]),a._undoList}function e(a,b,c){var d=b.val,e=a.txt.$txt.html();if(null!=d){if(d===e)return"redo"===c?void a.redo():"undo"===c?void a.undo():void 0;a.txt.$txt.html(d),a.updateValue(),a.onchange&&"function"==typeof a.onchange&&a.onchange.call(a)}}var f=20;a.fn.undoRecord=function(){var a=this,b=a.txt.$txt,e=b.html(),g=d(a),h=c(a),i=g.length?g[0]:"";e!==i.val&&(h.length&&(h=[]),g.unshift({range:a.currentRange(),val:e}),g.length>f&&g.pop())},a.fn.undo=function(){var a=this,b=d(a),f=c(a);if(b.length){var g=b.shift();f.unshift(g),e(this,g,"undo")}},a.fn.redo=function(){var a=this,b=d(a),f=c(a);if(f.length){var g=f.shift();b.unshift(g),e(this,g,"redo")}}}),b(function(a,b){a.fn.create=function(){var c=this;a.$body&&0!==a.$body.length||(a.$body=b("body"),a.$document=b(document),a.$window=b(window)),c.addMenus(),c.renderMenus(),c.renderMenuContainer(),c.renderTxt(),c.renderEditorContainer(),c.eventMenus(),c.eventMenuContainer(),c.eventTxt(),c.readyHeadler(),c.initSelection(),c.$txt=c.txt.$txt;var d=a._plugins;d&&d.length&&b.each(d,function(a,b){b.call(c)})},a.fn.disable=function(){this.txt.$txt.removeAttr("contenteditable"),this.disableMenusExcept(),this._disabled=!0},a.fn.enable=function(){this._disabled=!1,this.txt.$txt.attr("contenteditable","true"),this.enableMenusExcept()},a.fn.destroy=function(){var a=this,b=a.$valueContainer,c=a.$editorContainer,d=a.valueNodeName;"div"===d?(b.removeAttr("contenteditable"),c.after(b),c.hide()):(b.show(),c.hide())},a.fn.undestroy=function(){var a=this,b=a.$valueContainer,c=a.$editorContainer,d=a.menuContainer.$menuContainer,e=a.valueNodeName;"div"===e?(b.attr("contenteditable","true"),d.after(b),c.show()):(b.hide(),c.show())},a.fn.clear=function(){var a=this,b=a.txt.$txt;b.html("<p><br></p>"),a.restoreSelectionByElem(b.find("p").get(0))}}),b(function(a,b){var c=function(a){this.editor=a,this.init()};c.fn=c.prototype,a.MenuContainer=c}),b(function(a,b){var c=a.MenuContainer;c.fn.init=function(){var a=this,c=b('<div class="wangEditor-menu-container clearfix"></div>');a.$menuContainer=c,a.changeShadow()},c.fn.changeShadow=function(){var a=this.$menuContainer,b=this.editor,c=b.txt.$txt;c.on("scroll",function(){c.scrollTop()>10?a.addClass("wangEditor-menu-shadow"):a.removeClass("wangEditor-menu-shadow")})}}),b(function(a,b){var c=a.MenuContainer;c.fn.render=function(){var a=this.$menuContainer,b=this.editor.$editorContainer;b.append(a)},c.fn.height=function(){var a=this.$menuContainer;return a.height()},c.fn.appendMenu=function(a,b){return this._addGroup(a),this._addOneMenu(b)},c.fn._addGroup=function(a){var c,d=this.$menuContainer;this.$currentGroup&&this.currentGroupIdx===a||(c=b('<div class="menu-group clearfix"></div>'),d.append(c),this.$currentGroup=c,this.currentGroupIdx=a)},c.fn._addOneMenu=function(a){var c=a.$domNormal,d=a.$domSelected,e=this.$currentGroup,f=b('<div class="menu-item clearfix"></div>');return d.hide(),f.append(c).append(d),e.append(f),f}}),b(function(a,b){var c=function(a){this.editor=a.editor,this.id=a.id,this.title=a.title,this.$domNormal=a.$domNormal,this.$domSelected=a.$domSelected||a.$domNormal,this.commandName=a.commandName,this.commandValue=a.commandValue,this.commandNameSelected=a.commandNameSelected||a.commandName,this.commandValueSelected=a.commandValueSelected||a.commandValue};c.fn=c.prototype,a.Menu=c}),b(function(a,b){var c=a.Menu;c.fn.initUI=function(){var c=this.editor,d=c.UI.menus,e=this.id,f=d[e];this.$domNormal&&this.$domSelected||(null==f&&(a.warn('editor.UI配置中,没有菜单 "'+e+'" 的UI配置,只能取默认值'),f=d.default),this.$domNormal=b(f.normal),/^\./.test(f.selected)?this.$domSelected=this.$domNormal.clone().addClass(f.selected.slice(1)):this.$domSelected=b(f.selected))}}),b(function(a,b){var c=a.Menu;c.fn.render=function(a){this.initUI();var b=this.editor,c=b.menuContainer,d=c.appendMenu(a,this),e=this.onRender;this._renderTip(d),e&&"function"==typeof e&&e.call(this)},c.fn._renderTip=function(c){function d(){j.show()}function e(){j.hide()}var f,g=this,h=g.editor,i=g.title,j=b('<div class="menu-tip"></div>');g.tipWidth||(f=b('<p style="opacity:0; filter:Alpha(opacity=0); position:absolute;top:-10000px;">'+i+"</p>"),a.$body.append(f),h.ready(function(){var a=f.outerWidth()+5,b=j.outerWidth(),c=parseFloat(j.css("margin-left"),10);f.remove(),f=null,j.css({width:a,"margin-left":c+(b-a)/2}),g.tipWidth=a})),j.append(i),c.append(j);var k;c.find("a").on("mouseenter",function(a){g.active()||g.disabled()||(k=setTimeout(d,200))}).on("mouseleave",function(a){k&&clearTimeout(k),e()}).on("click",e)},c.fn.bindEvent=function(){var b=this,c=b.$domNormal,d=b.$domSelected,e=b.clickEvent;e||(e=function(c){var d=b.dropPanel||b.dropList||b.modal;if(d&&d.show)return void(d.isShowing?d.hide():d.show());var e,f,g=b.editor,h=b.selected;h?(e=b.commandNameSelected,f=b.commandValueSelected):(e=b.commandName,f=b.commandValue),e?g.command(c,e,f):(a.warn('菜单 "'+b.id+'" 未定义click事件'),c.preventDefault())});var f=b.clickEventSelected||e;c.click(function(a){b.disabled()||(e.call(b,a),b.updateSelected()),a.preventDefault()}),d.click(function(a){b.disabled()||(f.call(b,a),b.updateSelected()),a.preventDefault()})},c.fn.updateSelected=function(){var a=this,b=(a.editor,a.updateSelectedEvent);b||(b=function(){var a=this,b=a.editor,c=a.commandName,d=a.commandValue;if(d){if(b.queryCommandValue(c).toLowerCase()===d.toLowerCase())return!0}else if(b.queryCommandState(c))return!0;return!1});var c=b.call(a);c=!!c,a.changeSelectedState(c)},c.fn.changeSelectedState=function(a){var b=this,c=b.selected;if(null!=a&&"boolean"==typeof a){if(c===a)return;b.selected=a,a?(b.$domNormal.hide(),b.$domSelected.show()):(b.$domNormal.show(),b.$domSelected.hide())}},c.fn.active=function(a){return null==a?this._activeState:void(this._activeState=a)},c.fn.activeStyle=function(a){var b=(this.selected,this.$domNormal),c=this.$domSelected;a?(b.addClass("active"),c.addClass("active")):(b.removeClass("active"),c.removeClass("active")),this.active(a)},c.fn.disabled=function(a){if(null==a)return!!this._disabled;if(this._disabled!==a){var b=this.$domNormal,c=this.$domSelected;a?(b.addClass("disable"),c.addClass("disable")):(b.removeClass("disable"),c.removeClass("disable")),this._disabled=a}}}),b(function(a,b){var c=function(a,b,c){this.editor=a,this.menu=b,this.data=c.data,this.tpl=c.tpl,this.selectorForELemCommand=c.selectorForELemCommand,this.beforeEvent=c.beforeEvent,this.afterEvent=c.afterEvent,this.init()};c.fn=c.prototype,a.DropList=c}),b(function(a,b){var c=a.DropList;c.fn.init=function(){var a=this;a.initDOM(),a.bindEvent(),a.initHideEvent()},c.fn.initDOM=function(){var a,c,d=this,e=d.data,f=d.tpl||"<span>{#title}</span>",g=b('<div class="wangEditor-drop-list clearfix"></div>');b.each(e,function(d,e){a=f.replace(/{#commandValue}/gi,d).replace(/{#title}/gi,e),c=b('<a href="#" commandValue="'+d+'"></a>'),c.append(a),g.append(c)}),d.$list=g},c.fn.bindEvent=function(){var a=this,c=a.editor,d=a.menu,e=d.commandName,f=a.selectorForELemCommand,g=a.$list,h=a.beforeEvent,i=a.afterEvent;g.on("click","a[commandValue]",function(a){h&&"function"==typeof h&&h.call(a);var g=b(a.currentTarget).attr("commandValue");d.selected&&c.isRangeEmpty()&&f?c.commandForElem(f,a,e,g):c.command(a,e,g),i&&"function"==typeof i&&i.call(a)})},c.fn.initHideEvent=function(){var c=this,d=c.$list.get(0);a.$body.on("click",function(a){if(c.isShowing){var e,f=a.target,g=c.menu;e=g.selected?g.$domSelected.get(0):g.$domNormal.get(0),e===f||b.contains(e,f)||d===f||b.contains(d,f)||c.hide()}}),a.$window.scroll(function(){c.hide()}),a.$window.on("resize",function(){c.hide()})}}),b(function(a,b){var c=a.DropList;c.fn._render=function(){var a=this,b=a.editor,c=a.$list;b.$editorContainer.append(c),a.rendered=!0},c.fn._position=function(){var a=this,b=a.$list,c=a.editor,d=a.menu,e=c.menuContainer.$menuContainer,f=d.selected?d.$domSelected:d.$domNormal,g=f.offsetParent().position(),h=g.top,i=g.left,j=f.offsetParent().height(),k=f.offsetParent().width(),l=b.outerWidth(),m=c.txt.$txt.outerWidth(),n=h+j,o=i+k/2,p=0-k/2,q=o+l-m;q>-10&&(p=p-q-10),b.css({top:n,left:o,"margin-left":p}),c._isMenufixed&&(n+=e.offset().top+e.outerHeight()-b.offset().top,b.css({top:n}))},c.fn.show=function(){var a=this,b=a.menu;if(a.rendered||a._render(),!a.isShowing){var c=a.$list;c.show(),a._position(),a.isShowing=!0,b.activeStyle(!0)}},c.fn.hide=function(){var a=this,b=a.menu;if(a.isShowing){var c=a.$list;c.hide(),a.isShowing=!1,b.activeStyle(!1)}}}),b(function(a,b){var c=function(a,b,c){this.editor=a,this.menu=b,this.$content=c.$content,this.width=c.width||200,this.height=c.height,this.onRender=c.onRender,this.init()};c.fn=c.prototype,a.DropPanel=c}),b(function(a,b){var c=a.DropPanel;c.fn.init=function(){var a=this;a.initDOM(),a.initHideEvent()},c.fn.initDOM=function(){var a=this,c=a.$content,d=a.width,e=a.height,f=b('<div class="wangEditor-drop-panel clearfix"></div>'),g=b('<div class="tip-triangle"></div>');f.css({width:d,height:e?e:"auto"}),f.append(g),f.append(c),a.$panel=f,a.$triangle=g},c.fn.initHideEvent=function(){var c=this,d=c.$panel.get(0);a.$body.on("click",function(a){if(c.isShowing){var e,f=a.target,g=c.menu;e=g.selected?g.$domSelected.get(0):g.$domNormal.get(0),e===f||b.contains(e,f)||d===f||b.contains(d,f)||c.hide()}}),a.$window.scroll(function(a){c.hide()}),a.$window.on("resize",function(){c.hide()})}}),b(function(a,b){var c=a.DropPanel;c.fn._render=function(){var a=this,b=a.onRender,c=a.editor,d=a.$panel;c.$editorContainer.append(d),b&&b.call(a),a.rendered=!0},c.fn._position=function(){var a=this,b=a.$panel,c=a.$triangle,d=a.editor,e=d.menuContainer.$menuContainer,f=a.menu,g=f.selected?f.$domSelected:f.$domNormal,h=g.offsetParent().position(),i=h.top,j=h.left,k=g.offsetParent().height(),l=g.offsetParent().width(),m=b.outerWidth(),n=d.txt.$txt.outerWidth(),o=i+k,p=j+l/2,q=0-m/2,r=q;0-q>p-10&&(q=0-(p-10));var s=p+m+q-n;s>-10&&(q=q-s-10),b.css({top:o,left:p,"margin-left":q}),d._isMenufixed&&(o+=e.offset().top+e.outerHeight()-b.offset().top,b.css({top:o})),c.css({"margin-left":r-q-5})},c.fn.focusFirstInput=function(){var a=this,c=a.$panel;c.find("input[type=text],textarea").each(function(){var a=b(this);if(null==a.attr("disabled"))return a.focus(),!1})},c.fn.show=function(){var b=this,c=b.menu;if(b.rendered||b._render(),!b.isShowing){var d=b.$panel;d.show(),b._position(),b.isShowing=!0,c.activeStyle(!0),a.w3cRange?b.focusFirstInput():a.placeholderForIE8(d)}},c.fn.hide=function(){var a=this,b=a.menu;if(a.isShowing){var c=a.$panel;c.hide(),a.isShowing=!1,b.activeStyle(!1)}}}),b(function(a,b){var c=function(a,b,c){this.editor=a,this.menu=b,this.$content=c.$content,this.init()};c.fn=c.prototype,a.Modal=c}),b(function(a,b){var c=a.Modal;c.fn.init=function(){var a=this;a.initDom(),a.initHideEvent()},c.fn.initDom=function(){var a=this,c=a.$content,d=b('<div class="wangEditor-modal"></div>'),e=b('<div class="wangEditor-modal-close"><i class="wangeditor-menu-img-cancel-circle"></i></div>');d.append(e),d.append(c),a.$modal=d,a.$close=e},c.fn.initHideEvent=function(){var c=this,d=c.$close,e=c.$modal.get(0);d.click(function(){c.hide()}),a.$body.on("click",function(a){if(c.isShowing){var d,f=a.target,g=c.menu;g&&(d=g.selected?g.$domSelected.get(0):g.$domNormal.get(0),d===f||b.contains(d,f))||e===f||b.contains(e,f)||c.hide()}})}}),b(function(a,b){var c=a.Modal;c.fn._render=function(){var b=this,c=b.editor,d=b.$modal;d.css("z-index",c.config.zindex+10+""),a.$body.append(d),b.rendered=!0},c.fn._position=function(){var b=this,c=b.$modal,d=c.offset().top,e=c.outerWidth(),f=c.outerHeight(),g=0-e/2,h=0-f/2,i=a.$window.scrollTop();f/2>d&&(h=0-d),c.css({"margin-left":g+"px","margin-top":h+i+"px"})},c.fn.show=function(){var a=this,b=a.menu;if(a.rendered||a._render(),!a.isShowing){a.isShowing=!0;var c=a.$modal;c.show(),a._position(),b&&b.activeStyle(!0)}},c.fn.hide=function(){var a=this,b=a.menu;if(a.isShowing){a.isShowing=!1;var c=a.$modal;c.hide(),b&&b.activeStyle(!1)}}}),b(function(a,b){var c=function(a){this.editor=a,this.init()};c.fn=c.prototype,a.Txt=c}),b(function(a,b){var c=a.Txt;c.fn.init=function(){var a,c=this,d=c.editor,e=d.$valueContainer,f=d.getInitValue();"DIV"===e.get(0).nodeName?(a=e,a.addClass("wangEditor-txt"),a.attr("contentEditable","true")):a=b('<div class="wangEditor-txt" contentEditable="true">'+f+"</div>"),d.ready(function(){c.insertEmptyP()}),c.$txt=a,c.contentEmptyHandle(),c.bindEnterForDiv(),c.bindEnterForText(),c.bindTabEvent(),c.bindPasteFilter(),c.bindFormatText(),c.bindHtml()},c.fn.contentEmptyHandle=function(){var a,c=this,d=c.editor,e=c.$txt;e.on("keydown",function(a){if(8===a.keyCode){var c=b.trim(e.html().toLowerCase());return"<p><br></p>"===c?void a.preventDefault():void 0}}),e.on("keyup",function(c){if(8===c.keyCode){var f=b.trim(e.html().toLowerCase());f&&"<br>"!==f||(a=b("<p><br/></p>"),e.html(""),e.append(a),d.restoreSelectionByElem(a.get(0)))}})},c.fn.bindEnterForDiv=function(){function c(){if(d){var a=b("<p>"+d.html()+"</p>");d.after(a),d.remove()}}var d,e=(a.config.legalTags,this),f=e.editor,g=e.$txt;g.on("keydown keyup",function(a){if(13===a.keyCode){var e,g,h=f.getRangeElem(),i=f.getLegalTags(h);if(!i){if(i=f.getSelfOrParentByName(h,"div"),!i)return;e=b(i),"keydown"===a.type&&(d=e,setTimeout(c,0)),"keyup"===a.type&&(g=b("<p>"+e.html()+"</p>"),e.after(g),e.remove(),f.restoreSelectionByElem(g.get(0),"start"))}}})},c.fn.bindEnterForText=function(){var a,b=this,c=b.$txt;c.on("keyup",function(c){13===c.keyCode&&(a||(a=function(){b.wrapImgAndText()}),setTimeout(a))})},c.fn.bindTabEvent=function(){var a=this,b=a.editor,c=a.$txt;c.on("keydown",function(a){9===a.keyCode&&b.queryCommandSupported("insertHtml")&&b.command(a,"insertHtml"," ")})},c.fn.bindPasteFilter=function(){function a(e){if(e&&e.nodeType&&e.nodeName){var f,h,i=e.nodeName.toLowerCase(),k=e.nodeType;if(3===k||1===k){if(f=b(e),"div"===i)return h=[],b.each(e.childNodes,function(a,b){h.push(b)}),void b.each(h,function(){a(this)});if(j.indexOf(i)>=0)g+=c(e);else if(3===k)g+="<p>"+e.textContent+"</p>";else if("br"===i)g+="<br/>";else{if(["meta","style","script","object","form","iframe","hr"].indexOf(i)>=0)return;f=b(d(e)),g+=b("<div>").append(f.clone()).html()}}}}function c(a){var c,e=a.nodeName.toLowerCase(),f="",g="";return["blockquote"].indexOf(e)>=0?(c=b(a),"<"+e+">"+c.text()+"</"+e+">"):["p","h1","h2","h3","h4","h5"].indexOf(e)>=0?(a=d(a),c=b(a),f=c.html(),f=f.replace(/<.*?>/gi,function(a){return"</a>"===a||0===a.indexOf("<a ")||0===a.indexOf("<img ")?a:""}),"<"+e+">"+f+"</"+e+">"):["ul","ol"].indexOf(e)>=0?(c=b(a),c.children().each(function(){var a=b(d(this)),c=a.html();c=c.replace(/<.*?>/gi,function(a){return"</a>"===a||0===a.indexOf("<a ")||0===a.indexOf("<img ")?a:""}),g+="<li>"+c+"</li>"}),"<"+e+">"+g+"</"+e+">"):(c=b(d(a)),b("<div>").append(c).html())}function d(a){var c=a.attributes||[],e=[],f=["href","target","src","alt","rowspan","colspan"];b.each(c,function(a,b){b&&2===b.nodeType&&e.push(b.nodeName)}),b.each(e,function(b,c){f.indexOf(c)<0&&a.removeAttribute(c)});var g=a.childNodes;return g.length&&b.each(g,function(a,b){d(b)}),a}var e=this,f=e.editor,g="",h=e.$txt,i=f.config.legalTags,j=i.split(",");h.on("paste",function(c){if(f.config.pasteFilter){var d=f.getRangeElem().nodeName;if("TD"!==d&&"TH"!==d){g="";var h,i,j=c.clipboardData||c.originalEvent.clipboardData,k=window.clipboardData;if(f.config.pasteText){if(j&&j.getData)h=j.getData("text/plain");else{if(!k||!k.getData)return;h=k.getData("text")}h&&(g="<p>"+h+"</p>")}else if(j&&j.getData)h=j.getData("text/html"),h?(i=b("<div>"+h+"</div>"),a(i.get(0))):(h=j.getData("text/plain"),h&&(h=h.replace(/[ ]/g," ").replace(/</g,"<").replace(/>/g,">").replace(/\n/g,"</p><p>"),g="<p>"+h+"</p>",g=g.replace(/<p>(https?:\/\/.*?)<\/p>/gi,function(a,b){return'<p><a href="'+b+'" target="_blank">'+b+"</p>"})));else{if(!k||!k.getData)return;if(g=k.getData("text"),!g)return;g="<p>"+g+"</p>",g=g.replace(new RegExp("\n","g"),"</p><p>")}g&&(f.command(c,"insertHtml",g),e.clearEmptyOrNestP())}}})},c.fn.bindFormatText=function(){var c=this,d=(c.editor,c.$txt),e=a.config.legalTags,f=e.split(","),g=(f.length,[]);b.each(f,function(a,b){var c=">\\s*<("+b+")>";g.push(new RegExp(c,"ig"))}),g.push(new RegExp(">\\s*<(li)>","ig")),g.push(new RegExp(">\\s*<(tr)>","ig")),g.push(new RegExp(">\\s*<(code)>","ig")),d.formatText=function(){var a=b("<div>"),c=d.html();return c=c.replace(/\s*</gi,"<"),b.each(g,function(a,b){b.test(c)&&(c=c.replace(b,function(a,b){return">\n<"+b+">"}))}),a.html(c),a.text()}},c.fn.bindHtml=function(){var a=this,c=a.editor,d=a.$txt,e=c.$valueContainer,f=c.valueNodeName;d.html=function(a){var c;return"div"===f&&(c=b.fn.html.call(d,a)),void 0===a?(c=b.fn.html.call(d),c=c.replace(/(href|src)\=\"(.*)\"/gim,function(a,b,c){return b+'="'+c.replace("&","&")+'"'})):(c=b.fn.html.call(d,a),e.val(a)),void 0===a?c:void d.change()}}}),b(function(a,b){var c=a.Txt,d="propertychange change click keyup input paste";c.fn.render=function(){var a=this.$txt,b=this.editor.$editorContainer;b.append(a)},c.fn.initHeight=function(){var a=this.editor,b=this.$txt,c=a.$valueContainer.height(),d=a.menuContainer.height(),e=c-d;e=e<50?50:e,b.height(e),a.valueContainerHeight=c,this.initMaxHeight(e,d)},c.fn.initMaxHeight=function(c,d){var e=this.editor,f=e.menuContainer.$menuContainer,g=this.$txt,h=b("<div>");if(window.getComputedStyle&&"max-height"in window.getComputedStyle(g.get(0))){var i=parseInt(e.$valueContainer.css("max-height"));if(isNaN(i))return;if(e.menus.fullscreen)return void a.warn("max-height和『全屏』菜单一起使用时,会有一些问题尚未解决,请暂时不要两个同时使用");e.useMaxHeight=!0,h.css({"max-height":i-d+"px","overflow-y":"auto"}),g.css({height:"auto","overflow-y":"visible","min-height":c+"px"}),h.on("scroll",function(){g.parent().scrollTop()>10?f.addClass("wangEditor-menu-shadow"):f.removeClass("wangEditor-menu-shadow")}),g.wrap(h)}},c.fn.saveSelectionEvent=function(){function a(){g.saveSelection()}function b(){Date.now()-h<100||(h=Date.now(),a())}function c(){e&&clearTimeout(e),e=setTimeout(a,300)}var e,f=this.$txt,g=this.editor,h=Date.now();f.on(d+" focus blur",function(a){b(),c()}),f.on("mousedown",function(){f.on("mouseleave.saveSelection",function(a){b(),c(),g.updateMenuStyle()})}).on("mouseup",function(){f.off("mouseleave.saveSelection")})},c.fn.updateValueEvent=function(){function a(){var a=e.html();c!==a&&(f.onchange&&"function"==typeof f.onchange&&f.onchange.call(f),f.updateValue(),c=a)}var b,c,e=this.$txt,f=this.editor;e.on(d,function(d){null==c&&(c=e.html()),b&&clearTimeout(b),b=setTimeout(a,100)})},c.fn.updateMenuStyleEvent=function(){var a=this.$txt,b=this.editor;a.on(d,function(a){b.updateMenuStyle()})},c.fn.insertEmptyP=function(){var a=this.$txt,c=a.children();return 0===c.length?void a.append(b("<p><br></p>")):void("<br>"!==b.trim(c.last().html()).toLowerCase()&&a.append(b("<p><br></p>")))},c.fn.wrapImgAndText=function(){var a,c,d=this.$txt,e=d.children("img"),f=d[0],g=f.childNodes,h=g.length;for(e.length&&e.each(function(){b(this).wrap("<p>")}),a=0;a<h;a++)c=g[a],3===c.nodeType&&c.textContent&&b.trim(c.textContent)&&b(c).wrap("<p>")},c.fn.clearEmptyOrNestP=function(){var a=this.$txt,c=a.find("p");c.each(function(){var a,c=b(this),d=c.children(),e=d.length,f=b.trim(c.html());return f?void(1===e&&(a=d.first(),a.get(0)&&"P"===a.get(0).nodeName&&c.html(a.html()))):void c.remove()})},c.fn.scrollTop=function(a){var b=this,c=b.editor,d=b.$txt;return c.useMaxHeight?d.parent().scrollTop(a):d.scrollTop(a)},c.fn.showHeightOnHover=function(){function a(a){i||(e.append(h),i=!0);var b=(g.position().top,g.outerHeight(),a.height()),c=a.position().top,d=parseInt(a.css("margin-top"),10),j=parseInt(a.css("padding-top"),10),k=parseInt(a.css("margin-bottom"),10),l=parseInt(a.css("padding-bottom"),10);c+f.height();h.css({height:b+j+d+l+k,top:c+f.height()})}function c(){i&&(h.remove(),i=!1)}var d=this.editor,e=d.$editorContainer,f=d.menuContainer,g=this.$txt,h=b('<i class="height-tip"><i>'),i=!1;g.on("mouseenter","ul,ol,blockquote,p,h1,h2,h3,h4,h5,table,pre",function(c){a(b(c.currentTarget))}).on("mouseleave",function(){c()})}}),b(function(a,b){Array.prototype.indexOf||(Array.prototype.indexOf=function(a){for(var b=0,c=this.length;b<c;b++)if(this[b]===a)return b;return-1},Array.prototype.lastIndexOf=function(a){var b=this.length;for(b-=1;b>=0;b--)if(this[b]===a)return b;return-1}),Date.now||(Date.now=function(){return(new Date).valueOf()});var c=window.console,d=function(){};b.each(["info","log","warn","error"],function(b,e){null==c?a[e]=d:a[e]=function(b){a.config&&a.config.printLog&&c[e]("wangEditor提示: "+b)}}),a.random=function(){return Math.random().toString().slice(2)},a.placeholder="placeholder"in document.createElement("input"),a.placeholderForIE8=function(c){a.placeholder||c.find("input[placeholder]").each(function(){var a=b(this),c=a.attr("placeholder");""===a.val()&&(a.css("color","#666"),a.val(c),a.on("focus.placeholder click.placeholder",function(){a.val(""),a.css("color","#333"),a.off("focus.placeholder click.placeholder")}))})}}),b(function(a,b){a.langs={},a.langs["zh-cn"]={bold:"粗体",underline:"下划线",italic:"斜体",forecolor:"文字颜色",bgcolor:"背景色",strikethrough:"删除线",eraser:"清空格式",source:"源码",quote:"引用",fontfamily:"字体",fontsize:"字号",head:"标题",orderlist:"有序列表",unorderlist:"无序列表",alignleft:"左对齐",aligncenter:"居中",alignright:"右对齐",link:"链接",text:"文本",submit:"提交",cancel:"取消",unlink:"取消链接",table:"表格",emotion:"表情",img:"图片",video:"视频",width:"宽",height:"高",location:"位置",loading:"加载中",searchlocation:"搜索位置",dynamicMap:"动态地图",clearLocation:"清除位置",langDynamicOneLocation:"动态地图只能显示一个位置",insertcode:"插入代码",undo:"撤销",redo:"重复",fullscreen:"全屏",openLink:"打开链接"},a.langs.en={bold:"Bold",underline:"Underline",italic:"Italic",forecolor:"Color",bgcolor:"Backcolor",strikethrough:"Strikethrough",eraser:"Eraser",source:"Codeview",quote:"Quote",fontfamily:"Font family",fontsize:"Font size",head:"Head",orderlist:"Ordered list",unorderlist:"Unordered list",alignleft:"Align left",aligncenter:"Align center",alignright:"Align right",link:"Insert link",text:"Text",submit:"Submit",cancel:"Cancel",unlink:"Unlink",table:"Table",emotion:"Emotions",img:"Image",video:"Video",width:"width",height:"height",location:"Location",loading:"Loading",searchlocation:"search",dynamicMap:"Dynamic",clearLocation:"Clear",langDynamicOneLocation:"Only one location in dynamic map",insertcode:"Insert Code",undo:"Undo",redo:"Redo",fullscreen:"Full screnn",openLink:"open link"}}),b(function(a,b){a.config={},a.config.zindex=1e4,a.config.printLog=!0,a.config.menuFixed=0,a.config.jsFilter=!0,a.config.legalTags="p,h1,h2,h3,h4,h5,h6,blockquote,table,ul,ol,pre",a.config.lang=a.langs["zh-cn"],a.config.menus=["source","|","bold","underline","italic","strikethrough","eraser","forecolor","bgcolor","|","quote","fontfamily","fontsize","head","unorderlist","orderlist","alignleft","aligncenter","alignright","|","link","unlink","table","emotion","|","img","video","location","insertcode","|","undo","redo","fullscreen"],a.config.colors={"#880000":"暗红色","#800080":"紫色","#ff0000":"红色","#ff00ff":"鲜粉色","#000080":"深蓝色","#0000ff":"蓝色","#00ffff":"湖蓝色","#008080":"蓝绿色","#008000":"绿色","#808000":"橄榄色","#00ff00":"浅绿色","#ffcc00":"橙黄色","#808080":"灰色","#c0c0c0":"银色","#000000":"黑色","#ffffff":"白色"},a.config.familys=["宋体","黑体","楷体","微软雅黑","Arial","Verdana","Georgia","Times New Roman","Microsoft JhengHei","Trebuchet MS","Courier New","Impact","Comic Sans MS","Consolas"],a.config.fontsizes={1:"12px",2:"13px",3:"16px",4:"18px",5:"24px",6:"32px",7:"48px"},a.config.emotionsShow="icon",a.config.emotions={weibo:{title:"微博表情",data:[{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/7a/shenshou_thumb.gif",value:"[草泥马]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/60/horse2_thumb.gif",value:"[神马]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/bc/fuyun_thumb.gif",value:"[浮云]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/c9/geili_thumb.gif",value:"[给力]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/f2/wg_thumb.gif",value:"[围观]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/70/vw_thumb.gif",value:"[威武]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/6e/panda_thumb.gif",value:"[熊猫]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/81/rabbit_thumb.gif",value:"[兔子]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/bc/otm_thumb.gif",value:"[奥特曼]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/15/j_thumb.gif",value:"[囧]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/89/hufen_thumb.gif",value:"[互粉]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/c4/liwu_thumb.gif",value:"[礼物]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/ac/smilea_thumb.gif", | ||
3 | value:"[呵呵]"},{icon:"http://img.t.sinajs.cn/t35/style/images/common/face/ext/normal/0b/tootha_thumb.gif",value:"[哈哈]"}]}},a.config.mapAk="TVhjYjq1ICT2qqL5LdS8mwas",a.config.uploadImgUrl="",a.config.uploadTimeout=2e4,a.config.uploadImgFns={},a.config.customUpload=!1,a.config.uploadParams={},a.config.uploadHeaders={},a.config.hideLinkImg=!1,a.config.pasteFilter=!0,a.config.pasteText=!1,a.config.codeDefaultLang="javascript"}),b(function(a,b){a.UI={},a.UI.menus={default:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-command"></i></a>',selected:".selected"},bold:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-bold"></i></a>',selected:".selected"},underline:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-underline"></i></a>',selected:".selected"},italic:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-italic"></i></a>',selected:".selected"},forecolor:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-pencil"></i></a>',selected:".selected"},bgcolor:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-brush"></i></a>',selected:".selected"},strikethrough:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-strikethrough"></i></a>',selected:".selected"},eraser:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-eraser"></i></a>',selected:".selected"},quote:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-quotes-left"></i></a>',selected:".selected"},source:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-code"></i></a>',selected:".selected"},fontfamily:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-font2"></i></a>',selected:".selected"},fontsize:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-text-height"></i></a>',selected:".selected"},head:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-header"></i></a>',selected:".selected"},orderlist:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-list-numbered"></i></a>',selected:".selected"},unorderlist:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-list-bullet"></i></a>',selected:".selected"},alignleft:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-align-left"></i></a>',selected:".selected"},aligncenter:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-align-center"></i></a>',selected:".selected"},alignright:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-align-right"></i></a>',selected:".selected"},link:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-link"></i></a>',selected:".selected"},unlink:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-unlink"></i></a>',selected:".selected"},table:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-table"></i></a>',selected:".selected"},emotion:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-happy"></i></a>',selected:".selected"},img:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-picture"></i></a>',selected:".selected"},video:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-play"></i></a>',selected:".selected"},location:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-location"></i></a>',selected:".selected"},insertcode:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-terminal"></i></a>',selected:".selected"},undo:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-ccw"></i></a>',selected:".selected"},redo:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-cw"></i></a>',selected:".selected"},fullscreen:{normal:'<a href="#" tabindex="-1"><i class="wangeditor-menu-img-enlarge2"></i></a>',selected:'<a href="#" tabindex="-1" class="selected"><i class="wangeditor-menu-img-shrink2"></i></a>'}}}),b(function(a,b){a.fn.initDefaultConfig=function(){var c=this;c.config=b.extend({},a.config),c.UI=b.extend({},a.UI)}}),b(function(a,b){a.fn.addEditorContainer=function(){this.$editorContainer=b('<div class="wangEditor-container"></div>')}}),b(function(a,b){a.fn.addTxt=function(){var b=this,c=new a.Txt(b);b.txt=c}}),b(function(a,b){a.fn.addMenuContainer=function(){var b=this;b.menuContainer=new a.MenuContainer(b)}}),b(function(a,b){a.createMenuFns=[],a.createMenu=function(b){a.createMenuFns.push(b)},a.fn.addMenus=function(){function c(a){return e.indexOf(a)>=0}var d=this,e=d.config.menus;b.each(a.createMenuFns,function(a,b){b.call(d,c)})}}),b(function(a,b){a.createMenu(function(b){var c="bold";if(b(c)){var d=this,e=d.config.lang,f=new a.Menu({editor:d,id:c,title:e.bold,commandName:"Bold"});f.clickEventSelected=function(a){var b=d.isRangeEmpty();b?d.commandForElem("b,strong,h1,h2,h3,h4,h5",a,"Bold"):d.command(a,"Bold")},d.menus[c]=f}})}),b(function(a,b){a.createMenu(function(b){var c="underline";if(b(c)){var d=this,e=d.config.lang,f=new a.Menu({editor:d,id:c,title:e.underline,commandName:"Underline"});f.clickEventSelected=function(a){var b=d.isRangeEmpty();b?d.commandForElem("u,a",a,"Underline"):d.command(a,"Underline")},d.menus[c]=f}})}),b(function(a,b){a.createMenu(function(b){var c="italic";if(b(c)){var d=this,e=d.config.lang,f=new a.Menu({editor:d,id:c,title:e.italic,commandName:"Italic"});f.clickEventSelected=function(a){var b=d.isRangeEmpty();b?d.commandForElem("i",a,"Italic"):d.command(a,"Italic")},d.menus[c]=f}})}),b(function(a,b){a.createMenu(function(c){var d="forecolor";if(c(d)){var e=this,f=e.config.lang,g=e.config.colors,h=new a.Menu({editor:e,id:d,title:f.forecolor}),i=b("<div></div>");b.each(g,function(a,b){i.append(['<a href="#" class="color-item"',' title="'+b+'" commandValue="'+a+'" ',' style="color: '+a+'" ','><i class="wangeditor-menu-img-pencil"></i></a>'].join(""))}),i.on("click","a[commandValue]",function(a){var c=b(this),d=c.attr("commandValue");h.selected&&e.isRangeEmpty()?e.commandForElem("font[color]",a,"forecolor",d):e.command(a,"forecolor",d)}),h.dropPanel=new a.DropPanel(e,h,{$content:i,width:125}),h.updateSelectedEvent=function(){var a=e.getRangeElem();return a=e.getSelfOrParentByName(a,"font[color]"),!!a},e.menus[d]=h}})}),b(function(a,b){a.createMenu(function(c){function d(a){var b;return!!(a&&a.style&&null!=a.style.cssText&&(b=a.style.cssText,b&&b.indexOf("background-color:")>=0))}var e="bgcolor";if(c(e)){var f=this,g=f.config.lang,h=f.config.colors,i=new a.Menu({editor:f,id:e,title:g.bgcolor}),j=b("<div></div>");b.each(h,function(a,b){j.append(['<a href="#" class="color-item"',' title="'+b+'" commandValue="'+a+'" ',' style="color: '+a+'" ','><i class="wangeditor-menu-img-brush"></i></a>'].join(""))}),j.on("click","a[commandValue]",function(a){var c=b(this),e=c.attr("commandValue");i.selected&&f.isRangeEmpty()?f.commandForElem({selector:"span,font",check:d},a,"BackColor",e):f.command(a,"BackColor",e)}),i.dropPanel=new a.DropPanel(f,i,{$content:j,width:125}),i.updateSelectedEvent=function(){var a=f.getRangeElem();return a=f.getSelfOrParentByName(a,"span,font",d),!!a},f.menus[e]=i}})}),b(function(a,b){a.createMenu(function(b){var c="strikethrough";if(b(c)){var d=this,e=d.config.lang,f=new a.Menu({editor:d,id:c,title:e.strikethrough,commandName:"StrikeThrough"});f.clickEventSelected=function(a){var b=d.isRangeEmpty();b?d.commandForElem("strike",a,"StrikeThrough"):d.command(a,"StrikeThrough")},d.menus[c]=f}})}),b(function(a,b){a.createMenu(function(c){var d="eraser";if(c(d)){var e=this,f=e.config.lang,g=new a.Menu({editor:e,id:d,title:f.eraser,commandName:"RemoveFormat"});g.clickEvent=function(a){function c(){var a,c,d,e,f,h,i,j=this;a=j.getRangeElem(),e=j.getSelfOrParentByName(a,"blockquote"),e&&(f=b(e),g=b("<p>"+f.text()+"</p>"),f.after(g).remove()),c=j.getSelfOrParentByName(a,"p,h1,h2,h3,h4,h5"),c&&(d=b(c),g=b("<p>"+d.text()+"</p>"),d.after(g).remove()),h=j.getSelfOrParentByName(a,"ul,ol"),h&&(i=b(h),g=b("<p>"+i.text()+"</p>"),i.after(g).remove())}function d(){var a=this;g&&a.restoreSelectionByElem(g.get(0))}var f=e.isRangeEmpty();if(!f)return void e.command(a,"RemoveFormat");var g;e.customCommand(a,c,d)},e.menus[d]=g}})}),b(function(a,b){a.createMenu(function(c){function d(){var a=i.$codeTextarea,c=g.txt.$txt,d=b.trim(a.val());d||(d="<p><br></p>"),g.config.jsFilter&&(d=d.replace(/<script[\s\S]*?<\/script>/gi,""));try{c.html(d)}catch(e){}}var e="source";if(c(e)){var f,g=this,h=g.config.lang,i=new a.Menu({editor:g,id:e,title:h.source});i.isShowCode=!1,i.clickEvent=function(a){var c=this,e=c.editor,g=e.txt.$txt,h=g.outerHeight(),j=g.height();c.$codeTextarea||(c.$codeTextarea=b('<textarea class="code-textarea"></textarea>'));var k=c.$codeTextarea;k.css({height:j,"margin-top":h-j}),k.val(g.html()),k.on("change",function(a){d()}),g.after(k).hide(),k.show(),i.isShowCode=!0,this.updateSelected(),e.disableMenusExcept("source"),f=g.html()},i.clickEventSelected=function(a){var b=this,c=b.editor,e=c.txt.$txt,g=b.$codeTextarea;g&&(d(),g.after(e).hide(),e.show(),i.isShowCode=!1,this.updateSelected(),c.enableMenusExcept("source"),e.html()!==f&&c.onchange&&"function"==typeof c.onchange&&c.onchange.call(c))},i.updateSelectedEvent=function(){return this.isShowCode},g.menus[e]=i}})}),b(function(a,b){a.createMenu(function(c){var d="quote";if(c(d)){var e=this,f=e.config.lang,g=new a.Menu({editor:e,id:d,title:f.quote,commandName:"formatBlock",commandValue:"blockquote"});g.clickEvent=function(a){function c(){h=b("<p>"+f.text()+"</p>"),f.after(h).remove(),h.wrap("<blockquote>")}function d(){var a=this;h&&a.restoreSelectionByElem(h.get(0))}var f,g=e.getRangeElem();if(!g)return void a.preventDefault();var h,i=e.getSelfOrParentByName(g,"blockquote");return i?void a.preventDefault():(g=e.getLegalTags(g),f=b(g),f.text()?g?void e.customCommand(a,c,d):void e.command(a,"formatBlock","blockquote"):void 0)},g.clickEventSelected=function(a){function c(){var a,c;if(a=b(g),c=a.children(),c.length)return c.each(function(c){var d=b(this);"P"===d.get(0).nodeName?a.after(d):a.after("<p>"+d.text()+"</p>"),h=d}),void a.remove()}function d(){var a=this;h&&a.restoreSelectionByElem(h.get(0))}var f,g,h;return f=e.getRangeElem(),(g=e.getSelfOrParentByName(f,"blockquote"))?void e.customCommand(a,c,d):void a.preventDefault()},g.updateSelectedEvent=function(){var a,b=this,c=b.editor;return a=c.getRangeElem(),a=c.getSelfOrParentByName(a,"blockquote"),!!a},e.menus[d]=g,e.ready(function(){var a=this,c=a.txt.$txt,d=!1;c.on("keydown",function(c){if(13!==c.keyCode)return void(d=!1);var e=a.getRangeElem();if(e=a.getSelfOrParentByName(e,"blockquote"),!e)return void(d=!1);if(!d)return void(d=!0);var f=a.getRangeElem(),g=b(f);g.length&&g.parent().after(g),a.restoreSelectionByElem(f,"start"),d=!1,c.preventDefault()})}),e.ready(function(){function a(){d&&d.remove()}function c(){if(d){var a=d.prev();a.length?e.restoreSelectionByElem(a.get(0)):e.initSelection()}}var d,e=this,f=e.txt.$txt;f.on("keydown",function(f){if(8===f.keyCode){var g=e.getRangeElem();if(g=e.getSelfOrParentByName(g,"blockquote")){d=b(g);var h=d.text();h||e.customCommand(f,a,c)}}})})}})}),b(function(a,b){a.createMenu(function(c){var d="fontfamily";if(c(d)){var e=this,f=e.config.lang,g=e.config.familys,h=new a.Menu({editor:e,id:d,title:f.fontfamily,commandName:"fontName"}),i={};b.each(g,function(a,b){i[b]=b});var j='<span style="font-family:{#commandValue};">{#title}</span>';h.dropList=new a.DropList(e,h,{data:i,tpl:j,selectorForELemCommand:"font[face]"}),h.updateSelectedEvent=function(){var a=e.getRangeElem();return a=e.getSelfOrParentByName(a,"font[face]"),!!a},e.menus[d]=h}})}),b(function(a,b){a.createMenu(function(b){var c="fontsize";if(b(c)){var d=this,e=d.config.lang,f=d.config.fontsizes,g=new a.Menu({editor:d,id:c,title:e.fontsize,commandName:"fontSize"}),h=f,i='<span style="font-size:{#title};">{#title}</span>';g.dropList=new a.DropList(d,g,{data:h,tpl:i,selectorForELemCommand:"font[size]"}),g.updateSelectedEvent=function(){var a=d.getRangeElem();return a=d.getSelfOrParentByName(a,"font[size]"),!!a},d.menus[c]=g}})}),b(function(a,b){a.createMenu(function(b){function c(a){g.queryCommandState("InsertOrderedList")?(f=!0,g.command(a,"InsertOrderedList")):f=!1}function d(a){f&&g.command(a,"InsertOrderedList")}var e="head";if(b(e)){var f,g=this,h=g.config.lang,i=new a.Menu({editor:g,id:e,title:h.head,commandName:"formatBlock"}),j={"<h1>":"标题1","<h2>":"标题2","<h3>":"标题3","<h4>":"标题4","<h5>":"标题5"},k="{#commandValue}{#title}";i.dropList=new a.DropList(g,i,{data:j,tpl:k,beforeEvent:c,afterEvent:d}),i.updateSelectedEvent=function(){var a=g.getRangeElem();return a=g.getSelfOrParentByName(a,"h1,h2,h3,h4,h5"),!!a},g.menus[e]=i}})}),b(function(a,b){a.createMenu(function(b){var c="unorderlist";if(b(c)){var d=this,e=d.config.lang,f=new a.Menu({editor:d,id:c,title:e.unorderlist,commandName:"InsertUnorderedList"});d.menus[c]=f}})}),b(function(a,b){a.createMenu(function(b){var c="orderlist";if(b(c)){var d=this,e=d.config.lang,f=new a.Menu({editor:d,id:c,title:e.orderlist,commandName:"InsertOrderedList"});d.menus[c]=f}})}),b(function(a,b){a.createMenu(function(c){var d="alignleft";if(c(d)){var e=this,f=e.config.lang,g=new a.Menu({editor:e,id:d,title:f.alignleft,commandName:"JustifyLeft"});g.updateSelectedEvent=function(){var a=e.getRangeElem();return a=e.getSelfOrParentByName(a,"p,h1,h2,h3,h4,h5,li",function(a){var c;return!!(a&&a.style&&null!=a.style.cssText&&(c=a.style.cssText,c&&/text-align:\s*left;/.test(c)))||"left"===b(a).attr("align")}),!!a},e.menus[d]=g}})}),b(function(a,b){a.createMenu(function(c){var d="aligncenter";if(c(d)){var e=this,f=e.config.lang,g=new a.Menu({editor:e,id:d,title:f.aligncenter,commandName:"JustifyCenter"});g.updateSelectedEvent=function(){var a=e.getRangeElem();return a=e.getSelfOrParentByName(a,"p,h1,h2,h3,h4,h5,li",function(a){var c;return!!(a&&a.style&&null!=a.style.cssText&&(c=a.style.cssText,c&&/text-align:\s*center;/.test(c)))||"center"===b(a).attr("align")}),!!a},e.menus[d]=g}})}),b(function(a,b){a.createMenu(function(c){var d="alignright";if(c(d)){var e=this,f=e.config.lang,g=new a.Menu({editor:e,id:d,title:f.alignright,commandName:"JustifyRight"});g.updateSelectedEvent=function(){var a=e.getRangeElem();return a=e.getSelfOrParentByName(a,"p,h1,h2,h3,h4,h5,li",function(a){var c;return!!(a&&a.style&&null!=a.style.cssText&&(c=a.style.cssText,c&&/text-align:\s*right;/.test(c)))||"right"===b(a).attr("align")}),!!a},e.menus[d]=g}})}),b(function(a,b){a.createMenu(function(c){var d="link";if(c(d)){var e=this,f=e.config.lang,g=new a.Menu({editor:e,id:d,title:f.link}),h=b("<div></div>"),i=b('<div style="margin:20px 10px;" class="clearfix"></div>'),j=i.clone(),k=i.clone().css("margin","0 10px"),l=b('<input type="text" class="block" placeholder="'+f.text+'"/>'),m=b('<input type="text" class="block" placeholder="'+f.link+'"/>'),n=b('<button class="right">'+f.submit+"</button>"),o=b('<button class="right gray">'+f.cancel+"</button>");i.append(l),j.append(m),k.append(n).append(o),h.append(i).append(j).append(k),g.dropPanel=new a.DropPanel(e,g,{$content:h,width:300}),g.clickEvent=function(a){var b=this,c=b.dropPanel;if(c.isShowing)return void c.hide();l.val(""),m.val("http://");var d="",f=e.getRangeElem();f=e.getSelfOrParentByName(f,"a"),f&&(d=f.href||"");var g="",h=e.isRangeEmpty();h?f&&(g=f.textContent||f.innerHTML):g=e.getRangeText()||"",d&&m.val(d),g&&l.val(g),h?l.removeAttr("disabled"):l.attr("disabled",!0),c.show()},g.updateSelectedEvent=function(){var a=e.getRangeElem();return a=e.getSelfOrParentByName(a,"a"),!!a},o.click(function(a){a.preventDefault(),g.dropPanel.hide()}),n.click(function(c){c.preventDefault();var d,f,h,i,j,k,n=e.getRangeElem(),o=e.getSelfOrParentByName(n,"a"),p=e.isRangeEmpty(),q=e.txt.$txt,r="link"+a.random(),s=b.trim(m.val()),t=b.trim(l.val());return s?(t||(t=s),void(p?o?(d=b(o),h=function(){d.attr("href",s),d.text(t)},i=function(){var a=this;a.restoreSelectionByElem(o)},e.customCommand(c,h,i)):(f='<a href="'+s+'" target="_blank">'+t+"</a>",a.userAgent.indexOf("Firefox")>0&&(f+="<span> </span>"),e.command(c,"insertHtml",f)):(j=q.find("a"),j.attr(r,"1"),e.command(c,"createLink",s),k=q.find("a").not("["+r+"]"),k.attr("target","_blank"),j.removeAttr(r)))):void g.dropPanel.focusFirstInput()}),e.menus[d]=g}})}),b(function(a,b){a.createMenu(function(c){var d="unlink";if(c(d)){var e=this,f=e.config.lang,g=new a.Menu({editor:e,id:d,title:f.unlink,commandName:"unLink"});g.clickEvent=function(a){function c(){i.after(j).remove()}function d(){e.restoreSelectionByElem(j.get(0))}var f=e.isRangeEmpty();if(!f)return void e.command(a,"unLink");var g=e.getRangeElem(),h=e.getSelfOrParentByName(g,"a");if(!h)return void a.preventDefault();var i=b(h),j=b("<span>"+i.text()+"</span>");e.customCommand(a,c,d)},e.menus[d]=g}})}),b(function(a,b){a.createMenu(function(c){var d="table";if(c(d)){var e,f,g,h=this,i=h.config.lang,j=new a.Menu({editor:h,id:d,title:i.table}),k=b('<div style="font-size: 14px; color: #666; text-align:right;"></div>'),l=b('<table class="choose-table" style="margin-bottom:10px;margin-top:5px;">'),m=b("<span>0</span>"),n=b("<span> 行 </span>"),o=b("<span>0</span>"),p=b("<span> 列</span>");for(f=0;f<15;f++){for(e=b('<tr index="'+(f+1)+'">'),g=0;g<20;g++)e.append(b('<td index="'+(g+1)+'">'));l.append(e)}k.append(l),k.append(m).append(n).append(o).append(p),l.on("mouseenter","td",function(a){var c=b(a.currentTarget),d=c.attr("index"),e=c.parent(),f=e.attr("index");m.text(f),o.text(d),l.find("tr").each(function(){var a=b(this),c=a.attr("index");parseInt(c,10)<=parseInt(f,10)?a.find("td").each(function(){var a=b(this),c=a.attr("index");parseInt(c,10)<=parseInt(d,10)?a.addClass("active"):a.removeClass("active")}):a.find("td").removeClass("active")})}).on("mouseleave",function(a){l.find("td").removeClass("active"),m.text(0),o.text(0)}),l.on("click","td",function(a){var c,d,e=b(a.currentTarget),f=e.attr("index"),g=e.parent(),i=g.attr("index"),j=parseInt(i,10),k=parseInt(f,10),l="<table>";for(c=0;c<j;c++){for(l+="<tr>",d=0;d<k;d++)l+="<td><span> </span></td>";l+="</tr>"}l+="</table>",h.command(a,"insertHtml",l)}),j.dropPanel=new a.DropPanel(h,j,{$content:k,width:262}),h.menus[d]=j}})}),b(function(a,b){a.createMenu(function(c){function d(a,c){b.each(a,function(a,d){var e=d.icon||d.url,g=d.value||d.title,h="icon"===j?e:g,i=b('<a href="#" commandValue="'+h+'"></a>'),k=b("<img>");k.attr("_src",e),i.append(k),c.append(i),f.emotionUrls.push(e)})}var e="emotion";if(c(e)){var f=this,g=f.config,h=g.lang,i=g.emotions,j=g.emotionsShow;f.emotionUrls=[];var k=new a.Menu({editor:f,id:e,title:h.emotion}),l=b('<div class="panel-tab"></div>'),m=b('<div class="tab-container"></div>'),n=b('<div class="content-container emotion-content-container"></div>');b.each(i,function(c,e){var f=e.title,g=e.data;a.log("正在处理 "+f+" 表情的数据...");var h=b('<a href="#">'+f+" </a>");m.append(h);var i=b('<div class="content"></div>');if(n.append(i),h.click(function(a){m.children().removeClass("selected"),n.children().removeClass("selected"),i.addClass("selected"),h.addClass("selected"),a.preventDefault()}),"string"==typeof g)a.log("将通过 "+g+" 地址ajax下载表情包"),b.get(g,function(c){c=b.parseJSON(c),a.log("下载完毕,得到 "+c.length+" 个表情"),d(c,i)});else{if(!(Object.prototype.toString.call(g).toLowerCase().indexOf("array")>0))return void a.error("data 数据格式错误,请修改为正确格式,参考文档:"+a.docsite);d(g,i)}}),l.append(m).append(n),m.children().first().addClass("selected"),n.children().first().addClass("selected"),n.on("click","a[commandValue]",function(a){var c=b(a.currentTarget),d=c.attr("commandValue");"icon"===j?f.command(a,"InsertImage",d):f.command(a,"insertHtml","<span>"+d+"</span>"),a.preventDefault()}),k.dropPanel=new a.DropPanel(f,k,{$content:l,width:350}),k.clickEvent=function(c){var d=this,e=d.dropPanel;return e.isShowing?void e.hide():(e.show(),void(d.imgLoaded||(n.find("img").each(function(){var c=b(this),d=c.attr("_src");c.on("error",function(){a.error("加载不出表情图片 "+d)}),c.attr("src",d),c.removeAttr("_src")}),d.imgLoaded=!0)))},f.menus[e]=k}})}),b(function(a,b){function c(a,c,d){function e(){h.val("")}var f=a.config.lang,g=b('<div style="margin:20px 10px 10px 10px;"></div>'),h=b('<input type="text" class="block" placeholder="http://"/>');g.append(h);var i=b('<button class="right">'+f.submit+"</button>"),j=b('<button class="right gray">'+f.cancel+"</button>");d.append(g).append(i).append(j),j.click(function(a){a.preventDefault(),c.dropPanel.hide()}),i.click(function(c){c.preventDefault();var d=b.trim(h.val());if(!d)return void h.focus();var f='<img style="max-width:100%;" src="'+d+'"/>';a.command(c,"insertHtml",f,e)})}a.createMenu(function(d){function e(){o.click(function(a){m.children().removeClass("selected"),n.children().removeClass("selected"),q.addClass("selected"),o.addClass("selected"),a.preventDefault()}),p.click(function(b){m.children().removeClass("selected"),n.children().removeClass("selected"),r.addClass("selected"),p.addClass("selected"),b.preventDefault(),a.placeholder&&r.find("input[type=text]").focus()}),o.click()}function f(){m.remove(),q.remove(),r.addClass("selected")}function g(){m.remove(),r.remove(),q.addClass("selected")}var h="img";if(d(h)){var i=this,j=i.config.lang,k=new a.Menu({editor:i,id:h,title:j.img}),l=b('<div class="panel-tab"></div>'),m=b('<div class="tab-container"></div>'),n=b('<div class="content-container"></div>');l.append(m).append(n);var o=b('<a href="#">上传图片</a>'),p=b('<a href="#">网络图片</a>');m.append(o).append(p);var q=b('<div class="content"></div>');n.append(q);var r=b('<div class="content"></div>');n.append(r),c(i,k,r),k.dropPanel=new a.DropPanel(i,k,{$content:l,width:400,onRender:function(){var a=i.config.customUploadInit;a&&a.call(i)}}),i.menus[h]=k,i.ready(function(){function a(){k.dropPanel.hide()}var b=this,c=b.config,d=c.uploadImgUrl,h=c.customUpload,i=c.hideLinkImg;d||h?(b.$uploadContent=q,e(),i&&g()):f(),q.click(function(){setTimeout(a)})})}})}),b(function(a,b){a.createMenu(function(c){var d="video";if(c(d)){var e=this,f=e.config.lang,g=/^<(iframe)|(embed)/i,h=new a.Menu({editor:e,id:d,title:f.video}),i=b("<div></div>"),j=b('<div style="margin:20px 10px;"></div>'),k=b('<input type="text" class="block" placeholder=\'格式如:<iframe src="..." frameborder=0 allowfullscreen></iframe>\'/>');j.append(k);var l=b('<div style="margin:20px 10px;"></div>'),m=b('<input type="text" value="640" style="width:50px;text-align:center;"/>'),n=b('<input type="text" value="498" style="width:50px;text-align:center;"/>');l.append("<span> "+f.width+" </span>").append(m).append("<span> px </span>").append("<span> "+f.height+" </span>").append(n).append("<span> px </span>");var o=b("<div></div>"),p=b('<a href="http://www.kancloud.cn/wangfupeng/wangeditor2/134973" target="_blank" style="display:inline-block;margin-top:10px;margin-left:10px;color:#999;">如何复制视频链接?</a>'),q=b('<button class="right">'+f.submit+"</button>"),r=b('<button class="right gray">'+f.cancel+"</button>");o.append(p).append(q).append(r),i.append(j).append(l).append(o),r.click(function(a){a.preventDefault(),k.val(""),h.dropPanel.hide()}),q.click(function(a){a.preventDefault();var c,d=b.trim(k.val()),f=parseInt(m.val()),i=parseInt(n.val()),j=b("<div>"),l="<p>{content}</p>";return d?g.test(d)?isNaN(f)||isNaN(i)?void alert("宽度或高度不是数字!"):(c=b(d),c.attr("width",f).attr("height",i),l=l.replace("{content}",j.append(c).html()),e.command(a,"insertHtml",l),void k.val("")):(alert("视频链接格式错误!"),void h.dropPanel.focusFirstInput()):void h.dropPanel.focusFirstInput()}),h.dropPanel=new a.DropPanel(e,h,{$content:i,width:400}),e.menus[d]=h}})}),b(function(a,b){var c=function(a){return"onkeyup"in a}(document.createElement("input"));a.baiduMapAk="TVhjYjq1ICT2qqL5LdS8mwas",a.numberOfLocation=0,a.createMenu(function(d){function e(){q.val("")}var f="location";if(d(f)){if(++a.numberOfLocation>1)return void a.error("目前不支持在一个页面多个编辑器上同时使用地图,可通过自定义菜单配置去掉地图菜单");var g=this,h=g.config,i=h.lang,j=h.mapAk;g.mapData={};var k=g.mapData;k.markers=[],k.mapContainerId="map"+a.random(),k.clearLocations=function(){var a=k.map;a&&(a.clearOverlays(),k.markers=[])},k.searchMap=function(){var a=k.map;if(a){var b,c,d=window.BMap,e=p.val(),f=q.val();""!==e&&(f&&""!==f||a.centerAndZoom(e,11),f&&""!==f&&(b=new d.Geocoder,b.getPoint(f,function(b){b?(a.centerAndZoom(b,13),c=new d.Marker(b),a.addOverlay(c),c.enableDragging(),k.markers.push(c)):a.centerAndZoom(e,11)},e)))}};var l=!1;window.baiduMapCallBack=function(){function b(b){var d=b.name;e.setCenter(d),p.val(d),a.placeholder&&q.focus();var f,g;c?(g=function(a){"keyup"===a.type&&13===a.keyCode&&a.preventDefault(),f&&clearTimeout(f),f=setTimeout(k.searchMap,500)},p.on("keyup change paste",g),q.on("keyup change paste",g)):(g=function(){if(!n.is(":visible"))return void clearTimeout(f);var a="",b="",c=p.val(),d=q.val();c===a&&d===b||(k.searchMap(),a=c,b=d),f&&clearTimeout(f),f=setTimeout(g,1e3)},f=setTimeout(g,1e3))}if(!l){l=!0;var d=window.BMap;k.map||(k.map=new d.Map(k.mapContainerId));var e=k.map;e.centerAndZoom(new d.Point(116.404,39.915),11),e.addControl(new d.MapTypeControl),e.setCurrentCity("北京"),e.enableScrollWheelZoom(!0);var f=new d.LocalCity;f.get(b),e.addEventListener("click",function(a){var b=new d.Marker(new d.Point(a.point.lng,a.point.lat));e.addOverlay(b),b.enableDragging(),k.markers.push(b)},!1)}},k.loadMapScript=function(){var b=document.createElement("script");b.type="text/javascript",b.src="https://api.map.baidu.com/api?v=2.0&ak="+j+"&s=1&callback=baiduMapCallBack";try{document.body.appendChild(b)}catch(c){a.error("加载地图过程中发生错误")}},k.initMap=function(){window.BMap?window.baiduMapCallBack():k.loadMapScript()};var m=new a.Menu({editor:g,id:f,title:i.location});g.menus[f]=m;var n=b("<div></div>"),o=b('<div style="margin:10px 0;"></div>'),p=b('<input type="text"/>');p.css({width:"80px","text-align":"center"});var q=b('<input type="text"/>');q.css({width:"300px","margin-left":"10px"}).attr("placeholder",i.searchlocation);var r=b('<button class="right link">'+i.clearLocation+"</button>");o.append(r).append(p).append(q),n.append(o),r.click(function(a){q.val(""),q.focus(),k.clearLocations(),a.preventDefault()});var s=b('<div id="'+k.mapContainerId+'"></div>');s.css({height:"260px",width:"100%",position:"relative","margin-top":"10px",border:"1px solid #f1f1f1"});var t=b("<span>"+i.loading+"</span>");t.css({position:"absolute",width:"100px","text-align":"center",top:"45%",left:"50%","margin-left":"-50px"}),s.append(t),n.append(s);var u=b('<div style="margin:10px 0;"></div>'),v=b('<button class="right">'+i.submit+"</button>"),w=b('<button class="right gray">'+i.cancel+"</button>"),x=b('<label style="display:inline-block;margin-top:10px;color:#666;"></label>'),y=b('<input type="checkbox">');x.append(y).append('<span style="display:inline-block;margin-left:5px;"> '+i.dynamicMap+"</span>"),u.append(x).append(v).append(w),n.append(u),w.click(function(a){a.preventDefault(),e(),m.dropPanel.hide()}),v.click(function(a){a.preventDefault();var c,d,f,h=k.map,j=y.is(":checked"),l=k.markers,m=h.getCenter(),n=m.lng,o=m.lat,p=h.getZoom(),q=h.getSize(),r=q.width,s=q.height;if(d=j?"http://ueditor.baidu.com/ueditor/dialogs/map/show.html#":"http://api.map.baidu.com/staticimage?",d=d+"center="+n+","+o+"&zoom="+p+"&width="+r+"&height="+s,l.length>0&&(d+="&markers=",b.each(l,function(a,b){c=b.getPosition(),a>0&&(d+="|"),d=d+c.lng+","+c.lat})),j){if(l.length>1)return void alert(i.langDynamicOneLocation);d+="&markerStyles=l,A",f='<iframe class="ueditor_baidumap" src="{src}" frameborder="0" width="'+r+'" height="'+s+'"></iframe>',f=f.replace("{src}",d),g.command(a,"insertHtml",f,e)}else g.command(a,"insertHtml",'<img style="max-width:100%;" src="'+d+'"/>',e)}),m.dropPanel=new a.DropPanel(g,m,{$content:n,width:500}),m.onRender=function(){j===a.baiduMapAk&&a.warn("建议在配置中自定义百度地图的mapAk,否则可能影响地图功能,文档:"+a.docsite)},m.clickEvent=function(a){var b=this,c=b.dropPanel,d=!1;return c.isShowing?void c.hide():(k.map||(d=!0),c.show(),k.initMap(),void(d||q.focus()))}}})}),b(function(a,b){function c(){if(!(a.userAgent.indexOf("MSIE 8")>0||window.hljs)){var b=document.createElement("script");b.type="text/javascript",b.src="//cdn.bootcss.com/highlight.js/9.2.0/highlight.min.js",document.body.appendChild(b)}}a.createMenu(function(d){function e(a){var c=b("<div></div>");c.css({margin:"15px 5px 5px 5px",height:"160px","text-align":"center"}),n.css({width:"100%",height:"100%",padding:"10px"}),n.on("keydown",function(a){9===a.keyCode&&a.preventDefault()}),c.append(n),a.append(c);var d=b("<div></div>"),e=b('<button class="right">'+j.submit+"</button>"),f=b('<button class="right gray">'+j.cancel+"</button>");d.append(e).append(f).append(o),a.append(d),f.click(function(a){a.preventDefault(),l.dropPanel.hide()});var g='<pre style="max-width:100%;overflow-x:auto;"><code{#langClass}>{#content}</code></pre>';e.click(function(a){function c(){var a;i&&(a=q.attr("class"),a!==i+" hljs"&&q.attr("class",i+" hljs")),q.html(e)}function d(){h.restoreSelectionByElem(r),m()}a.preventDefault();var e=n.val();if(!e)return void n.focus();var f=h.getRangeElem();b.trim(b(f).text())&&0!==g.indexOf("<p><br></p>")&&(g="<p><br></p>"+g);var i=o?o.val():"",j="",m=function(){k.find("pre code").each(function(a,c){var d=b(c);d.attr("codemark")||window.hljs&&(window.hljs.highlightBlock(c),d.attr("codemark","1"))})};if(i&&(j=' class="'+i+' hljs"'),e=e.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">"),!l.selected){var p=g.replace("{#langClass}",j).replace("{#content}",e);return void h.command(a,"insertHtml",p,m)}var q,r=h.getSelfOrParentByName(f,"pre");r&&(r=h.getSelfOrParentByName(f,"code")),r&&(q=b(r),h.customCommand(a,c,d))})}function f(){var a=h.getRangeElem(),b=h.getSelfOrParentByName(a,"code");b?h.disableMenusExcept("insertcode"):h.enableMenusExcept("insertcode")}var g="insertcode";if(d(g)){setTimeout(c,0);var h=this,i=h.config,j=i.lang,k=h.txt.$txt,l=new a.Menu({editor:h,id:g,title:j.insertcode});l.clickEvent=function(a){var c=this,d=c.dropPanel;if(d.isShowing)return void d.hide();n.val(""),d.show();var e=window.hljs;if(e&&e.listLanguages){if(0!==o.children().length)return;o.css({"margin-top":"9px","margin-left":"5px"}),b.each(e.listLanguages(),function(a,b){"xml"===b&&(b="html"),b===i.codeDefaultLang?o.append('<option value="'+b+'" selected="selected">'+b+"</option>"):o.append('<option value="'+b+'">'+b+"</option>")})}else o.hide()},l.clickEventSelected=function(a){var c=this,d=c.dropPanel;if(d.isShowing)return void d.hide();d.show();var e,f,g=h.getRangeElem(),i=h.getSelfOrParentByName(g,"pre");i&&(i=h.getSelfOrParentByName(g,"code")),i&&(e=b(i),n.val(e.text()),o&&(f=e.attr("class"),f&&o.val(f.split(" ")[0])))},l.updateSelectedEvent=function(){var a,b=this,c=b.editor;return a=c.getRangeElem(),a=c.getSelfOrParentByName(a,"pre"),!!a};var m=b("<div></div>"),n=b("<textarea></textarea>"),o=b("<select></select>");e(m),l.dropPanel=new a.DropPanel(h,l,{$content:m,width:500}),h.menus[g]=l,k.on("keydown",function(a){if(13===a.keyCode){var b=h.getRangeElem(),c=h.getSelfOrParentByName(b,"code");c&&h.command(a,"insertHtml","\n")}}),k.on("keydown click",function(a){setTimeout(f)})}})}),b(function(a,b){a.createMenu(function(b){var c="undo";if(b(c)){var d=this,e=d.config.lang,f=new a.Menu({editor:d,id:c,title:e.undo});f.clickEvent=function(a){d.undo()},d.menus[c]=f,d.ready(function(){function a(){c.undoRecord()}var b,c=this,d=c.txt.$txt;d.on("keydown",function(d){var e=d.keyCode;return d.ctrlKey&&90===e?void c.undo():void(13===e?a():(b&&clearTimeout(b),b=setTimeout(a,1e3)))}),c.undoRecord()})}})}),b(function(a,b){a.createMenu(function(b){var c="redo";if(b(c)){var d=this,e=d.config.lang,f=new a.Menu({editor:d,id:c,title:e.redo});f.clickEvent=function(a){d.redo()},d.menus[c]=f}})}),b(function(a,b){var c;a.createMenu(function(b){var d="fullscreen";if(b(d)){var e,f,g=this,h=g.txt.$txt,i=g.config,j=i.zindex||1e4,k=i.lang,l=!1,m=new a.Menu({editor:g,id:d,title:k.fullscreen});m.clickEvent=function(b){var d=g.$editorContainer;d.addClass("wangEditor-fullscreen"),e=d.css("z-index"),d.css("z-index",j);var i,k=h.height(),m=h.outerHeight();g.useMaxHeight&&(f=h.css("max-height"), | ||
4 | h.css("max-height","none"),i=h.parent(),i.after(h),i.remove(),h.css("overflow-y","auto"));var n=g.menuContainer;h.height(a.$window.height()-n.height()-(m-k)),g.menuContainer.$menuContainer.attr("style",""),l=!0,g.isFullScreen=!0,c=a.$window.scrollTop()},m.clickEventSelected=function(b){var d=g.$editorContainer;d.removeClass("wangEditor-fullscreen"),d.css("z-index",e),g.useMaxHeight?h.css("max-height",f):g.$valueContainer.css("height",g.valueContainerHeight),g.txt.initHeight(),l=!1,g.isFullScreen=!1,null!=c&&a.$window.scrollTop(c)},m.updateSelectedEvent=function(a){return l},g.menus[d]=m}})}),b(function(a,b){a.fn.renderMenus=function(){var a,c=this,d=c.menus,e=c.config.menus,f=(c.menuContainer,0);b.each(e,function(b,c){return"|"===c?void f++:(a=d[c],void(a&&a.render(f)))})}}),b(function(a,b){a.fn.renderMenuContainer=function(){var a=this,b=a.menuContainer;a.$editorContainer;b.render()}}),b(function(a,b){a.fn.renderTxt=function(){var a=this,b=a.txt;b.render(),a.ready(function(){b.initHeight()})}}),b(function(a,b){a.fn.renderEditorContainer=function(){var a,b,c=this,d=c.$valueContainer,e=c.$editorContainer,f=c.txt.$txt;d===f?(a=c.$prev,b=c.$parent,a&&a.length?a.after(e):b.prepend(e)):(d.after(e),d.hide())}}),b(function(a,b){a.fn.eventMenus=function(){var a=this.menus;b.each(a,function(a,b){b.bindEvent()})}}),b(function(a,b){a.fn.eventMenuContainer=function(){}}),b(function(a,b){a.fn.eventTxt=function(){var a=this.txt;a.saveSelectionEvent(),a.updateValueEvent(),a.updateMenuStyleEvent()}}),b(function(a,b){a.plugin(function(){var b=this,c=b.config.uploadImgFns;c.onload||(c.onload=function(b,c){a.log("上传结束,返回结果为 "+b);var d,e=this,f=e.uploadImgOriginalName||"";0===b.indexOf("error|")?(a.warn("上传失败:"+b.split("|")[1]),alert(b.split("|")[1])):(a.log("上传成功,即将插入编辑区域,结果为:"+b),d=document.createElement("img"),d.onload=function(){var c='<img src="'+b+'" alt="'+f+'" style="max-width:100%;"/>';e.command(null,"insertHtml",c),a.log("已插入图片,地址 "+b),d=null},d.onerror=function(){a.error("使用返回的结果获取图片,发生错误。请确认以下结果是否正确:"+b),d=null},d.src=b)}),c.ontimeout||(c.ontimeout=function(b){a.error("上传图片超时"),alert("上传图片超时")}),c.onerror||(c.onerror=function(b){a.error("上传上图片发生错误"),alert("上传上图片发生错误")})})}),b(function(a,b){window.FileReader&&window.FormData&&a.plugin(function(){function c(a,b){var c,d=window.atob(a.split(",")[1]),e=new ArrayBuffer(d.length),f=new Uint8Array(e);for(c=0;c<d.length;c++)f[c]=d.charCodeAt(c);return new Blob([e],{type:b})}function d(b,c){var d=document.createElement("img");d.onload=function(){var e='<img src="'+b+'" style="max-width:100%;"/>';f.command(c,"insertHtml",e),a.log("已插入图片,地址 "+b),d=null},d.onerror=function(){a.error("使用返回的结果获取图片,发生错误。请确认以下结果是否正确:"+b),d=null},d.src=b}function e(a){if(a.lengthComputable){var b=a.loaded/a.total;f.showUploadProgress(100*b)}}var f=this,g=f.config,h=g.uploadImgUrl,i=g.uploadTimeout,j=g.uploadImgFns,k=j.onload,l=j.ontimeout,m=j.onerror;h&&(f.xhrUploadImg=function(g){function j(){y&&clearTimeout(y),z&&z.abort&&z.abort(),n.preventDefault(),u&&u.call(f,z),f.hideUploadProgress()}var n=g.event,o=g.filename||"",p=g.base64,q=g.fileType||"image/png",r=g.name||"wangEditor_upload_file",s=g.loadfn||k,t=g.errorfn||m,u=g.timeoutfn||l,v=f.config.uploadParams||{},w=f.config.uploadHeaders||{},x="png";if(o.indexOf(".")>0?x=o.slice(o.lastIndexOf(".")-o.length+1):q.indexOf("/")>0&&q.split("/")[1]&&(x=q.split("/")[1]),a.isOnWebsite)return a.log("预览模拟上传"),void d(p,n);var y,z=new XMLHttpRequest,A=new FormData;z.onload=function(){y&&clearTimeout(y),f.uploadImgOriginalName=o,o.indexOf(".")>0&&(f.uploadImgOriginalName=o.split(".")[0]),s&&s.call(f,z.responseText,z),f.hideUploadProgress()},z.onerror=function(){y&&clearTimeout(y),n.preventDefault(),t&&t.call(f,z),f.hideUploadProgress()},z.upload.onprogress=e,A.append(r,c(p,q),a.random()+"."+x),b.each(v,function(a,b){A.append(a,b)}),z.open("POST",h,!0),b.each(w,function(a,b){z.setRequestHeader(a,b)}),z.withCredentials=!0,z.send(A),y=setTimeout(j,i),a.log("开始上传...并开始超时计算")})})}),b(function(a,b){a.plugin(function(){function a(){j||(j=!0,i.css({top:f+"px"}),g.append(i))}function c(){i.hide(),k=null}var d=this,e=d.menuContainer,f=e.height(),g=d.$editorContainer,h=g.width(),i=b('<div class="wangEditor-upload-progress"></div>'),j=!1;d.showUploadProgress=function(b){k&&clearTimeout(k),a(),i.show(),i.width(b*h/100)};var k;d.hideUploadProgress=function(a){k&&clearTimeout(k),a=a||750,k=setTimeout(c,a)}})}),b(function(a,b){a.plugin(function(){var c,d=this,e=d.config,f=e.uploadImgUrl,g=e.uploadTimeout;if(f){var h=d.$uploadContent;if(h){var i=b('<div class="upload-icon-container"><i class="wangeditor-menu-img-upload"></i></div>');h.append(i);var j=new a.UploadFile({editor:d,uploadUrl:f,timeout:g,fileAccept:"image/jpg,image/jpeg,image/png,image/gif,image/bmp"});i.click(function(a){c=a,j.selectFiles()})}}})}),b(function(a,b){if(window.FileReader&&window.FormData){var c=function(a){this.editor=a.editor,this.uploadUrl=a.uploadUrl,this.timeout=a.timeout,this.fileAccept=a.fileAccept,this.multiple=!0};c.fn=c.prototype,c.fn.clear=function(){this.$input.val(""),a.log("input value 已清空")},c.fn.render=function(){var c=this;if(!c._hasRender){a.log("渲染dom");var d=c.fileAccept,e=d?'accept="'+d+'"':"",f=c.multiple,g=f?'multiple="multiple"':"",h=b('<input type="file" '+e+" "+g+"/>"),i=b('<div style="visibility:hidden;"></div>');i.append(h),a.$body.append(i),h.on("change",function(a){c.selected(a,h.get(0))}),c.$input=h,c._hasRender=!0}},c.fn.selectFiles=function(){var b=this;a.log("使用 html5 方式上传"),b.render(),a.log("选择文件"),b.$input.click()},c.fn.selected=function(c,d){var e=this,f=d.files||[];0!==f.length&&(a.log("选中 "+f.length+" 个文件"),b.each(f,function(a,b){e.upload(b)}))},c.fn.upload=function(b){function c(){d.clear()}var d=this,e=d.editor,f=b.name||"",g=b.type||"",h=e.config.uploadImgFns,i=e.config.uploadImgFileName||"wangEditorH5File",j=h.onload,k=h.ontimeout,l=h.onerror,m=new FileReader;return j&&k&&l?(a.log("开始执行 "+f+" 文件的上传"),m.onload=function(b){a.log("已读取"+f+"文件");var d=b.target.result||this.result;e.xhrUploadImg({event:b,filename:f,base64:d,fileType:g,name:i,loadfn:function(a,b){c();var d=this;j.call(d,a,b)},errorfn:function(b){c(),a.isOnWebsite&&alert("wangEditor官网暂时没有服务端,因此报错。实际项目中不会发生");var d=this;l.call(d,b)},timeoutfn:function(b){c(),a.isOnWebsite&&alert("wangEditor官网暂时没有服务端,因此超时。实际项目中不会发生");var d=this;k(d,b)}})},void m.readAsDataURL(b)):void a.error("请为编辑器配置上传图片的 onload ontimeout onerror 回调事件")},a.UploadFile=c}}),b(function(a,b){if(!window.FileReader||!window.FormData){var c=function(a){this.editor=a.editor,this.uploadUrl=a.uploadUrl,this.timeout=a.timeout,this.fileAccept=a.fileAccept,this.multiple=!1};c.fn=c.prototype,c.fn.clear=function(){this.$input.val(""),a.log("input value 已清空")},c.fn.hideModal=function(){this.modal.hide()},c.fn.render=function(){var c=this,d=c.editor,e=d.config.uploadImgFileName||"wangEditorFormFile";if(!c._hasRender){var f=c.uploadUrl;a.log("渲染dom");var g="iframe"+a.random(),h=b('<iframe name="'+g+'" id="'+g+'" frameborder="0" width="0" height="0"></iframe>'),i=c.multiple,j=i?'multiple="multiple"':"",k=b("<p>选择图片并上传</p>"),l=b('<input type="file" '+j+' name="'+e+'"/>'),m=b('<input type="submit" value="上传"/>'),n=b('<form enctype="multipart/form-data" method="post" action="'+f+'" target="'+g+'"></form>'),o=b('<div style="margin:10px 20px;"></div>');n.append(k).append(l).append(m),b.each(d.config.uploadParams,function(a,c){n.append(b('<input type="hidden" name="'+a+'" value="'+c+'"/>'))}),o.append(n),o.append(h),c.$input=l,c.$iframe=h;var p=new a.Modal(d,(void 0),{$content:o});c.modal=p,c._hasRender=!0}},c.fn.bindLoadEvent=function(){function a(){var a=b.trim(g.document.body.innerHTML);if(a){var e=c.$input.val(),f=e;e.lastIndexOf("\\")>=0&&(f=e.slice(e.lastIndexOf("\\")+1),f.indexOf(".")>0&&(f=f.split(".")[0])),d.uploadImgOriginalName=f,h.call(d,a),c.clear(),c.hideModal()}}var c=this;if(!c._hasBindLoad){var d=c.editor,e=c.$iframe,f=e.get(0),g=f.contentWindow,h=d.config.uploadImgFns.onload;f.attachEvent?f.attachEvent("onload",a):f.onload=a,c._hasBindLoad=!0}},c.fn.show=function(){function a(){c.show(),b.bindLoadEvent()}var b=this,c=b.modal;setTimeout(a)},c.fn.selectFiles=function(){var b=this;a.log("使用 form 方式上传"),b.render(),b.clear(),b.show()},a.UploadFile=c}}),b(function(a,b){a.plugin(function(){function c(){var c=/^data:(image\/\w+);base64/,g=h.find("img");a.log("粘贴后,检查到编辑器有"+g.length+"个图片。开始遍历图片,试图找到刚刚粘贴过来的图片"),b.each(g,function(){var g,h,i=this,j=b(i),l=j.attr("src");e.each(function(){if(i===this)return g=!0,!1}),g||(a.log("找到一个粘贴过来的图片"),c.test(l)?(a.log("src 是 base64 格式,可以上传"),h=l.match(c)[1],f.xhrUploadImg({event:d,base64:l,fileType:h,name:k})):a.log("src 为 "+l+" ,不是 base64 格式,暂时不支持上传"),j.remove())}),a.log("遍历结束")}var d,e,f=this,g=f.txt,h=g.$txt,i=f.config,j=i.uploadImgUrl,k=i.uploadImgFileName||"wangEditorPasteFile";j&&h.on("paste",function(g){d=g;var i,j,l=d.clipboardData||d.originalEvent.clipboardData;i=null==l?window.clipboardData&&window.clipboardData.getData("text"):l.getData("text/plain")||l.getData("text/html"),i||(j=l&&l.items,j?(a.log("通过 data.items 得到了数据"),b.each(j,function(b,c){var e=c.type||"";if(!(e.indexOf("image")<0)){var g=c.getAsFile(),h=new FileReader;a.log("得到一个粘贴图片"),h.onload=function(b){a.log("读取到粘贴的图片");var c=b.target.result||this.result;f.xhrUploadImg({event:d,base64:c,fileType:e,name:k})},h.readAsDataURL(g)}})):(a.log("未从 data.items 得到数据,使用检测粘贴图片的方式"),e=h.find("img"),a.log("粘贴前,检查到编辑器有"+e.length+"个图片"),setTimeout(c,0)))})})}),b(function(a,b){a.plugin(function(){var c=this,d=c.txt,e=d.$txt,f=c.config,g=f.uploadImgUrl,h=f.uploadImgFileName||"wangEditorDragFile";g&&(a.$document.on("dragleave drop dragenter dragover",function(a){a.preventDefault()}),e.on("drop",function(d){d.preventDefault();var e=d.originalEvent,f=e.dataTransfer&&e.dataTransfer.files;f&&f.length&&b.each(f,function(b,e){var f=e.type,g=e.name;if(!(f.indexOf("image/")<0)){a.log("得到图片 "+g);var i=new FileReader;i.onload=function(b){a.log("读取到图片 "+g);var e=b.target.result||this.result;c.xhrUploadImg({event:d,base64:e,fileType:f,name:h})},i.readAsDataURL(e)}})}))})}),b(function(a,b){a.plugin(function(){function c(){m||(d(),n.append(o).append(p).append(q).append(r),h.$editorContainer.append(n),m=!0)}function d(){function a(a,c){k=j.html();var d=function(){c&&c(),k!==j.html()&&j.change()};b&&h.customCommand(a,b,d)}var b;p.click(function(c){b=function(){g.remove()},a(c,function(){setTimeout(f,100)})}),r.click(function(c){b=function(){g.css({width:"100%"})},a(c,function(){setTimeout(e)})}),q.click(function(c){b=function(){g.css({width:"auto"})},a(c,function(){setTimeout(e)})})}function e(){if(!h._disabled&&null!=g){g.addClass("clicked");var a=g.position(),b=a.top,c=a.left,d=g.outerHeight(),e=g.outerWidth(),f=b+d,i=c,j=0,k=l.position().top,m=l.outerHeight();f>k+m&&(f=k+m),n.show();var p=n.outerWidth();j=e/2-p/2,n.css({top:f+5,left:i,"margin-left":j}),j<0?(n.css("margin-left","0"),o.hide()):o.show()}}function f(){null!=g&&(g.removeClass("clicked"),g=null,n.hide())}var g,h=this,i=h.txt,j=i.$txt,k="",l=h.useMaxHeight?j.parent():j,m=!1,n=b('<div class="txt-toolbar"></div>'),o=b('<div class="tip-triangle"></div>'),p=b('<a href="#"><i class="wangeditor-menu-img-trash-o"></i></a>'),q=b('<a href="#"><i class="wangeditor-menu-img-search-minus"></i></a>'),r=b('<a href="#"><i class="wangeditor-menu-img-search-plus"></i></a>');l.on("click","table",function(a){var d=b(a.currentTarget);return c(),g&&g.get(0)===d.get(0)?void setTimeout(f,100):(g=d,e(),a.preventDefault(),void a.stopPropagation())}).on("click keydown scroll",function(a){setTimeout(f,100)}),a.$body.on("click keydown scroll",function(a){setTimeout(f,100)})})}),b(function(a,b){a.userAgent.indexOf("MSIE 8")>0||a.plugin(function(){function c(a,c){if(j){var d,e,f=function(){null!=c&&(q=c),o!==n.html()&&n.change()},g=!1,h=j.parent();if("a"===h.get(0).nodeName.toLowerCase()?(e=h,g=!0):e=b('<a target="_blank"></a>'),null==c)return e.attr("href")||"";if(""===c)g&&(d=function(){j.unwrap()});else{if(c===q)return;d=function(){e.attr("href",c),g||j.wrap(e)}}d&&(o=n.html(),k.customCommand(a,d,f))}}function d(){r||(e(),f(),v.append(w).append(x).append(y).append(z).append(A).append(B).append(C).append(D),E.append(F).append(H).append(G),t.append(u).append(v).append(E),k.$editorContainer.append(t).append(s),r=!0)}function e(){function a(a,b){var c;o=n.html(),c=function(){b&&b(),o!==n.html()&&n.change()},d&&k.customCommand(a,d,c)}var d;w.click(function(b){c(b,""),d=function(){j.remove()},a(b,function(){setTimeout(h,100)})}),y.click(function(b){d=function(){var a=j.get(0),b=a.width,c=a.height;b=1.1*b,c=1.1*c,j.css({width:b+"px",height:c+"px"})},a(b,function(){setTimeout(g)})}),x.click(function(b){d=function(){var a=j.get(0),b=a.width,c=a.height;b=.9*b,c=.9*c,j.css({width:b+"px",height:c+"px"})},a(b,function(){setTimeout(g)})}),z.click(function(b){d=function(){j.parents("p").css({"text-align":"left"}).attr("align","left")},a(b,function(){setTimeout(h,100)})}),B.click(function(b){d=function(){j.parents("p").css({"text-align":"right"}).attr("align","right")},a(b,function(){setTimeout(h,100)})}),A.click(function(b){d=function(){j.parents("p").css({"text-align":"center"}).attr("align","center")},a(b,function(){setTimeout(h,100)})}),C.click(function(a){a.preventDefault(),q=c(a),F.val(q),v.hide(),E.show()}),G.click(function(a){a.preventDefault();var d=b.trim(F.val());d&&c(a,d),setTimeout(h)}),H.click(function(a){a.preventDefault(),F.val(q),v.show(),E.hide()}),D.click(function(a){a.preventDefault(),c(a,""),setTimeout(h)})}function f(){function b(a){var b,h;b=a.pageX-c,h=a.pageY-d;var k=e+b,l=f+h;s.css({"margin-left":k,"margin-top":l});var m=g+b,n=i+h;j&&j.css({width:m,height:n})}var c,d,e,f,g,i;s.on("mousedown",function(k){j&&(c=k.pageX,d=k.pageY,e=parseFloat(s.css("margin-left"),10),f=parseFloat(s.css("margin-top"),10),g=j.width(),i=j.height(),t.hide(),a.$document.on("mousemove._dragResizeImg",b),a.$document.on("mouseup._dragResizeImg",function(b){a.$document.off("mousemove._dragResizeImg"),a.$document.off("mouseup._dragResizeImg"),h(),s.css({"margin-left":e,"margin-top":f}),I=!1}),I=!0)})}function g(){if(!k._disabled&&null!=j){j.addClass("clicked");var a=j.position(),b=a.top,c=a.left,d=j.outerHeight(),e=j.outerWidth();s.css({top:b+d,left:c+e});var f=b+d,g=c,h=0,i=p.position().top,l=p.outerHeight();f>i+l?f=i+l:s.show(),t.show();var m=t.outerWidth();h=e/2-m/2,t.css({top:f+5,left:g,"margin-left":h}),h<0?(t.css("margin-left","0"),u.hide()):u.show(),k.disableMenusExcept()}}function h(){null!=j&&(j.removeClass("clicked"),j=null,t.hide(),s.hide(),k.enableMenusExcept())}function i(a){var c=!1;return k.emotionUrls?(b.each(k.emotionUrls,function(b,d){var e=!1;if(a===d&&(c=!0,e=!0),e)return!1}),c):c}var j,k=this,l=k.config.lang,m=k.txt,n=m.$txt,o="",p=k.useMaxHeight?n.parent():n,q=(k.$editorContainer,""),r=!1,s=b('<div class="img-drag-point"></div>'),t=b('<div class="txt-toolbar"></div>'),u=b('<div class="tip-triangle"></div>'),v=b("<div></div>"),w=b('<a href="#"><i class="wangeditor-menu-img-trash-o"></i></a>'),x=b('<a href="#"><i class="wangeditor-menu-img-search-minus"></i></a>'),y=b('<a href="#"><i class="wangeditor-menu-img-search-plus"></i></a>'),z=b('<a href="#"><i class="wangeditor-menu-img-align-left"></i></a>'),A=b('<a href="#"><i class="wangeditor-menu-img-align-center"></i></a>'),B=b('<a href="#"><i class="wangeditor-menu-img-align-right"></i></a>'),C=b('<a href="#"><i class="wangeditor-menu-img-link"></i></a>'),D=b('<a href="#"><i class="wangeditor-menu-img-unlink"></i></a>'),E=b('<div style="display:none;"></div>'),F=b('<input type="text" style="height:26px; margin-left:10px; width:200px;"/>'),G=b('<button class="right">'+l.submit+"</button>"),H=b('<button class="right gray">'+l.cancel+"</button>"),I=!1;p.on("mousedown","img",function(a){a.preventDefault()}).on("click","img",function(a){var c=b(a.currentTarget),e=c.attr("src");if(e&&!i(e)){if(d(),j&&j.get(0)===c.get(0))return void setTimeout(h,100);j=c,g(),v.show(),E.hide(),a.preventDefault(),a.stopPropagation()}}).on("click keydown scroll",function(a){I||setTimeout(h,100)})})}),b(function(a,b){a.plugin(function(){function a(){g||(n.append(o).append(p),k.$editorContainer.append(n),g=!0)}function c(){if(f){var a=f.position(),b=a.left,c=a.top,d=f.height(),e=c+d+5,g=k.menuContainer.height(),h=k.txt.$txt.outerHeight();e>g+h&&(e=g+h+5),n.css({top:e,left:b})}}function d(){if(!q&&f){a(),n.show();var b=f.attr("href");p.attr("href",b),c(),q=!0}}function e(){q&&f&&(n.hide(),q=!1)}var f,g,h,i,j,k=this,l=k.config.lang,m=k.txt.$txt,n=b('<div class="txt-toolbar"></div>'),o=b('<div class="tip-triangle"></div>'),p=b('<a href="#" target="_blank"><i class="wangeditor-menu-img-link"></i> '+l.openLink+"</a>"),q=!1;m.on("mouseenter","a",function(a){h&&clearTimeout(h),h=setTimeout(function(){var c=a.currentTarget,g=b(c);f=g;var h=g.children("img");h.length&&(h.click(function(a){e()}),h.hasClass("clicked"))||d()},500)}).on("mouseleave","a",function(a){i&&clearTimeout(i),i=setTimeout(e,500)}).on("click keydown scroll",function(a){setTimeout(e,100)}),n.on("mouseenter",function(a){i&&clearTimeout(i)}).on("mouseleave",function(a){j&&clearTimeout(j),j=setTimeout(e,500)})})}),b(function(a,b){a.plugin(function(){var b=this,c=b.config.menuFixed;if(c!==!1&&"number"==typeof c){var d=parseFloat(a.$body.css("margin-top"),10);isNaN(d)&&(d=0);var e=b.$editorContainer,f=e.offset().top,g=e.outerHeight(),h=b.menuContainer.$menuContainer,i=h.css("position"),j=h.css("top"),k=h.offset().top,l=h.outerHeight();b.txt.$txt;a.$window.scroll(function(){if(!b.isFullScreen){var m=a.$window.scrollTop(),n=h.width();0===k&&(k=h.offset().top,f=e.offset().top,g=e.outerHeight(),l=h.outerHeight()),m>=k&&m+c+l+30<f+g?(h.css({position:"fixed",top:c}),h.width(n),a.$body.css({"margin-top":d+l}),b._isMenufixed||(b._isMenufixed=!0)):(h.css({position:i,top:j}),h.css("width","100%"),a.$body.css({"margin-top":d}),b._isMenufixed&&(b._isMenufixed=!1))}})}})}),b(function(a,b){a.createMenu(function(c){var d="indent";if(c(d)){var e=this,f=new a.Menu({editor:e,id:d,title:"缩进",$domNormal:b('<a href="#" tabindex="-1"><i class="wangeditor-menu-img-indent-left"></i></a>'),$domSelected:b('<a href="#" tabindex="-1" class="selected"><i class="wangeditor-menu-img-indent-left"></i></a>')});f.clickEvent=function(a){function c(){d.css("text-indent","2em")}var d,f=e.getRangeElem(),g=e.getSelfOrParentByName(f,"p");return g?(d=b(g),void e.customCommand(a,c)):a.preventDefault()},f.clickEventSelected=function(a){function c(){d.css("text-indent","0")}var d,f=e.getRangeElem(),g=e.getSelfOrParentByName(f,"p");return g?(d=b(g),void e.customCommand(a,c)):a.preventDefault()},f.updateSelectedEvent=function(){var a,c,d=e.getRangeElem(),f=e.getSelfOrParentByName(d,"p");return!!f&&(a=b(f),c=a.css("text-indent"),!(!c||"0px"===c))},e.menus[d]=f}})}),b(function(a,b){a.createMenu(function(c){var d="lineheight";if(c(d)){var e=this;e.commandHooks.lineHeight=function(a){var c=e.getRangeElem(),d=e.getSelfOrParentByName(c,"p,h1,h2,h3,h4,h5,pre");d&&b(d).css("line-height",a+"")};var f=new a.Menu({editor:e,id:d,title:"行高",commandName:"lineHeight",$domNormal:b('<a href="#" tabindex="-1"><i class="wangeditor-menu-img-arrows-v"></i></a>'),$domSelected:b('<a href="#" tabindex="-1" class="selected"><i class="wangeditor-menu-img-arrows-v"></i></a>')}),g={"1.0":"1.0倍",1.5:"1.5倍",1.8:"1.8倍","2.0":"2.0倍",2.5:"2.5倍","3.0":"3.0倍"},h='<span style="line-height:{#commandValue}">{#title}</span>';f.dropList=new a.DropList(e,f,{data:g,tpl:h}),e.menus[d]=f}})}),b(function(a,b){a.plugin(function(){var c=this,d=c.config.customUpload;if(d){if(c.config.uploadImgUrl)return alert("自定义上传无效,详看浏览器日志console.log"),void a.error("已经配置了 uploadImgUrl ,就不能再配置 customUpload ,两者冲突。将导致自定义上传无效。");var e=c.$uploadContent;e||a.error("自定义上传,无法获取 editor.$uploadContent");var f=b('<div class="upload-icon-container"><i class="wangeditor-menu-img-upload"></i></div>');e.append(f);var g="upload"+a.random(),h="upload"+a.random();f.attr("id",g),e.attr("id",h),c.customUploadBtnId=g,c.customUploadContainerId=h}})}),b(function(a,b){a.info("本页面富文本编辑器由 wangEditor 提供 http://wangeditor.github.io/ ")}),window.wangEditor}); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment