Tweak cards on Editorial Workflow
This commit is contained in:
parent
032e1f9d77
commit
3a78626900
@ -1,5 +1,6 @@
|
|||||||
:root {
|
:root {
|
||||||
--highlightColor: #e1eeea;
|
--highlightColor: #38ab9b;
|
||||||
|
--backgroundAltColor: #232528;
|
||||||
--defaultFontSize: 1em;
|
--defaultFontSize: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11,6 +12,7 @@
|
|||||||
.column {
|
.column {
|
||||||
flex: 1 33%;
|
flex: 1 33%;
|
||||||
margin: -10px;
|
margin: -10px;
|
||||||
|
margin-top: 24px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
max-width: 33%;
|
max-width: 33%;
|
||||||
transition: background-color .5s ease;
|
transition: background-color .5s ease;
|
||||||
@ -18,7 +20,8 @@
|
|||||||
|
|
||||||
.columnHovered {
|
.columnHovered {
|
||||||
composes: column;
|
composes: column;
|
||||||
background-color: var(--highlightColor);
|
border: 2px dashed var(--highlightColor);
|
||||||
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.columnHeading {
|
.columnHeading {
|
||||||
@ -32,3 +35,11 @@
|
|||||||
.card {
|
.card {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Gross stuff below, React Toolbox hacks */
|
||||||
|
|
||||||
|
.cardTitle h5 {
|
||||||
|
color: var(--backgroundAltColor) !important;
|
||||||
|
font-weight: 500 !important;
|
||||||
|
font-size: 21px !important;
|
||||||
|
}
|
||||||
|
@ -88,6 +88,7 @@ class UnpublishedListing extends React.Component {
|
|||||||
<CardTitle
|
<CardTitle
|
||||||
title={entry.getIn(['data', 'title'])}
|
title={entry.getIn(['data', 'title'])}
|
||||||
subtitle={`by ${ author }`}
|
subtitle={`by ${ author }`}
|
||||||
|
className={styles.cardTitle}
|
||||||
/>
|
/>
|
||||||
<CardText>
|
<CardText>
|
||||||
Last updated: {timeStamp} by {entry.getIn(['metaData', 'user'])}
|
Last updated: {timeStamp} by {entry.getIn(['metaData', 'user'])}
|
||||||
|
@ -12,7 +12,8 @@
|
|||||||
font-size: .75em;
|
font-size: .75em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
||||||
background: var(--backgroundColorShaded);
|
background: var(--backgroundAltColor);
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.meta {}
|
.meta {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user