jqueryte 0.0.1

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.
@@ -0,0 +1,457 @@
1
+ /*!
2
+ *
3
+ * jQuery TE 1.4.0 , http://jqueryte.com/
4
+ * Copyright (C) 2013, Fatih Koca (fattih@fattih.com), (http://jqueryte.com/about)
5
+
6
+ * jQuery TE is provided under the MIT LICENSE.
7
+ *
8
+ */
9
+
10
+ /* editor's general field */
11
+ .jqte {
12
+ margin:30px 0;
13
+ border:#000 1px solid;
14
+ border-radius:5px; -webkit-border-radius:5px; -moz-border-radius:5px;
15
+ box-shadow:0 0 3px #999; -webkit-box-shadow:0 0 3px #999; -moz-box-shadow:0 0 3px #999;
16
+ overflow:hidden;
17
+ transition:box-shadow 0.4s, border 0.4s; -webkit-transition:-webkit-box-shadow 0.4s, border 0.4s; -moz-transition:-moz-box-shadow 0.4s, border 0.4s; -o-transition:-o-box-shadow 0.4s, border 0.4s;
18
+ }
19
+ .jqte * {
20
+ color:#333;
21
+ font-family:Arial, Helvetica, sans-serif;
22
+ font-size:14px;
23
+ }
24
+ .jqte_focused {
25
+ border-color:#00AAE7;
26
+ box-shadow:0 0 10px #00BDFF; -webkit-box-shadow:0 0 10px #00BDFF; -moz-box-shadow:0 0 10px #00BDFF;
27
+ }
28
+ /* toolbar */
29
+ .jqte_toolbar {
30
+ overflow:auto;
31
+ padding:3px 4px;
32
+ background:#EEE;
33
+ border-bottom:#BBB 1px solid;
34
+ }
35
+ .jqte_tool {
36
+ float:left;
37
+ margin:0;
38
+ padding:0;
39
+ cursor:pointer;
40
+ }
41
+ .jqte_tool, .jqte_tool_icon, .jqte_tool_label {
42
+ border:#EEE 1px solid;
43
+ border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px
44
+ }
45
+ .jqte_hiddenField {
46
+ display:none
47
+ }
48
+ .jqte_tool_icon {
49
+ display:block;
50
+ width:22px;
51
+ height:22px;
52
+ background:url(jquery-te.png) no-repeat
53
+ }
54
+ .jqte_tool.jqte_tool_1 .jqte_tool_label {
55
+ position:relative;
56
+ display:block;
57
+ padding:3px;
58
+ width:70px;
59
+ height:16px;
60
+ overflow:hidden;
61
+ }
62
+ .jqte_tool.jqte_tool_1 .jqte_tool_text {
63
+ font:bold 13px Arial,sans-serif;
64
+ color:#222;
65
+ }
66
+ .jqte_tool.jqte_tool_1 .jqte_tool_icon {
67
+ position:absolute;
68
+ top:10px;
69
+ right:2px;
70
+ width:6px;
71
+ height:4px;
72
+ background-position:-19px -23px;
73
+ border:none;
74
+ border-radius:none; -webkit-border-radius:none; -moz-border-radius:none
75
+ }
76
+ .jqte_tool.jqte_tool_2 .jqte_tool_icon {
77
+ background-position:0 0
78
+ }
79
+ .jqte_tool.jqte_tool_3 .jqte_tool_icon {
80
+ background-position:-22px 0
81
+ }
82
+ .jqte_tool.jqte_tool_4 .jqte_tool_icon {
83
+ background-position:-44px 0
84
+ }
85
+ .jqte_tool.jqte_tool_5 .jqte_tool_icon {
86
+ background-position:-66px 0
87
+ }
88
+ .jqte_tool.jqte_tool_6 .jqte_tool_icon {
89
+ background-position:-88px 0
90
+ }
91
+ .jqte_tool.jqte_tool_7 .jqte_tool_icon {
92
+ background-position:-110px 0
93
+ }
94
+ .jqte_tool.jqte_tool_8 .jqte_tool_icon {
95
+ background-position:-132px 0
96
+ }
97
+ .jqte_tool.jqte_tool_9 .jqte_tool_icon {
98
+ background-position:-154px 0
99
+ }
100
+ .jqte_tool.jqte_tool_10 .jqte_tool_icon {
101
+ background-position:-176px 0
102
+ }
103
+ .jqte_tool.jqte_tool_11 .jqte_tool_icon {
104
+ background-position:-198px 0
105
+ }
106
+ .jqte_tool.jqte_tool_12 .jqte_tool_icon {
107
+ background-position:-220px 0
108
+ }
109
+ .jqte_tool.jqte_tool_13 .jqte_tool_icon {
110
+ background-position:-242px 0
111
+ }
112
+ .jqte_tool.jqte_tool_14 .jqte_tool_icon {
113
+ background-position:-264px 0
114
+ }
115
+ .jqte_tool.jqte_tool_15 .jqte_tool_icon {
116
+ background-position:-286px 0
117
+ }
118
+ .jqte_tool.jqte_tool_16 .jqte_tool_icon {
119
+ background-position:-308px 0
120
+ }
121
+ .jqte_tool.jqte_tool_17 .jqte_tool_icon {
122
+ background-position:-330px 0
123
+ }
124
+ .jqte_tool.jqte_tool_18 .jqte_tool_icon {
125
+ background-position:-352px 0
126
+ }
127
+ .jqte_tool.jqte_tool_19 .jqte_tool_icon {
128
+ background-position:-374px 0
129
+ }
130
+ .jqte_tool.jqte_tool_20 .jqte_tool_icon {
131
+ background-position:-396px 0
132
+ }
133
+ .jqte_tool.jqte_tool_21 .jqte_tool_icon {
134
+ background-position:-418px 0
135
+ }
136
+ .jqte_tool:hover {
137
+ background-color:#FFF;
138
+ border-color:#FFF
139
+ }
140
+ .jqte_tool:hover .jqte_tool_icon, .jqte_tool:hover .jqte_tool_label {
141
+ border:#AAA 1px solid
142
+ }
143
+ .jqte_tool:active .jqte_tool_icon, .jqte_tool:active .jqte_tool_label {
144
+ border:#777 1px solid
145
+ }
146
+ .jqte_tool.jqte_tool_1:hover .jqte_tool_icon, .jqte_tool.jqte_tool_1:active .jqte_tool_icon {
147
+ border:none
148
+ }
149
+ .jqte_tool_depressed {
150
+ background-color:#DDD;
151
+ border-color:#CCC
152
+ }
153
+ .jqte_tool_depressed .jqte_tool_icon {
154
+ border-color:#AAA
155
+ }
156
+ .jqte_tool_depressed:hover {
157
+ background-color:#EEE
158
+ }
159
+ /* link form area */
160
+ .jqte_linkform {
161
+ padding:5px 10px;
162
+ background:#DDD;
163
+ border-bottom:#BBB 1px solid;
164
+ }
165
+ .jqte_linktypeselect {
166
+ position:relative;
167
+ float:left;
168
+ width:130px;
169
+ background:#EEE;
170
+ cursor:pointer
171
+ }
172
+ .jqte_linktypeselect:Active {
173
+ background:#FFF
174
+ }
175
+ .jqte_linktypeview {
176
+ padding:3px 5px;
177
+ border:#333 1px solid;
178
+ color:#777;
179
+ border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px;
180
+ outline:none
181
+ }
182
+ .jqte_linktypetext {
183
+ font-size:12px;
184
+ }
185
+ .jqte_linktypearrow {
186
+ position:absolute;
187
+ bottom:8px; right:6px;
188
+ width:7px;
189
+ height:6px;
190
+ margin:0 auto;
191
+ background:url(jquery-te.png) -7px -23px no-repeat;
192
+ }
193
+ .jqte_linktypes {
194
+ display:none;
195
+ position:absolute;
196
+ top:22px; left:1px;
197
+ width:125px;
198
+ background:#FFF;
199
+ border:#333 1px solid;
200
+ box-shadow:0 1px 4px #AAA; -webkit-box-shadow:0 1px 4px #AAA; -moz-box-shadow:0 1px 4px #AAA
201
+ }
202
+ .jqte_linktypes a {
203
+ display:block;
204
+ padding:4px 5px;
205
+ font-size:12px;
206
+ }
207
+ .jqte_linktypes a:hover {
208
+ background:#DDD
209
+ }
210
+ .jqte_linkinput {
211
+ float:left;
212
+ margin:0 5px;
213
+ padding:3px 5px;
214
+ width:300px;
215
+ background:#EEE;
216
+ border:#333 1px solid;
217
+ color:#777;
218
+ font-size:12px;
219
+ border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px;
220
+ outline:none;
221
+ }
222
+ .jqte_linkinput:focus, .jqte_linkinput:hover {
223
+ background:#FFF;
224
+ border-color:#000;
225
+ }
226
+ .jqte_linkbutton {
227
+ float:left;
228
+ padding:3px 12px;
229
+ background:#AAA;
230
+ border:#333 1px solid;
231
+ color:#FFF;
232
+ font-size:12px;
233
+ font-weight:bold;
234
+ cursor:pointer;
235
+ border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px;
236
+ box-shadow:inset 0 1px #EEE; -webkit-box-shadow:inset 0 1px #EEE; -moz-box-shadow:inset 0 1px #EEE;
237
+ }
238
+ .jqte_linkbutton:hover {
239
+ background:#A1A1A1
240
+ }
241
+ .jqte_linkbutton:active {
242
+ box-shadow:inset 0 1px #CCC; -webkit-box-shadow:inset 0 1px #CCC; -moz-box-shadow:inset 0 1px #CCC;
243
+ background:#888;
244
+ }
245
+
246
+ /* text format menu */
247
+ .jqte_formats {
248
+ display:none;
249
+ position:absolute;
250
+ width:180px;
251
+ oveflow-x:hidden;
252
+ overflow-y:auto;
253
+ background:#FFF;
254
+ border:#AAA 1px solid;
255
+ box-shadow:0 0 5px #AAA; -webkit-box-shadow:0 0 5px #AAA; -moz-box-shadow:0 0 5px #AAA;
256
+ z-index:100;
257
+ }
258
+ .jqte_format {
259
+ display:block;
260
+ padding:4px 7px;
261
+ font-size:13px
262
+ }
263
+ .jqte_format:hover {
264
+ background:#DDD
265
+ }
266
+ .jqte_format_1, .jqte_format_2, .jqte_format_3, .jqte_format_4, .jqte_format_5, .jqte_format_6 {
267
+ font-weight:bold
268
+ }
269
+ .jqte_format_1 {
270
+ font-size:22px
271
+ }
272
+ .jqte_format_2 {
273
+ font-size:20px
274
+ }
275
+ .jqte_format_3 {
276
+ font-size:18px
277
+ }
278
+ .jqte_format_4 {
279
+ font-size:16px
280
+ }
281
+ .jqte_format_5 {
282
+ font-size:14px
283
+ }
284
+ .jqte_format_6 {
285
+ font-size:12px
286
+ }
287
+ .jqte_format_7 {
288
+ font-family:"Courier New", Courier, monospace
289
+ }
290
+
291
+ /* font size menu */
292
+ .jqte_fontsizes {
293
+ display:none;
294
+ position:absolute;
295
+ width:180px;
296
+ height:198px;
297
+ oveflow-x:hidden;
298
+ overflow-y:auto;
299
+ background:#FFF;
300
+ border:#AAA 1px solid;
301
+ box-shadow:0 0 5px #AAA; -webkit-box-shadow:0 0 5px #AAA; -moz-box-shadow:0 0 5px #AAA
302
+ }
303
+ .jqte_fontsize {
304
+ display:block;
305
+ padding:3px 7px;
306
+ }
307
+ .jqte_fontsize:hover {
308
+ background:#DDD
309
+ }
310
+
311
+ /* color pallette */
312
+ .jqte_cpalette {
313
+ display:none;
314
+ position:absolute;
315
+ padding:6px;
316
+ width:144px;
317
+ background:#FFF;
318
+ border:#AAA 1px solid;
319
+ box-shadow:0 0 5px #AAA; -webkit-box-shadow:0 0 5px #AAA; -moz-box-shadow:0 0 5px #AAA
320
+ }
321
+ .jqte_color {
322
+ display:block;
323
+ float:left;
324
+ width:16px;
325
+ height:16px;
326
+ border:#FFF 1px solid;
327
+ }
328
+ .jqte_color:hover {
329
+ border-color:#000
330
+ }
331
+ .jqte_colorSeperator {
332
+ float:none;
333
+ clear:both;
334
+ height:7px;
335
+ }
336
+
337
+ /* editor area */
338
+ .jqte_editor, .jqte_source {
339
+ padding:10px;
340
+ background:#FFF;
341
+ min-height:100px;
342
+ max-height:900px;
343
+ overflow:auto;
344
+ outline:none;
345
+ word-wrap:break-word; -ms-word-wrap:break-word;
346
+ resize:vertical
347
+ }
348
+ .jqte_editor div, .jqte_editor p {
349
+ margin:0 0 7px
350
+ }
351
+ .jqte_editor a:link, .jqte_editor a:link * {
352
+ color:#0066FF !important;
353
+ text-decoration:underline;
354
+ }
355
+ .jqte_editor blockquote {
356
+ margin-top:0;
357
+ margin-bottom:7px
358
+ }
359
+ .jqte_editor img {
360
+ float:left;
361
+ margin:0 10px 5px 0
362
+ }
363
+ .jqte_editor a[jqte-setlink], .jqte_editor a[jqte-setlink] * {
364
+ background:#3297FD !important;
365
+ color:#FFF !important
366
+ }
367
+ .jqte_editor h1, .jqte_editor h2, .jqte_editor h3, .jqte_editor h4, .jqte_editor h5, .jqte_editor h6, .jqte_editor pre {
368
+ display:block;
369
+ margin:0 0 3px;
370
+ }
371
+ .jqte_editor h1, .jqte_editor h1 * {
372
+ font-size:26px
373
+ }
374
+ .jqte_editor h2, .jqte_editor h2 * {
375
+ font-size:24px
376
+ }
377
+ .jqte_editor h3, .jqte_editor h3 * {
378
+ font-size:22px
379
+ }
380
+ .jqte_editor h4, .jqte_editor h4 * {
381
+ font-size:20px
382
+ }
383
+ .jqte_editor h5, .jqte_editor h5 * {
384
+ font-size:18px
385
+ }
386
+ .jqte_editor h6, .jqte_editor h6 * {
387
+ font-size:15px
388
+ }
389
+ .jqte_editor pre, .jqte_editor pre * {
390
+ font-family:"Courier New", Courier, monospace
391
+ }
392
+
393
+ /* source area */
394
+ .jqte_source, .jqte_source textarea {
395
+ background:#FFF1E8
396
+ }
397
+ .jqte_source textarea {
398
+ margin:0 !important;
399
+ padding:0 !important;
400
+ display:block !important;
401
+ width:100% !important;
402
+ min-height:100px;
403
+ font-family:Courier, Arial, sans-serif !important;
404
+ font-weight:normal;
405
+ font-size:15px;
406
+ overflow:hidden !important;
407
+ outline:none;
408
+ resize:none;
409
+ }
410
+ .jqte_source textarea, .jqte_source textarea:focus {
411
+ css_shadow:none !important;
412
+ background:none !important;
413
+ border:none !important;
414
+ }
415
+
416
+ /* title box */
417
+ .jqte_title {
418
+ display:none;
419
+ position:absolute;
420
+ z-index:9999;
421
+ }
422
+ .jqte_titleArrow {
423
+ position:relative;
424
+ }
425
+ .jqte_titleArrowIcon {
426
+ width:7px;
427
+ height:6px;
428
+ margin:0 auto;
429
+ background:url(jquery-te.png) 0 -23px no-repeat;
430
+ }
431
+ .jqte_titleText {
432
+ padding:5px 7px;
433
+ margin-top:0;
434
+ min-width:5px;
435
+ min-height:1px;
436
+ max-width:400px;
437
+ background:#000;
438
+ border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px;
439
+ word-wrap:break-word; -ms-word-wrap:break-word
440
+ }
441
+ .jqte_titleText, .jqte_titleText * {
442
+ color:#FFF;
443
+ font-size:11px
444
+ }
445
+
446
+ /* placeholder */
447
+ .jqte_placeholder {
448
+ position:relative;
449
+ display:none;
450
+ }
451
+ .jqte_placeholder_text {
452
+ position:absolute;
453
+ top:43px;
454
+ left:10px;
455
+ font-size:14px;
456
+ color:#CCC;
457
+ }