This repository was archived by the owner on Jul 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed
plugins/plugin-client-common
src/components/Views/Terminal/Block
web/scss/components/Terminal Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ export const BLOCK_DOWN_BUTTON = (N: number) => `${PROMPT_BLOCK_N(N)} .kui--bloc
194
194
export const BLOCK_SECTION_BUTTON = ( N : number ) => `${ PROMPT_BLOCK_N ( N ) } .kui--block-action [icon="Section"]`
195
195
export const COMMAND_COPY_BUTTON = ( N : number ) => `${ PROMPT_BLOCK_N ( N ) } .kui--block-action [icon="Copy"]`
196
196
export const COMMAND_COPY_DONE_BUTTON = ( N : number ) => `${ PROMPT_BLOCK_N ( N ) } .kui--block-action [icon="Checkmark"]`
197
- export const COMMAND_RERUN_BUTTON = ( N : number ) => `${ PROMPT_BLOCK_N ( N ) } .kui--block-action [icon="Retry "]`
197
+ export const COMMAND_RERUN_BUTTON = ( N : number ) => `${ PROMPT_BLOCK_N ( N ) } .kui--block-action [icon="Play "]`
198
198
export const PROMPT_LAST = `${ PROMPT_BLOCK_LAST } .repl-input-element`
199
199
export const PROMPT_FINAL = `${ PROMPT_BLOCK_FINAL } .repl-input-element`
200
200
export const OUTPUT_LAST = `${ PROMPT_BLOCK_LAST } .repl-result`
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default class Actions extends React.PureComponent<Props> {
64
64
}
65
65
}
66
66
67
- return < Action icon = "Retry " onClick = { handler } title = { strings ( 'Re-execute this command' ) } />
67
+ return < Action icon = "Play " onClick = { handler } title = { strings ( 'Re-execute this command' ) } />
68
68
}
69
69
}
70
70
Original file line number Diff line number Diff line change 196
196
}
197
197
}
198
198
@include BlockActions {
199
- align-items : center ;
200
199
display : flex ;
201
200
opacity : 0 ;
202
201
border-radius : 1px ;
203
202
background-color : var (--color-base03 );
204
203
204
+ transition-property : opacity ;
205
+ transition-delay : $action-hover-delay ;
206
+ transition-duration : 140ms ;
207
+
205
208
position : absolute ;
206
209
top : 0 ; /* this with bottom:0 gives 1) vertical center; 2) occluding of repl-input-element content */
207
210
bottom : 0 ;
208
211
right : 0 ;
209
-
210
- padding-left : 0.5em ;
211
- transition-property : opacity ;
212
- transition-delay : $action-hover-delay ;
213
- transition-duration : 140ms ;
214
212
}
215
213
216
214
.kui--block-action {
217
215
align-items : center ;
216
+ justify-content : center ;
218
217
display : flex ;
219
- margin-right : $action-padding ;
220
218
padding : $action-padding ;
219
+ width : $action-width ;
221
220
color : var (--color-text-01 );
222
221
223
222
/* This is a bit of a hack for TwoFaceIcon, to work around the Checkmark being narrower than other icons in Carbon */
238
237
}
239
238
240
239
.kui-block-actions-others :not (:empty ) {
241
- padding-right : $action-padding ;
242
- margin-right : $action-padding ;
243
240
display : flex ;
244
241
border-right : 1px solid var (--color-table-border1 );
245
242
}
Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ $inset: 0.375em;
21
21
$right-element-font-size-factor : 0.75 ;
22
22
$right-element-font-size : $right-element-font-size-factor + rem;
23
23
24
- /* * Padding for action buttons */
24
+ /* * Sizing for Block action buttons */
25
25
$action-padding : 3px ;
26
+ $action-width : 2em ;
26
27
27
28
/* * Color to indicate focused block */
28
29
$focus-color : var (--color-brand-01 );
You can’t perform that action at this time.
0 commit comments