mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2025-12-24 23:48:01 +00:00
增加克隆协议选择按钮样式
This commit is contained in:
@@ -35,12 +35,30 @@
|
||||
margin-left: 16px;
|
||||
|
||||
button {
|
||||
padding: 15px 12px;
|
||||
transition: none;
|
||||
color: #f0f6fc !important;
|
||||
padding: 6px 8px;
|
||||
margin: 8px 0;
|
||||
|
||||
&:hover {
|
||||
background: var(--color-hover);
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
&.active:after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: -8px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: #f78166;
|
||||
}
|
||||
}
|
||||
|
||||
.item.active {
|
||||
border-bottom: 2px solid #f78166;
|
||||
border-bottom: 0;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user