| .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: 200px; /* Adjust height as needed */ |
| box-sizing: border-box; |
| } |
| |
| .left { |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: flex-start; |
| width: 20%; /* Adjust width for avatar section */ |
| } |
| |
| .avatar { |
| width: 80px; |
| height: 80px; |
| border-radius: 50%; |
| object-fit: cover; |
| margin-bottom: 10px; |
| } |
| .right { |
| display: flex; |
| flex-direction: column; |
| justify-content: space-between; |
| align-items: flex-start; |
| width: 75%; /* Adjust width for info and button section */ |
| } |
| |
| .info { |
| display: flex; |
| flex-direction: column; |
| align-items: flex-start; |
| margin-bottom: 10px; |
| } |
| |
| .userName { |
| font-size: 18px; |
| font-weight: bold; |
| margin-bottom: 5px; |
| } |
| .role, |
| .uploadTraffic, |
| .downloadTraffic, |
| .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; |
| } |