mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-10-26 21:20:31 +00:00
sass 拆分
This commit is contained in:
31
src/dropdown.scss
Normal file
31
src/dropdown.scss
Normal file
@@ -0,0 +1,31 @@
|
||||
// Made by Luting ^-^
|
||||
.ui.dropdown .menu,
|
||||
.branch-tag-item.active,
|
||||
.ui.pointing.dropdown > .menu:not(.hidden):after {
|
||||
background: var(--color-box-header) !important;
|
||||
}
|
||||
|
||||
%item-style {
|
||||
background: #1f6feb;
|
||||
}
|
||||
|
||||
.ui.dropdown .menu > .item.context:hover {
|
||||
@extend %item-style;
|
||||
}
|
||||
|
||||
.user-main-content,
|
||||
.repo-setting-content,
|
||||
.user-setting-content,
|
||||
.org-setting-content,
|
||||
.admin-setting-content {
|
||||
.ui.dropdown .menu > .item {
|
||||
&:hover {
|
||||
@extend %item-style;
|
||||
|
||||
a {
|
||||
color: var(--color-text);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user