adjust icon css

This commit is contained in:
Unknwon 2015-09-07 16:12:58 -04:00
parent 7b0ae27549
commit af324a6165
4 changed files with 16 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -84,9 +84,6 @@ pre {
} }
} }
} }
i.icon {
margin-right: 0!important;
}
.ui { .ui {
&.left { &.left {
float: left; float: left;

View File

@ -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;
}
}
} }
} }

View File

@ -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>&nbsp;{{.i18n.Tr "news_feed"}} <i class="octicon octicon-rss"></i>&nbsp;{{.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>&nbsp;{{.i18n.Tr "issues"}} <i class="octicon octicon-issue-opened"></i>&nbsp;{{.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>&nbsp;{{.i18n.Tr "pull_requests"}} <i class="octicon octicon-git-pull-request"></i>&nbsp;{{.i18n.Tr "pull_requests"}}
</a> </a>
<div class="right menu"> <div class="right menu">
<div class="item"> <div class="item">