summaryrefslogtreecommitdiff
path: root/packages/client/src/components
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-12-21 08:39:28 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-12-21 08:39:28 +0900
commitc4603c7a96b49091c7184c13fecd614b84b95c02 (patch)
tree3390cfa25472e263831eed7095b22ef476552f03 /packages/client/src/components
parent多分 #9374 (diff)
downloadsharkey-c4603c7a96b49091c7184c13fecd614b84b95c02.tar.gz
sharkey-c4603c7a96b49091c7184c13fecd614b84b95c02.tar.bz2
sharkey-c4603c7a96b49091c7184c13fecd614b84b95c02.zip
:art:
Fix #9374
Diffstat (limited to 'packages/client/src/components')
-rw-r--r--packages/client/src/components/MkDrive.file.vue4
-rw-r--r--packages/client/src/components/MkDrive.folder.vue2
-rw-r--r--packages/client/src/components/MkDrive.vue2
-rw-r--r--packages/client/src/components/MkModalPageWindow.vue2
-rw-r--r--packages/client/src/components/MkPageWindow.vue8
-rw-r--r--packages/client/src/components/MkPostFormAttaches.vue4
-rw-r--r--packages/client/src/components/MkSuperMenu.vue6
-rw-r--r--packages/client/src/components/MkWindow.vue4
-rw-r--r--packages/client/src/components/global/MkA.vue2
9 files changed, 15 insertions, 19 deletions
diff --git a/packages/client/src/components/MkDrive.file.vue b/packages/client/src/components/MkDrive.file.vue
index 4ac63d5b95..11bd9e9e3b 100644
--- a/packages/client/src/components/MkDrive.file.vue
+++ b/packages/client/src/components/MkDrive.file.vue
@@ -63,7 +63,7 @@ const title = computed(() => `${props.file.name}\n${props.file.type} ${bytes(pro
function getMenu() {
return [{
text: i18n.ts.rename,
- icon: 'ti ti-cursor-text',
+ icon: 'ti ti-forms',
action: rename,
}, {
text: props.file.isSensitive ? i18n.ts.unmarkAsSensitive : i18n.ts.markAsSensitive,
@@ -71,7 +71,7 @@ function getMenu() {
action: toggleSensitive,
}, {
text: i18n.ts.describeFile,
- icon: 'ti ti-cursor-text',
+ icon: 'ti ti-forms',
action: describe,
}, null, {
text: i18n.ts.copyUrl,
diff --git a/packages/client/src/components/MkDrive.folder.vue b/packages/client/src/components/MkDrive.folder.vue
index 8ba24e23f1..04f1c940bc 100644
--- a/packages/client/src/components/MkDrive.folder.vue
+++ b/packages/client/src/components/MkDrive.folder.vue
@@ -253,7 +253,7 @@ function onContextmenu(ev: MouseEvent) {
},
}, null, {
text: i18n.ts.rename,
- icon: 'ti ti-cursor-text',
+ icon: 'ti ti-forms',
action: rename,
}, null, {
text: i18n.ts.delete,
diff --git a/packages/client/src/components/MkDrive.vue b/packages/client/src/components/MkDrive.vue
index bf83685991..c91fc95ab1 100644
--- a/packages/client/src/components/MkDrive.vue
+++ b/packages/client/src/components/MkDrive.vue
@@ -599,7 +599,7 @@ function getMenu() {
type: 'label',
}, folder.value ? {
text: i18n.ts.renameFolder,
- icon: 'ti ti-cursor-text',
+ icon: 'ti ti-forms',
action: () => { renameFolder(folder.value); },
} : undefined, folder.value ? {
text: i18n.ts.deleteFolder,
diff --git a/packages/client/src/components/MkModalPageWindow.vue b/packages/client/src/components/MkModalPageWindow.vue
index fb59e67211..ced8a7a714 100644
--- a/packages/client/src/components/MkModalPageWindow.vue
+++ b/packages/client/src/components/MkModalPageWindow.vue
@@ -68,7 +68,7 @@ const contextmenu = $computed(() => {
type: 'label',
text: path,
}, {
- icon: 'ti ti-corner-right-down-double',
+ icon: 'ti ti-player-eject',
text: i18n.ts.showInPage,
action: expand,
}, {
diff --git a/packages/client/src/components/MkPageWindow.vue b/packages/client/src/components/MkPageWindow.vue
index a0615893f7..29d45558a7 100644
--- a/packages/client/src/components/MkPageWindow.vue
+++ b/packages/client/src/components/MkPageWindow.vue
@@ -66,7 +66,7 @@ const buttonsLeft = $computed(() => {
});
const buttonsRight = $computed(() => {
const buttons = [{
- icon: 'ti ti-corner-right-down-double',
+ icon: 'ti ti-player-eject',
title: i18n.ts.showInPage,
onClick: expand,
}];
@@ -86,7 +86,7 @@ provide('shouldOmitHeaderTitle', true);
provide('shouldHeaderThin', true);
const contextmenu = $computed(() => ([{
- icon: 'ti ti-corner-right-down-double',
+ icon: 'ti ti-player-eject',
text: i18n.ts.showInPage,
action: expand,
}, {
@@ -108,10 +108,6 @@ const contextmenu = $computed(() => ([{
},
}]));
-function menu(ev) {
- os.popupMenu(contextmenu, ev.currentTarget ?? ev.target);
-}
-
function back() {
history.pop();
router.replace(history[history.length - 1].path, history[history.length - 1].key);
diff --git a/packages/client/src/components/MkPostFormAttaches.vue b/packages/client/src/components/MkPostFormAttaches.vue
index b533786d36..9eeffa55dd 100644
--- a/packages/client/src/components/MkPostFormAttaches.vue
+++ b/packages/client/src/components/MkPostFormAttaches.vue
@@ -113,7 +113,7 @@ export default defineComponent({
if (this.menu) return;
this.menu = os.popupMenu([{
text: this.$ts.renameFile,
- icon: 'ti ti-cursor-text',
+ icon: 'ti ti-forms',
action: () => { this.rename(file); },
}, {
text: file.isSensitive ? this.$ts.unmarkAsSensitive : this.$ts.markAsSensitive,
@@ -121,7 +121,7 @@ export default defineComponent({
action: () => { this.toggleSensitive(file); },
}, {
text: this.$ts.describeFile,
- icon: 'ti ti-cursor-text',
+ icon: 'ti ti-forms',
action: () => { this.describe(file); },
}, {
text: this.$ts.attachCancel,
diff --git a/packages/client/src/components/MkSuperMenu.vue b/packages/client/src/components/MkSuperMenu.vue
index a5e7856e27..e79794aea4 100644
--- a/packages/client/src/components/MkSuperMenu.vue
+++ b/packages/client/src/components/MkSuperMenu.vue
@@ -116,7 +116,7 @@ export default defineComponent({
> .items {
display: grid;
- grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
+ grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
grid-gap: 16px;
padding: 0 16px;
@@ -141,8 +141,8 @@ export default defineComponent({
margin-right: 0;
margin-bottom: 6px;
font-size: 1.5em;
- width: 32px;
- height: 32px;
+ width: 54px;
+ height: 54px;
aspect-ratio: 1;
background: var(--panel);
border-radius: 100%;
diff --git a/packages/client/src/components/MkWindow.vue b/packages/client/src/components/MkWindow.vue
index d9c0035a86..629c105810 100644
--- a/packages/client/src/components/MkWindow.vue
+++ b/packages/client/src/components/MkWindow.vue
@@ -11,8 +11,8 @@
</span>
<span class="right">
<button v-for="button in buttonsRight" v-tooltip="button.title" class="button _button" :class="{ highlighted: button.highlighted }" @click="button.onClick"><i :class="button.icon"></i></button>
- <button v-if="canResize && maximized" v-tooltip="i18n.ts.windowRestore" class="button _button" @click="unMaximize()"><i class="ti ti-app-window"></i></button>
- <button v-else-if="canResize && !maximized" v-tooltip="i18n.ts.windowMaximize" class="button _button" @click="maximize()"><i class="ti ti-arrows-maximize"></i></button>
+ <button v-if="canResize && maximized" v-tooltip="i18n.ts.windowRestore" class="button _button" @click="unMaximize()"><i class="ti ti-picture-in-picture"></i></button>
+ <button v-else-if="canResize && !maximized" v-tooltip="i18n.ts.windowMaximize" class="button _button" @click="maximize()"><i class="ti ti-rectangle"></i></button>
<button v-if="closeButton" v-tooltip="i18n.ts.close" class="button _button" @click="close()"><i class="ti ti-x"></i></button>
</span>
</div>
diff --git a/packages/client/src/components/global/MkA.vue b/packages/client/src/components/global/MkA.vue
index a686d1bdbe..5a0ba0d8d3 100644
--- a/packages/client/src/components/global/MkA.vue
+++ b/packages/client/src/components/global/MkA.vue
@@ -47,7 +47,7 @@ function onContextmenu(ev) {
os.pageWindow(props.to);
},
}, {
- icon: 'ti ti-corner-right-down-double',
+ icon: 'ti ti-player-eject',
text: i18n.ts.showInPage,
action: () => {
router.push(props.to, 'forcePage');