aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorIván Valdés <iv@a.ki>2020-10-21 16:47:16 -0700
committerGitHub <noreply@github.com>2020-10-21 19:47:16 -0400
commit819901b3e9c187aed1d29f7b58599ed61075781a (patch)
treee12996844c3bc7b52ffe402431b2dfca163336b7 /web_src
parent327f18c3b28225dcfcaa0409b880136f7e1d1bf6 (diff)
downloadgitea-819901b3e9c187aed1d29f7b58599ed61075781a.tar.gz
gitea-819901b3e9c187aed1d29f7b58599ed61075781a.zip
Update outdated label to use Fomantic UI style (#13181)
* Update outdated label to use Fomantic UI style * Use native labels rather than custom style * Remove leading zero Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less34
-rw-r--r--web_src/less/themes/theme-arc-green.less8
2 files changed, 10 insertions, 32 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index fba83adf7e..0c8939181f 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -953,22 +953,6 @@
.comment {
- .tag {
- color: #767676;
- margin-top: 3px;
- padding: 2px 5px;
- font-size: 12px;
- border: 1px solid rgba(0, 0, 0, .1);
- border-radius: 3px;
- &.review {
- margin-left: 5px;
- &.pending {
- color: black;
- background-color: #fffbb2;
- }
- }
- }
-
.actions {
.item {
float: left;
@@ -1005,7 +989,7 @@
> .header {
#avatar-arrow;
font-weight: normal;
- padding: auto 15px;
+ padding: .5rem 1rem;
position: relative;
color: #767676;
background-color: #f7f7f7;
@@ -1032,6 +1016,10 @@
display: flex;
padding: 0 .5rem;
+ &.right {
+ margin: 0;
+ }
+
a {
color: rgba(0, 0, 0, .4);
@@ -1226,16 +1214,10 @@
.hide-outdated {
display: block;
}
- }
- .tag {
- color: black;
- margin: 3px 0 0 5px;
- padding: 2px 5px;
- font-size: 12px;
- border: 1px solid rgba(0, 0, 0, .1);
- border-radius: 3px;
- background-color: #fffbb2;
+ .label {
+ margin-left: 6px;
+ }
}
}
}
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less
index 2bd9bf6a4f..1e2a426115 100644
--- a/web_src/less/themes/theme-arc-green.less
+++ b/web_src/less/themes/theme-arc-green.less
@@ -618,7 +618,8 @@ footer {
.ui.label,
.ui.label.basic {
color: #dbdbdb;
- background-color: #2a2e39;
+ border-color: rgb(152, 152, 152);
+ background-color: #2a2e39 !important;
}
.issue.list > .item .title {
@@ -1121,11 +1122,6 @@ a.ui.basic.green.label:hover {
color: #9e9e9e;
}
-.repository.view.issue .comment-list .comment .tag {
- color: #dbdbdb;
- border-color: rgb(152, 152, 152);
-}
-
.repository.view.issue .comment-list .timeline-item .badge.badge-commit {
background: radial-gradient(#383c4a 40%, transparent 40%) no-repeat;
}