mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 07:43:36 +01:00
adjust icon css
This commit is contained in:
parent
7b0ae27549
commit
af324a6165
4 changed files with 16 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
|
@ -84,9 +84,6 @@ pre {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
i.icon {
|
|
||||||
margin-right: 0!important;
|
|
||||||
}
|
|
||||||
.ui {
|
.ui {
|
||||||
&.left {
|
&.left {
|
||||||
float: left;
|
float: left;
|
||||||
|
|
|
@ -14,9 +14,14 @@
|
||||||
.filter.menu {
|
.filter.menu {
|
||||||
.item {
|
.item {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
.text {
|
||||||
|
height: 16px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
.floating.label {
|
.floating.label {
|
||||||
top: 7px;
|
top: 7px;
|
||||||
left: 95%;
|
left: 90%;
|
||||||
|
width: 15%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.item.active {
|
.item.active {
|
||||||
|
@ -24,7 +29,7 @@
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
.item .text {
|
.item .text {
|
||||||
width: 90%;
|
width: 85%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.ui.right .head.menu {
|
.ui.right .head.menu {
|
||||||
|
@ -33,5 +38,10 @@
|
||||||
color: #d9453d;
|
color: #d9453d;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.head.menu {
|
||||||
|
.octicon {
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -31,13 +31,13 @@
|
||||||
<div class="ui right">
|
<div class="ui right">
|
||||||
<div class="ui secondary head menu">
|
<div class="ui secondary head menu">
|
||||||
<a class="{{if .PageIsNews}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/dashboard">
|
<a class="{{if .PageIsNews}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/dashboard">
|
||||||
<i class="icon octicon octicon-rss"></i> {{.i18n.Tr "news_feed"}}
|
<i class="octicon octicon-rss"></i> {{.i18n.Tr "news_feed"}}
|
||||||
</a>
|
</a>
|
||||||
<a class="{{if .PageIsIssues}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/issues">
|
<a class="{{if .PageIsIssues}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/issues">
|
||||||
<i class="icon octicon octicon-issue-opened"></i> {{.i18n.Tr "issues"}}
|
<i class="octicon octicon-issue-opened"></i> {{.i18n.Tr "issues"}}
|
||||||
</a>
|
</a>
|
||||||
<a class="{{if .PageIsPulls}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/pulls">
|
<a class="{{if .PageIsPulls}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/pulls">
|
||||||
<i class="icon octicon octicon-git-pull-request"></i> {{.i18n.Tr "pull_requests"}}
|
<i class="octicon octicon-git-pull-request"></i> {{.i18n.Tr "pull_requests"}}
|
||||||
</a>
|
</a>
|
||||||
<div class="right menu">
|
<div class="right menu">
|
||||||
<div class="item">
|
<div class="item">
|
||||||
|
|
Loading…
Reference in a new issue