styling studio report tiles

This commit is contained in:
Eric Rosenbaum 2021-05-14 17:08:08 -04:00
parent df30f9bac6
commit a76f0b3fac
2 changed files with 31 additions and 21 deletions

View file

@ -73,6 +73,7 @@ const StudioReport = ({
> >
<h3><FormattedMessage id="studio.reportThisStudio" /></h3> <h3><FormattedMessage id="studio.reportThisStudio" /></h3>
<p><FormattedMessage id="studio.reportPleaseExplain" /></p> <p><FormattedMessage id="studio.reportPleaseExplain" /></p>
<div className="studio-report-tile-container">
<StudioReportTile <StudioReportTile
handleChange={handleChange} handleChange={handleChange}
heading={intl.formatMessage({id: 'studio.title'})} heading={intl.formatMessage({id: 'studio.title'})}
@ -91,6 +92,7 @@ const StudioReport = ({
image={image} image={image}
value={Fields.THUMBNAIL} value={Fields.THUMBNAIL}
/> />
</div>
<p><FormattedMessage id="studio.reportAreThereComments" /></p> <p><FormattedMessage id="studio.reportAreThereComments" /></p>
<button <button
className="button" className="button"

View file

@ -89,6 +89,8 @@ $radius: 8px;
} }
.studio-report-modal { .studio-report-modal {
width: 650px;
.studio-report-title { .studio-report-title {
box-shadow: inset 0 -1px 0 0 $ui-aqua-dark; box-shadow: inset 0 -1px 0 0 $ui-aqua-dark;
background: $ui-aqua; background: $ui-aqua;
@ -103,19 +105,25 @@ $radius: 8px;
padding: 2rem; padding: 2rem;
} }
.studio-report-tile-container {
display: flex;
flex-wrap: wrap;
}
.button:disabled { .button:disabled {
background-color: $active-dark-gray; background-color: $active-dark-gray;
} }
.studio-report-tile { .studio-report-tile {
background: $ui-light-gray; background: rgba(0, 0, 0, 0.05);
width: 200px; width: 250px;
height: 156px;
margin: 1rem; margin: 1rem;
border-radius: 0.5rem; border-radius: 0.5rem;
} }
.studio-report-tile-header { .studio-report-tile-header {
background: $ui-gray; background: rgba(0, 0, 0, 0.05);
border-radius: 0.5rem; border-radius: 0.5rem;
padding: 0.5rem; padding: 0.5rem;
} }