Changeset 5496

Show
Ignore:
Timestamp:
06/05/12 20:27:42 (7 years ago)
Author:
gpress
Message:

The red warning message boxes were not proportionally scaled to the green message box (noticeable on the login and register pages with a incorrect login/register). The green message box now scales by a percentage instead of having a max size of 800px

Location:
seattle/trunk/seattlegeni/website/html
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • seattle/trunk/seattlegeni/website/html/media/css/common.css

    r5259 r5496  
    173173        text-align: center; 
    174174} 
    175  
     175.warning2 { 
     176        border: 1px solid red; 
     177        max-width : 60%; 
     178        margin: 20px 60px; 
     179        padding: 10px 20px; 
     180        color: red; 
     181        background-color: #f2dbdb; 
     182        text-align: center; 
     183} 
    176184.message { 
    177185        border: 1px solid green; 
     
    203211 
    204212#learn-about-seattle { 
    205     max-width : 800px; 
     213    max-width : 70%; 
    206214    text-align : center; 
    207215    background-color : #ded; 
  • seattle/trunk/seattlegeni/website/html/templates/accounts/login.html

    r5259 r5496  
    2525                  <form method="post" action="{% url login %}"> 
    2626                  {% if err %} 
    27                   <p class="warning">{{ err }}</p><br> 
     27                  <p class="warning2">{{ err }}</p><br> 
    2828                  {% endif %} 
    2929                  {% if msg %} 
  • seattle/trunk/seattlegeni/website/html/templates/accounts/register.html

    r5259 r5496  
    2727 
    2828                  {% if form.username.errors or form.password1.errors or form.password2.errors or form.affiliation.errors or form.email.errors or form.pubkey.errors %} 
    29                   <p class="warning"> 
     29                  <p class="warning2"> 
    3030                  Please correct the following:</p> 
    3131                  {% endif %}