From 2b1797562fabcb7bdc2fd86f975384058de748fc Mon Sep 17 00:00:00 2001 From: supertiger1234 Date: Wed, 30 Oct 2019 11:38:32 +0000 Subject: [PATCH] user information popout design changes. --- .../Popouts/Popouts/userInformationPopout.vue | 57 ++++++++++--------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/src/components/app/Popouts/Popouts/userInformationPopout.vue b/src/components/app/Popouts/Popouts/userInformationPopout.vue index 8a4f32a..b9ddf69 100644 --- a/src/components/app/Popouts/Popouts/userInformationPopout.vue +++ b/src/components/app/Popouts/Popouts/userInformationPopout.vue @@ -20,7 +20,10 @@
{{user.username}}
@{{user.tag}}
-
+ +
person_add
Add Friend
@@ -30,7 +33,7 @@
person_add_disabled
Remove Friend
block
Block
-
+
@@ -174,7 +177,7 @@ export default { .drop-background { position: absolute; - background: rgba(0, 0, 0, 0.521); + background: rgba(0, 0, 0, 0.2); top: 0; left: 0; right: 0; @@ -190,12 +193,22 @@ export default { color: white; display: flex; flex-direction: row; - border-radius: 10px; position: relative; - background: rgba(0, 0, 0, 0.349); - backdrop-filter: blur(10px) - + background: rgba(0, 0, 0, 0.7); + backdrop-filter: blur(10px); + box-shadow: 0px 0px 20px 11px #151515c4; } + +@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) { + .box{ + background: rgba(0, 0, 0, 0.3); + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); + } +} + + + .spinner { align-self: center; } @@ -205,18 +218,15 @@ export default { flex-direction: column; width: 100%; align-items: center; - padding: 10px; overflow: auto; } .scrollable { - margin-top: 5px; display: flex; flex-direction: column; width: 100%; align-items: center; overflow: auto; - padding-right: 7px; - margin-left: 5px; + scrollbar-width: thin; } .scrollable::-webkit-scrollbar { width: 3px; @@ -225,15 +235,13 @@ export default { display: flex; flex-direction: column; align-content: center; - border-bottom: solid 1px rgba(255, 255, 255, 0.15); width: 100%; align-items: center; align-content: center; padding-bottom: 10px; flex-shrink: 0; - background: rgba(41, 41, 41, 0.697); + background: rgba(0, 0, 0, 0.3); padding-top: 30px; - border-radius: 5px; } .uesrname-tag { @@ -252,7 +260,6 @@ export default { .button { padding: 8px; align-self: center; - border-radius: 5px; user-select: none; cursor: default; transition: 0.3s; @@ -269,7 +276,6 @@ export default { right: 0; background: rgb(51, 163, 255); z-index: -1; - border-radius: 5px; opacity: 0.8; transition: 0.3s; } @@ -284,8 +290,9 @@ export default { display: flex; flex-direction: column; width: 100%; - margin-top: 3px; - border-bottom: solid 1px rgba(255, 255, 255, 0.15); + margin-top: 10px; + + border-bottom: solid 2px rgba(0, 0, 0, 0.3); padding-bottom: 10px; user-select: none; cursor: default; @@ -304,12 +311,13 @@ export default { .title { font-size: 20px; margin-bottom: 3px; - margin-left: 3px; + margin-left: 10px; } .badges-list{ display: flex; flex-wrap: wrap; - flex-shrink: 0 + flex-shrink: 0; + margin-left: 8px; } .badge { border: solid 1px white; @@ -341,18 +349,14 @@ export default { flex-direction: column; width: 100%; margin-top: 10px; - margin-bottom: 5px; - border-bottom: solid 1px rgba(255, 255, 255, 0.15); - padding-bottom: 10px; cursor: default; flex-shrink: 0 } .about-item{ display: flex; align-items: center; - background: rgba(47, 47, 47, 0.37); - margin: 2px; - border-radius: 5px; + margin-top: 2px; + margin-bottom: 2px; padding: 10px; flex-shrink: 0 @@ -408,7 +412,6 @@ export default { } .action-buttons .button.warn::after { background: rgb(255, 53, 53); - border-radius: 5px; } .back-button {