File tree 4 files changed +34
-3
lines changed
4 files changed +34
-3
lines changed Original file line number Diff line number Diff line change 27
27
@import ' ./components/image-file.scss' ;
28
28
@import ' ./components/inline-definitions' ;
29
29
@import ' ./components/job-diff' ;
30
+ @import ' ./components/job-editor' ;
30
31
@import ' ./components/json-viewer' ;
31
32
@import ' ./components/legend' ;
32
33
@import ' ./components/lifecycle-chart' ;
Original file line number Diff line number Diff line change
1
+ .job-editor {
2
+ .job-definition-editor-header {
3
+ align-items : center ;
4
+ display : flex ;
5
+ color : var (--token-color-palette-neutral-100 );
6
+
7
+ .job-definition-select {
8
+ border : 1px solid var (--token-color-palette-neutral-500 );
9
+ border-radius : 5px ;
10
+ display : grid ;
11
+ gap : 0.25rem ;
12
+ grid-template-columns : 1fr 1fr ;
13
+ padding : 0.25rem ;
14
+ margin : 0rem 1rem ;
15
+
16
+ & .disabled {
17
+ opacity : 0.5 ;
18
+ pointer-events : none ;
19
+ }
20
+
21
+ .hds-button.is-active {
22
+ background : var (--token-color-palette-neutral-100 );
23
+ color : var (--token-color-foreground-strong );
24
+ }
25
+ }
26
+
27
+ .hds-form-label {
28
+ color : var (--token-color-palette-neutral-100 );
29
+ }
30
+ }
31
+ }
Original file line number Diff line number Diff line change 3
3
SPDX-License-Identifier: BUSL-1.1
4
4
~}}
5
5
6
- <div >
6
+ <div class = " job-editor " >
7
7
<JobEditor::Alert
8
8
@data ={{ merge (hash error =this.error stage =this.stage ) this.data }}
9
9
@fns ={{ this.fns }}
Original file line number Diff line number Diff line change 15
15
<CE .Title>Job Definition</CE .Title>
16
16
17
17
{{ #if @data.cancelable }}
18
- <CE .Generic>
19
- {{!-- TODO: Fix header styles --}}
18
+ <CE .Generic class =" job-definition-editor-header" >
20
19
<span class =" header-toggle" >
21
20
<Hds::Form::Toggle::Field
22
21
{{ keyboard-shortcut
You can’t perform that action at this time.
0 commit comments