minor fix on icon
parent
32c12d553c
commit
03ea29eb36
File diff suppressed because one or more lines are too long
|
@ -70,10 +70,19 @@ pre {
|
|||
background-color: rgb(233, 233, 233)!important;
|
||||
}
|
||||
}
|
||||
.octicon {
|
||||
.text .octicon {
|
||||
width: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
.right.menu {
|
||||
.menu {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
.dropdown .menu {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ui {
|
||||
&.left {
|
||||
|
|
|
@ -67,13 +67,13 @@
|
|||
</span>
|
||||
<div class="menu">
|
||||
<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 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 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>
|
||||
</div><!-- end content create new menu -->
|
||||
</div><!-- end dropdown menu create new -->
|
||||
|
@ -90,15 +90,15 @@
|
|||
|
||||
<div class="divider"></div>
|
||||
<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 -->
|
||||
</a>
|
||||
<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 -->
|
||||
</a>
|
||||
<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 -->
|
||||
</a>
|
||||
{{if .IsAdmin}}
|
||||
|
@ -112,7 +112,7 @@
|
|||
|
||||
<div class="divider"></div>
|
||||
<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 -->
|
||||
</a>
|
||||
</div><!-- end content avatar menu -->
|
||||
|
|
Loading…
Reference in New Issue