Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixed popover menu in entry
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
  • Loading branch information
skjnldsv authored and MorrisJobke committed Dec 11, 2017
commit d3c324cc9bd7e1a897f1de0104536132c649b458
65 changes: 40 additions & 25 deletions core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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%);
Expand Down Expand Up @@ -1011,6 +1015,7 @@ kbd {
text-transform: capitalize;
object-fit: cover;
user-select: none;
cursor: pointer;
}

.app-content-list-item-line-one,
Expand All @@ -1023,6 +1028,7 @@ kbd {
order: 1;
flex: 1 1 0;
padding-right: 10px;
cursor: pointer;
}

.app-content-list-item-line-two {
Expand All @@ -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 */
Expand Down