Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove _actions.less #22885

Merged
merged 2 commits into from
Feb 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 53 additions & 2 deletions web_src/js/components/RepoActionView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,6 @@ export function initRepositoryActionView() {

<style scoped lang="less">

// some elements are not managed by vue, so we need to use _actions.less in addition.

.action-view-body {
display: flex;
height: calc(100vh - 266px); // fine tune this value to make the main view has full height
Expand Down Expand Up @@ -411,3 +409,56 @@ export function initRepositoryActionView() {
}
</style>

<style lang="less">
// some elements are not managed by vue, so we need to use global style

// 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, 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
.job-log-group {
}

.job-log-group-summary {
}

.job-log-list {
}
}
}
</style>
43 changes: 0 additions & 43 deletions web_src/less/_actions.less

This file was deleted.

1 change: 0 additions & 1 deletion web_src/less/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,5 @@
@import "_review";
@import "_package";
@import "_runner";
@import "_actions";

@import "./helpers.less";