diff --git a/app/assets/javascripts/app/controllers/getting_started.js.coffee b/app/assets/javascripts/app/controllers/getting_started.js.coffee index 66a406226..7dd104a86 100644 --- a/app/assets/javascripts/app/controllers/getting_started.js.coffee +++ b/app/assets/javascripts/app/controllers/getting_started.js.coffee @@ -1,5 +1,5 @@ class Index extends App.ControllerContent - className: 'getstarted fit vertical center justified' + className: 'getstarted fit' events: 'submit form': 'submit', @@ -144,6 +144,8 @@ class Index extends App.ControllerContent @el.find('.master_user').addClass('hide') @el.find('.agent_user').removeClass('hide') + @el.find('.tabs .tab.active').removeClass('active') + @el.find('.tabs .invite_agents').addClass('active') # @el.find('.master_user').fadeOut('slow', => # @el.find('.agent_user').fadeIn() # ) diff --git a/app/assets/javascripts/app/controllers/login.js.coffee b/app/assets/javascripts/app/controllers/login.js.coffee index dcc87a325..e9e7e198b 100644 --- a/app/assets/javascripts/app/controllers/login.js.coffee +++ b/app/assets/javascripts/app/controllers/login.js.coffee @@ -1,5 +1,5 @@ class Index extends App.ControllerContent - className: 'login fit vertical center justified' + className: 'login fit' events: 'submit #login': 'login' @@ -113,7 +113,7 @@ class Index extends App.ControllerContent # login shake @delay( - => @shake( @el.find('#login') ), + => @shake( @el.find('.hero-unit') ), 600 ) diff --git a/app/assets/javascripts/app/controllers/signup.js.coffee b/app/assets/javascripts/app/controllers/signup.js.coffee index a3da92107..0a2ade213 100644 --- a/app/assets/javascripts/app/controllers/signup.js.coffee +++ b/app/assets/javascripts/app/controllers/signup.js.coffee @@ -1,5 +1,5 @@ class Index extends App.ControllerContent - className: 'container signup' + className: 'signup fit' events: 'submit form': 'submit' @@ -30,7 +30,7 @@ class Index extends App.ControllerContent @html App.view('signup')() new App.ControllerForm( - el: @el.find('#form-signup') + el: @el.find('form') model: App.User required: 'signup' autofocus: true diff --git a/app/assets/javascripts/app/views/getting_started.jst.eco b/app/assets/javascripts/app/views/getting_started.jst.eco index de5e87765..5c8c07e65 100644 --- a/app/assets/javascripts/app/views/getting_started.jst.eco +++ b/app/assets/javascripts/app/views/getting_started.jst.eco @@ -1,22 +1,23 @@ -
-

<%- @T( 'Getting started!' ) %>

-
    -
  1. <%- @T( 'Create Admin' ) %>
  2. -
  3. <%- @T( 'Invite Agents' ) %>
  4. -
  5. <%- @T( 'Configure Channels' ) %>
  6. -
- <% if @master_user: %> -
-

<%- @T( 'Create Admin' ) %>

-
- -
-
- <% end %> -
-

<%- @T( 'Invite Agents' ) %>

-
- -
+
+
+
    +
  1. <%- @T( 'Create Admin' ) %>
  2. +
  3. <%- @T( 'Invite Agents' ) %>
  4. +
  5. <%- @T( 'Configure Channels' ) %>
  6. +
+ <% if @master_user: %> +
+
+ +
+
+ <% end %> +
+
+
+ +
+
+
\ No newline at end of file diff --git a/app/assets/javascripts/app/views/login.jst.eco b/app/assets/javascripts/app/views/login.jst.eco index ed27f8011..bc1f00e5c 100644 --- a/app/assets/javascripts/app/views/login.jst.eco +++ b/app/assets/javascripts/app/views/login.jst.eco @@ -1,46 +1,56 @@ -

Login with zeughaus.znuny.com:

+
+

Login with zeughaus.znuny.com:

-
-
- - +
+ + +
+ + +
+ +
+ + +
- - +
+ - + <% if @C('user_lost_password'): %> + <%- @T( 'Forgot password?' ) %> + <% end %> +
+ +
-
- <% if @C('user_lost_password'): %> - · - <%- @T( 'Forgot password?' ) %> - <% end %> +

+ <%- @T( "You're already registered with your E-Mail adress if you've been in touch with our support team.") %>
+ <%- @T( "You can request your password") %> <%- @T( "here") %>. +

+ + <% if @C('user_create_account'): %> +
+ +

+ <%- @T( 'Register as a new customer' ) %> +

+ <% end %> + + <% if !_.isEmpty( @auth_providers ): %> +
+ +
+

--- <%- @T( 'or' ) %> ---

- + +
+

<%- @T( 'Sign in using' ) %>

+ +
+ <% end %>
- -<% if !_.isEmpty( @auth_providers ): %> -
-

--- <%- @T( 'or' ) %> ---

-
- -
-

<%- @T( 'Sign in using' ) %>

- -
-<% end %> - -<% if @C('user_create_account'): %> -
-

--- <%- @T( 'or' ) %> ---

