mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-17 02:14:53 +08:00
Use semantic dropdown for code search query type (#15276)
Add comments to CSS rules Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
@ -240,6 +240,15 @@ a.muted:hover,
|
||||
border-color: var(--color-primary) !important;
|
||||
}
|
||||
|
||||
/* currently used for search bar dropdowns in repo search and explore code */
|
||||
.ui.action.input:not([class*="left action"]) > .ui.dropdown.selection {
|
||||
min-width: 10em;
|
||||
|
||||
&:not(:focus):not(:hover) {
|
||||
border-right-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.ui.action.input:not([class*="left action"]) > input:focus {
|
||||
border-right-color: var(--color-primary);
|
||||
}
|
||||
|
Reference in New Issue
Block a user