-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from sympoll/more-group-details
More group details
- Loading branch information
Showing
19 changed files
with
464 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/assets/styles/cmps/group-info/_GroupProfileInfoBox.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.group-profile { | ||
&__group-info { | ||
padding: $profileBoxPadding; | ||
background: $mainColor-light0; | ||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); | ||
border-radius: 8px; | ||
flex-basis: 40%; | ||
|
||
&__title { | ||
margin-bottom: 12px; | ||
} | ||
|
||
&__items { | ||
@include flex-column; | ||
gap: 20px; | ||
} | ||
|
||
&__label { | ||
font-weight: 800; | ||
} | ||
|
||
&__members { | ||
margin-bottom: 10px; | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
src/assets/styles/cmps/popup/show-group-members-popup/_ShowGroupMembersPopup.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
.show-group-members-overlay { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
background: rgba(0, 0, 0, 0.5); | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
z-index: 1000; | ||
|
||
&__title { | ||
font-size: 1.6rem; | ||
margin: 12px; | ||
font-weight: 600; | ||
font-family: $secondaryFont; | ||
} | ||
|
||
&__members-list { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: stretch; | ||
width: 100%; | ||
padding-inline: 10px; | ||
max-height: 60vh; | ||
overflow-y: auto; | ||
padding: 20px; | ||
box-shadow: inset 0px 2px 10px rgba(0, 0, 0, 0.1); | ||
margin-top: 10px; | ||
border-radius: 8px; | ||
background-color: lighten($mainBgColor0, 6%); | ||
} | ||
} | ||
|
||
.show-group-members-overlay-container { | ||
display: flex; | ||
flex-direction: column; | ||
padding: 20px; | ||
text-align: center; | ||
justify-content: center; | ||
align-items: center; | ||
background: white; | ||
border-radius: 10px; /* Slightly more rounded corners */ | ||
width: 40%; /* Increase the width for more spacious design */ | ||
max-width: 100%; | ||
position: relative; | ||
margin-inline: 40px; | ||
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Subtle outer shadow for depth */ | ||
background-color: $mainBgColor0; | ||
} |
35 changes: 35 additions & 0 deletions
35
src/assets/styles/cmps/popup/show-group-members-popup/_ShowGroupMembersPopupItem.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.show-group-members-popup-item { | ||
display: flex; | ||
gap: 20px; | ||
align-items: center; | ||
font-size: 1.1rem; | ||
font-weight: 300; | ||
cursor: pointer; | ||
padding: 10px 12px; | ||
transition: background-color 0.2s ease; | ||
|
||
&:hover { | ||
background-color: darken($grayedOutFontColor, 2%); | ||
border-radius: 6px; | ||
} | ||
|
||
&__username { | ||
cursor: pointer; | ||
font-weight: 500; | ||
} | ||
|
||
&__role { | ||
background-color: $roleNameBgColor; | ||
border-radius: 5px; | ||
display: inline-block; | ||
padding: 4px 12px; | ||
flex: 0 0 auto; | ||
color: $profileFontColor; | ||
margin-left: auto; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
font-size: 0.9rem; | ||
font-weight: 500; | ||
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ | |
width: 100%; | ||
object-fit: cover; | ||
object-position: center; | ||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); | ||
} |
Oops, something went wrong.