Added feedback on autocomplete ui

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-08-15 08:59:06 +02:00
parent 3d169ae4f8
commit 0e23193b32
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
2 changed files with 15 additions and 4 deletions

View File

@ -205,7 +205,7 @@
.ui-autocomplete {
/* limit dropdown height to 4 1/2 entries */
max-height: 200px;
max-height: calc(36px * 4.5);;
overflow-y: auto;
overflow-x: hidden;
z-index: 1550 !important;

View File

@ -173,6 +173,7 @@
.ui-menu-item a {
&.ui-state-focus, &.ui-state-active {
font-weight: inherit;
box-shadow: inset 4px 0 var(--color-primary);
}
}
}
@ -184,15 +185,25 @@
&.ui-corner-all {
border-radius: 0;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: var(--border-radius);
border-bottom-right-radius: var(--border-radius);
}
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
.ui-state-hover, .ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
border: 1px solid transparent;
background: inherit;
color: var(--color-primary-element);
}
.ui-menu-item {
a {
border-radius: 0 !important;
}
}
}
.ui-button.primary {