Browse Source
Added feedback on autocomplete ui
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/10691/head
John Molakvoæ (skjnldsv)
7 years ago
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
2 changed files with
15 additions and
4 deletions
-
apps/files_sharing/css/sharetabview.scss
-
core/css/jquery-ui-fixes.scss
|
|
|
@ -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; |
|
|
|
|
|
|
|
@ -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 { |
|
|
|
|