diff options
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_base.less | 16 | ||||
-rw-r--r-- | public/less/_dashboard.less | 14 | ||||
-rw-r--r-- | public/less/_explore.less | 2 | ||||
-rw-r--r-- | public/less/_repository.less | 16 |
4 files changed, 25 insertions, 23 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index 545984051c..ee7e8a5258 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -82,12 +82,12 @@ pre, code { .top.menu .menu { z-index: 900; } + .icon, + .octicon { + margin-right: 5px !important; + } .head.link.item { padding-right: 0 !important; - .dropdown.icon, - .menu .octicon { - margin-right: 5px; - } } .avatar > .ui.image { margin-right: 0; @@ -378,14 +378,6 @@ footer { .generate-img(@n, (@i + 1)); } -// ensure Semantic UI .icon font family and 14px size does not apply to .icon.octicon -.octicon.icon, -.mega-octicon.icon { - font-family: octicons; - font-size: 16px; - opacity: 1 !important; -} - // Accessibility .sr-only { position: absolute; diff --git a/public/less/_dashboard.less b/public/less/_dashboard.less index b5dff32d54..5f1910b39a 100644 --- a/public/less/_dashboard.less +++ b/public/less/_dashboard.less @@ -47,11 +47,6 @@ color: #d9453d; } } - .head.menu { - .octicon { - margin-right: 5px; - } - } } } @@ -102,7 +97,6 @@ .plus.icon { margin-top: 5px; - margin-right: 0; } } ul { @@ -124,8 +118,14 @@ display: block; .octicon { - margin-right: 6px; color: #888; + + &.rear { + font-size: 15px; + } + } + .star-num { + font-size: 12px; } } } diff --git a/public/less/_explore.less b/public/less/_explore.less index 479e7e355d..41426e45bd 100644 --- a/public/less/_explore.less +++ b/public/less/_explore.less @@ -29,7 +29,7 @@ .metas { color: #888; - font-size: 13px; + font-size: 14px; font-weight: normal; span:not(:last-child) { margin-right: 5px; diff --git a/public/less/_repository.less b/public/less/_repository.less index 5d4d737022..da28528d30 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -6,8 +6,8 @@ .head { .column { - padding-top: 5px!important; - padding-bottom: 5px!important; + padding-top: 5px !important; + padding-bottom: 5px !important; } .ui.compact.menu { margin-left: 1rem; @@ -30,6 +30,10 @@ font-size: 12px; white-space: nowrap; } + .octicon.octicon-repo-forked { + margin-top: -1px; + font-size: 15px; + } } .navbar { @@ -79,6 +83,9 @@ .ui.tabs.divider { border-bottom: none; } + .ui.tabular .octicon { + margin-right: 5px; + } } .filter.menu { .label.color { @@ -170,9 +177,12 @@ } } tbody { - .icon { + .octicon { margin-left: 3px; margin-right: 5px; + &.octicon-mail-reply { + margin-right: 10px; + } } } td { |