314 lines
5.2 KiB
SCSS
314 lines
5.2 KiB
SCSS
@import "./../../../../assets/mixins/responsive.scss";
|
|
|
|
.menu {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
z-index: 5;
|
|
.whiteBox {
|
|
background-color: #fff;
|
|
padding: 24px;
|
|
width: 460px;
|
|
border-top-right-radius: 40px;
|
|
border-bottom-left-radius: 40px;
|
|
border-bottom-right-radius: 40px;
|
|
position: absolute;
|
|
top: 188px;
|
|
left: 460px;
|
|
height: fit-content;
|
|
overflow: none;
|
|
.content {
|
|
padding-right: 8px;
|
|
overflow: auto;
|
|
max-height: 580px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.headerBox {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
}
|
|
|
|
.headline {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 6px 12px;
|
|
max-width: fit-content;
|
|
img {
|
|
&:first-child {
|
|
width: 24px;
|
|
height: 25px;
|
|
padding-right: 12px;
|
|
}
|
|
&:nth-child(2) {
|
|
width: 14px;
|
|
height: 8px;
|
|
}
|
|
}
|
|
p {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
padding-right: 12px;
|
|
}
|
|
}
|
|
|
|
.closeBtn {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 37px;
|
|
height: 37px;
|
|
cursor: pointer;
|
|
&:hover {
|
|
background-color: #edeefe;
|
|
border-radius: 100%;
|
|
img {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
}
|
|
img {
|
|
width: 13px;
|
|
height: 13px;
|
|
}
|
|
}
|
|
|
|
.contentChannel {
|
|
margin-top: 12px;
|
|
padding: 24px;
|
|
border-radius: 40px;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
p {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
}
|
|
.contentHeadline {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
span {
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
color: #545af1;
|
|
cursor: pointer;
|
|
&:hover {
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.channelName {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 18px;
|
|
img {
|
|
width: 16px;
|
|
height: 16px;
|
|
padding-right: 12px;
|
|
}
|
|
p {
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
}
|
|
.inputName {
|
|
width: 100%;
|
|
border: 1px solid #888dec;
|
|
outline: none;
|
|
height: 12px;
|
|
border-radius: 25px;
|
|
padding: 8px;
|
|
font-size: large;
|
|
}
|
|
.textareaDescription {
|
|
width: 100%;
|
|
padding: 16px;
|
|
max-height: 104px;
|
|
border-radius: 40px;
|
|
border: 1px solid #888dec;
|
|
resize: none;
|
|
font-size: medium;
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
.channelDescription {
|
|
display: flex;
|
|
align-items: center;
|
|
max-height: 200px;
|
|
overflow: auto;
|
|
padding-top: 18px;
|
|
p {
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
|
|
.channelCreator {
|
|
margin-top: 24px;
|
|
.creatorName {
|
|
font-size: 24px;
|
|
font-weight: 200;
|
|
color: #535af1;
|
|
}
|
|
.warningPTag {
|
|
color: rgba(0, 0, 0, 0.5);
|
|
font-weight: 300;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
.line {
|
|
margin: 24px 6px;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.leaveChannel {
|
|
display: flex;
|
|
justify-content: right;
|
|
align-items: center;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.leaveChannel button {
|
|
padding: 12px 25px;
|
|
border-radius: 25px;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
color: #fff;
|
|
border: 0px;
|
|
background-color: #444df2;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.leaveChannel button:disabled {
|
|
background-color: #999;
|
|
cursor: unset;
|
|
}
|
|
|
|
.leaveChannel button:hover:not(:disabled) {
|
|
filter: opacity(70%);
|
|
}
|
|
|
|
.disableEdit {
|
|
width: 18px;
|
|
height: auto;
|
|
filter: brightness(0) saturate(100%) invert(59%) sepia(0%) saturate(0%)
|
|
hue-rotate(156deg) brightness(93%) contrast(84%);
|
|
}
|
|
|
|
// MEMBERS
|
|
|
|
.contentChannelMembers {
|
|
margin-top: 12px;
|
|
padding: 24px;
|
|
border-radius: 40px;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
p {
|
|
font-size: 21px;
|
|
font-weight: 700;
|
|
}
|
|
.contentHeadline {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.allUsers {
|
|
max-height: 400px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.user {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 6px;
|
|
padding: 6px;
|
|
max-width: fit-content;
|
|
cursor: pointer;
|
|
.imgBox {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
.userImg {
|
|
width: 50px;
|
|
height: 50px;
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
}
|
|
.onlineIcon {
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
margin-left: -12px;
|
|
}
|
|
}
|
|
p {
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
padding: 0 12px 0 18px;
|
|
text-align: left;
|
|
}
|
|
&:hover {
|
|
background-color: #edeefe;
|
|
border-radius: 36px;
|
|
}
|
|
}
|
|
|
|
/*------------- RESPONSIVE -------------*/
|
|
|
|
@media screen and (max-width: $RESPONSIVE_THRESHOLD) {
|
|
.menu {
|
|
.whiteBox {
|
|
top: 188px;
|
|
left: 70px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: $RESPONSIVE_THRESHOLD_MOBILE) {
|
|
.header {
|
|
height: 36px;
|
|
padding: 12px;
|
|
}
|
|
|
|
.headline {
|
|
p {
|
|
font-size: 20px;
|
|
max-width: 180px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
img {
|
|
&:first-child {
|
|
width: 18px;
|
|
height: 19px;
|
|
padding-right: 6px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.menu {
|
|
background-color: unset;
|
|
.whiteBox {
|
|
position: fixed;
|
|
top: 0px;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 12px;
|
|
border-radius: 0;
|
|
width: calc(100% - 24px);
|
|
height: calc(100% - 24px);
|
|
overflow: auto;
|
|
}
|
|
}
|
|
}
|