vault/ui/app/styles/core.scss
Matthew Irish 50c7797984
UI - jwt auth (#6188)
* fix default rendering of svg and allow plugins access to mount tune form

* add auth-jwt component

* add callback route, and allow it to be navigated to on load

* add jwt as a supported auth method

* use auth-jwt component and implement intial oidc flow

* allow wrapping un-authed requests

* pass redirect_url and properly redirect with the wrapped token

* popup for login

* center popup window and move to localStorage events for cross window communication because of IE11

* access window via a getter on the auth-form component

* show OIDC provider name on the button

* fetch default role on render of the auth-jwt component

* simplify auth-form template

* style callback page

* refetch auth_url when path changes for auth-jwt component

* fix glimmer error on alias metadata, and add back popup-metadata component

* fix link in metadata page

* add logo-edition component and remove use of partial for logo svg

* render oidc callback template on the loading page if we're going there

* add docs icon and change timeout on the auth form

* move OIDC auth specific things to auth-jwt component

* start to add branded buttons for OIDC providers

* add google button

* finish branded buttons

* update glyph for error messages

* update tests for auth screen not showing tabs, add adapter tests and new auth jwt tests

* start auth-jwt tests

* simplify auth-jwt

* remove negative top margin on AlertInline

* only preventDefault if there's an event

* fill out tests

* sort out some naming

* feedback on templates and styles

* clear error when starting OIDC auth and call for new auth_url

* also allow 'oidc' as the auth method type

* handle namespaces with OIDC auth

* review feedback

* use new getters in popup-metadata
2019-02-14 09:39:19 -06:00

86 lines
2.6 KiB
SCSS

// Start with Structure & Bulma variables as a foundation
@import './utils/colors';
@import './utils/spacing';
@import 'bulma/sass/utilities/initial-variables';
// Override variables where appropriate
@import './utils/bulma_variables';
// Utils
@import './utils/mixins';
@import './utils/animations';
// Bring in the rest of Bulma
@import 'bulma/bulma';
@import 'bulma/switch';
// Override Bulma details where appropriate
@import './core/generic';
@import './core/box';
@import './core/breadcrumb';
@import './core/bulma-radio-checkboxes';
@import './core/buttons';
@import './core/footer';
@import './core/forms';
@import './core/helpers';
@import './core/hero';
@import './core/level';
@import './core/menu';
@import './core/message';
@import './core/navbar';
@import './core/notification';
@import './core/progress';
@import './core/switch';
@import './core/tables';
@import './core/tags';
@import './core/title';
// bulma additions
@import './core/layout';
@import './core/lists';
@import './components/auth-buttons';
@import './components/auth-form';
@import './components/b64-toggle';
@import './components/box-label';
@import './components/box-radio';
@import './components/codemirror';
@import './components/confirm';
@import './components/console-ui-panel';
@import './components/control-group';
@import './components/doc-link';
@import './components/empty-state';
@import './components/env-banner';
@import './components/features-selection';
@import './components/form-section';
@import './components/global-flash';
@import './components/hover-copy-button';
@import './components/init-illustration';
@import './components/info-table-row';
@import './components/input-hint';
@import './components/linked-block';
@import './components/list-item-row';
@import './components/list-pagination';
@import './components/loader';
@import './components/login-form';
@import './components/masked-input';
@import './components/namespace-picker';
@import './components/namespace-reminder';
@import './components/page-header';
@import './components/popup-menu';
@import './components/radial-progress';
@import './components/role-item';
@import './components/search-select';
@import './components/secret-control-bar';
@import './components/shamir-progress';
@import './components/sidebar';
@import './components/splash-page';
@import './components/status-menu';
@import './components/tabs';
@import './components/token-expire-warning';
@import './components/tool-tip';
@import './components/unseal-warning';
@import './components/upgrade-overlay';
@import './components/ui-wizard';
@import './components/vault-loading';