diff --git a/src/sass/_variables.scss b/src/sass/_variables.scss index eefb51a..ead6cb7 100755 --- a/src/sass/_variables.scss +++ b/src/sass/_variables.scss @@ -18,6 +18,7 @@ $color-blue: #00c6ff; $color-black: #000; $color-white: #fff; $color-grey: #666; +$color-grey-input: #949494; $color-grey-dark: #333; $color-grey-medium: #aaa; $color-grey-light: #ccc; diff --git a/src/sass/all.scss b/src/sass/all.scss index 1b2eb0a..94a26ef 100755 --- a/src/sass/all.scss +++ b/src/sass/all.scss @@ -18,6 +18,7 @@ @import "components/mail-list"; @import "components/layout"; @import "components/popover"; +@import "components/input"; // Views @import "views/shared"; diff --git a/src/sass/components/_buttons.scss b/src/sass/components/_buttons.scss index 59087c1..3f7b1bc 100755 --- a/src/sass/components/_buttons.scss +++ b/src/sass/components/_buttons.scss @@ -17,11 +17,9 @@ background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 background-color: $btn-back-color; color: $btn-color; - box-shadow: 1px 1px 0px $btn-shadow-color; transition: background-color 0.3s; text-decoration: none; font-weight: normal; - -webkit-font-smoothing: auto; &:hover, &:focus { @@ -59,6 +57,15 @@ } } +.btn-alt { + background-color: $color-grey-input; + + &:hover, + &:focus { + background-color: lighten($color-grey-input, 10%); + } +} + // Icon Buttons // ------------------------------------------- diff --git a/src/sass/components/_input.scss b/src/sass/components/_input.scss new file mode 100644 index 0000000..68cdbff --- /dev/null +++ b/src/sass/components/_input.scss @@ -0,0 +1,10 @@ +.input-text { + background-color: white; + border-width: 1px; + border-style: solid; + border-color: $color-grey-lighter; + color: $color-grey; + font-size: $font-size-base; + padding: 8px 10px; + outline: none; +} \ No newline at end of file diff --git a/src/sass/components/_popover.scss b/src/sass/components/_popover.scss index 2f7638a..997c4b5 100644 --- a/src/sass/components/_popover.scss +++ b/src/sass/components/_popover.scss @@ -125,7 +125,6 @@ .popover-info { color: $color-blue; - margin-left: 5px; &:hover { cursor: pointer; diff --git a/src/sass/views/_login.scss b/src/sass/views/_login.scss index 0b084b8..ee7ece5 100644 --- a/src/sass/views/_login.scss +++ b/src/sass/views/_login.scss @@ -6,40 +6,64 @@ color: $color-grey-dark; .logo-wrapper { - width: 320px; + max-width: 700px; height: 58px; - margin: 125px auto 80px; - } + margin: 145px auto 75px auto; - .logo { - background-image:url('../img/whiteout_logo.svg'); - background-repeat: no-repeat; - background-size: 320px 58px; - width: 320px; - height: 58px; + .logo { + background-image:url('../img/whiteout_logo.svg'); + background-repeat: no-repeat; + background-size: 320px 58px; + width: 320px; + height: 58px; + } } .content { - max-width: 500px; + max-width: 400px; margin-left: auto; margin-right: auto; p { - line-height: 150% + line-height: 150%; + + b { + color: $color-blue; + } } div { - margin: 25px 0; + margin: 20px 0; } input { - margin-right: 5px; - border-radius: 5px; + margin-right: 10px; + } + + input[type=file] { + background-color: white; border-width: 1px; border-style: solid; - border-color: $color-grey-light; - padding: 5px; + border-color: $color-grey-lighter; + color: $color-grey-input; + font-size: 1em; + padding: 4px 4px; outline: none; + + &::-webkit-file-upload-button { + background-color: $color-grey-input; + border-width: 0px; + border-style: solid; + color: white; + padding: 4px 10px; + font-family: inherit; + font-size: inherit; + line-height: inherit; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + outline: none; + cursor: pointer; + } } .error { @@ -49,7 +73,10 @@ } .view-login-existing { - .content { - max-width: 400px; +} + +.view-login-initial { + button { + margin-right: 10px; } } \ No newline at end of file diff --git a/src/sass/views/_mail-list.scss b/src/sass/views/_mail-list.scss index 3ad10d7..bbdbdb4 100755 --- a/src/sass/views/_mail-list.scss +++ b/src/sass/views/_mail-list.scss @@ -29,10 +29,13 @@ } .search { - width: 100%; padding: 0 $padding-horizontal $padding-vertical $padding-horizontal; + margin: 0 auto; + width: 100%; + input { - width: 100%; + width: 93%; + -webkit-appearance: searchfield; } } diff --git a/src/tpl/login-existing.html b/src/tpl/login-existing.html index bba0a46..38b3926 100644 --- a/src/tpl/login-existing.html +++ b/src/tpl/login-existing.html @@ -4,13 +4,11 @@
-

Unlock mailbox

- -

Please enter your passphrase to unlock the mailbox.

+

Unlock mailbox. Please enter your passphrase to unlock the mailbox.

- +
diff --git a/src/tpl/login-initial.html b/src/tpl/login-initial.html index 48f5edd..2e20719 100644 --- a/src/tpl/login-initial.html +++ b/src/tpl/login-initial.html @@ -1,4 +1,4 @@ -