Commit 2a5be0d4 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Cleanup of auth.Form HTML & CSS.

parent a8184d2a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4,11 +4,11 @@
Ext.define('Docs.view.auth.Form', {
    extend: 'Docs.view.auth.BaseForm',
    alias: 'widget.authForm',
    cls: "new-comment",
    componentCls: "auth-form",

    initComponent: function() {
        this.html = [
            '<span class="toggleNewComment"><span></span>Sign in to post a comment:</span>',
            '<span class="before-text">Sign in to post a comment:</span>',
            this.createLoginFormHtml()
        ];

+5 −11
Original line number Diff line number Diff line
@@ -56,20 +56,14 @@ $moderator-color-light: #94b773;
    min-height: 40px; } }


// login form in place of new comment button.
.new-comment {
  .note {
    padding-bottom: 10px;
    label {
      margin-left: 20px;
      display: block; } }
  form.loginForm {
// login form at the end of comments list.
.auth-form {
  form {
    position: relative;
    display: inline-block;
    .username,
    .password {
    .username, .password {
      border: 1px solid #bbb; } }
  .toggleNewComment {
  .before-text {
    display: inline-block;
    line-height: 22px;
    margin: 10px 10px 1px 4px;