mirror of
https://github.com/status-im/consul.git
synced 2025-01-17 01:01:14 +00:00
5fb9df1640
* Adding explicit MPL license for sub-package This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository. * Adding explicit MPL license for sub-package This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository. * Updating the license from MPL to Business Source License Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at <Blog URL>, FAQ at www.hashicorp.com/licensing-faq, and details of the license at www.hashicorp.com/bsl. * add missing license headers * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 * Update copyright file headers to BUSL-1.1 --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
88 lines
1.8 KiB
SCSS
88 lines
1.8 KiB
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
@import './skin';
|
|
@import './layout';
|
|
%form h2,
|
|
.modal-dialog-body h2 {
|
|
@extend %display-400-semibold;
|
|
}
|
|
/* TODO: This is positioning the element */
|
|
/* probably should be in a special %form class*/
|
|
%form-element {
|
|
@extend %form-row;
|
|
}
|
|
%form-element > span {
|
|
@extend %form-element-label;
|
|
}
|
|
%form button + em,
|
|
%form-element > em {
|
|
@extend %form-element-note;
|
|
}
|
|
%form-element-note > code {
|
|
@extend %inline-code;
|
|
}
|
|
%form-element-error > strong {
|
|
@extend %inline-alert-error;
|
|
}
|
|
%form-element [type='text'],
|
|
%form-element [type='password'],
|
|
%form-element textarea {
|
|
@extend %form-element-text-input;
|
|
}
|
|
%form-element-text-input:hover {
|
|
@extend %form-element-text-input-hover;
|
|
}
|
|
%form-element-text-input:focus {
|
|
@extend %form-element-text-input-focus;
|
|
}
|
|
|
|
/* project level*/
|
|
label span {
|
|
@extend %user-select-none;
|
|
}
|
|
.has-error {
|
|
@extend %form-element-error;
|
|
}
|
|
// TODO: float right here is too specific, this is currently used just for the role/policy selectors
|
|
.type-dialog {
|
|
float: right;
|
|
}
|
|
.type-toggle {
|
|
@extend %form-element, %sliding-toggle;
|
|
}
|
|
.checkbox-group {
|
|
@extend %checkbox-group;
|
|
}
|
|
%main-content form {
|
|
@extend %form;
|
|
}
|
|
span.label {
|
|
@extend %form-element-label;
|
|
}
|
|
%form table,
|
|
%radio-group,
|
|
%checkbox-group {
|
|
@extend %form-row;
|
|
}
|
|
%radio-group label,
|
|
%main-content .type-select,
|
|
%main-content .type-password,
|
|
%main-content .type-text {
|
|
@extend %form-element;
|
|
}
|
|
%main-content .type-select > span,
|
|
%main-content .type-password > span,
|
|
%main-content label.type-text > span {
|
|
line-height: 2.2em;
|
|
}
|
|
%app-view-content form:not(.filter-bar) [role='radiogroup'],
|
|
%modal-window [role='radiogroup'] {
|
|
@extend %radio-group;
|
|
}
|
|
%sliding-toggle + .checkbox-group {
|
|
margin-top: -1em;
|
|
}
|