diff --git a/client/components/admin/admin-pages.vue b/client/components/admin/admin-pages.vue
index 0327a70a..159dce4c 100644
--- a/client/components/admin/admin-pages.vue
+++ b/client/components/admin/admin-pages.vue
@@ -126,6 +126,6 @@ export default {
display: flex;
justify-content: flex-start;
align-items: center;
- font-family: 'Source Sans Pro', sans-serif;
+ font-family: 'Roboto Mono', monospace;
}
diff --git a/client/components/editor.vue b/client/components/editor.vue
index d7699f87..c4b5b871 100644
--- a/client/components/editor.vue
+++ b/client/components/editor.vue
@@ -3,7 +3,7 @@
nav-header(dense)
template(slot='mid')
v-spacer
- .subheading {{currentPageTitle}}
+ .subheading.grey--text {{currentPageTitle}}
v-spacer
template(slot='actions')
v-btn(
@@ -32,7 +32,7 @@
v-icon(color='red', :left='$vuetify.breakpoint.lgAndUp') close
span.white--text(v-if='$vuetify.breakpoint.lgAndUp') {{ $t('editor:close') }}
v-content
- component(:is='currentEditor')
+ component(:is='currentEditor', :save='save')
editor-modal-properties(v-model='dialogProps')
editor-modal-editorselect(v-model='dialogEditorSelector')
editor-modal-unsaved(v-model='dialogUnsaved', @discard='exitGo')
@@ -199,7 +199,7 @@ export default {
resp = _.get(resp, 'data.pages.create', {})
if (_.get(resp, 'responseResult.succeeded')) {
this.$store.commit('showNotification', {
- message: this.$t('editor:save.success'),
+ message: this.$t('editor:save.createSuccess'),
style: 'success',
icon: 'check'
})
@@ -234,7 +234,7 @@ export default {
resp = _.get(resp, 'data.pages.update', {})
if (_.get(resp, 'responseResult.succeeded')) {
this.$store.commit('showNotification', {
- message: this.$t('editor:save.success'),
+ message: this.$t('editor:save.updateSuccess'),
style: 'success',
icon: 'check'
})
diff --git a/client/components/editor/editor-markdown.vue b/client/components/editor/editor-markdown.vue
index 78b79e3c..226c9cc6 100644
--- a/client/components/editor/editor-markdown.vue
+++ b/client/components/editor/editor-markdown.vue
@@ -124,8 +124,8 @@
v-icon crop_free
span Distraction Free Mode
v-tooltip(right, color='teal')
- v-btn(icon, slot='activator', dark, disabled).mx-0
- v-icon help
+ v-btn(icon, slot='activator', dark, @click='toggleHelp').mx-0
+ v-icon(:color='helpShown ? `teal` : ``') help
span Markdown Formatting Help
.editor-markdown-editor
.editor-markdown-editor-title(v-if='previewShown', @click='previewShown = false') Editor
@@ -141,11 +141,16 @@
.caption.px-3 /{{path}}
v-spacer
.caption Markdown
+ v-spacer
+ .caption Ln {{cursorPos.line + 1}}, Col {{cursorPos.ch + 1}}
+
+ markdown-help(v-if='helpShown')
+
+
diff --git a/client/scss/base/fonts.scss b/client/scss/base/fonts.scss
index d5bd1b23..cdf72fab 100644
--- a/client/scss/base/fonts.scss
+++ b/client/scss/base/fonts.scss
@@ -22,14 +22,6 @@
font-style: normal;
}
-@font-face {
- font-family: 'Source Sans Pro';
- src: url('/fonts/SourceSansPro-Bold.woff2') format('woff2'),
- url('/fonts/SourceSansPro-Bold.woff') format('woff');
- font-weight: bold;
- font-style: normal;
-}
-
@font-face {
font-family: 'Roboto';
src: url('/fonts/Roboto-Regular.woff2') format('woff2'),
@@ -46,22 +38,6 @@
font-style: italic;
}
-@font-face {
- font-family: 'Source Sans Pro';
- src: url('/fonts/SourceSansPro-BoldItalic.woff2') format('woff2'),
- url('/fonts/SourceSansPro-BoldItalic.woff') format('woff');
- font-weight: bold;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Source Sans Pro';
- src: url('/fonts/SourceSansPro-Regular.woff2') format('woff2'),
- url('/fonts/SourceSansPro-Regular.woff') format('woff');
- font-weight: normal;
- font-style: normal;
-}
-
@font-face {
font-family: 'Roboto';
src: url('/fonts/Roboto-Medium.woff2') format('woff2'),
@@ -71,9 +47,9 @@
}
@font-face {
- font-family: 'Source Sans Pro';
- src: url('/fonts/SourceSansPro-Italic.woff2') format('woff2'),
- url('/fonts/SourceSansPro-Italic.woff') format('woff');
+ font-family: 'Roboto Mono';
+ src: url('/fonts/RobotoMono-Regular.woff2') format('woff2'),
+ url('/fonts/RobotoMono-Regular.woff') format('woff');
font-weight: normal;
- font-style: italic;
+ font-style: normal;
}
diff --git a/client/static/fonts/RobotoMono-Regular.woff b/client/static/fonts/RobotoMono-Regular.woff
new file mode 100644
index 00000000..a6d362ef
Binary files /dev/null and b/client/static/fonts/RobotoMono-Regular.woff differ
diff --git a/client/static/fonts/RobotoMono-Regular.woff2 b/client/static/fonts/RobotoMono-Regular.woff2
new file mode 100644
index 00000000..5fd784b2
Binary files /dev/null and b/client/static/fonts/RobotoMono-Regular.woff2 differ
diff --git a/client/static/fonts/SourceSansPro-Bold.woff b/client/static/fonts/SourceSansPro-Bold.woff
deleted file mode 100644
index fa5f2908..00000000
Binary files a/client/static/fonts/SourceSansPro-Bold.woff and /dev/null differ
diff --git a/client/static/fonts/SourceSansPro-Bold.woff2 b/client/static/fonts/SourceSansPro-Bold.woff2
deleted file mode 100644
index 64c996a2..00000000
Binary files a/client/static/fonts/SourceSansPro-Bold.woff2 and /dev/null differ
diff --git a/client/static/fonts/SourceSansPro-BoldItalic.woff b/client/static/fonts/SourceSansPro-BoldItalic.woff
deleted file mode 100644
index 385eaa49..00000000
Binary files a/client/static/fonts/SourceSansPro-BoldItalic.woff and /dev/null differ
diff --git a/client/static/fonts/SourceSansPro-BoldItalic.woff2 b/client/static/fonts/SourceSansPro-BoldItalic.woff2
deleted file mode 100644
index 3762b1df..00000000
Binary files a/client/static/fonts/SourceSansPro-BoldItalic.woff2 and /dev/null differ
diff --git a/client/static/fonts/SourceSansPro-Italic.woff b/client/static/fonts/SourceSansPro-Italic.woff
deleted file mode 100644
index bce2dd1c..00000000
Binary files a/client/static/fonts/SourceSansPro-Italic.woff and /dev/null differ
diff --git a/client/static/fonts/SourceSansPro-Italic.woff2 b/client/static/fonts/SourceSansPro-Italic.woff2
deleted file mode 100644
index a396bbd0..00000000
Binary files a/client/static/fonts/SourceSansPro-Italic.woff2 and /dev/null differ
diff --git a/client/static/fonts/SourceSansPro-Regular.woff b/client/static/fonts/SourceSansPro-Regular.woff
deleted file mode 100644
index c0a54e3f..00000000
Binary files a/client/static/fonts/SourceSansPro-Regular.woff and /dev/null differ
diff --git a/client/static/fonts/SourceSansPro-Regular.woff2 b/client/static/fonts/SourceSansPro-Regular.woff2
deleted file mode 100644
index aa56eaa8..00000000
Binary files a/client/static/fonts/SourceSansPro-Regular.woff2 and /dev/null differ
diff --git a/client/static/fonts/stylesheet.css b/client/static/fonts/stylesheet.css
deleted file mode 100644
index cac3a7d2..00000000
--- a/client/static/fonts/stylesheet.css
+++ /dev/null
@@ -1,80 +0,0 @@
-@font-face {
- font-family: 'Roboto';
- src: url('Roboto-MediumItalic.woff2') format('woff2'),
- url('Roboto-MediumItalic.woff') format('woff');
- font-weight: 500;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Roboto';
- src: url('Roboto-Italic.woff2') format('woff2'),
- url('Roboto-Italic.woff') format('woff');
- font-weight: normal;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Roboto';
- src: url('Roboto-Bold.woff2') format('woff2'),
- url('Roboto-Bold.woff') format('woff');
- font-weight: bold;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'Source Sans Pro';
- src: url('SourceSansPro-Bold.woff2') format('woff2'),
- url('SourceSansPro-Bold.woff') format('woff');
- font-weight: bold;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'Roboto';
- src: url('Roboto-Regular.woff2') format('woff2'),
- url('Roboto-Regular.woff') format('woff');
- font-weight: normal;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'Roboto';
- src: url('Roboto-BoldItalic.woff2') format('woff2'),
- url('Roboto-BoldItalic.woff') format('woff');
- font-weight: bold;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Source Sans Pro';
- src: url('SourceSansPro-BoldItalic.woff2') format('woff2'),
- url('SourceSansPro-BoldItalic.woff') format('woff');
- font-weight: bold;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Source Sans Pro';
- src: url('SourceSansPro-Regular.woff2') format('woff2'),
- url('SourceSansPro-Regular.woff') format('woff');
- font-weight: normal;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'Roboto';
- src: url('Roboto-Medium.woff2') format('woff2'),
- url('Roboto-Medium.woff') format('woff');
- font-weight: 500;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'Source Sans Pro';
- src: url('SourceSansPro-Italic.woff2') format('woff2'),
- url('SourceSansPro-Italic.woff') format('woff');
- font-weight: normal;
- font-style: italic;
-}
-
diff --git a/client/themes/default/scss/app.scss b/client/themes/default/scss/app.scss
index d06e813c..7ceef6a1 100644
--- a/client/themes/default/scss/app.scss
+++ b/client/themes/default/scss/app.scss
@@ -256,7 +256,7 @@
background-color: mc('indigo', '50');
padding: 0 5px;
color: mc('indigo', '800');
- font-family: 'Source Code Pro', monospace;
+ font-family: 'Roboto Mono', monospace;
font-weight: normal;
font-size: 1rem;
box-shadow: none;
@@ -281,7 +281,7 @@
box-shadow: initial;
display: block;
font-size: .85rem;
- font-family: 'Source Code Pro', monospace;
+ font-family: 'Roboto Mono', monospace;
&:after, &:before {
content: initial;