diff options
author | Marco <marcoambrosini@icloud.com> | 2023-11-14 20:15:43 +0900 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-11-14 20:51:53 +0100 |
commit | c2c5994d7069464b9e69a54ce2c660a1a340c711 (patch) | |
tree | 4ecc9d82c3b6613c5009a98c904fe3707179fea6 /apps/files | |
parent | 138ce5303ad09205e20e1d9781779f23f8d0838a (diff) | |
download | nextcloud-server-c2c5994d7069464b9e69a54ce2c660a1a340c711.tar.gz nextcloud-server-c2c5994d7069464b9e69a54ce2c660a1a340c711.zip |
Improve shared status button
Signed-off-by: Marco <marcoambrosini@icloud.com>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/src/components/FileEntry/FileEntryActions.vue | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryActions.vue b/apps/files/src/components/FileEntry/FileEntryActions.vue index 5a1b3235d90..de790b0b78c 100644 --- a/apps/files/src/components/FileEntry/FileEntryActions.vue +++ b/apps/files/src/components/FileEntry/FileEntryActions.vue @@ -37,6 +37,7 @@ :container="getBoundariesElement" :disabled="isLoading || loading !== ''" :force-name="true" + type="tertiary" :force-menu="enabledInlineActions.length === 0 /* forceMenu only if no inline actions */" :inline="enabledInlineActions.length" :open.sync="openedMenu" @@ -94,7 +95,7 @@ <script lang="ts"> import { DefaultType, FileAction, Node, NodeStatus, View, getFileActions } from '@nextcloud/files' import { showError, showSuccess } from '@nextcloud/dialogs' -import { translate as t } from '@nextcloud/l10n'; +import { translate as t } from '@nextcloud/l10n' import Vue, { PropType } from 'vue' import ArrowLeftIcon from 'vue-material-design-icons/ArrowLeft.vue' @@ -321,3 +322,15 @@ export default Vue.extend({ }, }) </script> + +<style lang="scss" scoped> + +:deep(.button-vue--icon-and-text, .files-list__row-action-sharing-status) { + .button-vue__text { + color: var(--color-primary-element); + } + .button-vue__icon { + color: var(--color-primary-element); + } +} +</style> |