Files
sso-manager-node/nodejs/public/css/styles.css
T
wmantly bbcc235b68 feat: Directory agent status + plugin modal rework, Vault restyle, navbar (v1.24.0)
- Merge theta-agent into Directory: remove the Agents page; add green/yellow/red
  status dots to host rows and a Metrics tab (telemetry + discovery) to the
  resource modal, joined to hosts by hostname, live via socket.io + 30s refresh.
- Discovery Plugins New-plugin modal: slug derived from name (field removed),
  cron dropdown (hourly/daily/weekly/custom), configSchema-driven settings
  (Proxmox url/tokenId/tokenSecret) sent as a populated config.
- Directory resource slug now read-only + derived from name.
- Vault page restyled to match the site.
- Navbar: username no longer underlined; only the active link is bold+underlined.
- docs/agents.md: document the Directory status/metrics + NAT troubleshooting.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-04 13:26:25 -04:00

126 lines
2.5 KiB
CSS
Executable File

nav.navbar{
padding-left: 1em;
padding-right: 1em;
}
/* Only the active top-nav link is bold + underlined; the username is plain. */
.top-nav a.active{
font-weight: bold;
text-decoration: underline;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
/* Height of the fixed navbar (plus the update banner, while shown --
see top.ejs's showUpdateBanner/dismissUpdateBanner). Lets an in-page
sticky element offset itself below both fixed elements via
`top: var(--sw-content-offset)` instead of colliding with them at the
viewport's true top:0. */
--sw-content-offset: 4.5rem;
}
#spa-shell {
margin-top: 4.5rem;
padding-bottom: 1em;
flex-grow: 1;
}
.card-title{
font-weight: bold;
}
div.card:not(:last-child){
margin-bottom: 1em;
}
.group-required{
display: none;
}
/*.actionMessage{
position: fixed;
}*/
*{
transition: all .4s ease;
}
a:hover, button:hover, div.form-group:hover, header nav a{
color: inherit;
transition: all .4s ease;
background-color: inherit;
-ms-transform: scale(1.05);
-webkit-transform: scale(1.05);
transform: scale(1.05); /* Standard syntax */
z-index: 999999;
}
/* ── Reusable tag / token input (app.ui.tagInput / groupSelect) ────────────── */
.tag-input{
position: relative;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: .25rem;
min-height: calc(1.5em + .75rem + 2px);
height: auto;
cursor: text;
}
.tag-input .tag-chips{
display: contents;
}
.tag-input .tag-chip{
display: inline-flex;
align-items: center;
gap: .35rem;
background-color: #0d6efd;
color: #fff;
font-size: .85em;
font-weight: 500;
padding: .25rem .5rem;
border-radius: .5rem;
}
.tag-input .tag-chip .tag-remove{
color: #fff;
opacity: .8;
text-decoration: none;
font-weight: 700;
line-height: 1;
cursor: pointer;
}
.tag-input .tag-chip .tag-remove:hover{ opacity: 1; transform: none; }
.tag-input .tag-typeahead{
flex: 1 1 8ch;
min-width: 8ch;
border: none;
outline: none;
background: transparent;
padding: .15rem 0;
}
.tag-input .tag-menu{
position: absolute;
top: 100%;
left: 0;
right: 0;
z-index: 1080;
background: #fff;
border: 1px solid rgba(0,0,0,.15);
border-radius: .375rem;
box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
max-height: 12rem;
overflow-y: auto;
margin-top: .15rem;
}
.tag-input .tag-option{
padding: .35rem .6rem;
cursor: pointer;
}
.tag-input .tag-option:hover,
.tag-input .tag-option.active{
background-color: #0d6efd;
color: #fff;
transform: none;
}