Lappuse 1 no 11
Forums » uCoz sistēma » Vizuālie skripti » Materiālu izskats #6
Materiālu izskats #6
Spanky
Datums: Pirmdiena, 27.08.2012, 11:59 | Ziņa # 1
Grupa: Administrators
Foruma posti: 550
Reputācija: 86


Dodies: CP -> Customize design -> $MODULE_NAME$ -> Appearance of entries -> kur doto kodu aizstāj ar šo:
Code
<style type="text/css">  
       .eMessage a img, .eMessage img {    
    padding:5px !important;    
    background:#ffffff;    
    border:1px solid#dbdbdb !important;border-radius:7px;    
    -moz-border-radius:7px;    
    box-shadow:0px 0px 10px #e8e8e8;    
    -moz-box-shadow:0px 0px 10px #e8e8e8;    
    max-width:200px;    
    }    

    .e-title {    
    text-align:left;    
    background:url('http://ucoz-script.do.am/skripti/mater-5/e-title.png') repeat-x;    
    background-position:0 50%;    
    padding:5px;    
    -moz-border-radius:3px;    
    -webkit-border-radius:3px;    
    border-radius:3px;    
    font-family:tahoma;    
    font-size:8pt;    
    }    

    .e-title a:link, .e-title a:visited {    
    color:#fff;    
    font-size:9pt;    
    text-shadow:0px 1px 0px #000;    
    text-decoration:none;    
    }    

    .e-title a:hover, .e-title a:active {    
    color:#fff;    
    text-shadow:0px 0px 5px #fff;    
    }    

    .e-details {    
    -moz-border-radius:5px;    
    -webkit-border-radius:5px;    
    border-radius: 5px;    
    background:#F8F7F6;    
    border:1px solid #D2D2D2;    
    }    

    .e-details-top {    
    padding:3px 0 3px 0;    
    border-bottom:1px dashed #D2D2D2;    
    }  
</style>  
<div class="e-title"><img src="http://ucoz-script.do.am/skripti/mater-5/bult.gif" width="13px"> <a title="$TITLE$" href="$ENTRY_URL$" class="entryLink"><strong>$TITLE$ </strong> [$CATEGORY_NAME$]</a><?if($MODER_PANEL$)?> $MODER_PANEL$<?endif?></div>    
    <div style="text-align: left; clear: both; padding-top: 2px; padding-bottom: 2px;" class="e-Message">    
    <div>    
    <table style="padding: 6px 7px;" class="e-details" width="100%"><tbody><tr><td width="105px">    
        <a rel="shadowbox" title="$TITLE$" href="$ENTRY_URL$" class="eMessage"><?if($IMG_URL1$)?><img alt="$TITLE$" src="$IMG_URL1$" width="150px"></a><?endif?><br>    
    </td><td style="text-align: left; vertical-align: top; padding-left: 15px; padding-top: 10px; letter-spacing: 0pt; word-spacing: 0pt;">$MESSAGE$      
    </td></tr></tbody></table>    
    <table style="padding: 6px 7px; width: 100%;" class="e-details"><tbody><tr><td>    
    Kategorija: <b>$CATEGORY_NAME$</b> |
        Skatījumi: <b>$READS$</b> |
    Pievienoja: <b>$USERNAME$</b> |  
        Komentāri: <b>$COMMENTS_NUM$</b> |    
        Pievienots: <b>$DATE$</b>  
    </td><td><?if($RATING$)?><div style="float:right"><?$RSTARS$('16','http://ucoz-script.do.am/skripti/mater-5/stars_1.png','1','float')?><?endif?></div></td></tr>    
    </tbody></table><br></div></div>



Pielikumi: 2960011.png(28Kb)
Forums » uCoz sistēma » Vizuālie skripti » Materiālu izskats #6
Lappuse 1 no 11
Meklēšana: