-
Notifications
You must be signed in to change notification settings - Fork 870
Style fixes: label form, empty-state spacing, registration dark mode #45080
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,3 +100,7 @@ | |
| } | ||
| } | ||
| } | ||
|
|
||
| body.dark-mode .confirm-user-reg__table tbody tr { | ||
| background-color: transparent; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,12 +16,6 @@ | |
| color: $ui-fleet-black-50; | ||
| } | ||
|
|
||
| &:hover:not(.input-field--read-only) { | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not tracked in the issue yet, but this is a new bug I noticed where input fields were staying highlighted when tabbing through them. |
||
| box-shadow: none; | ||
| border: 1px solid $ui-fleet-black-75-over; | ||
| } | ||
|
|
||
| &:active:not(.input-field--read-only), | ||
| &:focus:not(.input-field--read-only), | ||
| &:focus-visible:not(.input-field--read-only) { | ||
| box-shadow: none; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,14 +65,6 @@ | |
| } | ||
|
|
||
| &.registration-breadcrumbs__page--active { | ||
| &::before { | ||
| background: linear-gradient( | ||
| to right, | ||
| $ui-fleet-black-75 50%, | ||
| $ui-fleet-black-25 50% | ||
| ); | ||
| } | ||
|
|
||
|
Comment on lines
-68
to
-75
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I noticed that the progress indicator at the top was filling halfway during the steps, which looked weird. I updated it so that the entire line area is filled. Will add to isuse. |
||
| &::after { | ||
| background-color: transparent; | ||
| outline: 2px solid $ui-fleet-black-75; | ||
|
|
@@ -101,14 +93,6 @@ | |
| } | ||
|
|
||
| &.registration-breadcrumbs__page--active { | ||
| &::before { | ||
| background: linear-gradient( | ||
| to right, | ||
| $ui-fleet-black-75 50%, | ||
| $ui-fleet-black-25 50% | ||
| ); | ||
| } | ||
|
|
||
| &::after { | ||
| background-color: transparent; | ||
| outline: 2px solid $ui-fleet-black-75; | ||
|
|
@@ -140,14 +124,6 @@ | |
| } | ||
|
|
||
| &.registration-breadcrumbs__page--active { | ||
| &::before { | ||
| background: linear-gradient( | ||
| to right, | ||
| $ui-fleet-black-75 50%, | ||
| $ui-fleet-black-25 50% | ||
| ); | ||
| } | ||
|
|
||
| &::after { | ||
| background-color: transparent; | ||
| outline: 2px solid $ui-fleet-black-75; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -594,15 +594,6 @@ const NewLabelPage = ({ | |
| </div> | ||
| {renderVariableFields()} | ||
| <div className="button-wrap"> | ||
| <Button | ||
| onClick={() => { | ||
| router.goBack(); | ||
| }} | ||
| variant="inverse" | ||
| disabled={isUpdating} | ||
| > | ||
| Cancel | ||
| </Button> | ||
| <GitOpsModeTooltipWrapper | ||
| entityType="labels" | ||
| renderChildren={(disableChildren) => ( | ||
|
|
@@ -615,6 +606,15 @@ const NewLabelPage = ({ | |
| </Button> | ||
| )} | ||
| /> | ||
| <Button | ||
| onClick={() => { | ||
| router.goBack(); | ||
| }} | ||
| variant="inverse" | ||
| disabled={isUpdating} | ||
| > | ||
| Cancel | ||
| </Button> | ||
|
Comment on lines
+609
to
+617
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Two places where save button is rendered. |
||
| </div> | ||
| </form> | ||
| ); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -171,9 +171,6 @@ const LabelForm = ({ | |
| {teamName ? <TeamNameField name={teamName} /> : null} | ||
| {additionalFields} | ||
| <div className="button-wrap"> | ||
| <Button onClick={onCancel} variant="inverse"> | ||
| Cancel | ||
| </Button> | ||
| <GitOpsModeTooltipWrapper | ||
| entityType="labels" | ||
| renderChildren={(disableChildren) => ( | ||
|
|
@@ -186,6 +183,9 @@ const LabelForm = ({ | |
| </Button> | ||
| )} | ||
| /> | ||
| <Button onClick={onCancel} variant="inverse"> | ||
| Cancel | ||
| </Button> | ||
|
Comment on lines
+186
to
+188
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Move "Save" button to left on the label form. |
||
| </div> | ||
| </form> | ||
| ); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -155,6 +155,7 @@ const PoliciesTable = ({ | |
| onQueryChange={onQueryChange} | ||
| inputPlaceHolder="Search by name" | ||
| searchable={searchable} | ||
| disableTableHeader={!searchable} | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is an existing prop on the |
||
| customControl={customControl} | ||
| /> | ||
| </div> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes the different color background behind the text on the final step of the setup flow.