mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
chore: enhance details
This commit is contained in:
parent
cd7b5087b1
commit
95fafcbfac
3 changed files with 7 additions and 8 deletions
|
|
@ -21,7 +21,7 @@ const options: Option<Config['toggleButtonContent']>[] = [
|
|||
{
|
||||
key: 'octoface',
|
||||
value: 'octoface',
|
||||
label: `Octoface`,
|
||||
label: `The Classic Octoface`,
|
||||
},
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -166,7 +166,7 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-
|
|||
.#{$name}-toggle-show-button-wrapper {
|
||||
z-index: $minimal-z-index;
|
||||
position: fixed;
|
||||
top: 80px;
|
||||
top: 124px; // align with GitHub's navbar items
|
||||
left: 0px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
|
@ -183,17 +183,16 @@ $minimal-z-index: max($github-header-z-index, $github-pull-request-float-header-
|
|||
height: 32px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid $border-gray-dark;
|
||||
background: $bg-black;
|
||||
background: $bg-gray;
|
||||
color: $gray-900;
|
||||
&:active {
|
||||
background: $bg-black-fade;
|
||||
color: $gray-600;
|
||||
}
|
||||
color: $text-white;
|
||||
transition: all linear 0.3s;
|
||||
transition: all ease 0.3s;
|
||||
font-size: 16px;
|
||||
transform: translateX(0px);
|
||||
&:active,
|
||||
&:hover {
|
||||
font-size: 20px;
|
||||
transform: translateX(4px);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ const defaultConfigs: Config = {
|
|||
copySnippetButton: true,
|
||||
intelligentToggle: null,
|
||||
icons: 'rich',
|
||||
toggleButtonVerticalDistance: 80,
|
||||
toggleButtonVerticalDistance: 124, // align with GitHub's navbar items
|
||||
toggleButtonContent: 'logo',
|
||||
shrinkGitHubHeader: false,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue