Fixed popover menu in entry

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-12-08 07:38:53 +01:00 committed by Morris Jobke
parent ba3c608a00
commit d3c324cc9b
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 40 additions and 25 deletions

View File

@ -921,31 +921,6 @@ kbd {
flex-direction: column;
transition: transform 250ms ease-in-out;
/* Icon fixes */
[class^='icon-'],
[class*=' icon-'] {
order: 4;
width: 24px;
height: 24px;
margin: -10px;
padding: 22px;
opacity: .3;
&:hover, &:focus {
opacity: .7;
}
&[class^='icon-star'],
&[class*=' icon-star'] {
opacity: .7;
&:hover, &:focus {
opacity: 1 ;
}
}
&.icon-starred {
opacity: 1 ;
}
}
/* Default item */
.app-content-list-item {
position: relative;
@ -957,6 +932,35 @@ kbd {
flex-wrap: wrap;
align-items: center;
/* Icon fixes */
&,
> .app-content-list-item-menu {
> [class^='icon-'],
> [class*=' icon-'] {
order: 4;
width: 24px;
height: 24px;
margin: -10px;
padding: 22px;
opacity: .3;
cursor: pointer;
&:hover, &:focus {
opacity: .7;
}
&[class^='icon-star'],
&[class*=' icon-star'] {
opacity: .7;
&:hover, &:focus {
opacity: 1 ;
}
}
&.icon-starred {
opacity: 1 ;
}
}
}
&:hover, &:focus,
&.active {
background-color: nc-darken($color-main-background, 6%);
@ -1011,6 +1015,7 @@ kbd {
text-transform: capitalize;
object-fit: cover;
user-select: none;
cursor: pointer;
}
.app-content-list-item-line-one,
@ -1023,6 +1028,7 @@ kbd {
order: 1;
flex: 1 1 0;
padding-right: 10px;
cursor: pointer;
}
.app-content-list-item-line-two {
@ -1041,6 +1047,15 @@ kbd {
font-size: 80%;
user-select: none;
}
.app-content-list-item-menu {
order: 4;
position: relative;
.popovermenu {
margin: 0;
right: -5px;
}
}
}
}
/* App content */