vue_crud 0.1.9.6 → 0.1.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/vue_crud/froala_generator.rb +12 -0
- data/lib/generators/vue_crud/sortable.rb +10 -0
- data/lib/generators/vue_crud/templates/assets/images/froala_editor/color_picker.png +0 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/froala_editor.js +11089 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/languages/en_gb.js +178 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/languages/zh_cn.js +234 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/languages/zh_tw.js +234 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/align.js +119 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/char_counter.js +150 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/code_beautifier.js +3271 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/code_view.js +311 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/colors.js +350 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/draggable.js +379 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/emoticons.js +347 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/entities.js +113 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/file.js +609 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/font_family.js +178 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/font_size.js +116 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/forms.js +415 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/fullscreen.js +209 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/image.js +2401 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/image_manager.js +921 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/inline_style.js +86 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/line_breaker.js +435 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/link.js +997 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/lists.js +382 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/paragraph_format.js +293 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/paragraph_style.js +139 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/quick_insert.js +342 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/quote.js +138 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/save.js +176 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/table.js +3123 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/url.js +113 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/froala_editor/plugins/video.js +1135 -0
- data/lib/generators/vue_crud/templates/assets/javascripts/sortable.js +1249 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/froala_editor.scss +1008 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/froala_style.scss +273 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/char_counter.scss +46 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/code_view.scss +102 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/colors.scss +129 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/draggable.scss +32 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/emoticons.scss +27 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/file.scss +135 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/fullscreen.scss +28 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/image.scss +233 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/image_manager.scss +370 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/line_breaker.scss +26 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/quick_insert.scss +56 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/table.scss +156 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/plugins/video.scss +136 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/themes/dark.scss +1087 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/themes/gray.scss +1087 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/themes/red.scss +1087 -0
- data/lib/generators/vue_crud/templates/assets/stylesheets/froala_editor/themes/royal.scss +1087 -0
- data/lib/generators/vue_crud/templates/vue_crud.html +54 -71
- data/lib/vue_crud/version.rb +1 -1
- data/vendor/assets/javascripts/vue_crud.js +212 -59
- metadata +56 -2
@@ -0,0 +1,136 @@
|
|
1
|
+
/*!
|
2
|
+
* froala_editor v2.3.3 (https://www.froala.com/wysiwyg-editor)
|
3
|
+
* License https://froala.com/wysiwyg-editor/terms/
|
4
|
+
* Copyright 2014-2016 Froala Labs
|
5
|
+
*/
|
6
|
+
|
7
|
+
.clearfix::after {
|
8
|
+
clear: both;
|
9
|
+
display: block;
|
10
|
+
content: "";
|
11
|
+
}
|
12
|
+
.fr-element .fr-video {
|
13
|
+
user-select: none;
|
14
|
+
-o-user-select: none;
|
15
|
+
-moz-user-select: none;
|
16
|
+
-khtml-user-select: none;
|
17
|
+
-webkit-user-select: none;
|
18
|
+
-ms-user-select: none;
|
19
|
+
}
|
20
|
+
.fr-element .fr-video::after {
|
21
|
+
position: absolute;
|
22
|
+
content: '';
|
23
|
+
z-index: 1;
|
24
|
+
top: 0;
|
25
|
+
left: 0;
|
26
|
+
right: 0;
|
27
|
+
bottom: 0;
|
28
|
+
cursor: pointer;
|
29
|
+
display: block;
|
30
|
+
background: rgba(0, 0, 0, 0);
|
31
|
+
}
|
32
|
+
.fr-element .fr-video.fr-active > * {
|
33
|
+
z-index: 2;
|
34
|
+
position: relative;
|
35
|
+
}
|
36
|
+
.fr-element .fr-video > * {
|
37
|
+
-webkit-box-sizing: content-box;
|
38
|
+
-moz-box-sizing: content-box;
|
39
|
+
box-sizing: content-box;
|
40
|
+
max-width: 100%;
|
41
|
+
border: none;
|
42
|
+
}
|
43
|
+
.fr-box .fr-video-resizer {
|
44
|
+
position: absolute;
|
45
|
+
border: solid 1px #1e88e5;
|
46
|
+
display: none;
|
47
|
+
user-select: none;
|
48
|
+
-o-user-select: none;
|
49
|
+
-moz-user-select: none;
|
50
|
+
-khtml-user-select: none;
|
51
|
+
-webkit-user-select: none;
|
52
|
+
-ms-user-select: none;
|
53
|
+
}
|
54
|
+
.fr-box .fr-video-resizer.fr-active {
|
55
|
+
display: block;
|
56
|
+
}
|
57
|
+
.fr-box .fr-video-resizer .fr-handler {
|
58
|
+
display: block;
|
59
|
+
position: absolute;
|
60
|
+
background: #1e88e5;
|
61
|
+
border: solid 1px #ffffff;
|
62
|
+
z-index: 4;
|
63
|
+
-webkit-box-sizing: border-box;
|
64
|
+
-moz-box-sizing: border-box;
|
65
|
+
box-sizing: border-box;
|
66
|
+
}
|
67
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hnw {
|
68
|
+
cursor: nw-resize;
|
69
|
+
}
|
70
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hne {
|
71
|
+
cursor: ne-resize;
|
72
|
+
}
|
73
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hsw {
|
74
|
+
cursor: sw-resize;
|
75
|
+
}
|
76
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hse {
|
77
|
+
cursor: se-resize;
|
78
|
+
}
|
79
|
+
.fr-box .fr-video-resizer .fr-handler {
|
80
|
+
width: 12px;
|
81
|
+
height: 12px;
|
82
|
+
}
|
83
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hnw {
|
84
|
+
left: -6px;
|
85
|
+
top: -6px;
|
86
|
+
}
|
87
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hne {
|
88
|
+
right: -6px;
|
89
|
+
top: -6px;
|
90
|
+
}
|
91
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hsw {
|
92
|
+
left: -6px;
|
93
|
+
bottom: -6px;
|
94
|
+
}
|
95
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hse {
|
96
|
+
right: -6px;
|
97
|
+
bottom: -6px;
|
98
|
+
}
|
99
|
+
@media (min-width: 1200px) {
|
100
|
+
.fr-box .fr-video-resizer .fr-handler {
|
101
|
+
width: 10px;
|
102
|
+
height: 10px;
|
103
|
+
}
|
104
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hnw {
|
105
|
+
left: -5px;
|
106
|
+
top: -5px;
|
107
|
+
}
|
108
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hne {
|
109
|
+
right: -5px;
|
110
|
+
top: -5px;
|
111
|
+
}
|
112
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hsw {
|
113
|
+
left: -5px;
|
114
|
+
bottom: -5px;
|
115
|
+
}
|
116
|
+
.fr-box .fr-video-resizer .fr-handler.fr-hse {
|
117
|
+
right: -5px;
|
118
|
+
bottom: -5px;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
.fr-video-size-layer .fr-video-group .fr-input-line {
|
122
|
+
width: calc(50% - 5px);
|
123
|
+
display: inline-block;
|
124
|
+
}
|
125
|
+
.fr-video-size-layer .fr-video-group .fr-input-line + .fr-input-line {
|
126
|
+
margin-left: 10px;
|
127
|
+
}
|
128
|
+
.fr-video-overlay {
|
129
|
+
position: fixed;
|
130
|
+
top: 0;
|
131
|
+
left: 0;
|
132
|
+
bottom: 0;
|
133
|
+
right: 0;
|
134
|
+
z-index: 9999;
|
135
|
+
display: none;
|
136
|
+
}
|