summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-12-08 07:38:53 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-12-11 17:26:43 +0100
commitd3c324cc9bd7e1a897f1de0104536132c649b458 (patch)
treed2f573ec139916754a928ec1d63860705272d4ee /core
parentba3c608a00f3834f743de5a0cd82ddae3825d458 (diff)
downloadnextcloud-server-d3c324cc9bd7e1a897f1de0104536132c649b458.tar.gz
nextcloud-server-d3c324cc9bd7e1a897f1de0104536132c649b458.zip
Fixed popover menu in entry
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/apps.scss65
1 files changed, 40 insertions, 25 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index 54f0c476885..6ff24c4b2e0 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -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 */