aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_base.less1
-rw-r--r--web_src/less/_repository.less19
2 files changed, 16 insertions, 4 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 8c99fa4349..351dbf5da0 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -1585,6 +1585,7 @@ a.ui.label:hover {
border-left: none;
}
+.ui.labeled.button.disabled > .button,
.ui.basic.buttons .button,
.ui.basic.button {
color: var(--color-text-light);
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 0984dd7cf3..5a8476322c 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -2856,14 +2856,25 @@ tbody.commit-list {
align-items: center;
}
-.repo-buttons button[disabled],
.repo-buttons button[disabled] ~ .label {
opacity: var(--opacity-disabled);
}
-.repo-buttons .ui.labeled.button > .label {
- border-left: 0 !important;
- margin: 0 !important;
+.repo-buttons .ui.labeled.button {
+ cursor: initial;
+
+ > .label {
+ border-left: 0 !important;
+ margin: 0 !important;
+ }
+
+ &.disabled {
+ pointer-events: inherit !important;
+
+ > .button {
+ pointer-events: none !important;
+ }
+ }
}
.tag-code {