From f2d4906c2d4e1997862b40b3869de11dd8d44d33 Mon Sep 17 00:00:00 2001 From: Neeraj Baid Date: Fri, 8 May 2015 19:21:10 -0700 Subject: [PATCH] Remove Or, and Drag ... text. --- css/index.styl | 17 +++++++++-------- lib/components/UploadPage.js | 8 +++----- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/css/index.styl b/css/index.styl index a5eb352..f7b6bb6 100644 --- a/css/index.styl +++ b/css/index.styl @@ -31,6 +31,10 @@ p { margin: 0 0 } +p.subtitle { + font: 16px/22px "Quicksand", sans-serif +} + .drop-zone { width: 100% height: 100% @@ -214,25 +218,22 @@ p { } } -label.myLabel input[type="file"] { +label.select-file-label input[type="file"] { position: fixed; top: -1000px; } -.myLabel { +.select-file-label { border: 2px solid #CCC; border-radius: 4px; padding: 2px 5px; - margin-left: 4px; - margin-right: 2px; - margin-top: 2px; - margin-bottom: 2px; + margin-top: 5px; background: #EEE; display: inline-block; } -.myLabel:hover { +.select-file-label:hover { background: #CCC; } -.myLabel:active { +.select-file-label:active { background: #BBB; } diff --git a/lib/components/UploadPage.js b/lib/components/UploadPage.js index f8ce966..839590e 100644 --- a/lib/components/UploadPage.js +++ b/lib/components/UploadPage.js @@ -53,14 +53,12 @@ export default class UploadPage extends React.Component {

FilePizza

-

Your files, delivered.

-

Drag the file into this window to get started.

-

Or, -

Your files, delivered.

+

+ - .