Merge pull request #8573 from nextcloud/appnav-ie11-fixes

Fixed app navigation for IE11
This commit is contained in:
Roeland Jago Douma 2018-03-01 20:13:51 +01:00 committed by GitHub
commit d70a35b382
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -234,7 +234,7 @@ kbd {
text-overflow: ellipsis; text-overflow: ellipsis;
color: $color-main-text; color: $color-main-text;
opacity: .57; opacity: .57;
flex: 1 1 0; flex: 1 1 0px;
z-index: 100; /* above the bullet to allow click*/ z-index: 100; /* above the bullet to allow click*/
/* TODO: forbid using img as icon in menu? */ /* TODO: forbid using img as icon in menu? */
&:first-child img { &:first-child img {
@ -473,7 +473,7 @@ kbd {
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
flex: 1 1 0; flex: 1 1 0px;
line-height: 44px; line-height: 44px;
} }
.app-navigation-entry-deleted-button { .app-navigation-entry-deleted-button {
@ -497,6 +497,7 @@ kbd {
opacity 250ms ease-in-out, opacity 250ms ease-in-out,
z-index 250ms ease-in-out; z-index 250ms ease-in-out;
position: absolute; position: absolute;
left: 0;
background-color: $color-main-background; background-color: $color-main-background;
box-sizing: border-box; box-sizing: border-box;
} }
@ -1019,6 +1020,8 @@ kbd {
object-fit: cover; object-fit: cover;
user-select: none; user-select: none;
cursor: pointer; cursor: pointer;
top: 50%;
margin-top: -20px;
} }
.app-content-list-item-line-one, .app-content-list-item-line-one,
@ -1029,7 +1032,7 @@ kbd {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
order: 1; order: 1;
flex: 1 1 0; flex: 1 1 0px;
padding-right: 10px; padding-right: 10px;
cursor: pointer; cursor: pointer;
} }
@ -1037,7 +1040,8 @@ kbd {
.app-content-list-item-line-two { .app-content-list-item-line-two {
opacity: .5; opacity: .5;
order: 3; order: 3;
flex: 1 0 calc(100% - 24px); flex: 1 0;
flex-basis: calc(100% - 24px);
} }
.app-content-list-item-details { .app-content-list-item-details {