How do I use the CSS field in pocket query. I have the CSS file that I need to use. But I don't see an option to select it on that field. The information on PocketQuery documentation is not elaborate on the CSS usage.
I basically want to be able to display the result in a table with vertical headers instead of the default template that pocketquery uses.
Community moderators have prevented the ability to post new answers.
This is working for me...
<style type='text/css'>
.bold-green-font {
font-weight: bold;
color: green;
}
.bold-font {
font-weight: bold;
}
.right-text {
text-align: right;
}
.large-font {
font-size: 15px;
}
.italic-darkblue-font {
font-style: italic;
color: darkblue;
}
.italic-purple-font {
font-style: italic;
color: purple;
}
.underline-blue-font {
text-decoration: underline;
color: blue;
}
.gold-border {
border: 3px solid gold;
}
.deeppink-border {
border: 3px solid deeppink;
}
.orange-background {
background-color: orange;
}
.orchid-background {
background-color: orchid;
}
.beige-background {
background-color: beige;
}
</style>
<script>
PocketQuery.chart('Table',{
page:'enable',
pageSize:30,
allowHtml: true,
showRowNumber: true,
format: {
type: 'NumberFormat',
column: 3,
pattern: '#,#00.0#',
negativeColor: 'red',
negativeParens: true
},
cssClassNames : {
'headerRow': 'italic-darkblue-font large-font bold-font',
'tableRow': '',
'oddTableRow': 'beige-background',
'selectedTableRow': 'orange-background large-font',
'hoverTableRow': '',
'headerCell': 'gold-border',
'tableCell': '',
'rowNumberCell': 'underline-blue-font'}
});
</script>
Have you found a way to use CSS with pocket query?
I'm also searching for some guide about that.
Might want to add this label to get some attension from the pocketquery team: addon-de.scandio.confluence.plugins.pocketquer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.