Changeset 1221


Ignore:
Timestamp:
Nov 30, 2010, 1:30:44 PM (13 years ago)
Author:
work@…
Message:
  • improved build header
Location:
trunk
Files:
2 edited

Legend:

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

    r1080 r1221  
    33        <table>
    44                <tr>
    5                         <td colspan="2">${meta(name: 'app.name')} ${meta(name: 'app.version')} ${meta(name: 'app.build.type')} build</td>
     5                        <td colspan="2">${meta(name: 'app.name')} ${meta(name: 'app.version')} <b><i><u>${meta(name: 'app.build.type')}</u> build</i></b></td>
    66                </tr>
    77                <tr>
    88                        <td>revision</td>
    99                        <td>: ${meta(name: 'app.build.svn.revision')}</td>
     10                </tr>
     11                <tr>
     12                        <td>Grails version</td>
     13                        <td>: <g:meta name="app.grails.version"></g:meta></td>
     14                </tr>
     15                <tr>
     16                        <td>Groovy version</td>
     17                        <td>: ${org.codehaus.groovy.runtime.InvokerHelper.getVersion()}</td>
     18                </tr>
     19                <tr>
     20                        <td>JVM version</td>
     21                        <td>: ${System.getProperty('java.version')}</td>
    1022                </tr>
    1123                <tr>
  • trunk/web-app/css/default_style.css

    r1091 r1221  
    11body {
    2         margin: 0; padding: 0;
     2        margin: 0;
     3        padding: 0;
    34        font: 10px normal Arial, Helvetica, sans-serif;
    45        background: #fff url(../images/default_style/body_bg.gif) repeat-x;
    56}
     7
    68/*a:link, a:visited, a:hover {
    7     color: #ff7900;
    8     font-weight: normal;
    9     text-decoration: none;
     9        color: #ff7900;
     10        font-weight: normal;
     11        text-decoration: none;
    1012}*/
    1113h1 {
    12     color: #006dba;
    13     font-weight: normal;
    14     font-size: 16px;
    15     margin: .8em 0 .3em 0;
    16 }
     14        color: #006dba;
     15        font-weight: normal;
     16        font-size: 16px;
     17        margin: .8em 0 .3em 0;
     18}
     19
    1720h2 {
    18     color: #006dba;
    19     font-weight: normal;
    20     font-size: 12px;
    21     margin: .8em 0 .3em 0;
    22 }
     21        color: #006dba;
     22        font-weight: normal;
     23        font-size: 12px;
     24        margin: .8em 0 .3em 0;
     25}
     26
    2327/** START :: container **/
    2428.container {
     
    2731        position: relative;
    2832}
     33
    2934/** END :: container **/
    3035/** START :: header **/
     
    3540
    3641#header .info {
    37     color: #ff3333;
    38                 vertical-align: top;
    39                 align: right;
    40     width: 350px;
    41                 margin: -140px 0px 0px 600px;
    42     display: inline-block;
    43     zoom: 1; /* IE 6 & 7 hack */
    44     *display: inline; /* IE 6 & 7 hack */
    45 }
     42        color: #ff3333;
     43        vertical-align: top;
     44        align: right;
     45        width: 350px;
     46        margin: -140px 0px 0px 600px;
     47        display: inline-block;
     48        zoom: 1; /* IE 6 & 7 hack */
     49        *display: inline; /* IE 6 & 7 hack */
     50        background-color: #666;
     51        border: 1px dotted red;
     52        filter:alpha(opacity=80);
     53        opacity: 0.8;
     54}
     55
    4656#header .info table {
    47     border: 0;
    48 }
     57        border: 0;
     58}
     59
    4960#header .info td {
    50     padding: 0px;
    51 }
     61        padding: 0px;
     62}
     63
    5264/** END :: header **/
    5365/** START :: topnav **/
     
    6274        background: url(../images/default_style/topnav/topnav_bg.gif) repeat-x;
    6375}
     76
    6477ul.topnav li {
    6578        float: left;
     
    6881        position: relative; /*--Declare X and Y axis base--*/
    6982}
     83
    7084ul.topnav li img {
    71     border: none;
    72 }
    73 ul.topnav li a{
    74     padding: 10px 5px;
     85        border: none;
     86}
     87
     88ul.topnav li a {
     89        padding: 10px 5px;
    7590        color: #fff;
    7691        display: block;
     
    7893        float: left;
    7994}
    80 ul.topnav li a:hover{
     95
     96ul.topnav li a:hover {
    8197        background: url(../images/default_style/topnav/topnav_hover.gif) no-repeat center top;
    8298}
    83 ul.topnav li span { /*--Drop down trigger styles--*/
     99
     100ul.topnav li span {
     101/*--Drop down trigger styles--*/
    84102        width: 17px;
    85103        height: 35px;
     
    87105        background: url(../images/default_style/topnav/subnav_btn.gif) no-repeat center top;
    88106}
    89 ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/
     107
     108ul.topnav li span.subhover {
     109        background-position: center bottom;
     110        cursor: pointer;
     111}
     112
     113/*--Hover effect for trigger--*/
    90114ul.topnav li ul.subnav {
    91115        list-style: none;
    92116        position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
    93         left: 0; top: 35px;
     117        left: 0;
     118        top: 35px;
    94119        background: #333;
    95         margin: 0; padding: 0;
     120        margin: 0;
     121        padding: 0;
    96122        display: none;
    97123        float: left;
     
    103129        border: 1px solid #111;
    104130}
    105 ul.topnav li ul.subnav li{
    106         margin: 0; padding: 0;
     131
     132ul.topnav li ul.subnav li {
     133        margin: 0;
     134        padding: 0;
    107135        border-top: 1px solid #252525; /*--Create bevel effect--*/
    108136        border-bottom: 1px solid #444; /*--Create bevel effect--*/
     
    110138        width: 170px;
    111139}
     140
    112141html ul.topnav li ul.subnav li a {
    113142        float: left;
     
    116145        padding-left: 20px;
    117146}
    118 html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/
     147
     148html ul.topnav li ul.subnav li a:hover {
     149/*--Hover effect for subnav links--*/
    119150        background: #222 url(../images/default_style/topnav/dropdown_linkbg.gif) no-repeat 10px center;
    120151}
     152
    121153/** END :: topnav **/
    122154/** START :: content **/
     
    129161
    130162#content p {
    131     text-align: justify;
    132 }
    133 #content a:link, #content a:visited, #content a:hover{
    134     color: #006dba;
    135     text-decoration: none;
    136 }
     163        text-align: justify;
     164}
     165
     166#content a:link, #content a:visited, #content a:hover {
     167        color: #006dba;
     168        text-decoration: none;
     169}
     170
    137171#content p img {
    138     display: run-in;
    139     float: right;
    140     padding: 2px;
    141     border: 1px solid #006dba;
    142     margin-left: 10px;
    143     margin-bottom: 10px;
    144     height: 120px;
    145 }
    146 
    147 #content .message { 
    148     border: 1px solid #ccc; /* #006dba; */
    149     margin-bottom: 10px;
    150     margin-top: 10px;
    151 
    152     background: #f7f7f7 url(../plugins/famfamfam-1.0.1/images/icons/information.png) 10px 10px no-repeat;
    153     padding: 10px 10px 10px 33px;
     172        display: run-in;
     173        float: right;
     174        padding: 2px;
     175        border: 1px solid #006dba;
     176        margin-left: 10px;
     177        margin-bottom: 10px;
     178        height: 120px;
     179}
     180
     181#content .message {
     182        border: 1px solid #ccc; /* #006dba; */
     183        margin-bottom: 10px;
     184        margin-top: 10px;
     185
     186        background: #f7f7f7 url(../plugins/famfamfam-1.0.1/images/icons/information.png) 10px 10px no-repeat;
     187        padding: 10px 10px 10px 33px;
    154188
    155189}
     
    164198        padding-top: 5px;
    165199}
     200
    166201#footer a:link, #footer a:visited, #footer a:hover {
    167     color: #006dba;
    168     font-weight: normal;
    169     text-decoration: none;
    170 }
     202        color: #006dba;
     203        font-weight: normal;
     204        text-decoration: none;
     205}
     206
    171207/** END :: footer **/
    172208
    173209/** START :: TABLES **/
    174210table {
    175     border: 1px solid #ccc;
    176     width: 100%
    177 }
     211        border: 1px solid #ccc;
     212        width: 100%
     213}
     214
    178215tr {
    179     border: 0;
    180 }
     216        border: 0;
     217}
     218
    181219td, th {
    182     font: 11px verdana, arial, helvetica, sans-serif;
    183     line-height: 12px;
    184     padding: 5px 6px;
    185     text-align: left;
    186     vertical-align: top;
    187 }
     220        font: 11px verdana, arial, helvetica, sans-serif;
     221        line-height: 12px;
     222        padding: 5px 6px;
     223        text-align: left;
     224        vertical-align: top;
     225}
     226
    188227th {
    189     background: #fff url(../images/default_style/tables/shadow.jpg);
    190     color: #666;
    191     font-size: 11px;
    192     font-weight: bold;
    193     line-height: 17px;
    194     padding: 2px 6px;
    195 }
     228        background: #fff url(../images/default_style/tables/shadow.jpg);
     229        color: #666;
     230        font-size: 11px;
     231        font-weight: bold;
     232        line-height: 17px;
     233        padding: 2px 6px;
     234}
     235
    196236th a:link, th a:visited, th a:hover {
    197     color: #333;
    198     display: block;
    199     font-size: 10px;
    200     text-decoration: none;
    201     width: 100%;
    202 }
     237        color: #333;
     238        display: block;
     239        font-size: 10px;
     240        text-decoration: none;
     241        width: 100%;
     242}
     243
    203244th.asc a, th.desc a {
    204     background-position: right;
    205     background-repeat: no-repeat;
    206 }
     245        background-position: right;
     246        background-repeat: no-repeat;
     247}
     248
    207249th.asc a {
    208     background-image: url(../images/default_style/tables/sorted_asc.gif);
    209 }
     250        background-image: url(../images/default_style/tables/sorted_asc.gif);
     251}
     252
    210253th.desc a {
    211     background-image: url(../images/default_style/tables/sorted_desc.gif);
     254        background-image: url(../images/default_style/tables/sorted_desc.gif);
    212255}
    213256
    214257.odd {
    215     background: #f7f7f7;
    216 }
     258        background: #f7f7f7;
     259}
     260
    217261.even {
    218     background: #fff;
    219 }
     262        background: #fff;
     263}
     264
    220265/** END :: TABLES **/
    221266
    222267/** START :: LIST **/
    223268.list table {
    224     border-collapse: collapse;
    225 }
     269        border-collapse: collapse;
     270}
     271
    226272.list th, .list td {
    227     border-left: 1px solid #ddd;
    228 }
     273        border-left: 1px solid #ddd;
     274}
     275
    229276.list th:hover, .list tr:hover {
    230     background: #b2d1ff;
    231 }
     277        background: #b2d1ff;
     278}
     279
    232280/** END :: LIST **/
    233281
    234282/** START :: buttons **/
    235283.buttons {
    236     margin-top: 15px;
    237     font-size: 10px;
     284        margin-top: 15px;
     285        font-size: 10px;
    238286}
    239287
     
    244292   same section */
    245293#content .button a {
    246     color: #333;
    247 }
     294        color: #333;
     295}
     296
    248297.button a {
    249     font-size: 10px;
    250     font-weight: bold;
    251     margin-left: 3px;
    252     margin-right: 3px;
    253     padding-top: 2px;
    254     padding-bottom: 2px;
    255 }
     298        font-size: 10px;
     299        font-weight: bold;
     300        margin-left: 3px;
     301        margin-right: 3px;
     302        padding-top: 2px;
     303        padding-bottom: 2px;
     304}
     305
    256306.buttons input {
    257     background: #fff;
    258     border: 0;
    259     color: #333;
    260     cursor: pointer;
    261     font-size: 10px;
    262     font-weight: bold;
    263     margin-left: 3px;
    264     margin-right: 3px;
    265     overflow: visible;
    266     padding: 2px 6px;
    267     font-family: Verdana, Arial, Helvetica, sans-serif;
     307        background: #fff;
     308        border: 0;
     309        color: #333;
     310        cursor: pointer;
     311        font-size: 10px;
     312        font-weight: bold;
     313        margin-left: 3px;
     314        margin-right: 3px;
     315        overflow: visible;
     316        padding: 2px 6px;
     317        font-family: Verdana, Arial, Helvetica, sans-serif;
    268318}
    269319
     
    272322        padding-left: 28px;
    273323}
    274 .buttons input.edit, .buttons a.edit  {
     324
     325.buttons input.edit, .buttons a.edit {
    275326        background: transparent url(../plugins/famfamfam-1.0.1/images/icons/application_edit.png) 5px 50% no-repeat;
    276327        padding-left: 28px;
    277328}
     329
    278330.buttons input.save, .buttons a.save {
    279331        background: transparent url(../plugins/famfamfam-1.0.1/images/icons/accept.png) 5px 50% no-repeat;
    280332        padding-left: 28px;
    281333}
     334
    282335.buttons input.create, .buttons a.create {
    283336        background: transparent url(../plugins/famfamfam-1.0.1/images/icons/add.png) 5px 50% no-repeat;
    284337        padding-left: 28px;
    285338}
     339
    286340.buttons input.backToList, .buttons a.backToList {
    287341        background: transparent url(../plugins/famfamfam-1.0.1/images/icons/application.png) 5px 50% no-repeat;
    288342        padding-left: 28px;
    289343}
     344
    290345.buttons input.cancel, .buttons a.cancel {
    291346        background: transparent url(../plugins/famfamfam-1.0.1/images/icons/delete.png) 5px 50% no-repeat;
    292347        padding-left: 28px;
    293         font-weight: normal;
    294 }
     348        font-weight: normal;
     349}
     350
    295351.buttons input.otherList, .buttons a.otherList {
    296352        background: transparent url(../plugins/famfamfam-1.0.1/images/icons/application_view_detail.png) 5px 50% no-repeat;
     
    299355
    300356/* Reset the font weight for buttons occurring within the table */
    301 td.buttons input { font-weight: normal; }
     357td.buttons input {
     358        font-weight: normal;
     359}
    302360
    303361/** END :: buttons **/
     
    305363/** START :: pagination buttons **/
    306364.paginateButtons {
    307     margin-top: 15px;
    308     overflow: auto;
    309     width: 100%;
     365        margin-top: 15px;
     366        overflow: auto;
     367        width: 100%;
    310368}
    311369
    312370.paginateButtons a,
    313371.paginateButtons span.currentStep {
    314     border:solid 1px #ccc;
    315     margin-right:2px;
    316     display:block;
    317     float:left;
    318     padding:1px 6px;
    319     text-decoration:none;
     372        border: solid 1px #ccc;
     373        margin-right: 2px;
     374        display: block;
     375        float: left;
     376        padding: 1px 6px;
     377        text-decoration: none;
    320378}
    321379
    322380.paginateButtons a {
    323     color:#0e509e;
     381        color: #0e509e;
    324382}
    325383
    326384.paginateButtons span.currentStep {
    327     background:#2e6ab1;
    328     color:#FFFFFF;
     385        background: #2e6ab1;
     386        color: #FFFFFF;
    329387}
    330388
     
    333391/* START :: ontology autocomplete */
    334392.ui-autocomplete .ui-menu-item {
    335     font-size: 10px;
    336 }
     393        font-size: 10px;
     394}
     395
    337396.ui-autocomplete .about {
    338     font-size: 8px;
    339     color: #006DBA;
    340 }
     397        font-size: 8px;
     398        color: #006DBA;
     399}
     400
    341401.ui-autocomplete .from {
    342     font-size: 8px;
    343     color: #666;
    344 }
     402        font-size: 8px;
     403        color: #666;
     404}
     405
    345406/* END :: ontology autocomplete */
    346407
    347408/* START :: special select option styles */
    348409option.addMore {
    349     background: url(../plugins/famfamfam-1.0.1/images/icons/add.png) no-repeat left top;
    350     background-color: #333;
    351     padding-left: 18px;
    352     height: 16px;
    353     color: #fff;
    354     font-weight: bold;
    355 }
     410        background: url(../plugins/famfamfam-1.0.1/images/icons/add.png) no-repeat left top;
     411        background-color: #333;
     412        padding-left: 18px;
     413        height: 16px;
     414        color: #fff;
     415        font-weight: bold;
     416}
     417
    356418option.modify {
    357     background: url(../plugins/famfamfam-1.0.1/images/icons/layout_add.png) no-repeat left top;
    358     background-color: #333;
    359     padding-left: 18px;
    360     height: 16px;
    361     color: #fff;
    362     font-weight: bold;   
    363 }
     419        background: url(../plugins/famfamfam-1.0.1/images/icons/layout_add.png) no-repeat left top;
     420        background-color: #333;
     421        padding-left: 18px;
     422        height: 16px;
     423        color: #fff;
     424        font-weight: bold;
     425}
     426
    364427option.locked {
    365     background: url(../plugins/famfamfam-1.0.1/images/icons/lock.png) no-repeat left top;
    366     padding-left: 18px;
    367 }
     428        background: url(../plugins/famfamfam-1.0.1/images/icons/lock.png) no-repeat left top;
     429        padding-left: 18px;
     430}
     431
    368432option.unlocked {
    369     padding-left: 18px;
    370 }
     433        padding-left: 18px;
     434}
     435
    371436/* END :: special select option styles */
Note: See TracChangeset for help on using the changeset viewer.