File tree Expand file tree Collapse file tree 3 files changed +54
-55
lines changed Expand file tree Collapse file tree 3 files changed +54
-55
lines changed Original file line number Diff line number Diff line change @@ -281,6 +281,8 @@ export function initRepositoryActionView() {
281281
282282< style scoped lang= " less" >
283283
284+ // some elements are not managed by vue, so we need to use _actions.less in addition.
285+
284286.action - view- body {
285287 display: flex;
286288 height: calc (100vh - 266px ); // fine tune this value to make the main view has full height
@@ -336,8 +338,6 @@ export function initRepositoryActionView() {
336338 }
337339}
338340
339-
340-
341341// ================
342342// action view right
343343
@@ -385,56 +385,3 @@ export function initRepositoryActionView() {
385385}
386386< / style>
387387
388- < style lang= " less" >
389- // some elements are not managed by vue, so we need to use global style
390-
391- // TODO: the parent element's full height doesn't work well now
392- body > div .full .height {
393- padding- bottom: 0 ;
394- }
395-
396- .job - status- rotate {
397- animation: job- status- rotate- keyframes 1s linear infinite;
398- }
399- @keyframes job- status- rotate- keyframes {
400- 100 % {
401- transform: rotate (360deg );
402- }
403- }
404-
405- .job - step- section {
406- margin: 10px ;
407- .job - step- logs {
408- font- family: monospace, monospace;
409- .job - log- line {
410- display: flex;
411- line- num {
412- width: 48px ;
413- color: var (-- color- grey- light);
414- text- align: right;
415- }
416- log- time {
417- color: var (-- color- grey- light);
418- margin- left: 10px ;
419- white- space: nowrap;
420- }
421- log- msg {
422- flex: 1 ;
423- word- break: break - all;
424- white- space: break - spaces;
425- margin- left: 10px ;
426- }
427- }
428-
429- // TODO: group support
430- .job - log- group {
431- }
432-
433- .job - log- group- summary {
434- }
435-
436- .job - log- list {
437- }
438- }
439- }
440- < / style>
Original file line number Diff line number Diff line change 1+ @import " variables.less" ;
2+
3+ // TODO: the parent element's full height doesn't work well now
4+ body > div .full.height {
5+ padding-bottom : 0 ;
6+ }
7+
8+ .job-status-rotate {
9+ animation : job- status- rotate- keyframes 1s linear infinite ;
10+ }
11+ @keyframes job- status- rotate- keyframes {
12+ 100% {
13+ transform :rotate (360deg );
14+ }
15+ }
16+
17+ .job-step-section {
18+ margin : 10px ;
19+ .job-step-logs {
20+ font-family : monospace , monospace ;
21+ .job-log-line {
22+ display : flex ;
23+ line- num {
24+ width : 48px ;
25+ color : var (--color-grey-light );
26+ text-align : right ;
27+ }
28+ log- time {
29+ color : var (--color-grey-light );
30+ margin-left : 10px ;
31+ white-space : nowrap ;
32+ }
33+ log- msg {
34+ flex : 1 ;
35+ word-break : break-all ;
36+ white-space : break- spaces;
37+ margin-left : 10px ;
38+ }
39+ }
40+
41+ // TODO: group support
42+ .job-log-group {
43+ }
44+
45+ .job-log-group-summary {
46+ }
47+
48+ .job-log-list {
49+ }
50+ }
51+ }
Original file line number Diff line number Diff line change 3737@import " _review" ;
3838@import " _package" ;
3939@import " _runner" ;
40+ @import " _actions" ;
4041
4142@import " ./helpers.less" ;
You can’t perform that action at this time.
0 commit comments