mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 01:40:36 +00:00
minor fix on icon
This commit is contained in:
parent
32c12d553c
commit
03ea29eb36
3 changed files with 18 additions and 9 deletions
2
public/css/gogs.min.css
vendored
2
public/css/gogs.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -70,10 +70,19 @@ pre {
|
||||||
background-color: rgb(233, 233, 233)!important;
|
background-color: rgb(233, 233, 233)!important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.octicon {
|
.text .octicon {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
.right.menu {
|
||||||
|
.menu {
|
||||||
|
left: auto;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
.dropdown .menu {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.ui {
|
.ui {
|
||||||
&.left {
|
&.left {
|
||||||
|
|
|
@ -67,13 +67,13 @@
|
||||||
</span>
|
</span>
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<a class="item" href="{{AppSubUrl}}/repo/create">
|
<a class="item" href="{{AppSubUrl}}/repo/create">
|
||||||
<i class="octicon octicon-repo-create"></i> {{.i18n.Tr "new_repo"}}
|
<i class="icon octicon octicon-repo-create"></i> {{.i18n.Tr "new_repo"}}
|
||||||
</a>
|
</a>
|
||||||
<a class="item" href="{{AppSubUrl}}/repo/migrate">
|
<a class="item" href="{{AppSubUrl}}/repo/migrate">
|
||||||
<i class="octicon octicon-repo-clone"></i> {{.i18n.Tr "new_migrate"}}
|
<i class="icon octicon octicon-repo-clone"></i> {{.i18n.Tr "new_migrate"}}
|
||||||
</a>
|
</a>
|
||||||
<a class="item" href="{{AppSubUrl}}/org/create">
|
<a class="item" href="{{AppSubUrl}}/org/create">
|
||||||
<i class="octicon octicon-organization"></i> {{.i18n.Tr "new_org"}}
|
<i class="icon octicon octicon-organization"></i> {{.i18n.Tr "new_org"}}
|
||||||
</a>
|
</a>
|
||||||
</div><!-- end content create new menu -->
|
</div><!-- end content create new menu -->
|
||||||
</div><!-- end dropdown menu create new -->
|
</div><!-- end dropdown menu create new -->
|
||||||
|
@ -90,15 +90,15 @@
|
||||||
|
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
<a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}">
|
<a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}">
|
||||||
<i class="octicon icon octicon-person"></i>
|
<i class="icon octicon octicon-person"></i>
|
||||||
{{.i18n.Tr "your_profile"}}<!-- Your profile -->
|
{{.i18n.Tr "your_profile"}}<!-- Your profile -->
|
||||||
</a>
|
</a>
|
||||||
<a class="{{if .PageIsUserSettings}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
|
<a class="{{if .PageIsUserSettings}}active{{end}} item" href="{{AppSubUrl}}/user/settings">
|
||||||
<i class="octicon icon octicon-settings"></i>
|
<i class="icon octicon octicon-settings"></i>
|
||||||
{{.i18n.Tr "your_settings"}}<!-- Your settings -->
|
{{.i18n.Tr "your_settings"}}<!-- Your settings -->
|
||||||
</a>
|
</a>
|
||||||
<a class="item" target="_blank" href="http://gogs.io/docs" rel="noreferrer">
|
<a class="item" target="_blank" href="http://gogs.io/docs" rel="noreferrer">
|
||||||
<i class="octicon icon octicon-question"></i>
|
<i class="icon octicon octicon-question"></i>
|
||||||
{{.i18n.Tr "help"}}<!-- Help -->
|
{{.i18n.Tr "help"}}<!-- Help -->
|
||||||
</a>
|
</a>
|
||||||
{{if .IsAdmin}}
|
{{if .IsAdmin}}
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
|
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
<a class="item" href="{{AppSubUrl}}/user/logout">
|
<a class="item" href="{{AppSubUrl}}/user/logout">
|
||||||
<i class="octicon icon octicon-sign-out"></i>
|
<i class="icon octicon octicon-sign-out"></i>
|
||||||
{{.i18n.Tr "sign_out"}}<!-- Sign Out -->
|
{{.i18n.Tr "sign_out"}}<!-- Sign Out -->
|
||||||
</a>
|
</a>
|
||||||
</div><!-- end content avatar menu -->
|
</div><!-- end content avatar menu -->
|
||||||
|
|
Loading…
Reference in a new issue