]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
improved view
authorAlexandr Danilov <bitbucket@modos189.ru>
Wed, 12 Aug 2015 17:27:30 +0000 (20:27 +0300)
committerAlexandr Danilov <bitbucket@modos189.ru>
Wed, 12 Aug 2015 17:27:30 +0000 (20:27 +0300)
src/Wallabag/CoreBundle/Resources/views/themes/material/Security/login.html.twig
src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css

index 73abc3f88e0e6624886b24b706ea2d1967fefd09..2c513ffef1c9cb7c2ae33f67a0f2eb482dab3d6a 100644 (file)
                             <span class="black-text"><p>{{ flashMessage }}</p></span>
                         {% endfor %}
 
-                        <div class="input-field s12">
-                            <label for="username">{% trans %}Username{% endtrans %}</label>
-                            <input type="text" id="username" name="_username" value="{{ last_username }}" />
-                        </div>
+                        <div class="row">
 
-                        <div class="input-field s12">
-                            <label for="password">{% trans %}Password{% endtrans %}</label>
-                            <input type="password" id="password" name="_password" />
-                        </div>
+                            <div class="input-field col s12">
+                                <label for="username">{% trans %}Username{% endtrans %}</label>
+                                <input type="text" id="username" name="_username" value="{{ last_username }}" />
+                            </div>
+
+                            <div class="input-field col s12">
+                                <label for="password">{% trans %}Password{% endtrans %}</label>
+                                <input type="password" id="password" name="_password" />
+                            </div>
+
+                            <div class="input-field col s12">
+                                <input type="checkbox" id="remember_me" name="_remember_me" checked />
+                                <label for="remember_me">{% trans %}Keep me logged in{% endtrans %}</label>
+                            </div>
 
-                        <div class="input-field s12">
-                            <input type="checkbox" id="remember_me" name="_remember_me" checked />
-                            <label for="remember_me">{% trans %}Keep me logged in{% endtrans %}</label>
                         </div>
 
                     </div>
index 9650a12b4d8fae4bd780465a1ca7ff2fb5562bc1..6dd6ed55100f664a698741b23600fd31edc6d179 100755 (executable)
@@ -100,14 +100,14 @@ nav input {
     white-space: nowrap;
 }
 
-.input-field input {
+.nav-panels .input-field input {
     display: block;
     line-height: inherit;
     padding-left: 4rem !important;
     width: calc(100% - 8rem);
 }
 
-.input-field input:focus {
+.nav-panels .input-field input:focus {
     background-color: #fff;
     border: 0;
     box-shadow: none;