mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 15:18:13 +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>
55 lines
897 B
SCSS
55 lines
897 B
SCSS
.incoming-chat-webhooks {
|
|
margin-top: 1em;
|
|
|
|
&--row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
background-color: var(--primary-very-low);
|
|
padding: 1em;
|
|
border-radius: var(--d-border-radius-large);
|
|
margin-bottom: 1em;
|
|
|
|
&--details {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
max-width: calc(100% - 120px - 1em);
|
|
|
|
&--name {
|
|
font-weight: bold;
|
|
font-size: var(--font-up-1);
|
|
}
|
|
}
|
|
|
|
&--controls {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
}
|
|
}
|
|
}
|
|
|
|
.incoming-chat-webhooks-back {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.incoming-chat-webhooks-current-emoji {
|
|
padding-left: 0.5em;
|
|
}
|
|
|
|
.new-incoming-webhook-container {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
input {
|
|
margin: 0;
|
|
}
|
|
|
|
input,
|
|
details {
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
.create-new-incoming-webhook-btn {
|
|
margin-right: 0.25em;
|
|
}
|
|
}
|