diff options
Diffstat (limited to 'web_src/less')
-rw-r--r-- | web_src/less/_repository.less | 21 | ||||
-rw-r--r-- | web_src/less/_svg.less | 8 | ||||
-rw-r--r-- | web_src/less/themes/theme-arc-green.less | 2 |
3 files changed, 10 insertions, 21 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 7bb7d81bab..2277b794c9 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -338,8 +338,7 @@ } &.octicon-file-directory, - &.octicon-file-submodule, - &.octicon-file-symlink-directory { + &.octicon-file-submodule { color: #1e70bf; } } @@ -788,9 +787,7 @@ .badge.badge-commit { border-color: transparent; - background: radial-gradient(white 60%, transparent 60%) no-repeat; - height: 10px; - margin-top: 11px; + background: radial-gradient(white 40%, transparent 40%) no-repeat; } .badge { @@ -805,19 +802,18 @@ margin-right: 8px; color: #444; align-items: center; + justify-content: center; .svg { - width: 28px; - height: 28px; - text-align: center; - line-height: 28px; - padding: 4px; + width: 24px; + height: 24px; + padding: 3px; &.octicon-circle-slash { color: #bd2c00; } - &.octicon-primitive-dot { + &.octicon-dot-fill { color: #6cc644; } @@ -959,7 +955,8 @@ &.action { margin-top: 6px; - margin-left: 10px; + padding-left: 10px; + padding-right: 3px; } } } diff --git a/web_src/less/_svg.less b/web_src/less/_svg.less index 1d58e239df..b17b9a8b32 100644 --- a/web_src/less/_svg.less +++ b/web_src/less/_svg.less @@ -6,12 +6,4 @@ .middle & { vertical-align: middle; } - - // https://github.com/go-gitea/gitea/pull/11771 - // https://github.com/go-gitea/gitea/pull/11801 - // https://bugzilla.mozilla.org/show_bug.cgi?id=608812 - &.octicon-internal-repo { - // via https://bugzilla.mozilla.org/show_bug.cgi?id=1165282#c3 - shape-rendering: crispEdges; - } } diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less index ee294d3fac..49d9821cdd 100644 --- a/web_src/less/themes/theme-arc-green.less +++ b/web_src/less/themes/theme-arc-green.less @@ -1015,7 +1015,7 @@ a.ui.basic.green.label:hover { } .repository.view.issue .comment-list .timeline-item .badge.badge-commit { - background: radial-gradient(#383c4a 60%, transparent 60%) no-repeat; + background: radial-gradient(#383c4a 40%, transparent 40%) no-repeat; } .repository .comment.form .content .form:after { |