195 lines
3.6 KiB
SCSS
195 lines
3.6 KiB
SCSS
%unread-box {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.btn {
|
|
padding: 0 0.2em;
|
|
margin: 0;
|
|
color: #888;
|
|
color: #888;
|
|
|
|
&:hover {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
&:not(:last-child) {
|
|
margin-left: 0.2em;
|
|
}
|
|
|
|
svg {
|
|
font-size: 0.7rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.group-item {
|
|
.group-row {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
margin-bottom: 0.3em;
|
|
flex: 1;
|
|
|
|
&.enable-hover:hover {
|
|
.group-picture-container {
|
|
.context-menu-dropdown {
|
|
display: flex;
|
|
}
|
|
.group-picture {
|
|
display: none;
|
|
}
|
|
}
|
|
.group-content {
|
|
background-color: #f0f0f0;
|
|
}
|
|
}
|
|
|
|
.group-picture-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
|
|
// margin-left: 0.5em;
|
|
|
|
border: 1px solid #ccc;
|
|
width: 2.3em;
|
|
height: 2.3em;
|
|
position: relative;
|
|
background-color: #fff;
|
|
|
|
.context-menu-dropdown {
|
|
display: none;
|
|
}
|
|
.group-picture {
|
|
object-fit: cover;
|
|
object-position: center;
|
|
overflow: hidden;
|
|
border-radius: 50%;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
.group-content {
|
|
flex: 1;
|
|
border-radius: 0;
|
|
position: relative;
|
|
padding: 0.3em;
|
|
|
|
&:active,
|
|
&.active {
|
|
background-color: #d8f8fd;
|
|
}
|
|
|
|
.group-title-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
.group-title {
|
|
// display: flex;
|
|
flex: 1;
|
|
text-align: right;
|
|
// align-items: center;
|
|
// font-size: 0.7rem;
|
|
font-size: 0.8rem;
|
|
margin-bottom: 0.3em;
|
|
// font-family: "sahel-bold";
|
|
font-family: "sahel-semi-bold";
|
|
color: #444;
|
|
@include textOverflow(13em);
|
|
|
|
.tavasi {
|
|
font-size: 0.8rem;
|
|
margin-left: 0.3em;
|
|
}
|
|
}
|
|
.group-time {
|
|
font-size: 0.7rem;
|
|
font-family: "sahel-light";
|
|
}
|
|
|
|
.unreads-box {
|
|
@extend %unread-box;
|
|
}
|
|
}
|
|
|
|
.group-description-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
.group-unread-indicator {
|
|
font-size: 0.7rem;
|
|
background-color: #00b6e3;
|
|
font-family: "sahel-light";
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding-top: 0.4em;
|
|
}
|
|
.group-description {
|
|
color: #6f6f6f;
|
|
font-size: 0.8em;
|
|
margin: 0;
|
|
flex: 1;
|
|
text-align: right;
|
|
@include textOverflow(15em);
|
|
}
|
|
}
|
|
|
|
.unread-button {
|
|
.unread-message-label {
|
|
font-size: 0.7rem;
|
|
color: #6f6f6f;
|
|
margin-left: 0.3em;
|
|
line-height: 1;
|
|
}
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
margin-bottom: 0.2em;
|
|
font-size: 0.9rem;
|
|
line-height: 1.2;
|
|
}
|
|
}
|
|
|
|
&.lobbies {
|
|
padding-right: 1.5em;
|
|
|
|
&.has-indicator::after {
|
|
left: auto;
|
|
right: 0em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.group-description-container .group-description {
|
|
max-width: 11em !important;
|
|
}
|
|
}
|
|
|
|
.unreads-box {
|
|
@extend %unread-box;
|
|
}
|
|
|
|
&.unReads:hover{
|
|
cursor: pointer;
|
|
}
|
|
|
|
&:hover {
|
|
.unreads-box {
|
|
box-shadow: 0px 0px 5px 2px #ebebeb;
|
|
border-radius: 1em;
|
|
}
|
|
}
|
|
|
|
}
|