mapcomplete/css/ReviewElement.css

130 lines
2.1 KiB
CSS
Raw Normal View History

2020-12-08 23:44:34 +01:00
.review {
display: block;
margin-top: 1em;
}
2020-12-07 03:31:13 +01:00
.review-title {
font-size: x-large;
display: flex;
justify-content: space-between;
align-items: center;
padding-left: 1em;
padding-right: 1em;
}
.review-title img {
max-width: 1.5em;
height: 1.5em;
}
2020-12-07 03:02:50 +01:00
.review-rating img {
max-width: 1em;
height: 1em;
}
2020-12-11 16:29:51 +01:00
.review-by-current-user {
border: 5px solid var(--catch-detail-color);
}
2020-12-07 03:02:50 +01:00
.review-rating {
display: flex;
flex-direction: row;
2020-12-07 03:31:13 +01:00
width: 5em;
margin-right: 0.5em;
flex-shrink: 0;
2020-12-07 03:02:50 +01:00
}
.review-date {
color: var(--subtle-detail-color-light-contrast);
}
2020-12-07 03:31:13 +01:00
.review-stars-comment {
2020-12-07 03:02:50 +01:00
display: flex;
margin-bottom: 0.5em;
}
2020-12-07 03:31:13 +01:00
2020-12-07 03:02:50 +01:00
.review-author {
font-weight: bold;
2020-12-07 03:31:13 +01:00
}
.review-author-date {
2020-12-07 03:02:50 +01:00
display: flex;
2020-12-07 03:31:13 +01:00
margin-bottom: 0.5em;
2020-12-07 03:02:50 +01:00
justify-content: flex-end;
}
2020-12-07 03:31:13 +01:00
2020-12-07 03:02:50 +01:00
.review-element {
padding: 1em;
margin: 0.5em;
display: block;
border-radius: 1em;
background-color: var(--subtle-detail-color);
color: var(--subtle-detail-color-contrast);
}
.review-attribution {
display: flex;
color: var(--subtle-detail-color-light-contrast);
justify-content: flex-end;
margin-right: 1em;
}
.review-attribution span {
2020-12-08 23:44:34 +01:00
width: calc(75% - 3em);
2020-12-07 03:02:50 +01:00
text-align: right;
max-width: 20em;
}
.review-attribution img {
height: 3em;
margin-left: 0.5em;
}
2020-12-08 23:44:34 +01:00
.review-form {
display: block;
border-radius: 1em;
padding: 1em;
background-color: var(--subtle-detail-color);
color: var(--subtle-detail-color-contrast);
border: 2px solid var(--subtle-detail-color-contrast)
}
.review-form-bottom {
display: flex;
justify-content: space-between;
margin-top: 0.5em;
}
.review-form-top {
display: flex;
flex-wrap: wrap;
2020-12-08 23:44:34 +01:00
justify-content: space-between;
}
.review-form-rating {
display: block ruby;
2020-12-08 23:44:34 +01:00
}
.review-form .save {
display: block ruby;
}
.review-form .save-non-active {
display: block ruby;
}
.review-form textarea {
resize: unset;
}
.review-form-rating svg {
width: 2em;
height: 2em;
margin: 0;
padding: 0;
display: inline-block;
}