mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-07-05 02:50:46 +00:00
user information popout design changes.
This commit is contained in:
parent
49d6f99b18
commit
2b1797562f
1 changed files with 30 additions and 27 deletions
|
|
@ -20,7 +20,10 @@
|
||||||
<div class="uesrname-tag">
|
<div class="uesrname-tag">
|
||||||
<div class="username">{{user.username}}</div>
|
<div class="username">{{user.username}}</div>
|
||||||
<div class="tag">@{{user.tag}}</div>
|
<div class="tag">@{{user.tag}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- <div class="details">
|
||||||
|
Pancake • Male • 17-19 • United Kingdom
|
||||||
|
</div> -->
|
||||||
<div class="actions" v-if="uniqueID !== selfUniqueID">
|
<div class="actions" v-if="uniqueID !== selfUniqueID">
|
||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<div class="button" v-if="this.relationshipStatus === null" @click="AddFriendButton"><div class="material-icons">person_add</div><div>Add Friend</div></div>
|
<div class="button" v-if="this.relationshipStatus === null" @click="AddFriendButton"><div class="material-icons">person_add</div><div>Add Friend</div></div>
|
||||||
|
|
@ -30,7 +33,7 @@
|
||||||
<div class="button warn" v-if="this.relationshipStatus === 2" @click="RemoveFriendButton"><div class="material-icons">person_add_disabled</div><div>Remove Friend</div></div>
|
<div class="button warn" v-if="this.relationshipStatus === 2" @click="RemoveFriendButton"><div class="material-icons">person_add_disabled</div><div>Remove Friend</div></div>
|
||||||
<div class="button warn"><div class="material-icons">block</div><div>Block</div></div>
|
<div class="button warn"><div class="material-icons">block</div><div>Block</div></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="scrollable">
|
<div class="scrollable">
|
||||||
<div class="badges" v-if="user.badges && filteredBadges.length">
|
<div class="badges" v-if="user.badges && filteredBadges.length">
|
||||||
|
|
@ -174,7 +177,7 @@ export default {
|
||||||
|
|
||||||
.drop-background {
|
.drop-background {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: rgba(0, 0, 0, 0.521);
|
background: rgba(0, 0, 0, 0.2);
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
@ -190,12 +193,22 @@ export default {
|
||||||
color: white;
|
color: white;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
border-radius: 10px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
background: rgba(0, 0, 0, 0.349);
|
background: rgba(0, 0, 0, 0.7);
|
||||||
backdrop-filter: blur(10px)
|
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 {
|
.spinner {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
}
|
}
|
||||||
|
|
@ -205,18 +218,15 @@ export default {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 10px;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.scrollable {
|
.scrollable {
|
||||||
margin-top: 5px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding-right: 7px;
|
scrollbar-width: thin;
|
||||||
margin-left: 5px;
|
|
||||||
}
|
}
|
||||||
.scrollable::-webkit-scrollbar {
|
.scrollable::-webkit-scrollbar {
|
||||||
width: 3px;
|
width: 3px;
|
||||||
|
|
@ -225,15 +235,13 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
border-bottom: solid 1px rgba(255, 255, 255, 0.15);
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
background: rgba(41, 41, 41, 0.697);
|
background: rgba(0, 0, 0, 0.3);
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
border-radius: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.uesrname-tag {
|
.uesrname-tag {
|
||||||
|
|
@ -252,7 +260,6 @@ export default {
|
||||||
.button {
|
.button {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
border-radius: 5px;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
|
|
@ -269,7 +276,6 @@ export default {
|
||||||
right: 0;
|
right: 0;
|
||||||
background: rgb(51, 163, 255);
|
background: rgb(51, 163, 255);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
border-radius: 5px;
|
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
}
|
}
|
||||||
|
|
@ -284,8 +290,9 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 3px;
|
margin-top: 10px;
|
||||||
border-bottom: solid 1px rgba(255, 255, 255, 0.15);
|
|
||||||
|
border-bottom: solid 2px rgba(0, 0, 0, 0.3);
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|
@ -304,12 +311,13 @@ export default {
|
||||||
.title {
|
.title {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
margin-left: 3px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
.badges-list{
|
.badges-list{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
flex-shrink: 0
|
flex-shrink: 0;
|
||||||
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
.badge {
|
.badge {
|
||||||
border: solid 1px white;
|
border: solid 1px white;
|
||||||
|
|
@ -341,18 +349,14 @@ export default {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-bottom: 5px;
|
|
||||||
border-bottom: solid 1px rgba(255, 255, 255, 0.15);
|
|
||||||
padding-bottom: 10px;
|
|
||||||
cursor: default;
|
cursor: default;
|
||||||
flex-shrink: 0
|
flex-shrink: 0
|
||||||
}
|
}
|
||||||
.about-item{
|
.about-item{
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: rgba(47, 47, 47, 0.37);
|
margin-top: 2px;
|
||||||
margin: 2px;
|
margin-bottom: 2px;
|
||||||
border-radius: 5px;
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
flex-shrink: 0
|
flex-shrink: 0
|
||||||
|
|
||||||
|
|
@ -408,7 +412,6 @@ export default {
|
||||||
}
|
}
|
||||||
.action-buttons .button.warn::after {
|
.action-buttons .button.warn::after {
|
||||||
background: rgb(255, 53, 53);
|
background: rgb(255, 53, 53);
|
||||||
border-radius: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-button {
|
.back-button {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue