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

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-07-13 19:18:14 +0300
committerdartcafe <github@dartcafe.de>2021-07-28 11:59:15 +0300
commitf35d8a9f3086cd06207bc544e5f8c86535298b21 (patch)
tree7abcfb11dc9b68ec209f702b6e2a5f04ecf019fc /src/js/components/SideBar
parent362ee395def38b6c429e1a14657bf65b9c62a520 (diff)
Changed layout of vote page
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/SideBar')
-rw-r--r--src/js/components/SideBar/SideBarTabOptions.vue27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/js/components/SideBar/SideBarTabOptions.vue b/src/js/components/SideBar/SideBarTabOptions.vue
index 2e40c938..84e3c645 100644
--- a/src/js/components/SideBar/SideBarTabOptions.vue
+++ b/src/js/components/SideBar/SideBarTabOptions.vue
@@ -21,7 +21,7 @@
-->
<template>
- <div>
+ <div class="side-bar-tab-options">
<ConfigBox v-if="!isOwner" :title="t('polls', 'As an admin you may edit this poll')" icon-class="icon-checkmark" />
<ConfigBox :title="t('polls', 'Allow proposals from users')" icon-class="icon-category-customization">
<ConfigProposals />
@@ -70,3 +70,28 @@ export default {
},
}
</script>
+
+<style lang="scss">
+.side-bar-tab-options {
+ .owner {
+ display: flex;
+ position: relative;
+ left: -16px;
+ width: 0;
+ }
+
+ .draggable:hover .owner {
+ display: none;
+ }
+
+ .option-item {
+ border-bottom: 1px solid var(--color-border);
+ &:active,
+ &:hover {
+ transition: var(--background-dark) 0.3s ease;
+ background-color: var(--color-background-dark);
+ }
+ }
+}
+
+</style>