File size: 2,201 Bytes
727a40a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | .home_box {
background: var(--bg-color);
border-radius: 20px;
width: 100%;
max-width: 450px;
max-height: 900px;
display: flex;
height: calc(var(--vh, 1vh) * 100);
flex-direction: column;
box-shadow: 0 8px 16px var(--shadow-color);
}
.friends-list {
flex: 1;
background-color: var(--bg-color);
margin-top: 1px;
overflow-y: auto;
}
.friend-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px;
border-bottom: 1px solid var(--shadow-color);
cursor: pointer;
transition: background-color 0.3s ease;
}
.friend-item:hover {
background-color: var(--friend-item-hover);
}
.friend-item .left {
display: flex;
align-items: center;
}
.friend-item img {
width: 45px;
height: 45px;
border-radius: 50%;
margin-right: 15px;
}
.friend-item .details {
display: flex;
flex-direction: column;
}
.friend-item .details p {
margin: 2px 0;
color: var(--text-color);
}
.friend-item .details .name {
font-weight: bold;
font-size: 16px;
}
.friend-item .details .last-message {
font-size: 14px;
color: var(--menu-text-color);
}
.friend-item .right {
display: flex;
align-items: center;
justify-content: center;
margin-left: auto;
}
.status {
width: 12px;
height: 12px;
border-radius: 50%;
}
.status.online {
background-color: var(--status-online);
}
.status.offline {
background-color: var(--status-offline);
}
.bottom-nav {
display: flex;
justify-content: space-around;
align-items: center;
background-color: var(--menu-bg);
padding: 15px;
box-shadow: 0 -4px 8px var(--shadow-color);
position: relative;
}
.bottom-nav .slider {
position: absolute;
width: 60px;
height: 60px;
background-color: var(--bg-slider-color);
border-radius: 50%;
top: 50%;
transform: translateY(-50%);
z-index: 0;
transition: all 0.3s ease;
}
.bottom-nav button {
background: transparent;
border: none;
cursor: pointer;
z-index: 1;
position: relative;
}
.bottom-nav img {
width: 30px;
height: 30px;
filter: var(--icon-color);
} |