Changeset 28

Show
Ignore:
Timestamp:
23-10-09 14:51:39 (4 years ago)
Author:
duh
Message:

-changed CSS from absolute to relative
-added traling slash to home anchor

Location:
trunk
Files:
2 modified

Legend:

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

    r23 r28  
    22    <!-- TOPNAV //--> 
    33    <ul class="topnav"> 
    4       <li><g:link url="/${meta(name: 'app.name')}">Home</g:link></li> 
     4      <li><g:link url="/${meta(name: 'app.name')}/">Home</g:link></li> 
    55      <li> 
    66        <a href="#">Scaffolded controllers</a> 
  • trunk/web-app/css/style.css

    r26 r28  
    22        margin: 0; padding: 0; 
    33        font: 10px normal Arial, Helvetica, sans-serif; 
    4         background: #ddd url(/gscf/images/skin/body_bg.gif) repeat-x; 
     4        background: #ddd url(../images/skin/body_bg.gif) repeat-x; 
    55} 
    66/*a:link, a:visited, a:hover { 
     
    2424/** START :: header **/ 
    2525#header { 
    26         background: url(/gscf/images/skin/header.png) no-repeat center top; 
     26        background: url(../images/skin/header.png) no-repeat center top; 
    2727        padding-top: 120px; 
    2828} 
     
    4040        background: #222; 
    4141        font-size: 1.2em; 
    42         background: url(/gscf/images/skin/topnav/topnav_bg.gif) repeat-x; 
     42        background: url(../images/skin/topnav/topnav_bg.gif) repeat-x; 
    4343} 
    4444ul.topnav li { 
     
    5656} 
    5757ul.topnav li a:hover{ 
    58         background: url(/gscf/images/skin/topnav/topnav_hover.gif) no-repeat center top; 
     58        background: url(../images/skin/topnav/topnav_hover.gif) no-repeat center top; 
    5959} 
    6060ul.topnav li span { /*--Drop down trigger styles--*/ 
     
    6262        height: 35px; 
    6363        float: left; 
    64         background: url(/gscf/images/skin/topnav/subnav_btn.gif) no-repeat center top; 
     64        background: url(../images/skin/topnav/subnav_btn.gif) no-repeat center top; 
    6565} 
    6666ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/ 
     
    9090        float: left; 
    9191        width: 145px; 
    92         background: #333 url(/gscf/images/skin/topnav/dropdown_linkbg.gif) no-repeat 10px center; 
     92        background: #333 url(../images/skin/topnav/dropdown_linkbg.gif) no-repeat 10px center; 
    9393        padding-left: 20px; 
    9494} 
    9595html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/ 
    96         background: #222 url(/gscf/images/skin/topnav/dropdown_linkbg.gif) no-repeat 10px center; 
     96        background: #222 url(../images/skin/topnav/dropdown_linkbg.gif) no-repeat 10px center; 
    9797} 
    9898/** END :: topnav **/ 
     
    153153} 
    154154th { 
    155     background: #fff url(/gscf/images/skin/tables/shadow.jpg); 
     155    background: #fff url(../images/skin/tables/shadow.jpg); 
    156156    color: #666; 
    157157    font-size: 11px; 
     
    172172} 
    173173th.asc a { 
    174     background-image: url(/gscf/images/skin/tables/sorted_asc.gif); 
     174    background-image: url(../images/skin/tables/sorted_asc.gif); 
    175175} 
    176176th.desc a { 
    177     background-image: url(/gscf/images/skin/tables/sorted_desc.gif); 
     177    background-image: url(../images/skin/tables/sorted_desc.gif); 
    178178} 
    179179 
     
    211211} 
    212212.buttons input.delete { 
    213     background: transparent url(/gscf/images/obsolete/skin/database_delete.png) 5px 50% no-repeat; 
     213    background: transparent url(../images/obsolete/skin/database_delete.png) 5px 50% no-repeat; 
    214214    padding-left: 28px; 
    215215} 
    216216.buttons input.edit { 
    217     background: transparent url(/gscf/images/obsolete/skin/database_edit.png) 5px 50% no-repeat; 
     217    background: transparent url(../images/obsolete/skin/database_edit.png) 5px 50% no-repeat; 
    218218    padding-left: 28px; 
    219219} 
    220220.buttons input.save { 
    221     background: transparent url(/gscf/images/obsolete/skin/database_save.png) 5px 50% no-repeat; 
     221    background: transparent url(../images/obsolete/skin/database_save.png) 5px 50% no-repeat; 
    222222    padding-left: 28px; 
    223223} 
    224224.buttons input.delete { 
    225         background: transparent url(/gscf/images/icons/famfamfam/delete.png) 5px 50% no-repeat; 
     225        background: transparent url(../images/icons/famfamfam/delete.png) 5px 50% no-repeat; 
    226226        padding-left: 28px; 
    227227} 
    228228.buttons input.edit { 
    229         background: transparent url(/gscf/images/icons/famfamfam/application_edit.png) 5px 50% no-repeat; 
     229        background: transparent url(../images/icons/famfamfam/application_edit.png) 5px 50% no-repeat; 
    230230        padding-left: 28px; 
    231231} 
    232232.buttons input.save { 
    233         background: transparent url(/gscf/images/icons/famfamfam/accept.png) 5px 50% no-repeat; 
     233        background: transparent url(../images/icons/famfamfam/accept.png) 5px 50% no-repeat; 
    234234        padding-left: 28px; 
    235235}