Skip to content

Commit

Permalink
Merge pull request #22 from makebrainwaves/collectRedesign
Browse files Browse the repository at this point in the history
Collect redesign
  • Loading branch information
jdpigeon authored Sep 13, 2018
2 parents 359b76f + 83233ad commit d477bcf
Show file tree
Hide file tree
Showing 36 changed files with 1,191 additions and 834 deletions.
2 changes: 0 additions & 2 deletions app/actions/deviceActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ export const connectToDevice = payload => ({
payload,
type: CONNECT_TO_DEVICE
});

export const setDeviceType = payload => ({ payload, type: SET_DEVICE_TYPE });
export const setConnectionStatus = payload => ({
payload,
type: SET_CONNECTION_STATUS
Expand Down
2 changes: 1 addition & 1 deletion app/actions/jupyterActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const loadPSD = () => ({
type: LOAD_PSD
});

export const loadERP = (payload: string) => ({
export const loadERP = (payload: ?string) => ({
payload,
type: LOAD_ERP
});
Expand Down
53 changes: 46 additions & 7 deletions app/app.global.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,21 @@ body {
position: relative;
height: 100vh;
background: rgba(255, 255, 255, 0.2);
font-family: Lato, Helvetica Neue, serif;
font-family: Lato, Helvetica Neue, sans-serif;
overflow-y: hidden;
}

#root {
margin-top: 15px;
}

h1 {
font-size: 36px;
letter-spacing: 1.29px;
line-height: 44px;
font-weight: normal;
}

h2 {
margin: 0;
font-size: 2.25rem;
Expand All @@ -26,7 +33,7 @@ h2 {
}

p {
font-size: 16px;
font-size: 18px;
}

li {
Expand All @@ -46,7 +53,7 @@ a:hover {
}

img {
max-width: 100%;
max-width: 100% !important;
}

.jspsych-display-element {
Expand All @@ -63,9 +70,16 @@ img {

/* Semantic UI OVerrides */

.ui.modal > .image.content {
display: block;
}

.ui.secondary.button {
color: #16996d !important;
border: 2px solid #16996d;
font-size: 18px;
font-weight: normal !important;
color: #007c70 !important;
border-radius: 4px;
border: 2px solid #007c70;
background-color: #ffffff;
}

Expand All @@ -82,8 +96,12 @@ img {
}

.ui.primary.button {
font-size: 18px;
font-weight: normal !important;
color: #e0fff5;
background-color: #16996d;
border: 2px solid #007c70;
background-color: #007c70;
border-radius: 4px;
}

.ui.primary.button:hover {
Expand All @@ -94,9 +112,30 @@ img {
background-color: #0b4d37;
}

ui.primary.button:active {
.ui.primary.button:active {
background-color: #0b4d37;
}

.ui.negative.button {
font-size: 18px;
font-weight: normal !important;
border: 2px solid #ca1010;
border-radius: 4px;
}

.ui.dimmer {
top: 60px !important;
background-image: linear-gradient(#43968d, #007c70);
}

.ui.dimmer.inverted {
background-image: none;
}

.ui.modal > .header {
border-style: none !important;
}

/* Webview-related styles */

#eegView {
Expand Down
2 changes: 1 addition & 1 deletion app/components/AnalyzeComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default class Analyze extends Component<Props, State> {

handleAnalyze() {
this.props.jupyterActions.loadPSD();
this.props.jupyterActions.loadERP();
this.props.jupyterActions.loadERP(null);
}

handleChannelDropdownChange(e: Object, props: Object) {
Expand Down
Loading

0 comments on commit d477bcf

Please sign in to comment.