-
- -
-

<%- @T( 'New to %s join today!', @C( 'product_name' ) ) %>

-

<%- @T( 'Sign up' ) %> -

-<% end %> diff --git a/app/assets/javascripts/app/views/signup.jst.eco b/app/assets/javascripts/app/views/signup.jst.eco index a9b71599f..7c576c872 100644 --- a/app/assets/javascripts/app/views/signup.jst.eco +++ b/app/assets/javascripts/app/views/signup.jst.eco @@ -1,8 +1,11 @@ -
-

<%- @T( 'Join' ) %> <%= @C( 'product_name' ) %>

-
-

- <%- @T( 'Cancel' ) %> - -
+
+
+

<%- @T( 'Join' ) %> <%= @C( 'product_name' ) %>

+
+
+ <%- @T( 'Cancel & Go Back' ) %> + +
+
+
diff --git a/app/assets/stylesheets/layout.css b/app/assets/stylesheets/layout.css index ee6e29538..a82278bde 100755 --- a/app/assets/stylesheets/layout.css +++ b/app/assets/stylesheets/layout.css @@ -38,6 +38,10 @@ flex-direction: column-reverse; } +.fullHeight { + min-height: 100%; +} + .relative { position: relative; } diff --git a/app/assets/stylesheets/zzz.css b/app/assets/stylesheets/zzz.css index 8a72e043d..8f2db4426 100644 --- a/app/assets/stylesheets/zzz.css +++ b/app/assets/stylesheets/zzz.css @@ -1,3 +1,13 @@ +body { + font-family: "FiraSansOT", "Helvetica Neue", Helvetica, Arial, sans-serif; + line-height: 1.7; +} + +#app > nav { + position: relative; + z-index: 1; +} + .glyphicon { font-size: 13px; } @@ -404,7 +414,7 @@ label { font-size: 12px; font-weight: normal; letter-spacing: 0.1em; - padding-left: 2px; + padding: 0 2px; } .form-group .help-message { @@ -434,6 +444,8 @@ label { .help-inline { color: red; + padding: 0 2px; + font-size: 13px; } .content { @@ -443,6 +455,7 @@ label { .content.fit { background: #2c2d36; + z-index: 1; } .form-large { @@ -479,10 +492,16 @@ label { margin-bottom: 4px; } -/* to show checkboxes below in getting_started */ -.form-stacked .form-group .checkbox label { - display: block +.form-stacked .checkbox label { + color: inherit; + font-size: 13px; + text-transform: inherit; + vertical-align: baseline; + letter-spacing: inherit; + display: block; } + + /* * bootstrap changes */ @@ -555,28 +574,61 @@ label { } /* - * + * hero-unit (used on getstarted, login, signup) */ .hero-unit { width: 500px; - padding: 3px 25px 23px; + margin: 10px 0 25px; + padding: 23px 25px; border: 1px solid #e5f0f5; color: inherit; background-color: white; border-radius: 6px; + box-shadow: + 0 8px 17px 0 rgba(0, 0, 0, 0.2), + 0 6px 20px 0 rgba(0, 0, 0, 0.19); } -.hero-unit p { - font-size: 16px; - line-height: 22px; + .hero-unit h1 { + margin-top: 0; + } + +.login .hero-unit { + width: 430px; } -.hero-unit .small { - font-size: 12px; - line-height: 20px; - color: #999999; -} + .login .logo { + margin: 30px auto; + display: block; + } + + .login p { + max-width: 400px; + color: hsl(210,8%,42%); + text-align: center; + } + + .login hr { + margin: 12px 0 23px; + border-top-color: rgba(255,255,255,.15); + width: 100%; + max-width: 400px; + } + + .login p a { + color: hsl(210,8%,54%); + text-decoration: underline; + } + + .subtle-link { + color: rgba(0,0,0,.32); + text-decoration: underline; + } + + .subtle-link:hover { + color: rgba(0,0,0,.5); + } ol.tabs { padding: 0; @@ -588,6 +640,7 @@ ol.tabs li { } .tabs { + margin-bottom: 20px; color: #b8b8b8; border: 1px solid rgba(0,8,14,.08); border-radius: 3px; @@ -603,16 +656,19 @@ ol.tabs li { } .tab { + height: 43px; padding: 10px; text-align: center; border-right: 1px solid rgba(0,8,14,.08); cursor: pointer; flex-grow: 1; + box-shadow: 0 2px rgba(0,0,0,.03); } .tab.active { color: white; background: #444a4f; + box-shadow: none; } .tab:first-child { @@ -624,7 +680,6 @@ ol.tabs li { border-right: none; } - .contain-text { white-space: nowrap; overflow: hidden; @@ -638,6 +693,15 @@ form { margin: 0 0 0 0; } +.form-controls { + margin-top: 10px; +} + +form a.standalone { + line-height: 40px; + margin: 0 5px; +} + form.form-inline select, form.form-inline input[type="text"], form.form-inline input[type="password"] { @@ -1080,7 +1144,7 @@ footer { .btn { font-size: 14px; - padding: 10px 14px 9px; + padding: 9px 14px; } .btn-primary {