liquid_feedback_frontend

changeset 435:4d3fb6bcbda4

Make formulars more dynamic
author bsw
date Sun Mar 11 09:14:33 2012 +0100 (2012-03-11)
parents 5a4f5cc161d7
children 852962dd9bb0
files static/style.css
line diff
     1.1 --- a/static/style.css	Sun Mar 11 09:14:19 2012 +0100
     1.2 +++ b/static/style.css	Sun Mar 11 09:14:33 2012 +0100
     1.3 @@ -661,12 +661,14 @@
     1.4  .vertical select {
     1.5    font-family: sans-serif;
     1.6    font-size: 100%;
     1.7 -  width: 50em;
     1.8 +  width: 69%;
     1.9    border: 1px solid #444;
    1.10    padding: 0.2ex 0.2em 0.2ex 0.2em;
    1.11    margin-bottom: 1ex;
    1.12  }
    1.13  
    1.14 +
    1.15 +
    1.16  .login input[type=password],
    1.17  .vertical input[type=password] {
    1.18    width: 16em;
    1.19 @@ -683,7 +685,7 @@
    1.20    line-height: 120%;
    1.21    font-weight: bold;
    1.22    color: #777;
    1.23 -  width: 15em;
    1.24 +  width: 29%;
    1.25    display: block;
    1.26    float: left;
    1.27    clear: left;
    1.28 @@ -735,6 +737,34 @@
    1.29    background-color: #444444;
    1.30  }
    1.31  
    1.32 +@media screen and (max-width: 480px) {
    1.33 +  .login input[type=text],
    1.34 +  .vertical input[type=text],
    1.35 +  .login input[type=password],
    1.36 +  .vertical input[type=password],
    1.37 +  .vertical textarea,
    1.38 +  .vertical select,
    1.39 +  .vertical input[type=submit],
    1.40 +  .login input[type=submit] {
    1.41 +    width: 98%;
    1.42 +  }
    1.43 +  .login .ui_field_label,
    1.44 +  .vertical .ui_field_label {
    1.45 +    text-align: left;
    1.46 +    width: 98%;
    1.47 +  }
    1.48 +  .login input[type=text],
    1.49 +  .login input[type=password] {
    1.50 +    width: 98%;
    1.51 +  }
    1.52 +  .login input[type=submit],
    1.53 +  .vertical input[type=submit] {
    1.54 +    margin-left: 0;
    1.55 +  }
    1.56 +}
    1.57 +
    1.58 +
    1.59 +
    1.60  /*************************************************************************
    1.61   * Tables
    1.62   */
    1.63 @@ -1538,4 +1568,4 @@
    1.64  .footer {
    1.65    margin: 0 auto;
    1.66    max-width: 1130px;
    1.67 -}
    1.68 \ No newline at end of file
    1.69 +}

Impressum / About Us