profoundjs
Version:
Profound.js Framework and Server
20 lines (19 loc) • 853 B
CSS
.pjs-explorer-logout-bar {
position: fixed; top: 12px; right: 20px; z-index: 9999;
display: flex; align-items: center; gap: 12px;
font-family: sans-serif; font-size: 12px;
}
.pjs-explorer-logout-bar .user-label {
color: #3b4151; font-weight: 600;
}
.pjs-explorer-logout-bar .logout-btn {
background: #fff; color: #3b4151; border: 1px solid #d9d9d9;
border-radius: 4px; padding: 6px 14px; cursor: pointer;
font-weight: 600;
}
.pjs-explorer-logout-bar .logout-btn:hover { background: #f5f5f5; }
/* Hide swagger-ui's top-of-page Authorize button — the user is already
authenticated via our login page, and clicking it would open a redundant
modal. Per-route lock icons stay (small, informational). Only injected
in apiExplorer.access: "authenticated" mode; public mode is untouched. */
.swagger-ui .auth-wrapper { display: none; }