diff --git a/src/assets/hammer4.0.svg b/src/assets/hammer4.0.svg new file mode 100644 index 0000000..a65ce66 --- /dev/null +++ b/src/assets/hammer4.0.svg @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/src/components/app/MessageTemplate.vue b/src/components/app/MessageTemplate.vue index ef931a2..972aba9 100644 --- a/src/components/app/MessageTemplate.vue +++ b/src/components/app/MessageTemplate.vue @@ -510,8 +510,11 @@ $message-color: #03222b; color: rgb(231, 231, 231); margin: auto 0; overflow: hidden; + border-radius: 4px; + border-bottom-left-radius: 0; } .ownMessageLeft .content { + border-radius: 4px; border-bottom-right-radius: 0; } .image-content { diff --git a/src/components/app/Popouts/Popouts/ServerContextMenu.vue b/src/components/app/Popouts/Popouts/ServerContextMenu.vue index 139bffe..ce102a0 100644 --- a/src/components/app/Popouts/Popouts/ServerContextMenu.vue +++ b/src/components/app/Popouts/Popouts/ServerContextMenu.vue @@ -1,18 +1,24 @@ @@ -132,15 +138,23 @@ export default { z-index: 99999; user-select: none; color: white; + overflow: hidden; + border-radius: 4px; } .item { + display: flex; + align-items: center; padding: 10px; - transition: 0.3s; + transition: 0.2s; font-size: 13px; cursor: pointer; + .material-icons { + font-size: 20px; + margin-right: 5px; + } &:hover { - background: rgba(46, 46, 46, 0.651); + background: rgba(255, 255, 255, 0.2); } &.warn { color: rgb(255, 59, 59); diff --git a/src/components/app/Popouts/Popouts/ServerMemberContext.vue b/src/components/app/Popouts/Popouts/ServerMemberContext.vue index 6533386..0c0c580 100644 --- a/src/components/app/Popouts/Popouts/ServerMemberContext.vue +++ b/src/components/app/Popouts/Popouts/ServerMemberContext.vue @@ -17,9 +17,18 @@
@@ -100,11 +111,11 @@ export default { rolesMenu.style.top = mainMenuY + mainMenu.clientHeight - rolesMenu.clientHeight + "px"; - rolesMenu.style.left = mainMenuX - mainMenu.clientWidth - 38 + "px"; + rolesMenu.style.left = mainMenuX - mainMenu.clientWidth - 22 + "px"; }); }, setPosition() { - const y = this.contextDetails.y; + let y = this.contextDetails.y; let x = this.contextDetails.x; const mainMenu = this.$refs["main-menu"]; @@ -112,6 +123,9 @@ export default { if (x + mainMenu.clientWidth > window.innerWidth) { x = window.innerWidth - mainMenu.clientWidth; } + if (y + mainMenu.clientHeight > window.innerHeight) { + y = window.innerHeight - mainMenu.clientHeight; + } mainMenu.style.top = y + "px"; mainMenu.style.left = x + "px"; @@ -265,6 +279,8 @@ export default { z-index: 99999; top: 0; left: 0; + overflow: hidden; + border-radius: 4px; } .roles-menu { @@ -279,6 +295,7 @@ export default { max-height: 150px; width: 150px; overflow: auto; + border-radius: 4px; } ::-webkit-scrollbar { @@ -291,18 +308,27 @@ export default { height: 30px; padding-left: 10px; padding-right: 10px; + padding: 5px; transition: 0.2s; font-size: 13px; cursor: pointer; .material-icons { - margin-left: -10px; + font-size: 20px; + margin-right: 5px; + margin-left: -2px; + } + .icon-cat { + margin-right: 5px; + margin-left: 1px; + height: 20px; + width: 20px; } .has-role { - margin-left: -5px; + margin-left: -2px; margin-right: 5px; } &:hover { - background: rgba(102, 102, 102, 0.4); + background: rgba(255, 255, 255, 0.2); } &.warn { color: rgb(255, 59, 59); diff --git a/src/components/app/Popouts/Popouts/messageContextMenu.vue b/src/components/app/Popouts/Popouts/messageContextMenu.vue index f9336e8..b9bfd81 100644 --- a/src/components/app/Popouts/Popouts/messageContextMenu.vue +++ b/src/components/app/Popouts/Popouts/messageContextMenu.vue @@ -1,11 +1,16 @@ @@ -138,15 +143,23 @@ export default { z-index: 99999; user-select: none; color: white; + overflow: hidden; + border-radius: 4px; } .item { + display: flex; + align-items: center; padding: 10px; - transition: 0.3s; + transition: 0.2s; font-size: 13px; cursor: pointer; + .material-icons { + font-size: 20px; + margin-right: 5px; + } &:hover { - background: rgba(46, 46, 46, 0.651); + background: rgba(255, 255, 255, 0.2); } &.warn { color: rgb(255, 59, 59);