From ce5641aacc9b5c3762d8743e755c6d1ecf9cf850 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Mon, 13 Feb 2023 15:21:13 +0800 Subject: [PATCH] Revert "feat: add _actions.less" This reverts commit 59beb2dba6b35b88dae5ac5c3d094bc6c1bba19c. --- web_src/js/components/RepoActionView.vue | 55 +++++++++++++++++++++++- web_src/less/_actions.less | 43 ------------------ web_src/less/index.less | 1 - 3 files changed, 53 insertions(+), 46 deletions(-) delete mode 100644 web_src/less/_actions.less diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue index ddc7139a2e2ea..58019e9df1e9b 100644 --- a/web_src/js/components/RepoActionView.vue +++ b/web_src/js/components/RepoActionView.vue @@ -280,8 +280,6 @@ export function initRepositoryActionView() { + diff --git a/web_src/less/_actions.less b/web_src/less/_actions.less deleted file mode 100644 index 1acad06a655e4..0000000000000 --- a/web_src/less/_actions.less +++ /dev/null @@ -1,43 +0,0 @@ -@import "variables.less"; - -// TODO: the parent element's full height doesn't work well now -body > div.full.height { - padding-bottom: 0; -} - -.job-status-rotate { - animation: job-status-rotate-keyframes 1s linear infinite; -} -@keyframes job-status-rotate-keyframes { - 100% { - transform: rotate(360deg); - } -} - -.job-step-section { - margin: 10px; - .job-step-logs { - font-family: monospace; - .job-log-line { - display: flex; - .line-num { - width: 48px; - color: var(--color-grey-light); - text-align: right; - } - .log-time { - color: var(--color-grey-light); - margin-left: 10px; - white-space: nowrap; - } - .log-msg { - flex: 1; - word-break: break-all; - white-space: break-spaces; - margin-left: 10px; - } - } - - // TODO: group support - } -} diff --git a/web_src/less/index.less b/web_src/less/index.less index 29cff15c54574..5d55b9291f6c9 100644 --- a/web_src/less/index.less +++ b/web_src/less/index.less @@ -38,6 +38,5 @@ @import "_review"; @import "_package"; @import "_runner"; -@import "_actions"; @import "./helpers.less";