mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 17:49:20 +08:00
26 lines
601 B
CSS
26 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;
|
||
|
}
|