|
1 | 1 | <template>
|
2 | 2 | <div class="action-view-container">
|
3 | 3 | <div class="action-view-header">
|
4 |
| - <div class="action-info-summary gt-ac"> |
| 4 | + <div class="action-info-summary"> |
5 | 5 | <ActionRunStatus :locale-status="locale.status[run.status]" :status="run.status" :size="20"/>
|
6 | 6 | <div class="action-title">
|
7 | 7 | {{ run.title }}
|
8 | 8 | </div>
|
9 |
| - <button :data-tooltip-content="locale.approve" class="action-control-button text green" @click="approveRun()" v-if="run.canApprove"> |
10 |
| - <SvgIcon name="octicon-play" :size="20"/> |
| 9 | + <button class="ui basic small compact button primary" @click="approveRun()" v-if="run.canApprove"> |
| 10 | + <SvgIcon class="gt-mr-2" name="octicon-play" :size="20"/> {{ locale.approve }} |
11 | 11 | </button>
|
12 |
| - <button :data-tooltip-content="locale.cancel" class="action-control-button text red" @click="cancelRun()" v-else-if="run.canCancel"> |
13 |
| - <SvgIcon name="octicon-x-circle-fill" :size="20"/> |
| 12 | + <button class="ui basic small compact button red" @click="cancelRun()" v-else-if="run.canCancel"> |
| 13 | + <SvgIcon class="gt-mr-2" name="octicon-x-circle-fill" :size="20"/> {{ locale.cancel }} |
14 | 14 | </button>
|
15 |
| - <button :data-tooltip-content="locale.rerun" class="action-control-button text green" @click="rerun()" v-else-if="run.canRerun"> |
16 |
| - <SvgIcon name="octicon-sync" :size="20"/> |
| 15 | + <button class="ui basic small compact button secondary" @click="rerun()" v-else-if="run.canRerun"> |
| 16 | + <SvgIcon class="gt-mr-2" name="octicon-sync" :size="20"/> {{ locale.rerun }} |
17 | 17 | </button>
|
18 | 18 | </div>
|
19 | 19 | <div class="action-commit-summary">
|
@@ -391,27 +391,17 @@ export function ansiLogToHTML(line) {
|
391 | 391 | margin: 0 20px 20px 20px;
|
392 | 392 | }
|
393 | 393 |
|
394 |
| -.action-view-header .action-control-button { |
395 |
| - border: none; |
396 |
| - background-color: transparent; |
397 |
| - outline: none; |
398 |
| - cursor: pointer; |
399 |
| - transition: transform 0.2s; |
400 |
| - display: flex; |
401 |
| -} |
402 |
| -
|
403 |
| -.action-view-header .action-control-button:hover { |
404 |
| - transform: scale(130%); |
405 |
| -} |
406 |
| -
|
407 | 394 | .action-info-summary {
|
408 | 395 | font-size: 150%;
|
409 | 396 | height: 20px;
|
410 | 397 | display: flex;
|
| 398 | + align-items: center; |
| 399 | + margin-top: 1rem; |
411 | 400 | }
|
412 | 401 |
|
413 | 402 | .action-info-summary .action-title {
|
414 | 403 | padding: 0 5px;
|
| 404 | + flex: 1; |
415 | 405 | }
|
416 | 406 |
|
417 | 407 | .action-commit-summary {
|
|
0 commit comments