.container { | |
display: flex; | |
flex-direction: row; | |
align-items: flex-start; | |
justify-content: space-between; | |
padding: 20px; | |
border: 1px solid #ccc; | |
border-radius: 10px; | |
background-color: #f9f9f9; | |
width: 100%; | |
height: 100%; /* Adjust height as needed */ | |
box-sizing: border-box; | |
overflow:hidden; | |
} | |
.left { | |
border:1px solid #ccc; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
justify-content: flex-start; | |
width: 35%; /* Adjust width for avatar section */ | |
} | |
.avatar { | |
width: 100%; | |
height: 100%; | |
border-radius: 50%; | |
object-fit: cover; | |
margin-bottom: 10px; | |
} | |
.right { | |
border:1px solid #aaa; | |
display: flex; | |
flex-direction: column; | |
justify-content: flex-start; | |
align-items: flex-start; | |
width: 55%; /* Adjust width for info and button section */ | |
} | |
.info { | |
display: flex; | |
flex-direction: column; | |
align-items: flex-start; | |
justify-content: flex-start; | |
margin-bottom: 10px; | |
} | |
.userName { | |
font-size: 18px; | |
font-weight: bold; | |
margin-bottom: 5px; | |
} | |
.role, | |
.uploadTraffic, | |
.downloadTraffic, | |
.downloadPoints, | |
.shareRatio { | |
font-size: 14px; | |
margin-bottom: 5px; | |
} | |
.signInButton { | |
align-self: flex-end; | |
padding: 10px 20px; | |
font-size: 14px; | |
background-color: #4CAF50; | |
color: white; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
} | |
.signInButton:hover { | |
background-color: #45a049; | |
} |