mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 13:38:56 +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>
67 lines
1.1 KiB
SCSS
67 lines
1.1 KiB
SCSS
.latest-topic-list,
|
|
.top-topic-list {
|
|
@extend .topic-list-icons;
|
|
|
|
.table-heading {
|
|
padding: 12px 5px;
|
|
color: var(--primary-med-or-secondary-high);
|
|
}
|
|
|
|
.no-topics,
|
|
.more-topics {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.posts-map {
|
|
font-size: var(--font-up-1);
|
|
font-weight: bold;
|
|
color: var(--primary-medium);
|
|
}
|
|
}
|
|
|
|
.latest-topic-list-item {
|
|
padding: 1em;
|
|
border-bottom: 1px solid var(--primary-low);
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.topic-poster {
|
|
position: relative;
|
|
width: 60px;
|
|
|
|
.avatar-flair {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 10px;
|
|
}
|
|
}
|
|
|
|
.main-link {
|
|
@extend .topic-list-main-link;
|
|
flex: 0 1 auto;
|
|
max-width: 65%;
|
|
font-size: var(--font-0);
|
|
|
|
.top-row {
|
|
margin-bottom: 0.1em;
|
|
font-size: var(--font-up-1);
|
|
}
|
|
|
|
.bottom-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0 0.5em;
|
|
}
|
|
}
|
|
|
|
.topic-stats {
|
|
flex: 1 0 0px;
|
|
text-align: right;
|
|
color: var(--primary-med-or-secondary-high);
|
|
}
|
|
|
|
.topic-last-activity a {
|
|
color: var(--primary-low-mid-or-secondary-high);
|
|
}
|
|
}
|