mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 17:17:19 +00:00
Clone button enhancements (#33362)
- Add box-shadow to default tippy theme - Make colors for tabs match the ones from `.ui.tabular.menu` - Remove tippy arrow and slightly offset tooltip closer to the button - Fix setting of `aria-haspopup` when default role is used with tippy --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@ -28,6 +28,10 @@
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.tippy-box[data-theme="default"] {
|
||||
box-shadow: 0 6px 18px var(--color-shadow);
|
||||
}
|
||||
|
||||
/* bare theme, no styling at all, except box-shadow */
|
||||
.tippy-box[data-theme="bare"] {
|
||||
border: none;
|
||||
|
@ -1630,7 +1630,7 @@ td .commit-summary {
|
||||
}
|
||||
|
||||
.repo-button-row-left {
|
||||
flex: 1;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.repo-button-row .button {
|
||||
|
@ -20,10 +20,12 @@
|
||||
.clone-panel-tab .item {
|
||||
padding: 5px 10px;
|
||||
background: none;
|
||||
color: var(--color-text-light-2);
|
||||
}
|
||||
|
||||
.clone-panel-tab .item.active {
|
||||
border-bottom: 3px solid var(--color-secondary);
|
||||
color: var(--color-text-dark);
|
||||
border-bottom: 3px solid currentcolor;
|
||||
}
|
||||
|
||||
.clone-panel-tab + .divider {
|
||||
|
Reference in New Issue
Block a user