mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 21:07:57 +08:00

Stylelint is a css linter: https://stylelint.io/ As part of this change we have added two javascript scripts: ``` pnpm lint:css pnpm lint:css:fix ``` Look at `.vscode/settings.json.sample` and `.vscode/extensions.json` for configuration in VSCode. --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
51 lines
935 B
SCSS
51 lines
935 B
SCSS
.form-kit__input-group {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: stretch;
|
|
width: 100%;
|
|
|
|
.form-kit-text {
|
|
display: flex;
|
|
align-items: center;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
padding-inline: 0.5em;
|
|
line-height: 2em;
|
|
background-color: var(--primary-low);
|
|
color: var(--primary-high);
|
|
border: 1px solid var(--primary-low-mid);
|
|
border-radius: var(--d-input-border-radius);
|
|
}
|
|
|
|
.--col-12 {
|
|
width: auto;
|
|
}
|
|
|
|
.form-kit__control-input {
|
|
z-index: 1;
|
|
width: 100% !important;
|
|
min-width: auto !important;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
z-index: 2;
|
|
}
|
|
}
|
|
|
|
> :not(:last-child) {
|
|
.form-kit__control-input {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
}
|
|
|
|
> :not(:first-child) {
|
|
margin-left: -1px;
|
|
|
|
.form-kit__control-input {
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
}
|
|
}
|