mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 23:27:23 +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>
52 lines
938 B
SCSS
52 lines
938 B
SCSS
.sidebar-custom-sections {
|
|
.sidebar-section-wrapper {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.sidebar-section-header {
|
|
display: flex;
|
|
}
|
|
|
|
.sidebar-section[data-section-name="community"]
|
|
.sidebar-section-link-prefix.icon {
|
|
cursor: pointer;
|
|
}
|
|
|
|
a {
|
|
-webkit-touch-callout: none !important;
|
|
@include unselectable;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sidebar-section-wrapper.disabled {
|
|
a {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sidebar-section-link-wrapper {
|
|
.sidebar-section-link-prefix.icon,
|
|
.sidebar-section-link {
|
|
background: none;
|
|
color: var(--primary-low-mid);
|
|
}
|
|
|
|
.sidebar-section-link.drag {
|
|
font-weight: bold;
|
|
color: var(--primary-high);
|
|
|
|
.sidebar-section-link-prefix.icon {
|
|
color: var(--primary-high);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.discourse-touch {
|
|
.sidebar-custom-sections {
|
|
a:hover {
|
|
background: none !important;
|
|
}
|
|
}
|
|
}
|