Changeset 11

Show
Ignore:
Timestamp:
21/08/06 18:19:01 (7 years ago)
Author:
dez
Message:

Separates login box into its own template
Puts login box styling into stylesheet
Tidies IE stylesheet in the same way as the main one

Files:
1 added
4 modified

Legend:

Unmodified
Added
Removed
  • css/ie.css

    r6 r11  
    88} 
    99 
     10#loginForm input.button { 
     11        font-size: 80%;  
     12} 
  • css/ielt7.css

    r7 r11  
    1 #branding { 
    2         background: #ffc62b; 
     1/* -------------------------------------------------- 
     2    Page corners 
     3   -------------------------------------------------- */ 
     4 
     5.cornerTopLeft { 
     6        height: 100%; 
     7        background: url('../images/left-top-corner.gif') top left no-repeat; 
    38} 
    49 
    5 #footer { 
     10.cornerTopRight { 
     11        height: 100%; 
     12        background: url('../images/right-top-corner.gif') top right no-repeat; 
     13} 
     14 
     15.cornerBottomLeft { 
     16        height: 100%; 
     17        background: url('../images/left-bottom-corner.gif') bottom left no-repeat; 
     18} 
     19 
     20.cornerBottomRight { 
     21        height: 100%; 
     22        background: url('../images/right-bottom-corner.gif') bottom right no-repeat; 
     23} 
     24 
     25/* -------------------------------------------------- 
     26    Branding 
     27   -------------------------------------------------- */ 
     28 
     29#branding { 
    630        background: #ffc62b; 
    731} 
     
    1034        border-left-color: #ffc62b; 
    1135        border-right-color: #ffc62b; 
    12 } 
    13  
    14 .cornerTopLeft { 
    15 height: 100%; background: url('../images/left-top-corner.gif') top left no-repeat; 
    16 } 
    17  
    18 .cornerTopRight { 
    19 height: 100%; background: url('../images/right-top-corner.gif') top right no-repeat; 
    20 } 
    21  
    22 .cornerBottomLeft { 
    23 height: 100%; background: url('../images/left-bottom-corner.gif') bottom left no-repeat; 
    24 } 
    25  
    26 .cornerBottomRight { 
    27 height: 100%; background: url('../images/right-bottom-corner.gif') bottom right no-repeat; 
    2836} 
    2937 
     
    5967        width: 95%; 
    6068} 
     69 
     70/* -------------------------------------------------- 
     71    Footer 
     72   -------------------------------------------------- */ 
     73 
     74#footer { 
     75        background: #ffc62b; 
     76} 
  • css/sucs.css

    r10 r11  
    7979        text-align: right; 
    8080        font-size: 80%; 
     81} 
     82 
     83#loginForm input.text { 
     84        width: 8em; 
    8185} 
    8286 
  • templates/branding.tpl

    r9 r11  
    1111                </div> 
    1212 
    13                 <div id="loginForm"> 
    14                         <form method="post" action="/"> 
    15                                 <div> 
    16                                 <label for="username">Username</label> <input type="text" name="username" id="username" style="width: 8em;" /><br /> 
    17                                 <label for="password">Password</label> <input type="password" name="password" id="password" style="width: 8em;" /><br /> 
    18                                 <input type="submit" name="submit" id="submit" value="Login" /> 
    19                                 </div> 
    20                         </form> 
    21                 </div> 
     13{include file="login.tpl"} 
     14 
    2215        </div> 
    2316        </div>