mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:22:12 +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>
39 lines
628 B
SCSS
39 lines
628 B
SCSS
@keyframes draw {
|
|
to {
|
|
stroke-dashoffset: 0;
|
|
}
|
|
}
|
|
|
|
.post-controls {
|
|
.post-action-feedback-button {
|
|
position: relative;
|
|
height: 100%;
|
|
|
|
&.--activated,
|
|
&.--activated:hover {
|
|
.d-icon-d-post-share {
|
|
color: var(--success);
|
|
}
|
|
}
|
|
}
|
|
|
|
.post-action-feedback-svg {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 20px;
|
|
height: 20px;
|
|
display: block;
|
|
stroke: var(--success);
|
|
opacity: 0;
|
|
|
|
path {
|
|
stroke: var(--success);
|
|
stroke-width: 4;
|
|
stroke-dasharray: 100;
|
|
stroke-dashoffset: 100;
|
|
animation: draw 1s forwards;
|
|
}
|
|
}
|
|
}
|