Changeset 611


Ignore:
Timestamp:
Jun 25, 2010, 11:15:08 AM (7 years ago)
Author:
duh
Message:
  • fixed the css issues with the login panel
  • change version info in login panel
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/common/_login_panel.gsp

    r359 r611  
    11<!-- LOGIN PANEL -->
    2   <div id="toppanel">
     2  <div id="toppanel" class="toppanel">
    33        <div id="panel">
    44                <div class="content clearfix">
    55                        <div class="left">
    66                                <h1>Welcome to the Generic Study Capture Framework</h1>
    7                                 <h2>pre-alpha version</h2>
     7                                <h2>version <b>${meta(name: 'app.version')}</b></h2>
    88                                <p class="grey">Please use the forms on the right to either log in if you already have an account, or sign up if you think this data support platform suits your needs.</p>
    99                                <p class="grey">Note that <span class="red">registration</span> and <span class="red">password reminders</span> are not yet implemented and hence <span class="red">do not work</span> at this moment!</p>
  • trunk/web-app/css/login_panel.css

    r29 r611  
    1313
    1414/***** clearfix *****/
    15 .clear {clear: both;height: 0;line-height: 0;}
    16 .clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
    17 .clearfix {display: inline-block;}
     15.toppanel .clear {clear: both;height: 0;line-height: 0;}
     16.toppanel .clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
     17.toppanel .clearfix {display: inline-block;}
    1818/* Hides from IE-mac \*/
    1919* html .clearfix {height: 1%;}
    20 .clearfix {display: block;}
     20.toppanel .clearfix {display: block;}
    2121/* End hide from IE-mac */
    22 .clearfix {height: 1%;}
    23 .clearfix {display: block;}
    24 
    25 .red { color: red; }
     22.toppanel .clearfix {height: 1%;}
     23.toppanel .clearfix {display: block;}
     24
     25.toppanel .red { color: red; }
    2626
    2727/* Panel Tab/button */
    28 .tab {
     28.toppanel .tab {
    2929        background: url(../images/default_style/login_panel/tab_b.png) repeat-x 0 0;
    3030        height: 42px;
     
    3434}
    3535
    36 .tab ul.login {
     36.toppanel .tab ul.login {
    3737        display: block;
    3838        position: relative;
     
    5050}
    5151
    52 .tab ul.login li.left {
     52.toppanel .tab ul.login li.left {
    5353        background: url(../images/default_style/login_panel/tab_l.png) no-repeat left 0;
    5454        height: 42px;
     
    6060}
    6161
    62 .tab ul.login li.right {
     62.toppanel .tab ul.login li.right {
    6363        background: url(../images/default_style/login_panel/tab_r.png) no-repeat left 0;
    6464        height: 42px;
     
    7070}
    7171
    72 .tab ul.login li {
     72.toppanel .tab ul.login li {
    7373        text-align: left;
    7474        padding: 0 6px;
     
    7979}
    8080
    81 .tab ul.login li a {
     81.toppanel .tab ul.login li a {
    8282        color: #15ADFF;
    8383}
    8484
    85 .tab ul.login li a:hover {
    86         color: white;
    87 }
    88 
    89 .tab .sep {color:#414141}
    90 
    91 .tab a.open, .tab a.close {
     85.toppanel .tab ul.login li a:hover {
     86        color: white;
     87}
     88
     89.toppanel .tab .sep {color:#414141}
     90
     91.toppanel .tab a.open, .tab a.close {
    9292        height: 20px;
    9393        line-height: 20px !important;
     
    100100}
    101101
    102 .tab a.open {background: url(../images/default_style/login_panel/bt_open.png) no-repeat left 0;}
    103 .tab a.close {background: url(../images/default_style/login_panel/bt_close.png) no-repeat left 0;}
    104 .tab a:hover.open {background: url(../images/default_style/login_panel/bt_open.png) no-repeat left -19px;}
    105 .tab a:hover.close {background: url(../images/default_style/login_panel/bt_close.png) no-repeat left -19px;}
     102.toppanel .tab a.open {background: url(../images/default_style/login_panel/bt_open.png) no-repeat left 0;}
     103.toppanel .tab a.close {background: url(../images/default_style/login_panel/bt_close.png) no-repeat left 0;}
     104.toppanel .tab a:hover.open {background: url(../images/default_style/login_panel/bt_open.png) no-repeat left -19px;}
     105.toppanel .tab a:hover.close {background: url(../images/default_style/login_panel/bt_close.png) no-repeat left -19px;}
    106106
    107107/* sliding panel */
     
    115115    margin-left: auto;
    116116    margin-right: auto;
     117    font: 130%/130% arial,helvetica,sans-serif
    117118}
    118119
Note: See TracChangeset for help on using the changeset viewer.