@mapomodule/uikit 1.0.0-alpha.36 → 1.0.0-alpha.38
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.
- package/CHANGELOG.md +53 -0
- package/components/Detail/Detail.vue +1 -1
- package/components/Detail/DetailLangSwitch.vue +5 -0
- package/components/Form/Form.vue +2 -2
- package/components/Form/FormField.vue +67 -51
- package/components/Form/FormGroup.vue +32 -2
- package/components/Form/FormTabs.vue +32 -1
- package/components/Form/fields/ColorField.vue +1 -1
- package/components/Form/fields/DateField.vue +2 -5
- package/components/Form/fields/FksField.vue +1 -1
- package/components/Form/fields/MediaField.vue +1 -1
- package/components/Form/fields/MediaM2mField.vue +8 -3
- package/components/Form/fields/wygEditor/defaults.js +20 -52
- package/components/Form/fields/wygEditor/wygEditor.vue +49 -20
- package/components/MediaManager/MediaBreadcrumbs.vue +3 -2
- package/components/MediaManager/MediaFolders.vue +2 -41
- package/components/MediaManager/MediaGallery.vue +12 -13
- package/components/MediaManager/MediaManager.vue +2 -1
- package/components/MediaManager/MediaPreview.vue +11 -0
- package/components/layout/Sidebar/Sidebar.vue +38 -10
- package/components/layout/Sidebar/SidebarList.vue +4 -6
- package/components/layout/Sidebar/SidebarListItem.vue +11 -0
- package/components/layout/Sidebar/SidebarTitle.vue +42 -0
- package/components/layout/Topbar/Topbar.vue +11 -10
- package/defaults/vuetify.js +7 -6
- package/package.json +2 -2
- package/pages/index.vue +19 -17
- package/static/{favicon.ico → mapo/favicon.ico} +0 -0
- package/static/mapo/tinymce-skins/mapo-dark/content.inline.min.css +7 -0
- package/static/mapo/tinymce-skins/mapo-dark/content.min.css +7 -0
- package/static/mapo/tinymce-skins/mapo-dark/content.mobile.min.css +7 -0
- package/static/mapo/tinymce-skins/mapo-dark/skin.min.css +7 -0
- package/static/mapo/tinymce-skins/mapo-dark/skin.mobile.min.css +7 -0
- package/static/mapo/tinymce-skins/mapo-light/content.inline.min.css +7 -0
- package/static/mapo/tinymce-skins/mapo-light/content.min.css +7 -0
- package/static/mapo/tinymce-skins/mapo-light/content.mobile.min.css +7 -0
- package/static/mapo/tinymce-skins/mapo-light/skin.min.css +7 -0
- package/static/mapo/tinymce-skins/mapo-light/skin.mobile.min.css +7 -0
- package/components/layout/Sidebar/SidebarFooter.vue +0 -52
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="mapo-wyg-editor">
|
|
3
3
|
<media-manager-dialog ref="mediaManager"></media-manager-dialog>
|
|
4
|
-
<span v-if="label" class="v-label" :class="{'error--text':
|
|
4
|
+
<span v-if="label" class="v-label" :class="{'error--text': hasErrors, 'text--secondary': !hasErrors}">{{ label }}:</span>
|
|
5
5
|
<div ref="editorNode">
|
|
6
6
|
<v-skeleton-loader
|
|
7
7
|
type="table-heading, list-item-two-line, list-item-avatar-two-line, list-item-three-lineimage, table-tfoot"
|
|
@@ -13,6 +13,24 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
</template>
|
|
15
15
|
|
|
16
|
+
<style lang="scss">
|
|
17
|
+
.tox-notifications-container,
|
|
18
|
+
.tox-statusbar__branding {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
.v-label.error--text{
|
|
22
|
+
animation: v-shake 0.6s cubic-bezier(0.25, 0.8, 0.5, 1);
|
|
23
|
+
}
|
|
24
|
+
.tox-tinymce-aux {
|
|
25
|
+
z-index: 200 !important;
|
|
26
|
+
}
|
|
27
|
+
.mapo-field--has-errors{
|
|
28
|
+
.tox.tox-tinymce{
|
|
29
|
+
border: solid var(--v-error-base) 2px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
</style>
|
|
33
|
+
|
|
16
34
|
<script>
|
|
17
35
|
import initMapoMedia from "./utils/mapomedia.plugin.js";
|
|
18
36
|
import injectScript from "./utils/script.injector.js";
|
|
@@ -55,17 +73,23 @@ export default {
|
|
|
55
73
|
data() {
|
|
56
74
|
return {
|
|
57
75
|
editorInstance: null,
|
|
58
|
-
editorContent:
|
|
76
|
+
editorContent: this.value,
|
|
59
77
|
};
|
|
60
78
|
},
|
|
61
79
|
|
|
62
80
|
computed: {
|
|
81
|
+
hasErrors () { return this.errorMessages && this.errorMessages.length },
|
|
63
82
|
editor: {
|
|
64
83
|
cache: false,
|
|
65
84
|
get() {
|
|
66
85
|
return this.editorInstance;
|
|
67
86
|
},
|
|
68
87
|
},
|
|
88
|
+
defaultConfiguration(){
|
|
89
|
+
const { base } = this.$router.options;
|
|
90
|
+
const { isDark } = this.$vuetify.theme;
|
|
91
|
+
return defaults({ base, isDark })
|
|
92
|
+
}
|
|
69
93
|
},
|
|
70
94
|
|
|
71
95
|
mounted() {
|
|
@@ -76,18 +100,23 @@ export default {
|
|
|
76
100
|
initEditor() {
|
|
77
101
|
initMapoMedia(this.insertMediaCallback);
|
|
78
102
|
window.tinymce.init(
|
|
79
|
-
Object.assign(
|
|
103
|
+
Object.assign(this.defaultConfiguration, this.conf, {
|
|
80
104
|
target: this.$refs.editorNode,
|
|
81
105
|
readonly: this.readonly,
|
|
82
106
|
setup: (ctx) => this.setupEditor(ctx),
|
|
83
107
|
})
|
|
84
108
|
);
|
|
109
|
+
window.document.addEventListener('click', this.closeModal);
|
|
85
110
|
},
|
|
86
111
|
setupEditor(editor) {
|
|
87
112
|
this.editorInstance = editor;
|
|
88
113
|
editor.on("init", () => {
|
|
89
|
-
|
|
90
|
-
|
|
114
|
+
if (this.value){
|
|
115
|
+
editor.setContent(this.value);
|
|
116
|
+
this.emitContent(editor);
|
|
117
|
+
} else {
|
|
118
|
+
editor.setContent("");
|
|
119
|
+
}
|
|
91
120
|
editor.on("change input undo redo keyup", () =>
|
|
92
121
|
this.emitContent(editor)
|
|
93
122
|
);
|
|
@@ -108,6 +137,10 @@ export default {
|
|
|
108
137
|
});
|
|
109
138
|
}
|
|
110
139
|
},
|
|
140
|
+
closeModal(event){
|
|
141
|
+
if (event.target.classList.contains("tox-dialog-wrap__backdrop"))
|
|
142
|
+
this.editor.windowManager.close();
|
|
143
|
+
},
|
|
111
144
|
insertMediaCallback: async function () {
|
|
112
145
|
return new Promise((resolve, reject) => {
|
|
113
146
|
this.$refs.mediaManager.open()
|
|
@@ -136,9 +169,17 @@ export default {
|
|
|
136
169
|
.catch((error) => reject(error));
|
|
137
170
|
});
|
|
138
171
|
},
|
|
172
|
+
destroyEditor(){
|
|
173
|
+
window?.document?.removeEventListener('click', this.closeModal);
|
|
174
|
+
window?.tinymce?.remove(this.editor);
|
|
175
|
+
},
|
|
176
|
+
reloadEditor(){
|
|
177
|
+
this.destroyEditor();
|
|
178
|
+
this.initEditor();
|
|
179
|
+
}
|
|
139
180
|
},
|
|
140
181
|
beforeDestroy() {
|
|
141
|
-
|
|
182
|
+
this.destroyEditor();
|
|
142
183
|
},
|
|
143
184
|
watch: {
|
|
144
185
|
value(val) {
|
|
@@ -152,23 +193,11 @@ export default {
|
|
|
152
193
|
this.editor.setMode(val ? "readonly" : "design");
|
|
153
194
|
}
|
|
154
195
|
},
|
|
196
|
+
'$vuetify.theme.isDark'(){ this.reloadEditor(); }
|
|
155
197
|
},
|
|
156
198
|
};
|
|
157
199
|
</script>
|
|
158
200
|
|
|
159
|
-
<style>
|
|
160
|
-
.tox-notifications-container,
|
|
161
|
-
.tox-statusbar__branding {
|
|
162
|
-
display: none;
|
|
163
|
-
}
|
|
164
|
-
.v-label.error--text{
|
|
165
|
-
animation: v-shake 0.6s cubic-bezier(0.25, 0.8, 0.5, 1);
|
|
166
|
-
}
|
|
167
|
-
.tox-tinymce-aux {
|
|
168
|
-
z-index: 200 !important;
|
|
169
|
-
}
|
|
170
|
-
</style>
|
|
171
|
-
|
|
172
201
|
<docs>
|
|
173
202
|
|
|
174
203
|
### Defaults
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
import { mapGetters, mapActions } from "vuex";
|
|
39
39
|
|
|
40
40
|
export default {
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
name: "MediaBreadcrumbs",
|
|
42
|
+
computed: {...mapGetters("mapo/media", ["parentFolders"])},
|
|
43
|
+
methods: {...mapActions("mapo/media", ["getRoot"])},
|
|
43
44
|
};
|
|
44
45
|
</script>
|
|
@@ -160,6 +160,7 @@
|
|
|
160
160
|
|
|
161
161
|
<script>
|
|
162
162
|
import { mapGetters, mapActions } from "vuex";
|
|
163
|
+
import { slugify } from "@mapomodule/utils/helpers/formatters";
|
|
163
164
|
|
|
164
165
|
export default {
|
|
165
166
|
name: "MediaFolders",
|
|
@@ -205,16 +206,7 @@ export default {
|
|
|
205
206
|
this.dialog = false;
|
|
206
207
|
this.folderEdit = {};
|
|
207
208
|
},
|
|
208
|
-
slugify
|
|
209
|
-
return text
|
|
210
|
-
.toString()
|
|
211
|
-
.toLowerCase()
|
|
212
|
-
.replace(/\s+/g, "-") // Replace spaces with -
|
|
213
|
-
.replace(/[^\w\-]+/g, "") // Remove all non-word chars
|
|
214
|
-
.replace(/\-\-+/g, "-") // Replace multiple - with single -
|
|
215
|
-
.replace(/^-+/, "") // Trim - from start of text
|
|
216
|
-
.replace(/-+$/, ""); // Trim - from end of text
|
|
217
|
-
},
|
|
209
|
+
slugify,
|
|
218
210
|
},
|
|
219
211
|
computed: {
|
|
220
212
|
...mapGetters("mapo/media", [
|
|
@@ -235,37 +227,6 @@ export default {
|
|
|
235
227
|
expandOnHover: !this.isMobile,
|
|
236
228
|
};
|
|
237
229
|
},
|
|
238
|
-
rotate() {
|
|
239
|
-
return {
|
|
240
|
-
transform: this.expanded ? "rotate(180deg)" : "rotate(0deg)",
|
|
241
|
-
transition: "transform .3s cubic-bezier(0.25, 0.8, 0.5, 1)",
|
|
242
|
-
};
|
|
243
|
-
},
|
|
244
|
-
hideSlug() {
|
|
245
|
-
return {
|
|
246
|
-
maxWidth: this.expanded ? "105px" : "50px",
|
|
247
|
-
maxHeight: this.expanded ? "24px" : "18px",
|
|
248
|
-
opacity: this.expanded ? 0.8 : 0.8,
|
|
249
|
-
transform: this.expanded ? "scale(1)" : "scale(0.7)",
|
|
250
|
-
transition: "all .3s cubic-bezier(0.25, 0.8, 0.5, 1)",
|
|
251
|
-
};
|
|
252
|
-
},
|
|
253
|
-
parentFolder() {
|
|
254
|
-
return (
|
|
255
|
-
(this.parentFolders &&
|
|
256
|
-
this.parentFolders.length > 0 &&
|
|
257
|
-
this.parentFolders[this.parentFolders.length - 1]) ||
|
|
258
|
-
null
|
|
259
|
-
);
|
|
260
|
-
},
|
|
261
|
-
updirFolder() {
|
|
262
|
-
return (
|
|
263
|
-
(this.parentFolders &&
|
|
264
|
-
this.parentFolders.length > 1 &&
|
|
265
|
-
this.parentFolders[this.parentFolders.length - 2]) ||
|
|
266
|
-
null
|
|
267
|
-
);
|
|
268
|
-
},
|
|
269
230
|
},
|
|
270
231
|
};
|
|
271
232
|
</script>
|
|
@@ -10,18 +10,7 @@
|
|
|
10
10
|
class="elevation-4 media-gallery--selection-item"
|
|
11
11
|
/>
|
|
12
12
|
</div>
|
|
13
|
-
<div class="media-gallery--
|
|
14
|
-
<v-progress-circular
|
|
15
|
-
size="60"
|
|
16
|
-
color="primary"
|
|
17
|
-
indeterminate
|
|
18
|
-
></v-progress-circular>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="media-gallery--empty" v-else-if="!medias.length">
|
|
21
|
-
<v-icon size="60"> mdi-image-off-outline </v-icon>
|
|
22
|
-
<p>{{ $t("mapo.mediaGallery.noMediaFound") }}</p>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="media-gallery--masonry" v-else>
|
|
13
|
+
<div ref="masonry" class="media-gallery--masonry" v-if="medias.length">
|
|
25
14
|
<div
|
|
26
15
|
v-for="media in medias"
|
|
27
16
|
:key="media.file"
|
|
@@ -48,6 +37,14 @@
|
|
|
48
37
|
/>
|
|
49
38
|
</div>
|
|
50
39
|
</div>
|
|
40
|
+
<div class="media-gallery--loading" v-else-if="loading">
|
|
41
|
+
<v-icon size="30">mdi-timer-sand</v-icon>
|
|
42
|
+
{{ $t('mapo.fetchingData') }}
|
|
43
|
+
</div>
|
|
44
|
+
<div class="media-gallery--empty" v-else>
|
|
45
|
+
<v-icon size="60"> mdi-image-off-outline </v-icon>
|
|
46
|
+
<p>{{ $t("mapo.mediaGallery.noMediaFound") }}</p>
|
|
47
|
+
</div>
|
|
51
48
|
<v-pagination
|
|
52
49
|
class="mt-2"
|
|
53
50
|
v-if="pages > 1"
|
|
@@ -178,7 +175,9 @@ export default {
|
|
|
178
175
|
return this.page;
|
|
179
176
|
},
|
|
180
177
|
set(val) {
|
|
181
|
-
this.getRoot({ page: val })
|
|
178
|
+
this.getRoot({ page: val }).then(() => {
|
|
179
|
+
this.$refs.masonry?.scrollTo({ top: 0, behavior: "smooth" })
|
|
180
|
+
})
|
|
182
181
|
},
|
|
183
182
|
},
|
|
184
183
|
},
|
|
@@ -29,13 +29,14 @@
|
|
|
29
29
|
dense
|
|
30
30
|
clearable
|
|
31
31
|
:loading="loadingSearch"
|
|
32
|
-
class="mx-2 mt-2"
|
|
32
|
+
class="mx-2 mt-2 rounded-0"
|
|
33
33
|
></v-text-field>
|
|
34
34
|
<v-btn v-show="!$vuetify.breakpoint.xs" class="ma-2 ml-0" @click="getRoot" icon>
|
|
35
35
|
<v-icon>mdi-update</v-icon>
|
|
36
36
|
</v-btn>
|
|
37
37
|
</div>
|
|
38
38
|
</v-card-title>
|
|
39
|
+
<v-progress-linear v-if="loading" indeterminate></v-progress-linear>
|
|
39
40
|
<MediaBreadcrumbs/>
|
|
40
41
|
<v-card-text class="media-manager--card-text pa-0">
|
|
41
42
|
<v-tabs-items touchless v-model="tab" class="transparent fill-height">
|
|
@@ -162,11 +162,22 @@ export default {
|
|
|
162
162
|
return {
|
|
163
163
|
mouseenter: this.startVideoPreview,
|
|
164
164
|
mouseleave: this.stopVideoPreview,
|
|
165
|
+
touchstart: this.handleTouch
|
|
165
166
|
};
|
|
166
167
|
}
|
|
167
168
|
},
|
|
168
169
|
},
|
|
169
170
|
methods: {
|
|
171
|
+
handleTouch(event){
|
|
172
|
+
const video = this.$refs.video;
|
|
173
|
+
if (video && !this.playing) {
|
|
174
|
+
this.startVideoPreview()
|
|
175
|
+
event.preventDefault()
|
|
176
|
+
event.stopPropagation()
|
|
177
|
+
} else {
|
|
178
|
+
this.stopVideoPreview()
|
|
179
|
+
}
|
|
180
|
+
},
|
|
170
181
|
startVideoPreview() {
|
|
171
182
|
const video = this.$refs.video;
|
|
172
183
|
if (video && !this.playing) {
|
|
@@ -7,27 +7,50 @@
|
|
|
7
7
|
fixed
|
|
8
8
|
app
|
|
9
9
|
>
|
|
10
|
-
<div class="
|
|
11
|
-
<div>
|
|
12
|
-
<
|
|
10
|
+
<div class="menu--container">
|
|
11
|
+
<div class="menu--container-top">
|
|
12
|
+
<component v-if="componentExists('MapoSidebarTitleTopSlot')" :is="'MapoSidebarTitleTopSlot'" />
|
|
13
|
+
<component v-if="componentExists('MapoSidebarTitleSlot')" :is="'MapoSidebarTitleSlot'" />
|
|
14
|
+
<SidebarTitle v-else />
|
|
15
|
+
<component v-if="componentExists('MapoSidebarTitleBottomSlot')" :is="'MapoSidebarTitleBottomSlot'" />
|
|
13
16
|
<v-divider></v-divider>
|
|
14
17
|
</div>
|
|
15
|
-
<div class="
|
|
16
|
-
<
|
|
17
|
-
<
|
|
18
|
+
<div class="menu--container-center">
|
|
19
|
+
<component v-if="componentExists('MapoSidebarListTopSlot')" :is="'MapoSidebarListTopSlot'" />
|
|
20
|
+
<component v-if="componentExists('MapoSidebarListSlot')" :is="'MapoSidebarListSlot'" />
|
|
21
|
+
<SidebarList v-else :force-collapse="miniVariant" />
|
|
22
|
+
<component v-if="componentExists('MapoSidebarListBottomSlot')" :is="'MapoSidebarListBottomSlot'" />
|
|
18
23
|
</div>
|
|
24
|
+
<div class="menu--container-bottom">
|
|
25
|
+
<v-divider></v-divider>
|
|
26
|
+
<component v-if="componentExists('MapoSidebarListFooterTopSlot')" :is="'MapoSidebarListFooterTopSlot'" />
|
|
27
|
+
<component v-if="componentExists('MapoSidebarListFooterSlot')" :is="'MapoSidebarListFooterSlot'" />
|
|
28
|
+
<SidebarList v-else footer :force-collapse="miniVariant" />
|
|
29
|
+
<component v-if="componentExists('MapoSidebarListFooterBottomSlot')" :is="'MapoSidebarListFooterBottomSlot'" />
|
|
30
|
+
<v-divider></v-divider>
|
|
31
|
+
<component v-if="componentExists('MapoLogoutButtonTopSlot')" :is="'MapoLogoutButtonTopSlot'" />
|
|
32
|
+
<component v-if="componentExists('MapoLogoutButtonSlot')" :is="'MapoLogoutButtonSlot'" />
|
|
33
|
+
<LogoutButton v-else />
|
|
34
|
+
<component v-if="componentExists('MapoLogoutButtonBottomSlot')" :is="'MapoLogoutButtonBottomSlot'" />
|
|
35
|
+
</div>
|
|
19
36
|
</div>
|
|
20
37
|
</v-navigation-drawer>
|
|
21
38
|
</template>
|
|
22
39
|
|
|
23
40
|
<style lang="scss" scoped>
|
|
24
|
-
|
|
25
|
-
.menu_container {
|
|
41
|
+
.menu--container {
|
|
26
42
|
display: flex;
|
|
27
43
|
flex-direction: column;
|
|
28
44
|
height: 100%;
|
|
29
|
-
|
|
30
|
-
|
|
45
|
+
&-top{
|
|
46
|
+
justify-self: flex-start;
|
|
47
|
+
}
|
|
48
|
+
&-center{
|
|
49
|
+
flex: 1;
|
|
50
|
+
}
|
|
51
|
+
&-bottom{
|
|
52
|
+
justify-self: flex-end;
|
|
53
|
+
}
|
|
31
54
|
}
|
|
32
55
|
</style>
|
|
33
56
|
|
|
@@ -57,5 +80,10 @@ export default {
|
|
|
57
80
|
},
|
|
58
81
|
},
|
|
59
82
|
},
|
|
83
|
+
methods:{
|
|
84
|
+
componentExists(name){
|
|
85
|
+
return name in this.$options.components;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
60
88
|
};
|
|
61
89
|
</script>
|
|
@@ -21,19 +21,17 @@ import { buildRoutes } from "../routebuilder";
|
|
|
21
21
|
export default {
|
|
22
22
|
name: "SidebarList",
|
|
23
23
|
props: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
default: false
|
|
27
|
-
}
|
|
24
|
+
footer: Boolean,
|
|
25
|
+
forceCollapse: Boolean
|
|
28
26
|
},
|
|
29
27
|
data() {
|
|
30
28
|
return {
|
|
31
|
-
defaultIcon: ({label}) => `mdi-alpha-${label[0]}-box
|
|
29
|
+
defaultIcon: ({label}) => `mdi-alpha-${label[0]}-box-${ this.footer ? '' : 'outline'}`.toLowerCase(),
|
|
32
30
|
routes: this.routes,
|
|
33
31
|
};
|
|
34
32
|
},
|
|
35
33
|
mounted() {
|
|
36
|
-
this.routes = this.buildRoutes(this.$router.options.routes.filter(
|
|
34
|
+
this.routes = this.buildRoutes(this.$router.options.routes.filter(({ meta }) => !!meta?.sidebarFooter == this.footer));
|
|
37
35
|
},
|
|
38
36
|
methods: {
|
|
39
37
|
buildRoutes(routes) {
|
|
@@ -44,6 +44,17 @@
|
|
|
44
44
|
<style lang="scss" scoped>
|
|
45
45
|
@import "@mapomodule/uikit/assets/variables.scss";
|
|
46
46
|
|
|
47
|
+
.v-list-item::after{
|
|
48
|
+
content: '';
|
|
49
|
+
position: absolute;
|
|
50
|
+
background: rgba(0, 0, 0, 0.2);
|
|
51
|
+
height: 100%;
|
|
52
|
+
width: 4px;
|
|
53
|
+
left: 0;
|
|
54
|
+
}
|
|
55
|
+
.v-list-item.v-list-item--active::after{
|
|
56
|
+
background: var(--v-primary-base);
|
|
57
|
+
}
|
|
47
58
|
.expand-icon {
|
|
48
59
|
margin: 0 0 0 auto;
|
|
49
60
|
cursor: pointer;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<v-list-item class="sidebar-title--container">
|
|
3
|
+
<v-list-item-icon>
|
|
4
|
+
<v-icon color="secondary">mdi-artstation</v-icon>
|
|
5
|
+
</v-list-item-icon>
|
|
6
|
+
<v-list-item-title>
|
|
7
|
+
<b>BACKOFFICE</b>
|
|
8
|
+
</v-list-item-title>
|
|
9
|
+
<v-btn icon @click.stop="toggleMiniVariant">
|
|
10
|
+
<v-icon>mdi-chevron-left</v-icon>
|
|
11
|
+
</v-btn>
|
|
12
|
+
</v-list-item>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<style lang="scss">
|
|
16
|
+
.sidebar-title--container{
|
|
17
|
+
background: var(--v-primary-base);
|
|
18
|
+
color: var(--v-secondary-base);
|
|
19
|
+
}
|
|
20
|
+
</style>
|
|
21
|
+
|
|
22
|
+
<script>
|
|
23
|
+
// @vuese
|
|
24
|
+
export default {
|
|
25
|
+
computed: {
|
|
26
|
+
username() {
|
|
27
|
+
return this.isLoggedIn ? this.$mapo.$auth.user.username : "";
|
|
28
|
+
},
|
|
29
|
+
avatar() {
|
|
30
|
+
return this.$mapo.$auth.user.avatar;
|
|
31
|
+
},
|
|
32
|
+
isLoggedIn() {
|
|
33
|
+
return this.$mapo.$auth.user.isLoggedIn;
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
methods: {
|
|
37
|
+
toggleMiniVariant() {
|
|
38
|
+
this.$store.dispatch("mapo/app/toggleSidebarMinivariant");
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
</script>
|
|
@@ -6,23 +6,24 @@
|
|
|
6
6
|
flat
|
|
7
7
|
dense
|
|
8
8
|
>
|
|
9
|
-
<v-
|
|
10
|
-
<
|
|
11
|
-
<v-
|
|
12
|
-
<
|
|
9
|
+
<component v-if="componentExists('MapoTopBarLeftSlot')" :is="'MapoTopBarLeftSlot'" />
|
|
10
|
+
<component v-if="componentExists('MapoTopBarToggleIconSlot')" :is="'MapoTopBarToggleIconSlot'" :toggleSidebarDrawer="toggleSidebarDrawer" />
|
|
11
|
+
<v-app-bar-nav-icon v-else @click.stop="toggleSidebarDrawer" />
|
|
12
|
+
<component v-if="componentExists('MapoTopBarTitleSlot')" :is="'MapoTopBarTitleSlot'"/>
|
|
13
|
+
<v-spacer></v-spacer>
|
|
14
|
+
<component v-if="componentExists('MapoTopBarRightSlot')" :is="'MapoTopBarRightSlot'"/>
|
|
13
15
|
</v-app-bar>
|
|
14
16
|
</template>
|
|
15
17
|
|
|
16
18
|
<script>
|
|
19
|
+
import { mapActions } from 'vuex';
|
|
17
20
|
export default {
|
|
18
21
|
name: "Topbar",
|
|
19
|
-
props: {
|
|
20
|
-
title: String,
|
|
21
|
-
},
|
|
22
22
|
methods: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
...mapActions("mapo/app", ["toggleSidebarDrawer"]),
|
|
24
|
+
componentExists(name){
|
|
25
|
+
return name in this.$options.components;
|
|
26
|
+
}
|
|
26
27
|
},
|
|
27
28
|
};
|
|
28
29
|
</script>
|
package/defaults/vuetify.js
CHANGED
|
@@ -4,21 +4,22 @@ import { it, en } from "vuetify/lib/locale";
|
|
|
4
4
|
export default {
|
|
5
5
|
customVariables: ["@mapomodule/uikit/assets/variables.scss"],
|
|
6
6
|
theme: {
|
|
7
|
+
options: { customProperties: true },
|
|
7
8
|
dark: true,
|
|
8
9
|
themes: {
|
|
9
10
|
dark: {
|
|
10
|
-
primary:
|
|
11
|
-
|
|
12
|
-
secondary: colors.
|
|
11
|
+
primary: colors.lime.darken2,
|
|
12
|
+
secondary: colors.lightGreen.darken4,
|
|
13
|
+
secondary: colors.lightGreen.darken4,
|
|
13
14
|
info: colors.teal.lighten1,
|
|
14
15
|
warning: colors.amber.base,
|
|
15
16
|
error: "#FF5252",
|
|
16
17
|
success: colors.green.accent3,
|
|
17
18
|
},
|
|
18
19
|
light: {
|
|
19
|
-
primary:
|
|
20
|
-
accent: colors.
|
|
21
|
-
secondary: colors.
|
|
20
|
+
primary: colors.lime.darken2,
|
|
21
|
+
accent: colors.lightGreen.accent4,
|
|
22
|
+
secondary: colors.lightGreen.darken4,
|
|
22
23
|
info: colors.teal.lighten1,
|
|
23
24
|
warning: colors.amber.base,
|
|
24
25
|
error: "#FF5252",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapomodule/uikit",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.38",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "This is part of Mapo nuxt module. Injects Mapo ui components in the nuxt component discovery system.",
|
|
6
6
|
"author": "bnznamco <gabriele.baldi.01@gmail.com>",
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "c0424e62f116d4e1daa786b0d573b3cd43308d2d"
|
|
19
19
|
}
|
package/pages/index.vue
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-
|
|
3
|
-
<v-
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
<v-container>
|
|
3
|
+
<v-row justify="center" align="center">
|
|
4
|
+
<v-col cols="12" sm="8" md="12">
|
|
5
|
+
<div class="mapo-info">
|
|
6
|
+
<h1 id="mapo">
|
|
7
|
+
<code>mapomodule {{ version }}</code>
|
|
8
|
+
</h1>
|
|
9
|
+
<br>
|
|
10
|
+
<br>
|
|
11
|
+
<code>{{ $t('mapo.index.welcomeMessage') }}</code>
|
|
12
|
+
<br>
|
|
13
|
+
<br>
|
|
14
|
+
<code>
|
|
15
|
+
## TODO INSERT HERE A LITTLE TUTORIAL.
|
|
16
|
+
</code>
|
|
17
|
+
</div>
|
|
18
|
+
</v-col>
|
|
19
|
+
</v-row>
|
|
20
|
+
</v-container>
|
|
19
21
|
</template>
|
|
20
22
|
|
|
21
23
|
<style scoped>
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
|
3
|
+
* Licensed under the LGPL or a commercial license.
|
|
4
|
+
* For LGPL see License.txt in the project root for license information.
|
|
5
|
+
* For commercial licenses see https://www.tiny.cloud/
|
|
6
|
+
*/
|
|
7
|
+
.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-ms-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment{background-color:#fff0b7}.tox-comments-visible .tox-comment--active{background-color:#ffe168}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(255,255,255,.5);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:var(--v-primary-base);border-color:var(--v-primary-base);border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:var(--v-primary-base)}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table:not([border]),.mce-item-table:not([border]) caption,.mce-item-table:not([border]) td,.mce-item-table:not([border]) th,.mce-item-table[border="0"],.mce-item-table[border="0"] caption,.mce-item-table[border="0"] td,.mce-item-table[border="0"] th,table[style*="border-width: 0px"],table[style*="border-width: 0px"] caption,table[style*="border-width: 0px"] td,table[style*="border-width: 0px"] th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'}
|