Skip to content

Commit cf11a45

Browse files
authored
Merge pull request #13361 from nextcloud/backport/13145/stable15
[stable15] IE fix for apps menu
2 parents 11aac9e + 115ca20 commit cf11a45

File tree

2 files changed

+37
-16
lines changed

2 files changed

+37
-16
lines changed

core/css/fixes.scss

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,3 @@
99
select {
1010
height: 32px;
1111
}
12-
13-
/* deactivate show password toggle for IE. Does not work for 8 and 9+ have their own implementation. */
14-
.ie #show, .ie #show+label {
15-
display: none;
16-
visibility: hidden;
17-
}
18-
19-
.ie #header .menu,
20-
.ie .header-left #navigation,
21-
.ie .ui-datepicker,
22-
.ie .ui-timepicker.ui-widget,
23-
.ie #appmenu li span,
24-
.ie .tooltip-inner {
25-
box-shadow: 0 1px 10px var(--color-box-shadow);
26-
}

core/css/ie.scss

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,40 @@
1212
}
1313
#app-sidebar.disappear {
1414
right: -$sidebar-max-width !important;
15-
}
15+
}
16+
17+
/**
18+
* flex align center doesn't apply to absolute on ie
19+
* we need to manually set it
20+
*/
21+
#appmenu li {
22+
23+
span {
24+
left: 0;
25+
min-width: 100%;
26+
}
27+
28+
&:hover a + span,
29+
a:focus + span,
30+
&:hover span,
31+
&:focus span,
32+
a:focus span {
33+
width: 100%; // disable animation
34+
padding: 0;
35+
}
36+
}
37+
38+
/* deactivate show password toggle for IE. Does not work for 8 and 9+ have their own implementation. */
39+
#show,
40+
#show + label {
41+
display: none;
42+
visibility: hidden;
43+
}
44+
45+
#header .menu,
46+
.header-left #navigation,
47+
.ui-datepicker,
48+
.ui-timepicker.ui-widget,
49+
.tooltip-inner {
50+
box-shadow: 0 1px 10px var(--color-box-shadow);
51+
}

0 commit comments

Comments
 (0)