This commit is contained in:
Robert Long
2021-08-19 17:49:45 -07:00
parent e5c28569c6
commit 9d0162e475
11 changed files with 456 additions and 194 deletions

99
src/Home.module.css Normal file
View File

@@ -0,0 +1,99 @@
.content {
display: grid;
grid-template-columns: minmax(200px, 320px) 3fr;
gap: 20px;
margin: 0 20px;
flex: 1;
}
.roomsSidebar {
padding: 12px;
background-color: rgba(33,38,44,.9);
border-radius: 8px;
}
.roomsSidebar h5 {
color: rgb(142, 153, 164);
font-size: 13px;
margin: 0 0 8px 0;
}
.roomList {
}
.roomListItem {
margin-bottom: 4px;
padding: 4px;
display: flex;
cursor: pointer;
text-decoration: none;
color: white;
align-items: center;
}
.roomListItem:hover {
background-color: rgba(141, 151, 165, 0.2);
border-radius: 8px;
color: white;
}
.roomAvatar {
position: relative;
width: 32px;
height: 32px;
border-radius: 32px;
}
.roomAvatar > * {
position: absolute;
left: 0;
color: #fff;
text-align: center;
pointer-events: none;
font-weight: 400;
}
.roomAvatar span {
font-size: 20.8px;
width: 32px;
line-height: 32px;
}
.roomName {
margin-left: 8px;
font-size: 14px;
line-height: 18px;
}
.center {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.createRoomContainer {
color: #232f32;
border-radius: 8px;
padding: 25px 60px;
width: 400px;
background-color: white;
}
.createRoomContainer h2 {
margin: 0 0 20px 0;
}
.userName {
font-weight: 600;
margin-right: 8px;
}
.signOutButton {
background: transparent;
border: none;
color: rgb(255, 75, 85);
cursor: pointer;
font-weight: 600;
}