mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 15:43:58 +01:00
3ee8970419
Add [stylelint-stylistic](https://github.com/elirasza/stylelint-stylistic), autofix all issues with two manual tweaks. This restores all the stylistic rules removed in Stylelint 15.
25 lines
601 B
CSS
25 lines
601 B
CSS
.gitea-select {
|
|
position: relative;
|
|
}
|
|
|
|
.gitea-select select {
|
|
appearance: none; /* hide default triangle */
|
|
}
|
|
|
|
/* ::before and ::after pseudo elements don't work on select elements,
|
|
so we need to put it on the parent. */
|
|
.gitea-select::after {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 8px;
|
|
pointer-events: none;
|
|
content: "";
|
|
width: 14px;
|
|
height: 14px;
|
|
mask-size: cover;
|
|
-webkit-mask-size: cover;
|
|
mask-image: var(--octicon-chevron-right);
|
|
-webkit-mask-image: var(--octicon-chevron-right);
|
|
transform: rotate(90deg); /* point the chevron down */
|
|
background: currentcolor;
|
|
}
|