mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #41453 from nextcloud/enh/41450/improve-shared-status-button
Improve shared status button
This commit is contained in:
commit
d6af8c8c6e
3 changed files with 17 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue