aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/css
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-09-01 14:59:38 +0800
committerGitHub <noreply@github.com>2023-09-01 08:59:38 +0200
commitfcb4941d47217f3a369148d98b07e27205f385b8 (patch)
treeb9da51762032c6b5f3af0f46f679c586353ebeb7 /web_src/css
parent3ff81d38d87b88de004d666816e0ece46ea8bf65 (diff)
downloadgitea-fcb4941d47217f3a369148d98b07e27205f385b8.tar.gz
gitea-fcb4941d47217f3a369148d98b07e27205f385b8.zip
Remove some unused CSS styles (#26852)
1. `icons`: globally searched, no use in templates. 2. toast's `display: inline-block;`: there is a `display: flex` below.
Diffstat (limited to 'web_src/css')
-rw-r--r--web_src/css/base.css13
-rw-r--r--web_src/css/modules/toast.css1
2 files changed, 1 insertions, 13 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css
index 20ddf01486..4330fb1df0 100644
--- a/web_src/css/base.css
+++ b/web_src/css/base.css
@@ -1647,10 +1647,6 @@ img.ui.avatar,
margin-top: 1px;
}
-i.icons .icon:first-child {
- margin-right: 0;
-}
-
.ui.label {
padding: 0.3em 0.5em;
transition: none;
@@ -1686,14 +1682,6 @@ a.ui.active.label:hover {
color: var(--color-label-text);
}
-.ui.label > .detail .icons {
- margin-right: 0.25em;
-}
-
-.ui.label > .detail .icons .icon {
- margin-right: 0;
-}
-
.lines-blame-btn {
padding-left: 10px;
padding-right: 10px;
@@ -2099,6 +2087,7 @@ table th[data-sortt-desc] .svg {
vertical-align: -0.15em;
}
+/* for the jquery.minicolors plugin */
.minicolors-panel {
background: var(--color-secondary-dark-1) !important;
}
diff --git a/web_src/css/modules/toast.css b/web_src/css/modules/toast.css
index 0bfaa5be41..2a9f78e017 100644
--- a/web_src/css/modules/toast.css
+++ b/web_src/css/modules/toast.css
@@ -28,7 +28,6 @@
border-radius: var(--border-radius);
background: transparent;
border: none;
- display: inline-block;
display: flex;
width: 30px;
height: 30px;