board - tables.

classic Classic list List threaded Threaded
6 messages Options
GD
Reply | Threaded
Open this post in threaded view
|

board - tables.

GD
Hello Nabble. I know i ask a bit much from you all recently. But i do like your Forum... If i could i would pay for
a Paid Support acc. Anyway. I hope someone can help me with this...

In my forum i have the board app, and i have edit the NAML i bit so it looks a bit nicer. But i want space between
the sections/categories. I have try but cant come up whit something. Right now its like this:


If you could help my do something like this. So i get i bit space (Margin) between the categories, i would more
then be hapy about it! Please!


My code:
board_table_stylesheet
 <override_macro name="board_table_stylesheet">
    <style type="text/css">
        table.main {
        background:#FFF2FD;
            margin-top:.2em;
            border-collapse:collapse;
            width:100%;
            border-width:1px;
            border-style:solid;
        }
        table.main tr.category-row td {
            Background:linear-gradient(to bottom, rgb(39, 41, 43) 0%, rgb(0, 0, 0) 100%) repeat scroll 0% 0% transparent;
            padding:20px;
            font-weight: bold;
            border-width: 1px;
            border-style: solid;
            border-left: none;
            border-right: none;
        }
        table.main tr.main-row td {
            padding:.3em .5em;
            border-bottom-width: 1px;
            border-bottom-style: dotted;
        }
        table.main tr.main-row,
        table.avatar-table tr {
            vertical-align:middle;Border:1px dotted #000;
        }
        
        div.sub-forums {
            margin-top:.8em;
            font-size:90%;
            clear:both;
        }
        a.category-link {
            text-decoration:none;
            font-weight:bold;
            font-size:110%;
        
        }
        
        tr.main-row a{color:#333 !important;padding
        -top:5px;}
        
        tr.main-row td{
        color:#333 !important;
        border:none !important;
        padding-left:0px !important;}
        
        tr.main-row span{color:#333 !important;}
        
        .Topic-Description{
        background:#FFF2FD !important;
        padding: 2px 0px !important;
        color:#777777 !important;
        border:none !important;
        line-height: 140% !important;
        }
        
        .Topic-Description img{
         display:none;
        }
        
        .galleryorccon{
        display:none;
        }
    </style>
</override_macro> 
Reply | Threaded
Open this post in threaded view
|

Re: board - tables.

Pedro
Please, let me see this forum ( give me the url ).
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: board - tables.

NiTEMARE
Hi!

This is something I would love to have as well.

Forum url: http://forum.exce.se/
http://forum.exce.se/template/NamlServlet.jtp?macro=macro_viewer&id=view_board%21nabble%3Aview_board.naml&base=nabble.view.web.template.ServletNamespace

Let me know if this can be done.

- Timmie
The trick to creativity is knowing how to hide your sources - Albert Einstein.
Reply | Threaded
Open this post in threaded view
|

Re: board - tables.

Pedro
You can't do that in "official" way. But there is a a tricky row that you can add
Take a look here:
http://pedro.2313024.n4.nabble.com/Mixed-f4640337.html
and try to understand the code at line 47.

PS:  this is for firefox, try to implement the css setting for all browsers.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: board - tables.

NiTEMARE
Hi Pedro,

Well, there must be another way as well?
Edit the "board_table_stylesheet" macro should work? By adding padding between the sections.

- Timmie
The trick to creativity is knowing how to hide your sources - Albert Einstein.
Reply | Threaded
Open this post in threaded view
|

Re: board - tables.

Pedro
I don't think so. Did you try my suggestion. I've already deleted that tweak from my forum.
My test forum.