disable hover styles correctly in file finder dropdown

This commit is contained in:
Phil Hughes 2018-04-18 10:45:48 +01:00
parent 70bd90bafd
commit f8b1f38b40
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F
2 changed files with 11 additions and 9 deletions

View file

@ -202,6 +202,7 @@ export default {
:key="file.key"
>
<item
class="disable-hover"
:file="file"
:search-text="searchText"
:focused="index === focusedIndex"

View file

@ -43,7 +43,7 @@
border-color: $gray-darkest;
}
[data-toggle="dropdown"] {
[data-toggle='dropdown'] {
outline: 0;
}
}
@ -172,7 +172,11 @@
color: $brand-danger;
}
&:hover,
&.disable-hover {
text-decoration: none;
}
&:not(.disable-hover):hover,
&:active,
&:focus,
&.is-focused {
@ -507,17 +511,16 @@
}
&.is-indeterminate::before {
content: "\f068";
content: '\f068';
}
&.is-active::before {
content: "\f00c";
content: '\f00c';
}
}
}
}
.dropdown-title {
position: relative;
padding: 2px 25px 10px;
@ -723,7 +726,6 @@
}
}
.dropdown-menu-due-date {
.dropdown-content {
max-height: 230px;
@ -853,7 +855,7 @@ header.header-content .dropdown-menu.projects-dropdown-menu {
}
.projects-list-frequent-container,
.projects-list-search-container, {
.projects-list-search-container {
padding: 8px 0;
overflow-y: auto;
}
@ -904,8 +906,7 @@ header.header-content .dropdown-menu.projects-dropdown-menu {
}
.projects-list-item-container {
.project-item-avatar-container
.project-item-metadata-container {
.project-item-avatar-container .project-item-metadata-container {
float: left;
}