From 971e2c3bd6a63a9d75ee7b222b8ec1716f47fbb6 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 16 Jul 2016 12:45:13 +0800 Subject: Upgrade octicon to 4.3.0 --- public/css/gogs.css | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) (limited to 'public/css') diff --git a/public/css/gogs.css b/public/css/gogs.css index 93a17628d9..1a513b6841 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -94,13 +94,13 @@ code.wrap { .following.bar .top.menu .menu { z-index: 900; } +.following.bar .icon, +.following.bar .octicon { + margin-right: 5px !important; +} .following.bar .head.link.item { padding-right: 0 !important; } -.following.bar .head.link.item .dropdown.icon, -.following.bar .head.link.item .menu .octicon { - margin-right: 5px; -} .following.bar .avatar > .ui.image { margin-right: 0; } @@ -398,12 +398,6 @@ footer .ui.language .menu { width: 32px !important; height: 32px !important; } -.octicon.icon, -.mega-octicon.icon { - font-family: octicons; - font-size: 16px; - opacity: 1 !important; -} .sr-only { position: absolute; width: 1px; @@ -1109,8 +1103,8 @@ footer .ui.language .menu { padding-bottom: 80px; } .repository .head .column { - padding-top: 5px!important; - padding-bottom: 5px!important; + padding-top: 5px !important; + padding-bottom: 5px !important; } .repository .head .ui.compact.menu { margin-left: 1rem; @@ -1133,6 +1127,10 @@ footer .ui.language .menu { font-size: 12px; white-space: nowrap; } +.repository .head .octicon.octicon-repo-forked { + margin-top: -1px; + font-size: 15px; +} .repository .navbar .ui.label { margin-top: -2px; margin-left: 7px; @@ -1172,6 +1170,9 @@ footer .ui.language .menu { .repository .header-wrapper .ui.tabs.divider { border-bottom: none; } +.repository .header-wrapper .ui.tabular .octicon { + margin-right: 5px; +} .repository .filter.menu .label.color { border-radius: 3px; margin-left: 15px; @@ -1244,10 +1245,13 @@ footer .ui.language .menu { .repository.file.list #repo-files-table thead .ui.avatar { margin-bottom: 5px; } -.repository.file.list #repo-files-table tbody .icon { +.repository.file.list #repo-files-table tbody .octicon { margin-left: 3px; margin-right: 5px; } +.repository.file.list #repo-files-table tbody .octicon.octicon-mail-reply { + margin-right: 10px; +} .repository.file.list #repo-files-table td { padding-top: 8px; padding-bottom: 8px; @@ -2521,10 +2525,6 @@ footer .ui.language .menu { .dashboard.issues .ui.right .head.menu .item.active { color: #d9453d; } -.dashboard.feeds .head.menu .octicon, -.dashboard.issues .head.menu .octicon { - margin-right: 5px; -} .feeds .news .ui.avatar { margin-top: 13px; } @@ -2566,7 +2566,6 @@ footer .ui.language .menu { } .feeds .list .header .plus.icon { margin-top: 5px; - margin-right: 0; } .feeds .list ul { list-style: none; @@ -2584,9 +2583,14 @@ footer .ui.language .menu { display: block; } .feeds .list ul li a .octicon { - margin-right: 6px; color: #888; } +.feeds .list ul li a .octicon.rear { + font-size: 15px; +} +.feeds .list ul li a .star-num { + font-size: 12px; +} .feeds .list .repo-owner-name-list .item-name { max-width: 70%; margin-bottom: -4px; @@ -2671,7 +2675,7 @@ footer .ui.language .menu { } .ui.repository.list .item .ui.header .metas { color: #888; - font-size: 13px; + font-size: 14px; font-weight: normal; } .ui.repository.list .item .ui.header .metas span:not(:last-child) { -- cgit v1.2.3