1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-10-17 04:17:26 +00:00
pds-2021-g2-nest/nest_frontend/components/interactive/SummaryRepository.module.css

100 lines
1.4 KiB
CSS
Raw Normal View History

.RepositorySummary {
width: 100%;
height: 60px;
margin: 10px 0;
display: flex;
}
.Left {
width: 250px;
height: 60px;
display: grid;
grid-template-areas:
"a b"
"a c"
"a d"
2021-05-11 14:37:15 +00:00
"a e";
grid-template-columns: auto 1fr;
grid-template-rows: 5px 1fr 1fr 5px;
background-color: var(--bg-accent);
border-radius: 30px 0 0 30px;
}
.IconContainer {
2021-04-26 16:36:41 +00:00
margin: 5px 15px 5px 5px;
width: 50px;
height: 50px;
border-radius: 50px;
display: flex;
justify-content: center;
align-items: center;
background-color: var(--bg-light);
color: var(--fg-primary);
font-size: x-large;
grid-area: a;
}
.Title {
grid-area: c;
align-self: flex-end;
}
2021-05-10 13:22:07 +00:00
.Author {
grid-area: d;
font-size: small;
align-self: flex-start;
}
.Middle {
flex-grow: 1;
height: 60px;
2021-05-11 16:05:01 +00:00
padding: 5px;
background-color: var(--bg-light);
2021-05-10 13:22:07 +00:00
2021-05-11 16:05:01 +00:00
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: 1fr 1fr;
2021-05-10 13:22:07 +00:00
}
2021-05-11 16:05:01 +00:00
.MiddleLabel {
grid-column: 1;
}
2021-05-10 13:22:07 +00:00
2021-05-11 16:05:01 +00:00
.MiddleValue {
grid-column: 2;
2021-05-10 13:22:07 +00:00
}
2021-05-11 16:05:01 +00:00
.MiddleTop {
grid-row: 1;
}
2021-05-10 13:22:07 +00:00
2021-05-11 16:05:01 +00:00
.MiddleBot {
grid-row: 2;
}
.Right {
width: 261px;
height: 60px;
padding: 5px;
background-color: var(--bg-accent);
border-radius: 0 30px 30px 0;
display: flex;
justify-content: flex-end;
align-items: center;
}