standard_table_stylesheet

NAML documentation   Watch a video
Error Found
An error was found in the NAML code of this application – View Details | Go to NAML Editor
no macro found to override
  in (custom_tweak:adbayes_script:1) - <override_macro name="adbayes_script" parameters="params" requires="ad, servlet">
   Usages of this macro
... in responsive.naml
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<override_macro name="standard_table_stylesheet">
    <style type="text/css">
    table.main {
        width:100%;
        border-width: 1px;
        border-style: solid;
        border-collapse:collapse;
    }
    table.main td {
        padding:.1em;
        height:2.2em;
    }
    tr.header-row td {
        font-weight:bold;
        padding: .1em .2em;
        border-bottom-width: 1px;
        border-bottom-style: solid;
    }
    @media (max-width: 600px) {
        table.main td{padding-left:0 !important;font-size:95%}
        tr.header-row td{font-size:80%}
        td.column{white-space:normal !important}
        span.column.nowrap{white-space:normal}
        span.pages{margin: 2em 0}
        span.pages a{padding:.2em .6em}
        img.avatar{display:none}
        img.online{opacity:0}
    }
    </style>
</override_macro>
Overrides default macro
... in view_standard.naml
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<macro name="standard_table_stylesheet">
    <style type="text/css">
        table.main {
            width:100%;
            border-width: 1px;
            border-style: solid;
            border-collapse:collapse;
        }
        table.main td {
            padding:.1em;
            height:2.2em;
        }
        tr.header-row td {
            font-weight:bold;
            padding: .1em .2em;
            border-bottom-width: 1px;
            border-bottom-style: solid;
        }
    </style>
</macro>