Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikola <nikola.gladovic@nextcloud.com>2022-03-03 21:21:05 +0300
committerNikola <nikola.gladovic@nextcloud.com>2022-03-03 21:21:05 +0300
commit76b51612a80c162e64cefe63cd7b2dbcf257d5a3 (patch)
tree2080a1cb762d828320f4c818769d98578c54648e
parent87969f42ffca027f98318e3b01ebedf2a1dbf823 (diff)
6927: fixed buttons for new group conversationfeat/6927/button-for-new-group-conversation
Signed-off-by: Nikola <nikola.gladovic@nextcloud.com>
-rw-r--r--src/assets/buttons.scss5
-rw-r--r--src/components/LeftSidebar/NewGroupConversation/NewGroupConversation.vue20
2 files changed, 4 insertions, 21 deletions
diff --git a/src/assets/buttons.scss b/src/assets/buttons.scss
index a24f78984..26313ce36 100644
--- a/src/assets/buttons.scss
+++ b/src/assets/buttons.scss
@@ -22,11 +22,6 @@
@import 'variables';
-.button-vue--vue-default {
- background-color: var(--color-background-dark);
- color: var(--color-main-text);
-}
-
.nc-button {
width: $clickable-area;
height: $clickable-area;
diff --git a/src/components/LeftSidebar/NewGroupConversation/NewGroupConversation.vue b/src/components/LeftSidebar/NewGroupConversation/NewGroupConversation.vue
index aa284a680..7d29fedec 100644
--- a/src/components/LeftSidebar/NewGroupConversation/NewGroupConversation.vue
+++ b/src/components/LeftSidebar/NewGroupConversation/NewGroupConversation.vue
@@ -23,7 +23,7 @@
<div class="wrapper">
<Button slot="trigger"
v-tooltip.bottom="t('spreed', 'Create a new group conversation')"
- type="default"
+ type="tertiary"
class="toggle"
icon=""
:aria-label="t('spreed', 'Create a new group conversation')"
@@ -79,14 +79,12 @@
<div class="navigation">
<!-- First page -->
<Button v-if="page===0 && isPublic"
- class="navigation__button navigation__button-left"
:disabled="disabled"
- type="default"
+ type="tertiary"
@click="handleCreateConversation">
{{ t('spreed', 'Create conversation') }}
</Button>
<Button v-if="page===0"
- class="navigation__button navigation__button-right"
type="primary"
:disabled="disabled"
@click="handleSetConversationName">
@@ -94,13 +92,11 @@
</Button>
<!-- Second page -->
<Button v-if="page===1"
- class="navigation__button navigation__button-left"
- type="default"
+ type="tertiary"
@click="handleClickBack">
{{ t('spreed', 'Back') }}
</Button>
<Button v-if="page===1"
- class="navigation__button navigation__button-right primary"
type="primary"
@click="handleCreateConversation">
{{ t('spreed', 'Create conversation') }}
@@ -108,7 +104,6 @@
<!-- Third page -->
<Button v-if="page===2 && (error || isPublic)"
type="primary"
- class="navigation__button navigation__button-right primary"
@click="closeModal">
{{ t('spreed', 'Close') }}
</Button>
@@ -371,7 +366,6 @@ export default {
</script>
<style lang="scss" scoped>
-@import '../../../assets/buttons';
.toggle {
height: 44px;
width: 44px;
@@ -406,18 +400,12 @@ it back */
.navigation {
display: flex;
+ justify-content: space-between;
flex: 0 0 40px;
height: 50px;
box-shadow: 0 -10px 5px var(--color-main-background);
z-index: 1;
width: 100%;
- &__button {
- height: 44px;
- padding: 0 16px;
- }
- &__button-right {
- margin-left:auto;
- }
}
.wrapper {