summaryrefslogtreecommitdiffstats
path: root/web_src/css/actions.css
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-16 06:13:30 +0200
committerGitHub <noreply@github.com>2023-05-16 00:13:30 -0400
commitb926f96da777baf3a0e61fd6e6e19cb969cb0780 (patch)
treebdb0b2e64d8893d315e034c24f3d760fccf61537 /web_src/css/actions.css
parentc78b923822f219922c4ffb982ece05c9688e9656 (diff)
downloadgitea-b926f96da777baf3a0e61fd6e6e19cb969cb0780.tar.gz
gitea-b926f96da777baf3a0e61fd6e6e19cb969cb0780.zip
Reorganize CSS files (#24739)
Reorganize various CSS files for clarity, group together by subdirectory in `index.css`. This reorders some of the rules, but I don't think it should introduce any issues because of that.
Diffstat (limited to 'web_src/css/actions.css')
-rw-r--r--web_src/css/actions.css54
1 files changed, 54 insertions, 0 deletions
diff --git a/web_src/css/actions.css b/web_src/css/actions.css
new file mode 100644
index 0000000000..31da79cabf
--- /dev/null
+++ b/web_src/css/actions.css
@@ -0,0 +1,54 @@
+.runner-container {
+ padding-bottom: 30px;
+}
+
+.runner-container .ui.table.segment {
+ overflow-x: auto;
+}
+
+.runner-container .runner-ops > a {
+ margin-left: 0.5em;
+}
+
+.runner-container .runner-ops-delete {
+ color: var(--color-red-light);
+}
+
+.runner-container .runner-basic-info .gt-dib {
+ margin-right: 1em;
+}
+
+.runner-container .runner-status-online {
+ padding: 0.3em 0.5em;
+ background-color: var(--color-green);
+ color: var(--color-white);
+}
+
+.runner-container .runner-new-text {
+ color: var(--color-white);
+}
+
+.runner-container #runner-new:hover .runner-new-text {
+ color: var(--color-white) !important;
+}
+
+.runner-container .task-status-success {
+ background-color: var(--color-green);
+ color: var(--color-white);
+}
+
+.runner-container .task-status-failure {
+ background-color: var(--color-red-light);
+ color: var(--color-white);
+}
+
+.runner-container .task-status-running {
+ background-color: var(--color-blue);
+ color: var(--color-white);
+}
+
+.runner-container .task-status-cancelled,
+.runner-container .task-status-blocked {
+ background-color: var(--color-yellow);
+ color: var(--color-white);
+}