diff options
author | dartcafe <github@dartcafe.de> | 2021-07-13 19:18:14 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-07-28 11:59:15 +0300 |
commit | f35d8a9f3086cd06207bc544e5f8c86535298b21 (patch) | |
tree | 7abcfb11dc9b68ec209f702b6e2a5f04ecf019fc /src/js/components/SideBar | |
parent | 362ee395def38b6c429e1a14657bf65b9c62a520 (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.vue | 27 |
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> |