element-call/src/CallList.module.css

75 lines
1 KiB
CSS
Raw Normal View History

2021-12-08 01:59:55 +00:00
.callTile {
2021-12-10 18:54:18 +00:00
min-width: 240px;
2021-12-08 01:59:55 +00:00
height: 94px;
padding: 12px;
background-color: var(--bgColor2);
border-radius: 8px;
overflow: hidden;
2021-12-10 18:54:18 +00:00
box-sizing: border-box;
2021-12-10 22:01:55 +00:00
position: relative;
user-select: none;
}
.callTileLink {
display: flex;
text-decoration: none;
width: 100%;
2021-12-08 01:59:55 +00:00
}
.avatar,
2021-12-10 22:01:55 +00:00
.copyButtonSpacer {
2021-12-08 01:59:55 +00:00
flex-shrink: 0;
}
.callInfo {
display: flex;
flex-direction: column;
flex: 1;
padding: 0 16px;
color: var(--textColor1);
min-width: 0;
}
.callInfo > * {
margin-top: 0;
margin-bottom: 8px;
}
.callInfo > :last-child {
margin-bottom: 0;
}
.callInfo h5 {
font-size: 15px;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.callInfo p {
font-weight: 400;
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2021-12-10 22:01:55 +00:00
.copyButtonSpacer,
2021-12-08 01:59:55 +00:00
.copyButton {
width: 16px;
height: 16px;
}
2021-12-09 20:58:30 +00:00
2021-12-10 22:01:55 +00:00
.copyButton {
position: absolute;
top: 12px;
right: 12px;
}
2021-12-09 20:58:30 +00:00
.callList {
2021-12-10 18:54:18 +00:00
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
2021-12-09 20:58:30 +00:00
gap: 24px;
}