Skip to content

Commit d6af8c8

Browse files
authored
Merge pull request #41453 from nextcloud/enh/41450/improve-shared-status-button
Improve shared status button
2 parents 7b5aef7 + c2c5994 commit d6af8c8

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

apps/files/src/components/FileEntry/FileEntryActions.vue

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
:container="getBoundariesElement"
3838
:disabled="isLoading || loading !== ''"
3939
:force-name="true"
40+
type="tertiary"
4041
:force-menu="enabledInlineActions.length === 0 /* forceMenu only if no inline actions */"
4142
:inline="enabledInlineActions.length"
4243
:open.sync="openedMenu"
@@ -94,7 +95,7 @@
9495
<script lang="ts">
9596
import { DefaultType, FileAction, Node, NodeStatus, View, getFileActions } from '@nextcloud/files'
9697
import { showError, showSuccess } from '@nextcloud/dialogs'
97-
import { translate as t } from '@nextcloud/l10n';
98+
import { translate as t } from '@nextcloud/l10n'
9899
import Vue, { PropType } from 'vue'
99100
100101
import ArrowLeftIcon from 'vue-material-design-icons/ArrowLeft.vue'
@@ -321,3 +322,15 @@ export default Vue.extend({
321322
},
322323
})
323324
</script>
325+
326+
<style lang="scss" scoped>
327+
328+
:deep(.button-vue--icon-and-text, .files-list__row-action-sharing-status) {
329+
.button-vue__text {
330+
color: var(--color-primary-element);
331+
}
332+
.button-vue__icon {
333+
color: var(--color-primary-element);
334+
}
335+
}
336+
</style>

dist/files-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)