-
Notifications
You must be signed in to change notification settings - Fork 42
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
[Darkside] Quality assurance P1 #3510
Changes from 8 commits
ed31a9b
d95086d
68cd45e
1689d77
106deb3
87b02f4
1ed5eb7
a3cb1b8
1252325
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
|
||
.navds-form-field:not(:is(.navds-combobox--disabled, .navds-combobox--readonly)) { | ||
& .navds-combobox__wrapper:hover { | ||
border-color: var(--ax-border-focus); | ||
border-color: var(--ax-border-accent-strong); | ||
} | ||
} | ||
|
||
|
@@ -31,6 +31,10 @@ | |
opacity: var(--ax-opacity-disabled); | ||
|
||
& .navds-combobox__wrapper { | ||
&:hover { | ||
border-color: var(--ax-border-default); | ||
} | ||
|
||
& *:hover { | ||
cursor: not-allowed; | ||
} | ||
|
@@ -80,9 +84,9 @@ | |
border-radius: var(--ax-border-radius-medium); | ||
|
||
&:has(.navds-combobox__input:focus-visible) { | ||
outline: 2px solid var(--ax-border-focus); | ||
outline-offset: 2px; | ||
border-color: var(--ax-border-focus); | ||
outline: 3px solid var(--ax-border-focus); | ||
outline-offset: 3px; | ||
border-color: var(--ax-border-accent-strong); | ||
} | ||
|
||
&:has(.navds-combobox__input:focus-visible).navds-combobox__wrapper-inner--virtually-unfocused { | ||
|
@@ -113,15 +117,19 @@ | |
&:hover { | ||
cursor: text; | ||
} | ||
|
||
.navds-combobox--disabled &:hover { | ||
border-color: var(--ax-border-default); | ||
} | ||
} | ||
|
||
.navds-combobox--error { | ||
& .navds-combobox__wrapper-inner { | ||
border-color: var(--ax-border-danger); | ||
box-shadow: 0 0 0 1px var(--ax-border-danger); | ||
border-color: var(--ax-border-danger-strong); | ||
box-shadow: 0 0 0 1px var(--ax-border-danger-strong); | ||
|
||
&:has(.navds-combobox__input:focus-visible) { | ||
border-color: var(--ax-border-danger); | ||
border-color: var(--ax-border-danger-strong); | ||
} | ||
} | ||
} | ||
|
@@ -230,7 +238,7 @@ | |
/* dropdown & non selectable dropdown items */ | ||
|
||
.navds-combobox__list { | ||
max-height: 290px; | ||
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 size is a little arbitrary, but helps a little with this issue: #3498. By adjusting the height, you will by default see part of the last item before scrolling. |
||
max-height: 316px; | ||
overflow: clip; | ||
position: absolute; | ||
left: 0; | ||
|
@@ -324,7 +332,7 @@ | |
} | ||
|
||
& svg { | ||
color: var(--ax-text-accent); | ||
color: var(--ax-text-default); | ||
} | ||
} | ||
|
||
|
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. We are testing using a little darker "default"-scale for |
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 is part of a new test for focus-markings. I will create a separate PR for all the other components updating this.