Skip to content

Commit

Permalink
Migrate macrolist
Browse files Browse the repository at this point in the history
Signed-off-by: nook24 <[email protected]>
  • Loading branch information
nook24 committed Dec 21, 2024
1 parent 1e33ddf commit e1c336d
Show file tree
Hide file tree
Showing 3 changed files with 237 additions and 198 deletions.
2 changes: 2 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ export default defineConfig({
{ text: 'Authentication And Authorization CGIs', link: '/documentation/usersguide/cgiauth' },
{ text: 'Plugins', link: '/documentation/usersguide/plugins' },
{ text: 'Macros', link: '/documentation/usersguide/macros' },
{ text: 'Standard Macros in Naemon', link: '/documentation/usersguide/macrolist' },

{ text: 'Naemon Logo', link: '/logo' }
]
},
Expand Down
30 changes: 29 additions & 1 deletion .vitepress/theme/naemon.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,32 @@
padding: 15px;
width: 100%;
text-align: center;
}
}

/* Large content for wide pages such as the default macro list */
.page-large-content #VPContent {
padding-right: 15px;
}

.page-large-content .VPNavBar.has-sidebar .content {
padding-right: 15px;
}


/* Macro List classes */
.MacroYes {
background-color: var(--vp-code-line-diff-add-color);
}

/* Fix tables to be able to have a static header */
.table-container table {
position: relative;
display: initial !important;
}

/* Add static header to large tables */
.th-sticky {
position: sticky;
top: var(--vp-nav-height);
z-index: 100; /* Ensure the header is above other content */
}
Loading

0 comments on commit e1c336d

Please sign in to comment.