Initial commit: WordPress wp-content (themes, plugins, languages)
- Theme: momentry (custom theme with REST API routes) - Plugins: code-snippets (contains all API proxies) - Languages: zh_TW translations - Excludes: cache, backups, uploads, logs
This commit is contained in:
1480
plugins/code-snippets/CHANGELOG.md
Normal file
1480
plugins/code-snippets/CHANGELOG.md
Normal file
File diff suppressed because it is too large
Load Diff
41
plugins/code-snippets/assets/icon.svg
Normal file
41
plugins/code-snippets/assets/icon.svg
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="527.87659"
|
||||
viewBox="0 0 527.87659 437.89301"
|
||||
height="437.89301"
|
||||
version="1.1"
|
||||
id="svg3782"
|
||||
style="fill:none"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="m 485.43,285.72732 c 51.43,-29.68 51.43,-103.88 0,-133.56 L 246.64,14.377317 c -51.41,-29.661998 -115.66,7.432 -115.66,66.779 V 356.73632 c 0,59.35 64.25,96.44 115.66,66.78 l 238.79,-137.79 z"
|
||||
id="path3769"
|
||||
style="fill:#08c5d1;stroke:#ffffff;stroke-width:8" />
|
||||
<path
|
||||
d="m 358.46,285.72732 c 51.42,-29.68 51.42,-103.88 0,-133.56 L 119.66,14.377317 C 68.251,-15.284681 4,21.809317 4,81.156317 V 356.73632 c 0,59.35 64.251,96.44 115.66,66.78 l 238.8,-137.79 z"
|
||||
id="path3771"
|
||||
style="fill:#d46f4d;stroke:#ffffff;stroke-width:8" />
|
||||
<g
|
||||
clip-path="url(#clip0)"
|
||||
id="g3775"
|
||||
transform="translate(0,-1.0526808)">
|
||||
<path
|
||||
d="m 186.95,222.05 65.43,-55.94 c 1.84,-1.57 1.84,-4.13 0,-5.7 -12.9,-11.02 -33.81,-11.02 -46.7,0 l -45.42,38.83 -9.77,-8.36 c 1.69,-3.67 2.63,-7.67 2.63,-11.85 0,-17.82 -16.9,-32.27 -37.75,-32.27 -20.841,0 -37.738,14.45 -37.738,32.27 0,17.82 16.897,32.26 37.738,32.26 1.79,0 3.54,-0.1 5.26,-0.31 l 12.94,11.07 -12.94,11.07 c -1.72,-0.21 -3.47,-0.32 -5.26,-0.32 -20.841,0 -37.738,14.45 -37.738,32.27 0,17.82 16.897,32.26 37.738,32.26 20.85,0 37.75,-14.44 37.75,-32.26 0,-4.19 -0.94,-8.18 -2.63,-11.85 l 9.77,-8.36 45.42,38.83 c 12.89,11.02 33.8,11.02 46.7,0 1.84,-1.58 1.84,-4.13 0,-5.71 z m -71.58,-32.27 c -6.93,0 -12.58,-4.82 -12.58,-10.75 0,-5.93 5.65,-10.76 12.58,-10.76 6.94,0 12.58,4.83 12.58,10.76 0,5.93 -5.64,10.75 -12.58,10.75 z m 0,86.04 c -6.93,0 -12.58,-4.82 -12.58,-10.75 0,-5.93 5.65,-10.76 12.58,-10.76 6.94,0 12.58,4.83 12.58,10.76 0,5.93 -5.64,10.75 -12.58,10.75 z"
|
||||
id="path3773"
|
||||
style="fill:#ffffff" />
|
||||
</g>
|
||||
<defs
|
||||
id="defs3780">
|
||||
<clipPath
|
||||
id="clip0">
|
||||
<rect
|
||||
width="176.13"
|
||||
transform="translate(77.632,136.01)"
|
||||
height="172.08"
|
||||
id="rect3777"
|
||||
x="0"
|
||||
y="0"
|
||||
style="fill:#ffffff" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
7
plugins/code-snippets/assets/menu-icon.svg
Normal file
7
plugins/code-snippets/assets/menu-icon.svg
Normal file
@@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="18.025">
|
||||
<path
|
||||
d="M3.718 58.581h3.104a.833.833 0 0 1 .599 1.412l.004.009L5.3 62.125a3.747 3.747 0 0 0 0 5.304 3.755 3.755 0 0 0 5.304 0 3.755 3.755 0 0 0-1.454-6.207l.558-.558h7.134c1.7 0 3.083-1.446 3.124-3.25 0-.03.004-.054 0-.083a.92.92 0 0 0-.916-.834h-5.175l3.737-3.736a.92.92 0 0 0 .062-1.238c-.02-.025-.04-.042-.062-.062-1.3-1.242-3.304-1.288-4.503-.088l-5.124 5.124h-.91a3.75 3.75 0 1 0-3.358 2.084m1.667-3.75a1.666 1.666 0 1 1-3.333.002 1.666 1.666 0 0 1 3.333-.001m3.745 8.771c.65.65.65 1.704 0 2.354a1.663 1.663 0 0 1-2.358 0 1.664 1.664 0 0 1 0-2.354 1.66 1.66 0 0 1 2.358 0"
|
||||
style="stroke-width:.0195306"
|
||||
transform="translate(.032 -50.5)"
|
||||
/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 765 B |
64
plugins/code-snippets/code-snippets.php
Normal file
64
plugins/code-snippets/code-snippets.php
Normal file
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
/**
|
||||
* Plugin Name: Code Snippets
|
||||
* Plugin URI: https://codesnippets.pro
|
||||
* Description: An easy, clean and simple way to run code snippets on your site. No need to edit to your theme's functions.php file again!
|
||||
* Author: Code Snippets Pro
|
||||
* Author URI: https://codesnippets.pro
|
||||
* License: GPL-2.0-or-later
|
||||
* License URI: license.txt
|
||||
* Text Domain: code-snippets
|
||||
* Version: 3.9.6
|
||||
* Requires PHP: 7.4
|
||||
* Requires at least: 5.0
|
||||
*
|
||||
* @version 3.9.6
|
||||
* @package Code_Snippets
|
||||
* @author Shea Bunge <shea@codesnippets.pro>
|
||||
* @copyright 2012-2024 Code Snippets Pro
|
||||
* @license GPL-2.0-or-later https://spdx.org/licenses/GPL-2.0-or-later.html
|
||||
* @link https://github.com/codesnippetspro/code-snippets
|
||||
*
|
||||
* phpcs:disable Modernize.FunctionCalls.Dirname.FileConstant
|
||||
*/
|
||||
|
||||
// Exit if accessed directly.
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Halt loading here if the plugin is already loaded, or we're running an incompatible version of PHP.
|
||||
if ( ! defined( 'CODE_SNIPPETS_FILE' ) && version_compare( phpversion(), '7.4', '>=' ) ) {
|
||||
|
||||
/**
|
||||
* The current plugin version.
|
||||
*
|
||||
* Should be set to the same value as set above.
|
||||
*
|
||||
* @const string
|
||||
*/
|
||||
define( 'CODE_SNIPPETS_VERSION', '3.9.6' );
|
||||
|
||||
/**
|
||||
* The full path to the main file of this plugin.
|
||||
*
|
||||
* This can later be passed to functions such as plugin_dir_path(), plugins_url() and plugin_basename()
|
||||
* to retrieve information about plugin paths.
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @const string
|
||||
*/
|
||||
define( 'CODE_SNIPPETS_FILE', __FILE__ );
|
||||
|
||||
/**
|
||||
* Used to determine which version of Code Snippets is running.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @onst boolean
|
||||
*/
|
||||
define( 'CODE_SNIPPETS_PRO', false );
|
||||
|
||||
require_once dirname( __FILE__ ) . '/php/load.php';
|
||||
} else {
|
||||
require_once dirname( __FILE__ ) . '/php/deactivation-notice.php';
|
||||
}
|
||||
126
plugins/code-snippets/css/common/_badges.scss
Normal file
126
plugins/code-snippets/css/common/_badges.scss
Normal file
@@ -0,0 +1,126 @@
|
||||
@use 'sass:map';
|
||||
@use 'sass:list';
|
||||
@use 'sass:color';
|
||||
@use 'theme';
|
||||
|
||||
.badge {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
border-radius: 3px;
|
||||
text-align: center;
|
||||
min-inline-size: 43px;
|
||||
min-block-size: 24px;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding-block: 0;
|
||||
padding-inline: 3px;
|
||||
box-sizing: border-box;
|
||||
gap: 5px;
|
||||
line-height: 1;
|
||||
|
||||
@at-root .row-actions & {
|
||||
color: #8c8c8c;
|
||||
padding-inline: 0;
|
||||
text-transform: capitalize;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.dashicons {
|
||||
font-size: 18px;
|
||||
inline-size: 18px;
|
||||
block-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
.network-shared {
|
||||
color: #2271b1;
|
||||
font-size: 22px;
|
||||
inline-size: 100%;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
.small-badge {
|
||||
block-size: auto;
|
||||
inline-size: auto;
|
||||
font-size: smaller;
|
||||
padding-block: 0;
|
||||
padding-inline: 0.5em;
|
||||
}
|
||||
|
||||
.wp-core-ui .button.nav-tab-button {
|
||||
margin-inline-start: 0.5em;
|
||||
float: inline-end;
|
||||
color: #a7aaad;
|
||||
background: #f6f7f7;
|
||||
border-color: #f6f7f7;
|
||||
align-self: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
@each $name, $colors in theme.$badges {
|
||||
$text-color: #fff;
|
||||
$background-color: list.nth($colors, 1);
|
||||
|
||||
@if list.length($colors) > 1 {
|
||||
$text-color: list.nth($colors, 2);
|
||||
}
|
||||
|
||||
.badge.#{$name}-badge,
|
||||
.nav-tab-inactive:hover .badge.#{$name}-badge,
|
||||
:hover > .inverted-badges .#{$name}-badge {
|
||||
color: $text-color;
|
||||
background-color: $background-color;
|
||||
}
|
||||
|
||||
.badge.#{$name}-badge:hover {
|
||||
color: $text-color;
|
||||
background-color: color.adjust($background-color, $lightness: -5%);
|
||||
}
|
||||
}
|
||||
|
||||
.nav-tab-inactive .badge,
|
||||
.inverted-badges .badge {
|
||||
color: #fff;
|
||||
background-color: #a7aaad;
|
||||
border-color: #fff !important;
|
||||
|
||||
.dashicons {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-tab-inactive {
|
||||
$colors: map.get(theme.$badges, 'pro');
|
||||
$text-color: list.nth($colors, 2);
|
||||
$background-color: list.nth($colors, 1);
|
||||
|
||||
.badge.pro-badge {
|
||||
color: $text-color;
|
||||
background-color: $background-color;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&.button, .dashicons-external {
|
||||
color: #3c434a;
|
||||
}
|
||||
|
||||
.badge.pro-badge {
|
||||
color: $background-color;
|
||||
background-color: $text-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-tab-inactive {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.nav-tab-button .dashicons-external {
|
||||
font-size: 15px;
|
||||
color: #666;
|
||||
}
|
||||
109
plugins/code-snippets/css/common/_codemirror.scss
Normal file
109
plugins/code-snippets/css/common/_codemirror.scss
Normal file
@@ -0,0 +1,109 @@
|
||||
.CodeMirror {
|
||||
border: 1px solid #dfdfdf;
|
||||
border-radius: 3px;
|
||||
block-size: auto !important;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.CodeMirror-code {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.CodeMirror-focused .cm-matchhighlight {
|
||||
color: white !important;
|
||||
outline: 1px solid green;
|
||||
}
|
||||
|
||||
/* Add a bit of extra space above the editor */
|
||||
.CodeMirror-sizer {
|
||||
&::before, &::after {
|
||||
display: block;
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
padding-block-end: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Fix cursor color with rubyblue theme (see https://goo.gl/3HDgRm */
|
||||
.cm-s-rubyblue .CodeMirror-cursor {
|
||||
border-inline-start: 1px solid white !important;
|
||||
}
|
||||
|
||||
[class*='CodeMirror-lint-marker'], [class*='CodeMirror-lint-message'], .CodeMirror-lint-marker-multiple {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.CodeMirror-lint-marker-error, .CodeMirror-lint-marker-warning {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
.CodeMirror-lint-marker-multiple {
|
||||
position: absolute;
|
||||
inset-block-start: 0;
|
||||
}
|
||||
|
||||
[class*='CodeMirror-lint-marker']::before {
|
||||
font: normal 18px/1 dashicons;
|
||||
position: relative;
|
||||
inset-block-start: -2px;
|
||||
}
|
||||
|
||||
[class*='CodeMirror-lint-message']::before {
|
||||
font: normal 16px/1 dashicons;
|
||||
position: absolute;
|
||||
inset-inline-start: 16px;
|
||||
}
|
||||
|
||||
.CodeMirror-lint-message-error,
|
||||
.CodeMirror-lint-message-warning {
|
||||
box-shadow: 0 1px 1px 0 rgb(0 0 0 / 10%);
|
||||
margin-block: 5px 2px;
|
||||
padding-block: 3px;
|
||||
margin-inline: 0;
|
||||
padding-inline: 28px 12px;
|
||||
}
|
||||
|
||||
.CodeMirror-lint-message-warning {
|
||||
background-color: #fff8e5;
|
||||
border-inline-start: 4px solid #ffb900;
|
||||
}
|
||||
|
||||
.CodeMirror-lint-marker-warning::before, .CodeMirror-lint-message-warning::before {
|
||||
content: '\f534';
|
||||
color: #f6a306;
|
||||
}
|
||||
|
||||
.CodeMirror-lint-message-error {
|
||||
background-color: #fbeaea;
|
||||
border-inline-start: 4px solid #dc3232;
|
||||
}
|
||||
|
||||
.CodeMirror-lint-marker-error::before, .CodeMirror-lint-message-error::before {
|
||||
content: '\f153';
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
.CodeMirror-lint-tooltip {
|
||||
background: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.CodeMirror .CodeMirror-matchingbracket {
|
||||
background: rgb(255 150 0 / 30%);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.CodeMirror .CodeMirror-linenumber {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.CodeMirror-foldmarker {
|
||||
color: inherit;
|
||||
margin-inline: 0.25em;
|
||||
font-weight: bold;
|
||||
}
|
||||
8
plugins/code-snippets/css/common/_direction.scss
Normal file
8
plugins/code-snippets/css/common/_direction.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
:root {
|
||||
--cs-direction-multiplier: 1; // LTR = 1, RTL = -1
|
||||
}
|
||||
|
||||
html[dir="rtl"],
|
||||
body.rtl {
|
||||
--cs-direction-multiplier: -1;
|
||||
}
|
||||
53
plugins/code-snippets/css/common/_modal.scss
Normal file
53
plugins/code-snippets/css/common/_modal.scss
Normal file
@@ -0,0 +1,53 @@
|
||||
.code-snippets-modal {
|
||||
.components-modal__header {
|
||||
padding-block-end: 24px;
|
||||
}
|
||||
|
||||
.components-modal__content {
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
background: #f6f7f7;
|
||||
overflow: initial;
|
||||
max-inline-size: 100%;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
flex: 1;
|
||||
padding-block: 36px;
|
||||
padding-inline: 45px;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
}
|
||||
|
||||
.components-modal__header + div {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
border-block-start: 1px solid #e2e2e4;
|
||||
display: flex;
|
||||
flex-flow: row-reverse;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
inset-block-end: 0;
|
||||
background: #f6f7f7;
|
||||
inline-size: 100%;
|
||||
padding: 11px 19px;
|
||||
|
||||
.button-link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.button-large {
|
||||
block-size: 45px;
|
||||
|
||||
&.button-primary {
|
||||
padding: 0 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
5
plugins/code-snippets/css/common/_select.scss
Normal file
5
plugins/code-snippets/css/common/_select.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
.code-snippets-select {
|
||||
input[type="text"]:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
102
plugins/code-snippets/css/common/_switch.scss
Normal file
102
plugins/code-snippets/css/common/_switch.scss
Normal file
@@ -0,0 +1,102 @@
|
||||
@use 'theme';
|
||||
|
||||
$off-color: #789;
|
||||
|
||||
.snippet-execution-button,
|
||||
.snippet-activation-switch,
|
||||
input[type='checkbox'].switch {
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.snippet-activation-switch,
|
||||
input[type='checkbox'].switch {
|
||||
appearance: none;
|
||||
outline: 0;
|
||||
cursor: pointer;
|
||||
margin: 0;
|
||||
inline-size: 32px;
|
||||
block-size: 19px;
|
||||
border-radius: 34px;
|
||||
text-align: start;
|
||||
border: 1px solid $off-color;
|
||||
box-sizing: border-box;
|
||||
|
||||
&::before {
|
||||
transition: all .1s;
|
||||
content: '';
|
||||
block-size: 13px;
|
||||
inline-size: 13px;
|
||||
display: inline-block;
|
||||
background-color: $off-color;
|
||||
border-radius: 50%;
|
||||
margin: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.active-snippet .snippet-activation-switch,
|
||||
input[type='checkbox'].switch:checked {
|
||||
background-color: #0073aa;
|
||||
|
||||
&::before {
|
||||
background-color: white;
|
||||
transform: translateX(calc(100% * var(--cs-direction-multiplier)));
|
||||
}
|
||||
}
|
||||
|
||||
.erroneous-snippet .snippet-activation-switch::before {
|
||||
content: '!';
|
||||
transform: translateX(calc(50% * var(--cs-direction-multiplier)));
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
a.snippet-condition-count {
|
||||
border-radius: 50%;
|
||||
border: 1.8px solid currentcolor;
|
||||
block-size: 29px;
|
||||
inline-size: 29px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
|
||||
.inactive-snippet & {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.active-snippet & {
|
||||
font-weight: bold;
|
||||
color: theme.$accent;
|
||||
}
|
||||
}
|
||||
|
||||
.snippet-execution-button {
|
||||
margin-inline-start: 11px;
|
||||
margin-block-start: 9px;
|
||||
inline-size: 0;
|
||||
block-size: 0;
|
||||
border-block: 9px solid transparent;
|
||||
border-inline-start: 10px solid #ccc;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: -14px -8px -14px -21px;
|
||||
border-radius: 50%;
|
||||
border: 1.8px solid #ccc;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-inline-start-color: theme.$accent;
|
||||
transition: border-inline-start-color 0.6s;
|
||||
|
||||
&::before {
|
||||
border-color: theme.$accent;
|
||||
transition: border-color 0.6s;
|
||||
}
|
||||
}
|
||||
}
|
||||
56
plugins/code-snippets/css/common/_theme.scss
Normal file
56
plugins/code-snippets/css/common/_theme.scss
Normal file
@@ -0,0 +1,56 @@
|
||||
@use 'sass:color';
|
||||
|
||||
$accent: #2271b1;
|
||||
$primary: #03c7d2;
|
||||
$secondary: #d46f4d;
|
||||
$outline: #9e9e9e;
|
||||
$brand-discord: #5865f2;
|
||||
$brand-facebook: #3b5998;
|
||||
$cloud: #00bcd4;
|
||||
$cloud-update: #ff9800;
|
||||
|
||||
/* format: background-color [color] */
|
||||
$badges: (
|
||||
php: #1d97c6,
|
||||
html: #ef6a36,
|
||||
css: #9b59b6,
|
||||
js: #ffeb3b #1c1f20,
|
||||
cond: #2eae95,
|
||||
core: #61c5cb,
|
||||
pro: #f7e8e3 #df9279,
|
||||
cloud: $cloud,
|
||||
bundles: #50575e,
|
||||
cloud_search: #ff9800,
|
||||
private: #f7e6be #ca961b,
|
||||
public: #dbebf7 $accent,
|
||||
success: #d3e8d1 #447340,
|
||||
failure: #fad7c1 #a24b16,
|
||||
info: #d2e6f4 #2b71a3,
|
||||
neutral: #e2e5e5 #6c7e7e,
|
||||
special: #dfc5ef #6e249c
|
||||
);
|
||||
$notices: (
|
||||
success: #d3e9d3 #377a37,
|
||||
warning: #f2ebc3 #b0730a,
|
||||
error: #f8d7da #721c24,
|
||||
);
|
||||
|
||||
@function contrasting-text-color($bg-color) {
|
||||
$sum: 0;
|
||||
|
||||
@each $color, $multiplier in (red 0.299, green 0.587, blue 0.114) {
|
||||
$sum: $sum + color.channel($bg-color, $color, $space: rgb) * $multiplier;
|
||||
}
|
||||
|
||||
@return if ($sum > 186, #1c1f20, #fff)
|
||||
}
|
||||
|
||||
@mixin link-colors($color, $lightness: 15%) {
|
||||
a {
|
||||
color: $color;
|
||||
|
||||
&:hover, &:active, &:focus {
|
||||
color: color.adjust($color, $lightness: $lightness);
|
||||
}
|
||||
}
|
||||
}
|
||||
184
plugins/code-snippets/css/common/_tooltips.scss
Normal file
184
plugins/code-snippets/css/common/_tooltips.scss
Normal file
@@ -0,0 +1,184 @@
|
||||
$bg-color: hsl(0deg 0% 20% / 90%);
|
||||
|
||||
.help-tooltip {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
border-block-end: 1px dotted;
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.help-tooltip-anchor {
|
||||
cursor: help;
|
||||
padding-block: 0.3em 0;
|
||||
padding-inline: 0.3em;
|
||||
display: inline-block;
|
||||
font-size: 10px;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
cursor: help !important;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
||||
.dashicons {
|
||||
color: lightslategrey;
|
||||
}
|
||||
|
||||
&.badge {
|
||||
display: inline-flex;
|
||||
|
||||
.dashicons {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip::before,
|
||||
.tooltip-content {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease-in-out,
|
||||
visibility 0.2s ease-in-out,
|
||||
transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
|
||||
transform: translate3d(0, 0, 0);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.tooltip::before {
|
||||
z-index: 1001;
|
||||
border: 6px solid transparent;
|
||||
background: transparent;
|
||||
content: "";
|
||||
}
|
||||
|
||||
.tooltip-inline::before {
|
||||
inset-block-start: 4px;
|
||||
}
|
||||
|
||||
.tooltip-content {
|
||||
z-index: 1000;
|
||||
padding: 8px;
|
||||
background-color: $bg-color;
|
||||
color: #fff;
|
||||
border-radius: 6px;
|
||||
position: absolute;
|
||||
font-size: small;
|
||||
font-weight: normal;
|
||||
text-transform: none;
|
||||
min-inline-size: 200px;
|
||||
backdrop-filter: blur(3px);
|
||||
|
||||
.tooltip-block & {
|
||||
margin-inline-start: -80px;
|
||||
}
|
||||
|
||||
.tooltip-inline & {
|
||||
margin-inline-start: 0;
|
||||
margin-block-end: -16px;
|
||||
}
|
||||
|
||||
.tooltip-inline.tooltip-start & {
|
||||
inset-block-start: -50%;
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip-block.tooltip-start {
|
||||
&::before {
|
||||
margin-inline-start: -6px;
|
||||
margin-block-end: -12px;
|
||||
border-block-start-color: $bg-color;
|
||||
}
|
||||
|
||||
&::before, .tooltip-content {
|
||||
inset-block-end: 100%;
|
||||
inset-inline-start: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip-block.tooltip-end {
|
||||
&::before {
|
||||
margin-block: -12px 0;
|
||||
border-block-start-color: transparent;
|
||||
border-block-end-color: $bg-color;
|
||||
}
|
||||
|
||||
&::before, .tooltip-content {
|
||||
inset-block: 100% auto;
|
||||
margin-inline-start: 25%;
|
||||
}
|
||||
|
||||
.tooltip-content {
|
||||
inset-inline-end: -70%;
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip-inline.tooltip-start {
|
||||
&::before {
|
||||
inset-block-end: 50%;
|
||||
margin-inline: 0 -12px;
|
||||
margin-block-end: 0;
|
||||
border-block-start-color: transparent;
|
||||
border-inline-start-color: $bg-color;
|
||||
}
|
||||
|
||||
&::before, .tooltip-content {
|
||||
inset-inline: auto 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip-inline.tooltip-end {
|
||||
&::before {
|
||||
margin-block-end: 0;
|
||||
margin-inline-start: -12px;
|
||||
border-block-start-color: transparent;
|
||||
border-inline-end-color: $bg-color;
|
||||
}
|
||||
|
||||
&::before, .tooltip-content {
|
||||
inset-inline-start: 100%;
|
||||
}
|
||||
|
||||
.tooltip-content {
|
||||
inset-block-start: -50%;
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip:hover,
|
||||
.tooltip:focus {
|
||||
&::before, .tooltip-content {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip-block.tooltip-start:hover,
|
||||
.tooltip-block.tooltip-start:focus {
|
||||
&::before, .tooltip-content {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip-block.tooltip-end:hover,
|
||||
.tooltip-block.tooltip-end:focus {
|
||||
&::before, .tooltip-content {
|
||||
transform: translateY(10px);
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip-inline.tooltip-end:hover,
|
||||
.tooltip-inline.tooltip-end:focus {
|
||||
&::before, .tooltip-content {
|
||||
transform: translateX(calc(10px * var(--cs-direction-multiplier)));
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip-inline.tooltip-start:hover,
|
||||
.tooltip-inline.tooltip-start:focus {
|
||||
&::before, .tooltip-content {
|
||||
transform: translateX(calc(-10px * var(--cs-direction-multiplier)));
|
||||
}
|
||||
}
|
||||
134
plugins/code-snippets/css/common/_upsell.scss
Normal file
134
plugins/code-snippets/css/common/_upsell.scss
Normal file
@@ -0,0 +1,134 @@
|
||||
@use 'sass:color';
|
||||
@use 'theme';
|
||||
|
||||
.code-snippets-upsell-banner {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
padding: 12px;
|
||||
gap: 10px;
|
||||
background: #fff;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.components-external-link__contents {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.button-primary {
|
||||
background-color: theme.$secondary;
|
||||
border: 0;
|
||||
font-weight: bold;
|
||||
margin-inline-start: auto;
|
||||
|
||||
&:hover, &:focus {
|
||||
background-color: color.adjust(theme.$secondary, $lightness: -10%);
|
||||
}
|
||||
}
|
||||
|
||||
.button-link.button-small {
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
padding: 0;
|
||||
color: #a7aaad;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.code-snippets-upsell-dialog {
|
||||
background: linear-gradient(116.04deg, #edfcff -0.75%, #fcdfd4 93.04%);
|
||||
inline-size: 794px;
|
||||
box-shadow: 0 4px 80px rgb(0 0 0 / 10%);
|
||||
border-radius: 8px;
|
||||
font-family: 'SF Pro', sans-serif;
|
||||
color: #1c3f41;
|
||||
line-height: 1.5;
|
||||
max-block-size: unset;
|
||||
|
||||
.components-modal__content {
|
||||
margin: 0;
|
||||
padding-block: 48px;
|
||||
padding-inline: 80px;
|
||||
}
|
||||
|
||||
.components-modal__content > div:last-child {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
gap: 18px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
margin: 0;
|
||||
|
||||
span {
|
||||
color: #d46f4d;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin-block: 0;
|
||||
margin-inline: 2em;
|
||||
}
|
||||
|
||||
h1 + p {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
img {
|
||||
inline-size: 82px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
ul {
|
||||
display: grid;
|
||||
inline-size: 100%;
|
||||
grid-auto-flow: column;
|
||||
grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
li {
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
gap: 11px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
li::before {
|
||||
content: '✓';
|
||||
color: #fff;
|
||||
inline-size: 24px;
|
||||
block-size: 24px;
|
||||
border-radius: 50%;
|
||||
background-color: #0ca0a9;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.button.button-large {
|
||||
background-color: #d46f4d;
|
||||
padding-block: 15px;
|
||||
padding-inline: 20px;
|
||||
font-size: 16px;
|
||||
line-height: inherit;
|
||||
margin-block: 16px 24px;
|
||||
margin-inline: auto;
|
||||
border-color: currentcolor;
|
||||
|
||||
&:hover {
|
||||
background-color: color.adjust(#d46f4d, $lightness: -10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
107
plugins/code-snippets/css/edit.scss
Normal file
107
plugins/code-snippets/css/edit.scss
Normal file
@@ -0,0 +1,107 @@
|
||||
/**
|
||||
* Styles for the edit snippet admin page.
|
||||
*/
|
||||
|
||||
@use 'common/direction';
|
||||
@use 'common/codemirror';
|
||||
@use 'common/badges';
|
||||
@use 'common/switch';
|
||||
@use 'common/select';
|
||||
@use 'common/tooltips';
|
||||
@use 'common/modal';
|
||||
@use 'common/upsell';
|
||||
@use 'edit/form';
|
||||
@use 'edit/sidebar';
|
||||
@use 'edit/editor';
|
||||
@use 'edit/conditions';
|
||||
@use 'edit/gpt';
|
||||
|
||||
.notice.error blockquote {
|
||||
margin-block-end: 0;
|
||||
}
|
||||
|
||||
.button svg {
|
||||
block-size: 1rem;
|
||||
vertical-align: middle;
|
||||
line-height: 1;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.snippet-description-container {
|
||||
.wp-editor-tools {
|
||||
padding-block-start: 5px;
|
||||
}
|
||||
|
||||
.wp-editor-tabs {
|
||||
float: inline-start;
|
||||
}
|
||||
|
||||
.generate-button {
|
||||
float: inline-end;
|
||||
margin-block-start: 37px;
|
||||
z-index: 99;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
.components-form-token-field__input-container {
|
||||
background: #fff;
|
||||
border-color: #c3c4c7;
|
||||
|
||||
> .components-flex {
|
||||
padding: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
#titlediv,
|
||||
.snippet-type-container {
|
||||
margin-block-end: 24px;
|
||||
}
|
||||
|
||||
.above-snippet-code {
|
||||
margin-block: 0 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-inline: 0;
|
||||
gap: 8px;
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.expand-editor-button {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
margin-inline-end: auto;
|
||||
|
||||
.dashicons {
|
||||
inline-size: 18px;
|
||||
block-size: 18px;
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.snippet-name-wrapper {
|
||||
display: flex;
|
||||
gap: 0.5em;
|
||||
|
||||
> :first-child {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
|
||||
form.condition-snippet .snippet-code-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cs-back {
|
||||
cursor: pointer;
|
||||
|
||||
&::before {
|
||||
content: '<';
|
||||
color: #2271b1;
|
||||
margin-inline-end: 3px;
|
||||
}
|
||||
}
|
||||
6
plugins/code-snippets/css/edit/_conditions.scss
Normal file
6
plugins/code-snippets/css/edit/_conditions.scss
Normal file
@@ -0,0 +1,6 @@
|
||||
.snippet-condition-editor-container {
|
||||
margin-block-start: 33px;
|
||||
padding: 32px;
|
||||
border: 1px solid #c3c4c7;
|
||||
background: #f6f7f7;
|
||||
}
|
||||
89
plugins/code-snippets/css/edit/_editor.scss
Normal file
89
plugins/code-snippets/css/edit/_editor.scss
Normal file
@@ -0,0 +1,89 @@
|
||||
|
||||
.CodeMirror,
|
||||
.snippet-form textarea {
|
||||
inline-size: 100%;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.CodeMirror-sizer {
|
||||
min-block-size: 300px !important;
|
||||
box-sizing: border-box;
|
||||
padding-block-end: 1.5em !important;
|
||||
|
||||
&::after {
|
||||
position: absolute;
|
||||
inset-block-end: 0;
|
||||
}
|
||||
|
||||
.snippet-form.php-snippet & {
|
||||
padding-block-end: 0 !important;
|
||||
|
||||
&::before {
|
||||
content: '<?php';
|
||||
}
|
||||
}
|
||||
|
||||
.snippet-form.css-snippet & {
|
||||
&::before {
|
||||
content: '<style>';
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '</style>';
|
||||
}
|
||||
}
|
||||
|
||||
.snippet-form.js-snippet & {
|
||||
&::before {
|
||||
content: '<script>';
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '</script>';
|
||||
}
|
||||
}
|
||||
|
||||
.snippet-form.html-snippet & {
|
||||
&::before {
|
||||
content: '<!-- begin content -->';
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: '<!-- end content -->';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.snippet-editor {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.snippet-editor-help {
|
||||
position: absolute;
|
||||
inset-inline-end: 5px;
|
||||
inset-block-start: 5px;
|
||||
|
||||
td {
|
||||
&:first-child {
|
||||
padding-inline-end: 0.5em;
|
||||
}
|
||||
|
||||
@media (width >= 512px) {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.mac-key {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.platform-mac {
|
||||
.mac-key {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.pc-key {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
99
plugins/code-snippets/css/edit/_form.scss
Normal file
99
plugins/code-snippets/css/edit/_form.scss
Normal file
@@ -0,0 +1,99 @@
|
||||
@use '../common/theme';
|
||||
|
||||
$sidebar-width: 321px;
|
||||
$sidebar-gap: 30px;
|
||||
|
||||
.snippet-form #titlediv #title,
|
||||
.snippet-type-container {
|
||||
border-color: #ccc;
|
||||
block-size: 45px
|
||||
}
|
||||
|
||||
.snippet-type-option {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-flow: row;
|
||||
gap: 2em;
|
||||
|
||||
.small-badge {
|
||||
margin-inline-start: 0.5em;
|
||||
}
|
||||
|
||||
.badge {
|
||||
float: inline-end;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.conditions-editor-open {
|
||||
.button.button-large {
|
||||
block-size: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
overflow: hidden;
|
||||
border-color: #ccc;
|
||||
padding-block: 6px;
|
||||
padding-inline: 12px;
|
||||
}
|
||||
|
||||
&.no-condition .cond-badge {
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
border: 1px solid currentcolor;
|
||||
}
|
||||
|
||||
&.no-condition:hover .cond-badge {
|
||||
color: #fff;
|
||||
background: theme.$accent;
|
||||
border-color: theme.$accent;
|
||||
}
|
||||
}
|
||||
|
||||
.snippet-form {
|
||||
margin-block-start: 10px;
|
||||
display: grid;
|
||||
gap: $sidebar-gap;
|
||||
grid-template-columns: 1fr $sidebar-width;
|
||||
grid-template-areas: 'upper sidebar' 'lower sidebar';
|
||||
transition: all 700ms;
|
||||
|
||||
&.snippet-form-expanded {
|
||||
grid-template-areas: 'upper upper' 'lower sidebar';
|
||||
}
|
||||
|
||||
.snippet-form-upper {
|
||||
grid-area: upper;
|
||||
}
|
||||
|
||||
.snippet-form-lower {
|
||||
grid-area: lower;
|
||||
}
|
||||
|
||||
.snippet-editor-sidebar {
|
||||
grid-area: span 3 / sidebar;
|
||||
max-inline-size: $sidebar-width;
|
||||
position: sticky;
|
||||
inset-block-start: 32px;
|
||||
align-self: start;
|
||||
}
|
||||
|
||||
@media (width <= 1024px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
h2, h3 {
|
||||
margin-block: 25px 15px;
|
||||
margin-inline: 0;
|
||||
font-size: 1.16em;
|
||||
|
||||
label {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.button {
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
103
plugins/code-snippets/css/edit/_gpt.scss
Normal file
103
plugins/code-snippets/css/edit/_gpt.scss
Normal file
@@ -0,0 +1,103 @@
|
||||
.cloud-create-modal {
|
||||
.components-modal__content {
|
||||
min-inline-size: 550px;
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.components-button.is-secondary {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.notice {
|
||||
margin-inline: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.generate-button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
|
||||
.dashicons-warning {
|
||||
color: #b32d2e;
|
||||
}
|
||||
|
||||
.snippet-tags-container &,
|
||||
.snippet-description-container & {
|
||||
float: inline-end;
|
||||
}
|
||||
}
|
||||
|
||||
.code-line-explanation {
|
||||
display: flex;
|
||||
cursor: default;
|
||||
font-size: inherit;
|
||||
margin: 0;
|
||||
padding-inline: 6px;
|
||||
border-inline-start: none;
|
||||
border-inline-end: none;
|
||||
border-block-start: 1px solid rgb(0 0 0 / 15%);
|
||||
border-block-end: 1px solid rgb(0 0 0 / 15%);
|
||||
border-image-slice: 1;
|
||||
border-image-width: 1;
|
||||
border-image-repeat: stretch;
|
||||
color: #666;
|
||||
font-style: italic;
|
||||
font-family: monospace;
|
||||
gap: 5px;
|
||||
align-items: center;
|
||||
|
||||
img {
|
||||
block-size: 1rem;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.code-line-actions {
|
||||
cursor: default;
|
||||
gap: 7px;
|
||||
display: inline-flex;
|
||||
margin-inline-start: 5px;
|
||||
font-family: system-ui;
|
||||
font-style: normal;
|
||||
|
||||
.commit {
|
||||
color: #3d9970;
|
||||
}
|
||||
|
||||
.remove {
|
||||
color: #b32d2e;
|
||||
}
|
||||
|
||||
.action {
|
||||
cursor: pointer;
|
||||
opacity: 0.6;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cloud-connect-modal {
|
||||
.icons-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.dashicons {
|
||||
inline-size: 50px;
|
||||
block-size: 50px;
|
||||
font-size: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
155
plugins/code-snippets/css/edit/_sidebar.scss
Normal file
155
plugins/code-snippets/css/edit/_sidebar.scss
Normal file
@@ -0,0 +1,155 @@
|
||||
@use '../common/theme';
|
||||
|
||||
.code-snippets-modal {
|
||||
p h4 {
|
||||
margin-block-start: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.snippet-editor-sidebar {
|
||||
.button-large {
|
||||
block-size: 48px;
|
||||
}
|
||||
|
||||
.row-actions {
|
||||
display: flex;
|
||||
|
||||
.button {
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
.delete-button {
|
||||
color: #cc1818;
|
||||
|
||||
&:hover {
|
||||
color: #9e1313;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
color: #710d0d;
|
||||
border-color: #710d0d;
|
||||
}
|
||||
}
|
||||
|
||||
.help-tooltip {
|
||||
margin-block: 0;
|
||||
margin-inline: 5px auto;
|
||||
}
|
||||
|
||||
.box {
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
padding: 1.5em;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
gap: 1em;
|
||||
|
||||
h4 {
|
||||
margin-block: 0.5em;
|
||||
margin-inline: 0;
|
||||
}
|
||||
|
||||
.inline-form-field {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
|
||||
> :last-child {
|
||||
margin-inline-start: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.block-form-field {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
gap: 4px;
|
||||
|
||||
h4 {
|
||||
margin-block-end: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
h4 .badge {
|
||||
float: inline-end;
|
||||
|
||||
+ .badge {
|
||||
margin-inline-end: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.beta-badge {
|
||||
color: theme.$accent;
|
||||
border: 1px solid currentcolor;
|
||||
}
|
||||
|
||||
.components-form-token-field {
|
||||
inline-size: 100%;
|
||||
}
|
||||
|
||||
.generate-button {
|
||||
margin-inline-start: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.snippet-priority input {
|
||||
inline-size: 4em;
|
||||
}
|
||||
|
||||
p.submit {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
gap: 8px;
|
||||
margin-block-start: 17px;
|
||||
padding-block-start: 0;
|
||||
}
|
||||
|
||||
.activation-switch-container label {
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
gap: 5px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.shortcode-tag-wrapper {
|
||||
background: #fff;
|
||||
min-block-size: 54px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
|
||||
code {
|
||||
background: transparent;
|
||||
padding-inline: 0.5em;
|
||||
text-indent: -0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.code-snippets-copy-text.button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
|
||||
.dashicons {
|
||||
block-size: 18px;
|
||||
inline-size: 18px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.spinner-wrapper {
|
||||
block-size: 18px;
|
||||
inline-size: 18px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.components-spinner {
|
||||
block-size: 12px;
|
||||
}
|
||||
}
|
||||
215
plugins/code-snippets/css/manage.scss
Normal file
215
plugins/code-snippets/css/manage.scss
Normal file
@@ -0,0 +1,215 @@
|
||||
/**
|
||||
* Custom styling for the snippets table
|
||||
*/
|
||||
|
||||
@use 'sass:map';
|
||||
@use 'sass:color';
|
||||
@use 'common/theme';
|
||||
@use 'common/badges';
|
||||
@use 'common/switch';
|
||||
@use 'common/direction';
|
||||
@use 'common/select';
|
||||
@use 'manage/cloud';
|
||||
|
||||
.column-name,
|
||||
.column-type {
|
||||
.dashicons {
|
||||
font-size: 16px;
|
||||
inline-size: 16px;
|
||||
block-size: 16px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.dashicons-clock {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.active-snippet .column-name > .snippet-name {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.active-snippet {
|
||||
td, th {
|
||||
background-color: rgba(#78c8e6, 0.06);
|
||||
}
|
||||
|
||||
th.check-column {
|
||||
border-inline-start: 2px solid #2ea2cc;
|
||||
}
|
||||
}
|
||||
|
||||
.column-priority input {
|
||||
appearance: none;
|
||||
background: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
inline-size: 4em;
|
||||
color: #666;
|
||||
text-align: center;
|
||||
|
||||
&:hover, &:focus, &:active {
|
||||
color: #000;
|
||||
background-color: #f5f5f5;
|
||||
background-color: rgb(0 0 0 / 10%);
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.clear-filters {
|
||||
vertical-align: baseline !important;
|
||||
}
|
||||
|
||||
.snippets {
|
||||
td.column-id {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
tr {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
ol, ul {
|
||||
margin-block: 0 1.5em;
|
||||
margin-inline: 1.5em 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
th.sortable a, th.sorted a {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.row-actions {
|
||||
color: #ddd;
|
||||
position: relative;
|
||||
inset-inline-start: 0;
|
||||
}
|
||||
|
||||
.column-activate {
|
||||
padding-inline-end: 0 !important;
|
||||
}
|
||||
|
||||
.clear-filters {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
tfoot th.check-column {
|
||||
padding-block: 13px 0;
|
||||
padding-inline: 3px 0;
|
||||
}
|
||||
|
||||
thead th.check-column,
|
||||
tfoot th.check-column,
|
||||
.inactive-snippet th.check-column {
|
||||
padding-inline-start: 5px;
|
||||
}
|
||||
|
||||
.active-snippet, .inactive-snippet {
|
||||
td, th {
|
||||
padding-block: 10px;
|
||||
padding-inline: 9px;
|
||||
border: none;
|
||||
box-shadow: inset 0 -1px 0 rgb(0 0 0 / 10%);
|
||||
}
|
||||
}
|
||||
|
||||
tr.active-snippet + tr.inactive-snippet th,
|
||||
tr.active-snippet + tr.inactive-snippet td {
|
||||
border-block-start: 1px solid rgb(0 0 0 / 3%);
|
||||
box-shadow: inset 0 1px 0 rgb(0 0 0 / 2%), inset 0 -1px 0 #e1e1e1;
|
||||
}
|
||||
|
||||
&, #all-snippets-table, #search-snippets-table {
|
||||
a.delete:hover {
|
||||
border-block-end: 1px solid #f00;
|
||||
color: #f00;
|
||||
}
|
||||
}
|
||||
|
||||
#wpbody-content & .column-name {
|
||||
white-space: nowrap; /* prevents wrapping of snippet title */
|
||||
}
|
||||
}
|
||||
|
||||
td.column-description {
|
||||
max-inline-size: 700px;
|
||||
|
||||
pre {
|
||||
white-space: unset;
|
||||
}
|
||||
}
|
||||
|
||||
.inactive-snippet {
|
||||
@include theme.link-colors(#579);
|
||||
}
|
||||
|
||||
@media (width <= 782px) {
|
||||
p.search-box {
|
||||
float: inline-start;
|
||||
position: initial;
|
||||
margin-block: 1em 0;
|
||||
margin-inline: 0;
|
||||
block-size: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-list-table .is-expanded td.column-activate.activate {
|
||||
/* fix for mobile layout */
|
||||
display: table-cell !important;
|
||||
}
|
||||
|
||||
.nav-tab-wrapper + .subsubsub, p.search-box {
|
||||
margin-block: 10px 0;
|
||||
margin-inline: 0;
|
||||
}
|
||||
|
||||
.snippet-type-description {
|
||||
border-block-end: 1px solid #ccc;
|
||||
margin: 0;
|
||||
padding-block: 1em;
|
||||
padding-inline: 0;
|
||||
}
|
||||
|
||||
.code-snippets-notice a.notice-dismiss {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.refresh-button-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
margin-block: 15px -39px;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
#refresh-button {
|
||||
inline-size: 30px;
|
||||
padding: 0;
|
||||
font-size: 20px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.wrap h2.nav-tab-wrapper {
|
||||
.nav-tab {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (width <= 1190px) {
|
||||
.nav-tab {
|
||||
.snippet-label {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
383
plugins/code-snippets/css/manage/_cloud.scss
Normal file
383
plugins/code-snippets/css/manage/_cloud.scss
Normal file
@@ -0,0 +1,383 @@
|
||||
@use '../common/theme';
|
||||
@use '../common/tooltips';
|
||||
|
||||
.cloud-legend-tooltip {
|
||||
h3 {
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
|
||||
.cloud-search-info {
|
||||
text-align: justify;
|
||||
|
||||
small {
|
||||
color: #646970;
|
||||
float: inline-end;
|
||||
}
|
||||
}
|
||||
|
||||
.thickbox-code-viewer {
|
||||
min-block-size: 250px;
|
||||
background-color: hsl(0deg 0% 96.5%);
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#snippet-code-thickbox {
|
||||
display: block;
|
||||
inline-size: 100%;
|
||||
}
|
||||
|
||||
.no-results {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.dashicons.cloud-synced {
|
||||
color: theme.$cloud;
|
||||
}
|
||||
|
||||
.dashicons.cloud-downloaded {
|
||||
color: #e91e63;
|
||||
}
|
||||
|
||||
.dashicons.cloud-not-downloaded {
|
||||
color: theme.$outline;
|
||||
}
|
||||
|
||||
.dashicons.cloud-update {
|
||||
color: theme.$cloud-update;
|
||||
}
|
||||
|
||||
.cloud_update a {
|
||||
color: theme.$cloud-update !important;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.updated.column-updated span {
|
||||
text-decoration: dotted underline;
|
||||
}
|
||||
|
||||
td.column-name {
|
||||
.cloud-icon {
|
||||
margin-inline-end: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.cloud-snippet-download {
|
||||
color: theme.$accent !important;
|
||||
}
|
||||
|
||||
.cloud-snippet-downloaded, .cloud-snippet-preview-style {
|
||||
color: #616161 !important;
|
||||
}
|
||||
|
||||
.cloud-snippet-update {
|
||||
color: theme.$cloud-update !important;
|
||||
}
|
||||
|
||||
#cloud-search-form {
|
||||
margin-block: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: stretch;
|
||||
max-inline-size: 900px;
|
||||
margin-block: 0;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
#cloud_search {
|
||||
display: block;
|
||||
padding-block: 0.375rem;
|
||||
padding-inline: 0.75rem;
|
||||
font-size: 1rem;
|
||||
color: #495057;
|
||||
background-clip: padding-box;
|
||||
border-radius: 0;
|
||||
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
|
||||
position: relative;
|
||||
flex: 1 1 auto;
|
||||
inline-size: 1%;
|
||||
margin-block-end: 0;
|
||||
|
||||
&:focus {
|
||||
outline: 0;
|
||||
border: 1px solid #8c8f94;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
#cloud-select-prepend {
|
||||
margin-inline-end: -3px;
|
||||
border-start-end-radius: 0;
|
||||
border-end-end-radius: 0;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
color: theme.$accent;
|
||||
border-color: theme.$accent;
|
||||
background-color: #f6f7f7;
|
||||
|
||||
&:hover {
|
||||
background-color: #f0f0f1;
|
||||
border-color: #0a4b78;
|
||||
color: #0a4b78;
|
||||
}
|
||||
}
|
||||
|
||||
#cloud-search-submit {
|
||||
padding-block: 0;
|
||||
padding-inline: 15px;
|
||||
margin-inline-start: -3px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.cloud-search {
|
||||
margin-inline-start: 5px;
|
||||
}
|
||||
|
||||
.bundle-group {
|
||||
margin-block-start: 10px;
|
||||
justify-content: space-between;
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
#cloud-bundles {
|
||||
color: #495057;
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
font-size: 1rem;
|
||||
padding-block: 0.375rem;
|
||||
padding-inline: 0.75rem;
|
||||
position: relative;
|
||||
inline-size: 50%;
|
||||
}
|
||||
|
||||
#cloud-bundle-show {
|
||||
inline-size: 10%;
|
||||
}
|
||||
|
||||
#cloud-bundle-run {
|
||||
inline-size: 15%;
|
||||
}
|
||||
|
||||
#bundle_share_name {
|
||||
color: #495057;
|
||||
font-size: 1rem;
|
||||
inline-size: 25%;
|
||||
}
|
||||
|
||||
.heading-box {
|
||||
max-inline-size: 900px;
|
||||
margin: auto;
|
||||
padding-block-end: 1rem;
|
||||
}
|
||||
|
||||
.cloud-search-heading {
|
||||
font-size: 23px;
|
||||
font-weight: 400;
|
||||
padding-block: 9px 4px;
|
||||
padding-inline: 0;
|
||||
line-height: 1.3;
|
||||
text-align: center;
|
||||
margin-block-end: 0;
|
||||
}
|
||||
|
||||
.cloud-badge.ai-icon {
|
||||
font-size: 12px;
|
||||
padding: 3px;
|
||||
margin-inline-start: 5px;
|
||||
color: #b22222;
|
||||
}
|
||||
|
||||
.cloud-search-card-bottom {
|
||||
min-block-size: 40px;
|
||||
}
|
||||
|
||||
#cloud-search-results .cloud-snippets #the-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
|
||||
.plugin-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
.cloud-meta-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.column-name {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
h3 {
|
||||
display: inline-flex;
|
||||
flex-shrink: 1;
|
||||
}
|
||||
|
||||
.title-icon {
|
||||
block-size: 90px;
|
||||
margin-block-start: -7px;
|
||||
}
|
||||
}
|
||||
|
||||
.column-votes {
|
||||
display: inline-flex;
|
||||
gap: 3px;
|
||||
|
||||
&:hover {
|
||||
.thumbs-up {
|
||||
stroke: #059669;
|
||||
fill: #6ee7b7;
|
||||
animation: thumb 1s ease-in-out infinite;
|
||||
}
|
||||
}
|
||||
|
||||
.num-votes {
|
||||
display: inline-flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
margin: 0;
|
||||
align-items: flex-end;
|
||||
|
||||
.button {
|
||||
inline-size: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cloud-snippets #the-list {
|
||||
.column-download {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
text-align: end;
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cloud-connect-wrap {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
max-block-size: 35px;
|
||||
margin-block: 0;
|
||||
margin-inline: 3px;
|
||||
float: inline-end;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.cloud-table > tbody > tr {
|
||||
block-size: 80px;
|
||||
box-shadow: inset 0 -1px 0 rgb(0 0 0 / 10%);
|
||||
}
|
||||
|
||||
.cloud-table > tbody > tr > td {
|
||||
max-inline-size: 250px;
|
||||
}
|
||||
|
||||
.cloud-table tbody .active-snippet .column-name {
|
||||
font-weight: 400;
|
||||
max-inline-size: 400px;
|
||||
white-space: normal !important;
|
||||
}
|
||||
|
||||
.cloud-table td .no-results {
|
||||
margin-block-start: 15px;
|
||||
color: #e32121;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cloud-status-dot {
|
||||
block-size: 10px;
|
||||
inline-size: 10px;
|
||||
background-color: #ce0000;
|
||||
border-radius: 50%;
|
||||
|
||||
|
||||
.cloud-connect-active & {
|
||||
background-color: #25a349;
|
||||
}
|
||||
}
|
||||
|
||||
.cloud-connect-text {
|
||||
color: #ce0000;
|
||||
|
||||
.cloud-connect-active & {
|
||||
color: #2e7d32;
|
||||
}
|
||||
}
|
||||
|
||||
.thumbs-up {
|
||||
inline-size: 1.25rem; /* 20px */
|
||||
block-size: 1.25rem; /* 20px */
|
||||
transform-origin: bottom left;
|
||||
|
||||
&:hover {
|
||||
stroke: #059669;
|
||||
fill: #6ee7b7;
|
||||
}
|
||||
}
|
||||
|
||||
.plugin-card-bottom {
|
||||
overflow: visible !important;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.beta-test-notice {
|
||||
margin-block-start: 20px;
|
||||
}
|
||||
|
||||
.highlight-yellow {
|
||||
background: #fefdba;
|
||||
padding: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
@keyframes thumb {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
|
||||
33% {
|
||||
transform: rotate(7deg);
|
||||
}
|
||||
|
||||
66% {
|
||||
transform: rotate(-15deg);
|
||||
}
|
||||
|
||||
90% {
|
||||
transform: rotate(5deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
}
|
||||
35
plugins/code-snippets/css/menu.scss
Normal file
35
plugins/code-snippets/css/menu.scss
Normal file
@@ -0,0 +1,35 @@
|
||||
#adminmenu {
|
||||
.toplevel_page_snippets div.wp-menu-image::before {
|
||||
content: '';
|
||||
mask-image: url('../assets/menu-icon.svg');
|
||||
mask-repeat: no-repeat;
|
||||
mask-position: center;
|
||||
background-color: currentcolor;
|
||||
}
|
||||
|
||||
.code-snippets-upgrade-button {
|
||||
color: #fff;
|
||||
background-color: #d46f4d;
|
||||
border: none;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
transition: background-color .1s linear;
|
||||
white-space: break-spaces;
|
||||
line-height: inherit;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
&:hover {
|
||||
background-color: #08c5d1;
|
||||
}
|
||||
|
||||
.dashicons {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-submenu a[href='admin.php?page=code_snippets_upgrade']:hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
83
plugins/code-snippets/css/prism.scss
Normal file
83
plugins/code-snippets/css/prism.scss
Normal file
@@ -0,0 +1,83 @@
|
||||
@import '~prismjs/themes/prism.css';
|
||||
@import '~prismjs/plugins/line-numbers/prism-line-numbers.css';
|
||||
@import '~prismjs/plugins/toolbar/prism-toolbar.css';
|
||||
@import '~prismjs/plugins/inline-color/prism-inline-color.css';
|
||||
@import '~prismjs/plugins/previewers/prism-previewers.css';
|
||||
@import '~prismjs/plugins/autolinker/prism-autolinker.css';
|
||||
|
||||
/* These lines are taken from '~prismjs/plugins/inline-color/prism-inline-color.css', adjusted to avoid autoprefixer
|
||||
complaining about deprecated syntax. Ideally, they can be removed if the file in question is updated. */
|
||||
|
||||
pre[data-line] {
|
||||
position: relative;
|
||||
padding-block: 1em;
|
||||
padding-inline: 3em 0;
|
||||
}
|
||||
|
||||
.line-highlight {
|
||||
position: absolute;
|
||||
inset-inline: 0;
|
||||
padding: inherit;
|
||||
margin-block-start: 1em;
|
||||
background: hsl(24deg 20% 50% / 8%);
|
||||
background: linear-gradient(to right, hsl(24deg 20% 50% / 10%) 70%, hsl(24deg 20% 50% / 0%));
|
||||
pointer-events: none;
|
||||
line-height: inherit;
|
||||
white-space: pre;
|
||||
|
||||
@media print {
|
||||
print-color-adjust: exact;
|
||||
}
|
||||
|
||||
&::before, &[data-end]::after {
|
||||
content: attr(data-start);
|
||||
position: absolute;
|
||||
inset-block-start: .4em;
|
||||
inset-inline-start: .6em;
|
||||
min-inline-size: 1em;
|
||||
padding-block: 0;
|
||||
padding-inline: .5em;
|
||||
background-color: hsl(24deg 20% 50% / 40%);
|
||||
color: hsl(24deg 20% 95%);
|
||||
font: bold 65%/1.5 sans-serif;
|
||||
text-align: center;
|
||||
vertical-align: .3em;
|
||||
border-radius: 999px;
|
||||
text-shadow: none;
|
||||
box-shadow: 0 1px white;
|
||||
}
|
||||
|
||||
&[data-end]::after {
|
||||
content: attr(data-end);
|
||||
inset-block: auto .4em;
|
||||
}
|
||||
|
||||
.line-numbers &::before, .line-numbers &::after {
|
||||
content: none;
|
||||
}
|
||||
|
||||
/* Additional fixes to the behaviour of line highlighting with certain themes. */
|
||||
|
||||
.is-style-prism-coy-without-shadows pre[class*="language-"] & {
|
||||
margin-block-start: 0;
|
||||
}
|
||||
|
||||
:not(.is-style-prism-shades-of-purple) pre[class*="language-"].line-numbers & {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin-block: 1em 0;
|
||||
margin-inline: 0;
|
||||
}
|
||||
}
|
||||
|
||||
pre[id].linkable-line-numbers span.line-numbers-rows {
|
||||
pointer-events: all;
|
||||
|
||||
> span::before {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
> span:hover::before {
|
||||
background-color: rgb(128 128 128 / 20%);
|
||||
}
|
||||
}
|
||||
213
plugins/code-snippets/css/settings.scss
Normal file
213
plugins/code-snippets/css/settings.scss
Normal file
@@ -0,0 +1,213 @@
|
||||
@use 'common/codemirror';
|
||||
|
||||
$sections: general, editor, debug, version-switch;
|
||||
|
||||
p.submit {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.settings-section,
|
||||
p.submit {
|
||||
max-inline-size: 1020px;
|
||||
}
|
||||
|
||||
.nav-tab-wrapper {
|
||||
margin-block-end: 1em;
|
||||
}
|
||||
|
||||
input[type="number"] {
|
||||
inline-size: 4em;
|
||||
}
|
||||
|
||||
.CodeMirror {
|
||||
max-inline-size: 800px;
|
||||
inline-size: 100%;
|
||||
padding-inline-end: 1em;
|
||||
}
|
||||
|
||||
.CodeMirror-sizer::before {
|
||||
content: '<?php';
|
||||
}
|
||||
|
||||
body.no-js {
|
||||
.nav-tab-wrapper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.settings-section {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
body.js {
|
||||
.settings-section-title {
|
||||
border: 0;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(50%);
|
||||
block-size: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
inline-size: 1px;
|
||||
word-wrap: normal !important;
|
||||
}
|
||||
|
||||
.nav-tab:not(.nav-tab-active) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.settings-section {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@each $section in $sections {
|
||||
.wrap[data-active-tab=#{$section}] .#{$section}-settings {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.license-status {
|
||||
display: inline-block;
|
||||
padding-inline-end: 2em;
|
||||
line-height: 2;
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.license-status-valid {
|
||||
color: #2ecc40;
|
||||
}
|
||||
|
||||
.license-status-expired {
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
.wrap[data-active-tab="license"] .submit {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#code_snippets_remove_license {
|
||||
color: #b32d2e;
|
||||
border-color: #b32d2e;
|
||||
}
|
||||
|
||||
#code_snippets_license_key {
|
||||
font-family: Consolas, Monaco, monospace;
|
||||
}
|
||||
|
||||
#cloud_token {
|
||||
max-inline-size: 450px;
|
||||
inline-size: 90vw;
|
||||
}
|
||||
|
||||
.cloud-message {
|
||||
inline-size: fit-content;
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.cloud-error {
|
||||
background: #e53935;
|
||||
color: #ffebee;
|
||||
}
|
||||
|
||||
.cloud-success {
|
||||
background: #43a047;
|
||||
color: #e8f5e9;
|
||||
}
|
||||
|
||||
.refresh-success {
|
||||
background: #2271b1;
|
||||
color: #ffeb3b;
|
||||
}
|
||||
|
||||
.cloud-settings tbody tr:nth-child(n+5) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Version Switch Styles
|
||||
.code-snippets-version-switch {
|
||||
.current-version {
|
||||
font-family: monospace;
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
color: #0073aa;
|
||||
background: #f0f6fc;
|
||||
padding: 2px 8px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid #c3c4c7;
|
||||
}
|
||||
|
||||
#target_version {
|
||||
min-inline-size: 200px;
|
||||
margin-inline-start: 8px;
|
||||
}
|
||||
|
||||
#switch-version-btn {
|
||||
&[disabled] {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
background-color: #f0f0f1 !important;
|
||||
color: #a7aaad !important;
|
||||
border-color: #dcdcde !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Warning box styling
|
||||
#version-switch-warning {
|
||||
margin-block-start: 20px !important;
|
||||
padding: 12px 16px;
|
||||
border-inline-start: 4px solid #dba617;
|
||||
background: #fff8e5;
|
||||
border-radius: 4px;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
color: #8f6914;
|
||||
|
||||
strong {
|
||||
color: #8f6914;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#version-switch-result {
|
||||
margin-block-start: 12px;
|
||||
|
||||
&.notice {
|
||||
padding: 8px 12px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.notice {
|
||||
&.notice {
|
||||
&-success {
|
||||
border-inline-start-color: #00a32a;
|
||||
}
|
||||
|
||||
&-error {
|
||||
border-inline-start-color: #d63638;
|
||||
}
|
||||
|
||||
&-warning {
|
||||
border-inline-start-color: #dba617;
|
||||
}
|
||||
|
||||
&-info {
|
||||
border-inline-start-color: #72aee6;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.version-switch-settings {
|
||||
.form-table {
|
||||
th {
|
||||
inline-size: 180px;
|
||||
}
|
||||
}
|
||||
}
|
||||
383
plugins/code-snippets/css/welcome.scss
Normal file
383
plugins/code-snippets/css/welcome.scss
Normal file
@@ -0,0 +1,383 @@
|
||||
@use 'sass:color';
|
||||
@use 'common/theme';
|
||||
@use 'common/badges';
|
||||
|
||||
$breakpoint: 1060px;
|
||||
|
||||
.csp-welcome-wrap {
|
||||
padding: 25px;
|
||||
|
||||
h1, h2, h3 {
|
||||
font-weight: 700;
|
||||
margin-block: 10px;
|
||||
|
||||
.dashicons {
|
||||
font-size: 90%;
|
||||
line-height: inherit;
|
||||
inline-size: auto;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.dashicons-external {
|
||||
float: inline-end;
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
|
||||
.csp-welcome-header {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
|
||||
h1 {
|
||||
font-size: 1.4rem;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
margin: 0;
|
||||
|
||||
span {
|
||||
text-decoration: underline theme.$primary wavy 3px;
|
||||
text-decoration-skip-ink: none;
|
||||
text-underline-offset: 11px;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.csp-welcome-header nav {
|
||||
column-gap: 15px;
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: space-evenly;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-block-end: 0;
|
||||
}
|
||||
|
||||
li a {
|
||||
margin-block: 10px;
|
||||
align-items: center;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
font-weight: 400;
|
||||
gap: 3px;
|
||||
text-decoration: none;
|
||||
transition: all .1s ease-in-out;
|
||||
border-radius: 3px;
|
||||
padding: 8px;
|
||||
|
||||
&:hover {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.dashicons, svg {
|
||||
text-decoration: none;
|
||||
margin-block-start: -1px;
|
||||
margin-inline-start: 3px;
|
||||
}
|
||||
|
||||
svg {
|
||||
fill: #fff;
|
||||
inline-size: 20px;
|
||||
block-size: 20px;
|
||||
font-size: 20px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
&:hover svg {
|
||||
fill: currentcolor;
|
||||
}
|
||||
}
|
||||
|
||||
$link-colors: (
|
||||
pro: theme.$secondary,
|
||||
cloud: #08c5d1,
|
||||
resources: #424242,
|
||||
discord: theme.$brand-discord,
|
||||
facebook: theme.$brand-facebook
|
||||
);
|
||||
|
||||
@each $link-name, $color in $link-colors {
|
||||
.csp-link-#{$link-name} {
|
||||
background: $color;
|
||||
border-color: $color;
|
||||
|
||||
&:hover {
|
||||
color: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.csp-cards {
|
||||
display: grid;
|
||||
grid-auto-rows: 1fr;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 40px 15px;
|
||||
|
||||
@media (width <= $breakpoint) {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
}
|
||||
|
||||
.csp-card {
|
||||
border: 1px solid theme.$outline;
|
||||
background: white;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
}
|
||||
|
||||
a.csp-card {
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
background: color.adjust(theme.$primary, $lightness: 55%);
|
||||
transition: .5s background-color;
|
||||
box-shadow: 0 1px 1px rgb(255 255 255 / 50%);
|
||||
|
||||
.dashicons-external {
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.csp-section-changes {
|
||||
border: 1px solid theme.$outline;
|
||||
border-inline-start: 0;
|
||||
border-inline-end: 0;
|
||||
padding-block: 40px 50px;
|
||||
padding-inline: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
row-gap: 20px;
|
||||
margin-block-start: 30px;
|
||||
|
||||
.csp-cards {
|
||||
grid-template-columns: 2fr 1fr;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.csp-card {
|
||||
padding: 20px;
|
||||
box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
|
||||
|
||||
h2 {
|
||||
color: theme.$primary;
|
||||
}
|
||||
}
|
||||
|
||||
.csp-changelog-wrapper {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.csp-section-changelog {
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.5;
|
||||
color: #333;
|
||||
block-size: 400px;
|
||||
|
||||
h3 {
|
||||
float: inline-end;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-block: 30px 10px;
|
||||
margin-inline: 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-block-start: 5px;
|
||||
}
|
||||
|
||||
li {
|
||||
display: grid;
|
||||
grid-template-columns: 40px 1fr;
|
||||
grid-template-rows: 1fr;
|
||||
align-items: baseline;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
li .badge {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
> article::after {
|
||||
border-block-end: 1px solid #666;
|
||||
content: ' ';
|
||||
display: block;
|
||||
inline-size: 50%;
|
||||
margin-block: 3em 0;
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
> article:last-child {
|
||||
padding-block-end: 1px;
|
||||
|
||||
&::after {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
figure {
|
||||
margin-block: 1em 0;
|
||||
margin-inline: 0;
|
||||
overflow: hidden;
|
||||
border-radius: 0.5rem;
|
||||
border: 1px solid grey;
|
||||
position: relative;
|
||||
block-size: auto;
|
||||
background: #646970;
|
||||
|
||||
img {
|
||||
inline-size: 100%;
|
||||
block-size: 100%;
|
||||
overflow: hidden;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.dashicons-lightbulb {
|
||||
color: #f1c40f;
|
||||
}
|
||||
|
||||
.dashicons-chart-line {
|
||||
color: #85144b;
|
||||
}
|
||||
|
||||
.dashicons-buddicons-replies {
|
||||
color: #3d9970;
|
||||
}
|
||||
}
|
||||
|
||||
.csp-section-links {
|
||||
padding-block: 40px 50px;
|
||||
padding-inline: 0;
|
||||
|
||||
.csp-card {
|
||||
margin-block-start: 20px;
|
||||
justify-content: flex-start;
|
||||
color: black;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
row-gap: 10px;
|
||||
padding: 1rem;
|
||||
inline-size: 85%;
|
||||
|
||||
header {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin-block: 1em 0;
|
||||
margin-inline: 0;
|
||||
|
||||
img {
|
||||
border-radius: 5px;
|
||||
inline-size: 100%;
|
||||
block-size: 100%;
|
||||
max-block-size: 300px;
|
||||
overflow: hidden;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.csp-card-item-category {
|
||||
color: white;
|
||||
background: theme.$secondary;
|
||||
display: block;
|
||||
font-size: .9rem;
|
||||
letter-spacing: 1px;
|
||||
margin-block: 0;
|
||||
text-transform: uppercase;
|
||||
inline-size: fit-content;
|
||||
padding-block: 5px;
|
||||
padding-inline: 15px;
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.7rem;
|
||||
color: theme.$primary;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.csp-card-item-description {
|
||||
color: #51525c;
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
footer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
&.csp-section-partners {
|
||||
border-block-start: 1px solid theme.$outline;
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
flex-direction: row-reverse;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
&.csp-section-articles {
|
||||
h2 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
figure img {
|
||||
aspect-ratio: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.csp-loading-spinner {
|
||||
block-size: 0;
|
||||
inline-size: 0;
|
||||
padding: 15px;
|
||||
border: 6px solid #e7c0b3;
|
||||
border-inline-end-color: theme.$secondary;
|
||||
border-radius: 22px;
|
||||
animation: loading-rotate 1s infinite linear;
|
||||
position: absolute;
|
||||
inset-inline-start: 47%;
|
||||
inset-block-start: 45%;
|
||||
}
|
||||
|
||||
@keyframes loading-rotate {
|
||||
100% {
|
||||
transform: rotate(calc(360deg * var(--cs-direction-multiplier)));
|
||||
}
|
||||
}
|
||||
7
plugins/code-snippets/dist/77309b6c62059751c2c4.svg
vendored
Normal file
7
plugins/code-snippets/dist/77309b6c62059751c2c4.svg
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="18.025">
|
||||
<path
|
||||
d="M3.718 58.581h3.104a.833.833 0 0 1 .599 1.412l.004.009L5.3 62.125a3.747 3.747 0 0 0 0 5.304 3.755 3.755 0 0 0 5.304 0 3.755 3.755 0 0 0-1.454-6.207l.558-.558h7.134c1.7 0 3.083-1.446 3.124-3.25 0-.03.004-.054 0-.083a.92.92 0 0 0-.916-.834h-5.175l3.737-3.736a.92.92 0 0 0 .062-1.238c-.02-.025-.04-.042-.062-.062-1.3-1.242-3.304-1.288-4.503-.088l-5.124 5.124h-.91a3.75 3.75 0 1 0-3.358 2.084m1.667-3.75a1.666 1.666 0 1 1-3.333.002 1.666 1.666 0 0 1 3.333-.001m3.745 8.771c.65.65.65 1.704 0 2.354a1.663 1.663 0 0 1-2.358 0 1.664 1.664 0 0 1 0-2.354 1.66 1.66 0 0 1 2.358 0"
|
||||
style="stroke-width:.0195306"
|
||||
transform="translate(.032 -50.5)"
|
||||
/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 765 B |
1
plugins/code-snippets/dist/edit-rtl.css
vendored
Normal file
1
plugins/code-snippets/dist/edit-rtl.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
plugins/code-snippets/dist/edit.css
vendored
Normal file
1
plugins/code-snippets/dist/edit.css
vendored
Normal file
File diff suppressed because one or more lines are too long
2
plugins/code-snippets/dist/edit.js
vendored
Normal file
2
plugins/code-snippets/dist/edit.js
vendored
Normal file
File diff suppressed because one or more lines are too long
27
plugins/code-snippets/dist/edit.js.LICENSE.txt
vendored
Normal file
27
plugins/code-snippets/dist/edit.js.LICENSE.txt
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
/*!
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-is.production.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
1
plugins/code-snippets/dist/editor-themes/3024-day.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/3024-day.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-3024-day.CodeMirror{background:#f7f7f7;color:#3a3432}.cm-s-3024-day div.CodeMirror-selected{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::selection,.cm-s-3024-day .CodeMirror-line>span::selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d6d5d4}.cm-s-3024-day .CodeMirror-line::-moz-selection,.cm-s-3024-day .CodeMirror-line>span::-moz-selection,.cm-s-3024-day .CodeMirror-line>span>span::selection{background:#d9d9d9}.cm-s-3024-day .CodeMirror-gutters{background:#f7f7f7;border-right:0}.cm-s-3024-day .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-day .CodeMirror-guttermarker-subtle,.cm-s-3024-day .CodeMirror-linenumber{color:#807d7c}.cm-s-3024-day .CodeMirror-cursor{border-left:1px solid #5c5855}.cm-s-3024-day span.cm-comment{color:#cdab53}.cm-s-3024-day span.cm-atom,.cm-s-3024-day span.cm-number{color:#a16a94}.cm-s-3024-day span.cm-attribute,.cm-s-3024-day span.cm-property{color:#01a252}.cm-s-3024-day span.cm-keyword{color:#db2d20}.cm-s-3024-day span.cm-string{color:#fded02}.cm-s-3024-day span.cm-variable{color:#01a252}.cm-s-3024-day span.cm-variable-2{color:#01a0e4}.cm-s-3024-day span.cm-def{color:#e8bbd0}.cm-s-3024-day span.cm-bracket{color:#3a3432}.cm-s-3024-day span.cm-tag{color:#db2d20}.cm-s-3024-day span.cm-link{color:#a16a94}.cm-s-3024-day span.cm-error{background:#db2d20;color:#5c5855}.cm-s-3024-day .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-3024-day .CodeMirror-matchingbracket{color:#a16a94!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/3024-night.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/3024-night.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-3024-night.CodeMirror{background:#090300;color:#d6d5d4}.cm-s-3024-night div.CodeMirror-selected{background:#3a3432}.cm-s-3024-night .CodeMirror-line::selection,.cm-s-3024-night .CodeMirror-line>span::selection,.cm-s-3024-night .CodeMirror-line>span>span::selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-line::-moz-selection,.cm-s-3024-night .CodeMirror-line>span::-moz-selection,.cm-s-3024-night .CodeMirror-line>span>span::-moz-selection{background:rgba(58,52,50,.99)}.cm-s-3024-night .CodeMirror-gutters{background:#090300;border-right:0}.cm-s-3024-night .CodeMirror-guttermarker{color:#db2d20}.cm-s-3024-night .CodeMirror-guttermarker-subtle,.cm-s-3024-night .CodeMirror-linenumber{color:#5c5855}.cm-s-3024-night .CodeMirror-cursor{border-left:1px solid #807d7c}.cm-s-3024-night span.cm-comment{color:#cdab53}.cm-s-3024-night span.cm-atom,.cm-s-3024-night span.cm-number{color:#a16a94}.cm-s-3024-night span.cm-attribute,.cm-s-3024-night span.cm-property{color:#01a252}.cm-s-3024-night span.cm-keyword{color:#db2d20}.cm-s-3024-night span.cm-string{color:#fded02}.cm-s-3024-night span.cm-variable{color:#01a252}.cm-s-3024-night span.cm-variable-2{color:#01a0e4}.cm-s-3024-night span.cm-def{color:#e8bbd0}.cm-s-3024-night span.cm-bracket{color:#d6d5d4}.cm-s-3024-night span.cm-tag{color:#db2d20}.cm-s-3024-night span.cm-link{color:#a16a94}.cm-s-3024-night span.cm-error{background:#db2d20;color:#807d7c}.cm-s-3024-night .CodeMirror-activeline-background{background:#2f2f2f}.cm-s-3024-night .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/abbott.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/abbott.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-abbott.CodeMirror{background:#231c14;color:#d8ff84}.cm-s-abbott .CodeMirror-gutters{background:#231c14;border:none}.cm-s-abbott .CodeMirror-linenumber{color:#fbec5d}.cm-s-abbott .CodeMirror-guttermarker{color:#f63f05}.cm-s-abbott .CodeMirror-guttermarker-subtle{color:#fbb32f}.cm-s-abbott .CodeMirror-ruler{border-color:#745d42}.cm-s-abbott .CodeMirror-cursor{border-color:#a0ea00}.cm-s-abbott .cm-animate-fat-cursor,.cm-s-abbott.cm-fat-cursor .CodeMirror-cursor{background:rgba(160,234,0,.5)}.cm-s-abbott.cm-fat-cursor .CodeMirror-cursors{z-index:3}.cm-s-abbott .CodeMirror-overwrite .CodeMirror-cursor{border-bottom:1px solid #a0ea00;border-left:none;width:auto}.cm-s-abbott .CodeMirror-secondarycursor{border-color:#00ff7f}.cm-s-abbott .CodeMirror-selected,.cm-s-abbott.CodeMirror-focused .CodeMirror-selected{background:#273900}.cm-s-abbott .CodeMirror-line::selection,.cm-s-abbott .CodeMirror-line>span::selection,.cm-s-abbott .CodeMirror-line>span>span::selection{background:#273900}.cm-s-abbott .CodeMirror-line::-moz-selection,.cm-s-abbott .CodeMirror-line>span::-moz-selection,.cm-s-abbott .CodeMirror-line>span>span::-moz-selection{background:#273900}.cm-s-abbott .cm-tab{color:#00ff7f}.cm-s-abbott .cm-searching{background:#fef3b4!important;color:#231c14!important}.cm-s-abbott span.cm-comment{color:#fbb32f;font-style:italic}.cm-s-abbott span.cm-string,.cm-s-abbott span.cm-string-2{color:#e6a2f3}.cm-s-abbott span.cm-number,.cm-s-abbott span.cm-string.cm-url{color:#f63f05}.cm-s-abbott span.cm-invalidchar{color:#00ff7f}.cm-s-abbott span.cm-atom,.cm-s-abbott span.cm-bracket,.cm-s-abbott span.cm-punctuation{color:#fef3b4}.cm-s-abbott span.cm-operator{font-weight:700}.cm-s-abbott span.cm-def,.cm-s-abbott span.cm-variable,.cm-s-abbott span.cm-variable-2,.cm-s-abbott span.cm-variable-3{color:#8ccdf0}.cm-s-abbott span.cm-builtin,.cm-s-abbott span.cm-property,.cm-s-abbott span.cm-qualifier{color:#3f91f1}.cm-s-abbott span.cm-type{color:#24a507}.cm-s-abbott span.cm-keyword{color:#d80450;font-weight:700}.cm-s-abbott span.cm-meta{color:#ec6c99}.cm-s-abbott span.cm-tag{color:#d80450;font-weight:700}.cm-s-abbott span.cm-attribute{color:#24a507}.cm-s-abbott span.cm-header{color:#d80450;font-weight:700}.cm-s-abbott span.cm-hr{color:#ec6c99}.cm-s-abbott span.cm-link{color:#e6a2f3}.cm-s-abbott span.cm-negative{background:#d80450;color:#231c14}.cm-s-abbott span.cm-positive{background:#a0ea00;color:#231c14;font-weight:700}.cm-s-abbott span.cm-error{background:#d80450;color:#231c14}.cm-s-abbott span.CodeMirror-matchingbracket{background:#745d42!important;color:#231c14!important;font-weight:700}.cm-s-abbott span.CodeMirror-nonmatchingbracket{background:#d80450!important;color:#231c14!important}.cm-s-abbott .CodeMirror-matchingtag,.cm-s-abbott .cm-matchhighlight{outline:1px solid #39a78d}.cm-s-abbott .CodeMirror-activeline-background,.cm-s-abbott .CodeMirror-activeline-gutter{background:#3c3022}.cm-s-abbott .CodeMirror-activeline-gutter .CodeMirror-linenumber{color:#d8ff84;font-weight:700}.cm-s-abbott .CodeMirror-foldmarker{color:#f63f05;text-shadow:none}
|
||||
1
plugins/code-snippets/dist/editor-themes/abcdef.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/abcdef.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-abcdef.CodeMirror{background:#0f0f0f;color:#defdef}.cm-s-abcdef div.CodeMirror-selected{background:#515151}.cm-s-abcdef .CodeMirror-line::selection,.cm-s-abcdef .CodeMirror-line>span::selection,.cm-s-abcdef .CodeMirror-line>span>span::selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-line::-moz-selection,.cm-s-abcdef .CodeMirror-line>span::-moz-selection,.cm-s-abcdef .CodeMirror-line>span>span::-moz-selection{background:rgba(56,56,56,.99)}.cm-s-abcdef .CodeMirror-gutters{background:#555;border-right:2px solid #314151}.cm-s-abcdef .CodeMirror-guttermarker{color:#222}.cm-s-abcdef .CodeMirror-guttermarker-subtle{color:azure}.cm-s-abcdef .CodeMirror-linenumber{color:#fff}.cm-s-abcdef .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-abcdef span.cm-keyword{color:#b8860b;font-weight:700}.cm-s-abcdef span.cm-atom{color:#77f}.cm-s-abcdef span.cm-number{color:violet}.cm-s-abcdef span.cm-def{color:#fffabc}.cm-s-abcdef span.cm-variable{color:#abcdef}.cm-s-abcdef span.cm-variable-2{color:#cacbcc}.cm-s-abcdef span.cm-type,.cm-s-abcdef span.cm-variable-3{color:#def}.cm-s-abcdef span.cm-property{color:#fedcba}.cm-s-abcdef span.cm-operator{color:#ff0}.cm-s-abcdef span.cm-comment{color:#7a7b7c;font-style:italic}.cm-s-abcdef span.cm-string{color:#2b4}.cm-s-abcdef span.cm-meta{color:#c9f}.cm-s-abcdef span.cm-qualifier{color:#fff700}.cm-s-abcdef span.cm-builtin{color:#30aabc}.cm-s-abcdef span.cm-bracket{color:#8a8a8a}.cm-s-abcdef span.cm-tag{color:#fd4}.cm-s-abcdef span.cm-attribute{color:#df0}.cm-s-abcdef span.cm-error{color:red}.cm-s-abcdef span.cm-header{color:#7fffd4;font-weight:700}.cm-s-abcdef span.cm-link{color:#8a2be2}.cm-s-abcdef .CodeMirror-activeline-background{background:#314151}
|
||||
1
plugins/code-snippets/dist/editor-themes/ambiance-mobile.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/ambiance-mobile.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-ambiance.CodeMirror{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}
|
||||
1
plugins/code-snippets/dist/editor-themes/ambiance.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/ambiance.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
plugins/code-snippets/dist/editor-themes/ayu-dark.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/ayu-dark.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-ayu-dark.CodeMirror{background:#0a0e14;color:#b3b1ad}.cm-s-ayu-dark div.CodeMirror-selected{background:#273747}.cm-s-ayu-dark .CodeMirror-line::selection,.cm-s-ayu-dark .CodeMirror-line>span::selection,.cm-s-ayu-dark .CodeMirror-line>span>span::selection{background:#273747}.cm-s-ayu-dark .CodeMirror-line::-moz-selection,.cm-s-ayu-dark .CodeMirror-line>span::-moz-selection,.cm-s-ayu-dark .CodeMirror-line>span>span::-moz-selection{background:#273747}.cm-s-ayu-dark .CodeMirror-gutters{background:#0a0e14;border-right:0}.cm-s-ayu-dark .CodeMirror-guttermarker{color:#fff}.cm-s-ayu-dark .CodeMirror-guttermarker-subtle,.cm-s-ayu-dark .CodeMirror-linenumber{color:#3d424d}.cm-s-ayu-dark .CodeMirror-cursor{border-left:1px solid #e6b450}.cm-s-ayu-dark .cm-animate-fat-cursor,.cm-s-ayu-dark.cm-fat-cursor .CodeMirror-cursor{background-color:#a2a8a175!important}.cm-s-ayu-dark span.cm-comment{color:#626a73}.cm-s-ayu-dark span.cm-atom{color:#ae81ff}.cm-s-ayu-dark span.cm-number{color:#e6b450}.cm-s-ayu-dark span.cm-comment.cm-attribute{color:#ffb454}.cm-s-ayu-dark span.cm-comment.cm-def,.cm-s-ayu-dark span.cm-comment.cm-tag{color:#39bae6}.cm-s-ayu-dark span.cm-comment.cm-type{color:#5998a6}.cm-s-ayu-dark span.cm-attribute,.cm-s-ayu-dark span.cm-property{color:#ffb454}.cm-s-ayu-dark span.cm-keyword{color:#ff8f40}.cm-s-ayu-dark span.cm-builtin{color:#e6b450}.cm-s-ayu-dark span.cm-string{color:#c2d94c}.cm-s-ayu-dark span.cm-variable{color:#b3b1ad}.cm-s-ayu-dark span.cm-variable-2{color:#f07178}.cm-s-ayu-dark span.cm-variable-3{color:#39bae6}.cm-s-ayu-dark span.cm-type{color:#ff8f40}.cm-s-ayu-dark span.cm-def{color:#fe9}.cm-s-ayu-dark span.cm-bracket{color:#f8f8f2}.cm-s-ayu-dark span.cm-tag{color:#39bae6}.cm-s-ayu-dark span.cm-header{color:#c2d94c}.cm-s-ayu-dark span.cm-link{color:#39bae6}.cm-s-ayu-dark span.cm-error{color:#f33}.cm-s-ayu-dark .CodeMirror-activeline-background{background:#01060e}.cm-s-ayu-dark .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/ayu-mirage.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/ayu-mirage.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-ayu-mirage.CodeMirror{background:#1f2430;color:#cbccc6}.cm-s-ayu-mirage div.CodeMirror-selected{background:#34455a}.cm-s-ayu-mirage .CodeMirror-line::selection,.cm-s-ayu-mirage .CodeMirror-line>span::selection,.cm-s-ayu-mirage .CodeMirror-line>span>span::selection{background:#34455a}.cm-s-ayu-mirage .CodeMirror-line::-moz-selection,.cm-s-ayu-mirage .CodeMirror-line>span::-moz-selection,.cm-s-ayu-mirage .CodeMirror-line>span>span::-moz-selection{background:#191e2a}.cm-s-ayu-mirage .CodeMirror-gutters{background:#1f2430;border-right:0}.cm-s-ayu-mirage .CodeMirror-guttermarker{color:#fff}.cm-s-ayu-mirage .CodeMirror-guttermarker-subtle{color:#707a8c}.cm-s-ayu-mirage .CodeMirror-linenumber{color:#3d424d}.cm-s-ayu-mirage .CodeMirror-cursor{border-left:1px solid #fc6}.cm-s-ayu-mirage .cm-animate-fat-cursor,.cm-s-ayu-mirage.cm-fat-cursor .CodeMirror-cursor{background-color:#a2a8a175!important}.cm-s-ayu-mirage span.cm-comment{color:#5c6773;font-style:italic}.cm-s-ayu-mirage span.cm-atom{color:#ae81ff}.cm-s-ayu-mirage span.cm-number{color:#fc6}.cm-s-ayu-mirage span.cm-comment.cm-attribute{color:#ffd580}.cm-s-ayu-mirage span.cm-comment.cm-def{color:#d4bfff}.cm-s-ayu-mirage span.cm-comment.cm-tag{color:#5ccfe6}.cm-s-ayu-mirage span.cm-comment.cm-type{color:#5998a6}.cm-s-ayu-mirage span.cm-property{color:#f29e74}.cm-s-ayu-mirage span.cm-attribute{color:#ffd580}.cm-s-ayu-mirage span.cm-keyword{color:#ffa759}.cm-s-ayu-mirage span.cm-builtin{color:#fc6}.cm-s-ayu-mirage span.cm-string{color:#bae67e}.cm-s-ayu-mirage span.cm-variable{color:#cbccc6}.cm-s-ayu-mirage span.cm-variable-2{color:#f28779}.cm-s-ayu-mirage span.cm-variable-3{color:#5ccfe6}.cm-s-ayu-mirage span.cm-type{color:#ffa759}.cm-s-ayu-mirage span.cm-def{color:#ffd580}.cm-s-ayu-mirage span.cm-bracket,.cm-s-ayu-mirage span.cm-tag{color:#5ccfe6}.cm-s-ayu-mirage span.cm-header{color:#bae67e}.cm-s-ayu-mirage span.cm-link{color:#5ccfe6}.cm-s-ayu-mirage span.cm-error{color:#f33}.cm-s-ayu-mirage .CodeMirror-activeline-background{background:#191e2a}.cm-s-ayu-mirage .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/base16-dark.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/base16-dark.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-base16-dark.CodeMirror{background:#151515;color:#e0e0e0}.cm-s-base16-dark div.CodeMirror-selected{background:#303030}.cm-s-base16-dark .CodeMirror-line::selection,.cm-s-base16-dark .CodeMirror-line>span::selection,.cm-s-base16-dark .CodeMirror-line>span>span::selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-line::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(48,48,48,.99)}.cm-s-base16-dark .CodeMirror-gutters{background:#151515;border-right:0}.cm-s-base16-dark .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-dark .CodeMirror-guttermarker-subtle,.cm-s-base16-dark .CodeMirror-linenumber{color:#505050}.cm-s-base16-dark .CodeMirror-cursor{border-left:1px solid #b0b0b0}.cm-s-base16-dark .cm-animate-fat-cursor,.cm-s-base16-dark.cm-fat-cursor .CodeMirror-cursor{background-color:#8e8d8875!important}.cm-s-base16-dark span.cm-comment{color:#8f5536}.cm-s-base16-dark span.cm-atom,.cm-s-base16-dark span.cm-number{color:#aa759f}.cm-s-base16-dark span.cm-attribute,.cm-s-base16-dark span.cm-property{color:#90a959}.cm-s-base16-dark span.cm-keyword{color:#ac4142}.cm-s-base16-dark span.cm-string{color:#f4bf75}.cm-s-base16-dark span.cm-variable{color:#90a959}.cm-s-base16-dark span.cm-variable-2{color:#6a9fb5}.cm-s-base16-dark span.cm-def{color:#d28445}.cm-s-base16-dark span.cm-bracket{color:#e0e0e0}.cm-s-base16-dark span.cm-tag{color:#ac4142}.cm-s-base16-dark span.cm-link{color:#aa759f}.cm-s-base16-dark span.cm-error{background:#ac4142;color:#b0b0b0}.cm-s-base16-dark .CodeMirror-activeline-background{background:#202020}.cm-s-base16-dark .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/base16-light.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/base16-light.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-base16-light.CodeMirror{background:#f5f5f5;color:#202020}.cm-s-base16-light div.CodeMirror-selected{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::selection,.cm-s-base16-light .CodeMirror-line>span::selection,.cm-s-base16-light .CodeMirror-line>span>span::selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-line::-moz-selection,.cm-s-base16-light .CodeMirror-line>span::-moz-selection,.cm-s-base16-light .CodeMirror-line>span>span::-moz-selection{background:#e0e0e0}.cm-s-base16-light .CodeMirror-gutters{background:#f5f5f5;border-right:0}.cm-s-base16-light .CodeMirror-guttermarker{color:#ac4142}.cm-s-base16-light .CodeMirror-guttermarker-subtle,.cm-s-base16-light .CodeMirror-linenumber{color:#b0b0b0}.cm-s-base16-light .CodeMirror-cursor{border-left:1px solid #505050}.cm-s-base16-light span.cm-comment{color:#8f5536}.cm-s-base16-light span.cm-atom,.cm-s-base16-light span.cm-number{color:#aa759f}.cm-s-base16-light span.cm-attribute,.cm-s-base16-light span.cm-property{color:#90a959}.cm-s-base16-light span.cm-keyword{color:#ac4142}.cm-s-base16-light span.cm-string{color:#f4bf75}.cm-s-base16-light span.cm-variable{color:#90a959}.cm-s-base16-light span.cm-variable-2{color:#6a9fb5}.cm-s-base16-light span.cm-def{color:#d28445}.cm-s-base16-light span.cm-bracket{color:#202020}.cm-s-base16-light span.cm-tag{color:#ac4142}.cm-s-base16-light span.cm-link{color:#aa759f}.cm-s-base16-light span.cm-error{background:#ac4142;color:#505050}.cm-s-base16-light .CodeMirror-activeline-background{background:#dddcdc}.cm-s-base16-light .CodeMirror-matchingbracket{background-color:#6a9fb5!important;color:#f5f5f5!important}
|
||||
1
plugins/code-snippets/dist/editor-themes/bespin.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/bespin.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-bespin.CodeMirror{background:#28211c;color:#9d9b97}.cm-s-bespin div.CodeMirror-selected{background:#59554f!important}.cm-s-bespin .CodeMirror-gutters{background:#28211c;border-right:0}.cm-s-bespin .CodeMirror-linenumber{color:#666}.cm-s-bespin .CodeMirror-cursor{border-left:1px solid #797977!important}.cm-s-bespin span.cm-comment{color:#937121}.cm-s-bespin span.cm-atom,.cm-s-bespin span.cm-number{color:#9b859d}.cm-s-bespin span.cm-attribute,.cm-s-bespin span.cm-property{color:#54be0d}.cm-s-bespin span.cm-keyword{color:#cf6a4c}.cm-s-bespin span.cm-string{color:#f9ee98}.cm-s-bespin span.cm-variable{color:#54be0d}.cm-s-bespin span.cm-variable-2{color:#5ea6ea}.cm-s-bespin span.cm-def{color:#cf7d34}.cm-s-bespin span.cm-error{background:#cf6a4c;color:#797977}.cm-s-bespin span.cm-bracket{color:#9d9b97}.cm-s-bespin span.cm-tag{color:#cf6a4c}.cm-s-bespin span.cm-link{color:#9b859d}.cm-s-bespin .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}.cm-s-bespin .CodeMirror-activeline-background{background:#404040}
|
||||
1
plugins/code-snippets/dist/editor-themes/blackboard.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/blackboard.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:rgba(37,59,118,.99)}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-attribute,.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{color:#fff!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/cobalt.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/cobalt.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-cobalt.CodeMirror{background:#002240;color:#fff}.cm-s-cobalt div.CodeMirror-selected{background:#b36539}.cm-s-cobalt .CodeMirror-line::selection,.cm-s-cobalt .CodeMirror-line>span::selection,.cm-s-cobalt .CodeMirror-line>span>span::selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-line::-moz-selection,.cm-s-cobalt .CodeMirror-line>span::-moz-selection,.cm-s-cobalt .CodeMirror-line>span>span::-moz-selection{background:rgba(179,101,57,.99)}.cm-s-cobalt .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-cobalt .CodeMirror-guttermarker{color:#ffee80}.cm-s-cobalt .CodeMirror-guttermarker-subtle,.cm-s-cobalt .CodeMirror-linenumber{color:#d0d0d0}.cm-s-cobalt .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-cobalt span.cm-comment{color:#08f}.cm-s-cobalt span.cm-atom{color:#845dc4}.cm-s-cobalt span.cm-attribute,.cm-s-cobalt span.cm-number{color:#ff80e1}.cm-s-cobalt span.cm-keyword{color:#ffee80}.cm-s-cobalt span.cm-string{color:#3ad900}.cm-s-cobalt span.cm-meta{color:#ff9d00}.cm-s-cobalt span.cm-tag,.cm-s-cobalt span.cm-variable-2{color:#9effff}.cm-s-cobalt .cm-type,.cm-s-cobalt span.cm-def,.cm-s-cobalt span.cm-variable-3{color:#fff}.cm-s-cobalt span.cm-bracket{color:#d8d8d8}.cm-s-cobalt span.cm-builtin,.cm-s-cobalt span.cm-special{color:#ff9e59}.cm-s-cobalt span.cm-link{color:#845dc4}.cm-s-cobalt span.cm-error{color:#9d1e15}.cm-s-cobalt .CodeMirror-activeline-background{background:#002d57}.cm-s-cobalt .CodeMirror-matchingbracket{color:#fff!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/colorforth.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/colorforth.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-colorforth.CodeMirror{background:#000;color:#f8f8f8}.cm-s-colorforth .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-colorforth .CodeMirror-guttermarker{color:#ffbd40}.cm-s-colorforth .CodeMirror-guttermarker-subtle{color:#78846f}.cm-s-colorforth .CodeMirror-linenumber{color:#bababa}.cm-s-colorforth .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-colorforth span.cm-comment{color:#ededed}.cm-s-colorforth span.cm-def{color:#ff1c1c;font-weight:700}.cm-s-colorforth span.cm-keyword{color:#ffd900}.cm-s-colorforth span.cm-builtin{color:#00d95a}.cm-s-colorforth span.cm-variable{color:#73ff00}.cm-s-colorforth span.cm-string{color:#007bff}.cm-s-colorforth span.cm-number{color:#00c4ff}.cm-s-colorforth span.cm-atom{color:#606060}.cm-s-colorforth span.cm-variable-2{color:#eee}.cm-s-colorforth span.cm-type,.cm-s-colorforth span.cm-variable-3{color:#ddd}.cm-s-colorforth span.cm-meta{color:#ff0}.cm-s-colorforth span.cm-qualifier{color:#fff700}.cm-s-colorforth span.cm-bracket{color:#cc7}.cm-s-colorforth span.cm-tag{color:#ffbd40}.cm-s-colorforth span.cm-attribute{color:#fff700}.cm-s-colorforth span.cm-error{color:red}.cm-s-colorforth div.CodeMirror-selected{background:#333d53}.cm-s-colorforth span.cm-compilation{background:hsla(0,0%,100%,.12)}.cm-s-colorforth .CodeMirror-activeline-background{background:#253540}
|
||||
1
plugins/code-snippets/dist/editor-themes/darcula.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/darcula.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-darcula{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif}.cm-s-darcula.CodeMirror{background:#2b2b2b;color:#a9b7c6}.cm-s-darcula span.cm-meta{color:#bbb529}.cm-s-darcula span.cm-number{color:#6897bb}.cm-s-darcula span.cm-keyword{color:#cc7832;font-weight:700;line-height:1em}.cm-s-darcula span.cm-def{color:#a9b7c6;font-style:italic}.cm-s-darcula span.cm-variable,.cm-s-darcula span.cm-variable-2{color:#a9b7c6}.cm-s-darcula span.cm-variable-3{color:#9876aa}.cm-s-darcula span.cm-type{color:#abc;font-weight:700}.cm-s-darcula span.cm-property{color:#ffc66d}.cm-s-darcula span.cm-operator{color:#a9b7c6}.cm-s-darcula span.cm-string,.cm-s-darcula span.cm-string-2{color:#6a8759}.cm-s-darcula span.cm-comment{color:#61a151;font-style:italic}.cm-s-darcula span.cm-atom,.cm-s-darcula span.cm-link{color:#cc7832}.cm-s-darcula span.cm-error{color:#bc3f3c}.cm-s-darcula span.cm-tag{color:#629755;font-style:italic;font-weight:700;text-decoration:underline}.cm-s-darcula span.cm-attribute{color:#6897bb}.cm-s-darcula span.cm-qualifier{color:#6a8759}.cm-s-darcula span.cm-bracket{color:#a9b7c6}.cm-s-darcula span.cm-builtin,.cm-s-darcula span.cm-special{color:#ff9e59}.cm-s-darcula span.cm-matchhighlight{background-color:rgba(50,89,48,.7);color:#fff;font-weight:400}.cm-s-darcula span.cm-searching{background-color:rgba(61,115,59,.7);color:#fff;font-weight:400}.cm-s-darcula .CodeMirror-cursor{border-left:1px solid #a9b7c6}.cm-s-darcula .CodeMirror-activeline-background{background:#323232}.cm-s-darcula .CodeMirror-gutters{background:#313335;border-right:1px solid #313335}.cm-s-darcula .CodeMirror-guttermarker{color:#ffee80}.cm-s-darcula .CodeMirror-guttermarker-subtle{color:#d0d0d0}.cm-s-darcula .CodeMirrir-linenumber{color:#606366}.cm-s-darcula .CodeMirror-matchingbracket{background-color:#3b514d;color:#ffef28!important;font-weight:700}.cm-s-darcula div.CodeMirror-selected{background:#214283}.CodeMirror-hints.darcula{background-color:#3b3e3f!important;color:#9c9e9e;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.CodeMirror-hints.darcula .CodeMirror-hint-active{background-color:#494d4e!important;color:#9c9e9e!important}
|
||||
1
plugins/code-snippets/dist/editor-themes/dracula.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/dracula.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-dracula .CodeMirror-gutters,.cm-s-dracula.CodeMirror{background-color:#282a36!important;border:none;color:#f8f8f2!important}.cm-s-dracula .CodeMirror-gutters{color:#282a36}.cm-s-dracula .CodeMirror-cursor{border-left:thin solid #f8f8f0}.cm-s-dracula .CodeMirror-linenumber{color:#6d8a88}.cm-s-dracula .CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-line::selection,.cm-s-dracula .CodeMirror-line>span::selection,.cm-s-dracula .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-line::-moz-selection,.cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-dracula span.cm-comment{color:#6272a4}.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2{color:#f1fa8c}.cm-s-dracula span.cm-number{color:#bd93f9}.cm-s-dracula span.cm-variable{color:#50fa7b}.cm-s-dracula span.cm-variable-2{color:#fff}.cm-s-dracula span.cm-def{color:#50fa7b}.cm-s-dracula span.cm-keyword,.cm-s-dracula span.cm-operator{color:#ff79c6}.cm-s-dracula span.cm-atom{color:#bd93f9}.cm-s-dracula span.cm-meta{color:#f8f8f2}.cm-s-dracula span.cm-tag{color:#ff79c6}.cm-s-dracula span.cm-attribute,.cm-s-dracula span.cm-qualifier{color:#50fa7b}.cm-s-dracula span.cm-property{color:#66d9ef}.cm-s-dracula span.cm-builtin{color:#50fa7b}.cm-s-dracula span.cm-type,.cm-s-dracula span.cm-variable-3{color:#ffb86c}.cm-s-dracula .CodeMirror-activeline-background{background:hsla(0,0%,100%,.1)}.cm-s-dracula .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/duotone-dark.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/duotone-dark.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-duotone-dark.CodeMirror{background:#2a2734;color:#6c6783}.cm-s-duotone-dark div.CodeMirror-selected{background:#545167!important}.cm-s-duotone-dark .CodeMirror-gutters{background:#2a2734;border-right:0}.cm-s-duotone-dark .CodeMirror-linenumber{color:#545167}.cm-s-duotone-dark .CodeMirror-cursor{border-left:1px solid #ffad5c;border-right:.5em solid #ffad5c;opacity:.5}.cm-s-duotone-dark .CodeMirror-activeline-background{background:#363342;opacity:.5}.cm-s-duotone-dark .cm-fat-cursor .CodeMirror-cursor{background:#ffad5c;opacity:.5}.cm-s-duotone-dark span.cm-atom,.cm-s-duotone-dark span.cm-attribute,.cm-s-duotone-dark span.cm-hr,.cm-s-duotone-dark span.cm-keyword,.cm-s-duotone-dark span.cm-link,.cm-s-duotone-dark span.cm-number,.cm-s-duotone-dark span.cm-quote,.cm-s-duotone-dark span.cm-variable{color:#fc9}.cm-s-duotone-dark span.cm-property{color:#9a86fd}.cm-s-duotone-dark span.cm-negative,.cm-s-duotone-dark span.cm-punctuation,.cm-s-duotone-dark span.cm-unit{color:#e09142}.cm-s-duotone-dark span.cm-string{color:#ffb870}.cm-s-duotone-dark span.cm-operator{color:#ffad5c}.cm-s-duotone-dark span.cm-positive{color:#6a51e6}.cm-s-duotone-dark span.cm-string-2,.cm-s-duotone-dark span.cm-type,.cm-s-duotone-dark span.cm-url,.cm-s-duotone-dark span.cm-variable-2,.cm-s-duotone-dark span.cm-variable-3{color:#7a63ee}.cm-s-duotone-dark span.cm-builtin,.cm-s-duotone-dark span.cm-def,.cm-s-duotone-dark span.cm-em,.cm-s-duotone-dark span.cm-header,.cm-s-duotone-dark span.cm-qualifier,.cm-s-duotone-dark span.cm-tag{color:#eeebff}.cm-s-duotone-dark span.cm-bracket,.cm-s-duotone-dark span.cm-comment{color:#6c6783}.cm-s-duotone-dark span.cm-error,.cm-s-duotone-dark span.cm-invalidchar{color:red}.cm-s-duotone-dark span.cm-header{font-weight:400}.cm-s-duotone-dark .CodeMirror-matchingbracket{color:#eeebff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/duotone-light.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/duotone-light.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-duotone-light.CodeMirror{background:#faf8f5;color:#b29762}.cm-s-duotone-light div.CodeMirror-selected{background:#e3dcce!important}.cm-s-duotone-light .CodeMirror-gutters{background:#faf8f5;border-right:0}.cm-s-duotone-light .CodeMirror-linenumber{color:#cdc4b1}.cm-s-duotone-light .CodeMirror-cursor{border-left:1px solid #93abdc;border-right:.5em solid #93abdc;opacity:.5}.cm-s-duotone-light .CodeMirror-activeline-background{background:#e3dcce;opacity:.5}.cm-s-duotone-light .cm-fat-cursor .CodeMirror-cursor{background:#93abdc;opacity:.5}.cm-s-duotone-light span.cm-atom,.cm-s-duotone-light span.cm-attribute,.cm-s-duotone-light span.cm-keyword,.cm-s-duotone-light span.cm-number,.cm-s-duotone-light span.cm-quote,.cm-s-duotone-light span.cm-variable,.cm-s-duotone-light-light span.cm-hr,.cm-s-duotone-light-light span.cm-link{color:#063289}.cm-s-duotone-light span.cm-property{color:#b29762}.cm-s-duotone-light span.cm-negative,.cm-s-duotone-light span.cm-punctuation,.cm-s-duotone-light span.cm-unit{color:#063289}.cm-s-duotone-light span.cm-operator,.cm-s-duotone-light span.cm-string{color:#1659df}.cm-s-duotone-light span.cm-positive,.cm-s-duotone-light span.cm-string-2,.cm-s-duotone-light span.cm-type,.cm-s-duotone-light span.cm-url,.cm-s-duotone-light span.cm-variable-2,.cm-s-duotone-light span.cm-variable-3{color:#896724}.cm-s-duotone-light span.cm-builtin,.cm-s-duotone-light span.cm-def,.cm-s-duotone-light span.cm-em,.cm-s-duotone-light span.cm-header,.cm-s-duotone-light span.cm-qualifier,.cm-s-duotone-light span.cm-tag{color:#2d2006}.cm-s-duotone-light span.cm-bracket,.cm-s-duotone-light span.cm-comment{color:#b6ad9a}.cm-s-duotone-light span.cm-error,.cm-s-duotone-light span.cm-invalidchar{color:red}.cm-s-duotone-light span.cm-header{font-weight:400}.cm-s-duotone-light .CodeMirror-matchingbracket{color:#faf8f5!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/eclipse.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/eclipse.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-eclipse span.cm-meta{color:#ff1717}.cm-s-eclipse span.cm-keyword{color:#7f0055;font-weight:700;line-height:1em}.cm-s-eclipse span.cm-atom{color:#219}.cm-s-eclipse span.cm-number{color:#164}.cm-s-eclipse span.cm-def{color:#00f}.cm-s-eclipse span.cm-variable{color:#000}.cm-s-eclipse span.cm-type,.cm-s-eclipse span.cm-variable-2,.cm-s-eclipse span.cm-variable-3{color:#0000c0}.cm-s-eclipse span.cm-operator,.cm-s-eclipse span.cm-property{color:#000}.cm-s-eclipse span.cm-comment{color:#3f7f5f}.cm-s-eclipse span.cm-string{color:#2a00ff}.cm-s-eclipse span.cm-string-2{color:#f50}.cm-s-eclipse span.cm-qualifier{color:#555}.cm-s-eclipse span.cm-builtin{color:#30a}.cm-s-eclipse span.cm-bracket{color:#cc7}.cm-s-eclipse span.cm-tag{color:#170}.cm-s-eclipse span.cm-attribute{color:#00c}.cm-s-eclipse span.cm-link{color:#219}.cm-s-eclipse span.cm-error{color:red}.cm-s-eclipse .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-eclipse .CodeMirror-matchingbracket{color:#000!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/elegant.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/elegant.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-elegant span.cm-atom,.cm-s-elegant span.cm-number,.cm-s-elegant span.cm-string{color:#762}.cm-s-elegant span.cm-comment{color:#262;font-style:italic;line-height:1em}.cm-s-elegant span.cm-meta{color:#555;font-style:italic;line-height:1em}.cm-s-elegant span.cm-variable{color:#000}.cm-s-elegant span.cm-variable-2{color:#b11}.cm-s-elegant span.cm-qualifier{color:#555}.cm-s-elegant span.cm-keyword{color:#730}.cm-s-elegant span.cm-builtin{color:#30a}.cm-s-elegant span.cm-link{color:#762}.cm-s-elegant span.cm-error{background-color:#fdd}.cm-s-elegant .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-elegant .CodeMirror-matchingbracket{color:#000!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/erlang-dark.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/erlang-dark.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-erlang-dark.CodeMirror{background:#002240;color:#fff}.cm-s-erlang-dark div.CodeMirror-selected{background:#b36539}.cm-s-erlang-dark .CodeMirror-line::selection,.cm-s-erlang-dark .CodeMirror-line>span::selection,.cm-s-erlang-dark .CodeMirror-line>span>span::selection{background:rgba(179,101,57,.99)}.cm-s-erlang-dark .CodeMirror-line::-moz-selection,.cm-s-erlang-dark .CodeMirror-line>span::-moz-selection,.cm-s-erlang-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(179,101,57,.99)}.cm-s-erlang-dark .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-erlang-dark .CodeMirror-guttermarker{color:#fff}.cm-s-erlang-dark .CodeMirror-guttermarker-subtle,.cm-s-erlang-dark .CodeMirror-linenumber{color:#d0d0d0}.cm-s-erlang-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-erlang-dark span.cm-quote{color:#ccc}.cm-s-erlang-dark span.cm-atom{color:#f133f1}.cm-s-erlang-dark span.cm-attribute{color:#ff80e1}.cm-s-erlang-dark span.cm-bracket{color:#ff9d00}.cm-s-erlang-dark span.cm-builtin{color:#eaa}.cm-s-erlang-dark span.cm-comment{color:#77f}.cm-s-erlang-dark span.cm-def{color:#e7a}.cm-s-erlang-dark span.cm-keyword{color:#ffee80}.cm-s-erlang-dark span.cm-meta{color:#50fefe}.cm-s-erlang-dark span.cm-number{color:#ffd0d0}.cm-s-erlang-dark span.cm-operator{color:#d55}.cm-s-erlang-dark span.cm-property,.cm-s-erlang-dark span.cm-qualifier{color:#ccc}.cm-s-erlang-dark span.cm-special{color:#fbb}.cm-s-erlang-dark span.cm-string{color:#3ad900}.cm-s-erlang-dark span.cm-string-2{color:#ccc}.cm-s-erlang-dark span.cm-tag{color:#9effff}.cm-s-erlang-dark span.cm-variable{color:#50fe50}.cm-s-erlang-dark span.cm-variable-2{color:#e0e}.cm-s-erlang-dark span.cm-type,.cm-s-erlang-dark span.cm-variable-3{color:#ccc}.cm-s-erlang-dark span.cm-error{color:#9d1e15}.cm-s-erlang-dark .CodeMirror-activeline-background{background:#013461}.cm-s-erlang-dark .CodeMirror-matchingbracket{color:#fff!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/gruvbox-dark.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/gruvbox-dark.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-gruvbox-dark .CodeMirror-gutters,.cm-s-gruvbox-dark.CodeMirror{background-color:#282828;color:#bdae93}.cm-s-gruvbox-dark .CodeMirror-gutters{background:#282828;border-right:0}.cm-s-gruvbox-dark .CodeMirror-linenumber{color:#7c6f64}.cm-s-gruvbox-dark .CodeMirror-cursor{border-left:1px solid #ebdbb2}.cm-s-gruvbox-dark .cm-animate-fat-cursor,.cm-s-gruvbox-dark.cm-fat-cursor .CodeMirror-cursor{background-color:#8e8d8875!important}.cm-s-gruvbox-dark div.CodeMirror-selected{background:#928374}.cm-s-gruvbox-dark span.cm-meta{color:#83a598}.cm-s-gruvbox-dark span.cm-comment{color:#928374}.cm-s-gruvbox-dark span.cm-number,span.cm-atom{color:#d3869b}.cm-s-gruvbox-dark span.cm-keyword{color:#f84934}.cm-s-gruvbox-dark span.cm-variable,.cm-s-gruvbox-dark span.cm-variable-2{color:#ebdbb2}.cm-s-gruvbox-dark span.cm-type,.cm-s-gruvbox-dark span.cm-variable-3{color:#fabd2f}.cm-s-gruvbox-dark span.cm-callee,.cm-s-gruvbox-dark span.cm-def,.cm-s-gruvbox-dark span.cm-operator,.cm-s-gruvbox-dark span.cm-property{color:#ebdbb2}.cm-s-gruvbox-dark span.cm-string{color:#b8bb26}.cm-s-gruvbox-dark span.cm-attribute,.cm-s-gruvbox-dark span.cm-qualifier,.cm-s-gruvbox-dark span.cm-string-2{color:#8ec07c}.cm-s-gruvbox-dark .CodeMirror-activeline-background{background:#3c3836}.cm-s-gruvbox-dark .CodeMirror-matchingbracket{background:#928374;color:#282828!important}.cm-s-gruvbox-dark span.cm-builtin,.cm-s-gruvbox-dark span.cm-tag{color:#fe8019}
|
||||
1
plugins/code-snippets/dist/editor-themes/hopscotch.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/hopscotch.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-hopscotch.CodeMirror{background:#322931;color:#d5d3d5}.cm-s-hopscotch div.CodeMirror-selected{background:#433b42!important}.cm-s-hopscotch .CodeMirror-gutters{background:#322931;border-right:0}.cm-s-hopscotch .CodeMirror-linenumber{color:#797379}.cm-s-hopscotch .CodeMirror-cursor{border-left:1px solid #989498!important}.cm-s-hopscotch span.cm-comment{color:#b33508}.cm-s-hopscotch span.cm-atom,.cm-s-hopscotch span.cm-number{color:#c85e7c}.cm-s-hopscotch span.cm-attribute,.cm-s-hopscotch span.cm-property{color:#8fc13e}.cm-s-hopscotch span.cm-keyword{color:#dd464c}.cm-s-hopscotch span.cm-string{color:#fdcc59}.cm-s-hopscotch span.cm-variable{color:#8fc13e}.cm-s-hopscotch span.cm-variable-2{color:#1290bf}.cm-s-hopscotch span.cm-def{color:#fd8b19}.cm-s-hopscotch span.cm-error{background:#dd464c;color:#989498}.cm-s-hopscotch span.cm-bracket{color:#d5d3d5}.cm-s-hopscotch span.cm-tag{color:#dd464c}.cm-s-hopscotch span.cm-link{color:#c85e7c}.cm-s-hopscotch .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}.cm-s-hopscotch .CodeMirror-activeline-background{background:#302020}
|
||||
1
plugins/code-snippets/dist/editor-themes/icecoder.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/icecoder.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-icecoder{background:#1d1d1b;color:#666}.cm-s-icecoder span.cm-keyword{color:#eee;font-weight:700}.cm-s-icecoder span.cm-atom{color:#e1c76e}.cm-s-icecoder span.cm-number{color:#6cb5d9}.cm-s-icecoder span.cm-def{color:#b9ca4a}.cm-s-icecoder span.cm-variable{color:#6cb5d9}.cm-s-icecoder span.cm-variable-2{color:#cc1e5c}.cm-s-icecoder span.cm-type,.cm-s-icecoder span.cm-variable-3{color:#f9602c}.cm-s-icecoder span.cm-property{color:#eee}.cm-s-icecoder span.cm-operator{color:#9179bb}.cm-s-icecoder span.cm-comment{color:#97a3aa}.cm-s-icecoder span.cm-string{color:#b9ca4a}.cm-s-icecoder span.cm-string-2{color:#6cb5d9}.cm-s-icecoder span.cm-meta,.cm-s-icecoder span.cm-qualifier{color:#555}.cm-s-icecoder span.cm-builtin{color:#214e7b}.cm-s-icecoder span.cm-bracket{color:#cc7}.cm-s-icecoder span.cm-tag{color:#e8e8e8}.cm-s-icecoder span.cm-attribute{color:#099}.cm-s-icecoder span.cm-header{color:#6a0d6a}.cm-s-icecoder span.cm-quote{color:#186718}.cm-s-icecoder span.cm-hr{color:#888}.cm-s-icecoder span.cm-link{color:#e1c76e}.cm-s-icecoder span.cm-error{color:#d00}.cm-s-icecoder .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-icecoder div.CodeMirror-selected{background:#037;color:#fff}.cm-s-icecoder .CodeMirror-gutters{background:#1d1d1b;border-right:0;min-width:41px}.cm-s-icecoder .CodeMirror-linenumber{color:#555;cursor:default}.cm-s-icecoder .CodeMirror-matchingbracket{background:#555!important;color:#fff!important}.cm-s-icecoder .CodeMirror-activeline-background{background:#000}
|
||||
1
plugins/code-snippets/dist/editor-themes/idea.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/idea.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-idea span.cm-meta{color:olive}.cm-s-idea span.cm-number{color:#00f}.cm-s-idea span.cm-keyword{color:navy;font-weight:700;line-height:1em}.cm-s-idea span.cm-atom{color:navy;font-weight:700}.cm-s-idea span.cm-def,.cm-s-idea span.cm-operator,.cm-s-idea span.cm-property,.cm-s-idea span.cm-type,.cm-s-idea span.cm-variable,.cm-s-idea span.cm-variable-2,.cm-s-idea span.cm-variable-3{color:#000}.cm-s-idea span.cm-comment{color:grey}.cm-s-idea span.cm-string,.cm-s-idea span.cm-string-2{color:green}.cm-s-idea span.cm-qualifier{color:#555}.cm-s-idea span.cm-error{color:red}.cm-s-idea span.cm-attribute{color:#00f}.cm-s-idea span.cm-tag{color:navy}.cm-s-idea span.cm-link{color:#00f}.cm-s-idea .CodeMirror-activeline-background{background:#fffae3}.cm-s-idea span.cm-builtin{color:#30a}.cm-s-idea span.cm-bracket{color:#cc7}.cm-s-idea{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif}.cm-s-idea .CodeMirror-matchingbracket{color:#000!important;outline:1px solid grey}.CodeMirror-hints.idea{background-color:#ebf3fd!important;color:#616569;font-family:Menlo,Monaco,Consolas,Courier New,monospace}.CodeMirror-hints.idea .CodeMirror-hint-active{background-color:#a2b8c9!important;color:#5c6065!important}
|
||||
1
plugins/code-snippets/dist/editor-themes/isotope.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/isotope.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-isotope.CodeMirror{background:#000;color:#e0e0e0}.cm-s-isotope div.CodeMirror-selected{background:#404040!important}.cm-s-isotope .CodeMirror-gutters{background:#000;border-right:0}.cm-s-isotope .CodeMirror-linenumber{color:grey}.cm-s-isotope .CodeMirror-cursor{border-left:1px solid silver!important}.cm-s-isotope span.cm-comment{color:#30f}.cm-s-isotope span.cm-atom,.cm-s-isotope span.cm-number{color:#c0f}.cm-s-isotope span.cm-attribute,.cm-s-isotope span.cm-property{color:#3f0}.cm-s-isotope span.cm-keyword{color:red}.cm-s-isotope span.cm-string{color:#f09}.cm-s-isotope span.cm-variable{color:#3f0}.cm-s-isotope span.cm-variable-2{color:#06f}.cm-s-isotope span.cm-def{color:#f90}.cm-s-isotope span.cm-error{background:red;color:silver}.cm-s-isotope span.cm-bracket{color:#e0e0e0}.cm-s-isotope span.cm-tag{color:red}.cm-s-isotope span.cm-link{color:#c0f}.cm-s-isotope .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}.cm-s-isotope .CodeMirror-activeline-background{background:#202020}
|
||||
1
plugins/code-snippets/dist/editor-themes/juejin.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/juejin.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-juejin.CodeMirror{background:#f8f9fa}.cm-s-juejin .cm-def,.cm-s-juejin .cm-header{color:#1ba2f0}.cm-s-juejin .cm-comment{color:#009e9d}.cm-s-juejin .cm-attribute,.cm-s-juejin .cm-link,.cm-s-juejin .cm-quote,.cm-s-juejin .cm-strong{color:#fd7741}.cm-s-juejin .cm-builtin,.cm-s-juejin .cm-keyword,.cm-s-juejin .cm-url{color:#bb51b8}.cm-s-juejin .cm-hr{color:#909090}.cm-s-juejin .cm-tag{color:#107000}.cm-s-juejin .cm-variable-2{color:#0050a0}
|
||||
1
plugins/code-snippets/dist/editor-themes/lesser-dark.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/lesser-dark.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-lesser-dark{line-height:1.3em}.cm-s-lesser-dark.CodeMirror{background:#262626;color:#ebefe7;text-shadow:0 -1px 1px #262626}.cm-s-lesser-dark div.CodeMirror-selected{background:#45443b}.cm-s-lesser-dark .CodeMirror-line::selection,.cm-s-lesser-dark .CodeMirror-line>span::selection,.cm-s-lesser-dark .CodeMirror-line>span>span::selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-line::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(69,68,59,.99)}.cm-s-lesser-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-lesser-dark pre{padding:0 8px}.cm-s-lesser-dark.CodeMirror span.CodeMirror-matchingbracket{color:#7efc7e}.cm-s-lesser-dark .CodeMirror-gutters{background:#262626;border-right:1px solid #aaa}.cm-s-lesser-dark .CodeMirror-guttermarker{color:#599eff}.cm-s-lesser-dark .CodeMirror-guttermarker-subtle,.cm-s-lesser-dark .CodeMirror-linenumber{color:#777}.cm-s-lesser-dark span.cm-header{color:#a0a}.cm-s-lesser-dark span.cm-quote{color:#090}.cm-s-lesser-dark span.cm-keyword{color:#599eff}.cm-s-lesser-dark span.cm-atom{color:#c2b470}.cm-s-lesser-dark span.cm-number{color:#b35e4d}.cm-s-lesser-dark span.cm-def{color:#fff}.cm-s-lesser-dark span.cm-variable{color:#d9bf8c}.cm-s-lesser-dark span.cm-variable-2{color:#669199}.cm-s-lesser-dark span.cm-type,.cm-s-lesser-dark span.cm-variable-3{color:#fff}.cm-s-lesser-dark span.cm-operator,.cm-s-lesser-dark span.cm-property{color:#92a75c}.cm-s-lesser-dark span.cm-comment{color:#666}.cm-s-lesser-dark span.cm-string{color:#bcd279}.cm-s-lesser-dark span.cm-string-2{color:#f50}.cm-s-lesser-dark span.cm-meta{color:#738c73}.cm-s-lesser-dark span.cm-qualifier{color:#555}.cm-s-lesser-dark span.cm-builtin{color:#ff9e59}.cm-s-lesser-dark span.cm-bracket{color:#ebefe7}.cm-s-lesser-dark span.cm-tag{color:#669199}.cm-s-lesser-dark span.cm-attribute{color:#81a4d5}.cm-s-lesser-dark span.cm-hr{color:#999}.cm-s-lesser-dark span.cm-link{color:#7070e6}.cm-s-lesser-dark span.cm-error{color:#9d1e15}.cm-s-lesser-dark .CodeMirror-activeline-background{background:#3c3a3a}.cm-s-lesser-dark .CodeMirror-matchingbracket{color:#fff!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/liquibyte.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/liquibyte.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-liquibyte.CodeMirror{background-color:#000;color:#fff;font-size:1em;line-height:1.2em}.cm-s-liquibyte .CodeMirror-focused .cm-matchhighlight{text-decoration:underline;text-decoration-color:#0f0;text-decoration-style:wavy}.cm-s-liquibyte .cm-trailingspace{text-decoration:line-through;text-decoration-color:red;text-decoration-style:dotted}.cm-s-liquibyte .cm-tab{text-decoration:line-through;text-decoration-color:#404040;text-decoration-style:dotted}.cm-s-liquibyte .CodeMirror-gutters{background-color:#262626;border-right:1px solid #505050;padding-right:.8em}.cm-s-liquibyte .CodeMirror-gutter-elt div{font-size:1.2em}.cm-s-liquibyte .CodeMirror-linenumber{color:#606060;padding-left:0}.cm-s-liquibyte .CodeMirror-cursor{border-left:1px solid #eee}.cm-s-liquibyte span.cm-comment{color:green}.cm-s-liquibyte span.cm-def{color:#ffaf40;font-weight:700}.cm-s-liquibyte span.cm-keyword{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-builtin{color:#ffaf40;font-weight:700}.cm-s-liquibyte span.cm-variable{color:#5967ff;font-weight:700}.cm-s-liquibyte span.cm-string{color:#ff8000}.cm-s-liquibyte span.cm-number{color:#0f0;font-weight:700}.cm-s-liquibyte span.cm-atom{color:#bf3030;font-weight:700}.cm-s-liquibyte span.cm-variable-2{color:#007f7f;font-weight:700}.cm-s-liquibyte span.cm-type,.cm-s-liquibyte span.cm-variable-3{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-property{color:#999;font-weight:700}.cm-s-liquibyte span.cm-operator{color:#fff}.cm-s-liquibyte span.cm-meta{color:#0f0}.cm-s-liquibyte span.cm-qualifier{color:#fff700;font-weight:700}.cm-s-liquibyte span.cm-bracket{color:#cc7}.cm-s-liquibyte span.cm-tag{color:#ff0;font-weight:700}.cm-s-liquibyte span.cm-attribute{color:#c080ff;font-weight:700}.cm-s-liquibyte span.cm-error{color:red}.cm-s-liquibyte div.CodeMirror-selected{background-color:rgba(255,0,0,.25)}.cm-s-liquibyte span.cm-compilation{background-color:hsla(0,0%,100%,.12)}.cm-s-liquibyte .CodeMirror-activeline-background{background-color:rgba(0,255,0,.15)}.cm-s-liquibyte .CodeMirror span.CodeMirror-matchingbracket{color:#0f0;font-weight:700}.cm-s-liquibyte .CodeMirror span.CodeMirror-nonmatchingbracket{color:red;font-weight:700}.CodeMirror-matchingtag{background-color:rgba(150,255,0,.3)}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div:hover,.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div:hover{background-color:rgba(80,80,80,.7)}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div,.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div{background-color:rgba(80,80,80,.3);border:1px solid #404040;border-radius:5px}.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div{border-bottom:1px solid #404040;border-top:1px solid #404040}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div{border-left:1px solid #404040;border-right:1px solid #404040}.cm-s-liquibyte div.CodeMirror-simplescroll-vertical{background-color:#262626}.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal{background-color:#262626;border-top:1px solid #404040}.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,div.CodeMirror-overlayscroll-vertical div{background-color:#404040;border-radius:5px}.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,.cm-s-liquibyte div.CodeMirror-overlayscroll-vertical div{border:1px solid #404040}
|
||||
1
plugins/code-snippets/dist/editor-themes/lucario.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/lucario.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-lucario .CodeMirror-gutters,.cm-s-lucario.CodeMirror{background-color:#2b3e50!important;border:none;color:#f8f8f2!important}.cm-s-lucario .CodeMirror-gutters{color:#2b3e50}.cm-s-lucario .CodeMirror-cursor{border-left:thin solid #e6c845}.cm-s-lucario .CodeMirror-linenumber{color:#f8f8f2}.cm-s-lucario .CodeMirror-selected{background:#243443}.cm-s-lucario .CodeMirror-line::selection,.cm-s-lucario .CodeMirror-line>span::selection,.cm-s-lucario .CodeMirror-line>span>span::selection{background:#243443}.cm-s-lucario .CodeMirror-line::-moz-selection,.cm-s-lucario .CodeMirror-line>span::-moz-selection,.cm-s-lucario .CodeMirror-line>span>span::-moz-selection{background:#243443}.cm-s-lucario span.cm-comment{color:#5c98cd}.cm-s-lucario span.cm-string,.cm-s-lucario span.cm-string-2{color:#e6db74}.cm-s-lucario span.cm-number{color:#ca94ff}.cm-s-lucario span.cm-variable,.cm-s-lucario span.cm-variable-2{color:#f8f8f2}.cm-s-lucario span.cm-def{color:#72c05d}.cm-s-lucario span.cm-operator{color:#66d9ef}.cm-s-lucario span.cm-keyword{color:#ff6541}.cm-s-lucario span.cm-atom{color:#bd93f9}.cm-s-lucario span.cm-meta{color:#f8f8f2}.cm-s-lucario span.cm-tag{color:#ff6541}.cm-s-lucario span.cm-attribute{color:#66d9ef}.cm-s-lucario span.cm-qualifier{color:#72c05d}.cm-s-lucario span.cm-property{color:#f8f8f2}.cm-s-lucario span.cm-builtin{color:#72c05d}.cm-s-lucario span.cm-type,.cm-s-lucario span.cm-variable-3{color:#ffb86c}.cm-s-lucario .CodeMirror-activeline-background{background:#243443}.cm-s-lucario .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/material-darker.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/material-darker.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-material-darker.CodeMirror{background-color:#212121;color:#eff}.cm-s-material-darker .CodeMirror-gutters{background:#212121;border:none;color:#545454}.cm-s-material-darker .CodeMirror-guttermarker,.cm-s-material-darker .CodeMirror-guttermarker-subtle,.cm-s-material-darker .CodeMirror-linenumber{color:#545454}.cm-s-material-darker .CodeMirror-cursor{border-left:1px solid #fc0}.cm-s-material-darker div.CodeMirror-selected,.cm-s-material-darker.CodeMirror-focused div.CodeMirror-selected{background:rgba(97,97,97,.2)}.cm-s-material-darker .CodeMirror-line::selection,.cm-s-material-darker .CodeMirror-line>span::selection,.cm-s-material-darker .CodeMirror-line>span>span::selection{background:rgba(128,203,196,.2)}.cm-s-material-darker .CodeMirror-line::-moz-selection,.cm-s-material-darker .CodeMirror-line>span::-moz-selection,.cm-s-material-darker .CodeMirror-line>span>span::-moz-selection{background:rgba(128,203,196,.2)}.cm-s-material-darker .CodeMirror-activeline-background{background:rgba(0,0,0,.5)}.cm-s-material-darker .cm-keyword{color:#c792ea}.cm-s-material-darker .cm-operator{color:#89ddff}.cm-s-material-darker .cm-variable-2{color:#eff}.cm-s-material-darker .cm-type,.cm-s-material-darker .cm-variable-3{color:#f07178}.cm-s-material-darker .cm-builtin{color:#ffcb6b}.cm-s-material-darker .cm-atom{color:#f78c6c}.cm-s-material-darker .cm-number{color:#ff5370}.cm-s-material-darker .cm-def{color:#82aaff}.cm-s-material-darker .cm-string{color:#c3e88d}.cm-s-material-darker .cm-string-2{color:#f07178}.cm-s-material-darker .cm-comment{color:#545454}.cm-s-material-darker .cm-variable{color:#f07178}.cm-s-material-darker .cm-tag{color:#ff5370}.cm-s-material-darker .cm-meta{color:#ffcb6b}.cm-s-material-darker .cm-attribute,.cm-s-material-darker .cm-property{color:#c792ea}.cm-s-material-darker .cm-qualifier,.cm-s-material-darker .cm-type,.cm-s-material-darker .cm-variable-3{color:#decb6b}.cm-s-material-darker .cm-error{background-color:#ff5370;color:#fff}.cm-s-material-darker .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/material-ocean.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/material-ocean.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-material-ocean.CodeMirror{background-color:#0f111a;color:#8f93a2}.cm-s-material-ocean .CodeMirror-gutters{background:#0f111a;border:none;color:#464b5d}.cm-s-material-ocean .CodeMirror-guttermarker,.cm-s-material-ocean .CodeMirror-guttermarker-subtle,.cm-s-material-ocean .CodeMirror-linenumber{color:#464b5d}.cm-s-material-ocean .CodeMirror-cursor{border-left:1px solid #fc0}.cm-s-material-ocean .cm-animate-fat-cursor,.cm-s-material-ocean.cm-fat-cursor .CodeMirror-cursor{background-color:#a2a8a175!important}.cm-s-material-ocean div.CodeMirror-selected,.cm-s-material-ocean.CodeMirror-focused div.CodeMirror-selected{background:rgba(113,124,180,.2)}.cm-s-material-ocean .CodeMirror-line::selection,.cm-s-material-ocean .CodeMirror-line>span::selection,.cm-s-material-ocean .CodeMirror-line>span>span::selection{background:rgba(128,203,196,.2)}.cm-s-material-ocean .CodeMirror-line::-moz-selection,.cm-s-material-ocean .CodeMirror-line>span::-moz-selection,.cm-s-material-ocean .CodeMirror-line>span>span::-moz-selection{background:rgba(128,203,196,.2)}.cm-s-material-ocean .CodeMirror-activeline-background{background:rgba(0,0,0,.5)}.cm-s-material-ocean .cm-keyword{color:#c792ea}.cm-s-material-ocean .cm-operator{color:#89ddff}.cm-s-material-ocean .cm-variable-2{color:#eff}.cm-s-material-ocean .cm-type,.cm-s-material-ocean .cm-variable-3{color:#f07178}.cm-s-material-ocean .cm-builtin{color:#ffcb6b}.cm-s-material-ocean .cm-atom{color:#f78c6c}.cm-s-material-ocean .cm-number{color:#ff5370}.cm-s-material-ocean .cm-def{color:#82aaff}.cm-s-material-ocean .cm-string{color:#c3e88d}.cm-s-material-ocean .cm-string-2{color:#f07178}.cm-s-material-ocean .cm-comment{color:#464b5d}.cm-s-material-ocean .cm-variable{color:#f07178}.cm-s-material-ocean .cm-tag{color:#ff5370}.cm-s-material-ocean .cm-meta{color:#ffcb6b}.cm-s-material-ocean .cm-attribute,.cm-s-material-ocean .cm-property{color:#c792ea}.cm-s-material-ocean .cm-qualifier,.cm-s-material-ocean .cm-type,.cm-s-material-ocean .cm-variable-3{color:#decb6b}.cm-s-material-ocean .cm-error{background-color:#ff5370;color:#fff}.cm-s-material-ocean .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/material-palenight.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/material-palenight.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-material-palenight.CodeMirror{background-color:#292d3e;color:#a6accd}.cm-s-material-palenight .CodeMirror-gutters{background:#292d3e;border:none;color:#676e95}.cm-s-material-palenight .CodeMirror-guttermarker,.cm-s-material-palenight .CodeMirror-guttermarker-subtle,.cm-s-material-palenight .CodeMirror-linenumber{color:#676e95}.cm-s-material-palenight .CodeMirror-cursor{border-left:1px solid #fc0}.cm-s-material-palenight .cm-animate-fat-cursor,.cm-s-material-palenight.cm-fat-cursor .CodeMirror-cursor{background-color:#607c8b80!important}.cm-s-material-palenight div.CodeMirror-selected,.cm-s-material-palenight.CodeMirror-focused div.CodeMirror-selected{background:rgba(113,124,180,.2)}.cm-s-material-palenight .CodeMirror-line::selection,.cm-s-material-palenight .CodeMirror-line>span::selection,.cm-s-material-palenight .CodeMirror-line>span>span::selection{background:rgba(128,203,196,.2)}.cm-s-material-palenight .CodeMirror-line::-moz-selection,.cm-s-material-palenight .CodeMirror-line>span::-moz-selection,.cm-s-material-palenight .CodeMirror-line>span>span::-moz-selection{background:rgba(128,203,196,.2)}.cm-s-material-palenight .CodeMirror-activeline-background{background:rgba(0,0,0,.5)}.cm-s-material-palenight .cm-keyword{color:#c792ea}.cm-s-material-palenight .cm-operator{color:#89ddff}.cm-s-material-palenight .cm-variable-2{color:#eff}.cm-s-material-palenight .cm-type,.cm-s-material-palenight .cm-variable-3{color:#f07178}.cm-s-material-palenight .cm-builtin{color:#ffcb6b}.cm-s-material-palenight .cm-atom{color:#f78c6c}.cm-s-material-palenight .cm-number{color:#ff5370}.cm-s-material-palenight .cm-def{color:#82aaff}.cm-s-material-palenight .cm-string{color:#c3e88d}.cm-s-material-palenight .cm-string-2{color:#f07178}.cm-s-material-palenight .cm-comment{color:#676e95}.cm-s-material-palenight .cm-variable{color:#f07178}.cm-s-material-palenight .cm-tag{color:#ff5370}.cm-s-material-palenight .cm-meta{color:#ffcb6b}.cm-s-material-palenight .cm-attribute,.cm-s-material-palenight .cm-property{color:#c792ea}.cm-s-material-palenight .cm-qualifier,.cm-s-material-palenight .cm-type,.cm-s-material-palenight .cm-variable-3{color:#decb6b}.cm-s-material-palenight .cm-error{background-color:#ff5370;color:#fff}.cm-s-material-palenight .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/material.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/material.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-material.CodeMirror{background-color:#263238;color:#eff}.cm-s-material .CodeMirror-gutters{background:#263238;border:none;color:#546e7a}.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber{color:#546e7a}.cm-s-material .CodeMirror-cursor{border-left:1px solid #fc0}.cm-s-material .cm-animate-fat-cursor,.cm-s-material.cm-fat-cursor .CodeMirror-cursor{background-color:#5d6d5c80!important}.cm-s-material div.CodeMirror-selected,.cm-s-material.CodeMirror-focused div.CodeMirror-selected{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-activeline-background{background:rgba(0,0,0,.5)}.cm-s-material .cm-keyword{color:#c792ea}.cm-s-material .cm-operator{color:#89ddff}.cm-s-material .cm-variable-2{color:#eff}.cm-s-material .cm-type,.cm-s-material .cm-variable-3{color:#f07178}.cm-s-material .cm-builtin{color:#ffcb6b}.cm-s-material .cm-atom{color:#f78c6c}.cm-s-material .cm-number{color:#ff5370}.cm-s-material .cm-def{color:#82aaff}.cm-s-material .cm-string{color:#c3e88d}.cm-s-material .cm-string-2{color:#f07178}.cm-s-material .cm-comment{color:#546e7a}.cm-s-material .cm-variable{color:#f07178}.cm-s-material .cm-tag{color:#ff5370}.cm-s-material .cm-meta{color:#ffcb6b}.cm-s-material .cm-attribute,.cm-s-material .cm-property{color:#c792ea}.cm-s-material .cm-qualifier,.cm-s-material .cm-type,.cm-s-material .cm-variable-3{color:#decb6b}.cm-s-material .cm-error{background-color:#ff5370;color:#fff}.cm-s-material .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/mbo.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/mbo.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-mbo.CodeMirror{background:#2c2c2c;color:#ffffec}.cm-s-mbo div.CodeMirror-selected{background:#716c62}.cm-s-mbo .CodeMirror-line::selection,.cm-s-mbo .CodeMirror-line>span::selection,.cm-s-mbo .CodeMirror-line>span>span::selection{background:hsla(40,7%,41%,.99)}.cm-s-mbo .CodeMirror-line::-moz-selection,.cm-s-mbo .CodeMirror-line>span::-moz-selection,.cm-s-mbo .CodeMirror-line>span>span::-moz-selection{background:hsla(40,7%,41%,.99)}.cm-s-mbo .CodeMirror-gutters{background:#4e4e4e;border-right:0}.cm-s-mbo .CodeMirror-guttermarker{color:#fff}.cm-s-mbo .CodeMirror-guttermarker-subtle{color:grey}.cm-s-mbo .CodeMirror-linenumber{color:#dadada}.cm-s-mbo .CodeMirror-cursor{border-left:1px solid #ffffec}.cm-s-mbo span.cm-comment{color:#95958a}.cm-s-mbo span.cm-atom,.cm-s-mbo span.cm-number{color:#00a8c6}.cm-s-mbo span.cm-attribute,.cm-s-mbo span.cm-property{color:#9ddfe9}.cm-s-mbo span.cm-keyword{color:#ffb928}.cm-s-mbo span.cm-string{color:#ffcf6c}.cm-s-mbo span.cm-string.cm-property,.cm-s-mbo span.cm-variable{color:#ffffec}.cm-s-mbo span.cm-variable-2{color:#00a8c6}.cm-s-mbo span.cm-def{color:#ffffec}.cm-s-mbo span.cm-bracket{color:#fffffc;font-weight:700}.cm-s-mbo span.cm-tag{color:#9ddfe9}.cm-s-mbo span.cm-link{color:#f54b07}.cm-s-mbo span.cm-error{border-bottom:#636363;color:#ffffec}.cm-s-mbo span.cm-qualifier{color:#ffffec}.cm-s-mbo .CodeMirror-activeline-background{background:#494b41}.cm-s-mbo .CodeMirror-matchingbracket{color:#ffb928!important}.cm-s-mbo .CodeMirror-matchingtag{background:hsla(0,0%,100%,.37)}
|
||||
1
plugins/code-snippets/dist/editor-themes/mdn-like.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/mdn-like.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-mdn-like.CodeMirror{background-color:#fff;color:#999}.cm-s-mdn-like div.CodeMirror-selected{background:#cfc}.cm-s-mdn-like .CodeMirror-line::selection,.cm-s-mdn-like .CodeMirror-line>span::selection,.cm-s-mdn-like .CodeMirror-line>span>span::selection{background:#cfc}.cm-s-mdn-like .CodeMirror-line::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span::-moz-selection,.cm-s-mdn-like .CodeMirror-line>span>span::-moz-selection{background:#cfc}.cm-s-mdn-like .CodeMirror-gutters{background:#f8f8f8;border-left:6px solid rgba(0,83,159,.65);color:#333}.cm-s-mdn-like .CodeMirror-linenumber{color:#aaa;padding-left:8px}.cm-s-mdn-like .CodeMirror-cursor{border-left:2px solid #222}.cm-s-mdn-like .cm-keyword{color:#6262ff}.cm-s-mdn-like .cm-atom{color:#f90}.cm-s-mdn-like .cm-number{color:#ca7841}.cm-s-mdn-like .cm-def{color:#8da6ce}.cm-s-mdn-like span.cm-tag,.cm-s-mdn-like span.cm-variable-2{color:#690}.cm-s-mdn-like .cm-variable,.cm-s-mdn-like span.cm-def,.cm-s-mdn-like span.cm-type,.cm-s-mdn-like span.cm-variable-3{color:#07a}.cm-s-mdn-like .cm-property{color:#905}.cm-s-mdn-like .cm-qualifier{color:#690}.cm-s-mdn-like .cm-operator{color:#cda869}.cm-s-mdn-like .cm-comment{color:#777;font-weight:400}.cm-s-mdn-like .cm-string{color:#07a;font-style:italic}.cm-s-mdn-like .cm-string-2{color:#bd6b18}.cm-s-mdn-like .cm-meta{color:#000}.cm-s-mdn-like .cm-builtin{color:#9b7536}.cm-s-mdn-like .cm-tag{color:#997643}.cm-s-mdn-like .cm-attribute{color:#d6bb6d}.cm-s-mdn-like .cm-header{color:#ff6400}.cm-s-mdn-like .cm-hr{color:#aeaeae}.cm-s-mdn-like .cm-link{color:#ad9361;font-style:italic;text-decoration:none}.cm-s-mdn-like .cm-error{border-bottom:1px solid red}div.cm-s-mdn-like .CodeMirror-activeline-background{background:#efefff}div.cm-s-mdn-like span.CodeMirror-matchingbracket{color:inherit;outline:1px solid grey}.cm-s-mdn-like.CodeMirror{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAAyCAYAAAAp8UeFAAAHvklEQVR42s2b63bcNgyEQZCSHCdt2vd/0tWF7I+Q6XgMXiTtuvU5Pl57ZQKkKHzEAOtF5KeIJBGJ8uvL599FRFREZhFx8DeXv8trn68RuGaC8TRfo3SNp9dlDDHedyLyTUTeRWStXKPZrjtpZxaRw5hPqozRs1N8/enzIiQRWcCgy4MUA0f+XWliDhyL8Lfyvx7ei/Ae3iQFHyw7U/59pQVIMEEPEz0G7XiwdRjzSfC3UTtz9vchIntxvry5iMgfIhJoEflOz2CQr3F5h/HfeFe+GTdLaKcu9L8LTeQb/R/7GgbsfKedyNdoHsN31uRPWrfZ5wsj/NzzRQHuToIdU3ahwnsKPxXCjJITuOsi7XLc7SG/v5GdALs7wf8JjTFiB5+QvTEfRyGOfX3Lrx8wxyQi3sNq46O7QahQiCsRFgqddjBouVEHOKDgXAQHD9gJCr5sMKkEdjwsarG/ww3BMHBU7OBjXnzdyY7SfCxf5/z6ATccrwlKuwC/jhznnPF4CgVzhhVf4xp2EixcBActO75iZ8/fM9zAs2OMzKdslgXWJ9XG8PQoOAMA5fGcsvORgv0doBXyHrCwfLJAOwo71QLNkb8n2Pl6EWiR7OCibtkPaz4Kc/0NNAze2gju3zOwekALDaCFPI5vjPFmgGY5AZqyGEvH1x7QfIb8YtxMnA/b+QQ0aQDAwc6JMFg8CbQZ4qoYEEHbRwNojuK3EHwd7VALSgq+MNDKzfT58T8qdpADrgW0GmgcAS1lhzztJmkAzcPNOQbsWEALBDSlMKUG0Eq4CLAQWvEVQ9WU57gZJwZtgPO3r9oBTQ9WO8TjqXINx8R0EYpiZEUWOF3FxkbJkgU9B2f41YBrIj5ZfsQa0M5kTgiAAqM3ShXLgu8XMqcrQBvJ0CL5pnTsfMB13oB8athpAq2XOQmcGmoACCLydx7nToa23ATaSIY2ichfOdPTGxlasXMLaL0MLZAOwAKIM+y8CmicobGdCcbbK9DzN+yYGVoNNI5iUKTMyYOjPse4A8SM1MmcXgU0toOq1yO/v8FOxlASyc7TgeYaAMBJHcY1CcCwGI/TK4AmDbDyKYBBtFUkRwto8gygiQEaByFgJ00BH2M8JWwQS1nafDXQCidWyOI8AcjDCSjCLk8ngObuAm3JAHAdubAmOaK06V8MNEsKPJOhobSprwQa6gD7DclRQdqcwL4zxqgBrQcabUiBLclRDKAlWp+etPkBaNMA0AKlrHwTdEByZAA4GM+SNluSY6wAzcMNewxmgig5Ks0nkrSpBvSaQHMdKTBAnLojOdYyGpQ254602ZILPdTD1hdlggdIm74jbTp8vDwF5ZYUeLWGJpWsh6XNyXgcYwVoJQTEhhTYkxzZjiU5npU2TaB979TQehlaAVq4kaGpiPwwwLkYUuBbQwocyQTv1tA0+1UFWoJF3iv1oq+qoSk8EQdJmwHkziIF7oOZk14EGitibAdjLYYK78H5vZOhtWpoI0ATGHs0Q8OMb4Ey+2bU2UYztCtA0wFAs7TplGLRVQCcqaFdGSPCeTI1QNIC52iWNzof6Uib7xjEp07mNNoUYmVosVItHrHzRlLgBn9LFyRHaQCtVUMbtTNhoXWiTOO9k/V8BdAc1Oq0ArSQs6/5SU0hckNy9NnXqQY0PGYo5dWJ7nINaN6o958FWin27aBaWRka1r5myvLOAm0j30eBJqCxHLReVclxhxOEN2JfDWjxBtAC7MIH1fVaGdoOp4qJYDgKtKPSFNID2gSnGldrCqkFZ+5UeQXQBIRrSwocbdZYQT/2LwRahBPBXoHrB8nxaGROST62DKUbQOMMzZIC9abkuELfQzQALWTnDNAm8KHWFOJgJ5+SHIvTPcmx1xQyZRhNL5Qci689aXMEaN/uNIWkEwDAvFpOZmgsBaaGnbs1NPa1Jm32gBZAIh1pCtG7TSH4aE0y1uVY4uqoFPisGlpP2rSA5qTecWn5agK6BzSpgAyD+wFaqhnYoSZ1Vwr8CmlTQbrcO3ZaX0NAEyMbYaAlyquFoLKK3SPby9CeVUPThrSJmkCAE0CrKUQadi4DrdSlWhmah0YL9z9vClH59YGbHx1J8VZTyAjQepJjmXwAKTDQI3omc3p1U4gDUf6RfcdYfrUp5ClAi2J3Ba6UOXGo+K+bQrjjssitG2SJzshaLwMtXgRagUNpYYoVkMSBLM+9GGiJZMvduG6DRZ4qc04DMPtQQxOjEtACmhO7K1AbNbQDEggZyJwscFpAGwENhoBeUwh3bWolhe8BTYVKxQEWrSUn/uhcM5KhvUu/+eQu0Lzhi+VrK0PrZZNDQKs9cpYUuFYgMVpD4/NxenJTiMCNqdUEUf1qZWjppLT5qSkkUZbCwkbZMSuVnu80hfSkzRbQeqCZSAh6huR4VtoM2gHAlLf72smuWgE+VV7XpE25Ab2WFDgyhnSuKbs4GuGzCjR+tIoUuMFg3kgcWKLTwRqanJQ2W00hAsenfaApRC42hbCvK1SlE0HtE9BGgneJO+ELamitD1YjjOYnNYVcraGhtKkW0EqVVeDx733I2NH581k1NNxNLG0i0IJ8/NjVaOZ0tYZ2Vtr0Xv7tPV3hkWp9EFkgS/J0vosngTaSoaG06WHi+xObQkaAdlbanP8B2+2l0f90LmUAAAAASUVORK5CYII=)}
|
||||
1
plugins/code-snippets/dist/editor-themes/midnight.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/midnight.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-midnight .CodeMirror-activeline-background{background:#253540}.cm-s-midnight.CodeMirror{background:#0f192a;color:#d1edff}.cm-s-midnight div.CodeMirror-selected{background:#314d67}.cm-s-midnight .CodeMirror-line::selection,.cm-s-midnight .CodeMirror-line>span::selection,.cm-s-midnight .CodeMirror-line>span>span::selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-line::-moz-selection,.cm-s-midnight .CodeMirror-line>span::-moz-selection,.cm-s-midnight .CodeMirror-line>span>span::-moz-selection{background:rgba(49,77,103,.99)}.cm-s-midnight .CodeMirror-gutters{background:#0f192a;border-right:1px solid}.cm-s-midnight .CodeMirror-guttermarker{color:#fff}.cm-s-midnight .CodeMirror-guttermarker-subtle,.cm-s-midnight .CodeMirror-linenumber{color:#d0d0d0}.cm-s-midnight .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-midnight span.cm-comment{color:#428bdd}.cm-s-midnight span.cm-atom{color:#ae81ff}.cm-s-midnight span.cm-number{color:#d1edff}.cm-s-midnight span.cm-attribute,.cm-s-midnight span.cm-property{color:#a6e22e}.cm-s-midnight span.cm-keyword{color:#e83737}.cm-s-midnight span.cm-string{color:#1dc116}.cm-s-midnight span.cm-variable,.cm-s-midnight span.cm-variable-2{color:#ffaa3e}.cm-s-midnight span.cm-def{color:#4dd}.cm-s-midnight span.cm-bracket{color:#d1edff}.cm-s-midnight span.cm-tag{color:#449}.cm-s-midnight span.cm-link{color:#ae81ff}.cm-s-midnight span.cm-error{background:#f92672;color:#f8f8f0}.cm-s-midnight .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/monokai.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/monokai.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-monokai.CodeMirror{background:#272822;color:#f8f8f2}.cm-s-monokai div.CodeMirror-selected{background:#49483e}.cm-s-monokai .CodeMirror-line::selection,.cm-s-monokai .CodeMirror-line>span::selection,.cm-s-monokai .CodeMirror-line>span>span::selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-line::-moz-selection,.cm-s-monokai .CodeMirror-line>span::-moz-selection,.cm-s-monokai .CodeMirror-line>span>span::-moz-selection{background:rgba(73,72,62,.99)}.cm-s-monokai .CodeMirror-gutters{background:#272822;border-right:0}.cm-s-monokai .CodeMirror-guttermarker{color:#fff}.cm-s-monokai .CodeMirror-guttermarker-subtle,.cm-s-monokai .CodeMirror-linenumber{color:#d0d0d0}.cm-s-monokai .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-monokai span.cm-comment{color:#75715e}.cm-s-monokai span.cm-atom,.cm-s-monokai span.cm-number{color:#ae81ff}.cm-s-monokai span.cm-comment.cm-attribute{color:#97b757}.cm-s-monokai span.cm-comment.cm-def{color:#bc9262}.cm-s-monokai span.cm-comment.cm-tag{color:#bc6283}.cm-s-monokai span.cm-comment.cm-type{color:#5998a6}.cm-s-monokai span.cm-attribute,.cm-s-monokai span.cm-property{color:#a6e22e}.cm-s-monokai span.cm-keyword{color:#f92672}.cm-s-monokai span.cm-builtin{color:#66d9ef}.cm-s-monokai span.cm-string{color:#e6db74}.cm-s-monokai span.cm-variable{color:#f8f8f2}.cm-s-monokai span.cm-variable-2{color:#9effff}.cm-s-monokai span.cm-type,.cm-s-monokai span.cm-variable-3{color:#66d9ef}.cm-s-monokai span.cm-def{color:#fd971f}.cm-s-monokai span.cm-bracket{color:#f8f8f2}.cm-s-monokai span.cm-tag{color:#f92672}.cm-s-monokai span.cm-header,.cm-s-monokai span.cm-link{color:#ae81ff}.cm-s-monokai span.cm-error{background:#f92672;color:#f8f8f0}.cm-s-monokai .CodeMirror-activeline-background{background:#373831}.cm-s-monokai .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/moxer.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/moxer.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-moxer.CodeMirror{background-color:#090a0f;color:#8e95b4;line-height:1.8}.cm-s-moxer .CodeMirror-gutters{background:#090a0f;border:none;color:#35394b}.cm-s-moxer .CodeMirror-guttermarker,.cm-s-moxer .CodeMirror-guttermarker-subtle,.cm-s-moxer .CodeMirror-linenumber{color:#35394b}.cm-s-moxer .CodeMirror-cursor{border-left:1px solid #fc0}.cm-s-moxer div.CodeMirror-selected{background:rgba(128,203,196,.2)}.cm-s-moxer.CodeMirror-focused div.CodeMirror-selected{background:#212431}.cm-s-moxer .CodeMirror-line::selection,.cm-s-moxer .CodeMirror-line>span::selection,.cm-s-moxer .CodeMirror-line>span>span::selection{background:#212431}.cm-s-moxer .CodeMirror-line::-moz-selection,.cm-s-moxer .CodeMirror-line>span::-moz-selection,.cm-s-moxer .CodeMirror-line>span>span::-moz-selection{background:#212431}.cm-s-moxer .CodeMirror-activeline-background,.cm-s-moxer .CodeMirror-activeline-gutter .CodeMirror-linenumber{background:rgba(33,36,49,.5)}.cm-s-moxer .cm-keyword,.cm-s-moxer .cm-operator{color:#d46c6c}.cm-s-moxer .cm-variable-2{color:#81c5da}.cm-s-moxer .cm-type,.cm-s-moxer .cm-variable-3{color:#f07178}.cm-s-moxer .cm-builtin{color:#ffcb6b}.cm-s-moxer .cm-atom{color:#a99be2}.cm-s-moxer .cm-number{color:#7ca4c0}.cm-s-moxer .cm-def{color:#f5dfa5}.cm-s-moxer .CodeMirror-line .cm-def~.cm-def{color:#81c5da}.cm-s-moxer .cm-string{color:#b2e4ae}.cm-s-moxer .cm-string-2{color:#f07178}.cm-s-moxer .cm-comment{color:#3f445a}.cm-s-moxer .cm-variable{color:#8e95b4}.cm-s-moxer .cm-tag{color:#ff5370}.cm-s-moxer .cm-meta{color:#ffcb6b}.cm-s-moxer .cm-attribute{color:#c792ea}.cm-s-moxer .cm-property{color:#81c5da}.cm-s-moxer .cm-qualifier,.cm-s-moxer .cm-type,.cm-s-moxer .cm-variable-3{color:#decb6b}.cm-s-moxer .cm-error{background-color:#ff5370;color:#fff}.cm-s-moxer .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/neat.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/neat.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{color:blue;font-weight:700;line-height:1em}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin{color:#077;font-weight:700;line-height:1em}.cm-s-neat span.cm-special{color:#0aa;font-weight:700;line-height:1em}.cm-s-neat span.cm-variable{color:#000}.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number{color:#3a3}.cm-s-neat span.cm-meta{color:#555}.cm-s-neat span.cm-link{color:#3a3}.cm-s-neat .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-neat .CodeMirror-matchingbracket{color:#000!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/neo.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/neo.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-neo.CodeMirror{background-color:#fff;color:#2e383c;line-height:1.4375}.cm-s-neo .cm-comment{color:#75787b}.cm-s-neo .cm-keyword,.cm-s-neo .cm-property{color:#1d75b3}.cm-s-neo .cm-atom,.cm-s-neo .cm-number{color:#75438a}.cm-s-neo .cm-node,.cm-s-neo .cm-tag{color:#9c3328}.cm-s-neo .cm-string{color:#b35e14}.cm-s-neo .cm-qualifier,.cm-s-neo .cm-variable{color:#047d65}.cm-s-neo pre{padding:0}.cm-s-neo .CodeMirror-gutters{background-color:transparent;border:none;border-right:10px solid transparent}.cm-s-neo .CodeMirror-linenumber{color:#e0e2e5;padding:0}.cm-s-neo .CodeMirror-guttermarker{color:#1d75b3}.cm-s-neo .CodeMirror-guttermarker-subtle{color:#e0e2e5}.cm-s-neo .CodeMirror-cursor{background:hsla(223,4%,62%,.37);border:0;width:auto;z-index:1}
|
||||
1
plugins/code-snippets/dist/editor-themes/night.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/night.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-night.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-night div.CodeMirror-selected{background:#447}.cm-s-night .CodeMirror-line::selection,.cm-s-night .CodeMirror-line>span::selection,.cm-s-night .CodeMirror-line>span>span::selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-line::-moz-selection,.cm-s-night .CodeMirror-line>span::-moz-selection,.cm-s-night .CodeMirror-line>span>span::-moz-selection{background:rgba(68,68,119,.99)}.cm-s-night .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-night .CodeMirror-guttermarker{color:#fff}.cm-s-night .CodeMirror-guttermarker-subtle{color:#bbb}.cm-s-night .CodeMirror-linenumber{color:#f8f8f8}.cm-s-night .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-night span.cm-comment{color:#8900d1}.cm-s-night span.cm-atom{color:#845dc4}.cm-s-night span.cm-attribute,.cm-s-night span.cm-number{color:#ffd500}.cm-s-night span.cm-keyword{color:#599eff}.cm-s-night span.cm-string{color:#37f14a}.cm-s-night span.cm-meta{color:#7678e2}.cm-s-night span.cm-tag,.cm-s-night span.cm-variable-2{color:#99b2ff}.cm-s-night span.cm-def,.cm-s-night span.cm-type,.cm-s-night span.cm-variable-3{color:#fff}.cm-s-night span.cm-bracket{color:#8da6ce}.cm-s-night span.cm-builtin,.cm-s-night span.cm-special{color:#ff9e59}.cm-s-night span.cm-link{color:#845dc4}.cm-s-night span.cm-error{color:#9d1e15}.cm-s-night .CodeMirror-activeline-background{background:#1c005a}.cm-s-night .CodeMirror-matchingbracket{color:#fff!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/nord.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/nord.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-nord.CodeMirror{background:#2e3440;color:#d8dee9}.cm-s-nord div.CodeMirror-selected{background:#434c5e}.cm-s-nord .CodeMirror-line::selection,.cm-s-nord .CodeMirror-line>span::selection,.cm-s-nord .CodeMirror-line>span>span::selection{background:#3b4252}.cm-s-nord .CodeMirror-line::-moz-selection,.cm-s-nord .CodeMirror-line>span::-moz-selection,.cm-s-nord .CodeMirror-line>span>span::-moz-selection{background:#3b4252}.cm-s-nord .CodeMirror-gutters{background:#2e3440;border-right:0}.cm-s-nord .CodeMirror-guttermarker,.cm-s-nord .CodeMirror-guttermarker-subtle,.cm-s-nord .CodeMirror-linenumber{color:#4c566a}.cm-s-nord .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-nord span.cm-comment{color:#4c566a}.cm-s-nord span.cm-atom,.cm-s-nord span.cm-number{color:#b48ead}.cm-s-nord span.cm-comment.cm-attribute{color:#97b757}.cm-s-nord span.cm-comment.cm-def{color:#bc9262}.cm-s-nord span.cm-comment.cm-tag{color:#bc6283}.cm-s-nord span.cm-comment.cm-type{color:#5998a6}.cm-s-nord span.cm-attribute,.cm-s-nord span.cm-property{color:#8fbcbb}.cm-s-nord span.cm-builtin,.cm-s-nord span.cm-keyword{color:#81a1c1}.cm-s-nord span.cm-string{color:#a3be8c}.cm-s-nord span.cm-type,.cm-s-nord span.cm-variable,.cm-s-nord span.cm-variable-2,.cm-s-nord span.cm-variable-3{color:#d8dee9}.cm-s-nord span.cm-def{color:#8fbcbb}.cm-s-nord span.cm-bracket{color:#81a1c1}.cm-s-nord span.cm-tag{color:#bf616a}.cm-s-nord span.cm-header,.cm-s-nord span.cm-link{color:#b48ead}.cm-s-nord span.cm-error{background:#bf616a;color:#f8f8f0}.cm-s-nord .CodeMirror-activeline-background{background:#3b4252}.cm-s-nord .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/oceanic-next.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/oceanic-next.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-oceanic-next.CodeMirror{background:#304148;color:#f8f8f2}.cm-s-oceanic-next div.CodeMirror-selected{background:rgba(101,115,126,.33)}.cm-s-oceanic-next .CodeMirror-line::selection,.cm-s-oceanic-next .CodeMirror-line>span::selection,.cm-s-oceanic-next .CodeMirror-line>span>span::selection{background:rgba(101,115,126,.33)}.cm-s-oceanic-next .CodeMirror-line::-moz-selection,.cm-s-oceanic-next .CodeMirror-line>span::-moz-selection,.cm-s-oceanic-next .CodeMirror-line>span>span::-moz-selection{background:rgba(101,115,126,.33)}.cm-s-oceanic-next .CodeMirror-gutters{background:#304148;border-right:10px}.cm-s-oceanic-next .CodeMirror-guttermarker{color:#fff}.cm-s-oceanic-next .CodeMirror-guttermarker-subtle,.cm-s-oceanic-next .CodeMirror-linenumber{color:#d0d0d0}.cm-s-oceanic-next .CodeMirror-cursor{border-left:1px solid #f8f8f0}.cm-s-oceanic-next .cm-animate-fat-cursor,.cm-s-oceanic-next.cm-fat-cursor .CodeMirror-cursor{background-color:#a2a8a175!important}.cm-s-oceanic-next span.cm-comment{color:#65737e}.cm-s-oceanic-next span.cm-atom{color:#c594c5}.cm-s-oceanic-next span.cm-number{color:#f99157}.cm-s-oceanic-next span.cm-property{color:#99c794}.cm-s-oceanic-next span.cm-attribute,.cm-s-oceanic-next span.cm-keyword{color:#c594c5}.cm-s-oceanic-next span.cm-builtin{color:#66d9ef}.cm-s-oceanic-next span.cm-string{color:#99c794}.cm-s-oceanic-next span.cm-variable,.cm-s-oceanic-next span.cm-variable-2,.cm-s-oceanic-next span.cm-variable-3{color:#f8f8f2}.cm-s-oceanic-next span.cm-def{color:#69c}.cm-s-oceanic-next span.cm-bracket{color:#5fb3b3}.cm-s-oceanic-next span.cm-header,.cm-s-oceanic-next span.cm-link,.cm-s-oceanic-next span.cm-tag{color:#c594c5}.cm-s-oceanic-next span.cm-error{background:#c594c5;color:#f8f8f0}.cm-s-oceanic-next .CodeMirror-activeline-background{background:rgba(101,115,126,.33)}.cm-s-oceanic-next .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/panda-syntax.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/panda-syntax.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-panda-syntax{background:#292a2b;color:#e6e6e6;font-family:Operator Mono,Source Code Pro,Menlo,Monaco,Consolas,Courier New,monospace;line-height:1.5}.cm-s-panda-syntax .CodeMirror-cursor{border-color:#ff2c6d}.cm-s-panda-syntax .CodeMirror-activeline-background{background:rgba(99,123,156,.1)}.cm-s-panda-syntax .CodeMirror-selected{background:#fff}.cm-s-panda-syntax .cm-comment{color:#676b79;font-style:italic}.cm-s-panda-syntax .cm-operator{color:#f3f3f3}.cm-s-panda-syntax .cm-string{color:#19f9d8}.cm-s-panda-syntax .cm-string-2{color:#ffb86c}.cm-s-panda-syntax .cm-tag{color:#ff2c6d}.cm-s-panda-syntax .cm-meta{color:#b084eb}.cm-s-panda-syntax .cm-number{color:#ffb86c}.cm-s-panda-syntax .cm-atom{color:#ff2c6d}.cm-s-panda-syntax .cm-keyword{color:#ff75b5}.cm-s-panda-syntax .cm-variable{color:#ffb86c}.cm-s-panda-syntax .cm-type,.cm-s-panda-syntax .cm-variable-2,.cm-s-panda-syntax .cm-variable-3{color:#ff9ac1}.cm-s-panda-syntax .cm-def{color:#e6e6e6}.cm-s-panda-syntax .cm-property{color:#f3f3f3}.cm-s-panda-syntax .cm-attribute,.cm-s-panda-syntax .cm-unit{color:#ffb86c}.cm-s-panda-syntax .CodeMirror-matchingbracket{border-bottom:1px dotted #19f9d8;color:#e6e6e6;padding-bottom:2px}.cm-s-panda-syntax .CodeMirror-gutters{background:#292a2b;border-right-color:hsla(0,0%,100%,.1)}.cm-s-panda-syntax .CodeMirror-linenumber{color:#e6e6e6;opacity:.6}
|
||||
1
plugins/code-snippets/dist/editor-themes/paraiso-dark.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/paraiso-dark.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-paraiso-dark.CodeMirror{background:#2f1e2e;color:#b9b6b0}.cm-s-paraiso-dark div.CodeMirror-selected{background:#41323f}.cm-s-paraiso-dark .CodeMirror-line::selection,.cm-s-paraiso-dark .CodeMirror-line>span::selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-line::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-gutters{background:#2f1e2e;border-right:0}.cm-s-paraiso-dark .CodeMirror-guttermarker{color:#ef6155}.cm-s-paraiso-dark .CodeMirror-guttermarker-subtle,.cm-s-paraiso-dark .CodeMirror-linenumber{color:#776e71}.cm-s-paraiso-dark .CodeMirror-cursor{border-left:1px solid #8d8687}.cm-s-paraiso-dark span.cm-comment{color:#e96ba8}.cm-s-paraiso-dark span.cm-atom,.cm-s-paraiso-dark span.cm-number{color:#815ba4}.cm-s-paraiso-dark span.cm-attribute,.cm-s-paraiso-dark span.cm-property{color:#48b685}.cm-s-paraiso-dark span.cm-keyword{color:#ef6155}.cm-s-paraiso-dark span.cm-string{color:#fec418}.cm-s-paraiso-dark span.cm-variable{color:#48b685}.cm-s-paraiso-dark span.cm-variable-2{color:#06b6ef}.cm-s-paraiso-dark span.cm-def{color:#f99b15}.cm-s-paraiso-dark span.cm-bracket{color:#b9b6b0}.cm-s-paraiso-dark span.cm-tag{color:#ef6155}.cm-s-paraiso-dark span.cm-link{color:#815ba4}.cm-s-paraiso-dark span.cm-error{background:#ef6155;color:#8d8687}.cm-s-paraiso-dark .CodeMirror-activeline-background{background:#4d344a}.cm-s-paraiso-dark .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/paraiso-light.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/paraiso-light.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-paraiso-light.CodeMirror{background:#e7e9db;color:#41323f}.cm-s-paraiso-light div.CodeMirror-selected{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::selection,.cm-s-paraiso-light .CodeMirror-line>span::selection,.cm-s-paraiso-light .CodeMirror-line>span>span::selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-line::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-light .CodeMirror-line>span>span::-moz-selection{background:#b9b6b0}.cm-s-paraiso-light .CodeMirror-gutters{background:#e7e9db;border-right:0}.cm-s-paraiso-light .CodeMirror-guttermarker{color:#000}.cm-s-paraiso-light .CodeMirror-guttermarker-subtle,.cm-s-paraiso-light .CodeMirror-linenumber{color:#8d8687}.cm-s-paraiso-light .CodeMirror-cursor{border-left:1px solid #776e71}.cm-s-paraiso-light span.cm-comment{color:#e96ba8}.cm-s-paraiso-light span.cm-atom,.cm-s-paraiso-light span.cm-number{color:#815ba4}.cm-s-paraiso-light span.cm-attribute,.cm-s-paraiso-light span.cm-property{color:#48b685}.cm-s-paraiso-light span.cm-keyword{color:#ef6155}.cm-s-paraiso-light span.cm-string{color:#fec418}.cm-s-paraiso-light span.cm-variable{color:#48b685}.cm-s-paraiso-light span.cm-variable-2{color:#06b6ef}.cm-s-paraiso-light span.cm-def{color:#f99b15}.cm-s-paraiso-light span.cm-bracket{color:#41323f}.cm-s-paraiso-light span.cm-tag{color:#ef6155}.cm-s-paraiso-light span.cm-link{color:#815ba4}.cm-s-paraiso-light span.cm-error{background:#ef6155;color:#776e71}.cm-s-paraiso-light .CodeMirror-activeline-background{background:#cfd1c4}.cm-s-paraiso-light .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/pastel-on-dark.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/pastel-on-dark.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-pastel-on-dark.CodeMirror{background:#2c2827;color:#8f938f;line-height:1.5}.cm-s-pastel-on-dark div.CodeMirror-selected{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-line::selection,.cm-s-pastel-on-dark .CodeMirror-line>span::selection,.cm-s-pastel-on-dark .CodeMirror-line>span>span::selection{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-line::-moz-selection,.cm-s-pastel-on-dark .CodeMirror-line>span::-moz-selection,.cm-s-pastel-on-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(221,240,255,.2)}.cm-s-pastel-on-dark .CodeMirror-gutters{background:#34302f;border-right:0;padding:0 3px}.cm-s-pastel-on-dark .CodeMirror-guttermarker{color:#fff}.cm-s-pastel-on-dark .CodeMirror-guttermarker-subtle,.cm-s-pastel-on-dark .CodeMirror-linenumber{color:#8f938f}.cm-s-pastel-on-dark .CodeMirror-cursor{border-left:1px solid #a7a7a7}.cm-s-pastel-on-dark span.cm-comment{color:#a6c6ff}.cm-s-pastel-on-dark span.cm-atom{color:#de8e30}.cm-s-pastel-on-dark span.cm-number{color:#ccc}.cm-s-pastel-on-dark span.cm-property{color:#8f938f}.cm-s-pastel-on-dark span.cm-attribute{color:#a6e22e}.cm-s-pastel-on-dark span.cm-keyword{color:#aeb2f8}.cm-s-pastel-on-dark span.cm-string{color:#66a968}.cm-s-pastel-on-dark span.cm-variable{color:#aeb2f8}.cm-s-pastel-on-dark span.cm-variable-2{color:#bebf55}.cm-s-pastel-on-dark span.cm-type,.cm-s-pastel-on-dark span.cm-variable-3{color:#de8e30}.cm-s-pastel-on-dark span.cm-def{color:#757ad8}.cm-s-pastel-on-dark span.cm-bracket{color:#f8f8f2}.cm-s-pastel-on-dark span.cm-tag{color:#c1c144}.cm-s-pastel-on-dark span.cm-link{color:#ae81ff}.cm-s-pastel-on-dark span.cm-builtin,.cm-s-pastel-on-dark span.cm-qualifier{color:#c1c144}.cm-s-pastel-on-dark span.cm-error{background:#757ad8;color:#f8f8f0}.cm-s-pastel-on-dark .CodeMirror-activeline-background{background:hsla(0,0%,100%,.031)}.cm-s-pastel-on-dark .CodeMirror-matchingbracket{border:1px solid hsla(0,0%,100%,.25);color:#8f938f!important;margin:-1px -1px 0}
|
||||
1
plugins/code-snippets/dist/editor-themes/railscasts.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/railscasts.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-railscasts.CodeMirror{background:#2b2b2b;color:#f4f1ed}.cm-s-railscasts div.CodeMirror-selected{background:#272935!important}.cm-s-railscasts .CodeMirror-gutters{background:#2b2b2b;border-right:0}.cm-s-railscasts .CodeMirror-linenumber{color:#5a647e}.cm-s-railscasts .CodeMirror-cursor{border-left:1px solid #d4cfc9!important}.cm-s-railscasts span.cm-comment{color:#bc9458}.cm-s-railscasts span.cm-atom,.cm-s-railscasts span.cm-number{color:#b6b3eb}.cm-s-railscasts span.cm-attribute,.cm-s-railscasts span.cm-property{color:#a5c261}.cm-s-railscasts span.cm-keyword{color:#da4939}.cm-s-railscasts span.cm-string{color:#ffc66d}.cm-s-railscasts span.cm-variable{color:#a5c261}.cm-s-railscasts span.cm-variable-2{color:#6d9cbe}.cm-s-railscasts span.cm-def{color:#cc7833}.cm-s-railscasts span.cm-error{background:#da4939;color:#d4cfc9}.cm-s-railscasts span.cm-bracket{color:#f4f1ed}.cm-s-railscasts span.cm-tag{color:#da4939}.cm-s-railscasts span.cm-link{color:#b6b3eb}.cm-s-railscasts .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}.cm-s-railscasts .CodeMirror-activeline-background{background:#303040}
|
||||
1
plugins/code-snippets/dist/editor-themes/rubyblue.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/rubyblue.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-rubyblue.CodeMirror{background:#112435;color:#fff}.cm-s-rubyblue div.CodeMirror-selected{background:#38566f}.cm-s-rubyblue .CodeMirror-line::selection,.cm-s-rubyblue .CodeMirror-line>span::selection,.cm-s-rubyblue .CodeMirror-line>span>span::selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-line::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span::-moz-selection,.cm-s-rubyblue .CodeMirror-line>span>span::-moz-selection{background:rgba(56,86,111,.99)}.cm-s-rubyblue .CodeMirror-gutters{background:#1f4661;border-right:7px solid #3e7087}.cm-s-rubyblue .CodeMirror-guttermarker{color:#fff}.cm-s-rubyblue .CodeMirror-guttermarker-subtle{color:#3e7087}.cm-s-rubyblue .CodeMirror-linenumber{color:#fff}.cm-s-rubyblue .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-rubyblue span.cm-comment{color:#999;font-style:italic;line-height:1em}.cm-s-rubyblue span.cm-atom{color:#f4c20b}.cm-s-rubyblue span.cm-attribute,.cm-s-rubyblue span.cm-number{color:#82c6e0}.cm-s-rubyblue span.cm-keyword{color:#f0f}.cm-s-rubyblue span.cm-string{color:#f08047}.cm-s-rubyblue span.cm-meta{color:#f0f}.cm-s-rubyblue span.cm-tag,.cm-s-rubyblue span.cm-variable-2{color:#7bd827}.cm-s-rubyblue span.cm-def,.cm-s-rubyblue span.cm-type,.cm-s-rubyblue span.cm-variable-3{color:#fff}.cm-s-rubyblue span.cm-bracket{color:#f0f}.cm-s-rubyblue span.cm-link{color:#f4c20b}.cm-s-rubyblue span.CodeMirror-matchingbracket{color:#f0f!important}.cm-s-rubyblue span.cm-builtin,.cm-s-rubyblue span.cm-special{color:#ff9d00}.cm-s-rubyblue span.cm-error{color:#af2018}.cm-s-rubyblue .CodeMirror-activeline-background{background:#173047}
|
||||
1
plugins/code-snippets/dist/editor-themes/seti.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/seti.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-seti.CodeMirror{background-color:#151718!important;border:none;color:#cfd2d1!important}.cm-s-seti .CodeMirror-gutters{background-color:#0e1112;border:none;color:#404b53}.cm-s-seti .CodeMirror-cursor{border-left:thin solid #f8f8f0}.cm-s-seti .CodeMirror-linenumber{color:#6d8a88}.cm-s-seti.CodeMirror-focused div.CodeMirror-selected{background:hsla(0,0%,100%,.1)}.cm-s-seti .CodeMirror-line::selection,.cm-s-seti .CodeMirror-line>span::selection,.cm-s-seti .CodeMirror-line>span>span::selection{background:hsla(0,0%,100%,.1)}.cm-s-seti .CodeMirror-line::-moz-selection,.cm-s-seti .CodeMirror-line>span::-moz-selection,.cm-s-seti .CodeMirror-line>span>span::-moz-selection{background:hsla(0,0%,100%,.1)}.cm-s-seti span.cm-comment{color:#41535b}.cm-s-seti span.cm-string,.cm-s-seti span.cm-string-2{color:#55b5db}.cm-s-seti span.cm-number{color:#cd3f45}.cm-s-seti span.cm-variable{color:#55b5db}.cm-s-seti span.cm-variable-2{color:#a074c4}.cm-s-seti span.cm-def{color:#55b5db}.cm-s-seti span.cm-keyword{color:#ff79c6}.cm-s-seti span.cm-operator{color:#9fca56}.cm-s-seti span.cm-keyword{color:#e6cd69}.cm-s-seti span.cm-atom{color:#cd3f45}.cm-s-seti span.cm-meta,.cm-s-seti span.cm-tag{color:#55b5db}.cm-s-seti span.cm-attribute,.cm-s-seti span.cm-qualifier{color:#9fca56}.cm-s-seti span.cm-property{color:#a074c4}.cm-s-seti span.cm-builtin,.cm-s-seti span.cm-type,.cm-s-seti span.cm-variable-3{color:#9fca56}.cm-s-seti .CodeMirror-activeline-background{background:#101213}.cm-s-seti .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/shadowfox.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/shadowfox.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-shadowfox.CodeMirror{background:#2a2a2e;color:#b1b1b3}.cm-s-shadowfox div.CodeMirror-selected{background:#353b48}.cm-s-shadowfox .CodeMirror-line::selection,.cm-s-shadowfox .CodeMirror-line>span::selection,.cm-s-shadowfox .CodeMirror-line>span>span::selection{background:#353b48}.cm-s-shadowfox .CodeMirror-line::-moz-selection,.cm-s-shadowfox .CodeMirror-line>span::-moz-selection,.cm-s-shadowfox .CodeMirror-line>span>span::-moz-selection{background:#353b48}.cm-s-shadowfox .CodeMirror-gutters{background:#0c0c0d;border-right:1px solid #0c0c0d}.cm-s-shadowfox .CodeMirror-guttermarker{color:#555}.cm-s-shadowfox .CodeMirror-linenumber{color:#939393}.cm-s-shadowfox .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-shadowfox span.cm-comment{color:#939393}.cm-s-shadowfox span.cm-atom,.cm-s-shadowfox span.cm-attribute,.cm-s-shadowfox span.cm-builtin,.cm-s-shadowfox span.cm-error,.cm-s-shadowfox span.cm-keyword,.cm-s-shadowfox span.cm-quote{color:#ff7de9}.cm-s-shadowfox span.cm-number,.cm-s-shadowfox span.cm-string,.cm-s-shadowfox span.cm-string-2{color:#6b89ff}.cm-s-shadowfox span.cm-hr,.cm-s-shadowfox span.cm-meta{color:#939393}.cm-s-shadowfox span.cm-header,.cm-s-shadowfox span.cm-qualifier,.cm-s-shadowfox span.cm-variable-2{color:#75bfff}.cm-s-shadowfox span.cm-property{color:#86de74}.cm-s-shadowfox span.cm-bracket,.cm-s-shadowfox span.cm-def,.cm-s-shadowfox span.cm-link:visited,.cm-s-shadowfox span.cm-tag{color:#75bfff}.cm-s-shadowfox span.cm-variable{color:#b98eff}.cm-s-shadowfox span.cm-variable-3{color:#d7d7db}.cm-s-shadowfox span.cm-link{color:#737373}.cm-s-shadowfox span.cm-operator{color:#b1b1b3}.cm-s-shadowfox span.cm-special{color:#d7d7db}.cm-s-shadowfox .CodeMirror-activeline-background{background:rgba(185,215,253,.15)}.cm-s-shadowfox .CodeMirror-matchingbracket{color:#fff!important;outline:1px solid hsla(0,0%,100%,.25)}
|
||||
1
plugins/code-snippets/dist/editor-themes/solarized.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/solarized.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.solarized.base03{color:#002b36}.solarized.base02{color:#073642}.solarized.base01{color:#586e75}.solarized.base00{color:#657b83}.solarized.base0{color:#839496}.solarized.base1{color:#93a1a1}.solarized.base2{color:#eee8d5}.solarized.base3{color:#fdf6e3}.solarized.solar-yellow{color:#b58900}.solarized.solar-orange{color:#cb4b16}.solarized.solar-red{color:#dc322f}.solarized.solar-magenta{color:#d33682}.solarized.solar-violet{color:#6c71c4}.solarized.solar-blue{color:#268bd2}.solarized.solar-cyan{color:#2aa198}.solarized.solar-green{color:#859900}.cm-s-solarized{line-height:1.45em;color-profile:sRGB;rendering-intent:auto}.cm-s-solarized.cm-s-dark{background-color:#002b36;color:#839496}.cm-s-solarized.cm-s-light{background-color:#fdf6e3;color:#657b83}.cm-s-solarized .CodeMirror-widget{text-shadow:none}.cm-s-solarized .cm-header{color:#586e75}.cm-s-solarized .cm-quote{color:#93a1a1}.cm-s-solarized .cm-keyword{color:#cb4b16}.cm-s-solarized .cm-atom,.cm-s-solarized .cm-number{color:#d33682}.cm-s-solarized .cm-def{color:#2aa198}.cm-s-solarized .cm-variable{color:#839496}.cm-s-solarized .cm-variable-2{color:#b58900}.cm-s-solarized .cm-type,.cm-s-solarized .cm-variable-3{color:#6c71c4}.cm-s-solarized .cm-property{color:#2aa198}.cm-s-solarized .cm-operator{color:#6c71c4}.cm-s-solarized .cm-comment{color:#586e75;font-style:italic}.cm-s-solarized .cm-string{color:#859900}.cm-s-solarized .cm-string-2{color:#b58900}.cm-s-solarized .cm-meta{color:#859900}.cm-s-solarized .cm-qualifier{color:#b58900}.cm-s-solarized .cm-builtin{color:#d33682}.cm-s-solarized .cm-bracket{color:#cb4b16}.cm-s-solarized .CodeMirror-matchingbracket{color:#859900}.cm-s-solarized .CodeMirror-nonmatchingbracket{color:#dc322f}.cm-s-solarized .cm-tag{color:#93a1a1}.cm-s-solarized .cm-attribute{color:#2aa198}.cm-s-solarized .cm-hr{border-top:1px solid #586e75;color:transparent;display:block}.cm-s-solarized .cm-link{color:#93a1a1;cursor:pointer}.cm-s-solarized .cm-special{color:#6c71c4}.cm-s-solarized .cm-em{color:#999;text-decoration:underline;text-decoration-style:dotted}.cm-s-solarized .cm-error,.cm-s-solarized .cm-invalidchar{border-bottom:1px dotted #dc322f;color:#586e75}.cm-s-solarized.cm-s-dark div.CodeMirror-selected{background:#073642}.cm-s-solarized.cm-s-dark.CodeMirror ::selection{background:rgba(7,54,66,.99)}.cm-s-dark .CodeMirror-line>span::-moz-selection,.cm-s-dark .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-dark .CodeMirror-line::-moz-selection{background:rgba(7,54,66,.99)}.cm-s-solarized.cm-s-light div.CodeMirror-selected{background:#eee8d5}.cm-s-light .CodeMirror-line>span::selection,.cm-s-light .CodeMirror-line>span>span::selection,.cm-s-solarized.cm-s-light .CodeMirror-line::selection{background:#eee8d5}.cm-s-light .CodeMirror-line>span::-moz-selection,.cm-s-light .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection{background:#eee8d5}.cm-s-solarized.CodeMirror{-moz-box-shadow:inset 7px 0 12px -6px #000;-webkit-box-shadow:inset 7px 0 12px -6px #000;box-shadow:inset 7px 0 12px -6px #000}.cm-s-solarized .CodeMirror-gutters{border-right:0}.cm-s-solarized.cm-s-dark .CodeMirror-gutters{background-color:#073642}.cm-s-solarized.cm-s-dark .CodeMirror-linenumber{color:#586e75}.cm-s-solarized.cm-s-light .CodeMirror-gutters{background-color:#eee8d5}.cm-s-solarized.cm-s-light .CodeMirror-linenumber{color:#839496}.cm-s-solarized .CodeMirror-linenumber{padding:0 5px}.cm-s-solarized .CodeMirror-guttermarker-subtle{color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-guttermarker{color:#ddd}.cm-s-solarized.cm-s-light .CodeMirror-guttermarker{color:#cb4b16}.cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text{color:#586e75}.cm-s-solarized .CodeMirror-cursor{border-left:1px solid #819090}.cm-s-solarized.cm-s-light.cm-fat-cursor .CodeMirror-cursor{background:#7e7}.cm-s-solarized.cm-s-light .cm-animate-fat-cursor{background-color:#7e7}.cm-s-solarized.cm-s-dark.cm-fat-cursor .CodeMirror-cursor{background:#586e75}.cm-s-solarized.cm-s-dark .cm-animate-fat-cursor{background-color:#586e75}.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background{background:hsla(0,0%,100%,.06)}.cm-s-solarized.cm-s-light .CodeMirror-activeline-background{background:rgba(0,0,0,.06)}
|
||||
1
plugins/code-snippets/dist/editor-themes/ssms.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/ssms.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-ssms span.cm-keyword{color:blue}.cm-s-ssms span.cm-comment{color:#006400}.cm-s-ssms span.cm-string{color:red}.cm-s-ssms span.cm-def,.cm-s-ssms span.cm-variable,.cm-s-ssms span.cm-variable-2{color:#000}.cm-s-ssms span.cm-atom{color:#a9a9a9}.cm-s-ssms .CodeMirror-linenumber{color:teal}.cm-s-ssms .CodeMirror-activeline-background{background:#fff}.cm-s-ssms span.cm-string-2{color:#f0f}.cm-s-ssms span.cm-bracket,.cm-s-ssms span.cm-operator,.cm-s-ssms span.cm-punctuation{color:#a9a9a9}.cm-s-ssms .CodeMirror-gutters{background-color:#fff;border-right:3px solid #ffee62}.cm-s-ssms div.CodeMirror-selected{background:#add6ff}
|
||||
1
plugins/code-snippets/dist/editor-themes/the-matrix.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/the-matrix.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-the-matrix.CodeMirror{background:#000;color:#0f0}.cm-s-the-matrix div.CodeMirror-selected{background:#2d2d2d}.cm-s-the-matrix .CodeMirror-line::selection,.cm-s-the-matrix .CodeMirror-line>span::selection,.cm-s-the-matrix .CodeMirror-line>span>span::selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-line::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span::-moz-selection,.cm-s-the-matrix .CodeMirror-line>span>span::-moz-selection{background:rgba(45,45,45,.99)}.cm-s-the-matrix .CodeMirror-gutters{background:#060;border-right:2px solid #0f0}.cm-s-the-matrix .CodeMirror-guttermarker{color:#0f0}.cm-s-the-matrix .CodeMirror-guttermarker-subtle,.cm-s-the-matrix .CodeMirror-linenumber{color:#fff}.cm-s-the-matrix .CodeMirror-cursor{border-left:1px solid #0f0}.cm-s-the-matrix span.cm-keyword{color:#008803;font-weight:700}.cm-s-the-matrix span.cm-atom{color:#3ff}.cm-s-the-matrix span.cm-number{color:#ffb94f}.cm-s-the-matrix span.cm-def{color:#99c}.cm-s-the-matrix span.cm-variable{color:#f6c}.cm-s-the-matrix span.cm-variable-2{color:#c6f}.cm-s-the-matrix span.cm-type,.cm-s-the-matrix span.cm-variable-3{color:#96f}.cm-s-the-matrix span.cm-property{color:#62ffa0}.cm-s-the-matrix span.cm-operator{color:#999}.cm-s-the-matrix span.cm-comment{color:#ccc}.cm-s-the-matrix span.cm-string{color:#39c}.cm-s-the-matrix span.cm-meta{color:#c9f}.cm-s-the-matrix span.cm-qualifier{color:#fff700}.cm-s-the-matrix span.cm-builtin{color:#30a}.cm-s-the-matrix span.cm-bracket{color:#cc7}.cm-s-the-matrix span.cm-tag{color:#ffbd40}.cm-s-the-matrix span.cm-attribute{color:#fff700}.cm-s-the-matrix span.cm-error{color:red}.cm-s-the-matrix .CodeMirror-activeline-background{background:#040}
|
||||
1
plugins/code-snippets/dist/editor-themes/tomorrow-night-bright.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/tomorrow-night-bright.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-tomorrow-night-bright.CodeMirror{background:#000;color:#eaeaea}.cm-s-tomorrow-night-bright div.CodeMirror-selected{background:#424242}.cm-s-tomorrow-night-bright .CodeMirror-gutters{background:#000;border-right:0}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker{color:#e78c45}.cm-s-tomorrow-night-bright .CodeMirror-guttermarker-subtle{color:#777}.cm-s-tomorrow-night-bright .CodeMirror-linenumber{color:#424242}.cm-s-tomorrow-night-bright .CodeMirror-cursor{border-left:1px solid #6a6a6a}.cm-s-tomorrow-night-bright span.cm-comment{color:#d27b53}.cm-s-tomorrow-night-bright span.cm-atom,.cm-s-tomorrow-night-bright span.cm-number{color:#a16a94}.cm-s-tomorrow-night-bright span.cm-attribute,.cm-s-tomorrow-night-bright span.cm-property{color:#9c9}.cm-s-tomorrow-night-bright span.cm-keyword{color:#d54e53}.cm-s-tomorrow-night-bright span.cm-string{color:#e7c547}.cm-s-tomorrow-night-bright span.cm-variable{color:#b9ca4a}.cm-s-tomorrow-night-bright span.cm-variable-2{color:#7aa6da}.cm-s-tomorrow-night-bright span.cm-def{color:#e78c45}.cm-s-tomorrow-night-bright span.cm-bracket{color:#eaeaea}.cm-s-tomorrow-night-bright span.cm-tag{color:#d54e53}.cm-s-tomorrow-night-bright span.cm-link{color:#a16a94}.cm-s-tomorrow-night-bright span.cm-error{background:#d54e53;color:#6a6a6a}.cm-s-tomorrow-night-bright .CodeMirror-activeline-background{background:#2a2a2a}.cm-s-tomorrow-night-bright .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/tomorrow-night-eighties.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/tomorrow-night-eighties.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-tomorrow-night-eighties.CodeMirror{background:#000;color:#ccc}.cm-s-tomorrow-night-eighties div.CodeMirror-selected{background:#2d2d2d}.cm-s-tomorrow-night-eighties .CodeMirror-line::selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span::selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span>span::selection{background:rgba(45,45,45,.99)}.cm-s-tomorrow-night-eighties .CodeMirror-line::-moz-selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span::-moz-selection,.cm-s-tomorrow-night-eighties .CodeMirror-line>span>span::-moz-selection{background:rgba(45,45,45,.99)}.cm-s-tomorrow-night-eighties .CodeMirror-gutters{background:#000;border-right:0}.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker{color:#f2777a}.cm-s-tomorrow-night-eighties .CodeMirror-guttermarker-subtle{color:#777}.cm-s-tomorrow-night-eighties .CodeMirror-linenumber{color:#515151}.cm-s-tomorrow-night-eighties .CodeMirror-cursor{border-left:1px solid #6a6a6a}.cm-s-tomorrow-night-eighties span.cm-comment{color:#d27b53}.cm-s-tomorrow-night-eighties span.cm-atom,.cm-s-tomorrow-night-eighties span.cm-number{color:#a16a94}.cm-s-tomorrow-night-eighties span.cm-attribute,.cm-s-tomorrow-night-eighties span.cm-property{color:#9c9}.cm-s-tomorrow-night-eighties span.cm-keyword{color:#f2777a}.cm-s-tomorrow-night-eighties span.cm-string{color:#fc6}.cm-s-tomorrow-night-eighties span.cm-variable{color:#9c9}.cm-s-tomorrow-night-eighties span.cm-variable-2{color:#69c}.cm-s-tomorrow-night-eighties span.cm-def{color:#f99157}.cm-s-tomorrow-night-eighties span.cm-bracket{color:#ccc}.cm-s-tomorrow-night-eighties span.cm-tag{color:#f2777a}.cm-s-tomorrow-night-eighties span.cm-link{color:#a16a94}.cm-s-tomorrow-night-eighties span.cm-error{background:#f2777a;color:#6a6a6a}.cm-s-tomorrow-night-eighties .CodeMirror-activeline-background{background:#343600}.cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket{color:#fff!important;text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/ttcn.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/ttcn.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-ttcn .cm-quote{color:#090}.cm-s-ttcn .cm-header,.cm-strong{font-weight:700}.cm-s-ttcn .cm-header{color:#00f;font-weight:700}.cm-s-ttcn .cm-atom{color:#219}.cm-s-ttcn .cm-attribute{color:#00c}.cm-s-ttcn .cm-bracket{color:#997}.cm-s-ttcn .cm-comment{color:#333}.cm-s-ttcn .cm-def{color:#00f}.cm-s-ttcn .cm-em{font-style:italic}.cm-s-ttcn .cm-error{color:red}.cm-s-ttcn .cm-hr{color:#999}.cm-s-ttcn .cm-keyword{font-weight:700}.cm-s-ttcn .cm-link{color:#00c;text-decoration:underline}.cm-s-ttcn .cm-meta{color:#555}.cm-s-ttcn .cm-negative{color:#d44}.cm-s-ttcn .cm-positive{color:#292}.cm-s-ttcn .cm-qualifier{color:#555}.cm-s-ttcn .cm-strikethrough{text-decoration:line-through}.cm-s-ttcn .cm-string{color:#006400}.cm-s-ttcn .cm-string-2{color:#f50}.cm-s-ttcn .cm-strong{font-weight:700}.cm-s-ttcn .cm-tag{color:#170}.cm-s-ttcn .cm-variable{color:#8b2252}.cm-s-ttcn .cm-variable-2{color:#05a}.cm-s-ttcn .cm-type,.cm-s-ttcn .cm-variable-3{color:#085}.cm-s-ttcn .cm-invalidchar{color:red}.cm-s-ttcn .cm-accessTypes,.cm-s-ttcn .cm-compareTypes{color:#27408b}.cm-s-ttcn .cm-cmipVerbs{color:#8b2252}.cm-s-ttcn .cm-modifier{color:#d2691e}.cm-s-ttcn .cm-status{color:#8b4545}.cm-s-ttcn .cm-storage{color:#a020f0}.cm-s-ttcn .cm-tags{color:#006400}.cm-s-ttcn .cm-externalCommands{color:#8b4545;font-weight:700}.cm-s-ttcn .cm-fileNCtrlMaskOptions,.cm-s-ttcn .cm-sectionTitle{color:#2e8b57;font-weight:700}.cm-s-ttcn .cm-booleanConsts,.cm-s-ttcn .cm-otherConsts,.cm-s-ttcn .cm-verdictConsts{color:#006400}.cm-s-ttcn .cm-configOps,.cm-s-ttcn .cm-functionOps,.cm-s-ttcn .cm-portOps,.cm-s-ttcn .cm-sutOps,.cm-s-ttcn .cm-timerOps,.cm-s-ttcn .cm-verdictOps{color:#00f}.cm-s-ttcn .cm-preprocessor,.cm-s-ttcn .cm-templateMatch,.cm-s-ttcn .cm-ttcn3Macros{color:#27408b}.cm-s-ttcn .cm-types{color:brown;font-weight:700}.cm-s-ttcn .cm-visibilityModifiers{font-weight:700}
|
||||
1
plugins/code-snippets/dist/editor-themes/twilight.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/twilight.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-twilight.CodeMirror{background:#141414;color:#f7f7f7}.cm-s-twilight div.CodeMirror-selected{background:#323232}.cm-s-twilight .CodeMirror-line::selection,.cm-s-twilight .CodeMirror-line>span::selection,.cm-s-twilight .CodeMirror-line>span>span::selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-line::-moz-selection,.cm-s-twilight .CodeMirror-line>span::-moz-selection,.cm-s-twilight .CodeMirror-line>span>span::-moz-selection{background:rgba(50,50,50,.99)}.cm-s-twilight .CodeMirror-gutters{background:#222;border-right:1px solid #aaa}.cm-s-twilight .CodeMirror-guttermarker{color:#fff}.cm-s-twilight .CodeMirror-guttermarker-subtle,.cm-s-twilight .CodeMirror-linenumber{color:#aaa}.cm-s-twilight .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-twilight .cm-keyword{color:#f9ee98}.cm-s-twilight .cm-atom{color:#fc0}.cm-s-twilight .cm-number{color:#ca7841}.cm-s-twilight .cm-def{color:#8da6ce}.cm-s-twilight span.cm-def,.cm-s-twilight span.cm-tag,.cm-s-twilight span.cm-type,.cm-s-twilight span.cm-variable-2,.cm-s-twilight span.cm-variable-3{color:#607392}.cm-s-twilight .cm-operator{color:#cda869}.cm-s-twilight .cm-comment{color:#777;font-style:italic;font-weight:400}.cm-s-twilight .cm-string{color:#8f9d6a;font-style:italic}.cm-s-twilight .cm-string-2{color:#bd6b18}.cm-s-twilight .cm-meta{background-color:#141414;color:#f7f7f7}.cm-s-twilight .cm-builtin{color:#cda869}.cm-s-twilight .cm-tag{color:#997643}.cm-s-twilight .cm-attribute{color:#d6bb6d}.cm-s-twilight .cm-header{color:#ff6400}.cm-s-twilight .cm-hr{color:#aeaeae}.cm-s-twilight .cm-link{color:#ad9361;font-style:italic;text-decoration:none}.cm-s-twilight .cm-error{border-bottom:1px solid red}.cm-s-twilight .CodeMirror-activeline-background{background:#27282e}.cm-s-twilight .CodeMirror-matchingbracket{color:#fff!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/vibrant-ink.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/vibrant-ink.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-vibrant-ink.CodeMirror{background:#000;color:#fff}.cm-s-vibrant-ink div.CodeMirror-selected{background:#35493c}.cm-s-vibrant-ink .CodeMirror-line::selection,.cm-s-vibrant-ink .CodeMirror-line>span::selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-line::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span::-moz-selection,.cm-s-vibrant-ink .CodeMirror-line>span>span::-moz-selection{background:rgba(53,73,60,.99)}.cm-s-vibrant-ink .CodeMirror-gutters{background:#002240;border-right:1px solid #aaa}.cm-s-vibrant-ink .CodeMirror-guttermarker{color:#fff}.cm-s-vibrant-ink .CodeMirror-guttermarker-subtle,.cm-s-vibrant-ink .CodeMirror-linenumber{color:#d0d0d0}.cm-s-vibrant-ink .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-vibrant-ink .cm-keyword{color:#cc7832}.cm-s-vibrant-ink .cm-atom{color:#fc0}.cm-s-vibrant-ink .cm-number{color:#ffee98}.cm-s-vibrant-ink .cm-def{color:#8da6ce}.cm-s-vibrant span.cm-def,.cm-s-vibrant span.cm-tag,.cm-s-vibrant span.cm-type,.cm-s-vibrant-ink span.cm-variable-2,.cm-s-vibrant-ink span.cm-variable-3{color:#ffc66d}.cm-s-vibrant-ink .cm-operator{color:#888}.cm-s-vibrant-ink .cm-comment{color:gray;font-weight:700}.cm-s-vibrant-ink .cm-string{color:#a5c25c}.cm-s-vibrant-ink .cm-string-2{color:red}.cm-s-vibrant-ink .cm-meta{color:#d8fa3c}.cm-s-vibrant-ink .cm-attribute,.cm-s-vibrant-ink .cm-builtin,.cm-s-vibrant-ink .cm-tag{color:#8da6ce}.cm-s-vibrant-ink .cm-header{color:#ff6400}.cm-s-vibrant-ink .cm-hr{color:#aeaeae}.cm-s-vibrant-ink .cm-link{color:#5656f3}.cm-s-vibrant-ink .cm-error{border-bottom:1px solid red}.cm-s-vibrant-ink .CodeMirror-activeline-background{background:#27282e}.cm-s-vibrant-ink .CodeMirror-matchingbracket{color:#fff!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/xq-dark.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/xq-dark.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-xq-dark.CodeMirror{background:#0a001f;color:#f8f8f8}.cm-s-xq-dark div.CodeMirror-selected{background:#27007a}.cm-s-xq-dark .CodeMirror-line::selection,.cm-s-xq-dark .CodeMirror-line>span::selection,.cm-s-xq-dark .CodeMirror-line>span>span::selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-line::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span::-moz-selection,.cm-s-xq-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(39,0,122,.99)}.cm-s-xq-dark .CodeMirror-gutters{background:#0a001f;border-right:1px solid #aaa}.cm-s-xq-dark .CodeMirror-guttermarker{color:#ffbd40}.cm-s-xq-dark .CodeMirror-guttermarker-subtle,.cm-s-xq-dark .CodeMirror-linenumber{color:#f8f8f8}.cm-s-xq-dark .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-xq-dark span.cm-keyword{color:#ffbd40}.cm-s-xq-dark span.cm-atom{color:#6c8cd5}.cm-s-xq-dark span.cm-number{color:#164}.cm-s-xq-dark span.cm-def{color:#fff;text-decoration:underline}.cm-s-xq-dark span.cm-variable{color:#fff}.cm-s-xq-dark span.cm-variable-2{color:#eee}.cm-s-xq-dark span.cm-type,.cm-s-xq-dark span.cm-variable-3{color:#ddd}.cm-s-xq-dark span.cm-comment{color:gray}.cm-s-xq-dark span.cm-string{color:#9fee00}.cm-s-xq-dark span.cm-meta{color:#ff0}.cm-s-xq-dark span.cm-qualifier{color:#fff700}.cm-s-xq-dark span.cm-builtin{color:#30a}.cm-s-xq-dark span.cm-bracket{color:#cc7}.cm-s-xq-dark span.cm-tag{color:#ffbd40}.cm-s-xq-dark span.cm-attribute{color:#fff700}.cm-s-xq-dark span.cm-error{color:red}.cm-s-xq-dark .CodeMirror-activeline-background{background:#27282e}.cm-s-xq-dark .CodeMirror-matchingbracket{color:#fff!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/xq-light.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/xq-light.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-xq-light span.cm-keyword{color:#5a5cad;font-weight:700;line-height:1em}.cm-s-xq-light span.cm-atom{color:#6c8cd5}.cm-s-xq-light span.cm-number{color:#164}.cm-s-xq-light span.cm-def{text-decoration:underline}.cm-s-xq-light span.cm-type,.cm-s-xq-light span.cm-variable,.cm-s-xq-light span.cm-variable-2,.cm-s-xq-light span.cm-variable-3{color:#000}.cm-s-xq-light span.cm-comment{color:#0080ff;font-style:italic}.cm-s-xq-light span.cm-string{color:red}.cm-s-xq-light span.cm-meta{color:#ff0}.cm-s-xq-light span.cm-qualifier{color:grey}.cm-s-xq-light span.cm-builtin{color:#7ea656}.cm-s-xq-light span.cm-bracket{color:#cc7}.cm-s-xq-light span.cm-tag{color:#3f7f7f}.cm-s-xq-light span.cm-attribute{color:#7f007f}.cm-s-xq-light span.cm-error{color:red}.cm-s-xq-light .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-xq-light .CodeMirror-matchingbracket{background:#ff0;color:#000!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/yeti.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/yeti.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-yeti.CodeMirror{background-color:#eceae8!important;border:none;color:#d1c9c0!important}.cm-s-yeti .CodeMirror-gutters{background-color:#e5e1db;border:none;color:#adaba6}.cm-s-yeti .CodeMirror-cursor{border-left:thin solid #d1c9c0}.cm-s-yeti .CodeMirror-linenumber{color:#adaba6}.cm-s-yeti.CodeMirror-focused div.CodeMirror-selected{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::selection,.cm-s-yeti .CodeMirror-line>span::selection,.cm-s-yeti .CodeMirror-line>span>span::selection{background:#dcd8d2}.cm-s-yeti .CodeMirror-line::-moz-selection,.cm-s-yeti .CodeMirror-line>span::-moz-selection,.cm-s-yeti .CodeMirror-line>span>span::-moz-selection{background:#dcd8d2}.cm-s-yeti span.cm-comment{color:#d4c8be}.cm-s-yeti span.cm-string,.cm-s-yeti span.cm-string-2{color:#96c0d8}.cm-s-yeti span.cm-number{color:#a074c4}.cm-s-yeti span.cm-variable{color:#55b5db}.cm-s-yeti span.cm-variable-2{color:#a074c4}.cm-s-yeti span.cm-def{color:#55b5db}.cm-s-yeti span.cm-keyword,.cm-s-yeti span.cm-operator{color:#9fb96e}.cm-s-yeti span.cm-atom{color:#a074c4}.cm-s-yeti span.cm-meta,.cm-s-yeti span.cm-tag{color:#96c0d8}.cm-s-yeti span.cm-attribute{color:#9fb96e}.cm-s-yeti span.cm-qualifier{color:#96c0d8}.cm-s-yeti span.cm-builtin,.cm-s-yeti span.cm-property{color:#a074c4}.cm-s-yeti span.cm-type,.cm-s-yeti span.cm-variable-3{color:#96c0d8}.cm-s-yeti .CodeMirror-activeline-background{background:#e7e4e0}.cm-s-yeti .CodeMirror-matchingbracket{text-decoration:underline}
|
||||
1
plugins/code-snippets/dist/editor-themes/yonce.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/yonce.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-yonce.CodeMirror{background:#1c1c1c;color:#d4d4d4}.cm-s-yonce div.CodeMirror-selected{background:rgba(252,69,133,.478)}.cm-s-yonce .CodeMirror-line::-moz-selection,.cm-s-yonce .CodeMirror-line::selection,.cm-s-yonce .CodeMirror-line>span::-moz-selection,.cm-s-yonce .CodeMirror-line>span::selection,.cm-s-yonce .CodeMirror-line>span>span::-moz-selection,.cm-s-yonce .CodeMirror-line>span>span::selection,.cm-s-yonce .CodeMirror-selected,.cm-s-yonce .CodeMirror-selectedtext{background:rgba(252,67,132,.47)}.cm-s-yonce.CodeMirror pre{padding-left:0}.cm-s-yonce .CodeMirror-gutters{background:#1c1c1c;border-right:0}.cm-s-yonce .CodeMirror-linenumber{padding-right:10px}.cm-s-yonce .CodeMirror-activeline .CodeMirror-linenumber.CodeMirror-gutter-elt{background:#1c1c1c;color:#fc4384}.cm-s-yonce .CodeMirror-linenumber{color:#777}.cm-s-yonce .CodeMirror-cursor{border-left:2px solid #fc4384}.cm-s-yonce .cm-searching{background:rgba(243,155,53,.3)!important;outline:1px solid #f39b35}.cm-s-yonce .cm-searching.CodeMirror-selectedtext{background:rgba(243,155,53,.7)!important;color:#fff}.cm-s-yonce .cm-keyword{color:#00a7aa}.cm-s-yonce .cm-atom{color:#f39b35}.cm-s-yonce .cm-number,.cm-s-yonce span.cm-type{color:#a06fca}.cm-s-yonce .cm-def{color:#98e342}.cm-s-yonce .cm-property,.cm-s-yonce span.cm-variable{color:#d4d4d4;font-style:italic}.cm-s-yonce span.cm-variable-2{color:#da7dae;font-style:italic}.cm-s-yonce span.cm-variable-3{color:#a06fca}.cm-s-yonce .cm-type.cm-def{text-decoration:underline}.cm-s-yonce .cm-callee,.cm-s-yonce .cm-property.cm-def,.cm-s-yonce .cm-type.cm-def{color:#fc4384;font-style:normal}.cm-s-yonce .cm-operator,.cm-s-yonce .cm-qualifier,.cm-s-yonce .cm-tag{color:#fc4384}.cm-s-yonce .cm-tag.cm-bracket{color:#d4d4d4}.cm-s-yonce .cm-attribute{color:#a06fca}.cm-s-yonce .cm-comment{color:#696d70;font-style:italic;font-weight:400}.cm-s-yonce .cm-comment.cm-tag{color:#fc4384}.cm-s-yonce .cm-comment.cm-attribute{color:#d4d4d4}.cm-s-yonce .cm-string{color:#e6db74}.cm-s-yonce .cm-string-2{color:#f39b35}.cm-s-yonce .cm-meta{background:inherit;color:#d4d4d4}.cm-s-yonce .cm-builtin{color:#fc4384}.cm-s-yonce .cm-header{color:#da7dae}.cm-s-yonce .cm-hr{color:#98e342}.cm-s-yonce .cm-link{color:#696d70;font-style:italic;text-decoration:none}.cm-s-yonce .cm-error{border-bottom:1px solid #c42412}.cm-s-yonce .CodeMirror-activeline-background{background:#272727}.cm-s-yonce .CodeMirror-matchingbracket{color:#d4d4d4!important;outline:1px solid grey}
|
||||
1
plugins/code-snippets/dist/editor-themes/zenburn.css
vendored
Normal file
1
plugins/code-snippets/dist/editor-themes/zenburn.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.cm-s-zenburn .CodeMirror-gutters{background:#3f3f3f!important}.CodeMirror-foldgutter-folded,.cm-s-zenburn .CodeMirror-foldgutter-open{color:#999}.cm-s-zenburn .CodeMirror-cursor{border-left:1px solid #fff}.cm-s-zenburn.CodeMirror{background-color:#3f3f3f;color:#dcdccc}.cm-s-zenburn span.cm-builtin{color:#dcdccc;font-weight:700}.cm-s-zenburn span.cm-comment{color:#7f9f7f}.cm-s-zenburn span.cm-keyword{color:#f0dfaf;font-weight:700}.cm-s-zenburn span.cm-atom{color:#bfebbf}.cm-s-zenburn span.cm-def{color:#dcdccc}.cm-s-zenburn span.cm-variable{color:#dfaf8f}.cm-s-zenburn span.cm-variable-2{color:#dcdccc}.cm-s-zenburn span.cm-string,.cm-s-zenburn span.cm-string-2{color:#cc9393}.cm-s-zenburn span.cm-number{color:#dcdccc}.cm-s-zenburn span.cm-tag{color:#93e0e3}.cm-s-zenburn span.cm-attribute,.cm-s-zenburn span.cm-property{color:#dfaf8f}.cm-s-zenburn span.cm-qualifier{color:#7cb8bb}.cm-s-zenburn span.cm-meta{color:#f0dfaf}.cm-s-zenburn span.cm-header,.cm-s-zenburn span.cm-operator{color:#f0efd0}.cm-s-zenburn span.CodeMirror-matchingbracket{background:transparent;border-bottom:1px solid;box-sizing:border-box}.cm-s-zenburn span.CodeMirror-nonmatchingbracket{background:none;border-bottom:1px solid}.cm-s-zenburn .CodeMirror-activeline,.cm-s-zenburn .CodeMirror-activeline-background{background:#000}.cm-s-zenburn div.CodeMirror-selected{background:#545454}.cm-s-zenburn .CodeMirror-focused div.CodeMirror-selected{background:#4f4f4f}
|
||||
2
plugins/code-snippets/dist/editor.js
vendored
Normal file
2
plugins/code-snippets/dist/editor.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
plugins/code-snippets/dist/editor.js.LICENSE.txt
vendored
Normal file
10
plugins/code-snippets/dist/editor.js.LICENSE.txt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
*
|
||||
* Package: php-parser
|
||||
* Parse PHP code from JS and returns its AST
|
||||
* Build: 546cb0da384f6fc5d54c - 12/31/2024
|
||||
* Copyright (C) 2021 Glayzzle (BSD-3-Clause)
|
||||
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
|
||||
* @url http://glayzzle.com
|
||||
*
|
||||
*/
|
||||
2
plugins/code-snippets/dist/import.js
vendored
Normal file
2
plugins/code-snippets/dist/import.js
vendored
Normal file
File diff suppressed because one or more lines are too long
17
plugins/code-snippets/dist/import.js.LICENSE.txt
vendored
Normal file
17
plugins/code-snippets/dist/import.js.LICENSE.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/*!
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
1
plugins/code-snippets/dist/manage-rtl.css
vendored
Normal file
1
plugins/code-snippets/dist/manage-rtl.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user