mirror of https://github.com/go-gitea/gitea.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
601 B
25 lines
601 B
.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; |
|
}
|
|
|