Hirdetés

Új hozzászólás Aktív témák

  • Laca 012

    őstag

    válasz akom #1556 üzenetére

    Esetleg egy ötödik színséma a meglevő 4 mellé??

    A frontend webes mappájában vannak a /themes mappában red, dark,espresso, light néven.

    Én ezt pl. blue-nak neveztem el. Ebben a mappában a style.css tartalma (ez az oldal stíluslapja):

    * {margin:0; padding:0;}
    body {background:#ffffff; font-family:Lucida Sans Unicode; font-size:12px;}
    #wrap {width: 960px; background:#000066; padding:10px; margin:0 auto; border:1px solid #474747;}
    #sidebar {width: 160px; float: left; padding: 3px 4px; color: #fff; background-color: #0000ff; border:2px solid #ffff00; -moz-border-radius:8px;}
    #sidebar ul.iface {}
    #sidebar li.iface {list-style-type:none; color:#ffff00; text-transform:uppercase; padding-bottom:10px; text-align:center;}
    #sidebar a{color:#ffff99;}
    #sidebar ul.page {}
    #sidebar li.page {list-style-type:none; text-transform:none;}
    #content {margin-left: 180px; width: 780px;}
    #header {padding: 3px; color: #ffff00; background-color: #0000ff; text-align: center; border:2px solid #ffff00; font-size:14px; font-weight:bold; -moz-border-radius:8px;}
    #footer {padding: 3px; color: #fff; background-color: #0000ff; text-align: center; border:2px solid #ffff00; font-size:11px; -moz-border-radius:8px; clear:both; margin-top:10px;}
    #footer a {color:#ffff00;}
    #main {padding: 10px 10px 10px 10px; color: #fff; background-color: #0000ff; text-align: center; border:2px solid #ffff00; -moz-border-radius:8px; margin-top:10px;}
    #main td {padding:1px 0;}
    #main td.numeric_odd {text-align: right; color: #ffff99; background:#3366ff;}
    #main td.numeric_even {text-align: right; color: #ffff99; background:#000066;}
    #main td.label_odd {color: #fff; background:#3366ff;}
    #main td.label_even {color: #fff; background:#000066;}
    #main th.label {color: #ffff00; padding:2px 0; border-bottom:2px solid #ffff00;}
    #main caption {padding: 3px 0 4px 0; color:#ffff00; text-transform:uppercase;}

    A theme.php tartalma pedig: (Ez a rajzolt grafikon tulajdonságait tartalmazza):

    <?php
    // A blue colorscheme based on a contribution by Laca 012
    $colorscheme = array(
    'image_background' => array( 0, 0, 102, 0 ),
    'graph_background' => array( 255, 255, 0, 0 ),
    'graph_background_2' => array( 255, 255, 153, 0 ),
    'grid_stipple_1' => array( 0, 0, 100, 0 ),
    'grid_stipple_2' => array( 0, 0, 100, 0 ),
    'border' => array( 255, 255, 0, 0 ),
    'text' => array( 255, 255, 0, 0 ),
    'rx' => array( 51, 51, 255, 50 ),
    'rx_border' => array( 0, 0, 0, 90 ),
    'tx' => array( 255, 0, 0, 50 ),
    'tx_border' => array( 0, 0, 0, 90 )
    );
    ?>

    Aktiválni pedig az config.php végén tudod. A

    // Default theme
    define('DEFAULT_COLORSCHEME', 'light');

    sor végén a light-ot írod át annak a nevére, amelyik színösszeállítást szeretnéd..

    De ez alapján akár saját "szájíz" szerint gyárthatsz magadnak saját skin-t is.. :K
    (Én is fogok, mert ez kicsit túl színesre sikerült szerintem... :K )

    Mást már nem fűzök hozzá, mert így is kicsit off....

    [ Szerkesztve ]

Új hozzászólás Aktív témák