hyde_admin 0.0.1 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitattributes +3 -0
- data/.idea/hyde_admin.iml +2 -0
- data/.idea/vcs.xml +6 -0
- data/CHANGELOG.md +35 -0
- data/README.md +23 -0
- data/TODO.md +3 -0
- data/bin/admin_views/admin_layout.html.erb +204 -108
- data/bin/admin_views/configuration.erb +13 -0
- data/bin/admin_views/dashboard.erb +1 -1
- data/bin/admin_views/editor_html.erb +24 -0
- data/bin/admin_views/editor_js.erb +120 -0
- data/bin/admin_views/files/edit.erb +30 -0
- data/bin/admin_views/files/listing.erb +111 -0
- data/bin/admin_views/partials/image_element.html.erb +4 -0
- data/bin/admin_views/partials/images_page.html.erb +8 -0
- data/bin/admin_views/posts/edit.erb +158 -0
- data/bin/admin_views/posts/listing.erb +37 -0
- data/bin/admin_views/upload_image_form.erb +45 -0
- data/bin/fslightbox/fslightbox.js +1 -0
- data/bin/hyde_admin +3 -0
- data/bin/hyde_admin.ru +306 -56
- data/bin/hyde_admin.yml +12 -5
- data/bin/hyde_assets/hyde_admin.css +37 -0
- data/bin/hyde_assets/hyde_admin.js +24 -0
- data/bin/i18n/en.yml +77 -1
- data/bin/i18n/fr.yml +77 -1
- data/bin/lib/codemirror.css +349 -0
- data/bin/lib/codemirror.js +9833 -0
- data/bin/mode/css/css.js +864 -0
- data/bin/mode/css/gss.html +104 -0
- data/bin/mode/css/gss_test.js +17 -0
- data/bin/mode/css/index.html +81 -0
- data/bin/mode/css/less.html +152 -0
- data/bin/mode/css/less_test.js +54 -0
- data/bin/mode/css/scss.html +158 -0
- data/bin/mode/css/scss_test.js +110 -0
- data/bin/mode/css/test.js +217 -0
- data/bin/mode/htmlembedded/htmlembedded.js +37 -0
- data/bin/mode/htmlembedded/index.html +60 -0
- data/bin/mode/htmlmixed/htmlmixed.js +153 -0
- data/bin/mode/htmlmixed/index.html +100 -0
- data/bin/mode/javascript/index.html +118 -0
- data/bin/mode/javascript/javascript.js +959 -0
- data/bin/mode/javascript/json-ld.html +72 -0
- data/bin/mode/javascript/test.js +521 -0
- data/bin/mode/javascript/typescript.html +62 -0
- data/bin/mode/markdown/index.html +418 -0
- data/bin/mode/markdown/markdown.js +886 -0
- data/bin/mode/markdown/test.js +1319 -0
- data/bin/mode/ruby/index.html +183 -0
- data/bin/mode/ruby/ruby.js +303 -0
- data/bin/mode/ruby/test.js +23 -0
- data/bin/mode/sass/index.html +68 -0
- data/bin/mode/sass/sass.js +459 -0
- data/bin/mode/sass/test.js +122 -0
- data/bin/mode/spreadsheet/index.html +42 -0
- data/bin/mode/spreadsheet/spreadsheet.js +112 -0
- data/bin/mode/xml/index.html +61 -0
- data/bin/mode/xml/test.js +51 -0
- data/bin/mode/xml/xml.js +417 -0
- data/bin/mode/yaml/index.html +80 -0
- data/bin/mode/yaml/yaml.js +120 -0
- data/bin/mode/yaml-frontmatter/index.html +121 -0
- data/bin/mode/yaml-frontmatter/yaml-frontmatter.js +72 -0
- data/hyde_admin.gemspec +7 -1
- data/lib/hyde_admin/version.rb +1 -1
- metadata +131 -7
- data/bin/admin_views/edit.erb +0 -57
- data/bin/admin_views/listing.erb +0 -32
- data/bin/hyde_admin.sh +0 -3
data/bin/i18n/fr.yml
CHANGED
@@ -5,11 +5,17 @@ pages: pages
|
|
5
5
|
post: article
|
6
6
|
posts: articles
|
7
7
|
save: sauvegarder
|
8
|
+
new: nouveau
|
8
9
|
edit: éditer
|
9
10
|
delete: supprimer
|
10
|
-
|
11
|
+
create: créer
|
12
|
+
upload: uploader
|
13
|
+
header: Entête
|
14
|
+
are_you_sure: êtes-vous sûr ?
|
15
|
+
add_header: ajouter un entête
|
11
16
|
tag: mot-clé
|
12
17
|
tags: mots-clés
|
18
|
+
help_tags: Mettez les tags séparés par des virgules
|
13
19
|
layout: présentation
|
14
20
|
configuration: configuration
|
15
21
|
files: fichiers
|
@@ -25,3 +31,73 @@ date: date
|
|
25
31
|
content: contenu
|
26
32
|
publish: publier
|
27
33
|
path: chemin
|
34
|
+
help_path: Vous pouvez déplacer le fichier en changeant le chemin. Changer le chemin peut affecter le SEO et provoquer des erreurs 404. Pour un nouveau fichier, c'est automatiquement remplit à la sousmission du formulaire.
|
35
|
+
overview: aperçu
|
36
|
+
submit: valider
|
37
|
+
default_layout: présentation par défaut
|
38
|
+
help_default_layout: présentation par défaut pour les posts et pages
|
39
|
+
deploy_dest_user: Utilisateur pour déploiement
|
40
|
+
help_deploy_dest_user: Utilisateur pour déploiement par ssh
|
41
|
+
deploy_dest_address: Adresse pour déploiement
|
42
|
+
help_deploy_dest_address: Domaine ou adresse IP pour déploiement à travers ssh (example.com)
|
43
|
+
deploy_dest_path: chemin distant pour déploiement
|
44
|
+
help_deploy_dest_path: chemin distant pour déploiement du site
|
45
|
+
rsync_fullpath: chemin rsync
|
46
|
+
help_rsync_fullpath: si rsync n'est pas dans le PATH, sinon laissez 'rsync'
|
47
|
+
site_index: nom du fichier index pour le site
|
48
|
+
help_site_index: Lien pour le lien aperçu, pensez à l'extention si nécessaire
|
49
|
+
hyde_admin_language: hyde admin langue
|
50
|
+
help_hyde_admin_language: Pour changer la langue d'interface de hyde admin (fr = français, en = anglais)
|
51
|
+
set_date_today: mets la date du jour
|
52
|
+
change_date_path: mets à jour la date dans le chemin de fichier
|
53
|
+
change_title_path: mets à jour le titre dans le chemin de fichier
|
54
|
+
directory_input_placeholder: nom du dossier à créer
|
55
|
+
file_input_placeholder: nom du fichier à créer
|
56
|
+
hyde_admin_auth: enable BasicAuth
|
57
|
+
help_hyde_admin_auth: enable BasicAuth (true/false)
|
58
|
+
hyde_admin_user: BasicAuth user
|
59
|
+
help_hyde_admin_user: BasicAuth user
|
60
|
+
hyde_admin_password: BasicAuth password
|
61
|
+
help_hyde_admin_password: BasicAuth password
|
62
|
+
default_format: format par défaut
|
63
|
+
help_default_format: format par défaut pour les posts (html = html, md = markdown)
|
64
|
+
display_layout: affiche le choix du layout sur le formulaire d'édition
|
65
|
+
help_display_layout: affiche le choix du layout sur le formulaire d'édition (true/false)
|
66
|
+
display_format: affiche le choix du format sur le formulaire d'édition
|
67
|
+
help_display_format: affiche le choix du format sur le formulaire d'édition (true/false)
|
68
|
+
images_path: chemin des images
|
69
|
+
help_images_path: chemin local relatif des images
|
70
|
+
editor_undo: Annuler
|
71
|
+
editor_redo: Refaire
|
72
|
+
editor_file: Ajouter image
|
73
|
+
editor_list: Liste
|
74
|
+
editor_list_ol: Liste numéroté
|
75
|
+
editor_link: Ajouter lien
|
76
|
+
editor_quote: Citation
|
77
|
+
editor_title_h1: Titre H1
|
78
|
+
editor_title_h2: Titre H2
|
79
|
+
editor_title_h3: Titre H3
|
80
|
+
editor_title_h4: Titre H4
|
81
|
+
editor_title_h5: Titre H5
|
82
|
+
editor_underline: Souligner
|
83
|
+
editor_bold: Gras
|
84
|
+
editor_italic: Italique
|
85
|
+
editor_strikethrough: Barré
|
86
|
+
default_alt_img: Texte alternatif
|
87
|
+
default_title_img: Titre image
|
88
|
+
parent_dir: dossier parent
|
89
|
+
sort_by_date: tri par date
|
90
|
+
older: vieille d'abord
|
91
|
+
newer: récente d'abord
|
92
|
+
previous_images: images précédentes " lol
|
93
|
+
next_images: images suivantes
|
94
|
+
search: recherche
|
95
|
+
filename: nom de fichier
|
96
|
+
filename_placeholder: nom de fichier...
|
97
|
+
upload_image_form: formulaire d'upload d'image
|
98
|
+
pictures_has_been_uploaded: les images ont été uploadées
|
99
|
+
quit: quitter
|
100
|
+
header_name: nom d'entête
|
101
|
+
header_value: valeur d'entête
|
102
|
+
images: images
|
103
|
+
load_images: charger images
|
@@ -0,0 +1,349 @@
|
|
1
|
+
/* BASICS */
|
2
|
+
|
3
|
+
.CodeMirror {
|
4
|
+
/* Set height, width, borders, and global font properties here */
|
5
|
+
font-family: monospace;
|
6
|
+
height: 300px;
|
7
|
+
color: black;
|
8
|
+
direction: ltr;
|
9
|
+
}
|
10
|
+
|
11
|
+
/* PADDING */
|
12
|
+
|
13
|
+
.CodeMirror-lines {
|
14
|
+
padding: 4px 0; /* Vertical padding around content */
|
15
|
+
}
|
16
|
+
.CodeMirror pre.CodeMirror-line,
|
17
|
+
.CodeMirror pre.CodeMirror-line-like {
|
18
|
+
padding: 0 4px; /* Horizontal padding of content */
|
19
|
+
}
|
20
|
+
|
21
|
+
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
22
|
+
background-color: white; /* The little square between H and V scrollbars */
|
23
|
+
}
|
24
|
+
|
25
|
+
/* GUTTER */
|
26
|
+
|
27
|
+
.CodeMirror-gutters {
|
28
|
+
border-right: 1px solid #ddd;
|
29
|
+
background-color: #f7f7f7;
|
30
|
+
white-space: nowrap;
|
31
|
+
}
|
32
|
+
.CodeMirror-linenumbers {}
|
33
|
+
.CodeMirror-linenumber {
|
34
|
+
padding: 0 3px 0 5px;
|
35
|
+
min-width: 20px;
|
36
|
+
text-align: right;
|
37
|
+
color: #999;
|
38
|
+
white-space: nowrap;
|
39
|
+
}
|
40
|
+
|
41
|
+
.CodeMirror-guttermarker { color: black; }
|
42
|
+
.CodeMirror-guttermarker-subtle { color: #999; }
|
43
|
+
|
44
|
+
/* CURSOR */
|
45
|
+
|
46
|
+
.CodeMirror-cursor {
|
47
|
+
border-left: 1px solid black;
|
48
|
+
border-right: none;
|
49
|
+
width: 0;
|
50
|
+
}
|
51
|
+
/* Shown when moving in bi-directional text */
|
52
|
+
.CodeMirror div.CodeMirror-secondarycursor {
|
53
|
+
border-left: 1px solid silver;
|
54
|
+
}
|
55
|
+
.cm-fat-cursor .CodeMirror-cursor {
|
56
|
+
width: auto;
|
57
|
+
border: 0 !important;
|
58
|
+
background: #7e7;
|
59
|
+
}
|
60
|
+
.cm-fat-cursor div.CodeMirror-cursors {
|
61
|
+
z-index: 1;
|
62
|
+
}
|
63
|
+
.cm-fat-cursor-mark {
|
64
|
+
background-color: rgba(20, 255, 20, 0.5);
|
65
|
+
-webkit-animation: blink 1.06s steps(1) infinite;
|
66
|
+
-moz-animation: blink 1.06s steps(1) infinite;
|
67
|
+
animation: blink 1.06s steps(1) infinite;
|
68
|
+
}
|
69
|
+
.cm-animate-fat-cursor {
|
70
|
+
width: auto;
|
71
|
+
-webkit-animation: blink 1.06s steps(1) infinite;
|
72
|
+
-moz-animation: blink 1.06s steps(1) infinite;
|
73
|
+
animation: blink 1.06s steps(1) infinite;
|
74
|
+
background-color: #7e7;
|
75
|
+
}
|
76
|
+
@-moz-keyframes blink {
|
77
|
+
0% {}
|
78
|
+
50% { background-color: transparent; }
|
79
|
+
100% {}
|
80
|
+
}
|
81
|
+
@-webkit-keyframes blink {
|
82
|
+
0% {}
|
83
|
+
50% { background-color: transparent; }
|
84
|
+
100% {}
|
85
|
+
}
|
86
|
+
@keyframes blink {
|
87
|
+
0% {}
|
88
|
+
50% { background-color: transparent; }
|
89
|
+
100% {}
|
90
|
+
}
|
91
|
+
|
92
|
+
/* Can style cursor different in overwrite (non-insert) mode */
|
93
|
+
.CodeMirror-overwrite .CodeMirror-cursor {}
|
94
|
+
|
95
|
+
.cm-tab { display: inline-block; text-decoration: inherit; }
|
96
|
+
|
97
|
+
.CodeMirror-rulers {
|
98
|
+
position: absolute;
|
99
|
+
left: 0; right: 0; top: -50px; bottom: 0;
|
100
|
+
overflow: hidden;
|
101
|
+
}
|
102
|
+
.CodeMirror-ruler {
|
103
|
+
border-left: 1px solid #ccc;
|
104
|
+
top: 0; bottom: 0;
|
105
|
+
position: absolute;
|
106
|
+
}
|
107
|
+
|
108
|
+
/* DEFAULT THEME */
|
109
|
+
|
110
|
+
.cm-s-default .cm-header {color: blue;}
|
111
|
+
.cm-s-default .cm-quote {color: #090;}
|
112
|
+
.cm-negative {color: #d44;}
|
113
|
+
.cm-positive {color: #292;}
|
114
|
+
.cm-header, .cm-strong {font-weight: bold;}
|
115
|
+
.cm-em {font-style: italic;}
|
116
|
+
.cm-link {text-decoration: underline;}
|
117
|
+
.cm-strikethrough {text-decoration: line-through;}
|
118
|
+
|
119
|
+
.cm-s-default .cm-keyword {color: #708;}
|
120
|
+
.cm-s-default .cm-atom {color: #219;}
|
121
|
+
.cm-s-default .cm-number {color: #164;}
|
122
|
+
.cm-s-default .cm-def {color: #00f;}
|
123
|
+
.cm-s-default .cm-variable,
|
124
|
+
.cm-s-default .cm-punctuation,
|
125
|
+
.cm-s-default .cm-property,
|
126
|
+
.cm-s-default .cm-operator {}
|
127
|
+
.cm-s-default .cm-variable-2 {color: #05a;}
|
128
|
+
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
|
129
|
+
.cm-s-default .cm-comment {color: #a50;}
|
130
|
+
.cm-s-default .cm-string {color: #a11;}
|
131
|
+
.cm-s-default .cm-string-2 {color: #f50;}
|
132
|
+
.cm-s-default .cm-meta {color: #555;}
|
133
|
+
.cm-s-default .cm-qualifier {color: #555;}
|
134
|
+
.cm-s-default .cm-builtin {color: #30a;}
|
135
|
+
.cm-s-default .cm-bracket {color: #997;}
|
136
|
+
.cm-s-default .cm-tag {color: #170;}
|
137
|
+
.cm-s-default .cm-attribute {color: #00c;}
|
138
|
+
.cm-s-default .cm-hr {color: #999;}
|
139
|
+
.cm-s-default .cm-link {color: #00c;}
|
140
|
+
|
141
|
+
.cm-s-default .cm-error {color: #f00;}
|
142
|
+
.cm-invalidchar {color: #f00;}
|
143
|
+
|
144
|
+
.CodeMirror-composing { border-bottom: 2px solid; }
|
145
|
+
|
146
|
+
/* Default styles for common addons */
|
147
|
+
|
148
|
+
div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
|
149
|
+
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
|
150
|
+
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
|
151
|
+
.CodeMirror-activeline-background {background: #e8f2ff;}
|
152
|
+
|
153
|
+
/* STOP */
|
154
|
+
|
155
|
+
/* The rest of this file contains styles related to the mechanics of
|
156
|
+
the editor. You probably shouldn't touch them. */
|
157
|
+
|
158
|
+
.CodeMirror {
|
159
|
+
position: relative;
|
160
|
+
overflow: hidden;
|
161
|
+
background: white;
|
162
|
+
}
|
163
|
+
|
164
|
+
.CodeMirror-scroll {
|
165
|
+
overflow: scroll !important; /* Things will break if this is overridden */
|
166
|
+
/* 50px is the magic margin used to hide the element's real scrollbars */
|
167
|
+
/* See overflow: hidden in .CodeMirror */
|
168
|
+
margin-bottom: -50px; margin-right: -50px;
|
169
|
+
padding-bottom: 50px;
|
170
|
+
height: 100%;
|
171
|
+
outline: none; /* Prevent dragging from highlighting the element */
|
172
|
+
position: relative;
|
173
|
+
}
|
174
|
+
.CodeMirror-sizer {
|
175
|
+
position: relative;
|
176
|
+
border-right: 50px solid transparent;
|
177
|
+
}
|
178
|
+
|
179
|
+
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
180
|
+
before actual scrolling happens, thus preventing shaking and
|
181
|
+
flickering artifacts. */
|
182
|
+
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
183
|
+
position: absolute;
|
184
|
+
z-index: 6;
|
185
|
+
display: none;
|
186
|
+
outline: none;
|
187
|
+
}
|
188
|
+
.CodeMirror-vscrollbar {
|
189
|
+
right: 0; top: 0;
|
190
|
+
overflow-x: hidden;
|
191
|
+
overflow-y: scroll;
|
192
|
+
}
|
193
|
+
.CodeMirror-hscrollbar {
|
194
|
+
bottom: 0; left: 0;
|
195
|
+
overflow-y: hidden;
|
196
|
+
overflow-x: scroll;
|
197
|
+
}
|
198
|
+
.CodeMirror-scrollbar-filler {
|
199
|
+
right: 0; bottom: 0;
|
200
|
+
}
|
201
|
+
.CodeMirror-gutter-filler {
|
202
|
+
left: 0; bottom: 0;
|
203
|
+
}
|
204
|
+
|
205
|
+
.CodeMirror-gutters {
|
206
|
+
position: absolute; left: 0; top: 0;
|
207
|
+
min-height: 100%;
|
208
|
+
z-index: 3;
|
209
|
+
}
|
210
|
+
.CodeMirror-gutter {
|
211
|
+
white-space: normal;
|
212
|
+
height: 100%;
|
213
|
+
display: inline-block;
|
214
|
+
vertical-align: top;
|
215
|
+
margin-bottom: -50px;
|
216
|
+
}
|
217
|
+
.CodeMirror-gutter-wrapper {
|
218
|
+
position: absolute;
|
219
|
+
z-index: 4;
|
220
|
+
background: none !important;
|
221
|
+
border: none !important;
|
222
|
+
}
|
223
|
+
.CodeMirror-gutter-background {
|
224
|
+
position: absolute;
|
225
|
+
top: 0; bottom: 0;
|
226
|
+
z-index: 4;
|
227
|
+
}
|
228
|
+
.CodeMirror-gutter-elt {
|
229
|
+
position: absolute;
|
230
|
+
cursor: default;
|
231
|
+
z-index: 4;
|
232
|
+
}
|
233
|
+
.CodeMirror-gutter-wrapper ::selection { background-color: transparent }
|
234
|
+
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }
|
235
|
+
|
236
|
+
.CodeMirror-lines {
|
237
|
+
cursor: text;
|
238
|
+
min-height: 1px; /* prevents collapsing before first draw */
|
239
|
+
}
|
240
|
+
.CodeMirror pre.CodeMirror-line,
|
241
|
+
.CodeMirror pre.CodeMirror-line-like {
|
242
|
+
/* Reset some styles that the rest of the page might have set */
|
243
|
+
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
|
244
|
+
border-width: 0;
|
245
|
+
background: transparent;
|
246
|
+
font-family: inherit;
|
247
|
+
font-size: inherit;
|
248
|
+
margin: 0;
|
249
|
+
white-space: pre;
|
250
|
+
word-wrap: normal;
|
251
|
+
line-height: inherit;
|
252
|
+
color: inherit;
|
253
|
+
z-index: 2;
|
254
|
+
position: relative;
|
255
|
+
overflow: visible;
|
256
|
+
-webkit-tap-highlight-color: transparent;
|
257
|
+
-webkit-font-variant-ligatures: contextual;
|
258
|
+
font-variant-ligatures: contextual;
|
259
|
+
}
|
260
|
+
.CodeMirror-wrap pre.CodeMirror-line,
|
261
|
+
.CodeMirror-wrap pre.CodeMirror-line-like {
|
262
|
+
word-wrap: break-word;
|
263
|
+
white-space: pre-wrap;
|
264
|
+
word-break: normal;
|
265
|
+
}
|
266
|
+
|
267
|
+
.CodeMirror-linebackground {
|
268
|
+
position: absolute;
|
269
|
+
left: 0; right: 0; top: 0; bottom: 0;
|
270
|
+
z-index: 0;
|
271
|
+
}
|
272
|
+
|
273
|
+
.CodeMirror-linewidget {
|
274
|
+
position: relative;
|
275
|
+
z-index: 2;
|
276
|
+
padding: 0.1px; /* Force widget margins to stay inside of the container */
|
277
|
+
}
|
278
|
+
|
279
|
+
.CodeMirror-widget {}
|
280
|
+
|
281
|
+
.CodeMirror-rtl pre { direction: rtl; }
|
282
|
+
|
283
|
+
.CodeMirror-code {
|
284
|
+
outline: none;
|
285
|
+
}
|
286
|
+
|
287
|
+
/* Force content-box sizing for the elements where we expect it */
|
288
|
+
.CodeMirror-scroll,
|
289
|
+
.CodeMirror-sizer,
|
290
|
+
.CodeMirror-gutter,
|
291
|
+
.CodeMirror-gutters,
|
292
|
+
.CodeMirror-linenumber {
|
293
|
+
-moz-box-sizing: content-box;
|
294
|
+
box-sizing: content-box;
|
295
|
+
}
|
296
|
+
|
297
|
+
.CodeMirror-measure {
|
298
|
+
position: absolute;
|
299
|
+
width: 100%;
|
300
|
+
height: 0;
|
301
|
+
overflow: hidden;
|
302
|
+
visibility: hidden;
|
303
|
+
}
|
304
|
+
|
305
|
+
.CodeMirror-cursor {
|
306
|
+
position: absolute;
|
307
|
+
pointer-events: none;
|
308
|
+
}
|
309
|
+
.CodeMirror-measure pre { position: static; }
|
310
|
+
|
311
|
+
div.CodeMirror-cursors {
|
312
|
+
visibility: hidden;
|
313
|
+
position: relative;
|
314
|
+
z-index: 3;
|
315
|
+
}
|
316
|
+
div.CodeMirror-dragcursors {
|
317
|
+
visibility: visible;
|
318
|
+
}
|
319
|
+
|
320
|
+
.CodeMirror-focused div.CodeMirror-cursors {
|
321
|
+
visibility: visible;
|
322
|
+
}
|
323
|
+
|
324
|
+
.CodeMirror-selected { background: #d9d9d9; }
|
325
|
+
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
326
|
+
.CodeMirror-crosshair { cursor: crosshair; }
|
327
|
+
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
|
328
|
+
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
|
329
|
+
|
330
|
+
.cm-searching {
|
331
|
+
background-color: #ffa;
|
332
|
+
background-color: rgba(255, 255, 0, .4);
|
333
|
+
}
|
334
|
+
|
335
|
+
/* Used to force a border model for a node */
|
336
|
+
.cm-force-border { padding-right: .1px; }
|
337
|
+
|
338
|
+
@media print {
|
339
|
+
/* Hide the cursor when printing */
|
340
|
+
.CodeMirror div.CodeMirror-cursors {
|
341
|
+
visibility: hidden;
|
342
|
+
}
|
343
|
+
}
|
344
|
+
|
345
|
+
/* See issue #2901 */
|
346
|
+
.cm-tab-wrap-hack:after { content: ''; }
|
347
|
+
|
348
|
+
/* Help users use markselection to safely style text background */
|
349
|
+
span.CodeMirror-selectedtext { background: none; }
|