1. McAtze

    McAtze - May 31, 2014 New Member

    Credit
    Point
    Hi Brivium,

    i had a little suggestion for the style of the addon. In the template "BRMP_index" replace ALL with ..
    HTML:
    <style type="text/css" media="screen">
    #charnav dt {
            float: left;
            width: 13%;
    }
    
    #charnav dd {
            float: left;
            width: 3.2%;
    }
    
    #charnav dd a {
            border: 1px solid @primaryMedium;
    }
    
    #charnav dd a {
            border-radius: 3px;
            display: block;
            font-size: 11px;
            margin-left: 2px;
            padding: 2px 4px;
            text-align: center;
            text-decoration: none;
    }
    
    #charnav dd a:hover, #charnav dd a:focus, #charnav dd a.currentPage {
        border-color: @primaryMedium;
        background: @primaryMedium;
        color: @textCtrlBackground;
    }
    
    #charnav dd.highlighted a {
        border-color: @primaryMedium;
        background: @primaryMedium;
        color: @textCtrlBackground;
    }
    
    dl.memberletter:after {
            clear: both;
            content: ".";
            display: block;
            height: 0;
            visibility: hidden;
    }
    
    dl.memberletter {
           display: block;
        height: 1%;
        font-weight: normal;
    }
    
    dl.memberletter dt:after {
           content: ":";
    }
    
    dl.memberletter dt {
            display: inline;
    }
    
    dl.memberletter dd {
            display: inline;
    }
    
    dl.memberletter:after {
            clear: both;
            content: ".";
            display: block;
            height: 0;
            visibility: hidden;
    }
    
    dl.memberletter {
        display: block;
        height: 1%;
        font-weight: normal;
    }
    
    dl.memberletter dt:after {
        content: ":";
    }
    
    dl.memberletter dt {
            display: inline;
    }
    
    dl.memberletter dd {
            display: inline;
    }
    </style>
    
    <dl id="charnav" class="memberletter sectionMain">
        <dt>{xen:phrase find_member}</dt>
        <xen:foreach loop="$pagination" key="$key" value="$val">
            <xen:if is="{$begin}=={$val}">
                <dd><a class="currentPage" href="{xen:link members,'','type={$type}','begin={$val}'}">{$val}</a></dd>
            <xen:else />
                <dd><a href="{xen:link members,'','type={$type}','begin={$val}'}">{$val}</a></dd>
            </xen:if>
        </xen:foreach>
    </dl>
    After that it looks like ..

    member-pagenigation-1
    member-pagenigation-2
     
    Loading...