Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Commit

Permalink
Merge branch 'dev' into extract-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
l2fprod committed Dec 15, 2016
2 parents b869e06 + 196aaaf commit 9d3572d
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 20 deletions.
9 changes: 5 additions & 4 deletions src/components/GlobalNav/GlobalNav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ export const GlobalNav = () => (
<ToolbarGroup>
<RoleSwitcher />
<ToolbarSeparator style={styles.separator} />
<a href="https://github.com/IBM-Bluemix/logistics-wizard" target="_blank">
<IconButton >
<IconButton >
<a href="https://github.com/IBM-Bluemix/logistics-wizard" target="_blank">
<Icon
name="github"
className={classes.github}
/>
</IconButton>
</a>
</a>
</IconButton>

</ToolbarGroup>
</Toolbar>
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/components/GlobalNav/GlobalNav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
.title {
padding-left: 2rem;
color: $alternateTextColor;
font-size: 8rem;
}

.github {
font-size: 1.9rem;
font-size: 1.98rem;
color: $primary3Color;
margin-top: -2px;

&:hover {
color: $alternateTextColor;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Dashboard/components/AlertsCard/AlertsCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
.content {
color: $textColor;
font-size: 0.875rem;
font-weight: 700;
font-weight: 500;
display: flex;
flex-direction: column;
height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Dashboard/components/Dashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import classes from './Dashboard.scss';
export const Dashboard = () => (
<div className={classes.wrapper}>
<div className={classes.pageContainer}>
<DashboardTitle />
{/* <DashboardTitle /> */}
<div className={classes.cardSection}>
<CompletionCard />
<ProgressCard />
Expand Down
16 changes: 9 additions & 7 deletions src/routes/Dashboard/components/Dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,40 +15,42 @@
.cardSection {
display: flex;
justify-content: space-between;
margin-bottom: 1.5rem;
padding-top: .4rem;
padding-bottom: .4rem;
max-height: 140px;
}

.shipmentsWrapper {
border: 1px solid $borderColor;
background: white;
padding: 1rem;
padding: 20px;
flex: 1;
margin-right: 1.5rem;
}

.shipmentsHeader {
border-bottom: 1px solid $borderColor;
padding-bottom: 1rem;
padding-bottom: .3rem;
}

.shipmentsAmount {
font-size: 2.5rem;
font-size: 1.5rem;
color: $accent1Color;
text-align: center;
font-weight: 300;
}

.shipmentsSubtitle {
font-size: 14px;
font-weight: 700;
font-weight: 500;
color: $primary1Color;
text-align: center;
}

.shipmentsBottom {
display: flex;
justify-content: space-between;
padding-top: 1rem;
padding-top: .3rem;
color: $textColor;
font-weight: 300;
font-size: 14px;
Expand All @@ -57,5 +59,5 @@
.selected {
color: $primary1Color;
text-decoration: underline;
font-weight: 700;
font-weight: 500;
}
5 changes: 3 additions & 2 deletions src/routes/Dashboard/components/Map/MapMarker/MapMarker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ div.shipment:hover > div.mapMarkerPopup {
position: absolute;
left: -100px;
top: -100px;
background: lightblue;
opacity: 0.5;
background: #0F94A7;
opacity: 0.4;
align-items: center;
}

Expand All @@ -112,4 +112,5 @@ div.shipment:hover > div.mapMarkerPopup {
position: absolute;
left: -25px;
top: -25px;
color: #0F94A7;
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const DCCard = ({ address, contact, shipments }) => (
</div>
</div>
:
<div className={classes.contentContainer}>No Outgoing Shipments</div>
<div className={classes.contentContainer}><h4>No Outgoing Shipments</h4></div>
}
</div>
);
Expand Down
6 changes: 6 additions & 0 deletions src/routes/Dashboard/components/Map/PopUpCard/PopUpCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ h2 {
font-size: 14px;
}

h4 {
font-weight: bold;
font-size: 12px;
font-color: #0C7483;
}

small {
color: $primary1Color;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export class ShipmentsTable extends React.PureComponent {
{props.shipments.map(shipment =>
<TableRow
key={shipment.id}
style={{ padding: '40px' }}
>
<TableRowColumn>{shipment.id}</TableRowColumn>
<TableRowColumn>{shipment.status}</TableRowColumn>
Expand Down
1 change: 1 addition & 0 deletions src/routes/Home/components/LandingPage/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export class Header extends React.PureComponent {
</Toolbar>

<h1>Let your global supply chain do the THINKing,<br /> so you don't have to.</h1>
<br />
<GhostButton
label="View Logistics Wizard in Action"
primary={false}
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions src/styles/base/_colors.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
$primary1Color: rgba(15, 148, 167, 1);
$navColor: rgba(15, 148, 167, 1);
$primary1Color: #0C7483;
$primary2Color: rgba(72, 85, 102, 1);
$primary3Color: rgba(184, 222, 228, 1);
$accent1Color: rgba(145, 195, 131, 1);
$accent1Color: #749C68;
$alternateTextColor: rgba(255, 255, 255, 1);
$borderColor: rgba(218, 221, 224, 1);
$textColor: $primary2Color;
Expand All @@ -13,6 +14,7 @@ $map2Accent: #F6ECF5;
$map3Primary: #749C68;
$map3Accent: #F4F9F2;

:export { navColor: $navColor; }
:export { primary1Color: $primary1Color; }
:export { primary2Color: $primary2Color; }
:export { primary3Color: $primary3Color; }
Expand Down
3 changes: 2 additions & 1 deletion src/styles/muiTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import getMuiTheme from 'material-ui/styles/getMuiTheme';
import colors from './base/_colors.scss';

export const palette = {
navColor: colors.navColor,
primary1Color: colors.primary1Color,
primary2Color: colors.primary2Color,
primary3Color: colors.primary3Color,
Expand All @@ -28,7 +29,7 @@ const muiTheme = getMuiTheme({
toolbar: {
titleFontSize: '1rem',
separatorColor: palette.primary3Color,
backgroundColor: palette.primary1Color,
backgroundColor: palette.navColor,
iconColor: palette.alternateTextColor,
},
tableHeader: {
Expand Down

0 comments on commit 9d3572d

Please sign in to comment.