.index { width: 100%; height: 100%; display: flex; flex-direction: column; .indexOperation { display: flex; justify-content: flex-end; } .indexBtns { padding: 10px 0 20px; margin: 0 30px; box-sizing: border-box; border-bottom: 1px solid #2C2C2C; .indexBtnsJoin { background-color: #3A1457; box-shadow: none; color: white; &:hover { background-color: lighten(#3A1457, 5%) !important; color: white; } &:active { background-color: darken(#3A1457, 5%) !important; color: white; } } } .indexContent { flex-grow: 1; display: flex; flex-direction: column; padding: 20px 30px; box-sizing: border-box; .indexContentTitle { display: flex; align-items: center; justify-content: space-between; >span { flex-shrink: 0; color: white; font-size: 18px; font-weight: bold; } } .indexContentList { margin: 20px 0; overflow-y: scroll; flex-grow: 1; height: 0px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; align-content: flex-start; .indexContentListItem { border: 1px solid #353741; margin-bottom: 24px; background-color: #1E1E1F; width: calc(98% / 3); padding: 20px 16px; box-sizing: border-box; border-radius: 10px; >div:nth-child(1) { display: flex; align-items: center; >div:nth-child(1) { font-size: 16px; color: white; flex-grow: 1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } >div:nth-child(2) { display: flex; align-items: center; flex-shrink: 0; margin-left: 10px; >span { color: #767676; margin-left: 4px; font-size: 14px; } } } >div:nth-child(2) { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; >div:nth-child(1) { display: flex; align-items: center; >div:nth-child(1) { margin-right: 6px; display: flex; align-items: center; cursor: pointer; >span { color: #767676; margin-right: 6px; font-size: 14px; } } } >div:nth-child(2) { display: flex; align-items: center; >button { margin-left: 10px; } } } } } .indexContentEmpty { flex-grow: 1; display: flex; justify-content: center; margin-top: 18%; } .indexContentPagination { flex-shrink: 0; display: flex; justify-content: center; } } } .letterSpacing { >input { letter-spacing: 10px; &::placeholder { letter-spacing: 0; } } } .createRoom { >div { display: flex; align-items: center; margin-bottom: 14px; >span { color: white; flex-shrink: 0; font-size: 14px; text-align: right; width: 70px; } } } @media screen and (max-width: 1154px) { .indexContentListItem { width: calc(98% / 2) !important; } }