Untitled

 avatar
unknown
plain_text
9 months ago
1.6 kB
3
Indexable
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f4f4f9;
}

.app {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f4f4f9;
}

.user-list-container {
  width: 470px;  
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.user-list-header {
  background-color: #415AD2;
  color: white;
  padding: 16px;
  text-align: left;
  padding-bottom: 2px; 
}

.user-list-header h2 {
  margin: 0;
  font-size: 20px;
}

.user-list-header p {
  margin: 0;
  font-size: 14px;
  color: #E2DFD2;
}

.search-bar-container {
  padding: 16px;
  background-color: #415AD2;
}

.search-bar {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 20px;
  background-color:  #3a3e91;
  color: white;
  box-sizing: border-box;
}

.user-list {
  padding: 16px;
  max-height: 400px;
  overflow-y: auto;
}

.user-list::-webkit-scrollbar {
  width: 0; 
}

.user-card {
  display: flex;
  align-items: center;
  padding: 8px 0 20px 0; 
  border-bottom: 1px solid #eee;
}

.user-card:last-child {
  border-bottom: none;
}

.user-card .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 12px;
}

.user-card .user-info {
  display: flex;
  flex-direction: column;
}

.user-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: bolder;
  margin-bottom: 10px;
}

.user-card p {
  margin: 0;
  color: black;
  font-size: 14px;
}
Editor is loading...
Leave a Comment