From d66e11fced69b7174c83f33c989700a8b0f176c3 Mon Sep 17 00:00:00 2001 From: Matthew Taylor Date: Thu, 30 Mar 2017 09:39:24 -0400 Subject: [PATCH 1/4] Banner updates --- src/components/forms/button.scss | 4 ++ .../splash/hoc-event-row/hoc-event-row.jsx | 37 +++++----- .../splash/hoc-event-row/hoc-event-row.scss | 68 +++++++++++++----- src/views/splash/l10n.json | 4 +- src/views/splash/splash.jsx | 38 ++++++---- static/images/splash/lg--no-ui.png | Bin 0 -> 58555 bytes static/images/splash/md--no-ui.png | Bin 0 -> 58546 bytes static/images/splash/sm--no-ui.png | Bin 0 -> 42860 bytes static/images/splash/xl--no-ui.png | Bin 0 -> 77610 bytes 9 files changed, 101 insertions(+), 50 deletions(-) create mode 100644 static/images/splash/lg--no-ui.png create mode 100644 static/images/splash/md--no-ui.png create mode 100644 static/images/splash/sm--no-ui.png create mode 100644 static/images/splash/xl--no-ui.png diff --git a/src/components/forms/button.scss b/src/components/forms/button.scss index c91976c1d..27a108930 100644 --- a/src/components/forms/button.scss +++ b/src/components/forms/button.scss @@ -37,6 +37,10 @@ $pass-bg: $ui-aqua; color: $ui-blue; } + &.mod-aqua { + background-color: $ui-aqua; + } + &.pass { background-color: $pass-bg; } diff --git a/src/views/splash/hoc-event-row/hoc-event-row.jsx b/src/views/splash/hoc-event-row/hoc-event-row.jsx index c8d3db166..b9c2e34ad 100644 --- a/src/views/splash/hoc-event-row/hoc-event-row.jsx +++ b/src/views/splash/hoc-event-row/hoc-event-row.jsx @@ -1,3 +1,4 @@ +var classNames = require('classnames'); var FormattedMessage = require('react-intl').FormattedMessage; var React = require('react'); @@ -12,8 +13,17 @@ var HocEventRow = React.createClass({ onDismiss: React.PropTypes.func }, render: function () { + var classes = classNames( + 'hoc-event', + this.props.className + ); return ( -
+
-
-

- -

- - - -
-
-