2020-11-23 15:55:58 +00:00
|
|
|
html {
|
|
|
|
--pf-c-nav__link--PaddingTop: 0.5rem;
|
|
|
|
--pf-c-nav__link--PaddingRight: 0.5rem;
|
|
|
|
--pf-c-nav__link--PaddingBottom: 0.5rem;
|
|
|
|
--pf-c-nav__link--PaddingLeft: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pf-c-page__header {
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Ensure card is displayed on small screens */
|
|
|
|
.pf-c-login__main {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* login page's icons */
|
|
|
|
.pf-c-login__main-footer-links-item-link img {
|
|
|
|
fill: var(--pf-c-login__main-footer-links-item-link-svg--Fill);
|
|
|
|
width: 100%;
|
|
|
|
max-width: var(--pf-c-login__main-footer-links-item-link-svg--Width);
|
|
|
|
height: 100%;
|
|
|
|
max-height: var(--pf-c-login__main-footer-links-item-link-svg--Height);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* fix multiple selects height */
|
|
|
|
select[multiple] {
|
2021-02-06 18:19:57 +00:00
|
|
|
height: 15em;
|
2020-11-23 15:55:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Form with user */
|
|
|
|
.form-control-static {
|
|
|
|
margin-top: var(--pf-global--spacer--sm);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
.form-control-static .left {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.form-control-static img {
|
|
|
|
margin-right: var(--pf-global--spacer--xs);
|
|
|
|
}
|
|
|
|
.form-control-static a {
|
|
|
|
padding-top: var(--pf-global--spacer--xs);
|
|
|
|
padding-bottom: var(--pf-global--spacer--xs);
|
|
|
|
line-height: var(--pf-global--spacer--xl);
|
|
|
|
}
|
|
|
|
|
2020-12-05 21:08:42 +00:00
|
|
|
/* Static OTP Tokens, authentik.stages.otp_static */
|
|
|
|
.ak-otp-tokens {
|
2020-11-23 15:55:58 +00:00
|
|
|
list-style: circle;
|
|
|
|
columns: 2;
|
|
|
|
-webkit-columns: 2;
|
|
|
|
-moz-columns: 2;
|
|
|
|
margin-left: var(--pf-global--spacer--xs);
|
|
|
|
}
|
2020-12-05 21:08:42 +00:00
|
|
|
.ak-otp-tokens li {
|
2020-11-23 15:55:58 +00:00
|
|
|
font-size: var(--pf-global--FontSize--2xl);
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pf-c-content h1 {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
.pf-c-content h1 i {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
.pf-c-content h1 :first-child {
|
|
|
|
margin-right: var(--pf-global--spacer--sm);
|
|
|
|
}
|
2020-12-05 21:08:42 +00:00
|
|
|
|
|
|
|
.subtext {
|
|
|
|
font-size: var(--pf-global--FontSize--sm);
|
|
|
|
}
|
2020-12-06 17:02:04 +00:00
|
|
|
|
2021-01-17 19:09:37 +00:00
|
|
|
.pf-c-page__main, .pf-c-drawer__content, .pf-c-page__drawer {
|
2020-12-22 19:30:46 +00:00
|
|
|
z-index: auto !important;
|
|
|
|
}
|
|
|
|
|
2021-03-02 14:04:14 +00:00
|
|
|
/* ensure background on non-flow pages match */
|
|
|
|
.pf-c-background-image::before {
|
|
|
|
background-image: url("dist/assets/images/flow_background.jpg");
|
|
|
|
background-position: center;
|
|
|
|
}
|
|
|
|
|
2021-02-25 20:23:31 +00:00
|
|
|
/* Fix spacing between messages */
|
|
|
|
ak-message {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2020-12-06 17:02:04 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--ak-dark-foreground: #fafafa;
|
|
|
|
--ak-dark-foreground-darker: #bebebe;
|
|
|
|
--ak-dark-foreground-link: #5a5cb9;
|
|
|
|
--ak-dark-background: #18191a;
|
|
|
|
--ak-dark-background-darker: #000000;
|
|
|
|
--ak-dark-background-light: #1c1e21;
|
|
|
|
--ak-dark-background-lighter: #2b2e33;
|
|
|
|
|
|
|
|
--pf-global--Color--100: var(--ak-dark-foreground);
|
|
|
|
--pf-c-page__main-section--m-light--BackgroundColor: var(--ak-dark-background-darker);
|
|
|
|
--pf-global--link--Color: var(--ak-dark-foreground-link);
|
|
|
|
}
|
|
|
|
/* Global page background colour */
|
|
|
|
.pf-c-page {
|
|
|
|
--pf-c-page--BackgroundColor: var(--ak-dark-background);
|
|
|
|
}
|
2021-01-14 21:02:21 +00:00
|
|
|
.pf-c-drawer__content {
|
|
|
|
--pf-c-drawer__content--BackgroundColor: var(--ak-dark-background);
|
|
|
|
}
|
2020-12-06 17:02:04 +00:00
|
|
|
.pf-c-title {
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
|
|
|
/* Header sections */
|
|
|
|
.pf-c-page__main-section {
|
|
|
|
background-color: var(--ak-dark-background);
|
|
|
|
}
|
|
|
|
.pf-c-page__main-section.pf-m-light {
|
|
|
|
background-color: var(--ak-dark-background-light);
|
|
|
|
}
|
|
|
|
.pf-c-content {
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
|
|
|
/* Card */
|
|
|
|
.pf-c-card {
|
|
|
|
--pf-c-card--BackgroundColor: var(--ak-dark-background-light);
|
|
|
|
}
|
2021-02-09 15:17:59 +00:00
|
|
|
.pf-c-card__title,
|
2020-12-06 17:02:04 +00:00
|
|
|
.pf-c-card__header-main,
|
|
|
|
.pf-c-card__body {
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
|
|
|
.pf-c-toolbar {
|
|
|
|
--pf-c-toolbar--BackgroundColor: var(--ak-dark-background-light);
|
|
|
|
}
|
|
|
|
.pf-c-pagination.pf-m-bottom {
|
|
|
|
background-color: var(--ak-dark-background-light);
|
|
|
|
}
|
|
|
|
/* table */
|
|
|
|
.pf-c-table {
|
|
|
|
--pf-c-table--BackgroundColor: var(--ak-dark-background-light);
|
|
|
|
--pf-c-table--BorderColor: var(--ak-dark-background-lighter);
|
|
|
|
--pf-c-table--cell--Color: var(--ak-dark-foreground);
|
|
|
|
}
|
2020-12-24 08:56:05 +00:00
|
|
|
.pf-c-table__text {
|
2020-12-31 10:31:49 +00:00
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
|
|
|
.pf-c-table__sort:not(.pf-m-selected) .pf-c-table__button .pf-c-table__text {
|
2020-12-24 08:56:05 +00:00
|
|
|
color: var(--ak-dark-foreground) !important;
|
|
|
|
}
|
|
|
|
.pf-c-table__sort-indicator i {
|
|
|
|
color: var(--ak-dark-foreground) !important;
|
|
|
|
}
|
2021-03-06 22:00:29 +00:00
|
|
|
/* tabs, vertical */
|
|
|
|
.pf-c-tabs__link {
|
|
|
|
background-color: var(--ak-dark-background-light);
|
|
|
|
}
|
2020-12-27 11:50:12 +00:00
|
|
|
/* table, on mobile */
|
|
|
|
@media screen and (max-width: 1200px) {
|
|
|
|
.pf-m-grid-xl.pf-c-table tbody:first-of-type {
|
|
|
|
border-top-color: var(--ak-dark-background);
|
|
|
|
}
|
|
|
|
.pf-m-grid-xl.pf-c-table tr:not(.pf-c-table__expandable-row) {
|
|
|
|
border-bottom-color: var(--ak-dark-background);
|
|
|
|
}
|
|
|
|
}
|
2020-12-12 18:39:09 +00:00
|
|
|
/* class for pagination text */
|
|
|
|
.pf-c-options-menu__toggle {
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
|
|
|
/* table icon used for expanding rows */
|
|
|
|
.pf-c-table__toggle-icon {
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
2021-02-04 19:48:16 +00:00
|
|
|
/* expandable elements */
|
|
|
|
.pf-c-expandable-section__toggle-text {
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
|
|
|
.pf-c-expandable-section__toggle-icon {
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
2020-12-06 17:02:04 +00:00
|
|
|
/* inputs */
|
2021-02-03 20:18:31 +00:00
|
|
|
.pf-c-input-group {
|
|
|
|
--pf-c-input-group--BackgroundColor: transparent;
|
|
|
|
}
|
2020-12-06 17:02:04 +00:00
|
|
|
.pf-c-form-control {
|
|
|
|
--pf-c-form-control--BorderTopColor: var(--ak-dark-background-lighter);
|
|
|
|
--pf-c-form-control--BorderRightColor: var(--ak-dark-background-lighter);
|
|
|
|
--pf-c-form-control--BorderLeftColor: var(--ak-dark-background-lighter);
|
|
|
|
--pf-global--BackgroundColor--100: transparent;
|
|
|
|
background-color: var(--ak-dark-background-light);
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
2020-12-13 14:19:28 +00:00
|
|
|
.pf-c-form-control[readonly] {
|
|
|
|
background-color: var(--ak-dark-background-light);
|
|
|
|
}
|
2020-12-06 17:02:04 +00:00
|
|
|
.pf-c-button.pf-m-control {
|
|
|
|
--pf-c-button--after--BorderColor: var(--ak-dark-background-lighter) var(--ak-dark-background-lighter) var(--pf-c-button--m-control--after--BorderBottomColor) var(--ak-dark-background-lighter);
|
|
|
|
background-color: var(--ak-dark-background-light);
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
2020-12-17 13:31:45 +00:00
|
|
|
.pf-m-tertiary,
|
2020-12-12 18:39:09 +00:00
|
|
|
.pf-c-button.pf-m-tertiary {
|
|
|
|
--pf-c-button--after--BorderColor: var(--ak-dark-foreground-darker);
|
|
|
|
color: var(--ak-dark-foreground-darker);
|
|
|
|
}
|
2020-12-17 13:31:45 +00:00
|
|
|
.pf-m-tertiary:hover,
|
2020-12-12 18:39:09 +00:00
|
|
|
.pf-c-button.pf-m-tertiary:hover {
|
|
|
|
--pf-c-button--after--BorderColor: var(--ak-dark-background-lighter);
|
|
|
|
}
|
2020-12-06 17:02:04 +00:00
|
|
|
.pf-c-form__label-text {
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
|
|
|
.pf-c-check__label {
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
|
|
|
/* inputs help text */
|
|
|
|
.pf-c-form__helper-text {
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
|
|
|
/* modal */
|
2020-12-12 18:39:09 +00:00
|
|
|
.pf-c-modal-box__header {
|
|
|
|
background-color: var(--ak-dark-background-light);
|
|
|
|
}
|
|
|
|
.pf-c-modal-box__body {
|
|
|
|
background-color: var(--ak-dark-background-light);
|
|
|
|
}
|
2020-12-06 17:02:04 +00:00
|
|
|
.pf-c-modal-box__footer {
|
|
|
|
background-color: var(--ak-dark-background-light);
|
|
|
|
}
|
|
|
|
/* sidebar */
|
|
|
|
.pf-c-nav {
|
|
|
|
background-color: var(--ak-dark-background-light);
|
|
|
|
}
|
|
|
|
/* flows */
|
|
|
|
.pf-c-login__main {
|
|
|
|
background-color: var(--ak-dark-background);
|
|
|
|
}
|
2021-02-23 22:43:13 +00:00
|
|
|
.pf-c-login__main-body,
|
|
|
|
.pf-c-login__main-header,
|
|
|
|
.pf-c-login__main-header-desc {
|
2020-12-17 13:31:45 +00:00
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
2020-12-06 17:02:04 +00:00
|
|
|
.pf-c-login__main-footer-links-item-link > img {
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
2021-02-27 19:45:46 +00:00
|
|
|
.pf-c-login__main-footer-band {
|
|
|
|
background-color: var(--ak-dark-background-lighter);
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
2020-12-06 17:02:04 +00:00
|
|
|
.form-control-static {
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
2021-01-15 11:16:35 +00:00
|
|
|
/* notifications */
|
|
|
|
.pf-c-notification-drawer {
|
|
|
|
--pf-c-notification-drawer--BackgroundColor: var(--ak-dark-background);
|
|
|
|
}
|
|
|
|
.pf-c-notification-drawer__header {
|
|
|
|
background-color: var(--ak-dark-background-lighter);
|
|
|
|
}
|
2021-02-17 19:49:58 +00:00
|
|
|
/* data list */
|
|
|
|
.pf-c-data-list__item {
|
|
|
|
--pf-c-data-list__item--BackgroundColor: var(--ak-dark-background-light);
|
|
|
|
--pf-c-data-list__item--BorderBottomColor: var(--ak-dark-background-lighter);
|
|
|
|
color: var(--ak-dark-foreground);
|
|
|
|
}
|
2020-12-06 17:02:04 +00:00
|
|
|
}
|