kanidm/server/core/static/style.css
Merlijn 857dcf5087
Some checks failed
Linting checks / clippy (push) Has been cancelled
Linting checks / fmt (push) Has been cancelled
Spell Check / codespell (push) Has been cancelled
Container - Kanidm / Set image tag values (push) Has been cancelled
Container - Kanidmd / Set image tag values (push) Has been cancelled
Container - Radiusd / Set image tag values (push) Has been cancelled
Javascript Linting / javascript_lint (push) Has been cancelled
Javascript Linting / javascript_fmt (push) Has been cancelled
GitHub Pages / pre_deploy (push) Has been cancelled
GitHub Pages / docs_master (push) Has been cancelled
PyKanidm tests / tests (push) Has been cancelled
Linux Build and Test / rust_build (push) Has been cancelled
Linux Build and Test / rust_build_next (beta) (push) Has been cancelled
Linux Build and Test / rust_build_next (nightly) (push) Has been cancelled
Linux Build and Test / run_release (push) Has been cancelled
Windows Build and Test / windows_build_kanidm (push) Has been cancelled
Container - Kanidm / Build kanidm Docker image (push) Has been cancelled
Container - Kanidm / Push kanidm Docker image (push) Has been cancelled
Container - Kanidmd / Build kanidmd Docker image (push) Has been cancelled
Container - Kanidmd / Push kanidmd Docker image (push) Has been cancelled
Container - Radiusd / Build radius Docker image (push) Has been cancelled
Container - Radiusd / Push radius Docker image (push) Has been cancelled
GitHub Pages / fanout (${{ needs.pre_deploy.outputs.latest}}) (push) Has been cancelled
GitHub Pages / deploy (push) Has been cancelled
[htmx] Admin ui for groups and users management (#3019)
* Some progress on admin ui for managing groups and users
* Improve scim querying

---------

Co-authored-by: William Brown <william@blackhats.net.au>
2025-02-22 13:43:54 +10:00

209 lines
3.3 KiB
CSS

:root {
--totp-width-and-height: 30px;
--totp-stroke-width: 60px;
}
html,
body {
height: 100%;
}
.form-cred-reset-body {
max-width: 500px;
}
#settings-window .form-cred-reset-body {
max-width: unset;
}
.form-signin {
max-width: 680px;
}
/*
* Bootstrap 5.3 fix for input-group validation
* :has checks that a child can be selected with the selector
* + selects the next sibling.
*/
.was-validated .input-group:has(.form-control:invalid) + .invalid-feedback {
display: block !important;
}
/*
* Sidebar
*/
.side-menu {
min-width: 180px;
}
.side-menu-item {
--icon-size: 24px;
padding: 0.4rem 0.7rem;
text-decoration: none;
&.active {
font-weight: 600;
}
&:hover,
&.active {
background-color: var(--bs-tertiary-bg);
}
.icon-container img {
filter: invert(40%);
width: 100%;
height: 100%;
object-fit: contain;
}
}
/*
* Personal Settings sidemenu
*/
/*
* Navbar
*/
nav.kanidm_navbar {
background-color: var(--bs-navbar-brand-color);
}
nav a.navbar-brand,
nav a.nav-link {
color: var(--bs-body-bg);
}
nav a.navbar-brand:hover,
nav a.nav-link:hover {
color: var(--bs-secondary-bg);
}
footer {
background-color: var(--bs-tertiary-bg);
}
.kanidm_logo {
width: 12em;
height: 12em;
}
.identity-verification-container {
display: flex;
flex-direction: column;
max-width: fit-content;
align-items: center;
margin: auto;
}
.totp-display-container {
padding: 5px 10px;
display: flex;
flex-direction: row;
max-width: fit-content;
align-items: center;
margin: auto;
border-radius: 15px;
background-color: #21252915;
box-shadow:
-5px -5px 11px #ededed,
5px 5px 11px #ffffff;
margin: 15px;
}
.totp-display {
font-size: 35px;
margin: 10px;
}
.totp-timer {
margin: 10px;
position: relative;
height: var(--totp-width-and-height);
width: var(--totp-width-and-height);
}
/* Removes SVG styling that would hide the time label */
.totp-timer__circle {
fill: none;
stroke: none;
}
.totp-timer__path-remaining {
stroke-width: var(--totp-stroke-width);
/* Makes sure the animation starts at the top of the circle */
transform: rotate(90deg);
transform-origin: center;
/* One second aligns with the speed of the countdown timer */
transition: 1s linear all;
stroke: currentColor;
}
.totp-timer__svg {
transform: scaleX(-1);
}
.totp-timer__path-remaining.green {
color: var(--bs-success);
}
.totp-timer__path-remaining.orange {
color: var(--bs-warning);
}
.totp-timer__path-remaining.red {
color: var(--bs-danger);
}
.totp-timer__path-remaining.no-transition {
-webkit-transition: none !important;
-moz-transition: none !important;
-o-transition: none !important;
transition: none !important;
}
.card > a {
height: 150px;
}
.oauth2-img {
max-width: 100%;
max-height: 90%;
padding: 10px;
height: 100%;
}
.btn-tiny {
--bs-btn-padding-y: 0.05rem;
--bs-btn-padding-x: 0.4rem;
--bs-btn-font-size: 0.75rem;
}
#cred-update-commit-bar {
display: block;
/*
position: fixed;
bottom: .5rem;
left: 50%;
transform: translateX(-50%);
*/
background: white;
}
.icon-container {
padding: 2px;
width: var(--icon-size);
height: var(--icon-size);
}
.ssh-list-icon {
--icon-size: 32px;
width: var(--icon-size);
height: var(--icon-size);
transform: rotate(35deg);
}